uvd-x402-sdk 2.65.0 → 2.68.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/README.md +5 -2
- package/dist/adapters/index.js.map +1 -1
- package/dist/adapters/index.mjs.map +1 -1
- package/dist/backend/index.d.mts +36 -4
- package/dist/backend/index.d.ts +36 -4
- package/dist/backend/index.js +75 -23
- package/dist/backend/index.js.map +1 -1
- package/dist/backend/index.mjs +75 -24
- package/dist/backend/index.mjs.map +1 -1
- package/dist/index.js +31 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +31 -3
- package/dist/index.mjs.map +1 -1
- package/dist/providers/algorand/index.js.map +1 -1
- package/dist/providers/algorand/index.mjs.map +1 -1
- package/dist/providers/evm/index.js.map +1 -1
- package/dist/providers/evm/index.mjs.map +1 -1
- package/dist/providers/near/index.js.map +1 -1
- package/dist/providers/near/index.mjs.map +1 -1
- package/dist/providers/solana/index.js.map +1 -1
- package/dist/providers/solana/index.mjs.map +1 -1
- package/dist/providers/stellar/index.js.map +1 -1
- package/dist/providers/stellar/index.mjs.map +1 -1
- package/dist/providers/sui/index.js.map +1 -1
- package/dist/providers/sui/index.mjs.map +1 -1
- package/dist/providers/xrpl/index.js.map +1 -1
- package/dist/providers/xrpl/index.mjs.map +1 -1
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs.map +1 -1
- package/dist/utils/index.js +4 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/index.mjs +4 -1
- package/dist/utils/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/backend/index.ts +104 -16
- package/src/utils/x402.ts +16 -1
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ Users sign a message or transaction, and the Ultravioleta facilitator handles on
|
|
|
14
14
|
- **React & Wagmi**: First-class integrations
|
|
15
15
|
- **Signing Wallet Adapters**: EnvKeyAdapter (server/CLI), OWSWalletAdapter (Open Wallet Standard), or bring your own
|
|
16
16
|
- **ERC-8128 Signed Requests**: Authenticate HTTP requests with a wallet (RFC 9421 + EIP-191) — no API keys
|
|
17
|
-
- **ERC-8004 Trustless Agents**: On-chain reputation and identity across
|
|
17
|
+
- **ERC-8004 Trustless Agents**: On-chain reputation and identity across 21 networks (19 EVM + 2 Solana)
|
|
18
18
|
- **Escrow & Refunds**: Hold payments with dispute resolution
|
|
19
19
|
- **Advanced Escrow**: Full escrow lifecycle (authorize, release, refund, charge) with SigningWalletAdapter support
|
|
20
20
|
- **Escrow Pre-Auth**: Sign-on-assignment `X-Payment-Auth` builder (`buildEscrowPreAuth`) — vector-pinned parity with the Python SDK and Execution Market
|
|
@@ -871,7 +871,10 @@ try {
|
|
|
871
871
|
|
|
872
872
|
## ERC-8004 Trustless Agents
|
|
873
873
|
|
|
874
|
-
Build verifiable on-chain reputation for AI agents and services. Supports **
|
|
874
|
+
Build verifiable on-chain reputation for AI agents and services. Supports **21 networks** (19 EVM + 2 Solana).
|
|
875
|
+
|
|
876
|
+
> Name Base as `'base'`. The old `'base-mainnet'` spelling is rejected by the facilitator
|
|
877
|
+
> (`400 Invalid network`); the SDK now rewrites it for you, but new code should use `'base'`.
|
|
875
878
|
|
|
876
879
|
On EVM networks, agent IDs are sequential numbers. On Solana, agent IDs are base58 pubkey strings. The `AgentId` type (`number | string`) handles both.
|
|
877
880
|
|