Skip to content

Commit

Permalink
Merge pull request #9 from coincord/Modified/Coincord-docs
Browse files Browse the repository at this point in the history
more cleanups
  • Loading branch information
Mozartted authored Jul 5, 2024
2 parents f9b7936 + 23c1ee5 commit 353fb47
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 14 deletions.
1 change: 0 additions & 1 deletion lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ export default class CoincordCoreWallet {

async sendTokenCheck(request: {
recipient: string;
sender: string | null;
reference: string | null;
amount: number;
network: NetworkCollection;
Expand Down
16 changes: 4 additions & 12 deletions lib/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ export const app = gql`
app {
id
name
api_key
webhook_url
app_wallet {
id
Expand Down Expand Up @@ -46,8 +45,6 @@ export const addresses = gql`
token {
name
ticker
token_set
contract_address
}
transactions {
id
Expand Down Expand Up @@ -157,15 +154,13 @@ export const createAddressCollection = gql`
export const sendTokenCheck = gql`
mutation sendTokenCheck(
$recipient: String!
$sender: String
$reference: String
$amount: Float!
$token: TokenCollection!
$network: NetworkCollection
$network: Network
) {
_sendTokenCheck(
recipient: $recipient
sender: $sender
amount: $amount
reference: $reference
token: $token
Expand All @@ -174,9 +169,7 @@ export const sendTokenCheck = gql`
id
recipient
hash_ref
type
amount
created_at
}
}
`;
Expand Down Expand Up @@ -232,7 +225,7 @@ export const getEstimateQuery = gql`
mutation FEE_ESTIMATE(
$token: TokenCollection!
$value: Float!
$network: NetworkCollection!
$network: Network!
$recipient: String!
) {
_getEstimate(
Expand All @@ -249,8 +242,8 @@ export const getEstimateQuery = gql`
`;

export const generateClientSecret = gql`
mutation GENERATE_CLIENT_SECRET() {
app_generateClientSecret() {
mutation GENERATE_CLIENT_SECRET {
app_generateClientSecret {
client_id
client_secret
}
Expand All @@ -270,7 +263,6 @@ export const updateAppDetails = gql`
) {
id
name
api_key
webhook_url
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coincord/coincord-core-sdk-wallet",
"version": "0.1.7",
"version": "0.1.7.alpha.1",
"description": "A module for managing and manipulating operations with bitcoin, ethereum and litecoin wallets.",
"main": "dist/lib/index.js",
"publishConfig": {
Expand Down

0 comments on commit 353fb47

Please sign in to comment.