{"_id":"@apolopay-sdk/vue","_rev":"6-f4cde263212d85ba1f28ae0d0086beec","name":"@apolopay-sdk/vue","dist-tags":{"latest":"1.3.0"},"versions":{"1.0.0":{"name":"@apolopay-sdk/vue","version":"1.0.0","_id":"@apolopay-sdk/vue@1.0.0","maintainers":[{"name":"apolopay","email":"developers@apolopay.app"}],"dist":{"shasum":"fae949f2083ccc3708650e372611608e7fc404f3","tarball":"https://registry.npmjs.org/@apolopay-sdk/vue/-/vue-1.0.0.tgz","fileCount":6,"integrity":"sha512-nrcQLXnkCd/E6bKJjqCDy0k/dkCyM2LbDkjg5yItCQVsJyKghYnFbTDuT4m3MKQK3RhqEzdRckv5IG3Z+A3LIA==","signatures":[{"sig":"MEUCIGDTGl/X6yGJP6+QIKrc3oqBjt3SMdPMNdAr6oSzxkLkAiEA7eHWTRuB/geDnt/tCxMiFW21LGEqUGaIi3B0XnMaHfw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10152},"main":"./dist/index.js","_from":"file:apolopay-sdk-vue-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.tsx --format esm,cjs --dts --watch --external vue","build":"tsup src/index.tsx --format esm,cjs --dts --clean --external vue"},"_npmUser":{"name":"apolopay","email":"developers@apolopay.app"},"_resolved":"C:\\Users\\usuario\\AppData\\Local\\Temp\\bc1fc1062ab9c2cfe0aa3ffc84a24df3\\apolopay-sdk-vue-1.0.0.tgz","_integrity":"sha512-nrcQLXnkCd/E6bKJjqCDy0k/dkCyM2LbDkjg5yItCQVsJyKghYnFbTDuT4m3MKQK3RhqEzdRckv5IG3Z+A3LIA==","_npmVersion":"10.9.3","description":"Vue wrapper for the Apolo Pay SDK. Provides a convenient component to integrate the Apolo Pay payment button into Vue 3 applications.","directories":{},"_nodeVersion":"22.20.0","dependencies":{"@apolopay-sdk/ui":"1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vue":"3.0.0","tsup":"8.0.0","typescript":"5.4.5"},"peerDependencies":{"vue":"3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vue_1.0.0_1770336487365_0.023115073040677725","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@apolopay-sdk/vue","version":"1.1.0","_id":"@apolopay-sdk/vue@1.1.0","maintainers":[{"name":"apolopay","email":"developers@apolopay.app"}],"dist":{"shasum":"a60bc1148d02159699b2202a1c9e1aad69413726","tarball":"https://registry.npmjs.org/@apolopay-sdk/vue/-/vue-1.1.0.tgz","fileCount":6,"integrity":"sha512-UYjE77T5DX+ZZwBPrjmkgn8iI9Y5OMRbAssb77qQkbXCJepLqEiJA+lp64p3ELpLKoGXO5DZupEgf7abaTC/fQ==","signatures":[{"sig":"MEYCIQDPg1mSbhCCNmH4liMdAZoE7JOLS+gj4npQwLVyGfqznAIhAMIZNJR4KJFWRkMCBBbZF2oP9hnA2fA+E4cXDkzqlpdX","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10224},"main":"./dist/index.js","_from":"file:apolopay-sdk-vue-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.tsx --format esm,cjs --dts --watch --external vue","build":"tsup src/index.tsx --format esm,cjs --dts --clean --external vue"},"_npmUser":{"name":"apolopay","email":"developers@apolopay.app"},"_resolved":"C:\\Users\\usuario\\AppData\\Local\\Temp\\3ce311687ac528ff74f3bbc87ed536f8\\apolopay-sdk-vue-1.1.0.tgz","_integrity":"sha512-UYjE77T5DX+ZZwBPrjmkgn8iI9Y5OMRbAssb77qQkbXCJepLqEiJA+lp64p3ELpLKoGXO5DZupEgf7abaTC/fQ==","_npmVersion":"10.9.3","description":"Vue Payment Button Adapter","directories":{},"_nodeVersion":"22.20.0","dependencies":{"@apolopay-sdk/ui":"1.1.0"},"publishConfig":{"access":"public","provenance":false},"_hasShrinkwrap":false,"devDependencies":{"vue":"3.0.0","tsup":"8.0.0","typescript":"5.4.5"},"peerDependencies":{"vue":"3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vue_1.1.0_1770341590455_0.5792902667667246","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@apolopay-sdk/vue","version":"1.2.0","_id":"@apolopay-sdk/vue@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":"1d9c034796df276305c6ad3492e9caab1563c9bb","tarball":"https://registry.npmjs.org/@apolopay-sdk/vue/-/vue-1.2.0.tgz","fileCount":6,"integrity":"sha512-c6doY0ogpQPB49+hCL+eD1ygkWW0ksg+PiqPaLOp5VXIbVmwo2wxvNN31UWQ2PUNQRDOP8VgCr82QVHqJp5/sw==","signatures":[{"sig":"MEUCIQDI95acWwTNBVAeqmnH7mjosVkiFUQzF7dFlgCe2rzqLwIgejiu1fD082oCPdSNTUTIIjESKFW7ebNbju6LB6XlpUQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11148},"main":"./dist/index.js","_from":"file:apolopay-sdk-vue-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.tsx --format esm,cjs --dts --watch --external vue","build":"tsup src/index.tsx --format esm,cjs --dts --clean --external vue"},"_npmUser":{"name":"apolopay","email":"developers@apolopay.app"},"_resolved":"C:\\Users\\detex\\AppData\\Local\\Temp\\a877636f99933b9d0029f9f5671c274b\\apolopay-sdk-vue-1.2.0.tgz","_integrity":"sha512-c6doY0ogpQPB49+hCL+eD1ygkWW0ksg+PiqPaLOp5VXIbVmwo2wxvNN31UWQ2PUNQRDOP8VgCr82QVHqJp5/sw==","repository":{"url":"git+https://github.com/ApoloPay/payment-button-sdk.git","type":"git"},"_npmVersion":"11.9.0","description":"Vue Payment Button Adapter","directories":{},"_nodeVersion":"24.14.0","dependencies":{"@apolopay-sdk/ui":"1.2.0"},"publishConfig":{"access":"public","provenance":false},"_hasShrinkwrap":false,"devDependencies":{"vue":"3.0.0","tsup":"8.0.0","typescript":"5.4.5"},"peerDependencies":{"vue":"3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vue_1.2.0_1773950140696_0.4152738937095022","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@apolopay-sdk/vue","version":"1.2.1","_id":"@apolopay-sdk/vue@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":"fcd6afc7952be270ecb904e1bc0b1b0635d2f548","tarball":"https://registry.npmjs.org/@apolopay-sdk/vue/-/vue-1.2.1.tgz","fileCount":6,"integrity":"sha512-84avjeIJJRGGkjZI7LeDnxvCsIK/GbL2y0R++9pYYfPpLt5AtjWcGliaxQovB+o9Yt52ax2LYa/FaRsXEy9jow==","signatures":[{"sig":"MEQCIFRNX/nXIewVCC4oBLmQbEl7AbJL0l7K/wpJShbPz7GEAiAiT/8QC9ygLsEMgMDPLBHcfsidSUvcRIVaIi6Md3Syzw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11148},"main":"./dist/index.js","_from":"file:apolopay-sdk-vue-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.tsx --format esm,cjs --dts --watch --external vue","build":"tsup src/index.tsx --format esm,cjs --dts --clean --external vue"},"_npmUser":{"name":"apolopay","email":"developers@apolopay.app"},"_resolved":"C:\\Users\\detex\\AppData\\Local\\Temp\\b2c19fa9c68c8ef1b963aee61f6d85e5\\apolopay-sdk-vue-1.2.1.tgz","_integrity":"sha512-84avjeIJJRGGkjZI7LeDnxvCsIK/GbL2y0R++9pYYfPpLt5AtjWcGliaxQovB+o9Yt52ax2LYa/FaRsXEy9jow==","repository":{"url":"git+https://github.com/ApoloPay/payment-button-sdk.git","type":"git"},"_npmVersion":"11.9.0","description":"Vue Payment Button Adapter","directories":{},"_nodeVersion":"24.14.0","dependencies":{"@apolopay-sdk/ui":"1.2.1"},"publishConfig":{"access":"public","provenance":false},"_hasShrinkwrap":false,"devDependencies":{"vue":"3.0.0","tsup":"8.0.0","typescript":"5.4.5"},"peerDependencies":{"vue":"3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vue_1.2.1_1774019162461_0.6581413364655049","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@apolopay-sdk/vue","version":"1.2.2","_id":"@apolopay-sdk/vue@1.2.2","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":"ecc40b019974789ce0a4318f4232d86ddf98fbee","tarball":"https://registry.npmjs.org/@apolopay-sdk/vue/-/vue-1.2.2.tgz","fileCount":6,"integrity":"sha512-R6+gJJ7dN7UemH9hZgxzJ3ZAYBDMMLiqwoyeQwbZN7U49Y0wXiya/crajXLvEw/Qjm18Xh1a9iv6MWvKP4wl1g==","signatures":[{"sig":"MEQCIFIR+ZNHxQCqPK6NH1kFI49E/Q9KEodoufUbFqZZRmvTAiBdtLIDVe68SDE+c0XSRhIadldY4Plx1CPpw1oaZ9un6g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11836},"main":"./dist/index.js","_from":"file:apolopay-sdk-vue-1.2.2.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.tsx --format esm,cjs --dts --watch --external vue","build":"tsup src/index.tsx --format esm,cjs --dts --clean --external vue"},"_npmUser":{"name":"apolopay","email":"developers@apolopay.app"},"_resolved":"C:\\Users\\detex\\AppData\\Local\\Temp\\9031dc258d1bdbbebcd3dc07141150f0\\apolopay-sdk-vue-1.2.2.tgz","_integrity":"sha512-R6+gJJ7dN7UemH9hZgxzJ3ZAYBDMMLiqwoyeQwbZN7U49Y0wXiya/crajXLvEw/Qjm18Xh1a9iv6MWvKP4wl1g==","repository":{"url":"git+https://github.com/ApoloPay/payment-button-sdk.git","type":"git"},"_npmVersion":"11.9.0","description":"Vue Payment Button Adapter","directories":{},"_nodeVersion":"24.14.0","dependencies":{"@apolopay-sdk/ui":"1.3.0"},"publishConfig":{"access":"public","provenance":false},"_hasShrinkwrap":false,"devDependencies":{"vue":"3.0.0","tsup":"8.0.0","typescript":"5.4.5"},"peerDependencies":{"vue":"3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vue_1.2.2_1775944044784_0.377200636040421","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@apolopay-sdk/vue","version":"1.3.0","description":"Vue Payment Button Adapter","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":{"@apolopay-sdk/ui":"1.4.0"},"devDependencies":{"tsup":"8.0.0","typescript":"5.4.5","vue":"3.0.0"},"peerDependencies":{"vue":"3.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"build":"tsup src/index.tsx --format esm,cjs --dts --clean --external vue","dev":"tsup src/index.tsx --format esm,cjs --dts --watch --external vue"},"_id":"@apolopay-sdk/vue@1.3.0","bugs":{"url":"https://github.com/ApoloPay/payment-button-sdk/issues"},"homepage":"https://github.com/ApoloPay/payment-button-sdk#readme","_integrity":"sha512-ddv0xXV3PhyTkRwpdyyqdRJmdIEkYt0mi11RKrG5YdLgaZhYlu2fhgC+LJOXiqFV8MWyXH9yHBn5MJi/ldL4Fg==","_resolved":"C:\\Users\\detex\\AppData\\Local\\Temp\\8e1f1fc318ead424b44983b9d58781e5\\apolopay-sdk-vue-1.3.0.tgz","_from":"file:apolopay-sdk-vue-1.3.0.tgz","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-ddv0xXV3PhyTkRwpdyyqdRJmdIEkYt0mi11RKrG5YdLgaZhYlu2fhgC+LJOXiqFV8MWyXH9yHBn5MJi/ldL4Fg==","shasum":"b7cb227c64ce399d948b1481822223b10c734b08","tarball":"https://registry.npmjs.org/@apolopay-sdk/vue/-/vue-1.3.0.tgz","fileCount":6,"unpackedSize":11836,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICSp/XtvLkYZ+4K3UramfNIxXhutRdH3fZB+qg6vhNOEAiBvmE8qmx5NPS0+rDe8mvXheFcF+nlldB8q5RamLxJVNQ=="}]},"_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/vue_1.3.0_1787682557084_0.7554666697773129"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-06T00:08:07.267Z","modified":"2026-08-25T18:29:17.418Z","1.0.0":"2026-02-06T00:08:07.518Z","1.1.0":"2026-02-06T01:33:10.633Z","1.2.0":"2026-03-19T19:55:40.830Z","1.2.1":"2026-03-20T15:06:02.602Z","1.2.2":"2026-04-11T21:47:24.924Z","1.3.0":"2026-08-25T18:29:17.238Z"},"bugs":{"url":"https://github.com/ApoloPay/payment-button-sdk/issues"},"homepage":"https://github.com/ApoloPay/payment-button-sdk#readme","repository":{"type":"git","url":"git+https://github.com/ApoloPay/payment-button-sdk.git"},"description":"Vue Payment Button Adapter","maintainers":[{"name":"apolopay","email":"developers@apolopay.app"}],"readme":"# @apolopay-sdk/vue\r\n\r\nVue wrapper for the Apolo Pay SDK. Provides a convenient component to integrate the Apolo Pay payment button into Vue 3 applications.\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @apolopay-sdk/vue\r\n# or\r\npnpm add @apolopay-sdk/vue\r\n```\r\n\r\n## Usage\r\n\r\n```vue\r\n<script setup lang=\"ts\">\r\nimport { ApoloPayButton, ApoloPayClient, type ClientResponse, type ClientError } from '@apolopay-sdk/vue';\r\n\r\n// 1. Initialize the client\r\nconst client = new ApoloPayClient({\r\n  publicKey: 'pk_test_...',\r\n});\r\n\r\nconst processId = 'your-process-id';\r\n\r\n// 2. Define event handlers\r\nconst handleSuccess = (response: ClientResponse) => {\r\n  console.log('Payment successful!', response.message);\r\n};\r\n\r\nconst handleError = (error: ClientError) => {\r\n  console.error('Payment error:', error.message);\r\n};\r\n</script>\r\n\r\n<template>\r\n  <div class=\"container\">\r\n    <h1>My Store</h1>\r\n    \r\n    <!-- 3. Use the component -->\r\n    <ApoloPayButton\r\n      :client=\"client\"\r\n      :processId=\"processId\"\r\n      productTitle=\"Order #VUE-1\"\r\n      lang=\"es\"\r\n      @success=\"handleSuccess\"\r\n      @error=\"handleError\"\r\n      barrierDismissible\r\n    />\r\n  </div>\r\n</template>\r\n```\r\n\r\n## Props and Events\r\n\r\nThe `ApoloPayButton` component accepts the same props as attributes (e.g., `:processId`, `:client`) and emits standard events (`@success`, `@error`).\r\n\r\nFor a full list of available properties, see the documentation for [@apolopay-sdk/ui](../ui/README.md).\r\n\r\n## License\r\n\r\nMIT\r\n","readmeFilename":"README.md"}