@moonpay/cli 0.6.7 → 0.6.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-DWAP6OI2.js → chunk-ZWMKESOK.js} +150 -2
- package/dist/chunk-ZWMKESOK.js.map +1 -0
- package/dist/index.js +35 -6
- package/dist/index.js.map +1 -1
- package/dist/{mcp-5QZGKH7E.js → mcp-2THM3UV5.js} +2 -2
- package/package.json +2 -1
- package/dist/chunk-DWAP6OI2.js.map +0 -1
- /package/dist/{mcp-5QZGKH7E.js.map → mcp-2THM3UV5.js.map} +0 -0
|
@@ -388,6 +388,10 @@ var schemas_default = [
|
|
|
388
388
|
type: "string",
|
|
389
389
|
description: "Chain where USDC will be delivered"
|
|
390
390
|
},
|
|
391
|
+
customerToken: {
|
|
392
|
+
type: "string",
|
|
393
|
+
description: "Token to check deposit transactions \u2014 pass to deposit_transaction_list"
|
|
394
|
+
},
|
|
391
395
|
depositUrl: {
|
|
392
396
|
type: "string",
|
|
393
397
|
description: "Shareable URL \u2014 open in browser or share with senders to deposit funds"
|
|
@@ -428,6 +432,7 @@ var schemas_default = [
|
|
|
428
432
|
"id",
|
|
429
433
|
"destinationWallet",
|
|
430
434
|
"destinationChain",
|
|
435
|
+
"customerToken",
|
|
431
436
|
"depositUrl",
|
|
432
437
|
"wallets",
|
|
433
438
|
"instructions"
|
|
@@ -438,6 +443,93 @@ var schemas_default = [
|
|
|
438
443
|
$schema: "http://json-schema.org/draft-07/schema#"
|
|
439
444
|
}
|
|
440
445
|
},
|
|
446
|
+
{
|
|
447
|
+
name: "deposit_transaction_list",
|
|
448
|
+
description: "List transactions for a deposit. Pass the deposit id from deposit_create to check incoming payment status.",
|
|
449
|
+
inputSchema: {
|
|
450
|
+
$ref: "#/definitions/deposit_transaction_list_input",
|
|
451
|
+
definitions: {
|
|
452
|
+
deposit_transaction_list_input: {
|
|
453
|
+
type: "object",
|
|
454
|
+
properties: {
|
|
455
|
+
id: {
|
|
456
|
+
type: "string",
|
|
457
|
+
description: "Deposit ID returned from deposit_create"
|
|
458
|
+
}
|
|
459
|
+
},
|
|
460
|
+
required: [
|
|
461
|
+
"id"
|
|
462
|
+
],
|
|
463
|
+
additionalProperties: false
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
$schema: "http://json-schema.org/draft-07/schema#"
|
|
467
|
+
},
|
|
468
|
+
outputSchema: {
|
|
469
|
+
$ref: "#/definitions/deposit_transaction_list_output",
|
|
470
|
+
definitions: {
|
|
471
|
+
deposit_transaction_list_output: {
|
|
472
|
+
type: "object",
|
|
473
|
+
properties: {
|
|
474
|
+
items: {
|
|
475
|
+
type: "array",
|
|
476
|
+
items: {
|
|
477
|
+
type: "object",
|
|
478
|
+
properties: {
|
|
479
|
+
id: {
|
|
480
|
+
type: "string"
|
|
481
|
+
},
|
|
482
|
+
amount: {
|
|
483
|
+
type: "number"
|
|
484
|
+
},
|
|
485
|
+
token: {
|
|
486
|
+
type: "string"
|
|
487
|
+
},
|
|
488
|
+
from: {
|
|
489
|
+
type: "string"
|
|
490
|
+
},
|
|
491
|
+
status: {
|
|
492
|
+
type: "string"
|
|
493
|
+
},
|
|
494
|
+
settledAmount: {
|
|
495
|
+
type: [
|
|
496
|
+
"number",
|
|
497
|
+
"null"
|
|
498
|
+
]
|
|
499
|
+
},
|
|
500
|
+
settledCurrency: {
|
|
501
|
+
type: [
|
|
502
|
+
"string",
|
|
503
|
+
"null"
|
|
504
|
+
]
|
|
505
|
+
},
|
|
506
|
+
timestamp: {
|
|
507
|
+
type: "string"
|
|
508
|
+
}
|
|
509
|
+
},
|
|
510
|
+
required: [
|
|
511
|
+
"id",
|
|
512
|
+
"amount",
|
|
513
|
+
"token",
|
|
514
|
+
"from",
|
|
515
|
+
"status",
|
|
516
|
+
"settledAmount",
|
|
517
|
+
"settledCurrency",
|
|
518
|
+
"timestamp"
|
|
519
|
+
],
|
|
520
|
+
additionalProperties: false
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
},
|
|
524
|
+
required: [
|
|
525
|
+
"items"
|
|
526
|
+
],
|
|
527
|
+
additionalProperties: false
|
|
528
|
+
}
|
|
529
|
+
},
|
|
530
|
+
$schema: "http://json-schema.org/draft-07/schema#"
|
|
531
|
+
}
|
|
532
|
+
},
|
|
441
533
|
{
|
|
442
534
|
name: "login",
|
|
443
535
|
description: "Send a verification code to the provided email to sign in or create an account.",
|
|
@@ -5249,13 +5341,27 @@ var schemas_default = [
|
|
|
5249
5341
|
wallet: {
|
|
5250
5342
|
type: "string",
|
|
5251
5343
|
description: "Registered wallet address (must be registered via virtual-account_wallet_register first)"
|
|
5344
|
+
},
|
|
5345
|
+
blockchain: {
|
|
5346
|
+
type: "string",
|
|
5347
|
+
enum: [
|
|
5348
|
+
"Solana",
|
|
5349
|
+
"Ethereum",
|
|
5350
|
+
"Polygon",
|
|
5351
|
+
"Arbitrum",
|
|
5352
|
+
"Base",
|
|
5353
|
+
"Stellar",
|
|
5354
|
+
"Citrea"
|
|
5355
|
+
],
|
|
5356
|
+
description: "Blockchain to receive stablecoin on (Solana, Ethereum, Polygon, Arbitrum, Base)"
|
|
5252
5357
|
}
|
|
5253
5358
|
},
|
|
5254
5359
|
required: [
|
|
5255
5360
|
"name",
|
|
5256
5361
|
"fiat",
|
|
5257
5362
|
"stablecoin",
|
|
5258
|
-
"wallet"
|
|
5363
|
+
"wallet",
|
|
5364
|
+
"blockchain"
|
|
5259
5365
|
],
|
|
5260
5366
|
additionalProperties: false
|
|
5261
5367
|
}
|
|
@@ -5931,6 +6037,48 @@ var schemas_default = [
|
|
|
5931
6037
|
},
|
|
5932
6038
|
$schema: "http://json-schema.org/draft-07/schema#"
|
|
5933
6039
|
}
|
|
6040
|
+
},
|
|
6041
|
+
{
|
|
6042
|
+
name: "virtual-account_wallet_registration-message_create",
|
|
6043
|
+
description: "Generate a proof-of-ownership message for wallet registration. The message must be signed by the wallet's private key and submitted via virtual-account_wallet_register.",
|
|
6044
|
+
inputSchema: {
|
|
6045
|
+
$ref: "#/definitions/virtual-account_wallet_registration-message_create_input",
|
|
6046
|
+
definitions: {
|
|
6047
|
+
"virtual-account_wallet_registration-message_create_input": {
|
|
6048
|
+
type: "object",
|
|
6049
|
+
properties: {
|
|
6050
|
+
wallet: {
|
|
6051
|
+
type: "string",
|
|
6052
|
+
description: "Wallet address to register"
|
|
6053
|
+
}
|
|
6054
|
+
},
|
|
6055
|
+
required: [
|
|
6056
|
+
"wallet"
|
|
6057
|
+
],
|
|
6058
|
+
additionalProperties: false
|
|
6059
|
+
}
|
|
6060
|
+
},
|
|
6061
|
+
$schema: "http://json-schema.org/draft-07/schema#"
|
|
6062
|
+
},
|
|
6063
|
+
outputSchema: {
|
|
6064
|
+
$ref: "#/definitions/virtual-account_wallet_registration-message_create_output",
|
|
6065
|
+
definitions: {
|
|
6066
|
+
"virtual-account_wallet_registration-message_create_output": {
|
|
6067
|
+
type: "object",
|
|
6068
|
+
properties: {
|
|
6069
|
+
message: {
|
|
6070
|
+
type: "string",
|
|
6071
|
+
description: "Message to sign with the wallet's private key"
|
|
6072
|
+
}
|
|
6073
|
+
},
|
|
6074
|
+
required: [
|
|
6075
|
+
"message"
|
|
6076
|
+
],
|
|
6077
|
+
additionalProperties: false
|
|
6078
|
+
}
|
|
6079
|
+
},
|
|
6080
|
+
$schema: "http://json-schema.org/draft-07/schema#"
|
|
6081
|
+
}
|
|
5934
6082
|
}
|
|
5935
6083
|
];
|
|
5936
6084
|
|
|
@@ -6825,4 +6973,4 @@ export {
|
|
|
6825
6973
|
x402Request,
|
|
6826
6974
|
virtualAccountWalletRegister
|
|
6827
6975
|
};
|
|
6828
|
-
//# sourceMappingURL=chunk-
|
|
6976
|
+
//# sourceMappingURL=chunk-ZWMKESOK.js.map
|