@paybox-sh/sdk 0.1.0
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/LICENSE +201 -0
- package/README.md +100 -0
- package/dist/chunk-23N5RHOB.js +621 -0
- package/dist/chunk-23N5RHOB.js.map +1 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +162 -0
- package/dist/cli.js.map +1 -0
- package/dist/index.d.ts +250 -0
- package/dist/index.js +23 -0
- package/dist/index.js.map +1 -0
- package/package.json +61 -0
package/package.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@paybox-sh/sdk",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Typed Node SDK + `paybox` CLI for the Paybox agent API. Mirrors the MCP tool surface (list_credentials, request_payment, request_wallet_sign, request_secret, request_swap, get_portfolio, get_request) over REST, with in-process non-custodial wallet signing.",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/moonpay/paybox.git",
|
|
10
|
+
"directory": "clients/sdk"
|
|
11
|
+
},
|
|
12
|
+
"homepage": "https://docs.paybox.sh/sdk-cli",
|
|
13
|
+
"bugs": "https://github.com/moonpay/paybox/issues",
|
|
14
|
+
"keywords": ["paybox", "agent", "mcp", "wallet", "payments", "secrets", "sdk", "cli"],
|
|
15
|
+
"publishConfig": {
|
|
16
|
+
"access": "public"
|
|
17
|
+
},
|
|
18
|
+
"bin": {
|
|
19
|
+
"paybox": "./dist/cli.js"
|
|
20
|
+
},
|
|
21
|
+
"main": "./dist/index.js",
|
|
22
|
+
"module": "./dist/index.js",
|
|
23
|
+
"types": "./dist/index.d.ts",
|
|
24
|
+
"exports": {
|
|
25
|
+
".": {
|
|
26
|
+
"types": "./dist/index.d.ts",
|
|
27
|
+
"import": "./dist/index.js"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"files": ["dist"],
|
|
31
|
+
"engines": {
|
|
32
|
+
"node": ">=18"
|
|
33
|
+
},
|
|
34
|
+
"scripts": {
|
|
35
|
+
"build": "tsup",
|
|
36
|
+
"dev": "tsup --watch",
|
|
37
|
+
"typecheck": "tsc --noEmit",
|
|
38
|
+
"gen": "tsx scripts/generate.ts",
|
|
39
|
+
"prepublishOnly": "pnpm build"
|
|
40
|
+
},
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"@moon-x/core": "0.10.0",
|
|
43
|
+
"@moon-x/evm-adapter": "0.3.0",
|
|
44
|
+
"@moon-x/solana-adapter": "0.3.0",
|
|
45
|
+
"@solana/web3.js": "1.98.4",
|
|
46
|
+
"bs58": "6.0.0",
|
|
47
|
+
"buffer": "6.0.3",
|
|
48
|
+
"commander": "12.1.0",
|
|
49
|
+
"siwe": "3.0.0",
|
|
50
|
+
"tweetnacl": "1.0.3",
|
|
51
|
+
"viem": "2.40.3"
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@paybox/mcp-app": "file:../mcp-app",
|
|
55
|
+
"@types/node": "22.19.19",
|
|
56
|
+
"json-schema-to-typescript": "15.0.3",
|
|
57
|
+
"tsup": "8.3.5",
|
|
58
|
+
"tsx": "4.19.2",
|
|
59
|
+
"typescript": "5.9.3"
|
|
60
|
+
}
|
|
61
|
+
}
|