{"_id":"@aghanim-sdk/checkout","_rev":"11-013c5825d04aa5837b5aed8e9918970c","name":"@aghanim-sdk/checkout","dist-tags":{"latest":"0.4.3"},"versions":{"0.3.0":{"name":"@aghanim-sdk/checkout","version":"0.3.0","keywords":["aghanim","checkout","payments","games","sdk"],"author":{"name":"Aghanim","email":"dev@aghanim.com"},"license":"MIT","_id":"@aghanim-sdk/checkout@0.3.0","maintainers":[{"name":"aghanim-dev","email":"system@aghanim.com"},{"name":"atugushev","email":"albert@tugushev.ru"}],"homepage":"https://docs.aghanim.com","dist":{"shasum":"85ba39b48d2e9faa3cb0bf17445a12befd9883f8","tarball":"https://registry.npmjs.org/@aghanim-sdk/checkout/-/checkout-0.3.0.tgz","fileCount":21,"integrity":"sha512-Pe1OAvaBItqzchNLswJlp9RfIEiuDOfB03LjvhIDJy47S4pMJeSCHAQqSkVcJiRG1vRpaafD9OIi/VRMpkY22g==","signatures":[{"sig":"MEUCIA2HGPoWsqdnc3iUEt0CD0BBLtE/sPZ0uaAAp4bLoGzKAiEAhYOzNp5XYCnkJ5Mvu9wXUhqHBdw7egr3LXmWmM2RPcc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":677244},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/aghanim-checkout.global.js","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./protocol":{"types":"./dist/protocol/index.d.ts","import":"./dist/protocol/index.js","require":"./dist/protocol/index.cjs"},"./package.json":"./package.json"},"gitHead":"8f7801a14bf3ad92dfa9ee4e79d4b92c22a46cfb","private":false,"scripts":{"tsc":"tsc --noEmit","lint":"eslint src examples --report-unused-disable-directives --max-warnings 0","build":"tsup","format":"prettier . --check --ignore-path .prettierignore","example":"bun examples/dev.ts","lint:fix":"eslint --fix src examples","format:fix":"prettier . --write --ignore-path .prettierignore","prepublishOnly":"bun run lint && bun run tsc && bun run build"},"_npmUser":{"name":"aghanim-dev","email":"system@aghanim.com"},"jsdelivr":"./dist/aghanim-checkout.global.js","_npmVersion":"10.9.2","description":"Aghanim Checkout JS SDK — accept payments through the Aghanim checkout without leaving your web game","directories":{},"sideEffects":false,"_nodeVersion":"22.16.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","eslint":"^9.39.2","globals":"^17.4.0","prettier":"^3.7.4","@eslint/js":"^9.39.2","typescript":"^5.9.2","@types/node":"^26.2.0","typescript-eslint":"^8.49.0","eslint-config-prettier":"^10.1.8","@ianvs/prettier-plugin-sort-imports":"^4.6.2"},"_npmOperationalInternal":{"tmp":"tmp/checkout_0.3.0_1786627309910_0.34629876274992943","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@aghanim-sdk/checkout","version":"0.3.1","keywords":["aghanim","checkout","payments","games","sdk"],"author":{"name":"Aghanim","email":"dev@aghanim.com"},"license":"MIT","_id":"@aghanim-sdk/checkout@0.3.1","maintainers":[{"name":"aghanim-dev","email":"system@aghanim.com"},{"name":"atugushev","email":"albert@tugushev.ru"}],"homepage":"https://docs.aghanim.com","dist":{"shasum":"c6a130b22883887ab2663ba6e5fa03f1dbb8ca9b","tarball":"https://registry.npmjs.org/@aghanim-sdk/checkout/-/checkout-0.3.1.tgz","fileCount":21,"integrity":"sha512-dzyCFWKrcbXFL6RfmkJHRmQCDD5/aZbRYEzGmz3yGcpEUb45YGygWFb9FKbMcl1wyQLshxhQOpKpOKb1VpyoCw==","signatures":[{"sig":"MEQCIGQ8OYJxc8NqdYe6NiMCIsQHB9Wos6MaywJXGItaYn5+AiACS74xyk+H4HLXWqQKYVrvpXEptC+NF5lNlwpe3K4jBg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":676819},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/aghanim-checkout.global.js","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./protocol":{"types":"./dist/protocol/index.d.ts","import":"./dist/protocol/index.js","require":"./dist/protocol/index.cjs"},"./package.json":"./package.json"},"gitHead":"ca3948b42f85e59b2d5ba54a170664a78fe4a52b","private":false,"scripts":{"tsc":"tsc --noEmit","lint":"eslint src examples --report-unused-disable-directives --max-warnings 0","build":"tsup","format":"prettier . --check --ignore-path .prettierignore","example":"bun examples/dev.ts","lint:fix":"eslint --fix src examples","format:fix":"prettier . --write --ignore-path .prettierignore","prepublishOnly":"bun run lint && bun run tsc && bun run build"},"_npmUser":{"name":"aghanim-dev","email":"system@aghanim.com"},"jsdelivr":"./dist/aghanim-checkout.global.js","_npmVersion":"10.9.2","description":"Aghanim Checkout JS SDK — accept payments through the Aghanim checkout without leaving your web game","directories":{},"sideEffects":false,"_nodeVersion":"22.16.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","eslint":"^9.39.2","globals":"^17.4.0","prettier":"^3.7.4","@eslint/js":"^9.39.2","typescript":"^5.9.2","@types/node":"^26.2.0","typescript-eslint":"^8.49.0","eslint-config-prettier":"^10.1.8","@ianvs/prettier-plugin-sort-imports":"^4.6.2"},"_npmOperationalInternal":{"tmp":"tmp/checkout_0.3.1_1786628189952_0.4044142805923203","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@aghanim-sdk/checkout","version":"0.3.2","keywords":["aghanim","checkout","payments","games","sdk"],"author":{"name":"Aghanim","email":"dev@aghanim.com"},"license":"MIT","_id":"@aghanim-sdk/checkout@0.3.2","maintainers":[{"name":"aghanim-dev","email":"system@aghanim.com"},{"name":"atugushev","email":"albert@tugushev.ru"}],"homepage":"https://docs.aghanim.com","dist":{"shasum":"f8f8f5d54f678ee80de256b2794a0c5e7555bf70","tarball":"https://registry.npmjs.org/@aghanim-sdk/checkout/-/checkout-0.3.2.tgz","fileCount":21,"integrity":"sha512-XjJUggx8d7a5WlSoraShYMW0jNIImDkpHrpEszRRxavoHBeAv4+/6nX7V40LucysspSf3z+fObm8qUtVxKBhfA==","signatures":[{"sig":"MEQCIB8RcqVHGa/p4SFT6+ZRKKx+gLhlnuT3qhgrhYnEst0JAiAOvano84xxaVTCEdJAKgJgq+vnAYJq5USQUYWviwHL+Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":681745},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/aghanim-checkout.global.js","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./protocol":{"types":"./dist/protocol/index.d.ts","import":"./dist/protocol/index.js","require":"./dist/protocol/index.cjs"},"./package.json":"./package.json"},"gitHead":"0aec08077a173a8075614a6760eb5bb243ab4a75","private":false,"scripts":{"tsc":"tsc --noEmit","lint":"eslint src examples --report-unused-disable-directives --max-warnings 0","build":"tsup","format":"prettier . --check --ignore-path .prettierignore","example":"bun examples/dev.ts","lint:fix":"eslint --fix src examples","format:fix":"prettier . --write --ignore-path .prettierignore","prepublishOnly":"bun run lint && bun run tsc && bun run build"},"_npmUser":{"name":"aghanim-dev","email":"system@aghanim.com"},"jsdelivr":"./dist/aghanim-checkout.global.js","_npmVersion":"10.9.2","description":"Aghanim Checkout JS SDK — accept payments through the Aghanim checkout without leaving your web game","directories":{},"sideEffects":false,"_nodeVersion":"22.16.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","eslint":"^9.39.2","globals":"^17.4.0","prettier":"^3.7.4","@eslint/js":"^9.39.2","typescript":"^5.9.2","@types/node":"^26.2.0","typescript-eslint":"^8.49.0","eslint-config-prettier":"^10.1.8","@ianvs/prettier-plugin-sort-imports":"^4.6.2"},"_npmOperationalInternal":{"tmp":"tmp/checkout_0.3.2_1786892776004_0.2885203357902697","host":"s3://npm-registry-packages-npm-production"}},"0.3.3":{"name":"@aghanim-sdk/checkout","version":"0.3.3","keywords":["aghanim","checkout","payments","games","sdk"],"author":{"name":"Aghanim","email":"dev@aghanim.com"},"license":"MIT","_id":"@aghanim-sdk/checkout@0.3.3","maintainers":[{"name":"aghanim-dev","email":"system@aghanim.com"},{"name":"atugushev","email":"albert@tugushev.ru"}],"homepage":"https://docs.aghanim.com","dist":{"shasum":"4c197d2d04c2540e1df77528db4280d46c365f00","tarball":"https://registry.npmjs.org/@aghanim-sdk/checkout/-/checkout-0.3.3.tgz","fileCount":21,"integrity":"sha512-nL4JxiPOVt+IIL864XTaNA0XzpeW0bHNXOGDxJWDKTbYU124MakSsnYSpyt7gqmMmES1hnKHOwMfljREGo8TJA==","signatures":[{"sig":"MEUCIQCeOYZVrsX4vFQrh+o92XAwZqVX0maVVy9ubxyt3KVJ5AIgaonHg6zJeGVCQXxzi9sZU0lEsrkHikeFjb9SoPjBhrg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":693002},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/aghanim-checkout.global.js","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./protocol":{"types":"./dist/protocol/index.d.ts","import":"./dist/protocol/index.js","require":"./dist/protocol/index.cjs"},"./package.json":"./package.json"},"gitHead":"bc3d92cb28a629a2270a6823d0c7a4c1e782e753","private":false,"scripts":{"tsc":"tsc --noEmit","lint":"eslint src examples --report-unused-disable-directives --max-warnings 0","build":"tsup","format":"prettier . --check --ignore-path .prettierignore","example":"bun examples/dev.ts","lint:fix":"eslint --fix src examples","format:fix":"prettier . --write --ignore-path .prettierignore","prepublishOnly":"bun run lint && bun run tsc && bun run build"},"_npmUser":{"name":"aghanim-dev","email":"system@aghanim.com"},"jsdelivr":"./dist/aghanim-checkout.global.js","_npmVersion":"10.9.2","description":"Aghanim Checkout JS SDK — accept payments through the Aghanim checkout without leaving your web game","directories":{},"sideEffects":false,"_nodeVersion":"22.16.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","eslint":"^9.39.2","globals":"^17.4.0","prettier":"^3.7.4","@eslint/js":"^9.39.2","typescript":"^5.9.2","@types/node":"^26.2.0","typescript-eslint":"^8.49.0","eslint-config-prettier":"^10.1.8","@ianvs/prettier-plugin-sort-imports":"^4.6.2"},"_npmOperationalInternal":{"tmp":"tmp/checkout_0.3.3_1787001023463_0.9813856928976497","host":"s3://npm-registry-packages-npm-production"}},"0.3.4":{"name":"@aghanim-sdk/checkout","version":"0.3.4","keywords":["aghanim","checkout","payments","games","sdk"],"author":{"name":"Aghanim","email":"dev@aghanim.com"},"license":"MIT","_id":"@aghanim-sdk/checkout@0.3.4","maintainers":[{"name":"aghanim-dev","email":"system@aghanim.com"},{"name":"atugushev","email":"albert@tugushev.ru"}],"homepage":"https://docs.aghanim.com","dist":{"shasum":"82c7f6c184f1b6456f9bcbaae63d3ffdff499201","tarball":"https://registry.npmjs.org/@aghanim-sdk/checkout/-/checkout-0.3.4.tgz","fileCount":21,"integrity":"sha512-biaQinvpR1WOVNW8E+AdmJUZogtpKgGhtiV4qiVdIrh48eOBttx068K92RGcHBImmcS44d+YwSeV3v4KtN8M7Q==","signatures":[{"sig":"MEYCIQDwVJZ5McE2dc2i6ZF+CCoUSWCgVT3XFrfjMtby9ndh2gIhAO3g2HUkGYtVI8TKrtwzpdDqbmMPgQAvfSre3FquoUkI","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":714892},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/aghanim-checkout.global.js","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./protocol":{"types":"./dist/protocol/index.d.ts","import":"./dist/protocol/index.js","require":"./dist/protocol/index.cjs"},"./package.json":"./package.json"},"gitHead":"ec62d680a390fc1e54d7abacd49251872fa21727","private":false,"scripts":{"tsc":"tsc --noEmit","lint":"eslint src examples --report-unused-disable-directives --max-warnings 0","build":"tsup","format":"prettier . --check --ignore-path .prettierignore","example":"bun examples/dev.ts","lint:fix":"eslint --fix src examples","format:fix":"prettier . --write --ignore-path .prettierignore","prepublishOnly":"bun run lint && bun run tsc && bun run build"},"_npmUser":{"name":"aghanim-dev","email":"system@aghanim.com"},"jsdelivr":"./dist/aghanim-checkout.global.js","_npmVersion":"10.9.2","description":"Aghanim Checkout JS SDK — accept payments through the Aghanim checkout without leaving your web game","directories":{},"sideEffects":false,"_nodeVersion":"22.16.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","eslint":"^9.39.2","globals":"^17.4.0","prettier":"^3.7.4","@eslint/js":"^9.39.2","typescript":"^5.9.2","@types/node":"^26.2.0","typescript-eslint":"^8.49.0","eslint-config-prettier":"^10.1.8","@ianvs/prettier-plugin-sort-imports":"^4.6.2"},"_npmOperationalInternal":{"tmp":"tmp/checkout_0.3.4_1787003540807_0.7039721194483373","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@aghanim-sdk/checkout","version":"0.4.0","keywords":["aghanim","checkout","payments","games","sdk"],"author":{"name":"Aghanim","email":"dev@aghanim.com"},"license":"MIT","_id":"@aghanim-sdk/checkout@0.4.0","maintainers":[{"name":"aghanim-dev","email":"system@aghanim.com"},{"name":"atugushev","email":"albert@tugushev.ru"}],"homepage":"https://docs.aghanim.com/checkout/javascript-sdk","bugs":{"url":"https://github.com/aghanimdotcom/checkout-js-sdk/issues"},"dist":{"shasum":"1704914de98477e03ff83befed1d7f322f783993","tarball":"https://registry.npmjs.org/@aghanim-sdk/checkout/-/checkout-0.4.0.tgz","fileCount":21,"integrity":"sha512-5xSupwKpMMns+OfdBJMEKThFhfGtkOMWmoUo/8aRn5nOR7zd4O9esKyZwIpKLhEB4EZRF8RPzT9s1JcOGrygxg==","signatures":[{"sig":"MEUCIFpbkWQ2vAPQd1QMGEjEZUbPXL327Fg2ria//tF/Op2UAiEA6fQB7Z9HmasFtAo6S+Nt1FdcSW6gFYQDKvT68l0rg7w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":720860},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/aghanim-checkout.global.js","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./protocol":{"types":"./dist/protocol/index.d.ts","import":"./dist/protocol/index.js","require":"./dist/protocol/index.cjs"},"./package.json":"./package.json"},"gitHead":"2ad59388d42135139b2b8d0d5a2b58b249e89b55","private":false,"scripts":{"tsc":"tsc --noEmit","lint":"eslint src examples --report-unused-disable-directives --max-warnings 0","build":"tsup","format":"prettier . --check --ignore-path .prettierignore","example":"bun examples/dev.ts","lint:fix":"eslint --fix src examples","format:fix":"prettier . --write --ignore-path .prettierignore","prepublishOnly":"bun run lint && bun run tsc && bun run build"},"_npmUser":{"name":"aghanim-dev","email":"system@aghanim.com"},"jsdelivr":"./dist/aghanim-checkout.global.js","repository":{"url":"git+https://github.com/aghanimdotcom/checkout-js-sdk.git","type":"git"},"_npmVersion":"10.9.2","description":"Aghanim Checkout JS SDK — accept payments through the Aghanim checkout without leaving your web game","directories":{},"sideEffects":false,"_nodeVersion":"22.16.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","eslint":"^9.39.2","globals":"^17.4.0","prettier":"^3.7.4","@eslint/js":"^9.39.2","typescript":"^5.9.2","@types/node":"^26.2.0","typescript-eslint":"^8.49.0","eslint-config-prettier":"^10.1.8","@ianvs/prettier-plugin-sort-imports":"^4.6.2"},"_npmOperationalInternal":{"tmp":"tmp/checkout_0.4.0_1787081627995_0.6501108264378646","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@aghanim-sdk/checkout","version":"0.4.1","keywords":["aghanim","checkout","payments","games","sdk"],"author":{"name":"Aghanim","email":"dev@aghanim.com"},"license":"MIT","_id":"@aghanim-sdk/checkout@0.4.1","maintainers":[{"name":"aghanim-dev","email":"system@aghanim.com"},{"name":"atugushev","email":"albert@tugushev.ru"}],"homepage":"https://docs.aghanim.com/checkout/javascript-sdk","dist":{"shasum":"602e2f938bf887afc3eb58c8292384e5d745ddef","tarball":"https://registry.npmjs.org/@aghanim-sdk/checkout/-/checkout-0.4.1.tgz","fileCount":21,"integrity":"sha512-SQ8Wm5/gOpQT3E1HUwbh1eKSSBjQUTDsK3YRpZLpCWnMyTe4dW2cvelWCuJ8yxDus7xHP0rSGdNQ5jVUk5j4rQ==","signatures":[{"sig":"MEUCIQDrFpVNHfzCMzFTizdgiiJDjXVxnZsf6TqHoOj+6M6qCAIgbTk2SABd71PM6jkEzc8sC6ExiIKwyvZJ5PuOxOTmt0Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":720662},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/aghanim-checkout.global.js","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./protocol":{"types":"./dist/protocol/index.d.ts","import":"./dist/protocol/index.js","require":"./dist/protocol/index.cjs"},"./package.json":"./package.json"},"gitHead":"e0d8704540f7010919f3ffde2dbceba75a93f976","private":false,"scripts":{"tsc":"tsc --noEmit","lint":"eslint src examples --report-unused-disable-directives --max-warnings 0","build":"tsup","format":"prettier . --check --ignore-path .prettierignore","example":"bun examples/dev.ts","lint:fix":"eslint --fix src examples","format:fix":"prettier . --write --ignore-path .prettierignore","prepublishOnly":"bun run lint && bun run tsc && bun run build"},"_npmUser":{"name":"aghanim-dev","email":"system@aghanim.com"},"jsdelivr":"./dist/aghanim-checkout.global.js","_npmVersion":"10.9.2","description":"Aghanim Checkout JS SDK — accept payments through the Aghanim checkout without leaving your web game","directories":{},"sideEffects":false,"_nodeVersion":"22.16.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","eslint":"^9.39.2","globals":"^17.4.0","prettier":"^3.7.4","@eslint/js":"^9.39.2","typescript":"^5.9.2","@types/node":"^26.2.0","typescript-eslint":"^8.49.0","eslint-config-prettier":"^10.1.8","@ianvs/prettier-plugin-sort-imports":"^4.6.2"},"_npmOperationalInternal":{"tmp":"tmp/checkout_0.4.1_1787081929101_0.7140944488787906","host":"s3://npm-registry-packages-npm-production"}},"0.4.2":{"name":"@aghanim-sdk/checkout","version":"0.4.2","keywords":["aghanim","checkout","payments","games","sdk"],"author":{"name":"Aghanim","email":"dev@aghanim.com"},"license":"MIT","_id":"@aghanim-sdk/checkout@0.4.2","maintainers":[{"name":"aghanim-dev","email":"system@aghanim.com"},{"name":"atugushev","email":"albert@tugushev.ru"}],"homepage":"https://docs.aghanim.com/checkout/javascript-sdk","dist":{"shasum":"d2a1c8146cfc0b33c780437b9eaba9b04bb90d03","tarball":"https://registry.npmjs.org/@aghanim-sdk/checkout/-/checkout-0.4.2.tgz","fileCount":21,"integrity":"sha512-1MCpfLi4DM2/RIVm9QFsk7gJ4qUBBfV03dgtQLWJUEQB8hKT/HMsC7x7qtA0cbkBoDrkpogeXrG6/4oamlm5xg==","signatures":[{"sig":"MEQCIDxt3yEKQxKsHcfUlKQGhp48PmGZUHbEC3oPQ4pA88f1AiBhXgOzaXe6MWaNMT14CUDwKBXYQdgWZDjj1r7tqeC/Dg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":717071},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/aghanim-checkout.global.js","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./protocol":{"types":"./dist/protocol/index.d.ts","import":"./dist/protocol/index.js","require":"./dist/protocol/index.cjs"},"./package.json":"./package.json"},"gitHead":"560fe4c4ac66017c3c827d87774781917c57dd61","private":false,"scripts":{"tsc":"tsc --noEmit","auth":"npm login --auth-type=web","lint":"eslint src examples scripts --report-unused-disable-directives --max-warnings 0","build":"tsup","format":"prettier . --check --ignore-path .prettierignore","whoami":"npm whoami","example":"bun examples/dev.ts","release":"bun scripts/release.ts","lint:fix":"eslint --fix src examples scripts","format:fix":"prettier . --write --ignore-path .prettierignore","prepublishOnly":"bun run lint && bun run tsc && bun run build"},"_npmUser":{"name":"aghanim-dev","email":"system@aghanim.com"},"jsdelivr":"./dist/aghanim-checkout.global.js","_npmVersion":"10.9.2","description":"Aghanim Checkout JS SDK — accept payments through the Aghanim checkout without leaving your web game","directories":{},"sideEffects":false,"_nodeVersion":"22.16.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","eslint":"^9.39.2","globals":"^17.4.0","prettier":"^3.7.4","@eslint/js":"^9.39.2","typescript":"^5.9.2","@types/node":"^26.2.0","typescript-eslint":"^8.49.0","eslint-config-prettier":"^10.1.8","@ianvs/prettier-plugin-sort-imports":"^4.6.2"},"_npmOperationalInternal":{"tmp":"tmp/checkout_0.4.2_1787577276010_0.9112124162960298","host":"s3://npm-registry-packages-npm-production"}},"0.4.3":{"name":"@aghanim-sdk/checkout","version":"0.4.3","description":"Aghanim Checkout JS SDK — accept payments through the Aghanim checkout without leaving your web game","private":false,"type":"module","sideEffects":false,"main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./protocol":{"types":"./dist/protocol/index.d.ts","import":"./dist/protocol/index.js","require":"./dist/protocol/index.cjs"},"./package.json":"./package.json"},"unpkg":"./dist/aghanim-checkout.global.js","jsdelivr":"./dist/aghanim-checkout.global.js","scripts":{"build":"tsup","tsc":"tsc --noEmit","lint":"eslint src examples scripts --report-unused-disable-directives --max-warnings 0","lint:fix":"eslint --fix src examples scripts","format":"prettier . --check --ignore-path .prettierignore","format:fix":"prettier . --write --ignore-path .prettierignore","example":"bun examples/dev.ts","auth":"npm login --auth-type=web","whoami":"npm whoami","release":"bun scripts/release.ts","prepublishOnly":"bun run lint && bun run tsc && bun run build"},"keywords":["aghanim","checkout","payments","games","sdk"],"author":{"name":"Aghanim","email":"dev@aghanim.com"},"license":"MIT","homepage":"https://docs.aghanim.com/checkout/javascript-sdk","devDependencies":{"@eslint/js":"^9.39.2","@ianvs/prettier-plugin-sort-imports":"^4.6.2","@types/node":"^26.2.0","eslint":"^9.39.2","eslint-config-prettier":"^10.1.8","globals":"^17.4.0","prettier":"^3.7.4","tsup":"^8.3.0","typescript":"^5.9.2","typescript-eslint":"^8.49.0"},"dependencies":{},"publishConfig":{"access":"public"},"_id":"@aghanim-sdk/checkout@0.4.3","gitHead":"3c110f25a19290baa14bb7696cc07d67910bbbac","_nodeVersion":"22.16.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-qP1fl3SGO6Kl0MKXNaQQMtlaCZ8LZWFmPId9+Px31IKPNJKzORio43hcsGVovkBH6rJaXimMPNB6HqG56cc7Aw==","shasum":"0f9501322ccc778e8bb418b7d015acca629cdc63","tarball":"https://registry.npmjs.org/@aghanim-sdk/checkout/-/checkout-0.4.3.tgz","fileCount":21,"unpackedSize":717300,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAopv0ijo8UloNn5gXFCHHfcEQmSMrPlB/Wkl18AOVRCAiBZvQlE4I1uCqXDjJZ46QmoteAxKdiI+C7BOpIrBqF0RA=="}]},"_npmUser":{"name":"aghanim-dev","email":"system@aghanim.com"},"directories":{},"maintainers":[{"name":"aghanim-dev","email":"system@aghanim.com"},{"name":"atugushev","email":"albert@tugushev.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/checkout_0.4.3_1787582319730_0.15507039294928782"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-13T13:21:49.690Z","modified":"2026-08-24T14:38:40.100Z","0.3.0":"2026-08-13T13:21:50.059Z","0.3.1":"2026-08-13T13:36:30.150Z","0.3.2":"2026-08-16T15:06:16.217Z","0.3.3":"2026-08-17T21:10:23.606Z","0.3.4":"2026-08-17T21:52:21.013Z","0.4.0":"2026-08-18T19:33:48.195Z","0.5.0":"2026-08-18T19:36:52.401Z","0.4.1":"2026-08-18T19:38:49.254Z","0.4.2":"2026-08-24T13:14:36.212Z","0.4.3":"2026-08-24T14:38:39.893Z"},"author":{"name":"Aghanim","email":"dev@aghanim.com"},"license":"MIT","homepage":"https://docs.aghanim.com/checkout/javascript-sdk","keywords":["aghanim","checkout","payments","games","sdk"],"description":"Aghanim Checkout JS SDK — accept payments through the Aghanim checkout without leaving your web game","maintainers":[{"name":"aghanim-dev","email":"system@aghanim.com"},{"name":"atugushev","email":"albert@tugushev.ru"}],"readme":"# @aghanim-sdk/checkout\n\nAccept payments in your web game through the [Aghanim](https://aghanim.com) checkout — no page leave, no server-side runtime.\n\n📖 **Full guide: [docs.aghanim.com/checkout/javascript-sdk](https://docs.aghanim.com/checkout/javascript-sdk)**\n\n## Install\n\n```bash\nnpm install @aghanim-sdk/checkout\n```\n\nOr via script tag (exposes `window.Aghanim`):\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@aghanim-sdk/checkout/dist/aghanim-checkout.global.js\"></script>\n```\n\n## Quick start\n\n```ts\nimport { Aghanim } from \"@aghanim-sdk/checkout\";\n\n// Key from Dashboard → Integration → API keys.\nconst aghanim = Aghanim.init({ apiKey: \"sdk_...\" });\n\n// As soon as your game knows who the player is;\n// clearPlayerId() on sign-out.\naghanim.setPlayerId(\"player_1\");\n\nconst order = await aghanim.orders.create({ items: [{ sku: \"gems-100\" }] });\nconst checkout = await aghanim.openCheckout(order);\n\ncheckout\n  .onPaid(() => showSuccessUI())\n  .onClosed(() => game.resume());\n```\n\nOrders created by this SDK are consumable. `paid` is a UX signal only: grant items from the\n`item.add` webhook, or drain the unconsumed list on boot, on resume, and after `paid`.\n\n```ts\n// Always grant first — consuming the same order twice fails.\nfor (const order of await aghanim.orders.unconsumedDetails()) {\n  grantToPlayer(order.items);\n  await aghanim.orders.consume(order.id);\n}\n```\n\nAlready creating orders server-side? Pass the opaque `checkout_url` straight through:\n\n```ts\nconst checkout = await aghanim.openCheckout(checkoutUrlFromYourBackend);\n```\n\n## Develop without a backend\n\n```ts\nconst aghanim = Aghanim.init({\n  apiKey: \"sdk_mock\",\n  mock: { scenario: \"instant_success\" },\n});\n```\n\nScenarios (`instant_success`, `open_external`, `three_ds`, `failure`, `poll_fallback`,\n`unconsumed`) play scripted events through the real parsing pipeline. See `examples/`.\n\n## Reference\n\n- Presentation modes (`overlay`, `embedded`, `external`, `auto`), events, options, granting:\n  [docs.aghanim.com/checkout/javascript-sdk](https://docs.aghanim.com/checkout/javascript-sdk)\n- Wire-level types only: `import type { OrderRead } from \"@aghanim-sdk/checkout/protocol\"`\n- Evergreen browsers (ES2020), zero runtime dependencies.\n","readmeFilename":"README.md"}