@moonpay/cli 0.6.6 → 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-2SGV2LWL.js → chunk-ZWMKESOK.js} +162 -4
- package/dist/chunk-ZWMKESOK.js.map +1 -0
- package/dist/index.js +35 -6
- package/dist/index.js.map +1 -1
- package/dist/{mcp-AKKUIO6M.js → mcp-2THM3UV5.js} +2 -2
- package/package.json +2 -1
- package/skills/moonpay-deposit/SKILL.md +58 -0
- package/dist/chunk-2SGV2LWL.js.map +0 -1
- /package/dist/{mcp-AKKUIO6M.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"
|
|
@@ -404,23 +408,121 @@ var schemas_default = [
|
|
|
404
408
|
chain: {
|
|
405
409
|
type: "string",
|
|
406
410
|
description: "Chain this address is on (solana, ethereum, bitcoin, tron)"
|
|
411
|
+
},
|
|
412
|
+
qrCode: {
|
|
413
|
+
type: "string",
|
|
414
|
+
description: "URL to a QR code image for the deposit address"
|
|
407
415
|
}
|
|
408
416
|
},
|
|
409
417
|
required: [
|
|
410
418
|
"address",
|
|
411
|
-
"chain"
|
|
419
|
+
"chain",
|
|
420
|
+
"qrCode"
|
|
412
421
|
],
|
|
413
422
|
additionalProperties: false
|
|
414
423
|
},
|
|
415
424
|
description: "Deposit addresses across all supported chains \u2014 send any token to any of these"
|
|
425
|
+
},
|
|
426
|
+
instructions: {
|
|
427
|
+
type: "string",
|
|
428
|
+
description: "Human-readable instructions explaining how to use the deposit"
|
|
416
429
|
}
|
|
417
430
|
},
|
|
418
431
|
required: [
|
|
419
432
|
"id",
|
|
420
433
|
"destinationWallet",
|
|
421
434
|
"destinationChain",
|
|
435
|
+
"customerToken",
|
|
422
436
|
"depositUrl",
|
|
423
|
-
"wallets"
|
|
437
|
+
"wallets",
|
|
438
|
+
"instructions"
|
|
439
|
+
],
|
|
440
|
+
additionalProperties: false
|
|
441
|
+
}
|
|
442
|
+
},
|
|
443
|
+
$schema: "http://json-schema.org/draft-07/schema#"
|
|
444
|
+
}
|
|
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"
|
|
424
526
|
],
|
|
425
527
|
additionalProperties: false
|
|
426
528
|
}
|
|
@@ -5239,13 +5341,27 @@ var schemas_default = [
|
|
|
5239
5341
|
wallet: {
|
|
5240
5342
|
type: "string",
|
|
5241
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)"
|
|
5242
5357
|
}
|
|
5243
5358
|
},
|
|
5244
5359
|
required: [
|
|
5245
5360
|
"name",
|
|
5246
5361
|
"fiat",
|
|
5247
5362
|
"stablecoin",
|
|
5248
|
-
"wallet"
|
|
5363
|
+
"wallet",
|
|
5364
|
+
"blockchain"
|
|
5249
5365
|
],
|
|
5250
5366
|
additionalProperties: false
|
|
5251
5367
|
}
|
|
@@ -5921,6 +6037,48 @@ var schemas_default = [
|
|
|
5921
6037
|
},
|
|
5922
6038
|
$schema: "http://json-schema.org/draft-07/schema#"
|
|
5923
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
|
+
}
|
|
5924
6082
|
}
|
|
5925
6083
|
];
|
|
5926
6084
|
|
|
@@ -6815,4 +6973,4 @@ export {
|
|
|
6815
6973
|
x402Request,
|
|
6816
6974
|
virtualAccountWalletRegister
|
|
6817
6975
|
};
|
|
6818
|
-
//# sourceMappingURL=chunk-
|
|
6976
|
+
//# sourceMappingURL=chunk-ZWMKESOK.js.map
|