{"_id":"@402lane/core","_rev":"6-3d3866cb4cf06b2fcd98c526fa580749","name":"@402lane/core","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.0":{"name":"@402lane/core","version":"0.1.0","license":"MIT","_id":"@402lane/core@0.1.0","maintainers":[{"name":"laneee","email":"lane998@atomicmail.io"}],"homepage":"https://github.com/oggyfoxy/lane402#readme","bugs":{"url":"https://github.com/oggyfoxy/lane402/issues"},"dist":{"shasum":"6144512d504fe113f74e97850477bd3336281bdd","tarball":"https://registry.npmjs.org/@402lane/core/-/core-0.1.0.tgz","fileCount":12,"integrity":"sha512-ABNxZireDM8dIk18U8aXu5DaGMCXNXDy47Swjppv24pi5zQu+hiOC9hT3k5DxQfqODGzm9o8E/f7k+ByfR5LVg==","signatures":[{"sig":"MEYCIQDU6T6zO5mAgDRjH3kj0onHSGJEWM/gcsyQJwjhOvp/7QIhAIpNfMPWLfqqVtPzMO7tR/K4EK+97gVYTi78sS6Lt/fT","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25711},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":"./dist/index.js"},"gitHead":"0bb6420df1f03a6291794646f6f65b4044e6e8e5","scripts":{"test":"node --test dist/test/","build":"tsc -p tsconfig.json"},"_npmUser":{"name":"laneee","email":"lane998@atomicmail.io"},"deprecated":"broken workspace deps; use 0.1.1+","repository":{"url":"git+https://github.com/oggyfoxy/lane402.git","type":"git"},"_npmVersion":"10.9.8","description":"Protocol types, header codecs, network config, and EIP-3009 typed data for [402LANE](https://402lane.vercel.app) — the x402 agent-payments toolkit for the Robinhood Chain (USDG, chain 4663).","directories":{},"_nodeVersion":"22.23.1","dependencies":{"zod":"^3.23.0","viem":"^2.21.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/core_0.1.0_1784984928425_0.6942067821480744","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@402lane/core","version":"0.1.2","license":"MIT","_id":"@402lane/core@0.1.2","maintainers":[{"name":"laneee","email":"lane998@atomicmail.io"}],"homepage":"https://www.402lane.com","dist":{"shasum":"01325e1c0ad660174ab8f5343bda3ccdd62e1727","tarball":"https://registry.npmjs.org/@402lane/core/-/core-0.1.2.tgz","fileCount":12,"integrity":"sha512-wc6wdTx6KP+UNNSDXjFFH4gXZSPNRV0UGbu6iQxkGXtzKsG/68QLS1sMqe57Rfw47lMYmSO1ieYHgKXfWSetmQ==","signatures":[{"sig":"MEUCIQDoZ5C44v2hoTmG48iz/zyJo5SLTepAc+qBTP7PEiD9TQIgaQ6KLDLodTFKp/2UyO24YHqvT5eDfM6gySo9fojWROk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25656},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":"./dist/index.js"},"gitHead":"2b9603e59e23f4037bba21e1d5800ee50498af0b","scripts":{"test":"node --test dist/test/","build":"tsc -p tsconfig.json"},"_npmUser":{"name":"laneee","email":"lane998@atomicmail.io"},"_npmVersion":"10.9.8","description":"Protocol types, header codecs, network config, and EIP-3009 typed data for [402LANE](https://www.402lane.com) — the x402 agent-payments toolkit for the Robinhood Chain (USDG, chain 4663).","directories":{},"_nodeVersion":"22.23.1","dependencies":{"zod":"^3.23.0","viem":"^2.21.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/core_0.1.2_1784993545298_0.6845330526023039","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@402lane/core","version":"0.1.3","type":"module","main":"dist/index.js","types":"dist/index.d.ts","exports":{".":"./dist/index.js"},"scripts":{"build":"tsc -p tsconfig.json","test":"node --test dist/test/"},"dependencies":{"viem":"^2.21.0","zod":"^3.23.0"},"devDependencies":{"typescript":"^5.5.0","@types/node":"^22.0.0"},"publishConfig":{"access":"public"},"license":"MIT","homepage":"https://www.402lane.com","_id":"@402lane/core@0.1.3","gitHead":"2b9603e59e23f4037bba21e1d5800ee50498af0b","description":"Protocol types, header codecs, network config, and EIP-3009 typed data for [402LANE](https://www.402lane.com) — the x402 agent-payments toolkit for the Robinhood Chain (USDG, chain 4663).","_nodeVersion":"22.23.1","_npmVersion":"10.9.8","dist":{"integrity":"sha512-PYlVIP8/DlYfN/rzgI/gXpS137WWYxbdhgLrzRQBBPFqhQjtfbRDumC5xU5FFbRktzk/ZXJJgGgdOgBY5Fu1Ig==","shasum":"301ece59119e0f750d50d1a6be895cc58b7a3241","tarball":"https://registry.npmjs.org/@402lane/core/-/core-0.1.3.tgz","fileCount":12,"unpackedSize":25656,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICPzlHHBCsGuoJFEKkRAnCCU+fH2Y8ybUdXSKYZi2m+aAiEAvu3O6LSAeDyE6GCuHhS8pCcuwpUgL03vM4RO82tHQy8="}]},"_npmUser":{"name":"laneee","email":"lane998@atomicmail.io"},"directories":{},"maintainers":[{"name":"laneee","email":"lane998@atomicmail.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core_0.1.3_1784994216471_0.15695166419719841"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-25T13:08:48.217Z","modified":"2026-07-25T15:43:36.752Z","0.1.0":"2026-07-25T13:08:48.579Z","0.1.1":"2026-07-25T13:09:55.918Z","0.1.2":"2026-07-25T15:32:25.436Z","0.1.3":"2026-07-25T15:43:36.611Z"},"license":"MIT","homepage":"https://www.402lane.com","description":"Protocol types, header codecs, network config, and EIP-3009 typed data for [402LANE](https://www.402lane.com) — the x402 agent-payments toolkit for the Robinhood Chain (USDG, chain 4663).","maintainers":[{"name":"laneee","email":"lane998@atomicmail.io"}],"readme":"# @402lane/core\n\nProtocol types, header codecs, network config, and EIP-3009 typed data for\n[402LANE](https://www.402lane.com) — the x402 agent-payments toolkit for the\nRobinhood Chain (USDG, chain 4663).\n\nShips the x402 v2 wire types (`exact` scheme), base64-JSON `PAYMENT-*` header\nencode/decode, the Robinhood Chain mainnet (`eip155:4663`) and testnet (`eip155:46630`)\nnetwork config with USDG addresses, and the `TransferWithAuthorization`\nEIP-712 typed-data helpers.\n\n```ts\nimport { getNetwork, encodeHeader, toBaseUnits } from \"@402lane/core\";\nconst net = getNetwork(\"eip155:4663\");   // USDG, 6 decimals, EIP-712 domain\ntoBaseUnits(\"0.001\");                    // \"1000\"\n```\n\nUsed by `@402lane/facilitator`, `@402lane/middleware`, and `@402lane/client`.\nSee the [docs](https://www.402lane.com/docs). MIT.\n","readmeFilename":"README.md"}