{"_id":"@astropay/astropay-sdk","_rev":"14-f636da82719e176a1252836513dff132","name":"@astropay/astropay-sdk","dist-tags":{"latest":"4.2.0"},"versions":{"2.0.0":{"name":"@astropay/astropay-sdk","version":"2.0.0","description":"Official AstroPay client for easy frontend integration to One Touch deposit/cashout","private":false,"main":"./dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/sdk.js","typings":"./dist/index.d.ts","scripts":{"build":"npm run clean && NODE_ENV=production rollup -c","dev":"npm run clean && NODE_ENV=development rollup -c -w","tsc":"tsc --declaration","clean":"rm -rf  dist package-lock.json","clean-all":"rm -rf node_modules dist package-lock.json"},"keywords":["astropay","deposit","cashout"],"author":{"name":"Astropay","email":"support@astropay.com","url":"https://astropay.com/"},"license":"UNLICENSED","dependencies":{"crypto-js":"4.1.1"},"devDependencies":{"@rollup/plugin-commonjs":"20.0.0","@rollup/plugin-node-resolve":"13.0.5","@types/crypto-js":"4.0.2","@types/node":"16.10.2","rollup":"2.57.0","rollup-plugin-ts-paths":"1.0.5","rollup-plugin-typescript2":"0.30.0","rollup-plugin-uglify":"6.0.4","tslib":"2.3.1","typescript":"4.4.3"},"gitHead":"b988deee92c09d0fe0b11ed4bf650b0eed23d82e","_id":"@astropay/astropay-sdk@2.0.0","_nodeVersion":"14.19.0","_npmVersion":"6.14.16","dist":{"integrity":"sha512-EH/k0of4Dmihd5rjQ12o021NNkR4zL+gLcoafa6r9efcORc0iHsS9nHjfsMEptPEnCARqbMaXzsREx8zwUG5VQ==","shasum":"f386b89a81b2bc936ef9b130ec7c291340f62952","tarball":"https://registry.npmjs.org/@astropay/astropay-sdk/-/astropay-sdk-2.0.0.tgz","fileCount":16,"unpackedSize":99199,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbrWjzX8+aIlIi78tDH3kkoBSZDhDojETFxcVHb9ISkgIhAJ6tWlKtD+wadUVrA6DutgcKrvOlcNjqDDbffCK+iZ9V"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJioWUrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrvuA/+LOCewbQQbrnV0C4bvme+P/fN/R28nP3xAU10GcezRo4sk7Bt\r\nXD6HpNB88hN01npnYdK2+hG8imSRQxbTi5+d0i54ODvSp+mYC4ACgvqTDaKX\r\nALuUy8YSZa55mTZrjttNfSed9snx0t9ZYirTwBLO57YyRZ3sWI/FmiPhcB+o\r\nZGIDtRsWhE+4+qytD5RN+uXWEYPzFlO8gmEirib/bmXRod+JzkLSJQi8CsHb\r\nOwTb52O3SkP9ooDsgcan8Lk9dpcBECt14dc68KoXRCPcQGUOX3qsYfNxHFkn\r\njDRbASTYK2VYohwPtZfZfWjs377N9rSwaWOYTpqPXSmvSbwAXqlE4nrpH+yR\r\niyi953sUb/eJIgqq/8mgCAZgh82+H5v79yJbMGisTA1mRnd2BmEm7dkhBfZr\r\nGKTVP2Oni9JU8o+mLQ7+8duuTskvPGQ/YDn5PqjQUpQa1jzLhpgxwr6BfYt2\r\npsxZSRSiX1fywnSyhDr1y7ObWzv5D49hGDxRvrOk0wFbtWIJQcWVC0tyQZ88\r\nyfNvrQ48lBIc9oF3Pro+G0ATkCU2+TNSuFAXzcv6+Lww/CstJvBCLYAsoXWG\r\nGUlJGi/Kcc9ZzXVmjQq3uO8P6rdsG+0ikf9OcockD1vHpQ+em7b5BvRFLBqc\r\nvl2hS1EtXI+Z042IRoSS0w3UDCpFAOhttWI=\r\n=oQlt\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"astropay","email":"it_services@astropay.com"},"directories":{},"maintainers":[{"name":"astropay","email":"it_services@astropay.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/astropay-sdk_2.0.0_1654744363416_0.8487066483596215"},"_hasShrinkwrap":false,"deprecated":"Version 2.x is no longer supported"},"2.1.0":{"name":"@astropay/astropay-sdk","version":"2.1.0","description":"Official AstroPay client for easy frontend integration to One Touch deposit/cashout","main":"./dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/sdk.js","typings":"./dist/index.d.ts","scripts":{"build":"npm run clean && NODE_ENV=production rollup -c","dev":"npm run clean && NODE_ENV=development rollup -c -w","tsc":"tsc --declaration","clean":"rm -rf  dist package-lock.json","clean-all":"rm -rf node_modules dist package-lock.json"},"keywords":["astropay","deposit","cashout"],"author":{"name":"Astropay","email":"support@astropay.com","url":"https://astropay.com/"},"license":"UNLICENSED","dependencies":{"crypto-js":"^4.1.1"},"devDependencies":{"@rollup/plugin-commonjs":"^24.0.0","@rollup/plugin-node-resolve":"^15.0.1","@types/crypto-js":"^4.1.1","@types/node":"^18.11.11","rollup":"^2.57.0","rollup-plugin-ts-paths":"^1.0.5","rollup-plugin-typescript2":"^0.34.1","rollup-plugin-uglify":"^6.0.4","tslib":"^2.4.1","typescript":"^4.4.3"},"gitHead":"540300c5994f72e581ff415c6684392dd30c59d1","_id":"@astropay/astropay-sdk@2.1.0","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-t7ieFNvTvieuYvz7qIk32EyWbJ+h/WkUEjb1vmRfENhWsNup9cUYglZ8t0MJyB3BdRpeu+1e59MNu0KM6twdAQ==","shasum":"c92b7211ca0fb171b0f59a3ae6434d911e7395b3","tarball":"https://registry.npmjs.org/@astropay/astropay-sdk/-/astropay-sdk-2.1.0.tgz","fileCount":16,"unpackedSize":68355,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNF7EDkdWsAqnLKOkvDrKynhMuHe50K63LHdS3Hz9fOwIhAPURle9TZArQIrCZ2541AxHB1PmhoQPKQTKJ1er9Hyw3"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5p6eACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoWHA/9Eq1OV5oqqcB1RKhEXmt6/Y/PVjGr8585wpI5Ek+f+ofsrgOW\r\nVIvPHE4a4oe3HRcbealOuUwr50PvLQzh6jI9VeVaklxM7S5QhvKVa0B3t5hU\r\nCJnNEkF+5aaKv8RoRUEl/pMSOmcJnZ0RzibECrKPAIzIUNn6hmvnV3Q4pjvk\r\nnWomg9NZileR/9YXmFKJGCNpskwC8zhYPPL8q1tdXGqA3EygSUM8pJQ83Yyg\r\nIbiFUQMxKrV59ej118bE3CPld6UPY9OgmgKpVGbxy8lLNvDtynduX4NwEpeR\r\n9y6Z3evP2COcjmWDQ//8LVsfg9cF7CPzLPp33dwWF1x3r+JxWlvNdnPYbBe1\r\nUYnOWnULWOjZiG84Xv48LL4g4HQXAnGziA0kFQRNU71viL9wH5SEsoHZD2ri\r\nMbObsMreawLAuJmcqxfUELLSfgwjUDy1nfh6Ow28sSHdWabXQNv+OUVQaHgO\r\nNTm3hkIDQi291+9xUXH2U4WfbKp/oEylnrxhoKxIXG/2FFePBlxI0KGxk5pw\r\ngItE6Bj32LyCXdnohHpn3UPojk6vOsXmAmHygWcBSmOwgjEoOhTrfl8G0WGB\r\nhACnf6JGKDY+rkrivpmOZUTlsJLNy9Rz9yOFwLBBA3VqS0tcncjjTfvpGIom\r\nhWGDDAAanZ1XzLMTB+EvinVW9l7+xz6i8PY=\r\n=YhlD\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"astropay","email":"it_services@astropay.com"},"directories":{},"maintainers":[{"name":"astropay","email":"it_services@astropay.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/astropay-sdk_2.1.0_1676058270664_0.7202982122907404"},"_hasShrinkwrap":false,"deprecated":"Version 2.x is no longer supported"},"3.0.0":{"name":"@astropay/astropay-sdk","version":"3.0.0","description":"Official AstroPay client for easy frontend integration to One Touch deposit/cashout","main":"./dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/sdk.js","typings":"./dist/index.d.ts","scripts":{"build":"npm run clean && NODE_ENV=production rollup -c","dev":"npm run clean && NODE_ENV=development rollup -c -w","tsc":"tsc --declaration","clean":"rm -rf  dist package-lock.json","clean-all":"rm -rf node_modules dist package-lock.json"},"keywords":["astropay","deposit","cashout"],"author":{"name":"Astropay","email":"support@astropay.com","url":"https://astropay.com/"},"license":"UNLICENSED","dependencies":{"crypto-js":"^4.1.1"},"devDependencies":{"@rollup/plugin-commonjs":"^24.0.0","@rollup/plugin-node-resolve":"^15.0.1","@types/crypto-js":"^4.1.1","@types/node":"^18.11.11","rollup":"^2.57.0","rollup-plugin-ts-paths":"^1.0.5","rollup-plugin-typescript2":"^0.34.1","rollup-plugin-uglify":"^6.0.4","tslib":"^2.4.1","typescript":"^4.4.3"},"gitHead":"38bd6d8aad04afc2e5ab2b1545a3447382b53ac2","_id":"@astropay/astropay-sdk@3.0.0","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-hFIlRnZYo/4ZTOoRIZrlqVFeafG9G1JRIX+NAtXhxWvTXRoqswKtdtB0wiqbRvA4IM7iWSGE/WeWHD85rvzJyA==","shasum":"535c1576df5c94b893bb4b271e890819256aa82c","tarball":"https://registry.npmjs.org/@astropay/astropay-sdk/-/astropay-sdk-3.0.0.tgz","fileCount":16,"unpackedSize":71843,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICzJmhqQb+nhIwn4Eeo3RhA7jCyit4zRXxP83n5JLTKuAiAHZ4cB/zZJqgUIPvq/iUlNmnzkYdYOpBu22rqAA3kLew=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7mPFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqiIg/9Fg/hepw6qDbMSmS0kiZGYyyQnRyOckKhVkfsLKVDpnXmLzSo\r\nnB/vewmjxesjaSdCK/802PnOqCw1PINAfL4JlN5P+zGINL1mZIcUXNAEWUMi\r\nIZPBdMKnTHBebz3FM7zDx6KRPow0x5bPHTmiqUsiEiMx9ewQGGW4Pi3CJXYV\r\n/0TvmpSIepR0gvZUcJCdMyULhhVJo3P3okk97KCohATSyWXmnyJHa7YLoYh0\r\nybbt1hI+ruRXT9Up0v2APzV+SdaQhZzvqHW+gnFwFJ/5joQT/OTDrJnApyNU\r\nBe2DSHwvt4pQBY8HxMRM5DX2mgZoVTT8T7RBTS5ZUTn/Hnem+8xuVkY2QjXW\r\nkKNIgin0B9W30Fsa+oNQR8I2k1zU4WpCrO7VhWTSiA3de7RnsaZjhEd6XEAX\r\nw1CIBI3FM1igXRsvoo6zCFBK+EeC4nJFhWBOHDJJo6o9ZueCiC9e9BGSf6MF\r\ncbhKiGL3bDxBOx5yXFuG8tL5f8fyHGWouuwrF5gelrdvLC5xILYa+ZMGyxaA\r\nrumVkWyTlZn4l5uprVqyZLMCt77emdXvDNYu4BBjlvfAjEcAsu46xUNRaIBC\r\nOAz32Y38rRSP6GuNcXt/9Nr8Mvr0ikFH8oqeGOrWC1XAyzopiXYReR5ws1TE\r\nbiPimkxvjiDqs8O174byiiMjYB7+cC5Sng0=\r\n=K6LL\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"astropay","email":"it_services@astropay.com"},"directories":{},"maintainers":[{"name":"astropay","email":"it_services@astropay.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/astropay-sdk_3.0.0_1676567493581_0.22019824262459808"},"_hasShrinkwrap":false},"3.0.1":{"name":"@astropay/astropay-sdk","version":"3.0.1","description":"Official AstroPay client for easy frontend integration to One Touch deposit/cashout","main":"./dist-cjs/index.js","module":"dist-es/index.js","browser":"dist/sdk.js","types":"./dist-types/index.d.ts","scripts":{"build":"concurrently  'npm:build:brw' 'npm:build:cjs' 'npm:build:es' 'npm:build:types'","build:brw":"npm run clean:brw && NODE_ENV=production rollup -c rollup.config.js","build:cjs":"npm run clean:cjs && NODE_ENV=production rollup -c rollup.config-cjs.js","build:es":"npm run clean:es && NODE_ENV=production rollup -c rollup.config-es.js","build:types":"npm run clean:types && tsc -p tsconfig.types.json","dev":"npm run clean && NODE_ENV=development rollup -c -w","clean":"rimraf -rf  dist* *.tgz","clean:brw":"rimraf -rf  dist","clean:cjs":"rimraf -rf  dist-cjs","clean:es":"rimraf -rf  dist-es","clean:types":"rimraf -rf  dist-types","clean:deps":"rimraf -rf node_modules package-lock.json yarn.lock","clean:all":"concurrently 'npm:clean:brw' 'npm:clean:cjs' 'npm:clean:es' 'npm:clean:types' 'npm:clean:deps'"},"keywords":["astropay","deposit","cashout"],"author":{"name":"Astropay","email":"support@astropay.com","url":"https://astropay.com/"},"license":"UNLICENSED","devDependencies":{"@rollup/plugin-commonjs":"^24.0.0","@rollup/plugin-node-resolve":"^15.0.1","@rollup/plugin-terser":"^0.4.0","@types/crypto-js":"^4.1.1","@types/node":"^18.11.11","concurrently":"^7.6.0","rimraf":"^4.1.2","rollup":"^2.79.1","rollup-plugin-ts-paths":"^1.0.5","rollup-plugin-typescript2":"^0.34.1","tslib":"^2.4.1","typescript":"^4.4.3"},"gitHead":"482e77ac9f3981725474f3128e1e6c98cab57881","_id":"@astropay/astropay-sdk@3.0.1","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-bpm5n75A+57NRmHXoiTMLHFaJ8pedm/47Qw1tA4H9trQPe4zGcN5xUPyYkX6/nCxZMY0+NmkzFFSy21Hp/aSzg==","shasum":"313740da12c781f23ad1b403519a409a97a1fe44","tarball":"https://registry.npmjs.org/@astropay/astropay-sdk/-/astropay-sdk-3.0.1.tgz","fileCount":19,"unpackedSize":33588,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGCzzkPg0qss6D1rOeiDorM8LwnyTQnBH0uLnN2qLMmlAiEAjgvKpbFxe3Y+jV4nG5lPmhVPCmfckJoEPES1qkWx0VU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkAQdPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpk/xAAnhbLrPrK2PMpJxHnTVrd1q72sSjSSD0QgTnVaQo46LBbI50u\r\nItl2w22UMwajkajFsxh5RdC1KbKDWvIZj57jGF29X1xCHfKx/uGMhqJ3cbkW\r\nsqRgi3XIT4bN0JhbaopHfugKQF5YoeUApKogf/wQn4L/rpSYCycRSSbBLV/w\r\nX/jfC6kHPXKe1l8/qE274hRjy1Cn+wyrYkf61MNlSFQxz1JhSKr6ZnvU0BgV\r\ngI5d+Zupjvdx8/ytcOo4vWwkkeNDAVOCvsmEbrHMyxizm5QnALdA7eHOrlkS\r\nF2lSAgZmvcNNnuDhJ8nzqdgBeYkG/nKH+b3+veC7YnzHIBZLWLbhfR9OIrH3\r\nO7DiTd2DWBlHyEecBQnlBPG4rxsY8KDUztpOGjEdpfYE2lP1H0gaxCQXkaNp\r\nYL4gHAMY4GdMQKC1myQGOf9PvWJM98XB2KH626RPvvkARpNvzSVW++/nY4te\r\nRndZVPJD1jE/gK9zTXW42WqNOXhBI54VJ2230TmLzzFgkbRNSsYleadlDTOi\r\n+YSahK2a7PtkKchCpygkDs/i65VDnY7zLC4MLCB368pUMkIjSUL4ZyhJBUSR\r\nl3ClFQSffAWZ7kUbNN8wZH2pRHImPvlG5715cRmsMAyShzbRyEHhsEYUubQA\r\nnXo5+fAAxJcXQiNLvR2Gntkg62hxFinB7kY=\r\n=CJZi\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"astropay","email":"it_services@astropay.com"},"directories":{},"maintainers":[{"name":"astropay","email":"it_services@astropay.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/astropay-sdk_3.0.1_1677789007473_0.0879806500710838"},"_hasShrinkwrap":false},"3.0.2":{"name":"@astropay/astropay-sdk","version":"3.0.2","description":"Official AstroPay client for easy frontend integration to One Touch deposit/cashout","main":"./dist-cjs/index.js","module":"dist-es/index.js","browser":"dist/sdk.js","types":"./dist-types/index.d.ts","scripts":{"build":"concurrently  'npm:build:brw' 'npm:build:cjs' 'npm:build:es' 'npm:build:types'","build:brw":"npm run clean:brw && NODE_ENV=production rollup -c rollup.config.js","build:cjs":"npm run clean:cjs && NODE_ENV=production rollup -c rollup.config-cjs.js","build:es":"npm run clean:es && NODE_ENV=production rollup -c rollup.config-es.js","build:types":"npm run clean:types && tsc -p tsconfig.types.json","dev":"npm run clean && NODE_ENV=development rollup -c -w","clean":"rimraf -rf  dist* *.tgz","clean:brw":"rimraf -rf  dist","clean:cjs":"rimraf -rf  dist-cjs","clean:es":"rimraf -rf  dist-es","clean:types":"rimraf -rf  dist-types","clean:deps":"rimraf -rf node_modules package-lock.json yarn.lock","clean:all":"concurrently 'npm:clean:brw' 'npm:clean:cjs' 'npm:clean:es' 'npm:clean:types' 'npm:clean:deps'"},"keywords":["astropay","deposit","cashout"],"author":{"name":"AstroPay","email":"support@astropay.com","url":"https://developers-wallet.astropay.com/help"},"contributors":[{"name":"AstroPay IT","email":"it_services@astropay.com"}],"license":"UNLICENSED","devDependencies":{"@rollup/plugin-commonjs":"^24.0.0","@rollup/plugin-node-resolve":"^15.0.1","@rollup/plugin-terser":"^0.4.0","@types/crypto-js":"^4.1.1","@types/node":"^18.11.11","concurrently":"^7.6.0","rimraf":"^4.1.2","rollup":"^2.79.1","rollup-plugin-ts-paths":"^1.0.5","rollup-plugin-typescript2":"^0.34.1","tslib":"^2.4.1","typescript":"^4.4.3"},"gitHead":"c28e77ef75ee2533f2d428df872bf6cdc0571f2f","_id":"@astropay/astropay-sdk@3.0.2","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-Hveuso+lLh0srIQtQxEOPTcOTrVtYJF+Tw6WQMMpdgAf6GNrsBFbx16FrFhKsf9Glu7/1BPc+QVRDIqMQQTDEQ==","shasum":"d201d294943e9fe7f393bde70f1dad63c7d625ca","tarball":"https://registry.npmjs.org/@astropay/astropay-sdk/-/astropay-sdk-3.0.2.tgz","fileCount":19,"unpackedSize":33837,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICx4vEPxbW2buxgTkppCBT43NB7Of13+CqdXZ7E+NokCAiBwSKGN3X/9/QbbCuxQMKSzVz4hvIIq5iGXc2QSNVqHBg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkARQyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmquGA/9FipQb0ofgpdxh2cvWCfBn/gy+pHp75KoA3wdaUQjO0bYMvFS\r\nzfybPoHq5fwdirejkxYY+bRGszREXDLNnSmU9w4WH19qkvoGN5S0eiTqsoBs\r\nQlUi8EzgNX1NbC2ymj8Mi8MgDmsxBUeMm8TUSBHnQuEbBUAxoV3ynylFwJLi\r\nLLtb7/PCaNohCSHuovtA2zsHM4eEfZaAj6zZknQds32Hp58vnUYH0JJYgE9h\r\nvXgQR60aDBc+mUUl2Q6eempXz1ZbyEpVHLbsPfYIS3escVBVkiYXO8VQhLSv\r\nM2uGHrzQUVQyFF2NvZ5BFXkhP6BgPD/k3CviWqkh/NFVwbQ7UDE46+r9hQTF\r\n8aN5URN9lMl3owZDZlkKJrnBKVU+PofregWjE4rTSVAuRI3raNRoPK0YqL1j\r\nQNSLPJe3colzU2yzg0ItVs1lYRFbPtNPQu7Y4LGjS3IDr2umV9EPOLFHx3x6\r\nrhRlsFGt/YrU65sfVOYX3yw9pLMV5Mo1aNUtFkBGFnrJ5hBDQxx/hxsIsaQk\r\n8yx0LfL7L9wq8yZN1oLWuupM/mY7K9Q6sU7y0xKxwd3k9jy0Wzl81R1kCkLg\r\nuZGT1lQW5JsJe2FzMkLX39sQrKbNBZKvM2X05O5g7W/jkavbbCaUu+P1ncyq\r\nz+V5pp3ILWDYowlTN5zRGwqVE3Jt8HmypPs=\r\n=G+QM\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"astropay","email":"it_services@astropay.com"},"directories":{},"maintainers":[{"name":"astropay","email":"it_services@astropay.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/astropay-sdk_3.0.2_1677792306181_0.009841287738284743"},"_hasShrinkwrap":false},"3.0.3":{"name":"@astropay/astropay-sdk","version":"3.0.3","description":"Official AstroPay client for easy frontend integration to One Touch deposit/cashout","main":"./dist-cjs/index.js","module":"dist-es/index.js","browser":"dist/sdk.js","types":"./dist-types/index.d.ts","scripts":{"build":"concurrently  'npm:build:brw' 'npm:build:cjs' 'npm:build:es' 'npm:build:types'","build:brw":"npm run clean:brw && NODE_ENV=production rollup -c rollup.config.js","build:cjs":"npm run clean:cjs && NODE_ENV=production rollup -c rollup.config-cjs.js","build:es":"npm run clean:es && NODE_ENV=production rollup -c rollup.config-es.js","build:types":"npm run clean:types && tsc -p tsconfig.types.json","dev":"npm run clean && NODE_ENV=development rollup -c -w","clean":"rimraf -rf  dist* *.tgz","clean:brw":"rimraf -rf  dist","clean:cjs":"rimraf -rf  dist-cjs","clean:es":"rimraf -rf  dist-es","clean:types":"rimraf -rf  dist-types","clean:deps":"rimraf -rf node_modules package-lock.json yarn.lock","clean:all":"concurrently 'npm:clean:brw' 'npm:clean:cjs' 'npm:clean:es' 'npm:clean:types' 'npm:clean:deps'"},"keywords":["astropay","deposit","cashout"],"author":{"name":"AstroPay","email":"support@astropay.com","url":"https://developers-wallet.astropay.com/help"},"contributors":[{"name":"AstroPay IT","email":"it_services@astropay.com"}],"license":"UNLICENSED","devDependencies":{"@rollup/plugin-commonjs":"^24.0.0","@rollup/plugin-node-resolve":"^15.0.1","@rollup/plugin-terser":"^0.4.0","@types/crypto-js":"^4.1.1","@types/node":"^18.11.11","concurrently":"^7.6.0","rimraf":"^4.1.2","rollup":"^2.79.1","rollup-plugin-ts-paths":"^1.0.5","rollup-plugin-typescript2":"^0.34.1","tslib":"^2.4.1","typescript":"^4.4.3"},"gitHead":"bb09c443f47aad9d04b417afddaffa8a8e97750c","_id":"@astropay/astropay-sdk@3.0.3","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-36zdkjc9EZMtnRN3cYwodFjVetgCsxPPLV27P6Bg3/ikVF3R1uSFICd5m+Dg2Nj4XJc3GOxDuD5Z6ZLD9SqpMw==","shasum":"eb586455e6a37849cc0aa33a37ca8c4b6e54138c","tarball":"https://registry.npmjs.org/@astropay/astropay-sdk/-/astropay-sdk-3.0.3.tgz","fileCount":19,"unpackedSize":33837,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLkYsstQTVcq/mgZCwb1QRweBC8ANORaFQoezCm7dCXwIhAIjCi6Div4oMbkgSk8nHgTxuaQ5BVb4DZOszPZJLaHAn"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkAfpnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqVLg//YnlJ2qxlhE7SZSjVuuRfKOgCeXIS2OXKW0imP867t53v1UP+\r\nDLtNV7ZjGjF2FDr83qiVqmlw1UlqygL7nojKg9zTEuN8TAmPpmpezkrqMJUD\r\nKoX0UxWVb0MVHzEoBx86d0uqVn4hYTCZEMPHrB4FtaY32mwx2wekwUvSYHi/\r\nwlYRU4ZG9G5mDAuIlPfxIoBBuiUXanNxgN+GtdqikCYlJDjGMBDR6O/Mvj0w\r\nIstHWYGu6Oos+pEzC/JtwIB3v6Vz84buzIYJzy65/wSK4cYPYG00Ahnn8sJy\r\naX76eHVpbs6yo5x5SvLLoYm4epHgz7Kjo+JpFwgb+iJQaqP7Z5FniuuG1Xr2\r\nDH7RJoDLT2vw8q944LkCluPD7CtZmRTbz9qGP8DPEbP6HALnSHWkmBnjk7PN\r\ncxpgQv5GxSvTVoZYbKnPiVnN7gY88VVkYWqMuxHpdxW6ypehXE4GGWHkj1iy\r\n+CvlZHeNiBKln4rBM/9sRQwNT/faLDv3O9NZgAN8251sG9gJdLaqHCD+5edj\r\nG2rvt26QSax7i7Uvfoh1C5jcZAIvv03LMtuVNh4sTaAU5fdiVRxMRLro6/TI\r\nBNTaeIjDjqwx9F6sX40UNQ6XH07tuT09tojJnhP0tEAjIZZyKSI7qds7HeJR\r\nf7szT9Yq+q/WISDucZrqok71iTasKsh6/EM=\r\n=WAbZ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"astropay","email":"it_services@astropay.com"},"directories":{},"maintainers":[{"name":"astropay","email":"it_services@astropay.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/astropay-sdk_3.0.3_1677851239236_0.19197993462569185"},"_hasShrinkwrap":false},"3.0.4":{"name":"@astropay/astropay-sdk","version":"3.0.4","description":"Official AstroPay client for easy frontend integration to One Touch deposit/cashout","main":"./dist/index-cjs.js","module":"dist/index-es.js","browser":"dist/sdk.js","types":"./dist-types/index.d.ts","scripts":{"build":"NODE_ENV=production concurrently  'npm:build:brw' 'npm:build:cjs' 'npm:build:es' 'npm:build:types'","build:brw":"npm run clean:brw && rollup -c rollup.config.js","build:cjs":"npm run clean:cjs && rollup -c rollup.config-cjs.js","build:es":"npm run clean:es && rollup -c rollup.config-es.js","build:types":"npm run clean:types && tsc -p tsconfig.types.json","dev":"npm run clean && NODE_ENV=development rollup -w -c","clean":"rimraf -rf  dist* *.tgz","clean:brw":"rimraf -rf  dist/index.js dist/sdk.js dist/index.js.map dist/sdk.js.map","clean:cjs":"rimraf -rf  dist/index-cjs.js dist/index-cjs.js.map","clean:es":"rimraf -rf  dist/index-es.js dist/index-es.js.map","clean:types":"rimraf -rf  dist-types","clean:deps":"rimraf -rf node_modules package-lock.json yarn.lock","clean:all":"concurrently 'npm:clean:brw' 'npm:clean:cjs' 'npm:clean:es' 'npm:clean:types' 'npm:clean:deps'"},"keywords":["astropay","deposit","cashout"],"author":{"name":"AstroPay","email":"support@astropay.com","url":"https://developers-wallet.astropay.com/help"},"contributors":[{"name":"AstroPay IT","email":"it_services@astropay.com"}],"license":"UNLICENSED","devDependencies":{"@rollup/plugin-commonjs":"^24.0.0","@rollup/plugin-node-resolve":"^15.0.1","@rollup/plugin-replace":"^5.0.2","@rollup/plugin-terser":"^0.4.0","@types/crypto-js":"^4.1.1","@types/node":"^18.14.5","concurrently":"^7.6.0","rimraf":"^4.1.2","rollup":"^2.79.1","rollup-plugin-ts-paths":"^1.0.5","rollup-plugin-typescript2":"^0.34.1","tslib":"^2.4.1","typescript":"^4.4.3"},"gitHead":"9f1ec47c5ff653a8d99d17cbd7bd6d9196d2adcc","_id":"@astropay/astropay-sdk@3.0.4","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-vVBJ3FNE2+zEJC+4QEm/haMuF9guo/chGcAoF5B3XRNhn9OXqItIart8VMihuK1GG9Jvj90eeG5IMERADYb36g==","shasum":"c5fa60e1418a360e55cce7297d990bd9d0646214","tarball":"https://registry.npmjs.org/@astropay/astropay-sdk/-/astropay-sdk-3.0.4.tgz","fileCount":20,"unpackedSize":36126,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDl1nBeRI/k6XHjyWuMO5zR+j//LFv/ApIrBjItHS71gAIhAJYvj8pd69xNYUsCV5ZNb9B2y8J3S0JsrAOoOstSu9VB"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkAj1jACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpe1Q//bnwrtba5BLdl9S2dao60mNUav9MAcBLcN4dkUqYoWgjTlXHn\r\nODERflpXUsxij9v68WQ8R9qKr/rGTeMLqJ2gE1xfCAj2DPbt0PQy8jICMZo1\r\nKlLoeRVGnuKILuJ/xz0nooXBJnoB0RmBAFds87PZNZsAkcFSpX/TXfp4wChv\r\nMGg6qLN5TUt3GFLyOBgbULBKvQIulyQr6Zqq1AKGXMDl874/0lEdYXFuPKCb\r\noRX5tFgr0W+RDDSYKIpTLIDcFcfWSMJdAYcG6Gz1qVl+InJK2dXvhR6hgOpU\r\nR/H5I0lszubWepRNV0VPmb58H/1f/9PLkG1VCKlrxrFOPR0f6fdUIDJn5V+V\r\nc4EnL/rps94oKYRiWdGuwq8aez3aeNvRqWVQWfH4DFXOp1nPMy8vwQ3+Q3B2\r\nnu0KSIConoC6xbK5x2ft78a/OOYfSPRly/Tnb3/C8UtAVPg79geeV5klbyJB\r\nYNP0SXOnDqaQ4n/xd+7BBTn3WjFiPU1FslnCt6yXsnWkDkkLYU0LHhzag7T4\r\nkDkVSNx2XKKd5A6PPz9Xk9llGRs8SY/kBN1eXML2CFWXQqecMV3rjjoWIcy/\r\nZkC3iXI/dwldEjOpOJPlp3HxVGtsqPWoAkZP88+oRs33XuKRomoW1lY2usZq\r\nNc8fsA8pznd8YTfI+rxt6NSPmkmAnFLS1b4=\r\n=wAfB\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"astropay","email":"it_services@astropay.com"},"directories":{},"maintainers":[{"name":"astropay","email":"it_services@astropay.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/astropay-sdk_3.0.4_1677868387233_0.5603243048292881"},"_hasShrinkwrap":false},"4.0.0":{"name":"@astropay/astropay-sdk","version":"4.0.0","description":"Official AstroPay client for easy frontend integration to One Touch","main":"./dist/index-cjs.js","module":"dist/index-es.js","browser":"dist/sdk.js","types":"./dist-types/index.d.ts","scripts":{"build":"NODE_ENV=production concurrently  'npm:build:brw' 'npm:build:cjs' 'npm:build:es' 'npm:build:types'","build:brw":"npm run clean:brw && rollup -c rollup.config.js","build:cjs":"npm run clean:cjs && rollup -c rollup.config-cjs.js","build:es":"npm run clean:es && rollup -c rollup.config-es.js","build:types":"npm run clean:types && tsc -p tsconfig.types.json && tsc-alias -p tsconfig.types.json","dev":"npm run clean && NODE_ENV=development rollup -w -c","clean":"rimraf -rf  dist* *.tgz","clean:brw":"rimraf -rf  dist/index.js dist/sdk.js dist/index.js.map dist/sdk.js.map","clean:cjs":"rimraf -rf  dist/index-cjs.js dist/index-cjs.js.map","clean:es":"rimraf -rf  dist/index-es.js dist/index-es.js.map","clean:types":"rimraf -rf  dist-types","clean:deps":"rimraf -rf node_modules package-lock.json yarn.lock","clean:all":"concurrently 'npm:clean:brw' 'npm:clean:cjs' 'npm:clean:es' 'npm:clean:types' 'npm:clean:deps'","test":"exit 0"},"engines":{"node":">=14.0.0"},"keywords":["astropay","deposit","cashout","onboarding"],"author":{"name":"AstroPay","email":"support@astropay.com","url":"https://developers-wallet.astropay.com/help"},"contributors":[{"name":"AstroPay IT","email":"it_services@astropay.com"}],"license":"UNLICENSED","dependencies":{"bowser":"^2.11.0"},"devDependencies":{"@rollup/plugin-commonjs":"^24.0.0","@rollup/plugin-node-resolve":"^15.0.1","@rollup/plugin-replace":"^5.0.2","@rollup/plugin-terser":"^0.4.0","@types/crypto-js":"^4.1.1","@types/node":"^18.14.5","concurrently":"^7.6.0","rimraf":"^4.1.2","rollup":"^2.79.1","rollup-plugin-sizes":"^1.0.5","rollup-plugin-ts-paths":"^1.0.5","rollup-plugin-typescript2":"^0.34.1","tsc-alias":"^1.8.3","tslib":"^2.4.1","typescript":"^4.6.2"},"gitHead":"917820e5eeff4e3f5e13e06887c2fab90efaabed","_id":"@astropay/astropay-sdk@4.0.0","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-5xMm1mByIMVJlrhid64NX0011gwuxh7clUcbRCdOsmlE/OctHXXOhdzg+AyTbj4nPlM74eNfpB3Qldg5a5OWAw==","shasum":"faeed1959f9316d4abe1948032e3ee50d1146cd8","tarball":"https://registry.npmjs.org/@astropay/astropay-sdk/-/astropay-sdk-4.0.0.tgz","fileCount":51,"unpackedSize":384662,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBVrR2FwLCL3bow8FNIn7W+uAVWonMG1UA6ZNBMcIIBmAiEAtdGjB7kAjQaACJlWkABbrVYYw8BacMsW+smyfm8gHrE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPUDpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoG7Q//TxFnc0IV9ySZnByghlPkbXXPcM2BGCduQHGTafon8ND8ZEXK\r\ne9pWa7e4+bMNnCOIt+eBldKwvPG5hwRjEHrOyGrptAftq9ahJIThQekWQBEz\r\nPno+/scf7ziWaFObpjSQKemDsEG/f8+3WiX5xgDCRfViCZgp2NYaKnlMSQeV\r\n1Y8KN9+UEJF37x3HVZyLFzaDWZ4uFLn8CcYEXWFvj39QJ+rK07CW62zQ+HRq\r\nUN2WF1ifFbAWYgj8KQdj63IswNlKRv9P5WHDCOUzdXhN9eUeGAKknO7rkcuf\r\n8NrO7pKnxhy8byv8JUVm5v8Z5+fPFcuMHxIZ3/vqI1x9O57QAXq0qVC2GikX\r\nlyhPV8/YfW/53zhVtzCpGqi37perJSdYiov1RE29jppSqod98QkZKkQlLSXM\r\ndRgTJwZudO4AXNbqIwX7Zc29+FqKunPtNHmoRjOWu0CbH1dDJLeeF2Wbty7u\r\nSrAhzPF0Yaira3OzjqdcGmIw1rEq0zUyI6femE1+VXFCNYfTUoyPMN6RMmOs\r\ncwUe8c4myn6HhCD9+ZAGMLOHgJR+YEBnzMCTNR5wNGuldsQQ6Zip9jI1ozDm\r\nInYj1mk691wjySE0TcF+rv7o5EdXKA7FzKoMfjySmzbH5bt0xc2k8qWr7dhv\r\nJjuCaaiBYBJnrakNJZKDaU+8Zl17wn5vwa4=\r\n=KohY\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"astropay","email":"it_services@astropay.com"},"directories":{},"maintainers":[{"name":"astropay","email":"it_services@astropay.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/astropay-sdk_4.0.0_1681735913313_0.04458087568435065"},"_hasShrinkwrap":false},"4.0.1":{"name":"@astropay/astropay-sdk","version":"4.0.1","description":"Official AstroPay client for easy frontend integration to One Touch","main":"./dist/index-cjs.js","module":"dist/index-es.js","browser":"dist/sdk.js","types":"./dist-types/index.d.ts","scripts":{"build":"NODE_ENV=production concurrently  'npm:build:brw' 'npm:build:cjs' 'npm:build:es' 'npm:build:types'","build:brw":"npm run clean:brw && rollup -c rollup.config.js","build:cjs":"npm run clean:cjs && rollup -c rollup.config-cjs.js","build:es":"npm run clean:es && rollup -c rollup.config-es.js","build:types":"npm run clean:types && tsc -p tsconfig.types.json && tsc-alias -p tsconfig.types.json","dev":"npm run clean && NODE_ENV=development rollup -w -c","clean":"rimraf -rf  dist* *.tgz","clean:brw":"rimraf -rf  dist/index.js dist/sdk.js dist/index.js.map dist/sdk.js.map","clean:cjs":"rimraf -rf  dist/index-cjs.js dist/index-cjs.js.map","clean:es":"rimraf -rf  dist/index-es.js dist/index-es.js.map","clean:types":"rimraf -rf  dist-types","clean:deps":"rimraf -rf node_modules package-lock.json yarn.lock","clean:all":"concurrently 'npm:clean:brw' 'npm:clean:cjs' 'npm:clean:es' 'npm:clean:types' 'npm:clean:deps'","test":"exit 0"},"engines":{"node":">=14.0.0"},"keywords":["astropay","deposit","cashout","onboarding"],"author":{"name":"AstroPay","email":"support@astropay.com","url":"https://developers-wallet.astropay.com/help"},"contributors":[{"name":"AstroPay IT","email":"it_services@astropay.com"}],"license":"UNLICENSED","dependencies":{"bowser":"^2.11.0"},"devDependencies":{"@rollup/plugin-commonjs":"^24.0.0","@rollup/plugin-node-resolve":"^15.0.1","@rollup/plugin-replace":"^5.0.2","@rollup/plugin-terser":"^0.4.0","@types/crypto-js":"^4.1.1","@types/node":"^18.14.5","concurrently":"^7.6.0","rimraf":"^4.1.2","rollup":"^2.79.1","rollup-plugin-sizes":"^1.0.5","rollup-plugin-ts-paths":"^1.0.5","rollup-plugin-typescript2":"^0.34.1","tsc-alias":"^1.8.3","tslib":"^2.4.1","typescript":"^4.6.2"},"gitHead":"125731fd5390301c0133a67c123bd1ad9549c4c3","_id":"@astropay/astropay-sdk@4.0.1","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-WEiLNBjQhhxPncyQaCtLgKG8u4K3Br17mWb4wsiNtYJ0vf97yvlEbqnbizbX930XEeC+zO9JJ/veQoJYyYVE1Q==","shasum":"6ea8e406c6f1e7bb46dfb295a084e85d37e992fb","tarball":"https://registry.npmjs.org/@astropay/astropay-sdk/-/astropay-sdk-4.0.1.tgz","fileCount":54,"unpackedSize":384379,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDC58N2dHHAqafl3Ns1LMMEFmAxsPH582UVtvXzngInEAIhALq+fU4xSpvhwh+d59J8zbbQJX4c0KbXkauplVjZ+nBN"}]},"_npmUser":{"name":"astropay","email":"it_services@astropay.com"},"directories":{},"maintainers":[{"name":"astropay","email":"it_services@astropay.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/astropay-sdk_4.0.1_1683904508354_0.4899400531240412"},"_hasShrinkwrap":false},"4.0.2":{"name":"@astropay/astropay-sdk","version":"4.0.2","description":"Official AstroPay client for easy frontend integration to One Touch","main":"./dist/index-cjs.js","module":"dist/index-es.js","browser":"dist/sdk.js","types":"./dist-types/index.d.ts","scripts":{"build":"NODE_ENV=production concurrently  'npm:build:brw' 'npm:build:cjs' 'npm:build:es' 'npm:build:types'","build:brw":"npm run clean:brw && rollup -c rollup.config.js","build:cjs":"npm run clean:cjs && rollup -c rollup.config-cjs.js","build:es":"npm run clean:es && rollup -c rollup.config-es.js","build:types":"npm run clean:types && tsc -p tsconfig.types.json && tsc-alias -p tsconfig.types.json","dev":"npm run clean && NODE_ENV=development rollup -w -c","clean":"rimraf -rf  dist* *.tgz","clean:brw":"rimraf -rf  dist/index.js dist/sdk.js dist/index.js.map dist/sdk.js.map","clean:cjs":"rimraf -rf  dist/index-cjs.js dist/index-cjs.js.map","clean:es":"rimraf -rf  dist/index-es.js dist/index-es.js.map","clean:types":"rimraf -rf  dist-types","clean:deps":"rimraf -rf node_modules package-lock.json yarn.lock","clean:all":"concurrently 'npm:clean:brw' 'npm:clean:cjs' 'npm:clean:es' 'npm:clean:types' 'npm:clean:deps'","test":"exit 0"},"engines":{"node":">=14.0.0"},"keywords":["astropay","deposit","cashout","onboarding"],"author":{"name":"AstroPay","email":"support@astropay.com","url":"https://developers-wallet.astropay.com/help"},"contributors":[{"name":"AstroPay IT","email":"it_services@astropay.com"}],"license":"UNLICENSED","dependencies":{"bowser":"^2.11.0"},"devDependencies":{"@rollup/plugin-commonjs":"^24.0.0","@rollup/plugin-node-resolve":"^15.0.1","@rollup/plugin-replace":"^5.0.2","@rollup/plugin-terser":"^0.4.0","@types/crypto-js":"^4.1.1","@types/node":"^18.14.5","concurrently":"^7.6.0","rimraf":"^4.1.2","rollup":"^2.79.1","rollup-plugin-sizes":"^1.0.5","rollup-plugin-ts-paths":"^1.0.5","rollup-plugin-typescript2":"^0.34.1","tsc-alias":"^1.8.3","tslib":"^2.4.1","typescript":"^4.6.2"},"gitHead":"fdb9debfe4a099d6f2a35c6a829ebf73e8d5d029","_id":"@astropay/astropay-sdk@4.0.2","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-LTgmvmLPZ7SgwrvKhPbacDSdMgeAlFmVDwMjlJNshS0+a8O8RWbJ/yup+cayIxon+o04MfiO9+aJ328uugyCgw==","shasum":"dfe1c4e7ad0dc594730c14f8a5673df224b4432a","tarball":"https://registry.npmjs.org/@astropay/astropay-sdk/-/astropay-sdk-4.0.2.tgz","fileCount":54,"unpackedSize":384445,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkjSt478QqVpu2Zdc6oMWU4DBX83i7HmGunDIZQMV1+AIgaBGVyxbxLp0uJVc6FlIy/Mu0329HGY3DcbuvSKT4LZo="}]},"_npmUser":{"name":"astropay","email":"it_services@astropay.com"},"directories":{},"maintainers":[{"name":"astropay","email":"it_services@astropay.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/astropay-sdk_4.0.2_1684783318637_0.25208318898030946"},"_hasShrinkwrap":false},"4.1.0":{"name":"@astropay/astropay-sdk","version":"4.1.0","description":"Official AstroPay client for easy frontend integration to One Touch","main":"./dist/index-cjs.js","module":"dist/index-es.js","browser":"dist/sdk.js","types":"./dist-types/index.d.ts","scripts":{"build":"NODE_ENV=production concurrently  'npm:build:brw' 'npm:build:cjs' 'npm:build:es' 'npm:build:types'","build:brw":"npm run clean:brw && rollup -c rollup.config.js","build:cjs":"npm run clean:cjs && rollup -c rollup.config-cjs.js","build:es":"npm run clean:es && rollup -c rollup.config-es.js","build:types":"npm run clean:types && tsc -p tsconfig.types.json && tsc-alias -p tsconfig.types.json","dev":"npm run clean && NODE_ENV=development rollup -w -c","clean":"rimraf -rf  dist* *.tgz","clean:brw":"rimraf -rf  dist/index.js dist/sdk.js dist/index.js.map dist/sdk.js.map","clean:cjs":"rimraf -rf  dist/index-cjs.js dist/index-cjs.js.map","clean:es":"rimraf -rf  dist/index-es.js dist/index-es.js.map","clean:types":"rimraf -rf  dist-types","clean:deps":"rimraf -rf node_modules package-lock.json yarn.lock","clean:all":"concurrently 'npm:clean:brw' 'npm:clean:cjs' 'npm:clean:es' 'npm:clean:types' 'npm:clean:deps'","test":"exit 0"},"engines":{"node":">=14.0.0"},"keywords":["astropay","deposit","cashout","onboarding"],"author":{"name":"AstroPay","email":"support@astropay.com","url":"https://developers-wallet.astropay.com/help"},"contributors":[{"name":"AstroPay IT","email":"it_services@astropay.com"}],"license":"UNLICENSED","dependencies":{"bowser":"^2.11.0","qrcode":"^1.5.3"},"devDependencies":{"@rollup/plugin-commonjs":"^24.0.0","@rollup/plugin-node-resolve":"^15.0.1","@rollup/plugin-replace":"^5.0.2","@rollup/plugin-terser":"^0.4.0","@types/crypto-js":"^4.1.1","@types/node":"^18.14.5","@types/qrcode":"^1.5.0","concurrently":"^7.6.0","rimraf":"^4.1.2","rollup":"^2.79.1","rollup-plugin-polyfill-node":"^0.12.0","rollup-plugin-sizes":"^1.0.5","rollup-plugin-ts-paths":"^1.0.5","rollup-plugin-typescript2":"^0.34.1","tsc-alias":"^1.8.3","tslib":"^2.4.1","typescript":"^4.6.2"},"gitHead":"afbee2b4dca8fd18feface8ddea36c7b274fd9cf","_id":"@astropay/astropay-sdk@4.1.0","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-c22CdGQGeS58xUGs5x+8L0FPASOUGYtl9lSwA0ri2k3sUyD6+JMkwQ71NZdX5LvlShzlSV2PmtQZUr9qwobVMw==","shasum":"e3d0f8fd9608b1fa9f46585c30464f044651ff5e","tarball":"https://registry.npmjs.org/@astropay/astropay-sdk/-/astropay-sdk-4.1.0.tgz","fileCount":59,"unpackedSize":1572143,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBSIXbXmp174v70w/Rn+qK7snP/84ijR6Ougo8NAVNtOAiByocfP2eVHyY0pAUJqdXGIQVn2+EAqW8+D44YOcOj0wg=="}]},"_npmUser":{"name":"astropay","email":"it_services@astropay.com"},"directories":{},"maintainers":[{"name":"astropay","email":"it_services@astropay.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/astropay-sdk_4.1.0_1686757824344_0.49602080737175847"},"_hasShrinkwrap":false},"4.1.2":{"name":"@astropay/astropay-sdk","version":"4.1.2","description":"Official AstroPay client for easy frontend integration to One Touch","main":"./dist/index-cjs.js","module":"dist/index-es.js","browser":"dist/sdk.js","types":"./dist-types/index.d.ts","scripts":{"build":"NODE_ENV=production concurrently  'npm:build:brw' 'npm:build:cjs' 'npm:build:es' 'npm:build:types'","build:brw":"npm run clean:brw && rollup -c rollup.config.js","build:cjs":"npm run clean:cjs && rollup -c rollup.config-cjs.js","build:es":"npm run clean:es && rollup -c rollup.config-es.js","build:types":"npm run clean:types && tsc -p tsconfig.types.json && tsc-alias -p tsconfig.types.json","dev":"npm run clean && NODE_ENV=development rollup -w -c","clean":"rimraf -rf  dist* *.tgz","clean:brw":"rimraf -rf  dist/index.js dist/sdk.js dist/index.js.map dist/sdk.js.map","clean:cjs":"rimraf -rf  dist/index-cjs.js dist/index-cjs.js.map","clean:es":"rimraf -rf  dist/index-es.js dist/index-es.js.map","clean:types":"rimraf -rf  dist-types","clean:deps":"rimraf -rf node_modules package-lock.json yarn.lock","clean:all":"concurrently 'npm:clean:brw' 'npm:clean:cjs' 'npm:clean:es' 'npm:clean:types' 'npm:clean:deps'","test":"exit 0"},"engines":{"node":">=14.0.0"},"keywords":["astropay","deposit","cashout","onboarding"],"author":{"name":"AstroPay","email":"support@astropay.com","url":"https://developers-wallet.astropay.com/help"},"contributors":[{"name":"AstroPay IT","email":"it_services@astropay.com"}],"license":"UNLICENSED","dependencies":{"bowser":"^2.11.0","qrcode":"^1.5.3"},"devDependencies":{"@rollup/plugin-commonjs":"^24.0.0","@rollup/plugin-node-resolve":"^15.0.1","@rollup/plugin-replace":"^5.0.2","@rollup/plugin-terser":"^0.4.0","@types/crypto-js":"^4.1.1","@types/node":"^18.14.5","@types/qrcode":"^1.5.0","concurrently":"^7.6.0","rimraf":"^4.1.2","rollup":"^2.79.1","rollup-plugin-polyfill-node":"^0.12.0","rollup-plugin-sizes":"^1.0.5","rollup-plugin-ts-paths":"^1.0.5","rollup-plugin-typescript2":"^0.34.1","tsc-alias":"^1.8.3","tslib":"^2.4.1","typescript":"^4.6.2"},"gitHead":"6cc4f3868c72cc96331a5950ef6f10eb1a4c9833","_id":"@astropay/astropay-sdk@4.1.2","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-UlPc+sL9cA6DqFUc1taVJMMtEsGJdtM5WBZpS2N1BCuluX0+rDaGV4x8TnFg9sn3qqgUkEWUoTFX2gY61u/Lbg==","shasum":"7ab97549b73e7a56a7d5f5f6ef0ff8f41a65d166","tarball":"https://registry.npmjs.org/@astropay/astropay-sdk/-/astropay-sdk-4.1.2.tgz","fileCount":62,"unpackedSize":1590737,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCz7hsXD0zkqd58tv/K7JxMDiTrYBbNIRicde79WBcmYgIgNwzgP+waKQPmTWI0pr2RADu9aNoUOYn5vB/DJAE/PB8="}]},"_npmUser":{"name":"astropay","email":"it_services@astropay.com"},"directories":{},"maintainers":[{"name":"astropay","email":"it_services@astropay.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/astropay-sdk_4.1.2_1688767439395_0.14058346278868128"},"_hasShrinkwrap":false},"4.1.3":{"name":"@astropay/astropay-sdk","version":"4.1.3","description":"Official AstroPay client for easy frontend integration to One Touch","main":"./dist/index-cjs.js","module":"dist/index-es.js","browser":"dist/sdk.js","types":"./dist-types/index.d.ts","scripts":{"build":"NODE_ENV=production concurrently  'npm:build:brw' 'npm:build:cjs' 'npm:build:es' 'npm:build:types'","build:brw":"npm run clean:brw && rollup -c rollup.config.js","build:cjs":"npm run clean:cjs && rollup -c rollup.config-cjs.js","build:es":"npm run clean:es && rollup -c rollup.config-es.js","build:types":"npm run clean:types && tsc -p tsconfig.types.json && tsc-alias -p tsconfig.types.json","dev":"npm run clean && NODE_ENV=development rollup -w -c","clean":"rimraf -rf  dist* *.tgz","clean:brw":"rimraf -rf  dist/index.js dist/sdk.js dist/index.js.map dist/sdk.js.map","clean:cjs":"rimraf -rf  dist/index-cjs.js dist/index-cjs.js.map","clean:es":"rimraf -rf  dist/index-es.js dist/index-es.js.map","clean:types":"rimraf -rf  dist-types","clean:deps":"rimraf -rf node_modules package-lock.json yarn.lock","clean:all":"concurrently 'npm:clean:brw' 'npm:clean:cjs' 'npm:clean:es' 'npm:clean:types' 'npm:clean:deps'","test":"exit 0"},"engines":{"node":">=14.0.0"},"keywords":["astropay","deposit","cashout","onboarding"],"author":{"name":"AstroPay","email":"support@astropay.com","url":"https://developers-wallet.astropay.com/help"},"contributors":[{"name":"AstroPay IT","email":"it_services@astropay.com"}],"license":"UNLICENSED","dependencies":{"bowser":"^2.11.0","qrcode":"^1.5.3"},"devDependencies":{"@rollup/plugin-commonjs":"^24.0.0","@rollup/plugin-node-resolve":"^15.0.1","@rollup/plugin-replace":"^5.0.2","@rollup/plugin-terser":"^0.4.0","@types/crypto-js":"^4.1.1","@types/node":"^18.14.5","@types/qrcode":"^1.5.0","concurrently":"^7.6.0","rimraf":"^4.1.2","rollup":"^2.79.1","rollup-plugin-polyfill-node":"^0.12.0","rollup-plugin-sizes":"^1.0.5","rollup-plugin-ts-paths":"^1.0.5","rollup-plugin-typescript2":"^0.34.1","tsc-alias":"^1.8.3","tslib":"^2.4.1","typescript":"^4.6.2"},"gitHead":"d760bab3491be4e28031e4be339e9fbfea661413","_id":"@astropay/astropay-sdk@4.1.3","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-BCVkoEDRr/uZfMEiFBDA1WB5EwmnTxXUQvjsqfOwOh4iwh5F7sHSMk30cZkMR1WnDBkU4Bv0SrsDj7Pdu0LyWQ==","shasum":"2070ccc8c03a1fb16d23d90cd9eea48c23a15cb6","tarball":"https://registry.npmjs.org/@astropay/astropay-sdk/-/astropay-sdk-4.1.3.tgz","fileCount":62,"unpackedSize":1596234,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCp3MwSetSqvOa8OFtW6pemMx80fgxvr0nvvFQm3fmHxgIhAOsaHiAW4oewa92NAfQiTf/7Vyz2nUxcPRfx14ZRGryk"}]},"_npmUser":{"name":"astropay","email":"it_services@astropay.com"},"directories":{},"maintainers":[{"name":"astropay","email":"it_services@astropay.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/astropay-sdk_4.1.3_1694108523623_0.05579635148278861"},"_hasShrinkwrap":false},"4.2.0":{"name":"@astropay/astropay-sdk","version":"4.2.0","description":"Official AstroPay client for easy frontend integration to One Touch","main":"./dist/index-cjs.js","module":"dist/index-es.js","browser":"dist/sdk.js","types":"./dist-types/index.d.ts","scripts":{"build":"NODE_ENV=production concurrently  'npm:build:brw' 'npm:build:cjs' 'npm:build:es' 'npm:build:types'","build:brw":"npm run clean:brw && rollup -c rollup.config.js","build:cjs":"npm run clean:cjs && rollup -c rollup.config-cjs.js","build:es":"npm run clean:es && rollup -c rollup.config-es.js","build:types":"npm run clean:types && tsc -p tsconfig.types.json && tsc-alias -p tsconfig.types.json","dev":"npm run clean && NODE_ENV=development rollup -w -c","clean":"rimraf -rf  dist* *.tgz","clean:brw":"rimraf -rf  dist/index.js dist/sdk.js dist/index.js.map dist/sdk.js.map","clean:cjs":"rimraf -rf  dist/index-cjs.js dist/index-cjs.js.map","clean:es":"rimraf -rf  dist/index-es.js dist/index-es.js.map","clean:types":"rimraf -rf  dist-types","clean:deps":"rimraf -rf node_modules package-lock.json yarn.lock","clean:all":"concurrently 'npm:clean:brw' 'npm:clean:cjs' 'npm:clean:es' 'npm:clean:types' 'npm:clean:deps'","test":"exit 0"},"engines":{"node":">=14.0.0"},"keywords":["astropay","deposit","cashout","onboarding"],"author":{"name":"AstroPay","email":"support@astropay.com","url":"https://developers-wallet.astropay.com/help"},"contributors":[{"name":"AstroPay IT","email":"it_services@astropay.com"}],"license":"UNLICENSED","dependencies":{"bowser":"^2.11.0","qrcode":"^1.5.3"},"devDependencies":{"@rollup/plugin-commonjs":"^24.0.0","@rollup/plugin-node-resolve":"^15.0.1","@rollup/plugin-replace":"^5.0.2","@rollup/plugin-terser":"^0.4.0","@types/crypto-js":"^4.1.1","@types/node":"^18.14.5","@types/qrcode":"^1.5.0","concurrently":"^7.6.0","rimraf":"^4.1.2","rollup":"^2.79.1","rollup-plugin-polyfill-node":"^0.12.0","rollup-plugin-sizes":"^1.0.5","rollup-plugin-ts-paths":"^1.0.5","rollup-plugin-typescript2":"^0.34.1","tsc-alias":"^1.8.3","tslib":"^2.4.1","typescript":"^4.6.2"},"gitHead":"215e3adf7db61b6f3ef4f4e83d05d6850deba630","_id":"@astropay/astropay-sdk@4.2.0","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-LVseCP4BGQWFEGvvb+AGAJGyN9Vfeu9NrGcudlPUG1IcPC21TimgI/3yIMZn03KjOQgr7pCZ5IxQxK/AvqTXNw==","shasum":"a9972d40ca8a8cf1c083eb89a52af9b786105ff7","tarball":"https://registry.npmjs.org/@astropay/astropay-sdk/-/astropay-sdk-4.2.0.tgz","fileCount":66,"unpackedSize":1610404,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA4sZGrhP4OjGE4jFazN8KS9kA19LYuKQX3tKVgzFc6oAiEA2KAT3VWVAZZG+0XjXdv9FZi8KxSvuMzPKKsn4gvxRco="}]},"_npmUser":{"name":"astropay","email":"it_services@astropay.com"},"directories":{},"maintainers":[{"name":"astropay","email":"it_services@astropay.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/astropay-sdk_4.2.0_1694436083252_0.45925508979987417"},"_hasShrinkwrap":false}},"time":{"created":"2022-06-09T03:12:43.346Z","2.0.0":"2022-06-09T03:12:43.573Z","modified":"2023-09-11T12:41:23.732Z","2.1.0":"2023-02-10T19:44:30.870Z","3.0.0":"2023-02-16T17:11:33.782Z","3.0.1":"2023-03-02T20:30:07.677Z","3.0.2":"2023-03-02T21:25:06.334Z","3.0.3":"2023-03-03T13:47:19.438Z","3.0.4":"2023-03-03T18:33:07.387Z","4.0.0":"2023-04-17T12:51:53.483Z","4.0.1":"2023-05-12T15:15:08.580Z","4.0.2":"2023-05-22T19:21:58.810Z","4.1.0":"2023-06-14T15:50:24.631Z","4.1.2":"2023-07-07T22:03:59.686Z","4.1.3":"2023-09-07T17:42:03.892Z","4.2.0":"2023-09-11T12:41:23.568Z"},"maintainers":[{"name":"astropay","email":"it_services@astropay.com"}],"description":"Official AstroPay client for easy frontend integration to One Touch","keywords":["astropay","deposit","cashout","onboarding"],"author":{"name":"AstroPay","email":"support@astropay.com","url":"https://developers-wallet.astropay.com/help"},"license":"UNLICENSED","readme":"<div align=\"center\">\n<a  href=\"http://www.astropay.com\">\n<img  width=200px  height=200px  src=\"https://getapp.astropay.com/img/astropay/2023/logo-black.svg\"  alt=\"AstroPay\">\n</a>\n</div>\n\n<p align=\"center\"><b>AstroPay SDK for JavaScript</b></p>\n<p  align=\"center\">Official AstroPay SDK for easy product integrations</p>\n\n\n\n<div align=\"center\">\n\n  [![NPM version](https://img.shields.io/npm/v/@astropay/astropay-sdk/latest.svg)](https://www.npmjs.com/package/@astropay/astropay-sdk)\n [![NPM downloads](https://img.shields.io/npm/dm/@astropay/astropay-sdk.svg)](https://www.npmjs.com/package/@astropay/astropay-sdk)\n [![Typing](https://img.shields.io/npm/types/typescript.svg)]()\n  [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier) \n\n</div>\n\n## Table of Contents\n\n- [Table of Contents](#table-of-contents)\n- [Getting Started ](#getting-started-)\n\t- [Prerequisites ](#prerequisites-)\n\t- [Installation ](#installation-)\n- [Usage ](#usage-)\n\t- [Platform Init ](#platform-init-)\n\t- [Event Listeners ](#event-listeners-)\n\t- [Method Call ](#method-call-)\n- [Supported languages ](#supported-languages-)\n- [Updrading ](#updrading-)\n\t- [V4 - Latest ](#v4---latest-)\n\t- [V3 ](#v3-)\n\t- [V2 ](#v2-)\n- [Support ](#support-)\n- [License ](#license-)\n\n  \n## Getting Started <a id=\"getting-started\"></a>\n\n### Prerequisites <a id=\"prerequisites\"></a>\n\n- Node.js v14 or higher.\n\n### Installation <a id=\"installation\"></a>\n\nUsing your favorite package manager, install `@astropay/astropay-sdk` package.\n\n**NPM**:\n\n```shell npm\n\nnpm install --save @astropay/astropay-sdk\n\n```\n\n**YARN:**\n\n```shell yarn\n\nyarn add @astropay/astropay-sdk\n\n```\n\n\n\n## Usage <a id=\"usage\"></a>\n\n### Platform Init <a id=\"platform-init\"></a>\n\n***SDK config parameters***\n\nTo correctly configure the SDK, the init method needs to receive the APP_ID and the configuration object with the properties described below:\n\n| Property    |                      Type                      | Default value  | Description                                                  |\n| :---------- | :--------------------------------------------: | :------------: | :----------------------------------------------------------- |\n| environment |  `'sandbox'` \\| `'production'` \\| `undefined`  | `'production'` | Enviroment to use.                                           |\n| language    | [Supported languages](#languages) \\| undefined |     `'en'`     | The language set on the init object has priority over the language of the URL property on the `ASTROPAY_RESPONSE` |\n| logger      |       Instance of Logger \\| `undefined`        |  `undefined`   | Use to console log actions inside the SDK                    |\n\nIf the language property isn't set on the init, the SDK will try to use the language query parameter on the URL of the `ASTROPAY_RESPONSE`. If both are not set, the SDK will use the default language: `english`\n\n***Code snippet:***\n\n```typescript\nimport AstropaySDK, { ClientConfiguration, ConsoleLogger, DepositStatus } from  '@astropay/astropay-sdk';\n\n// SDK Config\nconst config: ClientConfiguration = {\n\tenvironment: 'production',\n\tlanguage: 'en',\n\tlogger: new ConsoleLogger(),\n};\n\n// SDK Init\nAstroPaySDK.init(APP_ID, config);\n```\n\n### Event Listeners <a id=\"event-listeners\"></a>\n\nSet up event listeners that receives a callback funcion as a parameter.\n\n```typescript\n// SDK Event Listeners\nconst eventListening = AstroPaySDK.getEventListener('deposit');\neventListening.on('close', (data) => {\n\tconsole.log('data on close event', data);\n\t}\n);\n```\n\n### Method Call <a id=\"method-call\"></a>\n\n***Method Parameters*** \n\nWhen calling one of the product methods (Deposit | Cashout | Onboarding) to effectively open the SDK, the espected parameters are the `ASTROPAY_RESPONSE` and the `configUI` properties to manipulate the UI according to your needs:\n\n| Property          |           Type           |                   Default value                   | Description                                                  |\n| :---------------- | :----------------------: | :-----------------------------------------------: | :----------------------------------------------------------- |\n| ASTROPAY_RESPONSE |          Object          | **not applicable:** mandatory to send on the call | The init object provided by AstroPay services on your call. Check the examples on the Usage section. |\n\n| Property |           Type           | Default value | Description                                                  |\n| :------- | :----------------------: | :-----------: | :----------------------------------------------------------- |\n| backdrop | `'static'` \\| `'active'` |  `'static'`   | If you want the ***AstroPay SDK*** to be closed when the user clicks on the Backdrop (Outside the content) use `active` <br />If `static`, the backdrop element will not close the SDK modal when the user clicks outside content. |\n| zIndex   |          string          |   `'auto'`    | The z-index property specifies the stack order of the popup.<br/>Greater stack order is always in front of an element with a lower stack order. |\n\n\n\n> Notice that the `ASTROPAY_RESPONSE` should be configured with real values for the product calls (Deposit | Cashout | Onboarding). Be careful not to send an incorrect value on these properties\n\n***Deposit***\n\n```typescript\n// Non mandatory object\nconst configUI = {backdrop:'active', zIndex:'auto'}\n\n// Mandatory object\nconst ASTROPAY_RESPONSE = {  \n\t\"merchant_deposit_id\":  \"0c435984-0b55-4f16-a15e-36070fbcee19\",  \t\t\n\t\"deposit_external_id\": \"QYPvyLz9fM57EGHtR1DV3TcZOlBng7Uw1m1KWUpe\",  \n\t\"status\":  \"PENDING\",  \n\t\"url\":  \"https://onetouch-sandbox.astropay.com/deposit/QYPvyLz9fM57EGHtR1DV3TcZOlBng7Uw1m1KWUpe\",  \n\t\"type\":  \"default\"  \n};\n\n// Show the DEPOSIT client\nAstropaySDK.deposit(ASTROPAY_RESPONSE);\n\n```\n\n***Cashout***\n\n```typescript\nconst ASTROPAY_RESPONSE = {  \n\t\"merchant_cashout_id\":  \"0c435984-0b55-4f16-a15e-36070fbcee19\",  \t\t\n\t\"cashout_external_id\": \"QYPvyLz9fM57EGHtR1DV3TcZOlBng7Uw1m1KWUpe\",  \n\t\"status\":  \"PENDING\",  \n\t\"url\":  \"https://onetouch-sandbox.astropay.com/cashout/QYPvyLz9fM57EGHtR1DV3TcZOlBng7Uw1m1KWUpe\"\n};\n\n// Show the CASHOUT client\nAstropaySDK.cashout(ASTROPAY_RESPONSE);\n```\n\n***Onboarding***\n\n```typescript\nconst ASTROPAY_RESPONSE = {  \n\t\"platform_merchant_id\":  \"0c435984-0b55-4f16-a15e-36070fbcee19\",  \n\t\"merchant_name\": \"Merchant\"\n\t\"onboarding_external_id\": \"QYPvyLz9fM57EGHtR1DV3TcZOlBng7Uw1m1KWUpe\",  \n\t\"status\":  \"PENDING\",  \n\t\"url\":  \"https://onetouch-sandbox.astropay.com/onboarding/QYPvyLz9fM57EGHtR1DV3TcZOlBng7Uw1m1KWUpe\",\n};\n\n// Show the ONBOARDING client\nAstropaySDK.onboarding(ASTROPAY_RESPONSE);\n```\n\n\n***Payment***\n\nThis method receives the AstroPay Response and returns a Promise that will be resolve to an object with the payment data to be display in your site as you please.\n\n```typescript\n//Method Response \nAstropaySDK.payment(AstropayResponse): Promise<PaymentData>\n```\n\n***Method response interface***\n\n```typescript\ninterface PaymentData {\n  amount: number;\n  currency: string;\n  status: string;\n  payment_type: string;\n  data: {\n\t\ttxt_qr: string;\n\t\timage: string;\n\t} & Record<string, any>\n}\n```\n\nThe returned object fields:\n\n* amount: Amount of the payment\n* currency: Currency of the payment \n* status: Status of the payment \n* payment_type: A string define by the method selected for this payment\n* data: Object containing the data of the payment with a key - value format\n\n\n> Notice that this method is only compatible with type: \"gateway\" deposits\n\n<br/>\n\n> ***Important***\n>\n> Based on the payment_type field the data object could include specific fields:\n>\n\n| Payment Type          |           Data           |                    Value                   | Description                                                  |\n| :---------------- | :----------------------: | :-----------------------------------------------: | :----------------------------------------------------------- |\n| PIX |          Object          | txt_qr: string,<br />image: string | The qr code for the pix payment as a string.<br/> Base64 string containing the qr code image to embbed |\n\n\n```typescript\n// Mandatory object\nconst ASTROPAY_RESPONSE = {  \n\t\"merchant_deposit_id\":  \"0c435984-0b55-4f16-a15e-36070fbcee19\",  \t\t\n\t\"deposit_external_id\": \"QYPvyLz9fM57EGHtR1DV3TcZOlBng7Uw1m1KWUpe\",  \n\t\"status\":  \"PENDING\",  \n\t\"url\":  \"https://onetouch-sandbox.astropay.com/deposit/QYPvyLz9fM57EGHtR1DV3TcZOlBng7Uw1m1KWUpe\",  \n\t\"type\":  \"gateway\"\n};\n\n// Get the payment data response\nAstropaySDK.payment(ASTROPAY_RESPONSE).\n    .then(result => {\n      //This is the payment data response object\n      console.log(result)\n    })\n```\nExample Response:\n\n```typescript\n{\n  amount: 5,\n  currency: \"BRL\", \n  status: \"PENDING\",\n  payment_type: \"PIX\",\n  data: {\n    txt_qr: \"examplePixCode\"\n    image: \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPoAAAD6CAYAAAAY4QDjAAAABmJLR0QA/wD/AP+gvaeTAAADfElEQVRoge2aXW/TQBBFf2BOwAhoh0CaQt0EfQAdAEYAIUARgCFWJED7FhYgFiwKFCAEsEKA\"\n  }\n}\n```\n\n***Sign in***\n\nThis method allows you to render the \"Sign in with Astropay\" button on your site.\n\nOn the site you want to display the option setup an element with the \"ap-login\" id.     \n\n\n```typescript\n//On your site\n <div id=\"ap-login\"></div>\n\n// Mandatory Parameters\nclient_id: string\nredirect_uri: string\n\n// Show the Sign in with AstroPay button\nAstropaySDK.signin(client_id, redirect_uri);\n```\n\n## Supported languages <a id=\"supported-languages\"></a>\n\n|Language|code\n| :--- | :---:\n|English|en\n|Español|es\n|Indonesia|id\n|日本人|ja\n|한국의|ko\n|Português|pt\n|ไทย|th\n|Türk|tr\n|Tiếng Việt|vi\n|簡中|zh\n\n\n\n## Updrading <a id=\"upgrading-the-astropay-sdk\"></a>\n\n### V4 - Latest <a id=\"v4-latest\"></a>\n\nThe last version of the SDK offers a better UI control, event listeners, new configuration parameters and new product integrations usage.\n\nTo fully understand this version, check the documentation on the Usage section.\n\n***Breaking changes***\n\nTo correctly configure the event of automatic SDK modal closing and redirection, check the new Event Listeners section on this documentation.\n\n### V3 <a id=\"v3\"></a>\n\n***Breaking changes***\n\nNotice that for old versions only the `_external_id` was necessary to initiate the SDK UI. Now the method receives an object with the AstroPay init response provided by your own services.\n\n- Legacy method call:\n\n```typescript\nconst ASTROPAY_EXTERNAL_DEPOSIT_ID =  'External Deposit ID';\nAstropaySDK.showDeposit(ASTROPAY_EXTERNAL_DEPOSIT_ID);\n```\n\n- V3 updated method call:\n\n```typescript\nconst ASTROPAY_RESPONSE = {  \n\t\"merchant_deposit_id\":  \"0c435984-0b55-4f16-a15e-36070fbcee19\",  \t\t\n\t\"deposit_external_id\": \"QYPvyLz9fM57EGHtR1DV3TcZOlBng7Uw1m1KWUpe\",  \n\t\"status\":  \"PENDING\",  \n\t\"url\":  \"https://onetouch-sandbox.astropay.com/deposit/QYPvyLz9fM57EGHtR1DV3TcZOlBng7Uw1m1KWUpe\",  \n\t\"type\":  \"default\"  \n};\n\n// Show the DEPOSIT client\nAstropaySDK.deposit(ASTROPAY_RESPONSE);\n```\n\n### V2 <a id=\"v2\"></a>\n\n***Usage example***\n\n```typescript\n//Your APP ID SDK Credential\nconst APP_ID = \"\"; \n\nconst ASTROPAY_CONFIG = {\n  environment: \"production\",\n  onDepositStatusChange: (depositResult) => getDepositStatus(depositResult), //Subscribes to every transaction status update.\n  onClose: (depositResult) => iframeClosed(depositResult),\n};\n\n//Initiates the SDK with the configuration set above\nAstropaySDK.init(APP_ID, ASTROPAY_CONFIG); \n\n//Sets the Deposit External ID generated for the deposit\nconst ASTROPAY_EXTERNAL_DEPOSIT_ID = \"oehpJvCma8jaoaM7qmK3m3MX1LsmUWk8iulDl3Wx\"; \n\n//Here you can do something according to the transaction current status.\nconst getDepositStatus = (depositResult) => { console.log(depositResult);};\n\nconst iframeClosed = (depositResult) => {\n  //Here you can also do a action if the user closes the iFrame, also checking the transaction status.\n  console.log(\n    \"action: iFrame was closed\",\n    \"Deposit Status:\",\n    depositResult\n  ); \n};\n```\n\n\n\n## Support <a id=\"support\"></a>\n\nWe provide detailed documentation on the [AstroPay OneTouch API Guide](https://developers-wallet.astropay.com). Please check it for more information that might be necessary for developers.\n\nIf you need more technical support, please [contact support](https://astropay.com/contact/?lang=en)\n\n## License <a id=\"license\"></a>\n\nCopyright © 2023 AstroPay. All rights reserved.\t\t\t","readmeFilename":"readme.md","contributors":[{"name":"AstroPay IT","email":"it_services@astropay.com"}]}