{"_id":"@allowkit/x402-client","name":"@allowkit/x402-client","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@allowkit/x402-client","version":"0.1.0","description":"x402 protocol client for React Native: 402 handshake, payment construction, client-side security hardening. Thin layer over the official @x402/* packages.","license":"Apache-2.0","type":"module","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"typecheck":"tsc --build"},"repository":{"type":"git","url":"git+https://github.com/allowkit/react-native-x402.git","directory":"packages/x402-client"},"keywords":["x402","react-native","payments","ai-agents","http-402","usdc"],"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"homepage":"https://github.com/allowkit/react-native-x402#readme","bugs":{"url":"https://github.com/allowkit/react-native-x402/issues"},"_id":"@allowkit/x402-client@0.1.0","gitHead":"24b3cebd599179fb0faad884f84b45e825fe1ab1","_nodeVersion":"22.22.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-aPFpjNkUCHyXg3Hq8R1vf3l7r2ucT3rvjLDf5UJI/NBC7kXnGnmRHz/mSdjwGt6ttvsQb5dXnIcfU+a0f3tddQ==","shasum":"70c7e32523819ef613dcec1103c3c5ff5f03a7c4","tarball":"https://registry.npmjs.org/@allowkit/x402-client/-/x402-client-0.1.0.tgz","fileCount":23,"unpackedSize":48329,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCEXbUsBb6zGidVUfum/P+AcTNs+8maLhX6ZlvV1TDTwQIhAPZgqxPGLBGT3uegxwnWze74Oqbp/Q+D9zjIS8I51rPn"}]},"_npmUser":{"name":"hughchen","email":"seal09@gmail.com"},"directories":{},"maintainers":[{"name":"hughchen","email":"seal09@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/x402-client_0.1.0_1786143362555_0.8500193923605925"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-07T22:56:02.342Z","0.1.0":"2026-08-07T22:56:02.740Z","modified":"2026-08-07T22:56:03.033Z"},"maintainers":[{"name":"hughchen","email":"seal09@gmail.com"}],"description":"x402 protocol client for React Native: 402 handshake, payment construction, client-side security hardening. Thin layer over the official @x402/* packages.","homepage":"https://github.com/allowkit/react-native-x402#readme","keywords":["x402","react-native","payments","ai-agents","http-402","usdc"],"repository":{"type":"git","url":"git+https://github.com/allowkit/react-native-x402.git","directory":"packages/x402-client"},"bugs":{"url":"https://github.com/allowkit/react-native-x402/issues"},"license":"Apache-2.0","readme":"# @allowkit/x402-client\n\nThe x402 protocol client core of [react-native-x402](https://github.com/allowkit/react-native-x402): the `fetchWithPayment` loop (402 → parse → **policy** → sign → retry), spec-aligned types, and client-side security hardening — quote binding, freshness windows, and replay refusal, per the 2026 x402 audit literature (arXiv 2605.11781, 2607.19545).\n\nProtocol encoding is delegated to a pluggable `X402Codec`; the production codec wraps the official `@x402/core` HTTP utilities (see `@allowkit/agent-wallet/bridge`). This package never re-implements the wire format — it owns the policy choke point.\n\nMost apps should use the batteries-included [`react-native-x402`](https://www.npmjs.com/package/react-native-x402) umbrella instead of this package directly. Use this directly when you bring your own wallet/policy stack and only want the hardened client loop.\n\nLicense: Apache-2.0.\n","readmeFilename":"README.md","_rev":"1-768ee63f9eacee1d134eb1636406f8d3"}