{"_id":"@1claw/wallet-react","_rev":"10-256b0e54ea4a3f48f4020db449b108bf","name":"@1claw/wallet-react","dist-tags":{"latest":"0.5.2"},"versions":{"0.1.0":{"name":"@1claw/wallet-react","version":"0.1.0","keywords":["1claw","wallet","treasury","react","crypto","embedded"],"license":"MIT","_id":"@1claw/wallet-react@0.1.0","maintainers":[{"name":"oneclaw","email":"kevin@kevinjonescreates.com"}],"homepage":"https://github.com/1clawAI/1claw#readme","bugs":{"url":"https://github.com/1clawAI/1claw/issues"},"dist":{"shasum":"c97964edf6c2cf8e5ba587ddeb9bb4777df671ac","tarball":"https://registry.npmjs.org/@1claw/wallet-react/-/wallet-react-0.1.0.tgz","fileCount":2,"integrity":"sha512-uCp8u2m4rw6Wm1qbYuxht9EnQzy+KUTYJzuj6hTjg4mf+cOxGC4JN/6+mWG2dsExNI/6J9nqIcMgZ4CczC67RQ==","signatures":[{"sig":"MEUCIQDAPHwqV3HK9snt5tKRkhscZMKRxM99JLDZejRwiOuDfQIgE4Dd+0WqLMi+kIu7RHsnPxuzXCj/ym0/JkEBhV4OhLA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3632},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"583b4e14020f1b2617c33e661301a20a892a7390","scripts":{"dev":"tsup src/index.ts --format cjs,esm --dts --watch","lint":"tsc --noEmit","build":"tsup src/index.ts --format cjs,esm --dts"},"_npmUser":{"name":"oneclaw","email":"kevin@kevinjonescreates.com"},"repository":{"url":"git+https://github.com/1clawAI/1claw.git","type":"git","directory":"packages/wallet-react"},"_npmVersion":"11.6.1","description":"Embeddable treasury wallet component for Platform API apps built on 1Claw","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","react":"^19.0.0","react-dom":"^19.0.0","typescript":"^5.6.0","@types/react":"^19.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/wallet-react_0.1.0_1780142061903_0.032788787055668456","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@1claw/wallet-react","version":"0.2.0","keywords":["1claw","wallet","treasury","react","crypto","embedded"],"license":"MIT","_id":"@1claw/wallet-react@0.2.0","maintainers":[{"name":"oneclaw","email":"kevin@kevinjonescreates.com"}],"homepage":"https://github.com/1clawAI/wallet-react#readme","bugs":{"url":"https://github.com/1clawAI/wallet-react/issues"},"dist":{"shasum":"0f1acb45b0d71db83de6dcc2c425f1535694b963","tarball":"https://registry.npmjs.org/@1claw/wallet-react/-/wallet-react-0.2.0.tgz","fileCount":3,"integrity":"sha512-QjBdXx+zR+KaNbro9yHTAi7WmzWOZ8hlj831DPnHvBXUcJcQw0uYAK7vMMwtJiLb4xpHK3P6+bUL3RgEqqaUhg==","signatures":[{"sig":"MEYCIQDgbdiv7VxfMgGuFW5p11Bq1u7aHWFkhAaAnGnR6cqCPgIhAJaRKVogy5i/kf+BPGKYOspkbQUBdJqUyrB9AmpEDyf4","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5753},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"tsup src/index.ts --format cjs,esm --dts --watch","lint":"tsc --noEmit","build":"tsup src/index.ts --format cjs,esm --dts"},"_npmUser":{"name":"oneclaw","email":"kevin@kevinjonescreates.com"},"repository":{"url":"git+https://github.com/1clawAI/wallet-react.git","type":"git"},"_npmVersion":"11.6.1","description":"Embeddable treasury wallet component for Platform API apps built on 1Claw","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","react":"^19.0.0","react-dom":"^19.0.0","typescript":"^5.6.0","@types/react":"^19.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/wallet-react_0.2.0_1780339589587_0.8069727422055948","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@1claw/wallet-react","version":"0.3.0","keywords":["1claw","wallet","treasury","react","crypto","embedded"],"license":"MIT","_id":"@1claw/wallet-react@0.3.0","maintainers":[{"name":"oneclaw","email":"kevin@kevinjonescreates.com"}],"homepage":"https://github.com/1clawAI/wallet-react#readme","bugs":{"url":"https://github.com/1clawAI/wallet-react/issues"},"dist":{"shasum":"4d641c78d4e878f2f2f451013f588358ed93f19d","tarball":"https://registry.npmjs.org/@1claw/wallet-react/-/wallet-react-0.3.0.tgz","fileCount":3,"integrity":"sha512-Gjt7bmS0nsLhimyOP6WgCsA8djsxlfqNowkSXFCGGmqLwb30R6JEZlqQGbHKo4HwnNyYpFixDmpihxcFkDyfcQ==","signatures":[{"sig":"MEQCIHlaKaJbPi7iQbm2P7WXXZ6TAKBROcVxkQc7GJ33/6OuAiBv8FXdM77oalQqtVLkUrtEub6C/mTgjjcmWrG1NFbyRA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6247},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"tsup src/index.ts --format cjs,esm --dts --watch","lint":"tsc --noEmit","build":"tsup src/index.ts --format cjs,esm --dts"},"_npmUser":{"name":"oneclaw","email":"kevin@kevinjonescreates.com"},"repository":{"url":"git+https://github.com/1clawAI/wallet-react.git","type":"git"},"_npmVersion":"11.6.1","description":"Embeddable treasury wallet component for Platform API apps built on 1Claw","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","react":"^19.0.0","react-dom":"^19.0.0","typescript":"^5.6.0","@types/react":"^19.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/wallet-react_0.3.0_1780877282708_0.41318154918052485","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@1claw/wallet-react","version":"0.3.1","keywords":["1claw","wallet","treasury","react","crypto","embedded"],"license":"MIT","_id":"@1claw/wallet-react@0.3.1","maintainers":[{"name":"oneclaw","email":"kevin@kevinjonescreates.com"}],"homepage":"https://github.com/1clawAI/wallet-react#readme","bugs":{"url":"https://github.com/1clawAI/wallet-react/issues"},"dist":{"shasum":"34730c6c600b3f5c046e7bf90729637180e3e63e","tarball":"https://registry.npmjs.org/@1claw/wallet-react/-/wallet-react-0.3.1.tgz","fileCount":3,"integrity":"sha512-QO4OHcGkHqLEN/YBrJNPZ0ySzap29GFGQQbxAoIk9/hh1KkABWPgKtam3NPUpIF3+a5l5Qa7fnFz1Xh0TW+JZw==","signatures":[{"sig":"MEUCIQCespomp7v9fRmFF61WPuORwFGiLupvbjqTlGXGutiMSQIgC5lmj19WxbOH4vmfCGIpivaFQ76juHgMazD340Uq/CU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6283},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"tsup src/index.ts --format cjs,esm --dts --watch","lint":"tsc --noEmit","build":"tsup src/index.ts --format cjs,esm --dts"},"_npmUser":{"name":"oneclaw","email":"kevin@kevinjonescreates.com"},"repository":{"url":"git+https://github.com/1clawAI/wallet-react.git","type":"git"},"_npmVersion":"11.6.1","description":"Embeddable treasury wallet component for Platform API apps built on 1Claw","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","react":"^19.0.0","react-dom":"^19.0.0","typescript":"^5.6.0","@types/react":"^19.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/wallet-react_0.3.1_1781044440457_0.5309616740954766","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@1claw/wallet-react","version":"0.4.0","keywords":["1claw","wallet","treasury","react","crypto","embedded"],"license":"MIT","_id":"@1claw/wallet-react@0.4.0","maintainers":[{"name":"oneclaw","email":"kevin@kevinjonescreates.com"}],"homepage":"https://github.com/1clawAI/wallet-react#readme","bugs":{"url":"https://github.com/1clawAI/wallet-react/issues"},"dist":{"shasum":"2beb405c4d0541beab8b3d93d96a457184b281e4","tarball":"https://registry.npmjs.org/@1claw/wallet-react/-/wallet-react-0.4.0.tgz","fileCount":3,"integrity":"sha512-zZLRL+BriqF4kmKotECYK4In1jPtsOqw7KfEXWqwI/4OQ/nKqM1KTwNPySo9WR4U7TI3CQaiFGnSqOAgmnDL+g==","signatures":[{"sig":"MEUCIEOjzMwWsHgq4eJRS8hSfuyZIKEhSG7XdSIvA05Ddh/KAiEA2Lz5ZVeRTg4kIJLpyCY8wYrhwqoBSUpM3VQd4bpQOvM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6283},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"tsup src/index.ts --format cjs,esm --dts --watch","lint":"tsc --noEmit","build":"tsup src/index.ts --format cjs,esm --dts"},"_npmUser":{"name":"oneclaw","email":"kevin@kevinjonescreates.com"},"repository":{"url":"git+https://github.com/1clawAI/wallet-react.git","type":"git"},"_npmVersion":"11.6.1","description":"Embeddable treasury wallet component for Platform API apps built on 1Claw","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","react":"^19.0.0","react-dom":"^19.0.0","typescript":"^5.6.0","@types/react":"^19.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/wallet-react_0.4.0_1783721201770_0.9247774185687736","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@1claw/wallet-react","version":"0.4.1","keywords":["1claw","wallet","treasury","react","crypto","embedded"],"license":"MIT","_id":"@1claw/wallet-react@0.4.1","maintainers":[{"name":"oneclaw","email":"kevin@kevinjonescreates.com"}],"homepage":"https://github.com/1clawAI/wallet-react#readme","bugs":{"url":"https://github.com/1clawAI/wallet-react/issues"},"dist":{"shasum":"8b1c8cf1506eb6c3138f6ea93986cbfbcd6d9809","tarball":"https://registry.npmjs.org/@1claw/wallet-react/-/wallet-react-0.4.1.tgz","fileCount":3,"integrity":"sha512-HI6Gq5TnTBUt7La3rmS1mUbd/+C6BLcMzT3ivvX3ep8bo+FAbsMlXHiR41g7hpF/5BwGLSAGzWN9kZ838sszaw==","signatures":[{"sig":"MEUCIGXjSCKYkCOcpnn03bcwgYMZn7RkxQ1fMAj+QvLdVdQrAiEA9nVIkMOmF0JiTG0/cC7jDbYy994gDEmdZTHiQp3EH04=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6283},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"tsup src/index.ts --format cjs,esm --dts --watch","lint":"tsc --noEmit","build":"tsup src/index.ts --format cjs,esm --dts"},"_npmUser":{"name":"oneclaw","email":"kevin@kevinjonescreates.com"},"repository":{"url":"git+https://github.com/1clawAI/wallet-react.git","type":"git"},"_npmVersion":"11.6.1","description":"Embeddable treasury wallet component for Platform API apps built on 1Claw","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","react":"^19.0.0","react-dom":"^19.0.0","typescript":"^5.6.0","@types/react":"^19.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/wallet-react_0.4.1_1784425278963_0.21306726384576335","host":"s3://npm-registry-packages-npm-production"}},"0.4.2":{"name":"@1claw/wallet-react","version":"0.4.2","keywords":["1claw","wallet","treasury","react","crypto","embedded"],"license":"MIT","_id":"@1claw/wallet-react@0.4.2","maintainers":[{"name":"oneclaw","email":"kevin@kevinjonescreates.com"}],"homepage":"https://github.com/1clawAI/wallet-react#readme","bugs":{"url":"https://github.com/1clawAI/wallet-react/issues"},"dist":{"shasum":"196d2a0fab1dcf2a3f3cd14ce1cff7758d793ca9","tarball":"https://registry.npmjs.org/@1claw/wallet-react/-/wallet-react-0.4.2.tgz","fileCount":8,"integrity":"sha512-htf1VL5WoDGTiuniJjTtZhtQaozEw5M2XMxFfxap1pIkne/PfWuC2pejtWF7pKLg8uSBOo4NN5Vf+igO4zHYUQ==","signatures":[{"sig":"MEYCIQDYO0DGk2lhDxz4stF+SyAIalSkP4+7Qp39SjTIb6sJfwIhANX2tPxYu7NLLyMTgpoJTAvDbx/BSb7xsQnsS3E6C5Ng","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":160478},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"tsup src/index.ts --format cjs,esm --dts --watch","lint":"tsc --noEmit","build":"tsup src/index.ts --format cjs,esm --dts"},"_npmUser":{"name":"oneclaw","email":"kevin@kevinjonescreates.com"},"repository":{"url":"git+https://github.com/1clawAI/wallet-react.git","type":"git"},"_npmVersion":"11.6.1","description":"Embeddable treasury wallet component for Platform API apps built on 1Claw","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","react":"^19.0.0","react-dom":"^19.0.0","typescript":"^5.6.0","@types/react":"^19.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/wallet-react_0.4.2_1786741156210_0.7728737039845592","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@1claw/wallet-react","version":"0.5.0","keywords":["1claw","wallet","treasury","react","crypto","embedded"],"license":"MIT","_id":"@1claw/wallet-react@0.5.0","maintainers":[{"name":"oneclaw","email":"kevin@kevinjonescreates.com"}],"homepage":"https://github.com/1clawAI/wallet-react#readme","bugs":{"url":"https://github.com/1clawAI/wallet-react/issues"},"dist":{"shasum":"eecc21d71aa8ed972f59520762b2de0e1b953975","tarball":"https://registry.npmjs.org/@1claw/wallet-react/-/wallet-react-0.5.0.tgz","fileCount":8,"integrity":"sha512-+mUplr4GGhMBesH/Ks9U/ksUckB7I7n/pxBDIjff7/sq90LTQJ/CBuP+9jnXrx2zgUVUpeImSprQxo+NBDVfWg==","signatures":[{"sig":"MEUCID3A7jfYeMzRBWrK5BV97KmBZlKEnze4UKIhQx8QkHebAiEApxhvb4JxqV8+JmiZj42wYJs37hjWa+ke5spmtcgk65Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":162674},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./oauth":{"types":"./dist/SignInWith1Claw.d.ts","import":"./dist/SignInWith1Claw.mjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.mjs"}},"scripts":{"dev":"tsup src/index.ts src/client.ts src/SignInWith1Claw.tsx --format cjs,esm --dts --watch","lint":"tsc --noEmit","build":"tsup src/index.ts src/client.ts src/SignInWith1Claw.tsx --format cjs,esm --dts"},"_npmUser":{"name":"oneclaw","email":"kevin@kevinjonescreates.com"},"repository":{"url":"git+https://github.com/1clawAI/wallet-react.git","type":"git"},"_npmVersion":"11.6.1","description":"Embeddable treasury wallet component for Platform API apps built on 1Claw","directories":{},"sideEffects":false,"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","react":"^19.0.0","react-dom":"^19.0.0","typescript":"^5.6.0","@types/react":"^19.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/wallet-react_0.5.0_1787175848905_0.8530355087660824","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"@1claw/wallet-react","version":"0.5.1","keywords":["1claw","wallet","treasury","react","crypto","embedded"],"license":"MIT","_id":"@1claw/wallet-react@0.5.1","maintainers":[{"name":"oneclaw","email":"kevin@kevinjonescreates.com"}],"homepage":"https://github.com/1clawAI/wallet-react#readme","bugs":{"url":"https://github.com/1clawAI/wallet-react/issues"},"dist":{"shasum":"0dae3e57f90e6d0526d048c3c4bd193c170bc62a","tarball":"https://registry.npmjs.org/@1claw/wallet-react/-/wallet-react-0.5.1.tgz","fileCount":8,"integrity":"sha512-+1EAXWoegeNxSURzxeTXI9KM7UHehlqxnIkmeJh1rX4ZxEF9JsEEc33jRs+xLDRcLAlx6w2MBjV+rH3WFJRFcQ==","signatures":[{"sig":"MEYCIQDf0+vETjmhxo73MkbLha/1lIJ2AD/06DKPSrNJBkKBXAIhAJa4hZOEVzEpBhc/iZ40IIXb1uzXgnGIhHdforliycNr","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":164006},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./oauth":{"types":"./dist/SignInWith1Claw.d.ts","import":"./dist/SignInWith1Claw.mjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.mjs"}},"scripts":{"dev":"tsup src/index.ts src/client.ts src/SignInWith1Claw.tsx --format cjs,esm --dts --watch","lint":"tsc --noEmit","build":"tsup src/index.ts src/client.ts src/SignInWith1Claw.tsx --format cjs,esm --dts"},"_npmUser":{"name":"oneclaw","email":"kevin@kevinjonescreates.com"},"repository":{"url":"git+https://github.com/1clawAI/wallet-react.git","type":"git"},"_npmVersion":"11.6.1","description":"Embeddable treasury wallet component for Platform API apps built on 1Claw","directories":{},"sideEffects":false,"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","react":"^19.0.0","react-dom":"^19.0.0","typescript":"^5.6.0","@types/react":"^19.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/wallet-react_0.5.1_1787575082509_0.7686499375826965","host":"s3://npm-registry-packages-npm-production"}},"0.5.2":{"name":"@1claw/wallet-react","version":"0.5.2","description":"Embeddable treasury wallet component for Platform API apps built on 1Claw","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.mjs"},"./oauth":{"types":"./dist/SignInWith1Claw.d.ts","import":"./dist/SignInWith1Claw.mjs"}},"scripts":{"build":"tsup src/index.ts src/client.ts src/SignInWith1Claw.tsx --format cjs,esm --dts","dev":"tsup src/index.ts src/client.ts src/SignInWith1Claw.tsx --format cjs,esm --dts --watch","lint":"tsc --noEmit"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"devDependencies":{"@types/react":"^19.0.0","react":"^19.0.0","react-dom":"^19.0.0","tsup":"^8.0.0","typescript":"^5.6.0"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/1clawAI/wallet-react.git"},"keywords":["1claw","wallet","treasury","react","crypto","embedded"],"_id":"@1claw/wallet-react@0.5.2","bugs":{"url":"https://github.com/1clawAI/wallet-react/issues"},"homepage":"https://github.com/1clawAI/wallet-react#readme","_nodeVersion":"22.23.2","_npmVersion":"12.0.2","dist":{"integrity":"sha512-HMbEdFLHuSzACXRfNY8QYSmvNhxMh+gWsUq8b2NZ02JEMJwpdD5ymY1wzhAZrxIEufW3m16amOgfAgVpLY2naw==","shasum":"e6d35a3809e4e023e1573fa2d5d897b64f5d0e2c","tarball":"https://registry.npmjs.org/@1claw/wallet-react/-/wallet-react-0.5.2.tgz","fileCount":21,"unpackedSize":242707,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGueizk6/zyKJC7eB3i2F9zeE7AzM8Mu8UkdntKL7ZXAAiAlgUntHyR+05FSsuWNcDfWiEBLNLSwQgFhv8BncSgY8Q=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:6cd5e5ee-039f-46a4-bb52-8af6a2ed66e9"}},"directories":{},"maintainers":[{"name":"oneclaw","email":"kevin@kevinjonescreates.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/wallet-react_0.5.2_1788143468911_0.3479619084627692"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-30T11:54:21.772Z","modified":"2026-08-31T02:31:09.204Z","0.1.0":"2026-05-30T11:54:22.024Z","0.2.0":"2026-06-01T18:46:29.714Z","0.3.0":"2026-06-08T00:08:02.848Z","0.3.1":"2026-06-09T22:34:00.587Z","0.4.0":"2026-07-10T22:06:41.908Z","0.4.1":"2026-07-19T01:41:19.085Z","0.4.2":"2026-08-14T20:59:16.377Z","0.5.0":"2026-08-19T21:44:09.057Z","0.5.1":"2026-08-24T12:38:02.704Z","0.5.2":"2026-08-31T02:31:09.054Z"},"bugs":{"url":"https://github.com/1clawAI/wallet-react/issues"},"license":"MIT","homepage":"https://github.com/1clawAI/wallet-react#readme","keywords":["1claw","wallet","treasury","react","crypto","embedded"],"repository":{"type":"git","url":"git+https://github.com/1clawAI/wallet-react.git"},"description":"Embeddable treasury wallet component for Platform API apps built on 1Claw","maintainers":[{"name":"oneclaw","email":"kevin@kevinjonescreates.com"}],"readme":"# @1claw/wallet-react\n\n> ⭐ **Star [1clawAI/agent-templates](https://github.com/1clawAI/agent-templates)** — ready-to-run agent templates wired to 1Claw. It is our single starred repo.\n\nReact components for embedding 1Claw treasury wallets in your app.\n\nBuilt for platform developers using the 1Claw Platform API (`plt_` keys). Your users get multi-chain wallets, send/swap/receive flows, social login, email OTP, and passkey transaction auth without you running wallet infrastructure or storing private keys.\n\n## Installation\n\n```bash\nnpm install @1claw/wallet-react\n```\n\n## Quick Start\n\n```tsx\nimport { OneclawEmbeddedWallet } from \"@1claw/wallet-react\";\n\nfunction App() {\n  return (\n    <OneclawEmbeddedWallet\n      appId=\"your-platform-slug\"\n      socialProviders={[\"google\", \"apple\"]}\n      socialProviderConfig={{\n        google: { clientId: \"your-google-client-id\" },\n      }}\n      features={{ send: true, swap: true, buy: true, receive: true }}\n      onLogin={(user) => console.log(user.walletAddress)}\n    />\n  );\n}\n```\n\n## Components\n\n### `<OneclawEmbeddedWallet />`\n\nFull embedded wallet with social login, email OTP login, Send/Swap/Receive/Buy views. Internally wraps itself in `<OneclawWalletProvider>`.\n\n**v0.5.1:** Passkey registration nudge on Send/Swap when HFA requires `passkey_only` or `passkey_required` and the user has no registered passkeys — inline **Register passkey** CTA instead of failing at submit time.\n\n**v0.55 note:** Graduated HITL and extended transaction guardrails (`tx_approval_policy`, org freeze, etc.) are configured on **agents** via the Vault API / dashboard — not on embedded wallet send/swap flows.\n\n| Prop | Type | Required | Description |\n|------|------|----------|-------------|\n| `appId` | `string` | Yes | Platform app slug |\n| `baseUrl` | `string` | No | API base URL (default: `https://api.1claw.co`) |\n| `theme` | `\"light\" \\| \"dark\" \\| \"auto\"` | No | Color theme |\n| `brandColor` | `string` | No | Primary brand color hex |\n| `chains` | `string[]` | No | Chains to provision wallets for |\n| `features` | `{ send?, swap?, buy?, receive? }` | No | Toggle features |\n| `socialProviders` | `(\"google\" \\| \"apple\" \\| \"discord\")[]` | No | Enabled social login providers |\n| `socialProviderConfig` | `SocialProviderConfig` | No | OAuth client IDs per provider |\n| `persistSession` | `\"session\" \\| \"local\" \\| false` | No | Token persistence strategy (default: `\"session\"`) |\n| `onLogin` | `(user) => void` | No | Login success callback |\n| `onLogout` | `() => void` | No | Logout callback |\n| `onTransactionSent` | `(result) => void` | No | Send success callback |\n| `onSwapCompleted` | `(result) => void` | No | Swap success callback |\n| `onError` | `(error: Error) => void` | No | Error callback |\n\n### `<OneclawTreasuryWidget />`\n\nRead-only balance widget. Displays wallet balances for each chain, fetched on mount.\n\n| Prop | Type | Required | Description |\n|------|------|----------|-------------|\n| `apiKey` | `string` | Yes | Platform API key (`plt_...`) or session token |\n| `baseUrl` | `string` | No | API base URL (default: `https://api.1claw.co`) |\n| `theme` | `\"light\" \\| \"dark\" \\| \"auto\"` | No | Color theme |\n| `onError` | `(error: Error) => void` | No | Error callback |\n| `className` | `string` | No | CSS class for outer container |\n\n> **Note:** `onTransactionSent` and `onSwapCompleted` props are accepted but not currently wired to any UI within TreasuryWidget. Use `<OneclawEmbeddedWallet>` for full send/swap functionality.\n\n### `<OneclawWalletProvider />`\n\nLower-level provider for building custom UI:\n\n```tsx\nimport { OneclawWalletProvider, useOneclawWallet } from \"@1claw/wallet-react\";\n\nfunction CustomWalletUI() {\n  const { wallets, balances, send, swap, refreshBalance, loginWithEmailOtp, logout } = useOneclawWallet();\n  // Build your own UI...\n}\n\nfunction App() {\n  return (\n    <OneclawWalletProvider apiKey=\"plt_...\" appId=\"your-slug\" persistSession=\"session\">\n      <CustomWalletUI />\n    </OneclawWalletProvider>\n  );\n}\n```\n\n### `<SignInWith1Claw />`\n\nDrop-in \"Sign in with 1Claw\" OAuth button:\n\n```tsx\nimport { SignInWith1Claw, handleSignInCallback } from \"@1claw/wallet-react/oauth\";\n\nfunction LoginPage() {\n  return (\n    <SignInWith1Claw\n      clientId=\"your-app-slug\"\n      redirectUri=\"https://yourapp.com/auth/callback\"\n      authorizeBaseUrl=\"https://1claw.co\"\n      apiBaseUrl=\"https://api.1claw.co\"\n    />\n  );\n}\n\n// On your callback page:\nconst tokens = await handleSignInCallback({\n  code: urlParams.get(\"code\")!,\n  state: urlParams.get(\"state\")!,\n  clientId: \"your-app-slug\",\n  redirectUri: \"https://yourapp.com/auth/callback\",\n  apiBaseUrl: \"https://api.1claw.co\",\n});\n```\n\n## Hooks\n\n### `useOneclawWallet()`\n\nReturns:\n\n| Field | Type | Description |\n|-------|------|-------------|\n| `wallets` | `WalletInfo[]` | Active wallets |\n| `balances` | `Record<string, WalletBalance>` | Cached balances by chain |\n| `loading` | `boolean` | Initial load state |\n| `error` | `Error \\| null` | Last error |\n| `client` | `OneclawWalletClient` | Underlying API client |\n| `refreshWallets()` | `() => Promise<void>` | Refetch wallet list |\n| `refreshBalance(chain)` | `(chain: string) => Promise<WalletBalance \\| null>` | Fetch balance |\n| `generateWallets(chains?)` | `(chains?: string[]) => Promise<WalletInfo[]>` | Generate new wallets |\n| `send(params)` | `(params) => Promise<SendTransactionResult>` | Send a transaction |\n| `swap(params)` | `(params) => Promise<SwapResult>` | Swap tokens via DEX aggregator |\n| `loginWithEmailOtp(email, code, chains?)` | `(...) => Promise<SocialLoginResult>` | Verify OTP and authenticate |\n| `loginWithSocial(provider, idToken, chains?, redirectUri?)` | `(...) => Promise<SocialLoginResult>` | Social login |\n| `logout()` | `() => void` | Clear token and reset state |\n\n## Theming\n\nThe widget uses CSS custom properties scoped to `.ocw-embedded-wallet`. You can customize the theme via:\n\n1. **Props** — `theme` and `brandColor` on the component\n2. **`ThemeConfig`** — Pass a full config to `buildRootStyle()` for per-instance scoping:\n\n```ts\nimport { buildRootStyle } from \"@1claw/wallet-react\";\n\nconst style = buildRootStyle(\"dark\", {\n  brandColor: \"#8b5cf6\",\n  borderRadius: \"16px\",\n  fontFamily: \"Inter, sans-serif\",\n  cssVars: { \"--ocw-bg\": \"#1a1a2e\" },\n});\n```\n\n## Next.js App Router\n\nThis library does not include `\"use client\"` directives. If you're using Next.js App Router, wrap the component in your own client boundary:\n\n```tsx\n\"use client\";\nimport { OneclawEmbeddedWallet } from \"@1claw/wallet-react\";\nexport default function WalletPage() {\n  return <OneclawEmbeddedWallet appId=\"...\" />;\n}\n```\n\n## Passkey enrollment (passwordless / HFA)\n\nSocial and email-OTP users often have no password. When your platform spend policy sets `passkey_only` for send/swap, users must register a passkey before transacting.\n\n**v0.5.1:** If HFA requires passkey and `registered_passkeys === 0`, Send and Swap views show an inline **Register passkey** button before submit (no silent failure at tx time).\n\n```tsx\nconst { registerPasskey, getEffectiveAuthPolicy, send } = useOneclawWallet();\n\nconst auth = await getEffectiveAuthPolicy();\nif (auth.registered_passkeys === 0 && auth.policy.send === \"passkey_only\") {\n  await registerPasskey(\"My device\");\n}\n\n// send() auto-routes to passkey tx-assert when policy requires it\nawait send({ chain: \"ethereum\", to: \"0x...\", valueWei: \"1000000000000000\" });\n```\n\nBackend endpoints: `POST /v1/auth/passkeys/register/begin|complete`, `GET /v1/treasury/wallets/auth-policy`.\n\n## Security\n\n- The `apiKey` is a Platform API key, not a user key — it inherits platform custody guarantees.\n- Sends require password re-authentication or a passkey token.\n- The widget never stores or caches private keys client-side.\n- Session tokens are stored in `sessionStorage` by default (configurable via `persistSession`).\n\n## Subpath Exports\n\n```ts\nimport { OneclawWalletClient } from \"@1claw/wallet-react/client\";\nimport { SignInWith1Claw } from \"@1claw/wallet-react/oauth\";\n```\n","readmeFilename":"README.md"}