@piprail/sdk 1.24.0 → 1.25.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/CHANGELOG.md +20 -0
- package/dist/index.cjs +29 -5
- package/dist/index.js +29 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,25 @@ All notable changes to `@piprail/sdk` are documented here. The format
|
|
|
4
4
|
follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the
|
|
5
5
|
versions follow [Semantic Versioning](https://semver.org/).
|
|
6
6
|
|
|
7
|
+
## [1.25.0] — 2026-06-15 — more keyless facilitators (live-verified)
|
|
8
|
+
|
|
9
|
+
### Added — `KNOWN_FACILITATORS` grows beyond PayAI
|
|
10
|
+
|
|
11
|
+
- **`KNOWN_FACILITATORS`** now seeds three more keyless facilitators, each **live-settled** on mainnet
|
|
12
|
+
through PipRail (a real `exact` payment, buyer paid zero gas), not just read from `/supported`:
|
|
13
|
+
**xpay** on Base (EIP-3009), and **OpenFacilitator** + **Corbits** on Solana (SVM). So
|
|
14
|
+
`firstKeylessFacilitator()` / the `exact: true` shorthand can resolve a keyless sponsor on more
|
|
15
|
+
networks, with redundancy beyond PayAI.
|
|
16
|
+
- **Daydreams** and **Questflow** are deliberately **not** seeded: their `/supported` is public but
|
|
17
|
+
`/verify` returns `401` (an API key is required), so they aren't keyless for *settlement*. A public
|
|
18
|
+
`/supported` is not proof of keyless settlement — every seeded entry carries a dated, live-verified note.
|
|
19
|
+
|
|
20
|
+
### Notes
|
|
21
|
+
|
|
22
|
+
- Pure data + comments; **no behaviour change** to existing rails or defaults. The full, current provider
|
|
23
|
+
matrix (incl. key-required and self-host options, with on-chain tx proofs) lives in the docs:
|
|
24
|
+
[Facilitator coverage](https://docs.piprail.com/accepting-payments/facilitator-coverage/).
|
|
25
|
+
|
|
7
26
|
## [1.24.0] — 2026-06-14 — multi-chain buying (one buyer, a wallet per chain)
|
|
8
27
|
|
|
9
28
|
### Added — pay a 402 on whichever chain it asks for
|
|
@@ -1064,6 +1083,7 @@ straight into your wallet. The API is small and self-contained.
|
|
|
1064
1083
|
to your wallet; PipRail never holds funds.
|
|
1065
1084
|
- `viem ^2.21` is a peer dependency. Node 20+ or a modern browser.
|
|
1066
1085
|
|
|
1086
|
+
[1.25.0]: https://www.npmjs.com/package/@piprail/sdk
|
|
1067
1087
|
[1.24.0]: https://www.npmjs.com/package/@piprail/sdk
|
|
1068
1088
|
[1.15.1]: https://www.npmjs.com/package/@piprail/sdk
|
|
1069
1089
|
[1.15.0]: https://www.npmjs.com/package/@piprail/sdk
|
package/dist/index.cjs
CHANGED
|
@@ -5038,25 +5038,49 @@ function normaliseHeader(value) {
|
|
|
5038
5038
|
|
|
5039
5039
|
// src/facilitators.ts
|
|
5040
5040
|
var KNOWN_FACILITATORS = {
|
|
5041
|
-
//
|
|
5042
|
-
//
|
|
5041
|
+
// Base (eip155:8453). Every entry is keyless and LIVE-settled by us (a real EIP-3009
|
|
5042
|
+
// exact payment, buyer paid zero ETH) — not just a /supported read — on the dated day.
|
|
5043
5043
|
"eip155:8453": [
|
|
5044
5044
|
{
|
|
5045
5045
|
url: "https://facilitator.payai.network",
|
|
5046
5046
|
keyless: true,
|
|
5047
5047
|
schemes: ["exact"],
|
|
5048
5048
|
settles: ["eip3009"],
|
|
5049
|
-
note: "PayAI \u2014 keyless, sponsors gas (Base USDC EIP-3009)"
|
|
5049
|
+
note: "PayAI \u2014 keyless, sponsors gas (Base USDC EIP-3009). Verified 2026-06-14 (/supported + live demo)."
|
|
5050
|
+
},
|
|
5051
|
+
{
|
|
5052
|
+
url: "https://facilitator.xpay.sh",
|
|
5053
|
+
keyless: true,
|
|
5054
|
+
schemes: ["exact"],
|
|
5055
|
+
settles: ["eip3009"],
|
|
5056
|
+
note: "xpay \u2014 keyless, zero-fee, sponsors gas. LIVE-settled on Base 2026-06-15 (tx 0x2273d5\u2026)."
|
|
5050
5057
|
}
|
|
5051
5058
|
],
|
|
5052
|
-
//
|
|
5059
|
+
// Solana (mainnet-beta). Keyless fee-payer sponsors for the SVM exact rail, each LIVE-settled
|
|
5060
|
+
// by us (a real SPL TransferChecked, buyer paid zero SOL) on the dated day — beyond a /supported
|
|
5061
|
+
// read. Daydreams + Questflow are intentionally ABSENT: their /supported is public but /verify
|
|
5062
|
+
// returns 401 (an API key is required), so they are not keyless for settlement.
|
|
5053
5063
|
"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp": [
|
|
5054
5064
|
{
|
|
5055
5065
|
url: "https://facilitator.payai.network",
|
|
5056
5066
|
keyless: true,
|
|
5057
5067
|
schemes: ["exact"],
|
|
5058
5068
|
settles: ["svm"],
|
|
5059
|
-
note: "PayAI \u2014 keyless fee-payer sponsor (Solana SPL SVM)"
|
|
5069
|
+
note: "PayAI \u2014 keyless fee-payer sponsor (Solana SPL SVM). LIVE-settled 2026-06-14 (tx 4dL8jRKH\u2026)."
|
|
5070
|
+
},
|
|
5071
|
+
{
|
|
5072
|
+
url: "https://pay.openfacilitator.io",
|
|
5073
|
+
keyless: true,
|
|
5074
|
+
schemes: ["exact"],
|
|
5075
|
+
settles: ["svm"],
|
|
5076
|
+
note: "OpenFacilitator \u2014 keyless (no signup), fee-payer sponsor. LIVE-settled on Solana 2026-06-15 (tx 5BabDtX\u2026)."
|
|
5077
|
+
},
|
|
5078
|
+
{
|
|
5079
|
+
url: "https://facilitator.corbits.dev",
|
|
5080
|
+
keyless: true,
|
|
5081
|
+
schemes: ["exact"],
|
|
5082
|
+
settles: ["svm"],
|
|
5083
|
+
note: "Corbits \u2014 keyless, Solana-first fee-payer sponsor. LIVE-settled on Solana 2026-06-15 (tx BCreYer\u2026)."
|
|
5060
5084
|
}
|
|
5061
5085
|
]
|
|
5062
5086
|
};
|
package/dist/index.js
CHANGED
|
@@ -5038,25 +5038,49 @@ function normaliseHeader(value) {
|
|
|
5038
5038
|
|
|
5039
5039
|
// src/facilitators.ts
|
|
5040
5040
|
var KNOWN_FACILITATORS = {
|
|
5041
|
-
//
|
|
5042
|
-
//
|
|
5041
|
+
// Base (eip155:8453). Every entry is keyless and LIVE-settled by us (a real EIP-3009
|
|
5042
|
+
// exact payment, buyer paid zero ETH) — not just a /supported read — on the dated day.
|
|
5043
5043
|
"eip155:8453": [
|
|
5044
5044
|
{
|
|
5045
5045
|
url: "https://facilitator.payai.network",
|
|
5046
5046
|
keyless: true,
|
|
5047
5047
|
schemes: ["exact"],
|
|
5048
5048
|
settles: ["eip3009"],
|
|
5049
|
-
note: "PayAI \u2014 keyless, sponsors gas (Base USDC EIP-3009)"
|
|
5049
|
+
note: "PayAI \u2014 keyless, sponsors gas (Base USDC EIP-3009). Verified 2026-06-14 (/supported + live demo)."
|
|
5050
|
+
},
|
|
5051
|
+
{
|
|
5052
|
+
url: "https://facilitator.xpay.sh",
|
|
5053
|
+
keyless: true,
|
|
5054
|
+
schemes: ["exact"],
|
|
5055
|
+
settles: ["eip3009"],
|
|
5056
|
+
note: "xpay \u2014 keyless, zero-fee, sponsors gas. LIVE-settled on Base 2026-06-15 (tx 0x2273d5\u2026)."
|
|
5050
5057
|
}
|
|
5051
5058
|
],
|
|
5052
|
-
//
|
|
5059
|
+
// Solana (mainnet-beta). Keyless fee-payer sponsors for the SVM exact rail, each LIVE-settled
|
|
5060
|
+
// by us (a real SPL TransferChecked, buyer paid zero SOL) on the dated day — beyond a /supported
|
|
5061
|
+
// read. Daydreams + Questflow are intentionally ABSENT: their /supported is public but /verify
|
|
5062
|
+
// returns 401 (an API key is required), so they are not keyless for settlement.
|
|
5053
5063
|
"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp": [
|
|
5054
5064
|
{
|
|
5055
5065
|
url: "https://facilitator.payai.network",
|
|
5056
5066
|
keyless: true,
|
|
5057
5067
|
schemes: ["exact"],
|
|
5058
5068
|
settles: ["svm"],
|
|
5059
|
-
note: "PayAI \u2014 keyless fee-payer sponsor (Solana SPL SVM)"
|
|
5069
|
+
note: "PayAI \u2014 keyless fee-payer sponsor (Solana SPL SVM). LIVE-settled 2026-06-14 (tx 4dL8jRKH\u2026)."
|
|
5070
|
+
},
|
|
5071
|
+
{
|
|
5072
|
+
url: "https://pay.openfacilitator.io",
|
|
5073
|
+
keyless: true,
|
|
5074
|
+
schemes: ["exact"],
|
|
5075
|
+
settles: ["svm"],
|
|
5076
|
+
note: "OpenFacilitator \u2014 keyless (no signup), fee-payer sponsor. LIVE-settled on Solana 2026-06-15 (tx 5BabDtX\u2026)."
|
|
5077
|
+
},
|
|
5078
|
+
{
|
|
5079
|
+
url: "https://facilitator.corbits.dev",
|
|
5080
|
+
keyless: true,
|
|
5081
|
+
schemes: ["exact"],
|
|
5082
|
+
settles: ["svm"],
|
|
5083
|
+
note: "Corbits \u2014 keyless, Solana-first fee-payer sponsor. LIVE-settled on Solana 2026-06-15 (tx BCreYer\u2026)."
|
|
5060
5084
|
}
|
|
5061
5085
|
]
|
|
5062
5086
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@piprail/sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.25.0",
|
|
4
4
|
"description": "Accept x402 crypto payments across 29 chains — every major EVM chain plus Solana, TON, Tron, NEAR, Sui, Aptos, Algorand, Stellar & XRPL — in a couple of lines. No backend, no database, no fee; payments settle straight to your wallet.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|