{"_id":"@canopypay/checkout-sdk","_rev":"11-0f78a14b2a7d1d68f002976fc0588eec","name":"@canopypay/checkout-sdk","dist-tags":{"latest":"0.7.2"},"versions":{"0.2.0":{"name":"@canopypay/checkout-sdk","version":"0.2.0","_id":"@canopypay/checkout-sdk@0.2.0","maintainers":[{"name":"contactcanopy","email":"contact@canopypay.io"}],"dist":{"shasum":"709c883d9eb4960535556c04fa607600a8826eb5","tarball":"https://registry.npmjs.org/@canopypay/checkout-sdk/-/checkout-sdk-0.2.0.tgz","fileCount":6,"integrity":"sha512-6ENQVUGcL7cLhB6F6QJ6KyvbFvnsbAuYIyrVcd+oDF4lOBAfvuOzvLWL8/aGY2cMjdiwR+U47utVmFMJkId8ng==","signatures":[{"sig":"MEUCIQCT3p0mKLMEQIiZg9qdetJXivIKbzPVc6DCaROwoL8MUwIgUDnCViLcsGW7qtvD6wezb4UWU5egwQkCE3sHg3qnAUA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38150},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/canopy.global.js","canopy":{"apiVersion":"2026-09-01","loaderVersion":"2"},"module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./canopy.js":"./dist/canopy.global.js","./package.json":"./package.json"},"gitHead":"62274d6fb69f99484a9a22eeb0a8f5b9d6b2d1c5","private":false,"scripts":{"build":"tsup --config tsup.config.ts","build:npm":"tsup --config tsup.npm.config.ts"},"_npmUser":{"name":"contactcanopy","email":"contact@canopypay.io"},"jsdelivr":"./dist/canopy.global.js","_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/checkout-sdk_0.2.0_1788687009433_0.6720978648282727","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@canopypay/checkout-sdk","version":"0.2.1","_id":"@canopypay/checkout-sdk@0.2.1","maintainers":[{"name":"contactcanopy","email":"contact@canopypay.io"}],"dist":{"shasum":"5e1b4cb220b3800013d5698274a72d33f58467ec","tarball":"https://registry.npmjs.org/@canopypay/checkout-sdk/-/checkout-sdk-0.2.1.tgz","fileCount":6,"integrity":"sha512-XR7KGxm5qMLHo87m1+16Y2yPAvlW3LK9YUSzKmYwv0AVQACJlinzUDN4vDDZoCgTk1yHOP0pTRVTdikuKe36zg==","signatures":[{"sig":"MEUCIQDJWth1vcwuRVDNVAf3Dc8Ij71wvV5J3t0YWr8UsGKAZQIgftrxOrE5wgInv80LvrNataW1pnduN2sh8nMvvu8lym8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34533},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/canopy.global.js","canopy":{"apiVersion":"2026-09-01","loaderVersion":"2"},"module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./canopy.js":"./dist/canopy.global.js","./package.json":"./package.json"},"private":false,"scripts":{"build":"tsup --config tsup.config.ts","build:npm":"tsup --config tsup.npm.config.ts","prepublishOnly":"npm --prefix ../.. run sdk:build && npm run build:npm"},"_npmUser":{"name":"contactcanopy","email":"contact@canopypay.io"},"jsdelivr":"./dist/canopy.global.js","_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/checkout-sdk_0.2.1_1788692749166_0.22265954544633515","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@canopypay/checkout-sdk","version":"0.3.0","_id":"@canopypay/checkout-sdk@0.3.0","maintainers":[{"name":"contactcanopy","email":"contact@canopypay.io"}],"dist":{"shasum":"d4bd1ac17e12bb72f9dd93db6c860eb0cda556d3","tarball":"https://registry.npmjs.org/@canopypay/checkout-sdk/-/checkout-sdk-0.3.0.tgz","fileCount":6,"integrity":"sha512-BDoYsJunW/0hF9QyuzGZvZo8PbsIbhcMGGjlFhzPcL8o5ipajrn2/2WxjkDss3uEFjCi9148spqaTdglLzmIiA==","signatures":[{"sig":"MEQCIGqR7tCg+Fc6f75iQR55R26UK97RMqComI1CoiATFN/eAiBMc0/s/CyoEMKRVkGvnJUKqBfty1X9vfbJASUj6JOJhQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35897},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/canopy.global.js","canopy":{"apiVersion":"2026-09-01","loaderVersion":"3"},"module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./canopy.js":"./dist/canopy.global.js","./package.json":"./package.json"},"private":false,"scripts":{"build":"tsup --config tsup.config.ts","build:npm":"tsup --config tsup.npm.config.ts","prepublishOnly":"npm --prefix ../.. run sdk:build && npm run build:npm"},"_npmUser":{"name":"contactcanopy","email":"contact@canopypay.io"},"jsdelivr":"./dist/canopy.global.js","_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/checkout-sdk_0.3.0_1788713867162_0.09201735940813571","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@canopypay/checkout-sdk","version":"0.4.0","_id":"@canopypay/checkout-sdk@0.4.0","maintainers":[{"name":"contactcanopy","email":"contact@canopypay.io"}],"dist":{"shasum":"51fdc212e00dd2983fe29770202ecb5e0d6ffe43","tarball":"https://registry.npmjs.org/@canopypay/checkout-sdk/-/checkout-sdk-0.4.0.tgz","fileCount":6,"integrity":"sha512-4g8T47o+Sq3agegKW0ZcEu4ikuGO3CTjuHk+58S6ewfNCXwMkuM73lg+cWgT7B6z4Nnmz2rEMqrl0qg+UXYGxQ==","signatures":[{"sig":"MEUCIQC8vRq/0YrwMTWW2lWUt1Zbz5dUa6dV88BSutM4s7IdqgIgAL75TPeVs/+qjC1P4HGUp0WhZLb/jiZHzgXWOPziNog=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":79438},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/canopy.global.js","canopy":{"apiVersion":"2026-09-01","loaderVersion":"4"},"module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./canopy.js":"./dist/canopy.global.js","./package.json":"./package.json"},"private":false,"scripts":{"build":"tsup --config tsup.config.ts","build:npm":"tsup --config tsup.npm.config.ts","prepublishOnly":"npm --prefix ../.. run sdk:build && npm run build:npm"},"_npmUser":{"name":"contactcanopy","email":"contact@canopypay.io"},"jsdelivr":"./dist/canopy.global.js","_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/checkout-sdk_0.4.0_1788724684785_0.6831863060609809","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@canopypay/checkout-sdk","version":"0.4.1","_id":"@canopypay/checkout-sdk@0.4.1","maintainers":[{"name":"contactcanopy","email":"contact@canopypay.io"}],"dist":{"shasum":"b187262130fc2a0ca55aa86f30b734d32a27f7a8","tarball":"https://registry.npmjs.org/@canopypay/checkout-sdk/-/checkout-sdk-0.4.1.tgz","fileCount":6,"integrity":"sha512-xdVZoJrWplktMpLqNdfLkI2g0E5w/H/CE7dzKYI9vp04EnefGBNWdd3XZBEjmhkOW6vYYPbFK3B7uUs38hgUig==","signatures":[{"sig":"MEYCIQCJFBNmkL4wO2qD4L3fQuZKCNI6hVL0FZ8Z9+Sr+MNoHAIhAPI24GD2HYvxIlt9Y9KLAnVU97SU5IEwcVeICP/hi0Ww","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":79652},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/canopy.global.js","canopy":{"apiVersion":"2026-09-01","loaderVersion":"5"},"module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./canopy.js":"./dist/canopy.global.js","./package.json":"./package.json"},"private":false,"scripts":{"build":"tsup --config tsup.config.ts","build:npm":"tsup --config tsup.npm.config.ts","prepublishOnly":"npm --prefix ../.. run sdk:build && npm run build:npm"},"_npmUser":{"name":"contactcanopy","email":"contact@canopypay.io"},"jsdelivr":"./dist/canopy.global.js","_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/checkout-sdk_0.4.1_1788728898712_0.6266802077501825","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@canopypay/checkout-sdk","version":"0.5.0","_id":"@canopypay/checkout-sdk@0.5.0","maintainers":[{"name":"contactcanopy","email":"contact@canopypay.io"}],"dist":{"shasum":"ed586755a2234bf7f988e62c6eb8512ebad291f4","tarball":"https://registry.npmjs.org/@canopypay/checkout-sdk/-/checkout-sdk-0.5.0.tgz","fileCount":6,"integrity":"sha512-d7/NRe47f57fJZTpn+qxosUG4iH24i+S0XPoSnU2hgmH5YuAtWAvHIpfmC1rMTujUJOhYYBobU4iFKJmcQ+XdQ==","signatures":[{"sig":"MEUCIQCc4NIw+Jhf4MmolhIz1tC3xaaigJnHu/8H0vlvhioj/QIgMMg9aA7wZDNPPoy5Xh4wcNQ28vQ/YqZ/wWRm+Rh2Cr0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":83045},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/canopy.global.js","canopy":{"apiVersion":"2026-09-01","loaderVersion":"6"},"module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./canopy.js":"./dist/canopy.global.js","./package.json":"./package.json"},"private":false,"scripts":{"build":"tsup --config tsup.config.ts","build:npm":"tsup --config tsup.npm.config.ts","prepublishOnly":"npm --prefix ../.. run sdk:build && npm run build:npm"},"_npmUser":{"name":"contactcanopy","email":"contact@canopypay.io"},"jsdelivr":"./dist/canopy.global.js","_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/checkout-sdk_0.5.0_1788783201147_0.29461751589660046","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"@canopypay/checkout-sdk","version":"0.5.1","_id":"@canopypay/checkout-sdk@0.5.1","maintainers":[{"name":"contactcanopy","email":"contact@canopypay.io"}],"dist":{"shasum":"584f618c392ad6b99361e1409312942ea64abe37","tarball":"https://registry.npmjs.org/@canopypay/checkout-sdk/-/checkout-sdk-0.5.1.tgz","fileCount":6,"integrity":"sha512-BEboac77x+gxV8gZQ3afIcfT22dyoqLpt/P1UznPJEmyleRELxJLebpgl6Ge+nBZZ5tPRDsN4M2KgtHzXsQssQ==","signatures":[{"sig":"MEQCIGA9pUSNRCHA6DQeeNLNB5e3kO4cRpLHypnC4LABGCKmAiAtGFaZTuc8AWsPXlziz/sBULx2tjPRmwC9pON8ge9auA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":69762},"main":"./dist/index.cjs","type":"module","_from":"file:/tmp/canopypay-checkout-sdk-0.5.1.tgz","types":"./dist/index.d.ts","unpkg":"./dist/canopy.global.js","canopy":{"apiVersion":"2026-09-01","loaderVersion":"7"},"module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./canopy.js":"./dist/canopy.global.js","./package.json":"./package.json"},"private":false,"scripts":{"build":"tsup --config tsup.config.ts","build:npm":"tsup --config tsup.npm.config.ts","prepublishOnly":"npm --prefix ../.. run sdk:build && npm run build:npm"},"_npmUser":{"name":"contactcanopy","email":"contact@canopypay.io"},"jsdelivr":"./dist/canopy.global.js","_resolved":"/tmp/canopypay-checkout-sdk-0.5.1.tgz","_integrity":"sha512-BEboac77x+gxV8gZQ3afIcfT22dyoqLpt/P1UznPJEmyleRELxJLebpgl6Ge+nBZZ5tPRDsN4M2KgtHzXsQssQ==","_npmVersion":"11.19.0","directories":{},"_nodeVersion":"26.8.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/checkout-sdk_0.5.1_1789047915240_0.16654898973668297","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@canopypay/checkout-sdk","version":"0.6.0","_id":"@canopypay/checkout-sdk@0.6.0","maintainers":[{"name":"contactcanopy","email":"contact@canopypay.io"}],"dist":{"shasum":"78d9a1ab910fb397ea8c07411412aa54247fdea3","tarball":"https://registry.npmjs.org/@canopypay/checkout-sdk/-/checkout-sdk-0.6.0.tgz","fileCount":6,"integrity":"sha512-er1b0mDDpp+aqxBe5ubMC1xXtYyxW2uS3n/PNGBorxDrsu0qFvdv9FCKJJm3+fX+b7lUxDKrub/ccmaeZef18A==","signatures":[{"sig":"MEUCIB8vEXvhQM8CBhi+IUWjrKXVwIAjZWamBaPy4VyuRowRAiEAzqAJBLF/Wx+eBraT82SEX/cBLSVVdSGgU6QWy5OgRaQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":73200},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/canopy.global.js","canopy":{"apiVersion":"2026-09-01","loaderVersion":"8"},"module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./canopy.js":"./dist/canopy.global.js","./package.json":"./package.json"},"private":false,"scripts":{"build":"tsup --config tsup.config.ts","build:npm":"tsup --config tsup.npm.config.ts","prepublishOnly":"npm --prefix ../.. run sdk:build && npm run build:npm"},"_npmUser":{"name":"contactcanopy","email":"contact@canopypay.io"},"jsdelivr":"./dist/canopy.global.js","_npmVersion":"11.19.1","directories":{},"_nodeVersion":"20.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/checkout-sdk_0.6.0_1789053406706_0.15584768793281634","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@canopypay/checkout-sdk","version":"0.7.0","_id":"@canopypay/checkout-sdk@0.7.0","maintainers":[{"name":"contactcanopy","email":"contact@canopypay.io"}],"dist":{"shasum":"07a9c935da3e49d764465ce12a5cf1022f258574","tarball":"https://registry.npmjs.org/@canopypay/checkout-sdk/-/checkout-sdk-0.7.0.tgz","fileCount":6,"integrity":"sha512-gD46CQgkVl5nVsc7wtFkRV8sVbv6s8TOLYH6pRUVcLUw79w4zCFZxB3zf7KLtva+BH3PN1QfeQpOJHMDCObpCw==","signatures":[{"sig":"MEUCIQDW6Jx2u3C9aL8e9kYc2Zvi5mLu5+Vbt5x6KrwnpWHMfAIgUDbgfoufCi8FOADuUmbybMSte1pPO85NC+ekbInwiTE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIGCooLf0+jRLXgsjMaIo4lSwYr/COwHYJWXpBgi0SEIHAiEAmajunRKJb3Vel/e/N8igh1qyMTS6vfNV+x+E6GXsksA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":73531},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/canopy.global.js","canopy":{"apiVersion":"2026-09-01","loaderVersion":"9"},"module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./canopy.js":"./dist/canopy.global.js","./package.json":"./package.json"},"private":false,"scripts":{"build":"tsup --config tsup.config.ts","build:npm":"tsup --config tsup.npm.config.ts","prepublishOnly":"npm --prefix ../.. run sdk:build && npm run build:npm"},"_npmUser":{"name":"contactcanopy","email":"contact@canopypay.io"},"jsdelivr":"./dist/canopy.global.js","_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/checkout-sdk_0.7.0_1789138219862_0.4613431094477167","host":"s3://npm-registry-packages-npm-production"}},"0.7.1":{"name":"@canopypay/checkout-sdk","version":"0.7.1","_id":"@canopypay/checkout-sdk@0.7.1","maintainers":[{"name":"contactcanopy","email":"contact@canopypay.io"}],"dist":{"shasum":"76301eef088d78203ab780bfbec09bd6e0ac8ccb","tarball":"https://registry.npmjs.org/@canopypay/checkout-sdk/-/checkout-sdk-0.7.1.tgz","fileCount":6,"integrity":"sha512-8M+hYo/j8hDxTxIqI8G5AFmc4k58KmP8GaKHQevk5EMrfTywg4RYRJ0x8XT3hGXbiDirRufu9/nAQzJy3t6rcg==","signatures":[{"sig":"MEYCIQD7NZFdElhXEGIOGa1z8oZT44GXL8HUcNKWDwVNLtPDigIhAMWGI2CgMhU52Dq57X8pA1S7qF9Fk+joqoXxEhoDNdsI","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDuSSoQ/0k+oBTbAXURDbGXEaaC7+RuVj9ZGpTQG7IZ1gIhAI6H362qU6ksW5ptoEkXOPOuPLo0sxTI2Oa2/uaHx68+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":73531},"main":"./dist/index.cjs","type":"module","_from":"file:/private/tmp/canopy-sdk-release-artifacts/canopypay-checkout-sdk-0.7.1.tgz","types":"./dist/index.d.ts","unpkg":"./dist/canopy.global.js","canopy":{"apiVersion":"2026-09-01","loaderVersion":"9"},"module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./canopy.js":"./dist/canopy.global.js","./package.json":"./package.json"},"private":false,"scripts":{"build":"tsup --config tsup.config.ts","build:npm":"tsup --config tsup.npm.config.ts","prepublishOnly":"npm --prefix ../.. run sdk:build && npm run build:npm"},"_npmUser":{"name":"contactcanopy","email":"contact@canopypay.io"},"jsdelivr":"./dist/canopy.global.js","_resolved":"/private/tmp/canopy-sdk-release-artifacts/canopypay-checkout-sdk-0.7.1.tgz","_integrity":"sha512-8M+hYo/j8hDxTxIqI8G5AFmc4k58KmP8GaKHQevk5EMrfTywg4RYRJ0x8XT3hGXbiDirRufu9/nAQzJy3t6rcg==","_npmVersion":"11.19.0","directories":{},"_nodeVersion":"26.8.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/checkout-sdk_0.7.1_1789194335439_0.5763983052536952","host":"s3://npm-registry-packages-npm-production"}},"0.7.2":{"_id":"@canopypay/checkout-sdk@0.7.2","dist":{"shasum":"f2ad234fbad650fa111ae6aef86a412c325c4cbf","tarball":"https://registry.npmjs.org/@canopypay/checkout-sdk/-/checkout-sdk-0.7.2.tgz","fileCount":7,"integrity":"sha512-xQ7mYG3OLzP3jQbDcDOFxM5SfryiylzDx2rOYhZA7QGPrNZYSkX+S6Vn8dx/pbTifQ189wnY+eQ7CjdUml9BCA==","signatures":[{"sig":"MEUCIA1BSLNekJ/jbiInKNRMgTq86E7iqydRSXULiNEeL0SRAiEA3NMroSEgVhS/39kmm3+EfBfkpy9YW8qPjo1k9cUx+cw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDfqzxm+pdZrKycgq8lb3KQb4lO+TCqELKMC62tiJsiXAiB5mAJL3R7jy6jJX2Mdo0Jan2NsrsWWv+79n7B5OcYckQ=="}],"unpackedSize":78325},"main":"./dist/index.cjs","name":"@canopypay/checkout-sdk","type":"module","_from":"file:/private/tmp/canopy-sdk-artifacts/canopypay-checkout-sdk-0.7.2.tgz","types":"./dist/index.d.ts","unpkg":"./dist/canopy.global.js","canopy":{"apiVersion":"2026-09-01","loaderVersion":"10"},"module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./canopy.js":"./dist/canopy.global.js","./package.json":"./package.json"},"private":false,"scripts":{"build":"tsup --config tsup.config.ts","build:npm":"tsup --config tsup.npm.config.ts","prepublishOnly":"npm --prefix ../.. run sdk:build && npm run build:npm"},"version":"0.7.2","_npmUser":{"name":"contactcanopy","email":"contact@canopypay.io"},"homepage":"https://www.canopypay.io/guides/embedding","jsdelivr":"./dist/canopy.global.js","keywords":["canopy","deposits","payments","web3","sdk","iframe"],"_resolved":"/private/tmp/canopy-sdk-artifacts/canopypay-checkout-sdk-0.7.2.tgz","_integrity":"sha512-xQ7mYG3OLzP3jQbDcDOFxM5SfryiylzDx2rOYhZA7QGPrNZYSkX+S6Vn8dx/pbTifQ189wnY+eQ7CjdUml9BCA==","_npmVersion":"11.19.0","description":"Browser SDK for Canopy's universal deposit flow, with inline and popup surfaces.","directories":{},"maintainers":[{"name":"contactcanopy","email":"contact@canopypay.io"}],"_nodeVersion":"26.8.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/checkout-sdk_0.7.2_1790408032475_0.38199853175870535"}}},"time":{"created":"2026-09-06T09:30:09.240Z","modified":"2026-09-26T07:33:52.752Z","0.2.0":"2026-09-06T09:30:09.565Z","0.2.1":"2026-09-06T11:05:49.323Z","0.3.0":"2026-09-06T16:57:47.296Z","0.4.0":"2026-09-06T19:58:04.922Z","0.4.1":"2026-09-06T21:08:18.872Z","0.5.0":"2026-09-07T12:13:21.310Z","0.5.1":"2026-09-10T13:45:15.377Z","0.6.0":"2026-09-10T15:16:46.835Z","0.7.0":"2026-09-11T14:50:19.942Z","0.7.1":"2026-09-12T06:25:35.519Z","0.7.2":"2026-09-26T07:33:52.558Z"},"maintainers":[{"name":"contactcanopy","email":"contact@canopypay.io"}],"readme":"# Canopy checkout SDK\n\nThe browser SDK for [Canopy](https://www.canopypay.io/), a universal deposit system for apps. Let users fund from the wallet and network they already use, then settle the net amount to the destination your app specifies.\n\nUse this package to open Canopy's hosted deposit flow inline or in a popup. It includes TypeScript types and works with browser applications in any framework.\n\n[Quickstart](https://www.canopypay.io/quickstart) · [Embedding guide](https://www.canopypay.io/guides/embedding) · [SDK reference](https://www.canopypay.io/sdk/events) · [API reference](https://www.canopypay.io/reference)\n\n## Install\n\n```sh\nnpm install @canopypay/checkout-sdk\n```\n\n## Before mounting\n\n1. Create a Canopy account and obtain a publishable key for your frontend and a secret key for your backend.\n2. Create a payment intent on your backend using the [quickstart](https://www.canopypay.io/quickstart). Return its `intentId` to the browser. Keep the secret key on your server.\n3. For inline rendering, register your app's exact HTTPS origin in the dashboard's **Embed origins** settings. Wildcards are not supported.\n\nSupported funding assets and networks depend on the current Canopy configuration. Use the live documentation and integration responses rather than a fixed list copied into your app.\n\n## Mount inline\n\nAdd a container to your page:\n\n```html\n<div id=\"canopy-deposit\"></div>\n```\n\nRun this in the browser after the container exists. Supply the real intent ID returned by your backend and your publishable key:\n\n```ts\nimport { mount } from '@canopypay/checkout-sdk';\n\nexport function showDeposit(intentId: string, publishableKey: string) {\n  return mount({\n    target: '#canopy-deposit',\n    intentId,\n    merchant: publishableKey,\n    canopyOrigin: 'https://www.canopypay.io',\n    surface: 'auto',\n    onEvent(event) {\n      if (event.type === 'error') {\n        console.error('Canopy deposit error', event.code);\n      }\n    },\n  });\n}\n\n// Keep the returned handle and call handle.destroy() when unmounting the view.\n```\n\n`canopyOrigin` is required for npm integrations. With `surface: 'auto'`, the SDK first attempts an inline iframe and offers a popup button if the frame cannot complete its handshake. Choose `surface: 'iframe'` if your app will provide its own recovery UI.\n\nFor a popup opened from a user gesture, follow the [popup timing guide](https://www.canopypay.io/guides/popups). Popup blockers require the window to be opened synchronously from the click handler.\n\n## Events and confirmation\n\nUse SDK events to update the interface. The SDK's `ready` event reports that the shell has mounted; it does not mean the deposit flow is fully usable. `paid` and `deposit_detected` are advisory browser events.\n\nConfirm and reconcile deposits on your server using the [webhook integration](https://www.canopypay.io/webhooks). Do not credit a user's balance solely because a browser callback or redirect says payment succeeded.\n\nThe returned handle provides `destroy()` for cleanup and `openNow(window)` for the popup flow. See the [SDK reference](https://www.canopypay.io/sdk/events) for event types, themes and options.\n\n## React\n\nThis SDK can be mounted inside a React effect and cleaned up on unmount. For Canopy's native React component, see [`@canopypay/react-checkout`](https://www.npmjs.com/package/@canopypay/react-checkout) and the [embedding guide](https://www.canopypay.io/guides/embedding).\n\n## Official links\n\n- [Canopy website](https://www.canopypay.io/)\n- [Developer documentation](https://www.canopypay.io/docs)\n- [Canopy on X](https://x.com/Canopypay)\n","readmeFilename":"README.md","description":"Browser SDK for Canopy's universal deposit flow, with inline and popup surfaces.","homepage":"https://www.canopypay.io/guides/embedding","keywords":["canopy","deposits","payments","web3","sdk","iframe"]}