@defuse-protocol/nearintents-mpp-sdk 0.1.1 → 0.1.3

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.
Files changed (2) hide show
  1. package/README.md +5 -0
  2. package/package.json +4 -3
package/README.md CHANGED
@@ -109,6 +109,11 @@ Arbitrum account and run `pnpm example:client`, or send the deposit yourself
109
109
  and re-run with `DEPOSIT_TX_HASH=0x…`. The client refuses anything beyond its
110
110
  configured `policy.maxAmountIn` caps.
111
111
 
112
+ For operator-only live 1Click smoke testing, `examples/live-oneclick-smoke.ts`
113
+ can be run with `pnpm example:live-oneclick-smoke`. It refuses to contact the
114
+ live provider unless `LIVE_ONE_CLICK=1`, prints deposit instructions in one
115
+ invocation, then polls a separately funded deposit in a second invocation.
116
+
112
117
  ## Operational notes
113
118
 
114
119
  - **Refunds.** `methodDetails.refundTo` is a **merchant-configured** address
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defuse-protocol/nearintents-mpp-sdk",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Reference implementation of the `nearintents` payment method for MPP (Machine Payments Protocol) — cross-chain HTTP 402 payments settled by NEAR Intents. Extends mppx.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -54,7 +54,7 @@
54
54
  "zod": "^4.4.3"
55
55
  },
56
56
  "peerDependencies": {
57
- "mppx": "0.8.13",
57
+ "mppx": "0.8.19",
58
58
  "viem": "^2.0.0"
59
59
  },
60
60
  "peerDependenciesMeta": {
@@ -66,7 +66,7 @@
66
66
  "@biomejs/biome": "^2.5.4",
67
67
  "@changesets/cli": "^2.31.1",
68
68
  "@types/node": "^26.1.1",
69
- "mppx": "0.8.13",
69
+ "mppx": "0.8.19",
70
70
  "tsx": "^4.23.1",
71
71
  "typescript": "~6.0.3",
72
72
  "viem": "^2.55.4",
@@ -81,6 +81,7 @@
81
81
  "demo:build": "pnpm -C demo/app install && pnpm -C demo/app build",
82
82
  "demo:server": "tsx --env-file-if-exists=.env demo/server/index.ts",
83
83
  "example:client": "tsx --env-file-if-exists=.env examples/client.ts",
84
+ "example:live-oneclick-smoke": "tsx --env-file-if-exists=.env examples/live-oneclick-smoke.ts",
84
85
  "example:server": "tsx --env-file-if-exists=.env examples/server.ts",
85
86
  "lint": "biome check .",
86
87
  "lint:fix": "biome check --write .",