@cmdoss/suipay-mcp 0.2.2 → 0.3.0-dev.1

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/index.js CHANGED
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  loadBootProfile,
3
3
  main
4
- } from "./chunk-EM7PKWVL.js";
4
+ } from "./chunk-W4RIN664.js";
5
5
  import {
6
+ MCP_TARGET_PRESETS,
6
7
  PACKAGE_NAME,
7
8
  TOOLS,
8
9
  buildSpendAccountPayKind,
@@ -13,16 +14,21 @@ import {
13
14
  inspectMcpEnvelope,
14
15
  loadLocalSigner,
15
16
  loadMcpConfig,
17
+ parseMcpTargetFlag,
18
+ pay,
16
19
  prepareSpendAccountPayment,
20
+ receipts,
17
21
  resetAgentHeldProcessLedger,
18
22
  resolveAgentHeldSettlement,
19
23
  resolveGrantTarget,
24
+ resolveMcpTarget,
25
+ sameMcpGateway,
20
26
  settlePreparedMcpPayment,
21
27
  traceMcpHttpRequest,
22
28
  verifySpendAccountPayReconstructs
23
- } from "./chunk-26NKQ37M.js";
24
- import "./chunk-A3JIIDYT.js";
29
+ } from "./chunk-FKDC22O6.js";
25
30
  export {
31
+ MCP_TARGET_PRESETS,
26
32
  PACKAGE_NAME,
27
33
  TOOLS,
28
34
  buildSpendAccountPayKind,
@@ -35,10 +41,15 @@ export {
35
41
  loadLocalSigner,
36
42
  loadMcpConfig,
37
43
  main,
44
+ parseMcpTargetFlag,
45
+ pay,
38
46
  prepareSpendAccountPayment,
47
+ receipts,
39
48
  resetAgentHeldProcessLedger,
40
49
  resolveAgentHeldSettlement,
41
50
  resolveGrantTarget,
51
+ resolveMcpTarget,
52
+ sameMcpGateway,
42
53
  settlePreparedMcpPayment,
43
54
  traceMcpHttpRequest,
44
55
  verifySpendAccountPayReconstructs
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmdoss/suipay-mcp",
3
- "version": "0.2.2",
3
+ "version": "0.3.0-dev.1",
4
4
  "type": "module",
5
5
  "description": "SuiPay MCP — pay MPP-gated APIs from a spend-account grant with an agent-held delegate key.",
6
6
  "main": "./dist/index.js",
@@ -20,16 +20,11 @@
20
20
  ],
21
21
  "publishConfig": {
22
22
  "access": "public",
23
- "provenance": true
23
+ "provenance": false
24
24
  },
25
25
  "engines": {
26
26
  "node": ">=20"
27
27
  },
28
- "scripts": {
29
- "build": "tsup",
30
- "test": "vitest run",
31
- "typecheck": "tsc -p tsconfig.json --noEmit"
32
- },
33
28
  "dependencies": {
34
29
  "@modelcontextprotocol/sdk": "^1.29.0",
35
30
  "@mysten/sui": "2.24.0",
@@ -38,8 +33,16 @@
38
33
  "open": "^11.0.0"
39
34
  },
40
35
  "devDependencies": {
36
+ "@types/node": "^26",
41
37
  "tsup": "^8.0.0",
42
38
  "typescript": "^6.0.3",
43
- "vitest": "^3.0.0"
39
+ "vitest": "^4.1.10",
40
+ "@cmdoss/suipay-sdk": "0.1.0",
41
+ "@cmdoss/suipay-core": "0.1.0"
42
+ },
43
+ "scripts": {
44
+ "build": "tsup",
45
+ "test": "vitest run",
46
+ "typecheck": "tsc -p tsconfig.json --noEmit"
44
47
  }
45
- }
48
+ }