{"_id":"@alguna/checkout-sdk","_rev":"12-ce7b161c2b00d36e7fe22974e6d12954","name":"@alguna/checkout-sdk","dist-tags":{"latest":"0.8.1"},"versions":{"0.1.0":{"name":"@alguna/checkout-sdk","version":"0.1.0","keywords":["alguna","checkout","billing","payments","embed","react"],"author":{"name":"Alguna"},"license":"UNLICENSED","_id":"@alguna/checkout-sdk@0.1.0","maintainers":[{"name":"joluna","email":"joe-r@live.co.uk"},{"name":"reecepm","email":"reecemartin1425@gmail.com"}],"homepage":"https://github.com/alguna/monorepo#readme","bugs":{"url":"https://github.com/alguna/monorepo/issues"},"dist":{"shasum":"dcc3164aef1f2f2bc7eaa0c0161a2dd10a045c02","tarball":"https://registry.npmjs.org/@alguna/checkout-sdk/-/checkout-sdk-0.1.0.tgz","fileCount":16,"integrity":"sha512-Rap95iHHScJazIf6tk+T2QhYv90SHAtijDcR4JZhh/dCAgbYUx0IL4/wJQW97jtFnaAL2FWygGx6wJ0gYddl7g==","signatures":[{"sig":"MEYCIQDYEgzUKVBn9Oz/wqM2qjQE7kw+nd/cLJZFoZ++9WqhMgIhAPNm5/xQ9gx39MYxXWmyeHhxaI6tBalngSWV8H77S+qS","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":73606},"main":"./dist/index.cjs","type":"module","_from":"file:alguna-checkout-sdk-0.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./react":{"types":"./dist/react/index.d.ts","import":"./dist/react.js","require":"./dist/react.cjs"}},"scripts":{"lint":"biome check .","test":"vitest run","build":"vite build && tsc -p tsconfig.build.json","lint:fix":"biome check --fix .","test:watch":"vitest","type-check":"tsc --noEmit"},"_npmUser":{"name":"joluna","email":"joe-r@live.co.uk"},"_resolved":"/tmp/de4efa144e8577e5191f9f79c09c160e/alguna-checkout-sdk-0.1.0.tgz","_integrity":"sha512-Rap95iHHScJazIf6tk+T2QhYv90SHAtijDcR4JZhh/dCAgbYUx0IL4/wJQW97jtFnaAL2FWygGx6wJ0gYddl7g==","repository":{"url":"git+https://github.com/alguna/monorepo.git","type":"git","directory":"typescript/packages/checkout-sdk"},"_npmVersion":"10.9.8","description":"Embed Alguna Checkout in your product — a drop-in, themeable checkout component","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.0","jsdom":"^29.0.1","react":"19.2.4","vitest":"^4.0.18","typescript":"^7.0.2","@types/react":"^19.2.14"},"peerDependencies":{"react":">=18"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/checkout-sdk_0.1.0_1786010300239_0.09700441592299103","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@alguna/checkout-sdk","version":"0.1.1","keywords":["alguna","checkout","billing","payments","embed","react"],"author":{"name":"Alguna"},"license":"UNLICENSED","_id":"@alguna/checkout-sdk@0.1.1","maintainers":[{"name":"joluna","email":"joe-r@live.co.uk"},{"name":"reecepm","email":"reecemartin1425@gmail.com"}],"homepage":"https://alguna.com/docs/hosted/embedded-checkout","dist":{"shasum":"93f494860f4ca9b818bb7361413f6fef219dd27f","tarball":"https://registry.npmjs.org/@alguna/checkout-sdk/-/checkout-sdk-0.1.1.tgz","fileCount":16,"integrity":"sha512-ShEtsuZM5w2PmAqeik6h5zB3/oWEwIimHLTus60RnDh7QgofLUiOuznkM7Y3WClZze0scy5PJkYT6rXsTcyvtA==","signatures":[{"sig":"MEYCIQC8jr8xJJbnWiJOQcbWCDZhglAbxfBZXPvPZv1Rf/dw6AIhAK2lr3EI4GbF9cFAe8EpVU4/zivhxi1gozAF71ewRO8C","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":73505},"main":"./dist/index.cjs","type":"module","_from":"file:alguna-checkout-sdk-0.1.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./react":{"types":"./dist/react/index.d.ts","import":"./dist/react.js","require":"./dist/react.cjs"}},"scripts":{"lint":"biome check .","test":"vitest run","build":"vite build && tsc -p tsconfig.build.json","lint:fix":"biome check --fix .","test:watch":"vitest","type-check":"tsc --noEmit"},"_npmUser":{"name":"joluna","email":"joe-r@live.co.uk"},"_resolved":"/tmp/d4d1589c75e8bcff0f1cd4aa0304b59a/alguna-checkout-sdk-0.1.1.tgz","_integrity":"sha512-ShEtsuZM5w2PmAqeik6h5zB3/oWEwIimHLTus60RnDh7QgofLUiOuznkM7Y3WClZze0scy5PJkYT6rXsTcyvtA==","_npmVersion":"10.9.8","description":"Embed Alguna Checkout in your product — a drop-in, themeable checkout component","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.0","jsdom":"^29.0.1","react":"19.2.4","vitest":"^4.0.18","typescript":"^7.0.2","@types/react":"^19.2.14"},"peerDependencies":{"react":">=18"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/checkout-sdk_0.1.1_1786018621588_0.07356325062274438","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@alguna/checkout-sdk","version":"0.2.0","keywords":["alguna","checkout","billing","payments","embed","react"],"author":{"name":"Alguna"},"license":"UNLICENSED","_id":"@alguna/checkout-sdk@0.2.0","maintainers":[{"name":"joluna","email":"joe-r@live.co.uk"},{"name":"reecepm","email":"reecemartin1425@gmail.com"}],"homepage":"https://alguna.com/docs/hosted/embedded-checkout","dist":{"shasum":"aa16ed1bae9a059b39dbf8271fac17dc900f6f3c","tarball":"https://registry.npmjs.org/@alguna/checkout-sdk/-/checkout-sdk-0.2.0.tgz","fileCount":19,"integrity":"sha512-5OmV0LZc+36Uj1KhCWb/R2JeLcPt4vh2GSU8IRlTovWhJndoe/7uvnTBWSXZIwj2bF2s67EfzPQRqSiFiKck9A==","signatures":[{"sig":"MEUCIDR2Z/sicSbM0qrp0JoCe8P6pZ4PD9BuvGwJ0kzFo3XnAiEAp3I/V43t9NEutH/favgM/eCmGmO2/zGZ4FjKTfvBGnI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20224927},"main":"./dist/index.cjs","type":"module","_from":"file:alguna-checkout-sdk-0.2.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./react":{"types":"./dist/react/index.d.ts","import":"./dist/react.js","require":"./dist/react.cjs"},"./styles.css":"./dist/styles.css"},"scripts":{"lint":"biome check .","test":"vitest run","build":"vite build && tsc -p tsconfig.build.json","lint:fix":"biome check --fix .","test:watch":"vitest","type-check":"tsc --noEmit"},"_npmUser":{"name":"joluna","email":"joe-r@live.co.uk"},"_resolved":"/tmp/2250fbdf981d609aecc339aae69d64f1/alguna-checkout-sdk-0.2.0.tgz","_integrity":"sha512-5OmV0LZc+36Uj1KhCWb/R2JeLcPt4vh2GSU8IRlTovWhJndoe/7uvnTBWSXZIwj2bF2s67EfzPQRqSiFiKck9A==","_npmVersion":"10.9.8","description":"Embed Alguna Checkout in your product — a drop-in, themeable checkout component","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.0","jsdom":"^29.0.1","react":"19.2.4","vitest":"^4.0.18","react-dom":"19.2.4","typescript":"^7.0.2","tailwindcss":"^4.1.18","@types/react":"^19.2.14","@alguna/checkout":"0.1.0","@types/react-dom":"^19.2.3","@tailwindcss/vite":"^4.1.18","@alguna/ui-editorial":"*","@vitejs/plugin-react":"^5.1.3","@alguna/checkout-embed":"0.1.0","@alguna/tailwind-config":"*"},"peerDependencies":{"react":">=18","react-dom":">=18"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/checkout-sdk_0.2.0_1787752299390_0.3545381301897079","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@alguna/checkout-sdk","version":"0.2.1","keywords":["alguna","checkout","billing","payments","embed","react"],"author":{"name":"Alguna"},"license":"UNLICENSED","_id":"@alguna/checkout-sdk@0.2.1","maintainers":[{"name":"joluna","email":"joe-r@live.co.uk"},{"name":"reecepm","email":"reecemartin1425@gmail.com"}],"homepage":"https://alguna.com/docs/hosted/embedded-checkout","dist":{"shasum":"7b5c8e8a656872598b72d7869b3da90fc78c9532","tarball":"https://registry.npmjs.org/@alguna/checkout-sdk/-/checkout-sdk-0.2.1.tgz","fileCount":19,"integrity":"sha512-+7NLANmog/rP4dP8LV5Y8gX8InnCAGmLccC+4RaiaGPf6VSbNIpnhVp7FrBxKv71oap83KNunH7Z3YDH14HflA==","signatures":[{"sig":"MEUCIEIT9MGz/u9okBgns7da1EeQfC4p4bjgjzAlu8whcHbeAiEApDPnqYyHD348TTvezHUDFInVmhT+nhlg4XNlC7corK0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20247917},"main":"./dist/index.cjs","type":"module","_from":"file:alguna-checkout-sdk-0.2.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./react":{"types":"./dist/react/index.d.ts","import":"./dist/react.js","require":"./dist/react.cjs"},"./styles.css":"./dist/styles.css"},"scripts":{"lint":"biome check .","test":"vitest run","build":"vite build && tsc -p tsconfig.build.json","lint:fix":"biome check --fix .","test:watch":"vitest","type-check":"tsc --noEmit"},"_npmUser":{"name":"joluna","email":"joe-r@live.co.uk"},"_resolved":"/tmp/b52d5113499c10e770ba876118bbaa98/alguna-checkout-sdk-0.2.1.tgz","_integrity":"sha512-+7NLANmog/rP4dP8LV5Y8gX8InnCAGmLccC+4RaiaGPf6VSbNIpnhVp7FrBxKv71oap83KNunH7Z3YDH14HflA==","_npmVersion":"10.9.8","description":"Embed Alguna Checkout in your product — a drop-in, themeable checkout component","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.0","jsdom":"^29.0.1","react":"19.2.4","vitest":"^4.0.18","react-dom":"19.2.4","typescript":"^7.0.2","tailwindcss":"^4.1.18","@types/react":"^19.2.14","@alguna/checkout":"0.1.0","@types/react-dom":"^19.2.3","@tailwindcss/vite":"^4.1.18","@alguna/ui-editorial":"*","@vitejs/plugin-react":"^5.1.3","@alguna/checkout-embed":"0.1.0","@alguna/tailwind-config":"*"},"peerDependencies":{"react":">=18","react-dom":">=18"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/checkout-sdk_0.2.1_1787766265658_0.36154473528718634","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@alguna/checkout-sdk","version":"0.2.2","keywords":["alguna","checkout","billing","payments","embed","react"],"author":{"name":"Alguna"},"license":"UNLICENSED","_id":"@alguna/checkout-sdk@0.2.2","maintainers":[{"name":"joluna","email":"joe-r@live.co.uk"},{"name":"reecepm","email":"reecemartin1425@gmail.com"}],"homepage":"https://alguna.com/docs/hosted/embedded-checkout","dist":{"shasum":"0736b917dfbf6aae6dad2e8ce017ffff757d2731","tarball":"https://registry.npmjs.org/@alguna/checkout-sdk/-/checkout-sdk-0.2.2.tgz","fileCount":19,"integrity":"sha512-Fzw8T6v/FVAXq9ynPrsnprEPaGl2GAf38Bh6KURGmhNLkDRlQmgKj9uSfidMU16z7WTwcjyymjKR3hdmlnIDTg==","signatures":[{"sig":"MEUCIQCcyMuWkPC1eUxkq0zwrfebmuc9IpvgTvBMXEHHOG3kXQIgUhjrJuM3ShdeGeg7gsCFdD567hKrjYKppqTBzgEd3YY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20282270},"main":"./dist/index.cjs","type":"module","_from":"file:alguna-checkout-sdk-0.2.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./react":{"types":"./dist/react/index.d.ts","import":"./dist/react.js","require":"./dist/react.cjs"},"./styles.css":"./dist/styles.css"},"scripts":{"lint":"biome check .","test":"vitest run","build":"vite build && tsc -p tsconfig.build.json","lint:fix":"biome check --fix .","test:watch":"vitest","type-check":"tsc --noEmit"},"_npmUser":{"name":"joluna","email":"joe-r@live.co.uk"},"_resolved":"/tmp/8d614c35598d5e90a77ac584c406e501/alguna-checkout-sdk-0.2.2.tgz","_integrity":"sha512-Fzw8T6v/FVAXq9ynPrsnprEPaGl2GAf38Bh6KURGmhNLkDRlQmgKj9uSfidMU16z7WTwcjyymjKR3hdmlnIDTg==","_npmVersion":"10.9.8","description":"Embed Alguna Checkout in your product — a drop-in, themeable checkout component","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.0","jsdom":"^29.0.1","react":"19.2.4","vitest":"^4.0.18","react-dom":"19.2.4","typescript":"^7.0.2","tailwindcss":"^4.1.18","@types/react":"^19.2.14","@alguna/checkout":"0.1.0","@types/react-dom":"^19.2.3","@tailwindcss/vite":"^4.1.18","@alguna/ui-editorial":"*","@vitejs/plugin-react":"^5.1.3","@alguna/checkout-embed":"0.1.0","@alguna/tailwind-config":"*"},"peerDependencies":{"react":">=18","react-dom":">=18"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/checkout-sdk_0.2.2_1787777023164_0.7647768248671625","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@alguna/checkout-sdk","version":"0.3.0","keywords":["alguna","checkout","billing","payments","embed","react"],"author":{"name":"Alguna"},"license":"UNLICENSED","_id":"@alguna/checkout-sdk@0.3.0","maintainers":[{"name":"joluna","email":"joe-r@live.co.uk"},{"name":"reecepm","email":"reecemartin1425@gmail.com"}],"homepage":"https://alguna.com/docs/hosted/embedded-checkout","dist":{"shasum":"c1ad7716fc3fbd6e2cd61104c78849c317f2f76b","tarball":"https://registry.npmjs.org/@alguna/checkout-sdk/-/checkout-sdk-0.3.0.tgz","fileCount":16,"integrity":"sha512-mvLn3MBpcylpA8LAVUKgDh2yS7uHJ0ryEjYxEaPympe2KExCYqRq49KQGqrcGbm7rySoPS9TRWcVK5FEFGYy4Q==","signatures":[{"sig":"MEQCIDThaViYq4c2nMTmHFvYsTFNbk7sGxdXPXXXGSfBZQMCAiAOJki5AoqSsYPUpsxIrIyG9JH5/TA08wvZXltNBuKxJA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":93190},"main":"./dist/index.cjs","type":"module","_from":"file:alguna-checkout-sdk-0.3.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./react":{"types":"./dist/react/index.d.ts","import":"./dist/react.js","require":"./dist/react.cjs"}},"scripts":{"lint":"biome check .","test":"vitest run","build":"vite build && tsc -p tsconfig.build.json","lint:fix":"biome check --fix .","test:watch":"vitest","type-check":"tsc --noEmit"},"_npmUser":{"name":"joluna","email":"joe-r@live.co.uk"},"_resolved":"/tmp/b83afee36876bc7395297051dc4ef02e/alguna-checkout-sdk-0.3.0.tgz","_integrity":"sha512-mvLn3MBpcylpA8LAVUKgDh2yS7uHJ0ryEjYxEaPympe2KExCYqRq49KQGqrcGbm7rySoPS9TRWcVK5FEFGYy4Q==","_npmVersion":"10.9.8","description":"Embed Alguna Checkout in your product — a themeable, isolated checkout component","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.0","jsdom":"^29.0.1","react":"19.2.4","vitest":"^4.0.18","typescript":"^7.0.2","@types/react":"^19.2.14"},"peerDependencies":{"react":">=18","react-dom":">=18"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/checkout-sdk_0.3.0_1787842063641_0.2856347736187266","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@alguna/checkout-sdk","version":"0.4.0","keywords":["alguna","checkout","billing","payments","embed","react"],"author":{"name":"Alguna"},"license":"UNLICENSED","_id":"@alguna/checkout-sdk@0.4.0","maintainers":[{"name":"joluna","email":"joe-r@live.co.uk"},{"name":"reecepm","email":"reecemartin1425@gmail.com"}],"homepage":"https://alguna.com/docs/hosted/embedded-checkout","dist":{"shasum":"d1dd60810aa719aafc911a199d4883ba90c6ebcd","tarball":"https://registry.npmjs.org/@alguna/checkout-sdk/-/checkout-sdk-0.4.0.tgz","fileCount":16,"integrity":"sha512-qSSM2Syd7vMQ/2vLCm+4WPdaKO8b3Yiix6ed7sPPcVPaVfoHF+Anx7v1sfJXP5YosqJOICVljA44P9HBtmIYAw==","signatures":[{"sig":"MEQCIB8rg7+jjhU/qumzM4imnvW2iysbRqacDw87VC0LrrP9AiAb1LJugcATPX/XUIk04jlXiIpqi85WlvLZAAicR/FmVg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":97072},"main":"./dist/index.cjs","type":"module","_from":"file:alguna-checkout-sdk-0.4.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./react":{"types":"./dist/react/index.d.ts","import":"./dist/react.js","require":"./dist/react.cjs"}},"scripts":{"lint":"biome check .","test":"vitest run","build":"vite build && tsc -p tsconfig.build.json","lint:fix":"biome check --fix .","test:watch":"vitest","type-check":"tsc --noEmit"},"_npmUser":{"name":"joluna","email":"joe-r@live.co.uk"},"_resolved":"/tmp/f4f5498f63e4bc8b640dbb0cf6b760a3/alguna-checkout-sdk-0.4.0.tgz","_integrity":"sha512-qSSM2Syd7vMQ/2vLCm+4WPdaKO8b3Yiix6ed7sPPcVPaVfoHF+Anx7v1sfJXP5YosqJOICVljA44P9HBtmIYAw==","_npmVersion":"10.9.8","description":"Embed Alguna Checkout in your product — a themeable, isolated checkout component","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.0","jsdom":"^29.0.1","react":"19.2.4","vitest":"^4.0.18","react-dom":">=18","typescript":"^7.0.2","@types/react":"^19.2.14"},"peerDependencies":{"react":">=18","react-dom":">=18"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/checkout-sdk_0.4.0_1787925345528_0.9804723981206052","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@alguna/checkout-sdk","version":"0.5.0","keywords":["alguna","checkout","billing","payments","embed","react"],"author":{"name":"Alguna"},"license":"UNLICENSED","_id":"@alguna/checkout-sdk@0.5.0","maintainers":[{"name":"joluna","email":"joe-r@live.co.uk"},{"name":"reecepm","email":"reecemartin1425@gmail.com"}],"homepage":"https://alguna.com/docs/hosted/embedded-checkout","dist":{"shasum":"bc9ff35d35503e1a2e93faae0f6000af68137246","tarball":"https://registry.npmjs.org/@alguna/checkout-sdk/-/checkout-sdk-0.5.0.tgz","fileCount":16,"integrity":"sha512-vM0lmYfXaWsZcGSi9/N5MZkJuD8KWBBRVEyXrvqhxd4G1uL1Au1RzFGhj18EyF7pOidXMtqSWBOWHEFPEWq0xQ==","signatures":[{"sig":"MEYCIQCx5IGP4/DzyGP2+c9tgjMG+WAZ6g58H2/xDnx691VC5gIhALK5pfMpQrfYcWWO5SE+Seb6eU9OnPWrJi21/NZ2SvtA","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":104968},"main":"./dist/index.cjs","type":"module","_from":"file:alguna-checkout-sdk-0.5.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./react":{"types":"./dist/react/index.d.ts","import":"./dist/react.js","require":"./dist/react.cjs"}},"scripts":{"lint":"biome check .","test":"vitest run","build":"vite build && tsc -p tsconfig.build.json","lint:fix":"biome check --fix .","test:watch":"vitest","type-check":"tsc --noEmit"},"_npmUser":{"name":"joluna","email":"joe-r@live.co.uk"},"_resolved":"/tmp/328092eb8756b8b61b93395f078cde09/alguna-checkout-sdk-0.5.0.tgz","_integrity":"sha512-vM0lmYfXaWsZcGSi9/N5MZkJuD8KWBBRVEyXrvqhxd4G1uL1Au1RzFGhj18EyF7pOidXMtqSWBOWHEFPEWq0xQ==","_npmVersion":"10.9.8","description":"Embed Alguna Checkout in your product — a themeable, isolated checkout component","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.0","jsdom":"^29.0.1","react":"19.2.4","vitest":"^4.0.18","react-dom":">=18","typescript":"^7.0.2","@types/react":"^19.2.14"},"peerDependencies":{"react":">=18","react-dom":">=18"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/checkout-sdk_0.5.0_1788348379879_0.8559135141773822","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@alguna/checkout-sdk","version":"0.6.0","keywords":["alguna","checkout","billing","payments","embed","react"],"author":{"name":"Alguna"},"license":"UNLICENSED","_id":"@alguna/checkout-sdk@0.6.0","maintainers":[{"name":"joluna","email":"joe-r@live.co.uk"},{"name":"reecepm","email":"reecemartin1425@gmail.com"}],"homepage":"https://alguna.com/docs/hosted/embedded-checkout","bugs":{"email":"support@alguna.io"},"dist":{"shasum":"7e4d66af748fed3b4832e64e90f4070f91084f93","tarball":"https://registry.npmjs.org/@alguna/checkout-sdk/-/checkout-sdk-0.6.0.tgz","fileCount":16,"integrity":"sha512-ZzYTlKazixKXGG62LDA+MR522Zs4mRTdPxJOWGr3UWAuLau5mDmVef5ttW9NGaOxSs4WTIkI1N3vYn3ll/r/0Q==","signatures":[{"sig":"MEYCIQD+NU12Z6H1HhzXQRao7oxWKrgvg9RH0UTizd0azXd97AIhAK9NmxET+NJ2r9XFW585V5eld1xyIkqau6M2Xs7/Z6Ue","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCl4Png/922r5OfxwTMn+5eSKBWpYPnpsmFMDXxdBvnhgIhAJamXaDI4eQvevQg8TAyNAOD3QOn0tEFbGlvOJrCeF6E","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":114531},"main":"./dist/index.cjs","type":"module","_from":"file:alguna-checkout-sdk-0.6.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./react":{"types":"./dist/react/index.d.ts","import":"./dist/react.js","require":"./dist/react.cjs"}},"scripts":{"lint":"biome check .","test":"vitest run","build":"vite build && tsc -p tsconfig.build.json","lint:fix":"biome check --fix .","test:watch":"vitest","type-check":"tsc --noEmit"},"_npmUser":{"name":"joluna","email":"joe-r@live.co.uk"},"_resolved":"/tmp/c4780abbf2ecb9c6f9c3d064e90d8805/alguna-checkout-sdk-0.6.0.tgz","_integrity":"sha512-ZzYTlKazixKXGG62LDA+MR522Zs4mRTdPxJOWGr3UWAuLau5mDmVef5ttW9NGaOxSs4WTIkI1N3vYn3ll/r/0Q==","_npmVersion":"10.9.8","description":"Embed Alguna Checkout in your product — a themeable, isolated checkout component","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.0","jsdom":"^29.0.1","react":"19.2.4","vitest":"^4.0.18","react-dom":">=18","typescript":"^7.0.2","@types/react":"^19.2.14"},"peerDependencies":{"react":">=18","react-dom":">=18"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/checkout-sdk_0.6.0_1789487991265_0.6102578511478709","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@alguna/checkout-sdk","version":"0.7.0","keywords":["alguna","checkout","billing","payments","embed","react"],"author":{"name":"Alguna"},"license":"UNLICENSED","_id":"@alguna/checkout-sdk@0.7.0","maintainers":[{"name":"joluna","email":"joe-r@live.co.uk"},{"name":"reecepm","email":"reecemartin1425@gmail.com"}],"homepage":"https://alguna.com/docs/hosted/embedded-checkout","bugs":{"email":"support@alguna.io"},"dist":{"shasum":"dc6cb3472401ab97c6964d4ca50417f28a8c29db","tarball":"https://registry.npmjs.org/@alguna/checkout-sdk/-/checkout-sdk-0.7.0.tgz","fileCount":16,"integrity":"sha512-+/JFTmepwHAd/AOe+ko3RQs3koa+3kSu56F0c0wauASDCXf+qH0KS0qmJn3DRkE+Cxa+Gn6fPU4Z89lE7DXZGQ==","signatures":[{"sig":"MEUCIQCzT/FmMYgIiVqBQT4/qVtP/7UUJO/mOaclRq6CSoqyNAIgekA0WMZBKHLfJlVmTauw01iP+NdeYAbYGNmK0GeN/84=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIDJE17eXNTIVH7yOBF3Gb2Fgm2FO248HLHzQYBCEXd/eAiAsIfopU8zGFDRTvtGeYxBkinKYS/6/OUVX7jXGrcD7vA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":114531},"main":"./dist/index.cjs","type":"module","_from":"file:alguna-checkout-sdk-0.7.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./react":{"types":"./dist/react/index.d.ts","import":"./dist/react.js","require":"./dist/react.cjs"}},"scripts":{"lint":"biome check .","test":"vitest run","build":"vite build && tsc -p tsconfig.build.json","lint:fix":"biome check --fix .","test:watch":"vitest","type-check":"tsc --noEmit"},"_npmUser":{"name":"joluna","email":"joe-r@live.co.uk"},"_resolved":"/tmp/6e0e346c92a75a938cc3a1ba08fbe306/alguna-checkout-sdk-0.7.0.tgz","_integrity":"sha512-+/JFTmepwHAd/AOe+ko3RQs3koa+3kSu56F0c0wauASDCXf+qH0KS0qmJn3DRkE+Cxa+Gn6fPU4Z89lE7DXZGQ==","_npmVersion":"10.9.8","description":"Embed Alguna Checkout in your product — a themeable, isolated checkout component","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.0","jsdom":"^29.0.1","react":"19.2.4","vitest":"^4.0.18","react-dom":">=18","typescript":"^7.0.2","@types/react":"^19.2.14"},"peerDependencies":{"react":">=18","react-dom":">=18"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/checkout-sdk_0.7.0_1789567266014_0.7360210633954651","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"@alguna/checkout-sdk","version":"0.8.0","keywords":["alguna","checkout","billing","payments","embed","react"],"author":{"name":"Alguna"},"license":"UNLICENSED","_id":"@alguna/checkout-sdk@0.8.0","maintainers":[{"name":"joluna","email":"joe-r@live.co.uk"},{"name":"reecepm","email":"reecemartin1425@gmail.com"}],"homepage":"https://alguna.com/docs/hosted/embedded-checkout","bugs":{"email":"support@alguna.io"},"dist":{"shasum":"cb9c8a43bd7e1e0db49f965f6ad1d585802c7ea4","tarball":"https://registry.npmjs.org/@alguna/checkout-sdk/-/checkout-sdk-0.8.0.tgz","fileCount":16,"integrity":"sha512-XOA57a4sOFMvEM0iDN29BlVHjR2NtGoqEpEjsUZsc1cYwX025nzENWD8LbihRjKBOBO/TeIwKElQDdz6hiJjUQ==","signatures":[{"sig":"MEUCICTJvLS+nVbTwvWxIFJhI9iYiagivKqf9t+8WSBDs9z0AiEA6pJNWORFBLB6ywwX6c37aNVJPGpwwSp7lYPxpaGuq6Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDRIqUut+m5WNGxgGVwe8hRpFjya+xvkFq68F8DjtCLkgIgEbcWC8jF4J/Nioph7ljLBWUdCIY/3V+UT2EqozaDcKA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":114531},"main":"./dist/index.cjs","type":"module","_from":"file:alguna-checkout-sdk-0.8.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./react":{"types":"./dist/react/index.d.ts","import":"./dist/react.js","require":"./dist/react.cjs"}},"scripts":{"lint":"biome check .","test":"vitest run","build":"vite build && tsc -p tsconfig.build.json","lint:fix":"biome check --fix .","test:watch":"vitest","type-check":"tsc --noEmit"},"_npmUser":{"name":"joluna","email":"joe-r@live.co.uk"},"_resolved":"/tmp/69c45ffc9f27d2758fb0453eacf6b98c/alguna-checkout-sdk-0.8.0.tgz","_integrity":"sha512-XOA57a4sOFMvEM0iDN29BlVHjR2NtGoqEpEjsUZsc1cYwX025nzENWD8LbihRjKBOBO/TeIwKElQDdz6hiJjUQ==","_npmVersion":"10.9.8","description":"Embed Alguna Checkout in your product — a themeable, isolated checkout component","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.0","jsdom":"^29.0.1","react":"19.2.4","vitest":"^4.0.18","react-dom":">=18","typescript":"^7.0.2","@types/react":"^19.2.14"},"peerDependencies":{"react":">=18","react-dom":">=18"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/checkout-sdk_0.8.0_1789989305292_0.681153172248885","host":"s3://npm-registry-packages-npm-production"}},"0.8.1":{"_id":"@alguna/checkout-sdk@0.8.1","bugs":{"email":"support@alguna.io"},"dist":{"shasum":"ecd26080441a0df775101eb3d7f34c686fc7b8ce","tarball":"https://registry.npmjs.org/@alguna/checkout-sdk/-/checkout-sdk-0.8.1.tgz","fileCount":16,"integrity":"sha512-Xz9RTtR18ABAqYO3atgVQiRUfqY+OqDBPAJfWVTFdbroutw91ATYm+PEIgj+j+iSosfNo7f9NcPW5hzL7JYbHw==","signatures":[{"sig":"MEYCIQD96En7igEES+TPfXEFL17SZlILCytr++rZDYAYfYywRgIhAIjVba5C9hlurZCtVxuXMg3kqgRCb0NkFNIWb0FDhKrp","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDuotEJk2WRw1FTBQRvUpUWLYiiz7/sUDVBw1gCV2HtYQIgLF/sDJAvXMn2gYlXvq6UoMhf1dyRUZllwOiYSc2E6Po="}],"unpackedSize":114531},"main":"./dist/index.cjs","name":"@alguna/checkout-sdk","type":"module","_from":"file:alguna-checkout-sdk-0.8.1.tgz","types":"./dist/index.d.ts","author":{"name":"Alguna"},"module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./react":{"types":"./dist/react/index.d.ts","import":"./dist/react.js","require":"./dist/react.cjs"}},"license":"UNLICENSED","scripts":{"lint":"biome check .","test":"vitest run","build":"vite build && tsc -p tsconfig.build.json","lint:fix":"biome check --fix .","test:watch":"vitest","type-check":"tsc --noEmit"},"version":"0.8.1","_npmUser":{"name":"joluna","email":"joe-r@live.co.uk"},"homepage":"https://alguna.com/docs/hosted/embedded-checkout","keywords":["alguna","checkout","billing","payments","embed","react"],"_resolved":"/tmp/580a2d9a81909905ce987e1b7000af0b/alguna-checkout-sdk-0.8.1.tgz","_integrity":"sha512-Xz9RTtR18ABAqYO3atgVQiRUfqY+OqDBPAJfWVTFdbroutw91ATYm+PEIgj+j+iSosfNo7f9NcPW5hzL7JYbHw==","_npmVersion":"10.9.8","description":"Embed Alguna Checkout in your product — a themeable, isolated checkout component","directories":{},"maintainers":[{"name":"joluna","email":"joe-r@live.co.uk"},{"name":"reecepm","email":"reecemartin1425@gmail.com"}],"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.0","jsdom":"^29.0.1","react":"19.2.4","vitest":"^4.0.18","react-dom":">=18","typescript":"^7.0.2","@types/react":"^19.2.14"},"peerDependencies":{"react":">=18","react-dom":">=18"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/checkout-sdk_0.8.1_1790073540430_0.37836099118126665"}}},"time":{"created":"2026-08-06T09:58:20.116Z","modified":"2026-09-22T10:39:00.956Z","0.1.0":"2026-08-06T09:58:20.438Z","0.1.1":"2026-08-06T12:17:01.722Z","0.2.0":"2026-08-26T13:51:39.655Z","0.2.1":"2026-08-26T17:44:25.914Z","0.2.2":"2026-08-26T20:43:43.419Z","0.3.0":"2026-08-27T14:47:43.791Z","0.4.0":"2026-08-28T13:55:45.677Z","0.5.0":"2026-09-02T11:26:20.021Z","0.6.0":"2026-09-15T15:59:51.360Z","0.7.0":"2026-09-16T14:01:06.112Z","0.8.0":"2026-09-21T11:15:05.378Z","0.8.1":"2026-09-22T10:39:00.520Z"},"bugs":{"email":"support@alguna.io"},"author":{"name":"Alguna"},"license":"UNLICENSED","homepage":"https://alguna.com/docs/hosted/embedded-checkout","keywords":["alguna","checkout","billing","payments","embed","react"],"description":"Embed Alguna Checkout in your product — a themeable, isolated checkout component","maintainers":[{"name":"joluna","email":"joe-r@live.co.uk"},{"name":"reecepm","email":"reecemartin1425@gmail.com"}],"readme":"# @alguna/checkout-sdk\n\nEmbed [Alguna](https://alguna.io) Checkout in your product. Your server mints\na checkout session with your secret API key; your frontend mounts the\ncomponent with the returned URL; Alguna handles payment collection, tax, and\naccount/subscription creation — the same trust model as Stripe's embedded\nCheckout.\n\nThe checkout renders inside an iframe served from Alguna's origin. This is a\nhard isolation boundary: your page's CSS can't reach into the checkout, and the\ncheckout can't restyle your page. Card entry uses Stripe's own iframe (so your\nsite stays out of PCI scope). Style the checkout **only** through the\n`appearance` prop — the same model as Stripe Elements. The SDK ships no\nstylesheet; there's nothing to import.\n\n```sh\nnpm install @alguna/checkout-sdk\n```\n\n## Quickstart\n\n### 0. One-time setup (Alguna dashboard)\n\n1. Create an API key: **Settings → API keys** (format `id.secret` — server\n   secret, never ship it to a browser).\n2. Have at least one payment processor connected (e.g. Stripe) for the legal\n   entity you bill from.\n\n### 1. Decide who the buyer is (three identity modes)\n\n| Your situation | What to send on session create | What checkout does |\n| --- | --- | --- |\n| Buyer is an existing Alguna customer | `customer_id` (or `customer_alias`) | Charges that customer; can show their saved cards (see [Saved cards](#saved-cards)) |\n| Buyer is logged into **your** product | `customer: { name, email, address? … }` | Creates the Alguna customer from what you already know — no re-typing |\n| Buyer is anonymous (public pricing page) | *(nothing)* | Checkout collects email/name itself before payment |\n\n### 2. Create a session (your server)\n\n```ts\nconst response = await fetch(\"https://api.alguna.io/checkout-sessions\", {\n  method: \"POST\",\n  headers: {\n    Authorization: `Bearer ${process.env.ALGUNA_API_KEY}`,\n    \"Alguna-Version\": \"2026-04-01\", // pin the API version\n    \"Content-Type\": \"application/json\",\n  },\n  body: JSON.stringify({\n    customer: { name: \"Acme Corp\", email: \"billing@acme.com\" }, // mode 2\n    plan_id: \"plan_...\",              // or line_items: [...] / amount\n    client_reference_id: \"order_1234\", // echoed on the webhook\n    expires_in_seconds: 3600,\n  }),\n});\nconst session = await response.json();\n// → { id, url, session_token, amount, currency, expires_at, ... }\n```\n\n### 3. Mount the checkout (your frontend)\n\nReact:\n\n```tsx\nimport { AlgunaCheckout } from \"@alguna/checkout-sdk/react\";\n\n<AlgunaCheckout\n  url={session.url}\n  layout=\"compact\"                       // your page provides the context\n  appearance={{ accentColor: \"#4d68eb\" }}\n  onComplete={({ checkoutSessionId }) => showSuccess()}\n  onError={({ code }) => {\n    if (code === \"session_expired\") refreshSession(); // mint a new one, re-mount\n  }}\n/>;\n```\n\nVanilla:\n\n```ts\nimport { AlgunaCheckout } from \"@alguna/checkout-sdk\";\n\nconst checkout = AlgunaCheckout.init({\n  url: session.url,\n  container: \"#checkout\",\n  onComplete: () => (window.location.href = \"/welcome\"),\n});\n// checkout.update({ appearance }); checkout.destroy();\n```\n\n`onComplete` fires the moment payment succeeds — replace or unmount the\ncomponent and take the customer forward; the checkout shows only a brief\nneutral confirmation.\n\n### 4. React to completion (your server)\n\nSubscribe to the `checkout.session.completed` webhook — its payload carries\n`accountId`, `subscriptionId`, `paymentId`, `invoiceId`, and your\n`clientReferenceId` — or poll `GET /checkout-sessions/{id}` until\n`payment_id`/`subscription_id` appear.\n\n## Appearance\n\nEverything applies live (no re-mount) over your organization's dashboard\nbranding:\n\n```ts\nappearance={{\n  preset: \"soft\",              // or \"minimal\" | \"sharp\" — a curated\n                               // starting point; every field below overrides it\n  accentColor: \"#4f46e5\",      // CTAs & highlights\n  primaryColor: \"#0f0f0f\",\n  mode: \"dark\",                // dark canvas\n  borderRadius: 12,            // cards, inputs, buttons\n  fontFamily: \"Georgia, serif\",// no font download — use stacks you load\n  density: \"compact\",          // tighter vertical rhythm\n  payButtonLabel: \"Subscribe for {amount}\",\n  colors: {                    // fine-grained palette\n    surface: \"#0b1220\", card: \"#111a2e\", text: \"#e7e5e4\",\n    mutedText: \"#a8a29e\", border: \"#1f2b45\", inputBackground: \"#0e1626\",\n    inputBorder: \"#2563eb\",    // input outlines, separate from `border` (the\n                               // frame) — set `border` to the surface color to\n                               // flatten the frame while keeping fields outlined\n  },\n}}\n```\n\nComponent sizing: `layout: \"compact\"` drops the checkout's own heading for\nin-page embedding. The iframe auto-resizes to its content; pass `maxHeight` to\ncap it, and the form scrolls inside the component above that height.\n\n## Styling\n\nThe only supported way to style the checkout is the `appearance` prop — colors,\nborder radius, font family, light/dark mode, and curated presets. Because the\ncheckout is isolated in an iframe, your page's CSS cannot (and should not) target\nit. This mirrors how Stripe Elements and Primer are styled.\n\n## Custom pay button\n\nRender your own pay button instead of the built-in one:\n\n```tsx\nconst ref = useRef<AlgunaCheckoutRef>(null);\nconst [state, setState] = useState<CheckoutState>();\n\n<AlgunaCheckout\n  ref={ref}\n  url={session.url}\n  hidePayButton\n  onCheckoutStateChange={setState}\n  onComplete={...}\n/>\n<button disabled={!state?.canSubmit} onClick={() => ref.current?.submit()}>\n  {state?.isProcessing ? \"Processing…\" : \"Pay\"}\n</button>\n```\n\n`hidePayButton` hides our button (the \"payments are secure and encrypted\" line\nstays); `submit()` on the ref triggers payment; `onCheckoutStateChange` reports\n`{ canSubmit, isProcessing, isComplete, error }` so you can drive your button.\n\n## Saved cards\n\nBy default every buyer — new or returning — enters their card fresh. To let a\nreturning customer pay with a card they've used before, pass\n`showSavedPaymentMethods` (only meaningful for `customer_id` / `customer_alias`\nsessions, where we know who the buyer is):\n\n```tsx\n<AlgunaCheckout url={session.url} showSavedPaymentMethods />\n```\n\nWith it on, a customer who has a card on file sees it pre-selected, with a \"use a\ndifferent card\" option to enter a new one. Cards are managed in your\ncustomer-facing settings, not edited inline at checkout.\n\n## Terms of service\n\nThe checkout shows a terms-acceptance checkbox that **must** be ticked before the\nbuyer can pay. It links your legal entity's terms of service — the same terms\nconfigured for that entity elsewhere (quotes, hosted checkout) — so nothing needs\nto be passed on the SDK.\n\nTo make the checkbox optional (not block payment), pass\n`requireTermsAcceptance={false}`:\n\n```tsx\n<AlgunaCheckout url={session.url} requireTermsAcceptance={false} />\n```\n\n## Trust line\n\nThe \"Payments are secure and encrypted\" line under the pay button can be hidden:\n\n```tsx\n<AlgunaCheckout url={session.url} hidePaymentSecurityText />\n```\n\n## Reacting to scroll\n\nThe checkout iframe is sized to its content, so wheel gestures over it are\nforwarded to your page (which scrolls by default). To handle scrolling yourself\n— e.g. inside a custom scroll container — use `onScroll`:\n\n```tsx\n<AlgunaCheckout url={session.url} onScroll={(deltaY) => myScroller.scrollBy(0, deltaY)} />\n```\n\nIt mirrors `onResize`.\n\n## Sessions & errors\n\n- Sessions expire (`expires_in_seconds`, default 24h, max 7d). Create one per\n  checkout attempt.\n- `onError` codes: `session_expired` (mint a fresh session and re-mount) and\n  `load_failed` (retry / support).\n\n## Security model\n\nThe checkout runs in an iframe from Alguna's origin, so your page never touches\nsensitive data or the checkout's DOM:\n\n- **Session tokens are short-lived and single-purpose.** Each is minted by your\n  server (with your secret key) for one checkout, scoped to that session, and\n  expires (`expires_in_seconds`). The browser only ever holds this scoped token,\n  never your API key.\n- **Card data never enters your DOM.** It's captured inside Stripe's iframe\n  (nested within the checkout iframe), so your site stays in PCI SAQ-A scope.\n- **Your CSS can't reach the checkout, and vice versa.** The iframe is a hard\n  boundary — style only through `appearance`.\n- **Origin allowlisting.** Orgs can restrict which sites may embed their\n  checkout (dashboard setting); the embed refuses to render on a disallowed\n  origin. The SDK passes your page's origin so the checkout can scope every\n  postMessage to it.\n","readmeFilename":"README.md"}