{"_id":"portkey-client","_rev":"17-baba83e65a81beeae8446cf0e61fb8d5","name":"portkey-client","dist-tags":{"latest":"1.0.17"},"versions":{"1.0.0":{"name":"portkey-client","version":"1.0.0","keywords":["react","iframe","background","provider","context"],"author":{"name":"Your Name"},"license":"MIT","_id":"portkey-client@1.0.0","maintainers":[{"name":"boole-digital","email":"bdl-admin-tech@boole.digital"}],"homepage":"https://github.com/Boole-Digital/portkey#readme","bugs":{"url":"https://github.com/Boole-Digital/portkey/issues"},"dist":{"shasum":"d1a4fcf778969bbd2fc6b1c0c669bc7b27005479","tarball":"https://registry.npmjs.org/portkey-client/-/portkey-client-1.0.0.tgz","fileCount":16,"integrity":"sha512-285FPILTxpXSSSil/N1bYzWitQaL0uFjPiYqaHOh5tiFfWBdYl4CU4xNVEgl/HFKpqtWUUrS1XRDSB4D7ZZ5mg==","signatures":[{"sig":"MEUCIDL4WYSxOZYFx9hwiSnOj7SwaOK9GtcVSmfSKFakkeMiAiEAr7dyr2Qx0gfpBzZAJZlaYS7+NDpW1leC15yFAKW0a6s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":51553},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"9c49b9512efce2dc5532ff1d2ac2de77ed2e148a","scripts":{"build":"node build.mjs","prepare":"npm run build","type-check":"tsc --noEmit","start-vault":"serve public -l 3002"},"_npmUser":{"name":"boole-digital","actor":{"name":"boole-digital","type":"user","email":"bdl-admin-tech@boole.digital"},"email":"bdl-admin-tech@boole.digital"},"repository":{"url":"git+https://github.com/Boole-Digital/portkey.git","type":"git"},"_npmVersion":"9.6.7","description":"React provider to embed a persistent iframe as a background layer.","directories":{},"_nodeVersion":"18.17.0","dependencies":{"bs58":"^6.0.0","esbuild":"^0.25.5","@solana/web3.js":"^1.98.2","react-router-dom":"^7.6.2"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.0.0","serve":"^14.2.4","react-dom":"^18.0.0","typescript":"^5.0.0","@types/react":"^19.1.8","@types/react-dom":"^19.1.6"},"peerDependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/portkey-client_1.0.0_1750753779548_0.1975867649226819","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"portkey-client","version":"1.0.1","keywords":["react","iframe","background","provider","context"],"author":{"name":"Your Name"},"license":"MIT","_id":"portkey-client@1.0.1","maintainers":[{"name":"boole-digital","email":"bdl-admin-tech@boole.digital"}],"homepage":"https://github.com/Boole-Digital/portkey#readme","bugs":{"url":"https://github.com/Boole-Digital/portkey/issues"},"dist":{"shasum":"f7b3352dbe8cc81d38cb8cf7e15b266db56325e0","tarball":"https://registry.npmjs.org/portkey-client/-/portkey-client-1.0.1.tgz","fileCount":16,"integrity":"sha512-j6O86j+jzZjCJu0LD55pxSvjhVNHDWzM/Y3gpr7LvWlpbGLX9fJNIYQulxDsq47acRXJLtRcKIXTFNwzJ33G7A==","signatures":[{"sig":"MEYCIQCASvdDVKn1AF5WI9fT+qrg8RSyaJbTwLyASxSaWUM58QIhAIEZK47aC1RmxKYI0XgVUHgqZQuLFIhqfeYVOkYmy1Dr","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":51525},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"9c49b9512efce2dc5532ff1d2ac2de77ed2e148a","scripts":{"build":"node build.mjs","prepare":"npm run build","type-check":"tsc --noEmit","start-vault":"serve public -l 3002"},"_npmUser":{"name":"boole-digital","actor":{"name":"boole-digital","type":"user","email":"bdl-admin-tech@boole.digital"},"email":"bdl-admin-tech@boole.digital"},"repository":{"url":"git+https://github.com/Boole-Digital/portkey.git","type":"git"},"_npmVersion":"9.6.7","description":"React provider to embed a persistent iframe as a background layer.","directories":{},"_nodeVersion":"18.17.0","_hasShrinkwrap":false,"devDependencies":{"bs58":"^6.0.0","react":"^18.0.0","serve":"^14.2.4","esbuild":"^0.25.5","react-dom":"^18.0.0","typescript":"^5.0.0","@types/react":"^19.1.8","@solana/web3.js":"^1.98.2","@types/react-dom":"^19.1.6","react-router-dom":"^7.6.2"},"peerDependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/portkey-client_1.0.1_1750753935895_0.04700276718362573","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"portkey-client","version":"1.0.2","keywords":["react","iframe","background","provider","context"],"author":{"name":"Your Name"},"license":"MIT","_id":"portkey-client@1.0.2","maintainers":[{"name":"boole-digital","email":"bdl-admin-tech@boole.digital"}],"homepage":"https://github.com/Boole-Digital/portkey#readme","bugs":{"url":"https://github.com/Boole-Digital/portkey/issues"},"dist":{"shasum":"718bb533ea6c3b2415d75f78f89e04c005c246c1","tarball":"https://registry.npmjs.org/portkey-client/-/portkey-client-1.0.2.tgz","fileCount":16,"integrity":"sha512-eJBtsQ8sQIgpbFyt/eC4W60npcfBlmRw15SDMdtCJ287XCKLDR9dKB8b3y/GZlyT/DhjhkHy08geLamYsYEdzw==","signatures":[{"sig":"MEUCIQCnPIQFtNy6z77ZHInxuAMR2OfhzPHlIqIUi9G89JTz4wIge77+cqP1Nx4KInfbaubB3XC2icGEq2eEXmEmkjvZldE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":51525},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"9c49b9512efce2dc5532ff1d2ac2de77ed2e148a","scripts":{"build":"node build.mjs","prepare":"npm run build","type-check":"tsc --noEmit","start-vault":"serve public -l 3002"},"_npmUser":{"name":"boole-digital","actor":{"name":"boole-digital","type":"user","email":"bdl-admin-tech@boole.digital"},"email":"bdl-admin-tech@boole.digital"},"repository":{"url":"git+https://github.com/Boole-Digital/portkey.git","type":"git"},"_npmVersion":"9.6.7","description":"React provider to embed a persistent iframe as a background layer.","directories":{},"_nodeVersion":"18.17.0","_hasShrinkwrap":false,"devDependencies":{"bs58":"^6.0.0","react":"^18.0.0","serve":"^14.2.4","esbuild":"^0.25.5","react-dom":"^18.0.0","typescript":"^5.0.0","@types/react":"^19.1.8","@solana/web3.js":"^1.98.2","@types/react-dom":"^19.1.6","react-router-dom":"^7.6.2"},"peerDependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/portkey-client_1.0.2_1750754078387_0.1787402189629952","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"portkey-client","version":"1.0.3","keywords":["PRF","passkey","web3","wallet","EVM","Solana"],"author":{"name":"Lachlan G"},"license":"MIT","_id":"portkey-client@1.0.3","maintainers":[{"name":"boole-digital","email":"bdl-admin-tech@boole.digital"}],"homepage":"https://github.com/Boole-Digital/portkey#readme","bugs":{"url":"https://github.com/Boole-Digital/portkey/issues"},"dist":{"shasum":"74600ad9a647069a8f27aab25f9507acd9950360","tarball":"https://registry.npmjs.org/portkey-client/-/portkey-client-1.0.3.tgz","fileCount":12,"integrity":"sha512-Bp24dv3/sI6/FhLKxXehdDLX0Ans+rJjVNPNdl5EN4CJn/Jnpkh5BCXFJgiZt9dO7jYqX5oHhNe/SM724rsiPw==","signatures":[{"sig":"MEUCICN0jfGBbD8tlR6GsRf+gDRDQl1nSKqdOkxKnJ76ItCqAiEAgv/qyHc7CNFRkStqqQF3RzcmGBGgrHwl1dCR1dbGpgI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42591},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"02c9c92475e8a4a745d6ff5f5e115a4e0bc5cf43","scripts":{"build":"node build.mjs","prepare":"npm run build","type-check":"tsc --noEmit","start-vault":"serve public -l 3002"},"_npmUser":{"name":"boole-digital","actor":{"name":"boole-digital","type":"user","email":"bdl-admin-tech@boole.digital"},"email":"bdl-admin-tech@boole.digital"},"repository":{"url":"git+https://github.com/Boole-Digital/portkey.git","type":"git"},"_npmVersion":"9.6.7","description":"React provider to embed a persistent iframe as a background layer.","directories":{},"_nodeVersion":"18.17.0","_hasShrinkwrap":false,"devDependencies":{"bs58":"^6.0.0","react":"^18.0.0","serve":"^14.2.4","esbuild":"^0.25.5","react-dom":"^18.0.0","typescript":"^5.0.0","@types/react":"^19.1.8","@solana/web3.js":"^1.98.2","@types/react-dom":"^19.1.6","react-router-dom":"^7.6.2"},"peerDependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/portkey-client_1.0.3_1751026664518_0.09857612294252238","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"portkey-client","version":"1.0.4","keywords":["PRF","passkey","web3","wallet","EVM","Solana"],"author":{"name":"Lachlan G"},"license":"MIT","_id":"portkey-client@1.0.4","maintainers":[{"name":"boole-digital","email":"bdl-admin-tech@boole.digital"}],"homepage":"https://github.com/Boole-Digital/portkey#readme","bugs":{"url":"https://github.com/Boole-Digital/portkey/issues"},"dist":{"shasum":"d79db3118f334b318f559a6e8d055eff1f0d766c","tarball":"https://registry.npmjs.org/portkey-client/-/portkey-client-1.0.4.tgz","fileCount":12,"integrity":"sha512-UFmxzQmXE2c2TGBRf8bB7qIx6Cso0kr5yQaBZvC3XQVdrNq43mVIDJ6Kzl8HkX/B/+bkvI38xMASnPzeRxr0jQ==","signatures":[{"sig":"MEUCIHtxsKidq1XQO+z1jCmJaqGKiBEOB47cn3m+lqGp7F4mAiEA6vDIBzxPMDcH7yfic7S2VhOXcaD3CHjql9OTWN6xbSc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42661},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"8e61255de7dc1a02b544c4b33a68051c7d492993","scripts":{"build":"node build.mjs","prepare":"npm run build","type-check":"tsc --noEmit","start-vault":"serve public -l 3002"},"_npmUser":{"name":"boole-digital","email":"bdl-admin-tech@boole.digital"},"repository":{"url":"git+https://github.com/Boole-Digital/portkey.git","type":"git"},"_npmVersion":"9.6.7","description":"React provider to embed a persistent iframe as a background layer.","directories":{},"_nodeVersion":"18.17.0","_hasShrinkwrap":false,"devDependencies":{"bs58":"^6.0.0","react":"^18.0.0","serve":"^14.2.4","esbuild":"^0.25.5","react-dom":"^18.0.0","typescript":"^5.0.0","@types/react":"^19.1.8","@solana/web3.js":"^1.98.2","@types/react-dom":"^19.1.6","react-router-dom":"^7.6.2"},"peerDependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/portkey-client_1.0.4_1752479760432_0.12301357406877589","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"portkey-client","version":"1.0.5","keywords":["PRF","passkey","web3","wallet","EVM","Solana"],"author":{"name":"Lachlan G"},"license":"MIT","_id":"portkey-client@1.0.5","maintainers":[{"name":"boole-digital","email":"bdl-admin-tech@boole.digital"}],"homepage":"https://github.com/Boole-Digital/portkey#readme","bugs":{"url":"https://github.com/Boole-Digital/portkey/issues"},"dist":{"shasum":"65a2bce57251c5876bd87cc6d8648ed0b395c523","tarball":"https://registry.npmjs.org/portkey-client/-/portkey-client-1.0.5.tgz","fileCount":12,"integrity":"sha512-c2GgPsUcq//4XQEq6xfRKhap9+uV4Itt19+BebVLhy6ji96pnR4j9vZriqs6bC9MksY1psq6b7JiNJ/1Jy4l2g==","signatures":[{"sig":"MEYCIQD85Olg4k1+7WSA0frhBFaqLr515rFhd/Sp1yCB4/qJrgIhAN9oD+LGndDlc4UNI2F+0GOyqCw0OSN7if0Teao7HhAS","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":43257},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"4077f70f97161c0bac299ea35e6da2fb2bbc4fcb","scripts":{"build":"node build.mjs","prepare":"npm run build","publish":"npm publish --access public","type-check":"tsc --noEmit","start-vault":"serve public -l 3002"},"_npmUser":{"name":"boole-digital","email":"bdl-admin-tech@boole.digital"},"repository":{"url":"git+https://github.com/Boole-Digital/portkey.git","type":"git"},"_npmVersion":"9.6.7","description":"React provider to embed a persistent iframe as a background layer.","directories":{},"_nodeVersion":"18.17.0","_hasShrinkwrap":false,"devDependencies":{"bs58":"^6.0.0","react":"^18.0.0","serve":"^14.2.4","esbuild":"^0.25.5","react-dom":"^18.0.0","typescript":"^5.0.0","@types/react":"^19.1.8","@solana/web3.js":"^1.98.2","@types/react-dom":"^19.1.6","react-router-dom":"^7.6.2"},"peerDependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/portkey-client_1.0.5_1752638078126_0.1071986760770769","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"portkey-client","version":"1.0.6","keywords":["PRF","passkey","web3","wallet","EVM","Solana"],"author":{"name":"Lachlan G"},"license":"MIT","_id":"portkey-client@1.0.6","maintainers":[{"name":"boole-digital","email":"bdl-admin-tech@boole.digital"}],"homepage":"https://github.com/Boole-Digital/portkey#readme","bugs":{"url":"https://github.com/Boole-Digital/portkey/issues"},"dist":{"shasum":"8b613278539ec12084a02e6325e49e70a3891797","tarball":"https://registry.npmjs.org/portkey-client/-/portkey-client-1.0.6.tgz","fileCount":12,"integrity":"sha512-ZLdlSGvi12IV8qgss83Z7w2qi0UZeamur3XEY1igoMmaxeacFlCKn6V6VmO1w1okim5dlqje0ItrrVgpLGz4Eg==","signatures":[{"sig":"MEUCIQD+r0TGr9rHsGpI5bkAjyhUutfI6CWIHI7lWg4MbUhgRwIgBMmtcSWKjhTPjOIvy/yghKtmQrxbrVPCMYbWzUpc3A4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":43748},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"4077f70f97161c0bac299ea35e6da2fb2bbc4fcb","scripts":{"build":"node build.mjs","prepare":"npm run build","publish":"npm publish --access public","type-check":"tsc --noEmit","start-vault":"serve public -l 3002"},"_npmUser":{"name":"boole-digital","email":"bdl-admin-tech@boole.digital"},"repository":{"url":"git+https://github.com/Boole-Digital/portkey.git","type":"git"},"_npmVersion":"9.6.7","description":"React provider to embed a persistent iframe as a background layer.","directories":{},"_nodeVersion":"18.17.0","_hasShrinkwrap":false,"devDependencies":{"bs58":"^6.0.0","react":"^18.0.0","serve":"^14.2.4","esbuild":"^0.25.5","react-dom":"^18.0.0","typescript":"^5.0.0","@types/react":"^19.1.8","@solana/web3.js":"^1.98.2","@types/react-dom":"^19.1.6","react-router-dom":"^7.6.2"},"peerDependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/portkey-client_1.0.6_1752681596618_0.5085243433541646","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"portkey-client","version":"1.0.7","keywords":["PRF","passkey","web3","wallet","EVM","Solana"],"author":{"name":"Lachlan G"},"license":"MIT","_id":"portkey-client@1.0.7","maintainers":[{"name":"boole-digital","email":"bdl-admin-tech@boole.digital"}],"homepage":"https://github.com/Boole-Digital/portkey#readme","bugs":{"url":"https://github.com/Boole-Digital/portkey/issues"},"dist":{"shasum":"385393f1e0e90b0f2b35c6dc05d4d9d483be0548","tarball":"https://registry.npmjs.org/portkey-client/-/portkey-client-1.0.7.tgz","fileCount":12,"integrity":"sha512-RWuzvTmiA0Q/55J3evGtOp8TreWMt+LTssIlY07f8g4rMx1usc8Fe66FqIBJwrgkZTc5iVDhn0CKVfHVeobKxg==","signatures":[{"sig":"MEUCIEORHjpxFq4bF4AZyzc6DJwTGkpK9jHiEF1VtpVjwRYzAiEA1Iu/InWXo/W91r/PIilpUgfiu2fW9u92X5TT8TZq4+s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":43748},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"4077f70f97161c0bac299ea35e6da2fb2bbc4fcb","scripts":{"build":"node build.mjs","prepare":"npm run build","publish":"npm publish --access public","type-check":"tsc --noEmit","start-vault":"serve public -l 3002"},"_npmUser":{"name":"boole-digital","email":"bdl-admin-tech@boole.digital"},"repository":{"url":"git+https://github.com/Boole-Digital/portkey.git","type":"git"},"_npmVersion":"9.6.7","description":"React provider to embed a persistent iframe as a background layer.","directories":{},"_nodeVersion":"18.17.0","_hasShrinkwrap":false,"devDependencies":{"bs58":"^6.0.0","react":"^18.0.0","serve":"^14.2.4","esbuild":"^0.25.5","react-dom":"^18.0.0","typescript":"^5.0.0","@types/react":"^19.1.8","@solana/web3.js":"^1.98.2","@types/react-dom":"^19.1.6","react-router-dom":"^7.6.2"},"peerDependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/portkey-client_1.0.7_1752681619472_0.015433669043868559","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"portkey-client","version":"1.0.8","keywords":["PRF","passkey","web3","wallet","EVM","Solana"],"author":{"name":"Lachlan G"},"license":"MIT","_id":"portkey-client@1.0.8","maintainers":[{"name":"boole-digital","email":"bdl-admin-tech@boole.digital"}],"homepage":"https://github.com/Boole-Digital/portkey#readme","bugs":{"url":"https://github.com/Boole-Digital/portkey/issues"},"dist":{"shasum":"b4275f99d92e46ba56772889ea1f7c3a3096b980","tarball":"https://registry.npmjs.org/portkey-client/-/portkey-client-1.0.8.tgz","fileCount":12,"integrity":"sha512-hKkM7hx8nDe/ECv89f95SGdHUbIX1qWA09gK1CrPeJDlGf5hnmHYyuPRptjkx66mJ7b2M45ADc4SBsgbInwFGA==","signatures":[{"sig":"MEUCIEhGX1z/wQrTJKyjbcPIKFSWUk+aXnHgZ2s2+noD6VwJAiEAzavj0dKwAtwlxsaidjq1kqpe6UkKARxG192K07c3pcg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":43748},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"4077f70f97161c0bac299ea35e6da2fb2bbc4fcb","scripts":{"build":"node build.mjs","prepare":"npm run build","publish":"npm publish --access public","type-check":"tsc --noEmit","start-vault":"serve public -l 3002"},"_npmUser":{"name":"boole-digital","email":"bdl-admin-tech@boole.digital"},"repository":{"url":"git+https://github.com/Boole-Digital/portkey.git","type":"git"},"_npmVersion":"9.6.7","description":"React provider to embed a persistent iframe as a background layer.","directories":{},"_nodeVersion":"18.17.0","_hasShrinkwrap":false,"devDependencies":{"bs58":"^6.0.0","react":"^18.0.0","serve":"^14.2.4","esbuild":"^0.25.5","react-dom":"^18.0.0","typescript":"^5.0.0","@types/react":"^19.1.8","@solana/web3.js":"^1.98.2","@types/react-dom":"^19.1.6","react-router-dom":"^7.6.2"},"peerDependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/portkey-client_1.0.8_1752681715454_0.31946814485703046","host":"s3://npm-registry-packages-npm-production"}},"1.0.10":{"name":"portkey-client","version":"1.0.10","keywords":["PRF","passkey","web3","wallet","EVM","Solana"],"author":{"name":"Lachlan G"},"license":"MIT","_id":"portkey-client@1.0.10","maintainers":[{"name":"boole-digital","email":"bdl-admin-tech@boole.digital"}],"homepage":"https://github.com/Boole-Digital/portkey#readme","bugs":{"url":"https://github.com/Boole-Digital/portkey/issues"},"dist":{"shasum":"2cf9a10707c805c3ca1cce5e342e1e881fd17668","tarball":"https://registry.npmjs.org/portkey-client/-/portkey-client-1.0.10.tgz","fileCount":12,"integrity":"sha512-VuOOroRDW2gqwPiFx1UXFscIX2f3bOAzNy/x+I1OABoG9EXAtbbU6VG3FOAb22a1GfWPiEXzCe+ScV4zfJdpjg==","signatures":[{"sig":"MEYCIQDsREdxD6OebvZuAFKm7tfPlDjVFRzQ42PKmnfkfK2wVgIhAMN+3KspN85xzncGhvpG+A/cQfjhal7ghPkHJxKjgKkU","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":43795},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"4077f70f97161c0bac299ea35e6da2fb2bbc4fcb","scripts":{"build":"node build.mjs","prepare":"npm run build","publish":"npm publish --access public","type-check":"tsc --noEmit","start-vault":"serve public -l 3002"},"_npmUser":{"name":"boole-digital","email":"bdl-admin-tech@boole.digital"},"repository":{"url":"git+https://github.com/Boole-Digital/portkey.git","type":"git"},"_npmVersion":"9.6.7","description":"React provider to embed a persistent iframe as a background layer.","directories":{},"_nodeVersion":"18.17.0","_hasShrinkwrap":false,"devDependencies":{"bs58":"^6.0.0","react":"^18.0.0","serve":"^14.2.4","esbuild":"^0.25.5","react-dom":"^18.0.0","typescript":"^5.0.0","@types/react":"^19.1.8","@solana/web3.js":"^1.98.2","@types/react-dom":"^19.1.6","react-router-dom":"^7.6.2"},"peerDependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/portkey-client_1.0.10_1752683728470_0.8847709554059326","host":"s3://npm-registry-packages-npm-production"}},"1.0.11":{"name":"portkey-client","version":"1.0.11","keywords":["PRF","passkey","web3","wallet","EVM","Solana"],"author":{"name":"Lachlan G"},"license":"MIT","_id":"portkey-client@1.0.11","maintainers":[{"name":"boole-digital","email":"bdl-admin-tech@boole.digital"}],"homepage":"https://github.com/Boole-Digital/portkey#readme","bugs":{"url":"https://github.com/Boole-Digital/portkey/issues"},"dist":{"shasum":"a554adc08b0d1e1b4df6f5877037979b64faf0db","tarball":"https://registry.npmjs.org/portkey-client/-/portkey-client-1.0.11.tgz","fileCount":12,"integrity":"sha512-tSqeCUQB4JMF1UXJXS9O9HWLlwhi8r9Gugavhvt0Sz2GS5L8aqmQRXsIhcBgWO0M26w2+/DxueCqvhwdS8sKMw==","signatures":[{"sig":"MEYCIQCGefYbUwpdJhu4MR/4JOUzj0UZt4ADSSd99omj3tc8mAIhAOZiyxvKB/KLEfTf98TkaMA4VkqoeYwsbezqqa2j5xAu","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":43795},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"4077f70f97161c0bac299ea35e6da2fb2bbc4fcb","scripts":{"build":"node build.mjs","prepare":"npm run build","publish":"npm publish --access public","type-check":"tsc --noEmit","start-vault":"serve public -l 3002"},"_npmUser":{"name":"boole-digital","email":"bdl-admin-tech@boole.digital"},"repository":{"url":"git+https://github.com/Boole-Digital/portkey.git","type":"git"},"_npmVersion":"9.6.7","description":"React provider to embed a persistent iframe as a background layer.","directories":{},"_nodeVersion":"18.17.0","_hasShrinkwrap":false,"devDependencies":{"bs58":"^6.0.0","react":"^18.0.0","serve":"^14.2.4","esbuild":"^0.25.5","react-dom":"^18.0.0","typescript":"^5.0.0","@types/react":"^19.1.8","@solana/web3.js":"^1.98.2","@types/react-dom":"^19.1.6","react-router-dom":"^7.6.2"},"peerDependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/portkey-client_1.0.11_1752799084337_0.24323445075471106","host":"s3://npm-registry-packages-npm-production"}},"1.0.12":{"name":"portkey-client","version":"1.0.12","keywords":["PRF","passkey","web3","wallet","EVM","Solana"],"author":{"name":"Lachlan G"},"license":"MIT","_id":"portkey-client@1.0.12","maintainers":[{"name":"boole-digital","email":"bdl-admin-tech@boole.digital"}],"homepage":"https://github.com/Boole-Digital/portkey#readme","bugs":{"url":"https://github.com/Boole-Digital/portkey/issues"},"dist":{"shasum":"70016604d562a0c3a7c99e9c5e187d13b7cd5e19","tarball":"https://registry.npmjs.org/portkey-client/-/portkey-client-1.0.12.tgz","fileCount":12,"integrity":"sha512-bsfvKKeTNUKO11s4HjlinFH0US5MnYmP8qLfepTTVNYUc9Z4ti27t2em5x8Jze4rREHi0xuxWkr739IBD1fXgw==","signatures":[{"sig":"MEUCIQC3In6Rs5NgZJeiYku75BMDTxTyTdk+PwKYUMk/t1T+LwIgJHS6LEj7tW/SLg1ycRc98aMCkeSsHlUfez9CjsCuhnE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":43795},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"4077f70f97161c0bac299ea35e6da2fb2bbc4fcb","scripts":{"build":"node build.mjs","prepare":"npm run build","publish":"npm publish --access public","type-check":"tsc --noEmit","start-vault":"serve public -l 3002"},"_npmUser":{"name":"boole-digital","email":"bdl-admin-tech@boole.digital"},"repository":{"url":"git+https://github.com/Boole-Digital/portkey.git","type":"git"},"_npmVersion":"9.6.7","description":"React provider to embed a persistent iframe as a background layer.","directories":{},"_nodeVersion":"18.17.0","_hasShrinkwrap":false,"devDependencies":{"bs58":"^6.0.0","react":"^18.0.0","serve":"^14.2.4","esbuild":"^0.25.5","react-dom":"^18.0.0","typescript":"^5.0.0","@types/react":"^19.1.8","@solana/web3.js":"^1.98.2","@types/react-dom":"^19.1.6","react-router-dom":"^7.6.2"},"peerDependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/portkey-client_1.0.12_1752799863305_0.9487473866446494","host":"s3://npm-registry-packages-npm-production"}},"1.0.13":{"name":"portkey-client","version":"1.0.13","keywords":["PRF","passkey","web3","wallet","EVM","Solana"],"author":{"name":"Lachlan G"},"license":"MIT","_id":"portkey-client@1.0.13","maintainers":[{"name":"boole-digital","email":"bdl-admin-tech@boole.digital"}],"homepage":"https://github.com/Boole-Digital/portkey#readme","bugs":{"url":"https://github.com/Boole-Digital/portkey/issues"},"dist":{"shasum":"1b79827e0c19efe88d616e67c3670e933f5dd728","tarball":"https://registry.npmjs.org/portkey-client/-/portkey-client-1.0.13.tgz","fileCount":12,"integrity":"sha512-9hNQgCsXU3ArQ162aOycbTl+7yxOHHPkQ21gVSZ2/7WSKc4EdA8C+yRT0ZXRG80lDwY96JSBn1/MKX9v9Km+8g==","signatures":[{"sig":"MEUCIBDNz6QBIoC7Wd+if3Y25xY7tNF/kOnuWvuuJzejr/roAiEAspey6GBH2TVjXAehUwE1G0iWJH/dvDd+mx0mg9Ba8lU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":43795},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"4077f70f97161c0bac299ea35e6da2fb2bbc4fcb","scripts":{"build":"node build.mjs","prepare":"npm run build","publish":"npm publish --access public","type-check":"tsc --noEmit","start-vault":"serve public -l 3002"},"_npmUser":{"name":"boole-digital","email":"bdl-admin-tech@boole.digital"},"repository":{"url":"git+https://github.com/Boole-Digital/portkey.git","type":"git"},"_npmVersion":"9.6.7","description":"React provider to embed a persistent iframe as a background layer.","directories":{},"_nodeVersion":"18.17.0","_hasShrinkwrap":false,"devDependencies":{"bs58":"^6.0.0","react":"^18.0.0","serve":"^14.2.4","esbuild":"^0.25.5","react-dom":"^18.0.0","typescript":"^5.0.0","@types/react":"^19.1.8","@solana/web3.js":"^1.98.2","@types/react-dom":"^19.1.6","react-router-dom":"^7.6.2"},"peerDependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/portkey-client_1.0.13_1752800951379_0.7602225582581479","host":"s3://npm-registry-packages-npm-production"}},"1.0.14":{"name":"portkey-client","version":"1.0.14","keywords":["PRF","passkey","web3","wallet","EVM","Solana"],"author":{"name":"Lachlan G"},"license":"MIT","_id":"portkey-client@1.0.14","maintainers":[{"name":"boole-digital","email":"bdl-admin-tech@boole.digital"}],"homepage":"https://github.com/Boole-Digital/portkey#readme","bugs":{"url":"https://github.com/Boole-Digital/portkey/issues"},"dist":{"shasum":"535d4696ff9011311a161d1e077e1e59a076296d","tarball":"https://registry.npmjs.org/portkey-client/-/portkey-client-1.0.14.tgz","fileCount":12,"integrity":"sha512-DgfkdmYyq9meiFyo9AsY7DqRzV4im3fzF3rs1akvp2j4RTCor4zk0ZgebQT3Zi7/l8HTbeeszmiMbRctgHzRfQ==","signatures":[{"sig":"MEQCIEFALaqg3Br88cNS/5/XqtJdikVC1bp7JtOLL+do9GANAiBZhzA2F+qnVKz4r8Xhx9pPBE6YIYkrpH4vq35KTkHY+Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":43795},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"4077f70f97161c0bac299ea35e6da2fb2bbc4fcb","scripts":{"build":"node build.mjs","prepare":"npm run build","publish":"npm publish --access public","type-check":"tsc --noEmit","start-vault":"serve public -l 3002"},"_npmUser":{"name":"boole-digital","email":"bdl-admin-tech@boole.digital"},"repository":{"url":"git+https://github.com/Boole-Digital/portkey.git","type":"git"},"_npmVersion":"9.6.7","description":"React provider to embed a persistent iframe as a background layer.","directories":{},"_nodeVersion":"18.17.0","_hasShrinkwrap":false,"devDependencies":{"bs58":"^6.0.0","react":"^18.0.0","serve":"^14.2.4","esbuild":"^0.25.5","react-dom":"^18.0.0","typescript":"^5.0.0","@types/react":"^19.1.8","@solana/web3.js":"^1.98.2","@types/react-dom":"^19.1.6","react-router-dom":"^7.6.2"},"peerDependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/portkey-client_1.0.14_1752801488516_0.41204660059631815","host":"s3://npm-registry-packages-npm-production"}},"1.0.15":{"name":"portkey-client","version":"1.0.15","keywords":["PRF","passkey","web3","wallet","EVM","Solana"],"author":{"name":"Lachlan G"},"license":"MIT","_id":"portkey-client@1.0.15","maintainers":[{"name":"boole-digital","email":"bdl-admin-tech@boole.digital"}],"homepage":"https://github.com/Boole-Digital/portkey#readme","bugs":{"url":"https://github.com/Boole-Digital/portkey/issues"},"dist":{"shasum":"97646e62830028198ad3dbb06a0752ad77a3266d","tarball":"https://registry.npmjs.org/portkey-client/-/portkey-client-1.0.15.tgz","fileCount":12,"integrity":"sha512-AdUMpqt5MLXlN5BKBbRqqU0yyDBDngzply6CNA1q4TYvNk8rx5EqrWbGZ6OENOdAVv5EZNal0KO8uiVQScNO5A==","signatures":[{"sig":"MEQCIHIN6ysf8WsTf9wyQCi8qTJuNClagreueSd4x8oLPSu3AiAHKe9PJp9zGuMNg6o7hksQw1JUMimwf8jtCap2vOCf6g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":43795},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"4077f70f97161c0bac299ea35e6da2fb2bbc4fcb","scripts":{"build":"node build.mjs","prepare":"npm run build","publish":"npm publish --access public","type-check":"tsc --noEmit","start-vault":"serve public -l 3002"},"_npmUser":{"name":"boole-digital","email":"bdl-admin-tech@boole.digital"},"repository":{"url":"git+https://github.com/Boole-Digital/portkey.git","type":"git"},"_npmVersion":"9.6.7","description":"React provider to embed a persistent iframe as a background layer.","directories":{},"_nodeVersion":"18.17.0","_hasShrinkwrap":false,"devDependencies":{"bs58":"^6.0.0","react":"^18.0.0","serve":"^14.2.4","esbuild":"^0.25.5","react-dom":"^18.0.0","typescript":"^5.0.0","@types/react":"^19.1.8","@solana/web3.js":"^1.98.2","@types/react-dom":"^19.1.6","react-router-dom":"^7.6.2"},"peerDependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/portkey-client_1.0.15_1752986170778_0.19484766114377305","host":"s3://npm-registry-packages-npm-production"}},"1.0.16":{"name":"portkey-client","version":"1.0.16","keywords":["PRF","passkey","web3","wallet","EVM","Solana"],"author":{"name":"Lachlan G"},"license":"MIT","_id":"portkey-client@1.0.16","maintainers":[{"name":"boole-digital","email":"bdl-admin-tech@boole.digital"}],"homepage":"https://github.com/Boole-Digital/portkey#readme","bugs":{"url":"https://github.com/Boole-Digital/portkey/issues"},"dist":{"shasum":"4a335b22710b8ac0d6368b7874d3d5a6060e17d6","tarball":"https://registry.npmjs.org/portkey-client/-/portkey-client-1.0.16.tgz","fileCount":12,"integrity":"sha512-6FFmQa0x4lRzDz5f5DcvwKCppMLFRwirY1gNYDx9XsMFkN9O7nXnpPsvP+L2mDB60dveMhPJgLTRyz/6wUH/cg==","signatures":[{"sig":"MEYCIQDmXWA7NkB73KAFVOlyOmiQJJUSKMKqLq5rR/XLCYlvnAIhAJBWLC3RiCGx4IlyA4OKbadGmeMXQqktDpFWMxn2cxwd","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":43795},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"4077f70f97161c0bac299ea35e6da2fb2bbc4fcb","scripts":{"build":"node build.mjs","prepare":"npm run build","publish":"npm publish --access public","type-check":"tsc --noEmit","start-vault":"serve public -l 3002"},"_npmUser":{"name":"boole-digital","email":"bdl-admin-tech@boole.digital"},"repository":{"url":"git+https://github.com/Boole-Digital/portkey.git","type":"git"},"_npmVersion":"9.6.7","description":"React provider to embed a persistent iframe as a background layer.","directories":{},"_nodeVersion":"18.17.0","_hasShrinkwrap":false,"devDependencies":{"bs58":"^6.0.0","react":"^18.0.0","serve":"^14.2.4","esbuild":"^0.25.5","react-dom":"^18.0.0","typescript":"^5.0.0","@types/react":"^19.1.8","@solana/web3.js":"^1.98.2","@types/react-dom":"^19.1.6","react-router-dom":"^7.6.2"},"peerDependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/portkey-client_1.0.16_1752986320517_0.9463599168553738","host":"s3://npm-registry-packages-npm-production"}},"1.0.17":{"name":"portkey-client","version":"1.0.17","description":"React provider to embed a persistent iframe as a background layer.","main":"dist/index.cjs","module":"dist/index.js","types":"dist/index.d.ts","type":"module","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"build":"node build.mjs","type-check":"tsc --noEmit","start-vault":"serve public -l 3002","prepare":"npm run build","publish":"npm publish --access public"},"repository":{"type":"git","url":"git+https://github.com/Boole-Digital/portkey.git"},"keywords":["PRF","passkey","web3","wallet","EVM","Solana"],"author":{"name":"Lachlan G"},"license":"MIT","peerDependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"devDependencies":{"@solana/web3.js":"^1.98.2","@types/react":"^19.1.8","@types/react-dom":"^19.1.6","bs58":"^6.0.0","esbuild":"^0.25.5","react":"^18.0.0","react-dom":"^18.0.0","react-router-dom":"^7.6.2","serve":"^14.2.4","typescript":"^5.0.0"},"gitHead":"4077f70f97161c0bac299ea35e6da2fb2bbc4fcb","bugs":{"url":"https://github.com/Boole-Digital/portkey/issues"},"homepage":"https://github.com/Boole-Digital/portkey#readme","_id":"portkey-client@1.0.17","_nodeVersion":"18.17.0","_npmVersion":"9.6.7","dist":{"integrity":"sha512-UyE+dTP0ojmAScQ35W6I8Hv59v6N9nkDV7m7qrLl264rIkNH3hD9MAVhG0lGwKQiuje060P3PGLs745wdiaD8Q==","shasum":"e7cc09e88e4f1f21bda71aef29856c493dc2051c","tarball":"https://registry.npmjs.org/portkey-client/-/portkey-client-1.0.17.tgz","fileCount":12,"unpackedSize":43795,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCEt7qJL7fcEcDc7MstnU8FI8yZmpp99woiqcqII35LHAIgSeP9pyIMpXgLx1OZ27oF1pB6txr7tz0KSlbfQDF1fw0="}]},"_npmUser":{"name":"boole-digital","email":"bdl-admin-tech@boole.digital"},"directories":{},"maintainers":[{"name":"boole-digital","email":"bdl-admin-tech@boole.digital"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/portkey-client_1.0.17_1752986426385_0.9765287659300685"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-24T08:29:39.474Z","modified":"2025-07-20T04:40:27.080Z","1.0.0":"2025-06-24T08:29:39.724Z","1.0.1":"2025-06-24T08:32:16.063Z","1.0.2":"2025-06-24T08:34:38.615Z","1.0.3":"2025-06-27T12:17:44.702Z","1.0.4":"2025-07-14T07:56:00.594Z","1.0.5":"2025-07-16T03:54:38.331Z","1.0.6":"2025-07-16T15:59:56.794Z","1.0.7":"2025-07-16T16:00:19.677Z","1.0.8":"2025-07-16T16:01:55.653Z","1.0.10":"2025-07-16T16:35:28.630Z","1.0.11":"2025-07-18T00:38:04.530Z","1.0.12":"2025-07-18T00:51:03.484Z","1.0.13":"2025-07-18T01:09:11.546Z","1.0.14":"2025-07-18T01:18:08.709Z","1.0.15":"2025-07-20T04:36:10.965Z","1.0.16":"2025-07-20T04:38:40.712Z","1.0.17":"2025-07-20T04:40:26.589Z"},"bugs":{"url":"https://github.com/Boole-Digital/portkey/issues"},"author":{"name":"Lachlan G"},"license":"MIT","homepage":"https://github.com/Boole-Digital/portkey#readme","keywords":["PRF","passkey","web3","wallet","EVM","Solana"],"repository":{"type":"git","url":"git+https://github.com/Boole-Digital/portkey.git"},"description":"React provider to embed a persistent iframe as a background layer.","maintainers":[{"name":"boole-digital","email":"bdl-admin-tech@boole.digital"}],"readme":"# Passkey PRF embedded crypto wallet 🔑🚪  \n_Create passkey-secured, self-custodial crypto wallets & sign transactions straight from the browser._\n\n[![npm version](https://img.shields.io/npm/v/portkey-client.svg)](https://www.npmjs.com/package/portkey-client)\n[![bundle size](https://img.shields.io/bundlephobia/minzip/portkey-client)](https://bundlephobia.com/result?p=portkey-client)\n[![license](https://img.shields.io/npm/l/portkey-client)](./LICENSE)\n\nPortkey brings the power of **FIDO2 / WebAuthn passkeys** to web3. Portkey uses Passkeys PRF extension to encrypt and decrypt keys for signing.\nThink **Turnkey**, but without a third-party HSM: the private key _never leaves the user’s device_ and is never decryptable by your app, browser extensions, or Portkey itself.\n\n---\n\n## ✨ Highlights\n\n| Feature | Description |\n|---------|-------------|\n| 🔒 **Isolated signing environment** | A cross-origin, CSP-locked iframe (“Vault”) handles all key material & cryptography. |\n| 🪪 **Passkey PRF encryption** | Private keys are encrypted with the WebAuthn **PRF extension**; only the user’s passkey can decrypt. |\n| 🏡 **Self-hosted Vault** | Deploy the Vault on your own sub-domain → no vendor lock-in, phishing-resistant, CSP-hardened. |\n| 🧩 **React-first API** | `<BackgroundIframeProvider />`, ready-made `<PortkeyButton />`, and `usePortkeyWatcher()` hook. |\n| 🌐 **All chains supported** | Ethereum (raw & EIP-712), Solana, Hyperliquid, and easy extensibility. |\n| ⚡️ **Session re-use** | _Optional_ `allowSessionSigning` flag caches the derived AES key in a closure for ~5 min → multiple signatures without additional passkey prompts. |\n| 🕶 **Zero snooping** | Vault lives in a different origin + sandboxed + `document.domain` locked. You can’t read it—even in devtools. |\n\n---\n\n## 🏗 Architecture\n\n```mermaid\nsequenceDiagram\n    participant UI as React App\n    participant PK as Portkey React SDK\n    participant VAULT as Vault Iframe (cross-origin)\n    participant AUTH as Platform Authenticator (passkey)\n\n    UI->>PK: <PortkeyButton command=\"sign\">\n    PK->>VAULT: postMessage({ command: \"sign\" })\n    VAULT--)UI: \"ready\" ✅\n    UI->>AUTH: navigator.credentials.get({ prf })\n    AUTH-->>VAULT: PRF(salt) // shared secret\n    VAULT->>VAULT: AES-GCM decrypt private key\n    VAULT->>VAULT: Sign tx / typed data\n    VAULT->>PK: postMessage({ signedTx })\n    PK-->>UI: resolve onSigned callback\n```\n\nCross-origin isolation prevents the parent from touching `VAULT.document`.\n\nPRF extension = deterministic, credential-scoped HKDF; no user secrets cross domain.\n\nOptional session key (in-memory, AES-encrypted) reduces UX friction.\n\n## ❤️ Acknowledgements\n\n- `ethers.js` & `@solana/web3.js` for crypto\n- Design inspired by Turnkey\n\n> “The best password is no password” → the best wallet is no seed phrase.  \n> Welcome to passkey-powered web3 with **Portkey**.\n\n---\n\n## 🚀 Quick Start\n\n> We have NEXT and Client side demos in **/examples**.\n\n### 1. Install\n\n```bash\nnpm i portkey-client        # or pnpm add / yarn add\n```\n\n### 2. Wrap your app\n\n```tsx\nimport React from \"react\";\nimport { BackgroundIframeProvider } from \"portkey-client\";\n\nexport default function App() {\n  return (\n    <BackgroundIframeProvider initialSrc=\"https://vault.yourapp.xyz\">\n      <YourRoutesAndPages />\n    </BackgroundIframeProvider>\n  );\n}\n```\n\n### 3. Create a wallet (signup)\n\n```tsx\nimport { PortkeyButton } from \"portkey-client\";\n\nexport function Signup() {\n  return (\n    <PortkeyButton\n      label=\"Create Wallet\"\n      command=\"signup\"\n      buttonType=\"signup\"\n      origin=\"https://vault.yourapp.xyz\"\n      className=\"my-4\"\n    />\n  );\n}\n```\n\nPortkeyButton automatically:\n\nMoves and shows the Vault iframe on top of itself.\n\nSends the signup command.\n\nWaits for the Vault to return { wallet, passkey }.\n\n### 4. Listen for results\n\n```tsx\nimport { usePortkeyWatcher } from \"portkey-client\";\n\nexport function GlobalPortkeyEvents() {\n  usePortkeyWatcher((msg) => {\n    if (msg.command === \"signup\" && msg.result) {\n      console.log(\"✅ New wallet:\", msg.result.wallet);\n      // ➡️ Persist `wallet.cipherText / iv / salt` server-side\n    }\n  }, \"https://vault.yourapp.xyz\");\n\n  return null; // invisible listener\n}\n```\n\n### 5. Sign a transaction\n\n5. Sign a transaction (with <PortkeyButton />)\n\n```tsx\nimport { PortkeyButton } from \"portkey-client\";\n\nexport function SignTxButton({ tx, pubkey, vault }) {\n  return (\n    <PortkeyButton\n      label=\"Sign Transaction\"\n      command=\"sign\"\n      buttonType=\"sign\"\n      origin=\"https://vault.yourapp.xyz\"\n      data={{\n        transaction: {\n          pubkey,\n          vault,\n          data: tx,\n        },\n      }}\n      className=\"my-4\"\n    />\n  );\n}\n```\n\nThis will:\n\nRender a button that activates the Vault iframe.\n\nSend the sign command along with the transaction data.\n\nWait for the Vault to return a signed transaction.\n\n---\n\n## 🛠 API Reference\n\n<details>\n<summary><strong>&lt;BackgroundIframeProvider initialSrc?&gt;</strong></summary>\n\n| Prop        | Type       | Default       | Description                      |\n|-------------|------------|---------------|----------------------------------|\n| initialSrc  | string     | \"about:blank\" | The Vault URL                   |\n| children    | ReactNode  | —             | Your app content                |\n\nExposes context:\n\n```ts\n{\n  iframeRef: RefObject<HTMLIFrameElement>;\n  setIframeSrc(src: string): void;\n  moveIframeTo(el: HTMLElement | null): void;\n}\n```\n</details>\n\n<details>\n<summary><strong>&lt;PortkeyButton /&gt;</strong> (UI helper)</summary>\n\n| Prop        | Type                               | Required | Description                                |\n|-------------|------------------------------------|----------|--------------------------------------------|\n| label       | string                             | ✔︎       | Button text                                 |\n| buttonType  | \"signup\" \\| \"signEthTx\" \\| \"signSolTx\" | ✔︎       | What to do on click                         |\n| command     | string                             | ✔︎       | Command sent to iframe                      |\n| origin      | string                             | ✔︎       | Vault origin (e.g. https://vault.foo.xyz)   |\n| data        | Record<string, any>                | —        | Optional payload                            |\n| hide        | boolean                            | —        | Render invisible, iframe stays alive        |\n\n</details>\n\n<details>\n<summary><strong>createWallet(options)</strong></summary>\n\n```ts\ncreateWallet({\n  iframe,\n  vaultOrigin,\n  jwt,\n  pubkey,\n  onResult(wallet),\n  onError(error),\n});\n```\n\nCreates both an Ethereum & Solana wallet encrypted with the passkey PRF.\n\n</details>\n\n<details>\n<summary><strong>signEthereumTransaction(options)</strong></summary>\n\nSame signature as above, plus `transactionBase64`.  \nReturns `{ signedTx }`.\n\n</details>\n\n<details>\n<summary><strong>signSolanaTransaction(options)</strong></summary>\n\nSame signature as above, plus `transactionBase64`.  \nReturns `{ signedTx }` (Base64 of a `VersionedTransaction`).\n\n</details>\n\n<details>\n<summary><strong>usePortkeyWatcher(handler, allowedOrigin)</strong></summary>\n\n```ts\nusePortkeyWatcher((msg) => {\n  // msg.command === \"signup\", \"signedEthereumTransaction\", etc.\n}, \"https://vault.foo.xyz\");\n```\n\nTyped guard for `window.postMessage` events.\n\n</details>\n\n---\n\n## ⚙️ Advanced\n\n### Keep-alive session key\n\n```ts\n{ allowSessionSigning: true } // default: false\n```\n\n- Derives AES key once\n- Re-encrypts it in memory\n- Auto-expires after 5 min of inactivity\n\n### Custom UI (no preset button)\n\n```tsx\nconst { iframeRef, setIframeSrc, moveIframeTo } = useBackgroundIframe();\n\nfunction MyBeautifulCTA() {\n  const ref = React.useRef<HTMLButtonElement>(null);\n\n  const onClick = () => {\n    if (!ref.current) return;\n    setIframeSrc(\"https://vault.foo.xyz?chain=eth\");\n    moveIframeTo(ref.current);\n\n    iframeRef.current?.contentWindow?.postMessage(\n      { command: \"signEthereumTransaction\", data: myTx },\n      \"https://vault.foo.xyz\"\n    );\n  };\n\n  return <button ref={ref} onClick={onClick}>Pay 0.01 ETH</button>;\n}\n```\n\n---\n\n## 🛡 Security Model\n\n- **Origin Isolation**: Vault is served from `vault.yourapp.xyz`, while your app runs on `app.yourapp.xyz`.\n- **CSP hardened**: Scripts only allowed from trusted CDNs.\n- **Access-blocked iframe**: `document.domain` and top access disabled.\n- **PRF-based key derivation**: No brute-force vector; passkey is required.\n- **No remote logging**: All logs stay inside the Vault iframe.\n\nSee `vault/index.html` for CSP, COOP/COEP, and nonce usage.\n\n---\n\n## 🏗 Deploying the Vault\n\n```bash\ncd packages/vault\npnpm build\nrsync -a dist/ user@server:/var/www/vault\n```\n\nDNS → `vault.yourapp.xyz`, HTTPS required.\n\nAdd these headers:\n\n```\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Embedder-Policy: require-corp\nContent-Security-Policy: default-src 'self';\n```\n---\n\n## 📄 License\n\nMIT © Boole Digital – Use at your own risk. Experimental software; audit pending.\n\n---\n\n","readmeFilename":"README.md"}