{"_id":"@apolopay-sdk/core","_rev":"6-cb8ebd3fd009cfd2ae6edc26d7452fad","name":"@apolopay-sdk/core","dist-tags":{"latest":"1.4.0"},"versions":{"1.0.0":{"name":"@apolopay-sdk/core","version":"1.0.0","license":"MIT","_id":"@apolopay-sdk/core@1.0.0","maintainers":[{"name":"apolopay","email":"developers@apolopay.app"}],"dist":{"shasum":"4cbd8d4da000b428d18b7fb38e73a6fc272aa819","tarball":"https://registry.npmjs.org/@apolopay-sdk/core/-/core-1.0.0.tgz","fileCount":6,"integrity":"sha512-xIcdtMVT2MBoTLBVK4YODG1q0XhY+D27FOkafeLKEsEesu5xMft1TR+ru7oOqNEguhTDhvZY2p+atEvjuzXcvg==","signatures":[{"sig":"MEYCIQDF0t9rSgN+fWAAh0gN5dm2adIWFjS/9ix7mY3pJR+DtgIhAMfmarR0sVOuDNU4yrmNrG6mIyey/N0OXhMcLD+X5MV6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":36018},"main":"./dist/index.js","_from":"file:apolopay-sdk-core-1.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"tsup src/index.ts --format esm,cjs --dts --watch","build":"tsup src/index.ts --format esm,cjs --dts --clean"},"_npmUser":{"name":"apolopay","email":"developers@apolopay.app"},"_resolved":"C:\\Users\\usuario\\AppData\\Local\\Temp\\310a96541ff13eae452ee59c091da0ab\\apolopay-sdk-core-1.0.0.tgz","_integrity":"sha512-xIcdtMVT2MBoTLBVK4YODG1q0XhY+D27FOkafeLKEsEesu5xMft1TR+ru7oOqNEguhTDhvZY2p+atEvjuzXcvg==","_npmVersion":"10.9.3","description":"The core logic and common types for the Apolo Pay JavaScript SDK. This package provides the foundational classes and services used across all platform-specific SDKs (React, Vue, Angular, etc.).","directories":{},"sideEffects":false,"_nodeVersion":"22.20.0","dependencies":{"socket.io-client":"4.8.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"8.5.0","typescript":"5.4.5"},"_npmOperationalInternal":{"tmp":"tmp/core_1.0.0_1770336471857_0.3762383069791395","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@apolopay-sdk/core","version":"1.1.0","license":"MIT","_id":"@apolopay-sdk/core@1.1.0","maintainers":[{"name":"apolopay","email":"developers@apolopay.app"}],"dist":{"shasum":"47146004fdc42feb7df04dbddcd9377ecd2734e0","tarball":"https://registry.npmjs.org/@apolopay-sdk/core/-/core-1.1.0.tgz","fileCount":6,"integrity":"sha512-euNcnF7MQfeMcQxXCc+hCE6YBBnRAd4AyTWjD1yDSe1eM2Fr8dO5TFCmYcCZA4h9oLaxpiFfUlk8jzwg3kPqYQ==","signatures":[{"sig":"MEQCIFROgG8Hzw50UAbUAZzQHIKITF4NkDBwjBbD3TQAcGpDAiByfM1pOu0lCYECrkA6AKj8yn7L6xfo63guV/MD1X71Hw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":36086},"main":"./dist/index.js","_from":"file:apolopay-sdk-core-1.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"tsup src/index.ts --format esm,cjs --dts --watch","build":"tsup src/index.ts --format esm,cjs --dts --clean"},"_npmUser":{"name":"apolopay","email":"developers@apolopay.app"},"_resolved":"C:\\Users\\usuario\\AppData\\Local\\Temp\\0447f75cb780bb6c10f440969d53a723\\apolopay-sdk-core-1.1.0.tgz","_integrity":"sha512-euNcnF7MQfeMcQxXCc+hCE6YBBnRAd4AyTWjD1yDSe1eM2Fr8dO5TFCmYcCZA4h9oLaxpiFfUlk8jzwg3kPqYQ==","_npmVersion":"10.9.3","description":"Core SDK for Apolo Pay","directories":{},"sideEffects":false,"_nodeVersion":"22.20.0","dependencies":{"socket.io-client":"4.8.3"},"publishConfig":{"access":"public","provenance":false},"_hasShrinkwrap":false,"devDependencies":{"tsup":"8.5.0","typescript":"5.4.5"},"_npmOperationalInternal":{"tmp":"tmp/core_1.1.0_1770341538955_0.0283799978595507","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@apolopay-sdk/core","version":"1.2.0","license":"MIT","_id":"@apolopay-sdk/core@1.2.0","maintainers":[{"name":"apolopay","email":"developers@apolopay.app"}],"homepage":"https://github.com/ApoloPay/payment-button-sdk#readme","bugs":{"url":"https://github.com/ApoloPay/payment-button-sdk/issues"},"dist":{"shasum":"9e4aae627e7fc4fb88c1d3f0c76ae8a51a903baf","tarball":"https://registry.npmjs.org/@apolopay-sdk/core/-/core-1.2.0.tgz","fileCount":6,"integrity":"sha512-LdnBMbdpLsT8IrdsBx4SyVFpQCAHNTLR4QZS1Mfs3IpCjKpbtBUo2n5y0rHp7K3qSJp3Bh/p73nJiYhuKXQzyg==","signatures":[{"sig":"MEUCICSEwq5EGikJ8WLUJL9WYN1VzD1Uuv+Md0nw0B8KfyD+AiEA/VbFkyCpVLg2xx2ttry2WnhH14o2JhMgHtED+WKI2pQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46228},"main":"./dist/index.js","_from":"file:apolopay-sdk-core-1.2.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"tsup src/index.ts --format esm,cjs --dts --watch","build":"tsup src/index.ts --format esm,cjs --dts --clean"},"_npmUser":{"name":"apolopay","email":"developers@apolopay.app"},"_resolved":"C:\\Users\\detex\\AppData\\Local\\Temp\\c1ecc49567e8caa2b6b9e438a7cfe635\\apolopay-sdk-core-1.2.0.tgz","_integrity":"sha512-LdnBMbdpLsT8IrdsBx4SyVFpQCAHNTLR4QZS1Mfs3IpCjKpbtBUo2n5y0rHp7K3qSJp3Bh/p73nJiYhuKXQzyg==","repository":{"url":"git+https://github.com/ApoloPay/payment-button-sdk.git","type":"git"},"_npmVersion":"11.9.0","description":"Core SDK for Apolo Pay","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"socket.io-client":"4.8.3"},"publishConfig":{"access":"public","provenance":false},"_hasShrinkwrap":false,"devDependencies":{"tsup":"8.5.0","typescript":"5.4.5"},"_npmOperationalInternal":{"tmp":"tmp/core_1.2.0_1773950140646_0.9467199756211169","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@apolopay-sdk/core","version":"1.2.1","license":"MIT","_id":"@apolopay-sdk/core@1.2.1","maintainers":[{"name":"apolopay","email":"developers@apolopay.app"}],"homepage":"https://github.com/ApoloPay/payment-button-sdk#readme","bugs":{"url":"https://github.com/ApoloPay/payment-button-sdk/issues"},"dist":{"shasum":"28db6b60253100cbab49905052d385d21515e73c","tarball":"https://registry.npmjs.org/@apolopay-sdk/core/-/core-1.2.1.tgz","fileCount":6,"integrity":"sha512-pQRq4BetgfQaTkT1XUKVZDoacy9y4sUGGiKiYE47KJH9fgxzjbxwvwo4cxRraqZQWYi4q4LOK23Ok78PGZp7qg==","signatures":[{"sig":"MEQCIEe5JiPUZbqhMDohAQKuSF07gCEhImg9IJexpZrHkErCAiAFoEWprA8vw++FV+rSpfoHGgpUBse3Ftz/um5XODj6/A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46202},"main":"./dist/index.js","_from":"file:apolopay-sdk-core-1.2.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"tsup src/index.ts --format esm,cjs --dts --watch","build":"tsup src/index.ts --format esm,cjs --dts --clean"},"_npmUser":{"name":"apolopay","email":"developers@apolopay.app"},"_resolved":"C:\\Users\\detex\\AppData\\Local\\Temp\\aca0a5ef36cb14da6a3148bd5d67c7d7\\apolopay-sdk-core-1.2.1.tgz","_integrity":"sha512-pQRq4BetgfQaTkT1XUKVZDoacy9y4sUGGiKiYE47KJH9fgxzjbxwvwo4cxRraqZQWYi4q4LOK23Ok78PGZp7qg==","repository":{"url":"git+https://github.com/ApoloPay/payment-button-sdk.git","type":"git"},"_npmVersion":"11.9.0","description":"Core SDK for Apolo Pay","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"socket.io-client":"4.8.3"},"publishConfig":{"access":"public","provenance":false},"_hasShrinkwrap":false,"devDependencies":{"tsup":"8.5.0","typescript":"5.4.5"},"_npmOperationalInternal":{"tmp":"tmp/core_1.2.1_1774019162297_0.16608038962492788","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@apolopay-sdk/core","version":"1.3.0","license":"MIT","_id":"@apolopay-sdk/core@1.3.0","maintainers":[{"name":"apolopay","email":"developers@apolopay.app"}],"homepage":"https://github.com/ApoloPay/payment-button-sdk#readme","bugs":{"url":"https://github.com/ApoloPay/payment-button-sdk/issues"},"dist":{"shasum":"ee9415b65a19f0480d27efd3871759a041545861","tarball":"https://registry.npmjs.org/@apolopay-sdk/core/-/core-1.3.0.tgz","fileCount":6,"integrity":"sha512-Tf+6/4/JLl3y4JmLVLyqpAz+JuFY4K4YDMT3bDkUssPRDP3lf/+9LxAMIY8EBH6Qu3i/82JZ114yJ9bu1U3ABw==","signatures":[{"sig":"MEYCIQDInZBRDEOnfIz3/gULvCE6MBsqNzMgTksxuhUkvdCN4QIhAPmMMWBqWClRbxm8E7Cph4Elx0e8dUY6iyf8LBjOru5R","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":55484},"main":"./dist/index.js","_from":"file:apolopay-sdk-core-1.3.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"tsup src/index.ts --format esm,cjs --dts --watch","build":"tsup src/index.ts --format esm,cjs --dts --clean"},"_npmUser":{"name":"apolopay","email":"developers@apolopay.app"},"_resolved":"C:\\Users\\detex\\AppData\\Local\\Temp\\22453decc14cdd97143d16490cb302ce\\apolopay-sdk-core-1.3.0.tgz","_integrity":"sha512-Tf+6/4/JLl3y4JmLVLyqpAz+JuFY4K4YDMT3bDkUssPRDP3lf/+9LxAMIY8EBH6Qu3i/82JZ114yJ9bu1U3ABw==","repository":{"url":"git+https://github.com/ApoloPay/payment-button-sdk.git","type":"git"},"_npmVersion":"11.9.0","description":"Core SDK for Apolo Pay","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"socket.io-client":"4.8.3"},"publishConfig":{"access":"public","provenance":false},"_hasShrinkwrap":false,"devDependencies":{"tsup":"8.5.0","typescript":"5.4.5"},"_npmOperationalInternal":{"tmp":"tmp/core_1.3.0_1775944044313_0.10871361044561323","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@apolopay-sdk/core","version":"1.4.0","license":"MIT","sideEffects":false,"description":"Core SDK for Apolo Pay","repository":{"type":"git","url":"git+https://github.com/ApoloPay/payment-button-sdk.git"},"main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","publishConfig":{"access":"public","provenance":false},"dependencies":{"socket.io-client":"4.8.3"},"devDependencies":{"tsup":"8.5.0","typescript":"5.4.5","vitest":"^4.1.11"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"build":"tsup src/index.ts --format esm,cjs --dts --clean","dev":"tsup src/index.ts --format esm,cjs --dts --watch","test":"vitest run"},"_id":"@apolopay-sdk/core@1.4.0","bugs":{"url":"https://github.com/ApoloPay/payment-button-sdk/issues"},"homepage":"https://github.com/ApoloPay/payment-button-sdk#readme","_integrity":"sha512-8O1FEKfvzFUI63AL5OmoNj23l4TeS9TOGwg0BW32TmdsImjaQjqJEqSQIJB+lKwCARGfzFX0d6wEp9+nJVbOvA==","_resolved":"C:\\Users\\detex\\AppData\\Local\\Temp\\ce9809592c7d4efdd01e94bf97789d4c\\apolopay-sdk-core-1.4.0.tgz","_from":"file:apolopay-sdk-core-1.4.0.tgz","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-8O1FEKfvzFUI63AL5OmoNj23l4TeS9TOGwg0BW32TmdsImjaQjqJEqSQIJB+lKwCARGfzFX0d6wEp9+nJVbOvA==","shasum":"2aba75b369014a466358c8cde410c00a54f1f982","tarball":"https://registry.npmjs.org/@apolopay-sdk/core/-/core-1.4.0.tgz","fileCount":6,"unpackedSize":64233,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHtsjOXReIwO0wmZ9uPaL5bt2I/LjrNJjC/wYSE/8RFyAiEAqxVngtlRgagrHT6L3FOmiNDIvC1wyuxHfeeeDmT7J+Q="}]},"_npmUser":{"name":"apolopay","email":"developers@apolopay.app"},"directories":{},"maintainers":[{"name":"apolopay","email":"developers@apolopay.app"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core_1.4.0_1787682557266_0.7964626844263358"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-06T00:07:51.756Z","modified":"2026-08-25T18:29:17.621Z","1.0.0":"2026-02-06T00:07:52.011Z","1.1.0":"2026-02-06T01:32:19.110Z","1.2.0":"2026-03-19T19:55:40.793Z","1.2.1":"2026-03-20T15:06:02.456Z","1.3.0":"2026-04-11T21:47:24.461Z","1.4.0":"2026-08-25T18:29:17.421Z"},"bugs":{"url":"https://github.com/ApoloPay/payment-button-sdk/issues"},"license":"MIT","homepage":"https://github.com/ApoloPay/payment-button-sdk#readme","repository":{"type":"git","url":"git+https://github.com/ApoloPay/payment-button-sdk.git"},"description":"Core SDK for Apolo Pay","maintainers":[{"name":"apolopay","email":"developers@apolopay.app"}],"readme":"# @apolopay-sdk/core\r\n\r\nThe core logic and common types for the Apolo Pay JavaScript SDK. This package provides the foundational classes and services used across all platform-specific SDKs (React, Vue, Angular, etc.).\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @apolopay-sdk/core\r\n# or\r\npnpm add @apolopay-sdk/core\r\n# or\r\nyarn add @apolopay-sdk/core\r\n```\r\n\r\n## Usage\r\n\r\n### ApoloPayClient\r\n\r\nThe `ApoloPayClient` is the main entry point for interacting with the Apolo Pay API. You'll need your Public Key to initialize it.\r\n\r\n```typescript\r\nimport { ApoloPayClient } from '@apolopay-sdk/core';\r\n\r\nconst client = new ApoloPayClient({\r\n  publicKey: 'pk_test_...', // Your Apolo Pay Public Key\r\n});\r\n```\r\n\r\n### Services and Types\r\n\r\nThis package also exports various types and services:\r\n\r\n- `PaymentService`: Handles API calls for payments, assets, and WebSocket connections.\r\n- `I18n`: Internationalization utility for the SDK.\r\n- `Locale`: Type for supported languages ('es', 'en').\r\n- `ClientResponse`, `ClientError`: Standardized response and error types.\r\n\r\n## License\r\n\r\nMIT\r\n","readmeFilename":"README.md"}