openpay-x402-sdk 0.10.3 → 0.10.4
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/CHANGELOG.md +7 -0
- package/README.md +2 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.10.4 — 2026-10-22
|
|
4
|
+
|
|
5
|
+
- Raise `engines.node` from `>=20` to `>=22`. Node.js 20 reached end-of-life and
|
|
6
|
+
does not receive security releases (for example the October 2026 release that
|
|
7
|
+
fixes the Brotli decoder used when `fetch` decodes a `br` response). The code
|
|
8
|
+
is unchanged.
|
|
9
|
+
|
|
3
10
|
## 0.10.3 — 2026-10-10
|
|
4
11
|
|
|
5
12
|
- Widen `isPrivatePaymentHost` / `parseSafePaymentUrl` to the same IANA
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# openpay-x402-sdk
|
|
2
2
|
|
|
3
|
-
Node.js
|
|
3
|
+
Node.js 22+ SDK for discovering, quoting, and buying OpenPay x402 resources priced
|
|
4
4
|
in JPYC. It ships as plain ESM and has no build step.
|
|
5
5
|
|
|
6
6
|
Wire compatibility: x402 v1 transport (JSON 402 body with `x402Version: 1`, plus the
|
|
@@ -525,8 +525,7 @@ issuance does not revoke an attacker's signing ability or recall downloaded byte
|
|
|
525
525
|
|
|
526
526
|
| Runtime | Delivery subpath requirement / acceptance |
|
|
527
527
|
| --- | --- |
|
|
528
|
-
| Node
|
|
529
|
-
| Node 22.13+ | Same Web API entry point. |
|
|
528
|
+
| Node 22.13+ | Global WebCrypto with standard Ed25519; the package engine is Node >=22. |
|
|
530
529
|
| Node 24 | Same Web API entry point. |
|
|
531
530
|
| Cloudflare Workers | Standard `Ed25519`, no `nodejs_compat`. Verified end-to-end on a real Worker + private R2 deployment with SDK 0.8.1 (2026-09-10); re-run the smoke when you change the compatibility date. |
|
|
532
531
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openpay-x402-sdk",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.4",
|
|
4
4
|
"description": "Guarded Node.js buyer SDK for OpenPay x402 JPYC resources",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.mjs",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"examples"
|
|
25
25
|
],
|
|
26
26
|
"engines": {
|
|
27
|
-
"node": ">=
|
|
27
|
+
"node": ">=22"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
30
|
"test": "node --test tests/*.test.mjs",
|