@piprail/sdk 1.18.0 → 1.19.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 +22 -0
- package/dist/index.cjs +6 -2
- package/dist/index.js +6 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,28 @@ 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.19.0] — 2026-06-11 — gasless `exact` on 3 more chains (Monad · zkSync Era · Injective)
|
|
8
|
+
|
|
9
|
+
A minor, fully additive release — defaults byte-identical (`exact` stays opt-in), no new dependency,
|
|
10
|
+
the lazy-chunk invariant holds. The same slug-only path as 1.18.0, extended after on-chain verification.
|
|
11
|
+
|
|
12
|
+
### Added — gasless EIP-3009 `exact` on 3 more EVM chains → **17 gasless mainnet EVM chains**
|
|
13
|
+
- **Monad (143), zkSync Era (324), Injective (1776)** added to `EXACT_NETWORK_SLUGS`. Each ships a
|
|
14
|
+
**native Circle USDC** verified on-chain to the same bar as 1.18.0: `symbol`/`decimals` match,
|
|
15
|
+
`authorizationState` present (the EIP-3009 marker), explicit EIP-712 domain `version` 2, and — the
|
|
16
|
+
check that actually matters for signing — the preset **chainId matches the chain's real
|
|
17
|
+
`eth_chainId`** (a mismatch would have the token reject every signature). All three resolve
|
|
18
|
+
`exact/eip3009` through a live gate end-to-end. The buyer pays **gasless, no approval, no proxy**.
|
|
19
|
+
- zkSync Era's native account abstraction is **not a blocker** here: an EOA payer's standard `ecrecover`
|
|
20
|
+
path through the token's FiatToken `transferWithAuthorization` is unaffected, and the EIP-712 domain
|
|
21
|
+
was confirmed correct (chainId 324, version 2).
|
|
22
|
+
|
|
23
|
+
### Docs
|
|
24
|
+
- The **Gasless payments** coverage table now lists all 17 gasless-via-EIP-3009 chains.
|
|
25
|
+
|
|
26
|
+
### Tests
|
|
27
|
+
- `chainIdForExactNetwork` now asserts the 3 new slugs alongside the 1.18.0 set.
|
|
28
|
+
|
|
7
29
|
## [1.18.0] — 2026-06-11 — gasless `exact` on 7 more chains + a Permit2-proxy guard
|
|
8
30
|
|
|
9
31
|
A minor, fully additive release — defaults byte-identical (`exact` stays opt-in), no new dependency,
|
package/dist/index.cjs
CHANGED
|
@@ -517,14 +517,18 @@ var EXACT_NETWORK_SLUGS = {
|
|
|
517
517
|
avalanche: 43114,
|
|
518
518
|
bnb: 56,
|
|
519
519
|
bsc: 56,
|
|
520
|
-
// EIP-3009
|
|
520
|
+
// Native Circle USDC, EIP-3009 verified on-chain (authorizationState present, domain
|
|
521
|
+
// version 2, chainId matched) — gasless, no proxy, no approve:
|
|
521
522
|
sonic: 146,
|
|
522
523
|
linea: 59144,
|
|
523
524
|
celo: 42220,
|
|
524
525
|
unichain: 130,
|
|
525
526
|
worldchain: 480,
|
|
526
527
|
sei: 1329,
|
|
527
|
-
hyperevm: 999
|
|
528
|
+
hyperevm: 999,
|
|
529
|
+
monad: 143,
|
|
530
|
+
zksync: 324,
|
|
531
|
+
injective: 1776
|
|
528
532
|
};
|
|
529
533
|
function chainIdForExactNetwork(slug) {
|
|
530
534
|
return _nullishCoalesce(EXACT_NETWORK_SLUGS[slug], () => ( null));
|
package/dist/index.js
CHANGED
|
@@ -517,14 +517,18 @@ var EXACT_NETWORK_SLUGS = {
|
|
|
517
517
|
avalanche: 43114,
|
|
518
518
|
bnb: 56,
|
|
519
519
|
bsc: 56,
|
|
520
|
-
// EIP-3009
|
|
520
|
+
// Native Circle USDC, EIP-3009 verified on-chain (authorizationState present, domain
|
|
521
|
+
// version 2, chainId matched) — gasless, no proxy, no approve:
|
|
521
522
|
sonic: 146,
|
|
522
523
|
linea: 59144,
|
|
523
524
|
celo: 42220,
|
|
524
525
|
unichain: 130,
|
|
525
526
|
worldchain: 480,
|
|
526
527
|
sei: 1329,
|
|
527
|
-
hyperevm: 999
|
|
528
|
+
hyperevm: 999,
|
|
529
|
+
monad: 143,
|
|
530
|
+
zksync: 324,
|
|
531
|
+
injective: 1776
|
|
528
532
|
};
|
|
529
533
|
function chainIdForExactNetwork(slug) {
|
|
530
534
|
return EXACT_NETWORK_SLUGS[slug] ?? null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@piprail/sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.19.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",
|