{"_id":"@402lane/client","_rev":"6-7cc3549a3bcb521ef261fc48ba677862","name":"@402lane/client","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.0":{"name":"@402lane/client","version":"0.1.0","license":"MIT","_id":"@402lane/client@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":"8291304ea510ef224cddd67e460478939263d185","tarball":"https://registry.npmjs.org/@402lane/client/-/client-0.1.0.tgz","fileCount":4,"integrity":"sha512-e4CuMOTWdVxTBDSycrPDtS2XRuDAS7NzPzc8FcLOK9xF+wTjWFsxK3LwsopueI4F125u9v9Kf4fqhybUsfK0SQ==","signatures":[{"sig":"MEQCICxY2WumdJXZiKVwwsdBp8ryFQO93CoNRXxw4Wiw/ZxNAiAm++dxe0uMh5xGUDjVfkCXbF6SkhZ9wA0qvep+DXAEvw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5288},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":"./dist/index.js"},"gitHead":"0bb6420df1f03a6291794646f6f65b4044e6e8e5","scripts":{"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":"A fetch wrapper that transparently pays x402 challenges in USDG on Robinhood Chain (chain 4663) — part of [402LANE](https://402lane.vercel.app).","directories":{},"_nodeVersion":"22.23.1","dependencies":{"viem":"^2.21.0","@402lane/core":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/client_0.1.0_1784984942288_0.9719282638384756","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@402lane/client","version":"0.1.2","license":"MIT","_id":"@402lane/client@0.1.2","maintainers":[{"name":"laneee","email":"lane998@atomicmail.io"}],"homepage":"https://www.402lane.com","dist":{"shasum":"a7dc995871592c7c738809c0691bce4dd14accdd","tarball":"https://registry.npmjs.org/@402lane/client/-/client-0.1.2.tgz","fileCount":4,"integrity":"sha512-fdkaiYhmJvBCszYLpx6A8UCAHa1RVIzbaqaB5mrpB+azDp+oyx0+bJuBgxGFeShdyYS8bR/oVXk6MtQG32bosw==","signatures":[{"sig":"MEUCIQCRqvUGxLORfeJXeBOCgehRODC+gLHL5P3vAMwCkXQtuwIgHAaq78TtvCxsdoFHeiroWaKjpkhk+RtgQUV8B39F1IU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5228},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":"./dist/index.js"},"gitHead":"2b9603e59e23f4037bba21e1d5800ee50498af0b","scripts":{"build":"tsc -p tsconfig.json"},"_npmUser":{"name":"laneee","email":"lane998@atomicmail.io"},"_npmVersion":"10.9.8","description":"A fetch wrapper that transparently pays x402 challenges in USDG on Robinhood Chain (chain 4663) — part of [402LANE](https://www.402lane.com).","directories":{},"_nodeVersion":"22.23.1","dependencies":{"viem":"^2.21.0","@402lane/core":"^0.1.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/client_0.1.2_1784993565038_0.4135108677719139","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@402lane/client","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"},"dependencies":{"@402lane/core":"^0.1.3","viem":"^2.21.0"},"devDependencies":{"typescript":"^5.5.0","@types/node":"^22.0.0"},"publishConfig":{"access":"public"},"license":"MIT","homepage":"https://www.402lane.com","_id":"@402lane/client@0.1.3","gitHead":"2b9603e59e23f4037bba21e1d5800ee50498af0b","description":"A fetch wrapper that transparently pays x402 challenges in USDG on Robinhood Chain (chain 4663) — part of [402LANE](https://www.402lane.com).","_nodeVersion":"22.23.1","_npmVersion":"10.9.8","dist":{"integrity":"sha512-dhXdaAiWL2oo7ALOY2BTuXeZvTnkkXBrIdPfWl81PqIHH9InvUkjaAGB7wc+Xk9QoFuHuraeF796KLdzqRKxzw==","shasum":"917be5bdb27f604148437c867fe53bb27403725c","tarball":"https://registry.npmjs.org/@402lane/client/-/client-0.1.3.tgz","fileCount":4,"unpackedSize":5228,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFx0tAY2HveagWWl9kbwKy4N+SeN7LEimh3rigVSt1tMAiBv4lNsNFMrkwCd41AWrTHMMNQYW0Ur5xMwRoWfXmYZ2Q=="}]},"_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/client_0.1.3_1784994225352_0.9067411358396342"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-25T13:09:02.179Z","modified":"2026-07-25T15:43:45.660Z","0.1.0":"2026-07-25T13:09:02.485Z","0.1.1":"2026-07-25T13:09:58.774Z","0.1.2":"2026-07-25T15:32:45.178Z","0.1.3":"2026-07-25T15:43:45.485Z"},"license":"MIT","homepage":"https://www.402lane.com","description":"A fetch wrapper that transparently pays x402 challenges in USDG on Robinhood Chain (chain 4663) — part of [402LANE](https://www.402lane.com).","maintainers":[{"name":"laneee","email":"lane998@atomicmail.io"}],"readme":"# @402lane/client\n\nA fetch wrapper that transparently pays x402 challenges in USDG on Robinhood\nChain (chain 4663) — part of [402LANE](https://www.402lane.com).\n\n```ts\nimport { createSigner, payingFetch } from \"@402lane/client\";\n\nconst pay = payingFetch({\n  account: createSigner(process.env.WALLET_KEY),\n  maxValue: 10_000n,        // spend cap per request: 0.01 USDG\n});\n\nconst res = await pay(\"https://api.example.dev/report\");\n// 402 → signs EIP-3009 authorization → retries → 200\n```\n\nIncludes a per-payment spend cap and network allowlist so an agent can pay\nautonomously without being drained. See the [docs](https://www.402lane.com/docs). MIT.\n","readmeFilename":"README.md"}