{"_id":"@allpass/web-sdk","_rev":"11-6d1aa5c8c36c7e0860c2bad4836d83db","name":"@allpass/web-sdk","dist-tags":{"latest":"2.1.0"},"versions":{"1.0.2":{"name":"@allpass/web-sdk","version":"1.0.2","description":"Allpass javascript library","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"webpack --env env=prod --mode production","deploy":". build.sh","dev":"webpack --env env=dev --mode development","serve":"webpack serve --env env=dev --mode development"},"repository":{"type":"git","url":"git+https://github.com/elkyc/elkyc-javascript-sdk.git"},"author":{"name":"Viktor Plotnikov"},"license":"ISC","homepage":"https://allpass.ai","devDependencies":{"@babel/core":"^7.21.0","@babel/preset-env":"^7.20.2","babel-loader":"^9.1.2","dotenv":"^16.0.3","webpack":"^5.76.1","webpack-cli":"^5.0.1","webpack-dev-server":"^4.11.1"},"gitHead":"86f58c2927e3e1a89f042db9d46444c371f940e6","bugs":{"url":"https://github.com/elkyc/elkyc-javascript-sdk/issues"},"_id":"@allpass/web-sdk@1.0.2","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-FADVFGBRjC2A61nl3CnPac8XQzvB3Ubxwla+e+1eEofPvtDQ/rlfOAC+XR3Avuk+Xc1X9Q61EKF7zAlOLlnFAw==","shasum":"d0712d1a062775bbe2438f936a33e837c6793fa4","tarball":"https://registry.npmjs.org/@allpass/web-sdk/-/web-sdk-1.0.2.tgz","fileCount":7,"unpackedSize":33285,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF9LlQONBsF48o4JeOe6d6JfZHoSpGyFZZ9K2zj40lVzAiAE37g4YuUIG8Fn5L2ZfIHYfeVE28YoF8osQVZAODvnaQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkUnN6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqRwRAAhEJ+AMvN/oU/9lM7bE+Fb0SItCOHuUTximIB8p/GSO8gUfVx\r\npt1rv/K77YqChqQgLQBa1xKDoV2gLAitE99zsGZ7/m7Ck+vvmgCvURrVN5GS\r\nBDwFEzPFs6wkOvun8Us0xj9xZjoJ+F6CIENkm6Gjve5HmvXf7M5054W1BtEZ\r\nahcXP2QKKtM8DHPZ2Ea5YV0Hr6gLcPOURgKJBjoZtv3V41gagyxqC7fwyMri\r\nyI2XwJP1PJgEGqkumbFr0du95XSTclgSTiy7z21YG100T7voIY/gLmUzOMus\r\nI54u+07RYki84kUURYofI8oX9N1Cnyf1NqE2EL5BzhFGm2Ham2bPkNEjlk2/\r\nFWRK9QoDJ8dQZVXkdSDGDciga6e48qbwgsFDAqEWOmhz+uojnjimwYlfUnf8\r\n355F/eDGeOuvY1eDBJ240hDU1j81caJ34PXk4W4g3m8i/U1DZzZXIjFyhJ6/\r\nLZcgmETDouFfl77XkOxBmm3wJS4p17zpy1gdM9Lm8NHg1h00OD5oHkrfUFw9\r\nBERJ0ZuBXCBZIy6zpAH5CjGOvKOqwG/Sf5KJm4pTXOuGAoVkvenv8rLfAbfi\r\npTeKS9Ybu/hFvb68q6w2nHestw7IV/nT+6cT0VYRbi2Syiynld+BjpzD3ZA/\r\n9mWVvSpA6jfi4z6ycWZSWGU6DoH88EXvXPQ=\r\n=spvs\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"viktor.plotnikov","email":"viktorr.plotnikov@gmail.com"},"directories":{},"maintainers":[{"name":"viktor.plotnikov","email":"viktorr.plotnikov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web-sdk_1.0.2_1683125114213_0.12680006704675484"},"_hasShrinkwrap":false},"1.0.3":{"name":"@allpass/web-sdk","version":"1.0.3","description":"Allpass javascript library","main":"index.js","repository":{"type":"git","url":"git+https://github.com/elkyc/allpass-web-sdk.git"},"author":{"name":"Viktor Plotnikov"},"license":"ISC","homepage":"https://allpass.ai","gitHead":"298f66e4e8599b0d423c259d6234fc7e5bc89042","bugs":{"url":"https://github.com/elkyc/allpass-web-sdk/issues"},"_id":"@allpass/web-sdk@1.0.3","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-Pl930pg0N/XrYWffFin724GC34nYqnqCC6AOfSNhRlcVEdH094acR0DnEnZi07hWKyvBO4BXE9X5/K7d1JSvIw==","shasum":"a5c77def12fc969ff090b6b224a559d6ee2a5ee6","tarball":"https://registry.npmjs.org/@allpass/web-sdk/-/web-sdk-1.0.3.tgz","fileCount":7,"unpackedSize":32759,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEGYzjw+lBd1PEIeD8ft1zCVXNlFKuqMDHL1uVvZXmqZAiEAnDW+VI5EAjsSdRVhC63ZHtdxdlJKvwt9jxRIvb9jlhY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkUoE8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoCpQ//ZPf0TJpVW7lXMHbH/5QvLnkEWJjMvYF3YTbmM5y+f1AjKEj/\r\noh7ysKpLPKkmuATdjddg8iDvHsAboGRnqL77msAfizfSTSzOcVRdjGmuAXXO\r\nOTPSKKy6ODAka3FTXGiWtK//NM2unslazkhXRl8Q5yAiouDVYpPRh8t6U59k\r\nMFXkSSGrdJWCdPo5m0/Wqt1k0qFKIb+Mf0Bb6OrR7hKhM/X7TA9CTxnmNLa9\r\npH3A46weKB2lrH0F85G6QquQ98swWfrNzZLajgqfbC2i316WyxXs6EVWRMeF\r\nUltdLl/yGsaKzWpYpeLfMMUZ1IUenIB4z56ZKSNzAIF5RhDXnuOJBjMuwT57\r\njjdlj/gkv+H2OhjHmmVhM7Abj8XL55gm9LEIHoxyBvY+pllwqeHEmsczfxhU\r\npjgpIeLWv3Moo46k8OEStENQ4aIiPeZi0S7uFXXrdORlmLKWPNZBpwriJxaD\r\nY7tn3uAuEDiLL/fJPwDhLYKxmNHFi909Zd9y9sJznWLL04uFAWgTKECHi9cg\r\nGlF8O0sCpcMNo+9IK7fNYAulb3eoj505K/9FfRk3/NAp+YKAcoKjIMuClpAe\r\nbhUQ/PQib1Aheg51abMmkYPvgHofEQ4/c3sUEkes3UN5mWcBg2262zk8S7aL\r\nbWfyDwnoo8fBqcBZhh1k0emWG7xlrzIPQc8=\r\n=tbLj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"viktor.plotnikov","email":"viktorr.plotnikov@gmail.com"},"directories":{},"maintainers":[{"name":"viktor.plotnikov","email":"viktorr.plotnikov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web-sdk_1.0.3_1683128636185_0.4804955493207417"},"_hasShrinkwrap":false},"1.0.5":{"name":"@allpass/web-sdk","version":"1.0.5","description":"Allpass javascript library","main":"index.js","repository":{"type":"git","url":"git+https://github.com/elkyc/allpass-web-sdk.git"},"author":{"name":"Viktor Plotnikov"},"license":"ISC","homepage":"https://allpass.ai","gitHead":"bcab97ef491755b3b1a8d1a3a23ec4dd72ff8519","bugs":{"url":"https://github.com/elkyc/allpass-web-sdk/issues"},"_id":"@allpass/web-sdk@1.0.5","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-0Z+VNRZqDYxW/2+mimBhCbO3/fRGyxPC4yKkdliV11yTpP4g8P2xvQrVw8XDX7jS8p5bK8v4EIVjUGdw+/Kqiw==","shasum":"74b6fc615bb814c6ad8145c7adb00fe158d4c5e4","tarball":"https://registry.npmjs.org/@allpass/web-sdk/-/web-sdk-1.0.5.tgz","fileCount":7,"unpackedSize":32787,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF5ODAohQuHyrE5N1SePwJw85MPmQsSgODj0DdtgDLPlAiEAhy8Em+i3o/evKnmSAj99XVAsGcfthC34/GJrrgwc3FM="}]},"_npmUser":{"name":"viktor.plotnikov","email":"viktorr.plotnikov@gmail.com"},"directories":{},"maintainers":[{"name":"viktor.plotnikov","email":"viktorr.plotnikov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web-sdk_1.0.5_1684064778377_0.6078325958052682"},"_hasShrinkwrap":false},"1.0.6":{"name":"@allpass/web-sdk","version":"1.0.6","description":"Allpass javascript library","main":"index.js","repository":{"type":"git","url":"git+https://github.com/elkyc/allpass-web-sdk.git"},"author":{"name":"Viktor Plotnikov"},"license":"ISC","homepage":"https://allpass.ai","gitHead":"f76b604f7f5a94d5be6d62c76d8631c2f6e39289","bugs":{"url":"https://github.com/elkyc/allpass-web-sdk/issues"},"_id":"@allpass/web-sdk@1.0.6","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-6voZhpCnOjUmv91QwzVfztaHboEbCYvO7c0s55ruJl6I3QzeE55zglHyWMu7IfF0OLUGq+m8sUMUMZbmqZtxpg==","shasum":"a797896becf046fb847ce1709817596d93c7dac6","tarball":"https://registry.npmjs.org/@allpass/web-sdk/-/web-sdk-1.0.6.tgz","fileCount":7,"unpackedSize":32812,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDEFFuojDxG6EhYMRKpI+prlxiqm05gyAQgSpjVtUmTWQIgDa1VjA4PvasCIcN3SVReXmkWPhxCSrPb/ZiNaU/CRIE="}]},"_npmUser":{"name":"viktor.plotnikov","email":"viktorr.plotnikov@gmail.com"},"directories":{},"maintainers":[{"name":"viktor.plotnikov","email":"viktorr.plotnikov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web-sdk_1.0.6_1684065449233_0.29124323048999146"},"_hasShrinkwrap":false},"1.0.7":{"name":"@allpass/web-sdk","version":"1.0.7","description":"Allpass javascript library","main":"index.js","repository":{"type":"git","url":"git+https://github.com/elkyc/allpass-web-sdk.git"},"author":{"name":"Viktor Plotnikov"},"license":"ISC","homepage":"https://allpass.ai","gitHead":"3fa45dad61cfc626c94a2f70d8fd60c3b21e1edf","bugs":{"url":"https://github.com/elkyc/allpass-web-sdk/issues"},"_id":"@allpass/web-sdk@1.0.7","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-jsXdPxeD36qKWsbf9xA6TOeGtzGd5Icw0zmzzlIJl3XYaHCu83SQVIf7Y6pquIDz6Qbv8xDBMPj4Dnpjh1SEJg==","shasum":"f4ab2671e5739b05b1ec00c5d7c6314adda183d4","tarball":"https://registry.npmjs.org/@allpass/web-sdk/-/web-sdk-1.0.7.tgz","fileCount":7,"unpackedSize":32787,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA75af8QQcrVGgD/OSoLkeGTMn2bFsBWYZvGBmMrGH3lAiAGyKSmmelFvgKQxH+TYXoLUEGh03ATdd8f5H1iYuhZLw=="}]},"_npmUser":{"name":"viktor.plotnikov","email":"viktorr.plotnikov@gmail.com"},"directories":{},"maintainers":[{"name":"viktor.plotnikov","email":"viktorr.plotnikov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web-sdk_1.0.7_1684066639881_0.1686318300236047"},"_hasShrinkwrap":false},"1.0.8":{"name":"@allpass/web-sdk","version":"1.0.8","description":"Allpass javascript library","main":"index.js","repository":{"type":"git","url":"git+https://github.com/elkyc/allpass-web-sdk.git"},"author":{"name":"Viktor Plotnikov"},"license":"ISC","homepage":"https://allpass.ai","gitHead":"b38fd1d3fd9d5a2f553380da34f6da5bd1af1c87","bugs":{"url":"https://github.com/elkyc/allpass-web-sdk/issues"},"_id":"@allpass/web-sdk@1.0.8","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-c8ULJmr9fDNoKWh3XjgOeMK8JGRIZLIKubJcbjzfOq1X6YVGvdYDI6b6goMhpz1RCO4yuF8EAB/bzcJpMG4y+w==","shasum":"05b426e4f288ac9b18e9d41250b71ebeff295e32","tarball":"https://registry.npmjs.org/@allpass/web-sdk/-/web-sdk-1.0.8.tgz","fileCount":7,"unpackedSize":41184,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC53k9qdCEOh2Cqz+F2cctDS/UluRwxtajP3/0XuKAEXQIhAJSDeD01GtSSv5PTCbd2jKIMiZLvuxhs4kabKE2kNvwZ"}]},"_npmUser":{"name":"viktor.plotnikov","email":"viktorr.plotnikov@gmail.com"},"directories":{},"maintainers":[{"name":"viktor.plotnikov","email":"viktorr.plotnikov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web-sdk_1.0.8_1684111231330_0.013726680970881588"},"_hasShrinkwrap":false},"1.0.10":{"name":"@allpass/web-sdk","version":"1.0.10","description":"Allpass javascript library","main":"index.js","repository":{"type":"git","url":"git+https://github.com/elkyc/allpass-web-sdk.git"},"author":{"name":"Viktor Plotnikov"},"license":"ISC","homepage":"https://allpass.ai","gitHead":"e99e92cdd76da8649417778100ed58b524608c90","bugs":{"url":"https://github.com/elkyc/allpass-web-sdk/issues"},"_id":"@allpass/web-sdk@1.0.10","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-Yz3SWw/zMScP4mQqg3ftk6/Z6NQa5TizhfPcUWqcjbYHQ7ikIgqQlN8/1rBNoUIo7nqYYIZYjK7OoqFdgpHVyQ==","shasum":"a3339a001a0b1bcfb139e0d58cb441a4a9ec2d59","tarball":"https://registry.npmjs.org/@allpass/web-sdk/-/web-sdk-1.0.10.tgz","fileCount":7,"unpackedSize":41388,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHVevoNhWfzDtHIld9Penv6uXeIOIt/JEh75nIiiQJZ4AiEA1QohVhYJN6S7dbvlt/JyYwz0zvKBYmGHzhxzvBu5AMA="}]},"_npmUser":{"name":"viktor.plotnikov","email":"viktorr.plotnikov@gmail.com"},"directories":{},"maintainers":[{"name":"viktor.plotnikov","email":"viktorr.plotnikov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web-sdk_1.0.10_1684112505940_0.4301718858351147"},"_hasShrinkwrap":false},"1.0.11":{"name":"@allpass/web-sdk","version":"1.0.11","description":"Allpass javascript library","main":"index.js","repository":{"type":"git","url":"git+https://github.com/elkyc/allpass-web-sdk.git"},"author":{"name":"Viktor Plotnikov"},"license":"ISC","homepage":"https://allpass.ai","gitHead":"4a6493116b4a62c4fe6a5e05be78fc950fc71396","bugs":{"url":"https://github.com/elkyc/allpass-web-sdk/issues"},"_id":"@allpass/web-sdk@1.0.11","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-FbZO3a08e5jfF1bz1cGD8NxZkNeFpyH+VfNqE8WB2hGJwzOGEZIrNABZMAR5W9I9i39KJZTXa6pAM+vi7l7zBg==","shasum":"25b0d653e966dec7931ec3539b1d381db945c8a9","tarball":"https://registry.npmjs.org/@allpass/web-sdk/-/web-sdk-1.0.11.tgz","fileCount":7,"unpackedSize":41385,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCvCqwOGqPyTVRe/iMLLfM+b6XvZN2YRFOUpW1h31Ju/wIgEP/dOfYShJwDAcnjQPFHKY7mTOey1qEser2Of2q1m6A="}]},"_npmUser":{"name":"viktor.plotnikov","email":"viktorr.plotnikov@gmail.com"},"directories":{},"maintainers":[{"name":"viktor.plotnikov","email":"viktorr.plotnikov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web-sdk_1.0.11_1685120250511_0.06705087503510132"},"_hasShrinkwrap":false},"1.0.12":{"name":"@allpass/web-sdk","version":"1.0.12","description":"Allpass javascript library","main":"index.js","repository":{"type":"git","url":"git+https://github.com/elkyc/allpass-web-sdk.git"},"author":{"name":"Viktor Plotnikov"},"license":"ISC","homepage":"https://allpass.ai","gitHead":"a1c0ae1f21a9a71b812194264b690eb3effc119f","bugs":{"url":"https://github.com/elkyc/allpass-web-sdk/issues"},"_id":"@allpass/web-sdk@1.0.12","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-pOzrGLNisbPYWVngpO66+GjIfmWQSUTq8zUA/2doTAVhZYK3o/zhVW6Y9CYUuggQ2gScJGKZQx70KuAmZ0o+CQ==","shasum":"abd8361e0535512db7d725aa4f359db342c1d010","tarball":"https://registry.npmjs.org/@allpass/web-sdk/-/web-sdk-1.0.12.tgz","fileCount":7,"unpackedSize":41406,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAExEGAFRLsxsBuOhF7a+PAOq5PyhQPIJvWmWsOkbOeuAiEA43oUNPqBC5utKXI5ZEw2ax5yYBD1ogxF5XFmCouYS6Y="}]},"_npmUser":{"name":"viktor.plotnikov","email":"viktorr.plotnikov@gmail.com"},"directories":{},"maintainers":[{"name":"viktor.plotnikov","email":"viktorr.plotnikov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web-sdk_1.0.12_1694446206988_0.7508710572858037"},"_hasShrinkwrap":false},"2.0.0":{"name":"@allpass/web-sdk","version":"2.0.0","description":"Allpass javascript library","main":"index.js","repository":{"type":"git","url":"git+https://github.com/elkyc/allpass-web-sdk.git"},"author":{"name":"Viktor Plotnikov"},"license":"ISC","homepage":"https://allpass.ai","gitHead":"4e3d870f8a12d8dda1d50152192d924e7bb694dc","bugs":{"url":"https://github.com/elkyc/allpass-web-sdk/issues"},"_id":"@allpass/web-sdk@2.0.0","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-UCuo0HrAUIV/l7nY5Eq1L5Te0LRczuDytdHMUkOUbGYIMWszLQHsUarQuRlHE8+vblUx5AK7xxrlrVCk87X7cw==","shasum":"16bafb37253f4bc71d25720922d02738948b85e4","tarball":"https://registry.npmjs.org/@allpass/web-sdk/-/web-sdk-2.0.0.tgz","fileCount":7,"unpackedSize":40430,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4bpNY3TUVMbNdWhrOV5ls4Tku5sVerTYcqHCps5O4kwIhAICjEY3rERdjCM8RkFdfKTPYaAQGFrv3iQo4zU4RoiW5"}]},"_npmUser":{"name":"viktor.plotnikov","email":"viktorr.plotnikov@gmail.com"},"directories":{},"maintainers":[{"name":"viktor.plotnikov","email":"viktorr.plotnikov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web-sdk_2.0.0_1695679643988_0.2758288658373964"},"_hasShrinkwrap":false},"2.0.1":{"name":"@allpass/web-sdk","version":"2.0.1","description":"Allpass javascript library","main":"index.js","repository":{"type":"git","url":"git+https://github.com/elkyc/allpass-web-sdk.git"},"author":{"name":"Viktor Plotnikov"},"license":"ISC","homepage":"https://allpass.ai","gitHead":"e0f90771c2f1e4a9f2d54654385f4c68582ecdd0","bugs":{"url":"https://github.com/elkyc/allpass-web-sdk/issues"},"_id":"@allpass/web-sdk@2.0.1","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-6uhUtlLXm5ujFsWtlTSrWqKUFSbmby3S+Eowe4mOgaAjSX4Qa9qR0s1QPfcnaOGctZnMvUQ7ZiVkLfRaw+hCUw==","shasum":"efc56935397cd4097107d6123f06c13917382812","tarball":"https://registry.npmjs.org/@allpass/web-sdk/-/web-sdk-2.0.1.tgz","fileCount":7,"unpackedSize":40262,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCsLCxV1eyDwRxZhM2+C4KPkcaJ0VdMRHiXl0YE4nCHHQIhANhjhzXb0bluviCDzDoyRM117ra+u1w94bGhGybl6Inm"}]},"_npmUser":{"name":"viktor.plotnikov","email":"viktorr.plotnikov@gmail.com"},"directories":{},"maintainers":[{"name":"viktor.plotnikov","email":"viktorr.plotnikov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web-sdk_2.0.1_1695748075824_0.4233504089942215"},"_hasShrinkwrap":false},"2.1.0":{"name":"@allpass/web-sdk","version":"2.1.0","description":"Allpass javascript library","main":"index.js","repository":{"type":"git","url":"git+https://github.com/elkyc/allpass-web-sdk.git"},"author":{"name":"Viktor Plotnikov"},"license":"ISC","homepage":"https://allpass.ai","gitHead":"524900e34602b931b061f6b4024fdcf999334bda","bugs":{"url":"https://github.com/elkyc/allpass-web-sdk/issues"},"_id":"@allpass/web-sdk@2.1.0","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-v21gJwCUWrEjKGzErYzmdofFmQ68XNOfNMbbLDn0fixCLFzvF5oGDptnIZMX/AA1N4NeJf/py9jRog42frzbfA==","shasum":"799b55ef9a484a14826790cc0dd19bf3b9c99f4f","tarball":"https://registry.npmjs.org/@allpass/web-sdk/-/web-sdk-2.1.0.tgz","fileCount":7,"unpackedSize":40823,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFWQLmHGjjBJl6cO/k4tHVNjmIPA6wG/381tYGAowPAHAiB8bhKZJaSbDlau47maPyNw1W32Q8IOks+vZx9yYxAvTg=="}]},"_npmUser":{"name":"viktor.plotnikov","email":"viktorr.plotnikov@gmail.com"},"directories":{},"maintainers":[{"name":"viktor.plotnikov","email":"viktorr.plotnikov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web-sdk_2.1.0_1696264889908_0.3355836229859315"},"_hasShrinkwrap":false}},"time":{"created":"2023-05-03T14:45:14.154Z","1.0.2":"2023-05-03T14:45:14.400Z","modified":"2023-10-02T16:41:30.359Z","1.0.3":"2023-05-03T15:43:56.361Z","1.0.5":"2023-05-14T11:46:18.589Z","1.0.6":"2023-05-14T11:57:29.423Z","1.0.7":"2023-05-14T12:17:20.108Z","1.0.8":"2023-05-15T00:40:31.468Z","1.0.10":"2023-05-15T01:01:46.132Z","1.0.11":"2023-05-26T16:57:30.731Z","1.0.12":"2023-09-11T15:30:07.321Z","2.0.0":"2023-09-25T22:07:24.161Z","2.0.1":"2023-09-26T17:07:56.071Z","2.1.0":"2023-10-02T16:41:30.170Z"},"maintainers":[{"name":"viktor.plotnikov","email":"viktorr.plotnikov@gmail.com"}],"description":"Allpass javascript library","homepage":"https://allpass.ai","repository":{"type":"git","url":"git+https://github.com/elkyc/allpass-web-sdk.git"},"author":{"name":"Viktor Plotnikov"},"bugs":{"url":"https://github.com/elkyc/allpass-web-sdk/issues"},"license":"ISC","readme":"# [Allpass.ai (by elKYC)](https://allpass.ai) Javascript Library\nFor full documentation, visit [https://docs.elkyc.com](https://docs.elkyc.com)\n## Introduction\n### Create Allpass.ai Account\nIn order for your application to communicate with Allpass.ai you need to signup for\nan account in our [workplace](https://workplace.elkyc.com/) and retrieve your development\n_API keys_ from `Integration > App Key and Secret API Key`.\n\nYou can find more details on API key configurations in the\n[initial setup](https://docs.elkyc.com/elkyc-web-sdk/predefined-steps#create-allpass-account)\nsection of our documentation.\n\n### Integrate the Verification Flow\nDepending on your requirements, you can integrate elKYC (Allpass) via our client-side SDK.\nThe client-side integration process can be summarized in 3 steps:\nInstall and import our client-side SDK in your application\nCustomize UI and localisations (if needed) in your view\nInitialize SDK and our users will complete a Verification through the Verification flow - on completion, you need to track the Verification in your dashboard in workplace and handle it accordingly via the callbacks (e.g. onComplete function)\nYou can find more details in the [initial setup](https://docs.elkyc.com/elkyc-web-sdk/predefined-steps#create-allpass-account) section of our documentation.\n\n### Setup Webhooks\nelKYC (Allpass) uses webhooks to notify your backend when an event happens in your client-side SDK. Webhooks are  useful for asynchronous events like when a user completes a Verification, or passes some step. You should specify your backend endpoint url and import public RSA key\nYou can find more details in the initial setup section of our documentation and how to use it\nin [webhooks](https://docs.elkyc.com/elkyc-web-sdk/webhooks) section. \n\n## Installation\n### Import library to your web application\nStart by adding the minified code to your webpage from the unpkg CDN in your HTML file:\n```html\n<script\n type=\"text/javascript\"\n src=\"https://unpkg.com/@allpass/web-sdk\"\n></script>\n```\nOr you can install it via npm:\n```bash\nnpm install @allpass/web-sdk\n```\nAnd then import it in your code:\n```javascript\nimport Allpass from '@allpass/web-sdk';\n```\n\n## Initialize SDK\nYou can pass in different handler functions like the onLoad, onStart, onRestart, onPassStep, onComplete or onError method to handle different events of the verification flow to the init function.\n```javascript\nlet onLoad: () => void;\n```\nMethod that is being called once a verification flow is loaded. You can use this to show your own loader and then show **div allpass**.\n```javascript\nlet onStart: (event: {\n  appKey: string;\n  transactionId: string;\n  clientSession?: string;\n}) => void;\n```\nMethod that is being called once a user starts the verification flow.\n- **appKey**: API Key\n- **transactionId**: UUID of the verification.  You can use this to query our API.\n- **clientSession**: Client session (requestID) identifier in your system\n```javascript\nlet onRestart: (event: {\n  appKey: string;\n  transactionId: string;\n  clientSession?: string;\n}) => void;\n```\nMethod that is being called once a user starts the verification flow, but the  verification is not completed\n- **appKey**: API Key\n- **transactionId**: UUID of the verification.  You can use this to query our API.\n- **clientSession**: Client session identifier (requestID) in your system\n```javascript\nlet onPassStep: (event: {\n  appKey: string;\n  transactionId: string;\n  stepType: string;\n  clientSession?: string;\n}) => void;\n```\nMethod that is being called once a user pass any step of the verification flow.\n- **stepType**:The step can be one of the following\n\"intro\" | \"biometry\" | \"documents\" | \"scan\" | \"diia\" | \"complete\"\n- **appKey**: API Key\n- **transactionId**: UUID of the verification.  You can use this to query our API.\n- **clientSession**: Client session identifier (requestID) in your system\n```javascript\nlet onComplete: (event: {\n  appKey: string;\n  transactionId: string;\n  clientSession?: string;\n}) => void;\n```\nMethod that is being called once the verification is completed.\n- **appKey**: API Key\n- **transactionId**: UUID of the verification.  You can use this to query our API.\n- **clientSession**: Client session identifier (requestID) in your system\n```javascript\nlet onError: (event: {\n  appKey: string;\n  transactionId: string;\n  error: string;\n  stepType?: string;\n  clientSession?: string;\n}) => void;\n```\n- **error**: The reason why the flow failed.\n- **stepType**: The step where the error occurred, can be undefined or one of the following\n\"intro\" | \"biometry\" | \"documents\" | \"scan\" | \"diia\" | \"complete\"\n- **appKey**: API Key\n- **transactionId**: UUID of the verification.  You can use this to query our API.\n- **clientSession**: Client session identifier (requestID) in your system\n\nYou can pass in the locale as a second argument to the init function. The default locale is the locale from the browser.\nAlso, you can specify the locale while creating the verification token in the [Public API](https://redoc.elkyc.com/#tag/Public-Api-Verification-Gateway-Service/operation/ApiVerificationController_createVerificationToken) section of our documentation.\n**_In case you set the locale in both places, the locale from the init function will be used._**\n\n```javascript\nAllpass.init(\n  { // event handlers\n    onLoad: () => {},\n    onRestart: ({appKey, transactionId, clientSession}) => {},\n    onStart: ({appKey, transactionId, clientSession}) => {},\n    onPassStep: ({appKey, transactionId, stepType, clientSession}) => {},\n    onComplete: ({appKey, transactionId, clientSession}) => {},\n    onError: ({appKey, transactionId, error, stepType, clientSession}) => {},\n  },\n  'uk-UA', // locale, default is locale from browser\n);\n```\n\n**_If user doesn't finish verification process and current session is still active - we can automatically start this verification. In order to make it you should call restart after init method._**\n```javascript\nAllpass.restart();\n```\nAlso it could be chaining with an init method:\n```javascript\nAllpass\n  .init({onComplete: ({appKey, transactionId, clientSession}) => {}}, 'en-US')\n  .restart();\n```\n\n## Render SDK\nPlace the new HTML element where you want the component to render inside the body of your HTML file:\n```html\n<div id=\"allpass\"></div>\n```\nIn order for the verification flow to render correctly, you'll need to pass a valid **accessToken** as an argument to the start function. You can get **accessToken** from our public API. You can find more details in the [Public API](https://redoc.elkyc.com/#tag/Public-Api-Verification-Gateway-Service/operation/ApiVerificationController_createVerificationToken) section of our documentation.\n```javascript\nconst accessToken = 'ACCESS_TOKEN_FROM_PUBLIC_API';\n\nAllpass.start(accessToken);\n```\n**_Make sure you're using your public App Key for this client-side SDK_**\n\n### Example\nindex.html\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"UTF-8\">\n    <link rel=\"icon\" href=\"favicon.ico\">\n    <title>Title</title>\n</head>\n<body>\n<div id=\"app\">\n    <div id=\"header\">\n        <h1>My Test Application</h1>\n    </div>\n    <div id=\"container\">\n        <div>\n            <h3>Content</h3>\n            <img id=\"loader\" alt=\"loader\" style=\"display: none\" src=\"loader.gif\"/>\n            <button id=\"start\">Start Verification</button>\n        </div>\n        <div id=\"allpass\"></div>\n    </div>\n    <div id=\"footer\">\n        <p>Footer</p>\n    </div>\n    <script src=\"integration.js\" async></script>\n</div>\n</body>\n</html>\n```\nintegration.js\n```javascript\nconst accessToken = 'ACCESS_TOKEN_FROM_PUBLIC_API';\n\n(() => {\n  const allpassId = 'allpass';\n  /** UI actions */\n  const setElmsDisplay = (hide, show) => {\n    document.getElementById(hide).style.display = 'none';\n    document.getElementById(show).style.display = 'block';\n  }\n  const finishUI = () => {\n    setTimeout(() => {\n      setElmsDisplay(allpassId, 'start');\n      window.Allpass.close();\n    }, 10000);\n  };\n\n  /** event handlers */\n  const onLoad = (e) => {\n    console.log('onLoad', e);\n    setElmsDisplay('loader', allpassId);\n  };\n  const onRestart = (e) => {\n    console.log('onRestart', e);\n    setElmsDisplay('start', 'loader');\n  };\n  const onStart = (e) => {\n    console.log('onStart', e);\n  };\n  const onPassStep = (e) => {\n    console.log('onPassStep', e);\n  };\n  const onComplete = (e) => {\n    console.log('onComplete', e);\n    finishUI();\n  };\n  const onError = (e) => {\n    console.log('onError', e);\n    finishUI();\n  };\n\n  /** initialize Allpass SDK */\n  const init = () => {\n    window.Allpass.init({\n      onLoad,\n      onRestart,\n      onStart,\n      onPassStep,\n      onComplete,\n      onError,\n    }).restart();\n  };\n\n  /** create Allpass library */\n  const script = document.createElement('script');\n  script.src = 'https://unpkg.com/@allpass/web-sdk';\n  script.async = true;\n  script.onload = () => init();\n  document.body.appendChild(script);\n\n  /** start verification process */\n  document.getElementById('start').onclick = async () => {\n    setElmsDisplay('start', 'loader');\n    await window.Allpass.start(accessToken);\n  };\n})();\n```","readmeFilename":"README.md"}