{"_id":"@agentpay-ai/shared-arc","name":"@agentpay-ai/shared-arc","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.3":{"name":"@agentpay-ai/shared-arc","version":"0.1.3","type":"module","exports":{".":"./src/index.ts","./arc-hosted-auth":"./src/arc-hosted-auth.ts","./batch-payout":"./src/batch-payout.ts"},"publishConfig":{"access":"public"},"scripts":{"test":"tsx --test \"src/**/*.test.ts\"","typecheck":"tsc -p ../../tsconfig.json --noEmit"},"dependencies":{"@celo/attribution-tags":"^0.3.0","@noble/hashes":"^2.2.0","zod":"^4.4.3"},"_id":"@agentpay-ai/shared-arc@0.1.3","description":"Shared AgentPay schemas and helpers:","_nodeVersion":"22.23.0","_npmVersion":"10.9.8","dist":{"integrity":"sha512-+XWdcbNGU/k90MtQdr2ZRDZlZa1ZtU1zCnYCXvA1gC5BxFOqIu8wl8dmz8Q6Yrbw+nlcOwicWd/8f7Sa0dJkBA==","shasum":"52f305a5cbefd40eb5a11723066b0c5e012f9b74","tarball":"https://registry.npmjs.org/@agentpay-ai/shared-arc/-/shared-arc-0.1.3.tgz","fileCount":26,"unpackedSize":140132,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAb96+ifSkfku3YIAjQhcfT8ZgLgMi4OqwEKc+LG0JY0AiAjMrqr/+NFwfsuBwT1zQPwF0JL2EF/5lMWa5cJdXZPXg=="}]},"_npmUser":{"name":"zakyirsyaad","email":"zkyxentertain@gmail.com"},"directories":{},"maintainers":[{"name":"zakyirsyaad","email":"zkyxentertain@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/shared-arc_0.1.3_1785567957609_0.47236376137595726"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-01T07:05:57.357Z","0.1.3":"2026-08-01T07:05:57.766Z","modified":"2026-08-01T07:05:58.090Z"},"maintainers":[{"name":"zakyirsyaad","email":"zkyxentertain@gmail.com"}],"description":"Shared AgentPay schemas and helpers:","readme":"# @agentpay-ai/shared-arc\n\nShared AgentPay schemas and helpers:\n\n- Arc Testnet chain metadata: chain ID `5042002`, CAIP-2 `eip155:5042002`, Circle chain `ARC-TESTNET`;\n- Arc USDC metadata, including the native 18-decimal gas view and the 6-decimal ERC-20 interface at `0x3600000000000000000000000000000000000000`, which are two views of one balance and must never be summed;\n- Arc EURC metadata and the Arc CCTP/Gateway domain `26`;\n- Circle Agent Wallet, balance, invoice, x402, and payment-intent validation;\n- exact six-decimal USDC amount parsing that rejects zero, negative, over-precision, malformed, and overflowing values;\n- ERC-8004 registration metadata schemas;\n- inherited Celo chain/token metadata and EIP-712 authorization builders from the fork source.\n\nThe Arc home-chain schema accepts only Arc Testnet (`5042002`), and that is what\n`networkSelectionShape` uses. The inherited Celo home-chain schema\n(`42220` / `11142220`) is retained for the legacy owner-signed payment path and\ndoes not make Celo an AgentPay Arc home chain. Destination metadata can still\ndescribe supported cross-chain funding assets without turning those chains into\nhome chains.\n","readmeFilename":"README.md","_rev":"1-b248790a604a99390ee7fb0bb2c4bf46"}