{"_id":"@anpayeras/agnostic-checkout","_rev":"13-d4c642ee1945f3e322c0a601a279c522","name":"@anpayeras/agnostic-checkout","dist-tags":{"latest":"0.1.11"},"versions":{"0.1.0":{"name":"@anpayeras/agnostic-checkout","version":"0.1.0","keywords":["react","checkout","payment","sdk","theming","plugins"],"license":"MIT","_id":"@anpayeras/agnostic-checkout@0.1.0","maintainers":[{"name":"anpayeras","email":"payerasangel@gmail.com"}],"dist":{"shasum":"95c8f767e39a22ac66ad2dbab4e04f9db77280e4","tarball":"https://registry.npmjs.org/@anpayeras/agnostic-checkout/-/agnostic-checkout-0.1.0.tgz","fileCount":8,"integrity":"sha512-K2bUIP5vwVczQDYAlh5ZvtCeSIz1zZK8cKCKiImupjaZ5t/7n2qFcxEG733VJlcxiEwKAMkg5dzTF8dNP9DdVg==","signatures":[{"sig":"MEQCIDdRBk40X/hTH4ggQaPWGOSx5qIyIL+aL7V6qHjBMC55AiAUURnBQe6V1xZ/iCTme9HF+peJHkfE83C61IOXQzVPVA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":394107},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./styles":"./src/styles/index.css"},"gitHead":"a0d9a2aba2223c426b12d69cc0e552d9d2af6db9","scripts":{"lint":"eslint src/","build":"tsup src/index.ts --format esm,cjs --dts --sourcemap","typecheck":"tsc --noEmit"},"_npmUser":{"name":"anpayeras","email":"payerasangel@gmail.com"},"_npmVersion":"10.5.2","description":"Provider-agnostic, embeddable React checkout component with dynamic theming and plugin architecture","directories":{},"sideEffects":false,"_nodeVersion":"18.19.0","dependencies":{"clsx":"^2.1.1","lucide-react":"^0.575.0","tailwind-merge":"^3.5.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^5.9.3","@types/react":"^19.2.7","@types/react-dom":"^19.2.3"},"peerDependencies":{"react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/agnostic-checkout_0.1.0_1773087943590_0.9455110106154998","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@anpayeras/agnostic-checkout","version":"0.1.1","keywords":["react","checkout","payment","sdk","theming","plugins"],"license":"MIT","_id":"@anpayeras/agnostic-checkout@0.1.1","maintainers":[{"name":"anpayeras","email":"payerasangel@gmail.com"}],"dist":{"shasum":"5252fc3bcdcabbc49f02088f56033dc9147c7b67","tarball":"https://registry.npmjs.org/@anpayeras/agnostic-checkout/-/agnostic-checkout-0.1.1.tgz","fileCount":6,"integrity":"sha512-hlm+cQY3H/YRC4Db3TJyME5lJ6iSAXyBA6H7PwQX9hqCUKWfEEacM+KKu2TocQ3lg/WnItFa4f+baWoef8I77Q==","signatures":[{"sig":"MEQCIGklS20gqSWoZlSEWbxDJVOMEmMAq0v0v1PavBRayD+2AiAZWWN4uX65NAIMSXGiGzN9T+pDfiBxYKi73+4JzZfOYQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":267212},"main":"./dist/index.cjs","type":"module","style":"./dist/style.css","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./styles":"./dist/style.css"},"gitHead":"a0d9a2aba2223c426b12d69cc0e552d9d2af6db9","scripts":{"lint":"eslint src/","build":"vite build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"anpayeras","email":"payerasangel@gmail.com"},"_npmVersion":"10.9.3","description":"Provider-agnostic, embeddable React checkout component with dynamic theming and plugin architecture","directories":{},"sideEffects":false,"_nodeVersion":"22.20.0","dependencies":{"clsx":"^2.1.1","lucide-react":"^0.575.0","tailwind-merge":"^3.5.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.4.21","postcss":"^8.5.8","typescript":"^5.9.3","tailwindcss":"^3.4.19","@types/react":"^19.2.7","autoprefixer":"^10.4.27","vite-plugin-dts":"^4.5.4","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^4.7.0"},"peerDependencies":{"react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/agnostic-checkout_0.1.1_1773090894754_0.5008182772306251","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@anpayeras/agnostic-checkout","version":"0.1.2","keywords":["react","checkout","payment","sdk","theming","plugins"],"license":"MIT","_id":"@anpayeras/agnostic-checkout@0.1.2","maintainers":[{"name":"anpayeras","email":"payerasangel@gmail.com"}],"dist":{"shasum":"1b1b069e4c1ee76769ef64ea4f195a909b9b36d9","tarball":"https://registry.npmjs.org/@anpayeras/agnostic-checkout/-/agnostic-checkout-0.1.2.tgz","fileCount":75,"integrity":"sha512-bKgE1Z2eRox//f/OFEZgJHgbyhts56PnyftXSQQa5usgPKL8suizIPAvuQWsb0cQyMrYeVD7mqqSE0bZZyBdPw==","signatures":[{"sig":"MEQCICksJCZ3nPMano442WUU5FuUGDWoCRPQvMJkCfg5StuvAiBIXCRjK6LTiA/deaSRZuIMHKfgIIzEdkHOhdElNRBHcg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":297864},"main":"./dist/index.cjs","type":"module","style":"./dist/style.css","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./styles":"./dist/style.css","./style.css":"./dist/style.css"},"gitHead":"a0d9a2aba2223c426b12d69cc0e552d9d2af6db9","scripts":{"lint":"eslint src/","build":"vite build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"anpayeras","email":"payerasangel@gmail.com"},"_npmVersion":"10.9.3","description":"Provider-agnostic, embeddable React checkout component with dynamic theming and plugin architecture","directories":{},"sideEffects":["./dist/style.css"],"_nodeVersion":"22.20.0","dependencies":{"clsx":"^2.1.1","lucide-react":"^0.575.0","tailwind-merge":"^3.5.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.4.21","postcss":"^8.5.8","typescript":"^5.9.3","tailwindcss":"^3.4.19","@types/react":"^19.2.7","autoprefixer":"^10.4.27","vite-plugin-dts":"^4.5.4","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^4.7.0"},"peerDependencies":{"react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/agnostic-checkout_0.1.2_1773091806785_0.857270203839499","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@anpayeras/agnostic-checkout","version":"0.1.3","keywords":["react","checkout","payment","sdk","theming","plugins"],"license":"MIT","_id":"@anpayeras/agnostic-checkout@0.1.3","maintainers":[{"name":"anpayeras","email":"payerasangel@gmail.com"}],"dist":{"shasum":"197d4787f288c7507256f1f90f414aee11905855","tarball":"https://registry.npmjs.org/@anpayeras/agnostic-checkout/-/agnostic-checkout-0.1.3.tgz","fileCount":75,"integrity":"sha512-TARx/TKmIUADIkT6eifnBa8oGTeEhGyMYP4L0LmXrzPetcRhockenW5EstP/kieivOWSWw/KBOlnCiu1KHPi+A==","signatures":[{"sig":"MEUCIEI0nOxDa/tVKKNVqM3y8mnF1KX6OOxWv6RX/7dPSoLDAiEA8o33h1r/WGML9C57ULBDAmRrDbYMc2ZKWbVttDebpAg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":281534},"main":"./dist/index.cjs","type":"module","style":"./dist/style.css","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./styles":"./dist/style.css","./style.css":"./dist/style.css"},"gitHead":"a0d9a2aba2223c426b12d69cc0e552d9d2af6db9","scripts":{"lint":"eslint src/","build":"vite build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"anpayeras","email":"payerasangel@gmail.com"},"_npmVersion":"10.9.3","description":"Provider-agnostic, embeddable React checkout component with dynamic theming and plugin architecture","directories":{},"sideEffects":["./dist/style.css"],"_nodeVersion":"22.20.0","dependencies":{"clsx":"^2.1.1","lucide-react":"^0.575.0","tailwind-merge":"^3.5.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.4.21","postcss":"^8.5.8","typescript":"^5.9.3","tailwindcss":"^3.4.19","@types/react":"^19.2.7","autoprefixer":"^10.4.27","vite-plugin-dts":"^4.5.4","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^4.7.0"},"peerDependencies":{"react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/agnostic-checkout_0.1.3_1773092738282_0.21830007357370973","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@anpayeras/agnostic-checkout","version":"0.1.4","keywords":["react","checkout","payment","sdk","theming","plugins"],"license":"MIT","_id":"@anpayeras/agnostic-checkout@0.1.4","maintainers":[{"name":"anpayeras","email":"payerasangel@gmail.com"}],"dist":{"shasum":"027626c124fc64d5df9f70b31d697afb389414de","tarball":"https://registry.npmjs.org/@anpayeras/agnostic-checkout/-/agnostic-checkout-0.1.4.tgz","fileCount":75,"integrity":"sha512-Jao4JHnI4EQdS+nbTVrh/a3NlCpZiwvTiBkb0PiNyrptD6tNoiRAHcZOK/6VtW9UjJa5i80Z7hbqB7dLUqg94A==","signatures":[{"sig":"MEUCIF6CDm8PZHtcNa7qrqwPy3UALFvQ/wafoTG90tVcqHNIAiEA8DNQMVLh9e1/mqv/xAfuwwDDAPXvmU2CKpYmtUodWFE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":287865},"main":"./dist/index.cjs","type":"module","style":"./dist/style.css","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./styles":"./dist/style.css","./style.css":"./dist/style.css"},"gitHead":"a0d9a2aba2223c426b12d69cc0e552d9d2af6db9","scripts":{"lint":"eslint src/","build":"vite build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"anpayeras","email":"payerasangel@gmail.com"},"_npmVersion":"10.9.3","description":"Provider-agnostic, embeddable React checkout component with dynamic theming and plugin architecture","directories":{},"sideEffects":["./dist/style.css"],"_nodeVersion":"22.20.0","dependencies":{"clsx":"^2.1.1","lucide-react":"^0.575.0","tailwind-merge":"^3.5.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.4.21","typescript":"^5.9.3","tailwindcss":"^4.2.1","@types/react":"^19.2.7","vite-plugin-dts":"^4.5.4","@types/react-dom":"^19.2.3","@tailwindcss/vite":"^4.2.1","@vitejs/plugin-react":"^4.7.0"},"peerDependencies":{"react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/agnostic-checkout_0.1.4_1773093768607_0.5061020133362406","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@anpayeras/agnostic-checkout","version":"0.1.5","keywords":["react","checkout","payment","sdk","theming","plugins"],"license":"MIT","_id":"@anpayeras/agnostic-checkout@0.1.5","maintainers":[{"name":"anpayeras","email":"payerasangel@gmail.com"}],"dist":{"shasum":"e2125e666675b8edc46cd30a3324e1d5a97d69e8","tarball":"https://registry.npmjs.org/@anpayeras/agnostic-checkout/-/agnostic-checkout-0.1.5.tgz","fileCount":75,"integrity":"sha512-xXE1jS7S3J0t6p/hUOvBcgcuCu2td+rxrPLwUkNFpF4rzbwJLvwFrXRQQeOkhC9pT5zaGMaKZJnzE4KuVvpPgA==","signatures":[{"sig":"MEYCIQCGv29O4uSZrfI/3YY91be6veqeioCApU+lgL+t7ZKwEgIhAOLaFqI29Pfr0HssTKaBIcKyynJkVKxjofyWVdbcOQ5X","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":296535},"main":"./dist/index.cjs","type":"module","style":"./dist/style.css","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./styles":"./dist/style.css","./style.css":"./dist/style.css"},"gitHead":"a0d9a2aba2223c426b12d69cc0e552d9d2af6db9","scripts":{"lint":"eslint src/","build":"vite build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"anpayeras","email":"payerasangel@gmail.com"},"_npmVersion":"10.9.3","description":"Provider-agnostic, embeddable React checkout component with dynamic theming and plugin architecture","directories":{},"sideEffects":["./dist/style.css"],"_nodeVersion":"22.20.0","dependencies":{"clsx":"^2.1.1","lucide-react":"^0.575.0","tailwind-merge":"^3.5.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.4.21","typescript":"^5.9.3","tailwindcss":"^4.2.1","@types/react":"^19.2.7","vite-plugin-dts":"^4.5.4","@types/react-dom":"^19.2.3","@tailwindcss/vite":"^4.2.1","@vitejs/plugin-react":"^4.7.0"},"peerDependencies":{"react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/agnostic-checkout_0.1.5_1773094880351_0.051338155311964506","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@anpayeras/agnostic-checkout","version":"0.1.6","keywords":["react","checkout","payment","sdk","theming","plugins"],"license":"MIT","_id":"@anpayeras/agnostic-checkout@0.1.6","maintainers":[{"name":"anpayeras","email":"payerasangel@gmail.com"}],"dist":{"shasum":"8f5f9374740901f203bddf59843ccb57aa3357c0","tarball":"https://registry.npmjs.org/@anpayeras/agnostic-checkout/-/agnostic-checkout-0.1.6.tgz","fileCount":74,"integrity":"sha512-NmiYPsVTcYVTi1cm5BWy0wLucYWQgScNnnOtM/E5bHjumSgeWM14lrPO46Q8pT0Ob7I+/CMGlVoNAPQFdTxlGw==","signatures":[{"sig":"MEUCIQDu6u9MgWwJy9yLm7M+Q/WmBIe8nV0jdhVGwfYnmvuwgAIgC5PBjfm59LW5FkExnuFiqMMO8/xt+ZCKFru5T3luzK4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":328881},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"a0d9a2aba2223c426b12d69cc0e552d9d2af6db9","scripts":{"lint":"eslint src/","build":"vite build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"anpayeras","email":"payerasangel@gmail.com"},"_npmVersion":"10.9.3","description":"Provider-agnostic, embeddable React checkout component with dynamic theming and plugin architecture","directories":{},"sideEffects":true,"_nodeVersion":"22.20.0","dependencies":{"clsx":"^2.1.1","lucide-react":"^0.575.0","tailwind-merge":"^3.5.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.4.21","typescript":"^5.9.3","tailwindcss":"^4.2.1","@types/react":"^19.2.7","vite-plugin-dts":"^4.5.4","@types/react-dom":"^19.2.3","@tailwindcss/vite":"^4.2.1","@vitejs/plugin-react":"^4.7.0","vite-plugin-css-injected-by-js":"^4.0.1"},"peerDependencies":{"react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/agnostic-checkout_0.1.6_1773095472878_0.1910444936931437","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@anpayeras/agnostic-checkout","version":"0.1.7","keywords":["react","checkout","payment","sdk","theming","plugins"],"license":"MIT","_id":"@anpayeras/agnostic-checkout@0.1.7","maintainers":[{"name":"anpayeras","email":"payerasangel@gmail.com"}],"dist":{"shasum":"6186f6f6342c49e66e8fb0422d130db5ef4ff3e9","tarball":"https://registry.npmjs.org/@anpayeras/agnostic-checkout/-/agnostic-checkout-0.1.7.tgz","fileCount":74,"integrity":"sha512-EJiMuwBwnvuy+sZPuEo8IjYQFLmvw7PLsovTrnSadtfAkyQtXBl9y7TcTsrA3K9or7EKhqixii1ca4CNr7DTDw==","signatures":[{"sig":"MEUCIQDfa5BCjzx/77MpVJ08X3I+qa8jWXemRyPh0DFMqBLo7AIgJwoQZN1phS3ZRN5UyKe9QsZ599wNjVDc55+RyMXnACI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":335499},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"a0d9a2aba2223c426b12d69cc0e552d9d2af6db9","scripts":{"lint":"eslint src/","build":"vite build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"anpayeras","email":"payerasangel@gmail.com"},"_npmVersion":"10.9.3","description":"Provider-agnostic, embeddable React checkout component with dynamic theming and plugin architecture","directories":{},"sideEffects":true,"_nodeVersion":"22.20.0","dependencies":{"clsx":"^2.1.1","lucide-react":"^0.575.0","tailwind-merge":"^3.5.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.4.21","typescript":"^5.9.3","tailwindcss":"^4.2.1","@types/react":"^19.2.7","vite-plugin-dts":"^4.5.4","@types/react-dom":"^19.2.3","@tailwindcss/vite":"^4.2.1","@vitejs/plugin-react":"^4.7.0","vite-plugin-css-injected-by-js":"^4.0.1"},"peerDependencies":{"react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/agnostic-checkout_0.1.7_1773152050200_0.37440312806539366","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@anpayeras/agnostic-checkout","version":"0.1.8","keywords":["react","checkout","payment","sdk","theming","plugins"],"license":"MIT","_id":"@anpayeras/agnostic-checkout@0.1.8","maintainers":[{"name":"anpayeras","email":"payerasangel@gmail.com"}],"dist":{"shasum":"53894a29c023968c6aadcddb98979ff4fc9b8b30","tarball":"https://registry.npmjs.org/@anpayeras/agnostic-checkout/-/agnostic-checkout-0.1.8.tgz","fileCount":74,"integrity":"sha512-ZXFdhDDQCIu5dd4j3osKmboNxHXEmSncbQNdTO75xZMCfinxZnTW3WdPejaNh+nKB2NlpnQyEzGajLIw9w2rkw==","signatures":[{"sig":"MEQCICP7jExOQdmVbvICqk5IaC9j4BGg8qCh0hSp0rgDzHmxAiA+dWpFuAwTOvpn2iKRTLm3R7P4BLzC+lJbs7DFWL4/PA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":327827},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"a0d9a2aba2223c426b12d69cc0e552d9d2af6db9","scripts":{"lint":"eslint src/","build":"vite build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"anpayeras","email":"payerasangel@gmail.com"},"_npmVersion":"10.9.3","description":"Provider-agnostic, embeddable React checkout component with dynamic theming and plugin architecture","directories":{},"sideEffects":true,"_nodeVersion":"22.20.0","dependencies":{"clsx":"^2.1.1","lucide-react":"^0.575.0","tailwind-merge":"^3.5.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.4.21","typescript":"^5.9.3","tailwindcss":"^4.2.1","@types/react":"^19.2.7","vite-plugin-dts":"^4.5.4","@types/react-dom":"^19.2.3","@tailwindcss/vite":"^4.2.1","@vitejs/plugin-react":"^4.7.0","vite-plugin-css-injected-by-js":"^4.0.1"},"peerDependencies":{"react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/agnostic-checkout_0.1.8_1773152849141_0.49803310522656075","host":"s3://npm-registry-packages-npm-production"}},"0.1.9":{"name":"@anpayeras/agnostic-checkout","version":"0.1.9","keywords":["react","checkout","payment","sdk","theming","plugins"],"license":"MIT","_id":"@anpayeras/agnostic-checkout@0.1.9","maintainers":[{"name":"anpayeras","email":"payerasangel@gmail.com"}],"dist":{"shasum":"8f7aad343608574260a477d969c4943f4e04b41c","tarball":"https://registry.npmjs.org/@anpayeras/agnostic-checkout/-/agnostic-checkout-0.1.9.tgz","fileCount":74,"integrity":"sha512-Y6A1pKNo/AMK+AuEsTWnD8GyUFe0ZIjVr1rMM37NhAE1rPxLoC9nyRTOcNVYgQxAxx5QikqqU5tzcb3UVAA1rg==","signatures":[{"sig":"MEYCIQCpMP6PI8ubXXeu/nFDIm9Pd9+WwmLTOMzoDQ79vI7rbQIhAPFeK16w5+KGfr2MTfpMFlCD/caHRNFTQZNpSY6HmUDi","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":328855},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"a0d9a2aba2223c426b12d69cc0e552d9d2af6db9","scripts":{"lint":"eslint src/","build":"vite build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"anpayeras","email":"payerasangel@gmail.com"},"_npmVersion":"10.9.3","description":"Provider-agnostic, embeddable React checkout component with dynamic theming and plugin architecture","directories":{},"sideEffects":true,"_nodeVersion":"22.20.0","dependencies":{"clsx":"^2.1.1","lucide-react":"^0.575.0","tailwind-merge":"^3.5.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.4.21","typescript":"^5.9.3","tailwindcss":"^4.2.1","@types/react":"^19.2.7","vite-plugin-dts":"^4.5.4","@types/react-dom":"^19.2.3","@tailwindcss/vite":"^4.2.1","@vitejs/plugin-react":"^4.7.0","vite-plugin-css-injected-by-js":"^4.0.1"},"peerDependencies":{"react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/agnostic-checkout_0.1.9_1773155052213_0.6138514364511909","host":"s3://npm-registry-packages-npm-production"}},"0.1.10":{"name":"@anpayeras/agnostic-checkout","version":"0.1.10","keywords":["react","checkout","payment","sdk","theming","plugins"],"license":"MIT","_id":"@anpayeras/agnostic-checkout@0.1.10","maintainers":[{"name":"anpayeras","email":"payerasangel@gmail.com"}],"dist":{"shasum":"b6bb2a9b94bdfa4c548ed713f76b934c6c07855c","tarball":"https://registry.npmjs.org/@anpayeras/agnostic-checkout/-/agnostic-checkout-0.1.10.tgz","fileCount":74,"integrity":"sha512-QoecNBTN+Fk9V6pCVwgLL1vAhAh9PAERBzsrzw0hThLT3OKDuOxIYfn4VHMdnVOOBWVtIcxMYKPJ5fv+JjpNBg==","signatures":[{"sig":"MEUCIHRZ3pH7rRHBfAtwVI6VlUEayOglAoBeGhCofiUYkUpqAiEAz0L2Ig+q9btKOFfVli2XHgqEPDO6k1oFXcj60cOXvuc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":328777},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"a0d9a2aba2223c426b12d69cc0e552d9d2af6db9","scripts":{"lint":"eslint src/","build":"vite build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"anpayeras","email":"payerasangel@gmail.com"},"_npmVersion":"10.9.3","description":"Provider-agnostic, embeddable React checkout component with dynamic theming and plugin architecture","directories":{},"sideEffects":true,"_nodeVersion":"22.20.0","dependencies":{"clsx":"^2.1.1","lucide-react":"^0.575.0","tailwind-merge":"^3.5.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.4.21","typescript":"^5.9.3","tailwindcss":"^4.2.1","@types/react":"^19.2.7","vite-plugin-dts":"^4.5.4","@types/react-dom":"^19.2.3","@tailwindcss/vite":"^4.2.1","@vitejs/plugin-react":"^4.7.0","vite-plugin-css-injected-by-js":"^4.0.1"},"peerDependencies":{"react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/agnostic-checkout_0.1.10_1773243894052_0.03174949092968693","host":"s3://npm-registry-packages-npm-production"}},"0.1.11":{"name":"@anpayeras/agnostic-checkout","version":"0.1.11","keywords":["react","checkout","payment","sdk","theming","plugins"],"license":"MIT","_id":"@anpayeras/agnostic-checkout@0.1.11","maintainers":[{"name":"anpayeras","email":"payerasangel@gmail.com"}],"dist":{"shasum":"1529ab89212a5fc754939075158514a6c785fda4","tarball":"https://registry.npmjs.org/@anpayeras/agnostic-checkout/-/agnostic-checkout-0.1.11.tgz","fileCount":90,"integrity":"sha512-BXI8ZcUj+wJpIaBgtzs7VhvZk63aCN/VR0KyZn4UEVOASbPPnyZXLmtBzEUfuE8yQDIfUF42nQthKl70zDE6gQ==","signatures":[{"sig":"MEUCIQDgpD8U7LkEyiMdg6+l2u7nGhKTzz+NBD1M+Mn5G5I+oAIgLwGLaPn2iTZdaOVM+cPnXlYM1TQP4ixotq7XTgX8uc8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":384443},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"b028b0769dd164d23e859d68b5550e492565b7b4","scripts":{"lint":"eslint src/","build":"vite build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"anpayeras","email":"payerasangel@gmail.com"},"_npmVersion":"10.5.2","description":"Provider-agnostic, embeddable React checkout component with dynamic theming and plugin architecture","directories":{},"sideEffects":true,"_nodeVersion":"18.19.0","dependencies":{"clsx":"^2.1.1","lucide-react":"^0.575.0","tailwind-merge":"^3.5.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.4.21","typescript":"^5.9.3","tailwindcss":"^4.2.1","@types/react":"^19.2.7","vite-plugin-dts":"^4.5.4","@types/react-dom":"^19.2.3","@tailwindcss/vite":"^4.2.1","@vitejs/plugin-react":"^4.7.0","vite-plugin-css-injected-by-js":"^4.0.1"},"peerDependencies":{"react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/agnostic-checkout_0.1.11_1773889592008_0.774712372295131","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2026-03-09T20:25:43.411Z","modified":"2026-03-21T01:12:16.383Z","0.1.0":"2026-03-09T20:25:43.739Z","0.1.1":"2026-03-09T21:14:54.901Z","0.1.2":"2026-03-09T21:30:06.947Z","0.1.3":"2026-03-09T21:45:38.436Z","0.1.4":"2026-03-09T22:02:48.765Z","0.1.5":"2026-03-09T22:21:20.529Z","0.1.6":"2026-03-09T22:31:13.179Z","0.1.7":"2026-03-10T14:14:10.352Z","0.1.8":"2026-03-10T14:27:29.338Z","0.1.9":"2026-03-10T15:04:12.373Z","0.1.10":"2026-03-11T15:44:54.258Z","0.1.11":"2026-03-19T03:06:32.187Z"},"license":"MIT","keywords":["react","checkout","payment","sdk","theming","plugins"],"description":"Provider-agnostic, embeddable React checkout component with dynamic theming and plugin architecture","maintainers":[{"email":"payerasangel@gmail.com","name":"ss-dev"}],"readme":"# ⚡ Agnostic Checkout SDK\n\nA provider-agnostic, embeddable React checkout component with dynamic theming, plugin architecture, and full TypeScript support.\n\n---\n\n## Features\n\n- 🛒 **Embeddable checkout component** — drop into any React app\n- 🎨 **Theme system** — 5 built-in presets (`light`, `dark`, `minimal`, `corporate`, `neon`)\n- 🎯 **Brand Auto Theme** — generate a full theme from a single brand color\n- 🔌 **Plugin architecture** — extend checkout behavior without modifying core code\n- 🏷️ **Discount Plugin** — coupon input, apply/remove with event-driven updates\n- ✏️ **Cart Edit Plugin** — quantity stepper, item removal with configurable limits\n- 🌍 **i18n** — built-in locales (`en`, `es`, `pt-BR`, `auto`)\n- 💱 **Multi-currency** — 25+ currencies with automatic formatting\n- 📱 **Responsive** — mobile-first layout with collapsible order summary\n- 🔒 **Provider-agnostic** — works with any payment backend\n\n---\n\n## Installation\n\n```bash\nnpm install agnostic-checkout\n```\n\n---\n\n## Quick Start\n\n```tsx\nimport { Checkout } from \"agnostic-checkout\";\n\nfunction App() {\n  const items = [\n    {\n      id: \"item_1\",\n      name: \"Pro Plan\",\n      unitPrice: 49.00,\n      quantity: 1,\n      total: 49.00,\n      image: \"https://example.com/pro-plan.png\",\n    },\n  ];\n\n  const totals = {\n    subtotal: 49.00,\n    taxes: 4.90,\n    total: 53.90,\n  };\n\n  const paymentMethods = [\n    {\n      id: \"pm_card\",\n      label: \"Credit Card\",\n      type: \"card\",\n    },\n  ];\n\n  return (\n    <Checkout\n      items={items}\n      totals={totals}\n      paymentMethods={paymentMethods}\n      provider={yourPaymentProvider}\n      currency=\"USD\"\n      locale=\"en\"\n    />\n  );\n}\n```\n\n| Prop | Description |\n|---|---|\n| `items` | Array of cart items to display |\n| `totals` | Object with subtotal, taxes, shipping, discount, and total |\n| `paymentMethods` | Available payment methods |\n| `provider` | Your `PaymentProvider` implementation |\n| `currency` | Currency code for formatting (`\"USD\"`, `\"EUR\"`, etc.) |\n| `locale` | Language for UI text (`\"en\"`, `\"es\"`, `\"pt-BR\"`, `\"auto\"`) |\n\n---\n\n## Theming\n\nThe checkout uses CSS variables internally and supports three theming strategies with the following priority chain:\n\n```\ncustomTheme (overrides)\n       ↓\nbrandColor (auto-generated theme)\n       ↓\ntheme preset (\"light\" | \"dark\" | ...)\n```\n\n### Preset Themes\n\nChoose from 5 built-in themes:\n\n```tsx\n<Checkout theme=\"light\" />\n<Checkout theme=\"dark\" />\n<Checkout theme=\"minimal\" />\n<Checkout theme=\"corporate\" />\n<Checkout theme=\"neon\" />\n```\n\n### Brand Auto Theme\n\nGenerate a complete theme from a single brand color. The SDK automatically derives background, surface, text, border, and accent colors:\n\n```tsx\n<Checkout brandColor=\"#6366F1\" />\n```\n\n### Custom Theme Overrides\n\nOverride specific tokens on top of any base theme:\n\n```tsx\n<Checkout\n  theme=\"light\"\n  customTheme={{\n    colors: {\n      primary: \"#ff0055\",\n      success: \"#00cc88\",\n    },\n    radius: \"1rem\",\n  }}\n/>\n```\n\nCombine with `brandColor`:\n\n```tsx\n<Checkout\n  brandColor=\"#6366F1\"\n  customTheme={{\n    radius: \"20px\",\n    fontFamily: \"'Poppins', sans-serif\",\n  }}\n/>\n```\n\n### Theme Tokens\n\n| Token | CSS Variable | Description |\n|---|---|---|\n| `colors.primary` | `--color-primary` | Buttons, links, active states |\n| `colors.background` | `--color-background` | Page background |\n| `colors.surface` | `--color-surface` | Card/panel backgrounds |\n| `colors.text` | `--color-text` | Primary text color |\n| `colors.border` | `--color-border` | Borders and dividers |\n| `colors.success` | `--color-success` | Success states, discounts |\n| `colors.error` | `--color-error` | Error states, remove actions |\n| `radius` | `--theme-radius` | Border radius for cards/buttons |\n| `fontFamily` | `--theme-font` | Font family stack |\n\n---\n\n## Plugin System\n\nPlugins extend checkout functionality through a **slot-based architecture**. Plugins inject UI into predefined areas and communicate via events — they never modify state directly.\n\n```tsx\nimport { createDiscountPlugin, createCartEditPlugin } from \"agnostic-checkout/plugins\";\n\n<Checkout\n  plugins={[\n    createDiscountPlugin(handleEvent),\n    createCartEditPlugin(handleEvent, { allowRemove: true }),\n  ]}\n  onEvent={handleEvent}\n/>\n```\n\nPlugins emit events. Your `onEvent` handler processes them and updates `items`/`totals` externally:\n\n```tsx\nconst handleEvent = (event) => {\n  switch (event.type) {\n    case \"COUPON_APPLY_REQUESTED\":\n      // Validate event.code, update items/totals\n      break;\n    case \"ITEM_REMOVE_REQUESTED\":\n      // Remove item by event.itemId\n      break;\n    case \"ITEM_QUANTITY_UPDATE_REQUESTED\":\n      // Update quantity for event.itemId to event.quantity\n      break;\n  }\n};\n```\n\n---\n\n## Discount Plugin\n\nAdds a coupon input field to the order summary. Users can type a discount code, apply it, and remove it via a trash icon.\n\n```tsx\nimport { createDiscountPlugin } from \"agnostic-checkout/plugins\";\n\nconst plugins = [\n  createDiscountPlugin(handleEvent),\n];\n```\n\n**Events emitted:**\n\n| Event | Payload | Description |\n|---|---|---|\n| `COUPON_APPLY_REQUESTED` | `{ code: string }` | User submitted a coupon code |\n| `COUPON_REMOVE_REQUESTED` | — | User clicked the remove button |\n\nThe plugin does **not** calculate discounts. Your `onEvent` handler validates the code and updates `items`/`totals` with the new discount values.\n\n---\n\n## Cart Edit Plugin\n\nAllows users to modify item quantities and/or remove items from the cart.\n\n```tsx\nimport { createCartEditPlugin } from \"agnostic-checkout/plugins\";\n\nconst plugins = [\n  createCartEditPlugin(handleEvent, {\n    allowRemove: true,\n    allowQuantityEdit: true,\n    minQuantity: 1,\n    maxQuantity: 10,\n  }),\n];\n```\n\n### Options\n\n| Option | Type | Default | Description |\n|---|---|---|---|\n| `allowRemove` | `boolean` | `false` | Show remove button per item |\n| `allowQuantityEdit` | `boolean` | `false` | Show quantity stepper per item |\n| `minQuantity` | `number` | `1` | Minimum allowed quantity |\n| `maxQuantity` | `number` | `99` | Maximum allowed quantity |\n\n**Events emitted:**\n\n| Event | Payload | Description |\n|---|---|---|\n| `ITEM_QUANTITY_UPDATE_REQUESTED` | `{ itemId, quantity }` | User changed item quantity |\n| `ITEM_REMOVE_REQUESTED` | `{ itemId }` | User clicked remove |\n\n---\n\n## Payment Provider\n\nThe checkout is payment-agnostic. Implement the `PaymentProvider` interface to connect any backend:\n\n```tsx\ninterface PaymentProvider {\n  initialize?(config: unknown): Promise<void>;\n  createPayment(data: unknown): Promise<PaymentResult>;\n  confirmPayment?(data: unknown): Promise<PaymentResult>;\n}\n```\n\n```tsx\nclass StripeProvider implements PaymentProvider {\n  async createPayment(data) {\n    const response = await fetch(\"/api/payments\", {\n      method: \"POST\",\n      body: JSON.stringify(data),\n    });\n    return { status: \"success\" };\n  }\n}\n\n<Checkout provider={new StripeProvider()} />\n```\n\n---\n\n## API Reference\n\n### `<Checkout />` Props\n\n| Prop | Type | Required | Default | Description |\n|---|---|---|---|---|\n| `items` | `CheckoutItem[]` | ✅ | — | Cart items |\n| `totals` | `CheckoutTotals` | ✅ | — | Order totals |\n| `paymentMethods` | `PaymentMethod[]` | ✅ | — | Available payment methods |\n| `provider` | `PaymentProvider` | ✅ | — | Payment provider implementation |\n| `currency` | `SupportedCurrency` | ✅ | — | Currency code |\n| `locale` | `CheckoutLocale` | — | `\"es\"` | UI language |\n| `theme` | `CheckoutThemeName \\| Partial<CheckoutTheme>` | — | `\"light\"` | Theme preset or partial theme object |\n| `brandColor` | `string` | — | — | Auto-generate theme from hex color |\n| `customTheme` | `Partial<CheckoutTheme>` | — | — | Override specific theme tokens |\n| `onEvent` | `EventHandler` | — | — | Callback for checkout events |\n| `plugins` | `CheckoutPlugin[]` | — | `[]` | Plugins to extend functionality |\n| `messages` | `Partial<CheckoutMessages>` | — | — | Override default UI text |\n| `formatters` | `CheckoutFormatters` | — | — | Custom currency formatter |\n| `devTools` | `boolean` | — | `false` | Show dev tools panel |\n| `initialState` | `PaymentResult` | — | — | Start in a specific state |\n\n### `CheckoutItem`\n\n```tsx\ninterface CheckoutItem {\n  id: string;\n  name: string;\n  quantity: number;\n  unitPrice: number;\n  total: number;\n  image?: string;\n  discount?: {\n    type: \"percentage\" | \"fixed\";\n    value: number;\n    label?: string;\n  };\n}\n```\n\n### `CheckoutTotals`\n\n```tsx\ninterface CheckoutTotals {\n  subtotal: number;\n  discount?: number;\n  taxes?: number;\n  shipping?: number;\n  total: number;\n}\n```\n\n### Events\n\n| Event | Description |\n|---|---|\n| `CHECKOUT_VIEWED` | Checkout component mounted |\n| `STEP_CHANGED` | User navigated to a new step |\n| `PAYMENT_METHOD_SELECTED` | User selected a payment method |\n| `PAYMENT_SUBMITTED` | Payment form submitted |\n| `PAYMENT_SUCCESS` | Payment completed successfully |\n| `PAYMENT_ERROR` | Payment failed |\n| `COUPON_APPLY_REQUESTED` | Coupon code submitted (Discount Plugin) |\n| `COUPON_REMOVE_REQUESTED` | Coupon removed (Discount Plugin) |\n| `ITEM_QUANTITY_UPDATE_REQUESTED` | Quantity changed (Cart Edit Plugin) |\n| `ITEM_REMOVE_REQUESTED` | Item removed (Cart Edit Plugin) |\n\n---\n\n## Internationalization\n\nBuilt-in support for three locales plus automatic detection:\n\n```tsx\n<Checkout locale=\"en\" />     // English\n<Checkout locale=\"es\" />     // Spanish\n<Checkout locale=\"pt-BR\" />  // Portuguese (Brazil)\n<Checkout locale=\"auto\" />   // Auto-detect from browser\n```\n\nOverride specific messages:\n\n```tsx\n<Checkout\n  messages={{\n    payNow: \"Complete Purchase\",\n    continueToPay: \"Proceed to Payment\",\n  }}\n/>\n```\n\nCustom currency formatter:\n\n```tsx\n<Checkout\n  formatters={{\n    currency: (amount) => `US$ ${amount.toFixed(2)}`,\n  }}\n/>\n```\n\n---\n\n## Demo\n\nA built-in demo page is available with interactive controls:\n\n```bash\nnpm run dev\n```\n\nThe demo includes a **Settings toolbar** to test:\n\n- Theme switching (5 presets + Brand Auto Theme)\n- Locale and currency changes\n- Item count adjustments\n- Plugin enable/disable toggles\n- Brand color picker with 12 presets\n\n---\n\n## Development\n\n```bash\n# Install dependencies\nnpm install\n\n# Start development server\nnpm run dev\n\n# Type checking\nnpx tsc --noEmit\n\n# Build\nnpm run build\n```\n\n### Project Structure\n\n```\nsrc/\n├── core/               # State machine, context, events, types\n├── theme/              # Theme system, tokens, color utilities\n├── locales/            # i18n messages (en, es, pt-BR)\n├── plugins/            # Plugin system, discount & cart-edit plugins\n├── ui/                 # React components (Checkout, Layout, Summary, etc.)\n├── hooks/              # useCheckout hook\n├── lib/                # Utilities (cn, formatNumber)\n└── mock/               # Demo app, mock provider, toolbar\n```\n\n---\n\n## License\n\nMIT\n","readmeFilename":"README.md"}