{"_id":"@passbase/button","_rev":"231-804e7daef53b5d1e5a9d63d172f1208d","name":"@passbase/button","dist-tags":{"latest":"4.4.0","channel-v2":"1.4.32","v3":"3.1.15","deprecations":"2.0.16-deprecations.1","beta":"4.2.5-beta.2","production":"4.3.0"},"versions":{"1.0.0":{"name":"@passbase/button","version":"1.0.0","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","dependencies":{"axios":"^0.18.0","core-js":"3.1.3","downshift":"^3.2.10","immutable":"^4.0.0-rc.12","react":"^16.8.6","react-dom":"^16.8.6","react-spring":"^8.0.20","rxjs":"^6.5.2","styled-components":"^4.2.0"},"devDependencies":{"@babel/core":"^7.4.4","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.4.4","@babel/preset-react":"^7.0.0","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.0.11","@storybook/addon-storyshots":"^5.0.11","@storybook/addon-storyshots-puppeteer":"^5.0.11","@storybook/addon-viewport":"^5.0.11","@storybook/react":"^5.0.11","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.1","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^4.2.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.8.2","eslint-plugin-import":"2.17.2","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","jest":"24.8.0","jest-puppeteer":"4.1.1","jest-styled-components":"^6.3.1","prettier":"^1.17.0","puppeteer":"^1.15.0","react-test-renderer":"^16.8.6","webpack":"^4.31.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.2","webpack-dev-server":"^3.3.1"},"scripts":{"build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/","build:integrate:react":"yarn build:integrate --env.react","build:demo":"yarn build --env.MOCK=true","build:prod":"NODE_ENV=production yarn build --env.ASSETS_BASE='https://app.passbase.com/' --env.IFRAME_URL='https://app.passbase.com/iframe.html' --env.PASSBASE_BACK_END app.passbase.com","build:npm:prod":"yarn build:prod --config ./.webpack/npm.js && yarn build:prod --config ./.webpack/npm.js --env.react","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual":"jest -c jest.web.json tests/visual/","test-debug:visual":"DEBUG=true yarn test:visual","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:visual && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server --open","start-https":"yarn start --https --cert=./certs/passbase/certificate.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.NO_FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY","start-integrate":"yarn start-https --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"initializeZoomCamera":true}},"_id":"@passbase/button@1.0.0","dist":{"shasum":"9bf680e7db142903df783ca0e9a1467c3f5ad4c5","integrity":"sha512-hoSBwLtVrd0E/8EJKwIvThy/OvstIdw+yGBEm0dsKE9L5gO16fNUM3g3pXzeogZ2UKlW+Ez57b/4oBKvvO8ghQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.0.0.tgz","fileCount":4,"unpackedSize":229085,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdB9ALCRA9TVsSAnZWagAAIw0P/jUWSX/hvenHneHWFZ22\nqo5yGPRx5DQ/ntl6smDRDgnvnqYZAvg5WvUYHb7DZ0HWFeHMG98BlnM3+vL1\ngoY9FiHzuAoKyzEB5cRGuccLhq79bzl7yfP3Sbw1dvvlCh7gnt9y/L0l3EBJ\ngVDALoI57ZD9hKa5n+oA7ZrFJUCyhzBJTRWSgb1IH0EeQza2QINa4kezfch/\ng7LNDqT5mkkZSkDNAAjs9baeX9P5/cZB3/jQhf/lp96c+rYd1yyzW7nggqce\ncA0nHnzsMUmHUrL0dov9xhKINezYc0VEPSipP8ThEHPHcr9I95GT6wzP+fl7\nxi4JCnyXa65hQ0y+MdmFMzXrMKLNFIdD5aVErbgAudyxra79AZ01jXulh9Nl\n5ijEV/SoucyJLr3Q3/sI4Jzt59Pp2l/Or57FJrpZpXU/Q8GK9MvIGL7S+ufV\nYdx4ADNrdroUtPKtJvRnqThhyLKe7z5KS55ge2YabC7RavK06A96JsjG2FAa\nfGfl2sWLlHEVSCBKdhUmVdn0gm5ZausC6LRzzAGXM7QPhNqRSlyNlPuMUdYs\nGKOyaDb8At17PPQiT6mfGbe8YnNRae9kKGlh2VXw8UyRU0dYmklc2I8kIGub\nDZNqzA85LO3FNM0AbUuzlW49SO3n+GU4efOojPxlB42w6OkdP05+OQRG3m3e\nYwJk\r\n=If8o\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0dDGrPj49hdiCLBjE5EABeAOXOPvzUEYatGgTJVa83wIhAIrYTetU4S+m1ttrdYWM5nJvMkaIRVBTq1n9/0eOpJm5"}]},"maintainers":[{"name":"passbase-alan","email":"alan@passbase.com"},{"name":"felixgerlach","email":"felix@passbase.com"}],"_npmUser":{"name":"passbase-alan","email":"alan@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.0.0_1560793099168_0.4639324423021578"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"1.0.1":{"name":"@passbase/button","version":"1.0.1","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"axios":"^0.19.0","core-js":"3.1.4","downshift":"^3.2.10","immutable":"^4.0.0-rc.12","react":"^16.8.6","react-dom":"^16.8.6","react-spring":"^8.0.25","rxjs":"^6.5.2","styled-components":"^4.2.0"},"devDependencies":{"@babel/core":"^7.4.4","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.4.4","@babel/preset-react":"^7.0.0","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.1.8","@storybook/addon-storyshots":"^5.1.8","@storybook/addon-storyshots-puppeteer":"^5.1.8","@storybook/addon-viewport":"^5.1.8","@storybook/react":"^5.1.8","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.1","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.15.0","react-test-renderer":"^16.8.6","webpack":"^4.34.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.4","webpack-dev-server":"^3.3.1"},"scripts":{"build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/","build:integrate:react":"yarn build:integrate --env.react","build:demo":"yarn build --env.MOCK=true","build:prod":"NODE_ENV=production yarn build --env.ASSETS_BASE='https://app.passbase.com/' --env.IFRAME_URL='https://app.passbase.com/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","build:npm:prod":"yarn build:prod --config ./.webpack/npm.js && yarn build:prod --config ./.webpack/npm.js --env.react","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual":"jest -c jest.web.json tests/visual/","test-debug:visual":"DEBUG=true yarn test:visual","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:visual && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server --open","start-https":"yarn start --https --cert=./certs/passbase/certificate.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.NO_FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY","start-integrate":"yarn start-https --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"initializeZoomCamera":true}},"_id":"@passbase/button@1.0.1","dist":{"shasum":"7b3b7e7a2f43769f7bc33b80a5bd2a2ca5115e05","integrity":"sha512-7jA1hx7hZyJ02hS3/e9rv8lD67oZ4h4PT0iNFVPO0ZhL5NtgTgvFQ0fTdnpjTIL+/+6BIBtxRNQSEaZqE6WBgA==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.0.1.tgz","fileCount":5,"unpackedSize":231766,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdB9THCRA9TVsSAnZWagAAC1AP/A4XLgVM2oVvJAVuU9jC\nXoTvuKpcvO6NjELW75XaApdTw4N4az6h/9HECvRzXcmJXUpp7d8l2dsm5AbR\nCD2+Ip/O6itAYn0xlf4FJk3EAVU3D/NWNtTP5W6BpVpwI51a6VbKu4yVR8oH\nPcQFPHzBldDs3SkHp+5Nnslu0bhjaNfq9VCZ3GNU/sovlo26YvRP2EH4g0mR\nzr4CXzEFnh95OQ7NQADU4OIxfSu1D0vQIIpumvedEupvUmNgBiM8Q5qk3Pfi\nf8MHgN5/ysN9iq3LweEOh/WCHX30DIbJvua4lN9XBKpy0ur4l9vqo9kFWNMe\nUfJfgJnz0+aWjkCe3dYe4odhKJWr+JCK6FKiWQ+kycu86+uG+yxv0jbtFg/B\nYITJNfuETwYnsdQpQ5f4Jnr2bqk8Irv2+y0gZlaTTFq93O/TwQWN3XnBhWjA\n1pJ+dMP2XqvDEZiqOeMp6Ny0jHRX9ON9CWZORZU1AQ31tbZXJDNapZmdjVMM\n5C2akHGewlz0oPuRs4tXD+2BC3vqagkMpFiyYAVPGh11iujZRRoU3If4/9fl\nk/diJ9QLMoTc4c8gPMVxRGrd/JJQRmd/7hLfXe06qb3IO4cBP499TuQybuAg\nuRhnzkk66ywoH8CMrodQY3tYoXHztqQQdHoNZRW/+JxlKOGqow+MHJkjox8e\ncS50\r\n=WSra\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEeC1ybRy/YiYAPKNSJreM79rc42oBbAz3wGLBE/2c0OAiEA7rFvPIxbPm9uB6DkLQS9f9BywTAnlYL8r/y5z4iBP0w="}]},"maintainers":[{"name":"felixgerlach","email":"felix@passbase.com"},{"name":"passbase-alan","email":"alan@passbase.com"}],"_npmUser":{"name":"passbase-alan","email":"alan@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.0.1_1560794310731_0.2680539188187143"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"1.0.3":{"name":"@passbase/button","version":"1.0.3","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"axios":"^0.19.0","core-js":"3.1.4","downshift":"^3.2.10","immutable":"^4.0.0-rc.12","react":"^16.8.6","react-dom":"^16.8.6","react-spring":"^8.0.25","rxjs":"^6.5.2","styled-components":"^4.2.0"},"devDependencies":{"@babel/core":"^7.4.4","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.4.4","@babel/preset-react":"^7.0.0","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.1.8","@storybook/addon-storyshots":"^5.1.8","@storybook/addon-storyshots-puppeteer":"^5.1.8","@storybook/addon-viewport":"^5.1.8","@storybook/react":"^5.1.8","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.1","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.15.0","react-test-renderer":"^16.8.6","webpack":"^4.34.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.4","webpack-dev-server":"^3.3.1"},"scripts":{"build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.IFRAME_URL='https://localhost:3000/iframe_container.html'","build:integrate:react":"yarn build:integrate --env.react","build:demo":"yarn build --env.MOCK=true","build:prod":"NODE_ENV=production yarn build --env.ASSETS_BASE='https://app.passbase.com/' --env.IFRAME_URL='https://app.passbase.com/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","build:npm:prod":"yarn build:prod --config ./.webpack/npm.js && yarn build:prod --config ./.webpack/npm.js --env.react","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag $VERSION","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual":"jest -c jest.web.json tests/visual/","test-debug:visual":"DEBUG=true yarn test:visual","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:visual && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server --open","start-https":"yarn start --https --cert=./certs/passbase/certificate.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.NO_FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY","start-integrate":"yarn start-https --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.IFRAME_URL='https://localhost:3000/iframe_container.html'"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"initializeZoomCamera":true}},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at At [Passbase doc website](https://passbase.com/docs).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoque the button rendering function**\n\n```javascript\nrenderButton(mountingElement, cb, apiKey, (options = {}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**cb**: The callback which will be called on completion, (error, authKey, additionalAttributes) => void  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**additionalAttributes**: an object containing attributes that will be stored and retrieved.  \n&nbsp;&nbsp;**userPrefill**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n## B. With a React Component\n\n```javascript\n<Passbase.VerifyButton\n  apiKey={apiKey}\n  onFinished={(error, authKey, additionalAttributes) => {}}\n  additionalAttributes={{\n    user_id: \"\",\n    another_attribute: \"\"\n  }}\n  userPrefill={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n/>\n```\n\n**onFinished**: The callback which will be called on completion, (error, authKey, additionalAttributes) => void  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**additionalAttributes**: _not required_ - an object containing attributes that will be stored and retrieved.  \n**userPrefill**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code\n","_id":"@passbase/button@1.0.3","dist":{"shasum":"d878921cfcc5655661d7b2295099eeda4e79170d","integrity":"sha512-cDnpdEfGOr+PLOjBscSQCRuLu7r+HAy/Dvt0/hgYte16NvgOnp+RpGBwh0aMVuEAgYo42p/mBolbxm27jr8zFw==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.0.3.tgz","fileCount":5,"unpackedSize":235127,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdCoSNCRA9TVsSAnZWagAAEJQQAKDEEq1b6SGxxsnJIUg0\nKzHKEDxBJijcycxGTzSP5A+U4vvcoLKy11DmSn/aZKx1yORDZDswlLLbzQ5m\n7E8VBT5Ksr8J6OHSueAtalDRb01pfdxuORhzGnL4NUbsUvr5lYTesxpoUF+s\nUL580cWmtFjNXG/tv0/4/OyG885n5yukuK5AqhNVnW/0yYmcyigXE6nBMG/l\nT5c0STFPzr8IyY96afzqLo7F7pRMEPCwc+BuQ8ntc7BQ8DFLrjCGQKAkHitr\na0hi23oQHrfUYlUXmz4OhNc4LI9qH4IVMeZAaF7orRby5xMHzOvd0A6i6Pc+\nFfcEBg6qi+EJULRS58yiIGu9Yb98efsiPu+NKdI2CHwIvuHT+bj+qDRPTTup\nzqybIoBAJ5HP55FIjayxht+73FHpSO08JrX95o6li+1ij5Qb01pzsSRtTbAz\nkk2ttGl4xrMV6ES+8J4It9xhxTVJijqot0Jqn2AyM8m+8xsZFrsRHIpunJXL\n91gN7EieksQ+0AXvnz/XyFyMexOyWZ9W7oVIf6cDjHxoJEZl+D9FvHrABlYu\nGGgVaYxNUmjDrIDvEM+w4NNUITgYK9Fb3GPaQbKOfYgKNaRufNHuzg/CgyxA\nKKJcQODeBaXbEYNL0LIf0pKm44DSnGkAgXuzhOHoTSVUvH86WsODzelLUf+3\ncyTN\r\n=j0Yl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICklGTJQ7KvBwznYRKs1BwuSvxXMsKaubLJaV/OtRqLhAiEAvIwqulxJQsODeL7GN7fz7Hj18vnLMQ7gyzALqYmVs50="}]},"maintainers":[{"name":"felixgerlach","email":"felix@passbase.com"},{"name":"passbase-alan","email":"alan@passbase.com"}],"_npmUser":{"name":"passbase-alan","email":"alan@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.0.3_1560970379936_0.28607175979693666"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"1.0.4":{"name":"@passbase/button","version":"1.0.4","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"axios":"^0.19.0","core-js":"3.1.4","downshift":"^3.2.10","immutable":"^4.0.0-rc.12","react":"^16.8.6","react-dom":"^16.8.6","react-spring":"^8.0.25","rxjs":"^6.5.2","styled-components":"^4.2.0"},"devDependencies":{"@babel/core":"^7.4.4","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.4.4","@babel/preset-react":"^7.0.0","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.1.8","@storybook/addon-storyshots":"^5.1.8","@storybook/addon-storyshots-puppeteer":"^5.1.8","@storybook/addon-viewport":"^5.1.8","@storybook/react":"^5.1.8","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.1","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.15.0","react-test-renderer":"^16.8.6","webpack":"^4.34.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.4","webpack-dev-server":"^3.3.1"},"scripts":{"build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.IFRAME_URL='https://localhost:3000/iframe_container.html'","build:integrate:react":"yarn build:integrate --env.react","build:demo":"yarn build --env.MOCK=true","build:prod":"NODE_ENV=production yarn build --env.ASSETS_BASE='https://app.passbase.com/' --env.IFRAME_URL='https://app.passbase.com/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","build:npm:prod":"yarn build:prod --config ./.webpack/npm.js && yarn build:prod --config ./.webpack/npm.js --env.react","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual":"jest -c jest.web.json tests/visual/","test-debug:visual":"DEBUG=true yarn test:visual","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:visual && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server --open","start-https":"yarn start --https --cert=./certs/passbase/certificate.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.NO_FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY","start-integrate":"yarn start-https --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.IFRAME_URL='https://localhost:3000/iframe_container.html'"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"initializeZoomCamera":true}},"_id":"@passbase/button@1.0.4","dist":{"shasum":"9342496560a328b048d3a7430876bbb93ff690da","integrity":"sha512-51tpJnGG+Hn2ChZoZdeCOot9EknHza7eEg5W55g6fAy6EwPT+MOqlU3RO+hN9jVuTvs3Ga/Hj7Mt6oG/GsJhWg==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.0.4.tgz","fileCount":5,"unpackedSize":235125,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdCohFCRA9TVsSAnZWagAA+28P/0FTWOD1t7YRI19STjhI\nR3rwmoErCfTkfoA5Fa0Qt26m7F6kdh/zpQVGLluy6RuVRic13XX5O9blBHYb\nFnA9cH8/w/RLfBmVvo0Kkns5uOsafGhE2VNwiQjTlXR7qavV/vxLz+OCXLxn\nm1PIIj6y8dZcalWv0Y+sJykJN9XLIkVFsXMkhAKKMjD29KhpjHwqdWSlntkg\nU4d12CDafX5u9wVqVoTn+QUfoKuvutQ7QwsfWBaPdWL/qmYwP9MgHDwc+k/1\noklggjYIi5xiI8E0oZehwFRGH+wHEk1QRAgec+GpLmROd8TwZ4FOBXMvBiqV\niR+5tDrcHVWDPOCvLclHtAoe+CLcIHEwHev0sTyveH3C+/9P4n6S0AiEeo1o\n2blZVEWAwuRXgI7NokjPVEcPQ8dytao4bO6px1bL950aTjludbPtSrCIMOU7\nmaZJDNVUYa+DC7N//e4/TvapwMBO2unxLR0jzFRg1cNe+7csefQaRZjs7+Zh\nR+nWv07kRQxtdR8TJURcy9w6aq9rpQw4P6lvyBye0/dGl8YHgRAA0LvLCOGd\n7JLZyNxLU6+XEP2iL/wC6nsyZpvXK604xPWmzVpj5vhkbVsCmLj3XnN96oKB\nG5+eVPhIwSrR5uELga3foWtQgnETWdsQS2JryjBz5lAs04QWCivu1bnlneH1\n0UYo\r\n=KN8H\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHwX4AW2TP67zuiNPoWEzwLbZmUVt7jY2ToqiSLnK39IAiB1RxzeSD57yjjhlmsChPQPeCJbPv+BN8M56qVtzTzNUg=="}]},"maintainers":[{"name":"felixgerlach","email":"felix@passbase.com"},{"name":"passbase-alan","email":"alan@passbase.com"}],"_npmUser":{"name":"passbase-alan","email":"alan@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.0.4_1560971332514_0.4874225313670557"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"1.0.5":{"name":"@passbase/button","version":"1.0.5","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"axios":"^0.19.0","core-js":"3.1.4","downshift":"^3.2.10","immutable":"^4.0.0-rc.12","react":"^16.8.6","react-dom":"^16.8.6","react-spring":"^8.0.25","rxjs":"^6.5.2","styled-components":"^4.3.2"},"devDependencies":{"@babel/core":"^7.4.4","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.4.4","@babel/preset-react":"^7.0.0","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.1.9","@storybook/addon-storyshots":"^5.1.9","@storybook/addon-storyshots-puppeteer":"^5.1.9","@storybook/addon-viewport":"^5.1.9","@storybook/react":"^5.1.9","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react-test-renderer":"^16.8.6","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.4","webpack-dev-server":"^3.7.2"},"scripts":{"build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:3000'","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.ASSETS_BASE='https://app.passbase.com/' --env.BUTTON_URL='https://app.passbase.com' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","build:npm:prod":"yarn build:prod --config ./.webpack/npm.js && yarn build:prod --config ./.webpack/npm.js --env.react","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual":"jest -c jest.web.json tests/visual/","test-debug:visual":"DEBUG=true yarn test:visual","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:visual && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server --open","start-https":"yarn start --https --cert=./certs/passbase/certificate.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL='http://localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY","start-prod":"NODE_ENV=production yarn start --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.ASSETS_BASE='http://localhost:8080/' --env.BUTTON_URL='http://localhost:8080' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:8080'"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"initializeZoomCamera":true}},"_id":"@passbase/button@1.0.5","dist":{"shasum":"f77188bf72002ba71587bdf81dcbc46bdafb57ec","integrity":"sha512-Hpvnm5R4mzzDcCZzDOxh1i53xwswOSkElNjHiAkaoMXNZ49gE+x3xjtHHygc5lzumXNRI1XzoUrfhI/xdv4ZUg==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.0.5.tgz","fileCount":5,"unpackedSize":305302,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGmnsCRA9TVsSAnZWagAAu6gP/1b/3tP4jvDH348u35qn\n1Eez+gwC9gChg/Omj0kloaz0tjYsyfBREdlBjgHYJeiaS7OXZ9TqoP4Lz/8Y\npwt8evscNMEx+nDzlXneiM9E4j+VV3M/CEB7iDfawlCMvoSqaIHTn0Re6+aQ\nsu1UNoddX7bQlbrqExcWDliSXAq8DgyaWF1fdyCg19XSHWw/4BB69Qh66E8e\nG7PIuellF9pyhKFOWop6/V0CUgDR21F6W0J8FXTnx9l9dw837s6tUZymZOmF\nAeK3SlnM0rKIguF+XDejM4Ji9ozGxHp/hySSSKvsROg9F9j/LJoN9QvAT6VE\nx5KYSFN8QbZ1lXvcWRZzSpmdY+LPQpMhQvKxtYJI4y8iLJCeKXxFsv05VZdC\nVS/W/7O/fdUZe6xcOJAJlK02nvOMjs301NfDB7ZOK0W7e3z0GM9bY9BdErOQ\nvVA6SnHrawZqNszpttA5EFXimflTmI0TTjzR+D0qtOv819vOMpxsPMg8EZE1\n4/tSX56Zy0YruIivz8luhqEqiZXbi1x6wh6NyvNyW3GDlXfDX4/W6b1sWZ5P\nFCrPDOFaB0qJ3uTIekA/oWju8wfCnY6H0p3/4bOKDu2bndH3YrhHvKA0LmsI\n6lNxjzsUqMeBLotAi+DEpG+tWrTsfGiAXdPNAd0dwULe/WPsIs9AqkHidniB\nbdpL\r\n=fvcR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEs+6fmf+KNG65cExeBeCwPrUXbIF+CY2l2PhDPYFvP+AiEAzGuc3IZm6yQa3sqq8Dcp078JyckFnpAbH8dFA/kh+Ko="}]},"maintainers":[{"name":"felixgerlach","email":"felix@passbase.com"},{"name":"passbase-alan","email":"alan@passbase.com"}],"_npmUser":{"name":"passbase-alan","email":"alan@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.0.5_1562012139257_0.05640555439661199"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"1.0.6":{"name":"@passbase/button","version":"1.0.6","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"axios":"^0.19.0","core-js":"3.1.4","downshift":"^3.2.10","immutable":"^4.0.0-rc.12","react":"^16.8.6","react-dom":"^16.8.6","react-spring":"^8.0.25","rxjs":"^6.5.2","styled-components":"^4.3.2"},"devDependencies":{"@babel/core":"^7.4.4","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.4.4","@babel/preset-react":"^7.0.0","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.1.9","@storybook/addon-storyshots":"^5.1.9","@storybook/addon-storyshots-puppeteer":"^5.1.9","@storybook/addon-viewport":"^5.1.9","@storybook/react":"^5.1.9","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react-test-renderer":"^16.8.6","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.4","webpack-dev-server":"^3.7.2"},"scripts":{"build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:3000'","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.ASSETS_BASE='https://app.passbase.com/' --env.BUTTON_URL='https://app.passbase.com' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","build:npm:prod":"yarn build:prod --config ./.webpack/npm.js && yarn build:prod --config ./.webpack/npm.js --env.react","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual":"jest -c jest.web.json tests/visual/","test-debug:visual":"DEBUG=true yarn test:visual","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:visual && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server --open","start-https":"yarn start --https --cert=./certs/passbase/certificate.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL='http://localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY","start-prod":"NODE_ENV=production yarn start --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.ASSETS_BASE='http://localhost:8080/' --env.BUTTON_URL='http://localhost:8080' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:8080'"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"initializeZoomCamera":true}},"_id":"@passbase/button@1.0.6","dist":{"shasum":"796d89491ebaeba62200979f31e22097f08a46cf","integrity":"sha512-KBRWtXSAf4rZBaXPM60prh+Xf4TkKLzURCIEfJMBfnHBNW6NyXwWBoVpLhmGCtynWi3nv5yAK7smwXv0ljRskQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.0.6.tgz","fileCount":5,"unpackedSize":305320,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSF1GCRA9TVsSAnZWagAAqxUP/R5iTcExW2c16GpdRtme\nBCGsglIS0qY/tG5PmNrRW50GKIh2HNJQJekHR/i/7HrRln3T7pbUB4M5MsM4\n/Wh5AwtcmhomSVKAmB6oUNGXdaIDOAWl6krunuVKCgWumyoKO4tQZy6Exl6p\nuOCzNhlMmW/R2KvKox4D7hlgt0nt2mPjqqP6XKZ/6FGhYRfH4R6t3lj8uYGn\nuxpEd9Vx78HcLcs6kxoBKLAc+mkzY1aVM0h4aaYKjMZ4atudxoohPK+lC3pS\nJ9kie55QRFz65Sx2SHd3oSGA3Ghrn25Y79mMqvlI6P+HvSMBwZe+tLmJAA7d\n2d4dmC5KkSRHUsNQZi5zEyW/x8riLFTKAR7ri8U5XFnWJKJz4KT9K4Oi0uji\nEJ3UQ0xV7TI78QSg9Nxaibj4ckc2qe1GiGaA+t20peNHDPTYiHez5+hQyi5B\nexj2N2RYF2KKul5AxCfbr2sHodGobGsUHz08pn1h2SdBN94t4JtIw168NKwU\nhXxG8AHJsXeYOnSV1XMOuLrqG8aDF+9Vl8HkxDYWm8q4SRnBmccTgLVUaD+8\nGFIZFNmkJNyffCuNZGoonPHITc2qWlb8tXNb4Vyl5q0Q9LgpzXSc38ogsr9s\nllIiYvnq9Z/xoXLNryowH0ATRp5i0uW0JBYzkU3egnlu1MyHH+En11JVox7X\ni1wx\r\n=PsJW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFH5ecNQSOIOMHC/GtUohiq2FysKRmsbk+Agz0uhwSHqAiEAwPNOJCYEPywEqlTwv8K4NrqV/WDqbKDD+8YgC4oabu4="}]},"maintainers":[{"name":"felixgerlach","email":"felix@passbase.com"},{"name":"passbase-alan","email":"alan@passbase.com"}],"_npmUser":{"name":"passbase-alan","email":"alan@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.0.6_1565023557631_0.15833225449035648"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"1.0.7":{"name":"@passbase/button","version":"1.0.7","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"axios":"^0.19.0","core-js":"3.1.4","downshift":"^3.2.10","immutable":"^4.0.0-rc.12","react":"^16.8.6","react-data-grid":"^6.1.0","react-dom":"^16.8.6","react-intl":"^3.1.13","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","rxjs":"^6.5.2","styled-components":"^4.3.2"},"devDependencies":{"@babel/core":"^7.4.4","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.4.4","@babel/preset-react":"^7.0.0","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.1.9","@storybook/addon-storyshots":"^5.1.9","@storybook/addon-storyshots-puppeteer":"^5.1.9","@storybook/addon-viewport":"^5.1.9","@storybook/react":"^5.1.9","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react-test-renderer":"^16.8.6","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.4","webpack-dev-server":"^3.7.2"},"scripts":{"build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:3000'","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.ASSETS_BASE='https://app.passbase.com/' --env.BUTTON_URL='https://app.passbase.com' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","build:npm:prod":"yarn build:prod --config ./.webpack/npm.js && yarn build:prod --config ./.webpack/npm.js --env.react","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual":"jest -c jest.web.json tests/visual/","test-debug:visual":"DEBUG=true yarn test:visual","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:visual && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server --open","start-https":"yarn start --https --cert=./certs/passbase/certificate.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL='http://localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY","start-prod":"NODE_ENV=production yarn start --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.ASSETS_BASE='http://localhost:8080/' --env.BUTTON_URL='http://localhost:8080' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:8080'"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"initializeZoomCamera":true}},"_id":"@passbase/button@1.0.7","dist":{"shasum":"ed76a6a1b7b478d007f5927ec0e7b4807f706c00","integrity":"sha512-rQhP+/20yyrgCAz3SMIWyX3CI5qkRo+R8LEbSDgbA23P0+Q6BcAVIzT3oIrGN4+PtBJ/CL611Oe/wjUsG4bMTA==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.0.7.tgz","fileCount":5,"unpackedSize":368644,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgL1WCRA9TVsSAnZWagAAmD8QAIhu/tSXr9n5/9juXYeQ\nBJX5hZXN/Jy787TmboXA8Wzn95jFTer0HvEEj3RRogdO9ntVXE1l9WPv+m1q\nLdxAjZEYy5LDSHPZdY4eP7Fp5ZljBgl8pg/aw7uq4RnDhZmhFu4kABms3TRz\nGLYOh3igw+SRBAFHFJqJB7XEUeeqHYhERkNmVHzKqQZvXrdALVKJUXdLnrHs\nlbCIC5qXPnYmzJG6MAdgDKjz7Z4KGywiQzV6PwxKZu9WFsJEYwHeK1XKik14\ntSIOA2TFjy86+tug7OzbFg9X9rcF+i06RzDrOT5BIb8h3h5qIxfc5Fs8X+Wv\n1xl03GvuhOonzFsPxm9F7z9Vu8eQHeODpGV6FwUxBC20xXfdK9LYTxNJYI05\nflJzYp44w7M0miWZvKYO27x1j1xrEXXLLJEAFaTfELY8nmJr74fap4mUivn+\nDmrhff3Q3fQLyTiCIxqR/ljILhnEKlXtRBkX3/OZAPx+g92+bIvlZcvrdm3L\nCKdC7y0kNoXWrG8etsXEePZ6WtgCUsn4KUj9B4Wcy2oA3ElAqDhsQ6G85V03\netOgiD3cQKxgneLufPWEOwBUb1Z/IPWUPXxY0S5Xwf3IXjI7y9OXB85zlgpd\nYFMfe8+NNOzyEe4hRW532oZ3QuGcnfTqFb1xtS00Tra3CvxkUgZTZRmv2ShR\nt5rG\r\n=8nzb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC8L6RsNG8KCKYU6w32u63bIkw5Ciak+vwy+9zdRIFZMAiBjB/NXVZ7olp+DAOxgi5uyz+/cZ7ITyAWUm5/K1j9hfA=="}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"alan@passbase.com","name":"passbase-alan"}],"_npmUser":{"name":"ma9o","email":"giovanni@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.0.7_1568718165502_0.2033927495171135"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"1.0.8":{"name":"@passbase/button","version":"1.0.8","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"axios":"^0.19.0","core-js":"3.1.4","downshift":"^3.2.10","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-intl":"^3.1.13","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","rxjs":"^6.5.2","styled-components":"^4.3.2"},"peerDependencies":{"react":"^16.8.6","react-dom":"^16.8.6"},"devDependencies":{"@babel/core":"^7.4.4","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.4.4","@babel/preset-react":"^7.0.0","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.1.9","@storybook/addon-storyshots":"^5.1.9","@storybook/addon-storyshots-puppeteer":"^5.1.9","@storybook/addon-viewport":"^5.1.9","@storybook/react":"^5.1.9","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react-test-renderer":"^16.8.6","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.4","webpack-dev-server":"^3.7.2"},"scripts":{"build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:3000'","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.ASSETS_BASE='https://app.passbase.com/' --env.BUTTON_URL='https://app.passbase.com' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","build:npm:prod":"yarn build:prod --config ./.webpack/npm.js && yarn build:prod --config ./.webpack/npm.js --env.react","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual":"jest -c jest.web.json tests/visual/","test-debug:visual":"DEBUG=true yarn test:visual","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:visual && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server --open","start-https":"yarn start --https --cert=./certs/passbase/certificate.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL='http://localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY","start-prod":"NODE_ENV=production yarn start --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.ASSETS_BASE='http://localhost:8080/' --env.BUTTON_URL='http://localhost:8080' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:8080'"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"initializeZoomCamera":true}},"_id":"@passbase/button@1.0.8","dist":{"shasum":"e7fc42053f704b4abb20812df26ffc3b6046168e","integrity":"sha512-4+hMGq/kNNnC+qtTnJgrWzV3YA2SRKlydwEodhD4FQ5Hd6RBvKAtTk/k76sStwMJJTmRaEUMJrmyaSPG2YlCRw==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.0.8.tgz","fileCount":5,"unpackedSize":368672,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdg49sCRA9TVsSAnZWagAAeuAQAI0fj4/KE1Gb/b44zvSg\nJS5y/n+1/bvdBKmPrufA5atiBPJz2KOFo1b/B48drnYwnYh4Bha3ITxzS7+P\nF7HjBazpGSuJeek4kBlZ1rQ9dPNlpZ2XUdPtNkD1Aol1kOlaqoMikgHebTnV\n7qUrs3WFm9nx+miCTEbymtYxeFUAV4W+SSnIleo/JAWlhlp09QMWMw7faNEE\ncBnX1CbijldIE6xXE2qxFocqxCJZ/NkzGzkMJtRDun7YotTt5fKtAO71LWU3\nku/Wa1GYO+rHHn16AFAykTLCLbqHLyh4YUTX4ASM2huH5DEnXFvolTeokPsB\nCkH/kiYiAhyH0I7yh9d4jsJeP92+vjiKx+cbRUsVvSJgwdLJDH64pAPHvmrK\nGaF393YNaK5Xd0P1VAA2DfmD/xvYbRaMTdQ/KJ6mcOJrctfiYwatr4fgZn73\nP/cTDQ95r7HewvWS7cz6T2RnJjXqIqrDo8GJbTEfNSMsuorYZc6BSOWN9RNz\nSJKGGlICKGZypuzQUxXYdQ5jlLuG+Fdyu94ACij+1aDJRveHG0WuCDYqkaAJ\n5kv2JPNsV8s8WaqfkBecWEncaAT5QmCuEGoDykmi3TYh7sVDNBHMoekt1wJX\ncQbFRLlRLNEcGppjH8OgNiN+rtEKT8jFJbSDYsuHzM0Z9U4IcubyRza5nMJi\nGZgl\r\n=+hS7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBLDHgJELUpdbOp4eLuD8JO5ojaBPpLPyL5QqXTIOqnhAiBujmNNns1fct7QzGvkXhMsNsnee2dAeUH2wiPuuPOAYQ=="}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"alan@passbase.com","name":"passbase-alan"}],"_npmUser":{"name":"ma9o","email":"giovanni@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.0.8_1568903020266_0.3855401074537761"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"1.0.9":{"name":"@passbase/button","version":"1.0.9","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"axios":"^0.19.0","core-js":"3.1.4","downshift":"^3.2.10","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-intl":"^3.1.13","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","rxjs":"^6.5.2"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.4.4","@babel/preset-react":"^7.0.0","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.1.9","@storybook/addon-storyshots":"^5.1.9","@storybook/addon-storyshots-puppeteer":"^5.1.9","@storybook/addon-viewport":"^5.1.9","@storybook/react":"^5.1.9","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react-test-renderer":"^16.8.6","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.4","webpack-dev-server":"^3.7.2"},"scripts":{"build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:3000'","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.ASSETS_BASE='https://app.passbase.com/' --env.BUTTON_URL='https://app.passbase.com' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","build:npm:prod":"yarn build:prod --config ./.webpack/npm.js && yarn build:prod --config ./.webpack/npm.js --env.react","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual":"jest -c jest.web.json tests/visual/","test-debug:visual":"DEBUG=true yarn test:visual","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:visual && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server --open","start-https":"yarn start --https --cert=./certs/passbase/certificate.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL='http://localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY","start-prod":"NODE_ENV=production yarn start --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.ASSETS_BASE='http://localhost:8080/' --env.BUTTON_URL='http://localhost:8080' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:8080'"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"initializeZoomCamera":true}},"_id":"@passbase/button@1.0.9","dist":{"shasum":"a321b4f105bc847e3fc10f34c55361cc1ca56d14","integrity":"sha512-FNRTD7m/9RooTGmE84Ltxo0vk4O/5jtZx17r7+mU7GBu9WIE9c3vb4w/kdXloCx/GHPdDdqc7Ca/2tvIEETyig==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.0.9.tgz","fileCount":5,"unpackedSize":366453,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdg8XBCRA9TVsSAnZWagAAaTMP/RiSZM9SHuo0H4urxZha\n7lGVYMJ5va10Q8Bwqi8MASBuzsjdxkaEwQrdpBRTKpE2mhaJQJsOWu68HZXe\n8iWdA5xSVt5/6n+BwKHqNYT7pKObBQBGXVIWc8zYjsNH9nkTEGckCZJAhlcB\n4otfbkDszKh4xzfHAGUflS7BNgSjSjiuy0vIqa5orLiXYrdcqmklkHjgmWks\nsXSMa9XNVAxXW/9sCeh2PpYGHL4XZke6Fc3Cf0VJzwBRC4IHkLMXIvYss35L\ny0pMH91sNjEYSxBLWU4z7CR3RBsRbC081BOeAY4sAHCvAr1KEYFI3hNOJb7z\nueo/LLEdHLFQpT8yCNlZPscPS6w3p5aUWVZ+WbimLrxKL2xsS+8jd6HI5G8B\n6kM/2SOIN5cI27suTTdCEMfpK2UBbz7ICiPXHMREVD2uV9X4jzVgpuhE4xpM\npYtUmY93VKmPNtkNt+fUsb4i1TJcpN1WKV6Gg9UcL124I3n3PVcHj1UQoNrR\n4odnuQaZx6Zhc/OZ0ATzzHgfKBeOs4wRf/9jlnby2XKo5tWZzgDyfvBlquNP\nxU070nbNbhFrnA4gi5pnMn3Kv/qKlTyWzBdxYH/cTk3tnHYSznMoG34BPNIf\n7JkOGXFijHcd8YGh79hYpQiVcbDh/DeKw6mMqhaH2rzIuMXDSZSfaaVBy5t6\niHzq\r\n=A4YZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEjBdhCIWeWW/S1KGXD1GlOiBma1h1FQ24PuAH2+eu7MAiEAie8KjyKEH4F9mUrJvNHmSfTR3ilbINsQLSXQvReGkPU="}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"alan@passbase.com","name":"passbase-alan"}],"_npmUser":{"name":"ma9o","email":"giovanni@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.0.9_1568916928495_0.11342285463591018"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"1.0.10":{"name":"@passbase/button","version":"1.0.10","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"axios":"^0.19.0","core-js":"3.1.4","downshift":"^3.2.10","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-intl":"^3.1.13","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","rxjs":"^6.5.2"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.4.4","@babel/preset-react":"^7.0.0","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.1.9","@storybook/addon-storyshots":"^5.1.9","@storybook/addon-storyshots-puppeteer":"^5.1.9","@storybook/addon-viewport":"^5.1.9","@storybook/react":"^5.1.9","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react-test-renderer":"^16.8.6","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.4","webpack-dev-server":"^3.7.2"},"scripts":{"build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:3000'","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.ASSETS_BASE='https://app.passbase.com/' --env.BUTTON_URL='https://app.passbase.com' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","build:npm:prod":"yarn build:prod --config ./.webpack/npm.js && yarn build:prod --config ./.webpack/npm.js --env.react","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual":"jest -c jest.web.json tests/visual/","test-debug:visual":"DEBUG=true yarn test:visual","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:visual && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server --open","start-https":"yarn start --https --cert=./certs/passbase/certificate.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL='http://localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY","start-prod":"NODE_ENV=production yarn start --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.ASSETS_BASE='http://localhost:8080/' --env.BUTTON_URL='http://localhost:8080' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:8080'"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"initializeZoomCamera":true}},"_id":"@passbase/button@1.0.10","dist":{"shasum":"f563a49a1faffd194e4a169d3cb3cfaba849a560","integrity":"sha512-pmtWNNXJSL54tppXzqW0b805CA77l0Ce5lOGGSevTI8cBru5i6vTciLkRKHPV36+nZJamNuxA1TUY5dpEL/+kQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.0.10.tgz","fileCount":5,"unpackedSize":366752,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdg8jDCRA9TVsSAnZWagAAM6AP/RWWJyzAay+w+txdg9bL\nD2jCxDd17MvfZ1Xn/nPPGqa48f0LGPHnMoi5t6jr+EUQ+UdNLElTHxpX29B5\nQtJpcBb2Jg1RiDQZCAFq7nc+OLBNYVCRV0YfbSakdrzs1Zw17W5PuWzGKZIi\nqnqT3aglDYTzMUS8BklP8Q2CllLMFnAJBoGiwvjSrqfi2aV9+8YkSHa5KzGE\nUlOYxkFNIExBq0DMdLSgDk3GAMqyZ9kdP5q1ee0YRcg+JFz5BEiBE5XQsJ80\nXSKFpD5x0wmgjxX6HOK4XuXGSInDi3Qi3Fld8KXg4nUgFqgE2G9Xwscf/sGv\nzdKOTrx9ASBXqAOF/S0r6jUsxeVqhV6B+NDBHPApsGAnmx4sPs3A7Rs6kWv4\nFPUr4KYsLSmai4ifDSW7JKsxFEbOjglTnKHEf5phG+w2HgYfI+SflDrUbrHf\nxqertfpAuzuVcGDb2tmvUz+5ky4Sph3MO5gIG246Q+kk3TGdDLEoWJvD8o1A\nPW4mLXFoqJZvLR9mXwnX1c+w8UuASkObnPIx1Hzn4yoRqCZkoFpjb6PMiuWB\nJnAQxHxr1uSpvU4KCt4niCsrXVkkqcoCgd+XdxZPBo03Qnmul3FC6xBFoGXF\nZfyTc/L+j2i02t4UyJlA7f/ZdNXPKKb5slptUlP035okjqxQboBajD8+NR5i\nOhYe\r\n=tP7s\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICag+i+a94LJ9iWwwpDyWUuhmBRZOcCxpvUzDyWMGsh9AiEA9TEcqvXyW3ZKQWih6m3gsBhVPhpQD/QARCoAG/CHWbQ="}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"alan@passbase.com","name":"passbase-alan"}],"_npmUser":{"name":"ma9o","email":"giovanni@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.0.10_1568917699060_0.04707810044216765"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"1.0.11":{"name":"@passbase/button","version":"1.0.11","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"axios":"^0.19.0","core-js":"3.1.4","downshift":"^3.2.10","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-intl":"^3.1.13","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","rxjs":"^6.5.2"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.4.4","@babel/preset-react":"^7.0.0","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.1.9","@storybook/addon-storyshots":"^5.1.9","@storybook/addon-storyshots-puppeteer":"^5.1.9","@storybook/addon-viewport":"^5.1.9","@storybook/react":"^5.1.9","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react-test-renderer":"^16.8.6","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.4","webpack-dev-server":"^3.7.2"},"scripts":{"build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:3000'","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.ASSETS_BASE='https://app.passbase.com/' --env.BUTTON_URL='https://app.passbase.com' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","build:npm:prod":"yarn build:prod --config ./.webpack/npm.js && yarn build:prod --config ./.webpack/npm.js --env.react","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual":"jest -c jest.web.json tests/visual/","test-debug:visual":"DEBUG=true yarn test:visual","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:visual && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server --open","start-https":"yarn start --https --cert=./certs/passbase/certificate.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL='http://localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY","start-prod":"NODE_ENV=production yarn start --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.ASSETS_BASE='http://localhost:8080/' --env.BUTTON_URL='http://localhost:8080' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:8080'"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"initializeZoomCamera":true}},"_id":"@passbase/button@1.0.11","dist":{"shasum":"fc3a443f3ec409bff9e5484366bb7cdc5a1b2949","integrity":"sha512-NuukiOUF5VfxbfyuukVE8oJhfuDGIileDL2/LQlRFvm26huLf4W0n2OqF5mdUWA55cy8KwsO872C1KI4DAlFyg==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.0.11.tgz","fileCount":5,"unpackedSize":366786,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdihNCCRA9TVsSAnZWagAAafoP/ip1eTy7Vf8q/jXcFAj1\nEEcd7cUj4ChmT2XrehMUCBcuvF61BLFcX22PSf/cGo62OfH9h+4UcnSOdryi\nZnOejyby2bzks8eBP5FZfUj3Y8Yrv6S4+x6X+j25wbuRmAT5ylNv+CkLTvuS\nMSQL4UNJzD8L9SZQ50SNWLVznAdLfzSC+eRIjrgJxkc/+BNNOGCHNWeV8op9\nL0a9WkO5osCinn7NvOwRQfM13cfABD2hoH6AYGrTuPxj8ReNa/VnrWVYMBPs\nyYCov4WPaV/C+1+HbCCIMDregnnWqQxeuwXw6CC5nCKtxxLWfKTrfXnJHrmb\nmU2xD3flAKRnbs2aeDmNK5r1p4L6F5zhIxxOvxgtD1UuACfPNFzCCGuT/1MB\n9/p9CjlALp7fEtllCNNLQb7YywvDHLoqMw0LbVQW/QOLwK2sKQMjA+Oixm++\nbO9OyzX/Kc4DXttrUah1RyxizDfiJBkrTw3H8VmiKJKUUsbcswOA31jG/ThR\nIo3iqBSR0FXDfLEfrYSOCSlYyOgQ9UiJcCisYKzbmTwvUgDfjhsJNE1e0eyv\nCjUT0q0PsxZtWLXTbsbecLm0OIQAmh5mS3HHAo0E1kpyBvJc97UA2N1/Cehh\nHbOEYLseo48Tk+4PJY8coAUPxWWKGq5bSvq5hQoYcMUEmxvLhJE57Lu5nF1t\n1W7k\r\n=w27v\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG0gFHH0kd5u1Fw0GSPpqNNMQjDh6wGcFj22W/M9WlwnAiEA58kYdbMOtTgxkQXpEaQD1TGLVdm6wEGbb5UuD0lp5o4="}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"alan@passbase.com","name":"passbase-alan"}],"_npmUser":{"name":"ma9o","email":"giovanni@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.0.11_1569329986156_0.9389142194780493"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"1.0.12":{"name":"@passbase/button","version":"1.0.12","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"axios":"^0.19.0","core-js":"3.1.4","downshift":"^3.2.10","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-intl":"^3.1.13","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","rxjs":"^6.5.2"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.4.4","@babel/preset-react":"^7.0.0","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.1.9","@storybook/addon-storyshots":"^5.1.9","@storybook/addon-storyshots-puppeteer":"^5.1.9","@storybook/addon-viewport":"^5.1.9","@storybook/react":"^5.1.9","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react-test-renderer":"^16.8.6","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.4","webpack-dev-server":"^3.7.2"},"scripts":{"build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:3000'","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.ASSETS_BASE='https://app.passbase.com/' --env.BUTTON_URL='https://app.passbase.com' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","build:npm:prod":"yarn build:prod --config ./.webpack/npm.js && yarn build:prod --config ./.webpack/npm.js --env.react","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual":"jest -c jest.web.json tests/visual/","test-debug:visual":"DEBUG=true yarn test:visual","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:visual && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server --open","start-https":"yarn start --https --cert=./certs/passbase/certificate.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL='http://localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY","start-prod":"NODE_ENV=production yarn start --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.ASSETS_BASE='http://localhost:8080/' --env.BUTTON_URL='http://localhost:8080' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:8080'"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"initializeZoomCamera":true}},"_id":"@passbase/button@1.0.12","dist":{"shasum":"9289e551c1f070c013ebb8bc9f0595ffacc27e36","integrity":"sha512-AgwId3X32eKlqAu+XQcdnHfP/l2LyNlzXbQDK/kfh7GT//fz6Gf2spN3ffP56AwAqIhGYMmnP+FIsaaiSXhHLg==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.0.12.tgz","fileCount":5,"unpackedSize":366903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdjIk5CRA9TVsSAnZWagAAqQIP/0dMGpIB9FKIkfzIzdOC\nvPB9yACFyx/VhPh/yV1Cm2oCGOcXlBGzRXHqZaZnHFqGmKjTTLP0FsgDSgge\novd1ZLPZIjK3ovZt/S2XVw6Q6Y4GQnyqAaIu5TZJW23IC/pIs6HWZjphsoFj\n3UROWEZfRb868e28YjToxhK0W0pVBbng12XfEZSrW5oBjAj6p8DL7oKzDbUL\nmDRL/roTi99zDRqtCGln4DbEaR1b8hW7F4xjbOe0DCYGwaEBoXW++2EL+UHM\nQNUKJQA+/zIlFvnOPy7+6Roxj6OyClApXfxb7iyPsD6CvQZi0x7hu4oSl1iO\nBF9TdWC/ilZnsN83coT6i86su10uWi67V4AS0ihWHZRjsjHJKadFjWMVyVEA\nzNc2TMOVrRRbvOLm3VKIUnuDLfrWVar5ueDSoj+5qEEDmgO8NNPxY4jjqOdU\na5OE/IARxjb6eWq+/dCehYufpvgxL4qVUyJZRuRaBxVi+eVSvoQYAk4DH1vh\nG9oY4IXeIpyGRUYzPs3HShsu4MWt0qWPeytt/KF1OL9spwqIBNu0XOQWXgx8\nWka80h443fQDmsT6ee5wpFfqJbhfz8oCgWL5v/VKCoWT9DhG4+1OH/pTTAE2\nekTMStyoAYyvvy8CSwR3tHGsj8Ii/gRKSKemW3q5K6ucDAru2/c5OTvuUae2\n7P9f\r\n=5vC4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDzfnyjuWdWCAij5zdjoCGT5HX0/3GcDgWr5YAIFSgXRAIgPws1BZ40JbhtVhPMcSfYv/OBCJf+k6HScvr0U0Ng300="}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"alan@passbase.com","name":"passbase-alan"}],"_npmUser":{"name":"ma9o","email":"giovanni@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.0.12_1569491256966_0.7582098215535342"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"1.1.0":{"name":"@passbase/button","version":"1.1.0","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"axios":"^0.19.0","core-js":"3.1.4","downshift":"^3.2.10","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-intl":"^3.1.13","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","rxjs":"^6.5.2"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.4.4","@babel/preset-react":"^7.0.0","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.1.9","@storybook/addon-storyshots":"^5.1.9","@storybook/addon-storyshots-puppeteer":"^5.1.9","@storybook/addon-viewport":"^5.1.9","@storybook/react":"^5.1.9","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.9.0","react-dom":"^16.9.0","react-test-renderer":"^16.8.6","styled-components":"^4.4.0","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.4","webpack-dev-server":"^3.7.2"},"scripts":{"build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:3000'","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.ASSETS_BASE='https://app.passbase.com/' --env.BUTTON_URL='https://app.passbase.com' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","build:npm:prod":"yarn build:prod --config ./.webpack/npm.js && yarn build:prod --config ./.webpack/npm.js --env.react","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual":"jest -c jest.web.json tests/visual/","test-debug:visual":"DEBUG=true yarn test:visual","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:visual && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server --open","start-https":"yarn start --https --cert=./certs/passbase/certificate.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL='http://localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY","start-prod":"yarn start-https --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.ASSETS_BASE='https://localhost:8080/' --env.BUTTON_URL='https://localhost:8080' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:8080'"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"initializeZoomCamera":true}},"_id":"@passbase/button@1.1.0","dist":{"shasum":"362340885f7f262e907b811e836c1cf4ac197df6","integrity":"sha512-BcoLKSCJQ1eHG50ZrxmbITYCMLTqeGJRLPAu+Y9pVzGiAlUv1HWxan4HSpjOV1za/ynLCcQcARJfqNFoW9SAcg==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.1.0.tgz","fileCount":5,"unpackedSize":366977,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdjPFeCRA9TVsSAnZWagAAfOIP/RQS1pVTTcPb4nLLMP5x\nXmBRnPfz5WM8L383xEyNsvxgED/VDNGcsr74VxVG7bG3GHDQCzdioGKsfGHk\nVfT7kJOAA8TeaHFrzxh00vqchwZMuYI5nZnvNdbRsVlq/EqRNXy4S3kV/OzA\nV+U2WNBZVi7unoNFdIMg+VVqmPO5tzEb6kZKHpnea0E6WfVr6NfoLjTLDLAH\nwlYQGYvoKOPjSo1yd+ASVkQ5MNssUeACnSShRKTDwO2nVH9RKpMBX2v04YzN\n9RqLSbGGA2/g+dya4Z+/P0K7sDi6Bp/NlEJqYLkf6EeAVj0VFPv7pdC7oAgk\nsg0GVLnoTBuoEnv4CUBb/jxds63Xo/vEQmrs1zTP310fzzze6OzSh3aUV1g5\ncxoZgKj+XFpXfVjh48EkvU8Wvu1vBXmNeY3X+qZMYJ/42ImpQrNKfesCFVLh\nEBanXUfizDsIqldggmkaLRmfhzpTUZ5Ge41vu+a4Nl4yH85VVgHnHAddNKiB\ns+zX0F0KPRIWVoi6yJ4LP1pQNppjhrTUA+Lnb/VJ0E0V1iVOJYM+VbTwKO1r\n7A82w/3Bv4T7oP8VW/4YET3ZJUOlICqiT8oEGc/xrVdvhya1dyrb/F/pQ92q\nC0sRcFwCW+tkCFOwfjU/yE0OmVd/GRP0G1+lj7ur1gjg7SKE5xtOdW7jKbhG\nV5Zd\r\n=ClOp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQChwct7AfbaSDnweqIQhGAW2qB21A+z8NewasAW4eRsBAIgAvKn3hkpemn14vWAYv5b/q/ZJPtY/8b1qkRGOeD5o6M="}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"alan@passbase.com","name":"passbase-alan"}],"_npmUser":{"name":"ma9o","email":"giovanni@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.1.0_1569517918263_0.7371858954942887"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"1.1.1":{"name":"@passbase/button","version":"1.1.1","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"axios":"^0.19.0","core-js":"3.1.4","downshift":"^3.2.10","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-intl":"^3.1.13","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","rxjs":"^6.5.2"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.4.4","@babel/preset-react":"^7.0.0","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.1.9","@storybook/addon-storyshots":"^5.1.9","@storybook/addon-storyshots-puppeteer":"^5.1.9","@storybook/addon-viewport":"^5.1.9","@storybook/react":"^5.1.9","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.9.0","react-dom":"^16.9.0","react-test-renderer":"^16.8.6","styled-components":"^4.4.0","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.4","webpack-dev-server":"^3.7.2"},"scripts":{"build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:3000'","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.ASSETS_BASE='https://app.passbase.com/' --env.BUTTON_URL='https://app.passbase.com' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","build:npm:prod":"yarn build:prod --config ./.webpack/npm.js && yarn build:prod --config ./.webpack/npm.js --env.react","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual":"jest -c jest.web.json tests/visual/","test-debug:visual":"DEBUG=true yarn test:visual","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:visual && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server --open","start-https":"yarn start --https --cert=./certs/passbase/certificate.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL='http://localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY","start-prod":"yarn start-https --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.ASSETS_BASE='https://localhost:8080/' --env.BUTTON_URL='https://localhost:8080' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:8080'"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"initializeZoomCamera":true}},"_id":"@passbase/button@1.1.1","dist":{"shasum":"6e47ab091e4e48ce10e2cc697ef918185beac00a","integrity":"sha512-GsLXEBSmTX990JuebgkqHiyOCC++SuY9jEUakcqTFSqsCpSqJuYAkRKLPzMVaKVcN2+9S/jDgxVhSAfE+Se9Mg==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.1.1.tgz","fileCount":5,"unpackedSize":339209,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdjhh6CRA9TVsSAnZWagAASTIQAJ/yNNe0vZs3fBAULgjP\n6IvZZWlcYBxxAYXzntLzFPDK4lsNrEGvoitfRWAseqePEqYjmI7etp8cWEzV\nQkKSxs9YoRSrdWrYvISBa0wI9DnEaONAtQUOAPXgogyupm6pqevZWIsLSIcr\nU/JAM3q41rJMDdsXWsSv+vgzuZsPghYPuMtOPwLUpZdeTIFD/m5wXQIcpZ6U\n797l6UKiOfmTRb0UoHovpEcNa163v5hbnxEgCmpLX+qD06h93IKsKOtLWYCJ\njTBksrZWebo/05jgXvs1FVKc+XzJZEZ0HZgQ17DUSR9QSoqw2SMGopgpEZyA\nC1eOUwme2IinYerYkwofUC7/jWc2hL31UNOG0RMds6lnSY34yXfuuYTxWRUv\nfH2WHD3j2pxoJpm+6GkI6BOQgqFY714QVHiepWf1I8JX/P/JB3exWRm/h/IC\nzKIykqcNrkTTiV8Xg8to4XiaL20LaN5WMrTSdWxYZpz6js6jnXruU+o2ehOD\nyxnFTXFp2FhulRqDlSZtTSSIs1eRBZLRSoSNkkFk7sGfSRK7RJRkGpdXgZrr\nAXPsrxf54d6QD/T0gbeoe7oIpcK1XWfmQd9QPbLUfLgRc13LQEurCkz/ux7N\nHnFz4UY26BQjN/k9P9ictLFVyeTfo4iYtgUnmJB+29QMKHDJRt2hdsaAnmP6\nt2qa\r\n=mhRN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8nd5cvB6RKABsVSxdVMry4Q6EPATM7vr7kvWkpuWh9QIhAJhwBlcljFCRupGSEgr/+FveSiR8rCWn4A9JLAZrC1KF"}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"alan@passbase.com","name":"passbase-alan"}],"_npmUser":{"name":"ma9o","email":"giovanni@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.1.1_1569593466019_0.6365783756105996"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"1.1.2":{"name":"@passbase/button","version":"1.1.2","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"axios":"^0.19.0","core-js":"3.1.4","downshift":"^3.2.10","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-intl":"^3.1.13","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","rxjs":"^6.5.2"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.4.4","@babel/preset-react":"^7.0.0","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.1.9","@storybook/addon-storyshots":"^5.1.9","@storybook/addon-storyshots-puppeteer":"^5.1.9","@storybook/addon-viewport":"^5.1.9","@storybook/react":"^5.1.9","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.9.0","react-dom":"^16.9.0","react-test-renderer":"^16.8.6","styled-components":"^4.4.0","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.4","webpack-dev-server":"^3.7.2"},"scripts":{"build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:3000'","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.ASSETS_BASE='https://app.passbase.com/' --env.BUTTON_URL='https://app.passbase.com' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","build:npm:prod":"yarn build:prod --config ./.webpack/npm.js && yarn build:prod --config ./.webpack/npm.js --env.react","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual":"jest -c jest.web.json tests/visual/","test-debug:visual":"DEBUG=true yarn test:visual","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:visual && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server --open","start-https":"yarn start --https --cert=./certs/passbase/certificate.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL='http://localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY","start-prod":"yarn start-https --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.ASSETS_BASE='https://localhost:8080/' --env.BUTTON_URL='https://localhost:8080' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:8080'"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"initializeZoomCamera":true}},"_id":"@passbase/button@1.1.2","dist":{"shasum":"c9f81017357647be72498e14f928b5e179fb5e93","integrity":"sha512-YrlhHAxTs47UxHKimJ++Viuh7j3hvZwfdtt/O4ysm2VvDiirCi76GxhPyPnTXMDfVxVgREZkTxBCYqk5E8jJqg==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.1.2.tgz","fileCount":5,"unpackedSize":339209,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdkx/zCRA9TVsSAnZWagAAWRoP/0QggxTJNNMlD6WkC8Xh\nbcEb4kZLCV8DYHDVver3zLIzjG3RwzuDxF/zGnfbHeIoTbLfNKh2tQ7L+SHh\nzT0GINXWbCuaNWABQNDnsmJvo01InOsQL8EYFqNF88LED9mbo8nokv5YMH6o\nywRaqZdp5YjYu8pCc6PBIOMGM0pNWPmD4v7NcETEDwLNWU4SCfETfIC3NClo\nCOpf7onIJSDpzX+j0FWFzH9W2GndzauNM7YiaEjbQLNzKTU+XTpiqIog1rO6\n7GdrFipfIoJVWHGDNxKY9AsJ4/NvT/fWooIzFim8Uu8DbZ8jdmUuGjIXc/Mv\nB4TIf1/hV9xCX+pMi9BTqIoeK9RnL2Ld8a1t8ysRfSMlVKTMrH4YjwVDlcKp\n2HJz18De5GqaYTdo9nJ5OpDqShPeLmZEV1Novjy1eEm0Ldfq/1hG1Ntxlz3z\nuQgba098Y3uKw7f9qtfVQkmZ/pGOz41YpRV7Hy+c/sVSkIbveaCxHHZIle6R\nMZZaolrpqT5WVMlzMqBxYPe1Es1Ftwpn3VZGKw4L5hfKZDNWAqwR/mrtQ3p6\noWO6JLzKr5FTad7Qn3x1xX5Xgh8+RfFePwCc1L/FwbKhnJ0UXoyfdPgMtXyc\nvdG9f+5fX+xPUV7y3Q00EIV+s9b01GarbNUhlLnmItKJs3++3pF0mmRlQoMn\nOQBS\r\n=Z/6B\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDqsI9Adxv96/mG80MvY65jQUyoCE7yHfCZao+ApQcSrAIhAM4R8gLGpHSSIV/T+pcR4t9FPj2zrgzspvcZbCfia9p/"}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"alan@passbase.com","name":"passbase-alan"}],"_npmUser":{"name":"ma9o","email":"giovanni@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.1.2_1569923058294_0.5785639253766541"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"1.1.3":{"name":"@passbase/button","version":"1.1.3","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"axios":"^0.19.0","core-js":"3.1.4","downshift":"^3.2.10","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-intl":"^3.1.13","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","rxjs":"^6.5.2"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.4.4","@babel/preset-react":"^7.0.0","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.1.9","@storybook/addon-storyshots":"^5.1.9","@storybook/addon-storyshots-puppeteer":"^5.1.9","@storybook/addon-viewport":"^5.1.9","@storybook/react":"^5.1.9","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.9.0","react-dom":"^16.9.0","react-test-renderer":"^16.8.6","styled-components":"^4.4.0","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.4","webpack-dev-server":"^3.7.2"},"scripts":{"build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:3000'","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.ASSETS_BASE='https://app.passbase.com/' --env.BUTTON_URL='https://app.passbase.com' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","build:npm:prod":"yarn build:prod --config ./.webpack/npm.js && yarn build:prod --config ./.webpack/npm.js --env.react","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual":"jest -c jest.web.json tests/visual/","test-debug:visual":"DEBUG=true yarn test:visual","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:visual && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server --open","start-https":"yarn start --https --cert=./certs/passbase/certificate.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL='http://localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.ASSETS_BASE='https://localhost:8080/' --env.BUTTON_URL='https://localhost:8080' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:8080'"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"initializeZoomCamera":true}},"_id":"@passbase/button@1.1.3","dist":{"shasum":"336e917087424250a6c80f74da8347c4ad999644","integrity":"sha512-eHiYv95bkcOjGjv8AN7Sab7rW9d5rZCfovDN++NACPsWdqyHcdIXWNumRv7RTzCDSqf64H38l9PVAKeYxKplgw==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.1.3.tgz","fileCount":5,"unpackedSize":339250,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdlJ8eCRA9TVsSAnZWagAALWoP/RxUiiY0bjz3GWZRcsFz\nMcNXbMjS6WUrUJ8GiR23bhirs9lg4BviGaOOi7vHrDyoom4y3OmB98/KhS2G\nL9V7HQasqtG2MhJN2bIcVW/oBpxKhf8Z5NzEQcad2h8SeJb1NvstflhaSV+E\ns1arNYPXIwWP/CapmqqrANRUfVW8g4G8GoD16fg9eiId3bNK7W79aRLLgPgL\noK+kDfJGsA6i6etk9ZdO5xiYfa5U1FW6vvt0RkL51jjEgoq+TCLyQ8Uzg4IF\nXhsH3TTg1YarTEIckTwsZ7FtO13OqD7o+KNlUSGXKF0IE4jBytDZ8j4or8j6\nCu7BEPn3f0JYPUxvo5Qj2F8kAdcLXHFWTiECbeQ+7aSzsvMYG3PiYgerd+WV\nS+DTqYimivTPH63tEcuz9QYP+VlHfxSSuboxN5g79/Ch1byK7GnInZKCIZhJ\nahDFflKydnGGzlr4WzhJT9fwavxMGDoiW5xXerBaSy7ERf7WuIVFRr9dENhE\nqvR/hFLyMAg3uwWPlxuVR2rKxXtsoZGYhhgxLZ+PO0Fm4Ce4dCelyWLDv8Zl\nH/WjxgyefsgXVVNx3gvm8IKE+P8xvCYvCX6MOLw0w5Fitks8iTGzV+tG7hWX\nsfXtyCzAT1vaFOczIyq4X/GsQtoNhC8QxsRZJKbR6HV//dpH2piZDZMBkl4h\n28c9\r\n=u20I\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFymSvfMa7otyliHsHTq/n8t9N5LeoCGla/6nUy0zEwGAiEA1//F38TA0PAHMQ59T7g5y1bBO+LQD3SES2kXZQ04d/w="}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"alan@passbase.com","name":"passbase-alan"}],"_npmUser":{"name":"ma9o","email":"giovanni@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.1.3_1570021149532_0.7686905034475557"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"1.1.5":{"name":"@passbase/button","version":"1.1.5","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"axios":"^0.19.0","core-js":"3.1.4","downshift":"^3.2.10","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-intl":"^3.1.13","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","rxjs":"^6.5.2"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.4.4","@babel/preset-react":"^7.0.0","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.1.9","@storybook/addon-storyshots":"^5.1.9","@storybook/addon-storyshots-puppeteer":"^5.1.9","@storybook/addon-viewport":"^5.1.9","@storybook/react":"^5.1.9","@svgr/cli":"^4.3.3","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.9.0","react-dom":"^16.9.0","react-test-renderer":"^16.8.6","styled-components":"^4.4.0","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.4","webpack-dev-server":"^3.7.2"},"scripts":{"build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:3000'","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.ASSETS_BASE='https://app.passbase.com/' --env.BUTTON_URL='https://app.passbase.com' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","build:npm:prod":"yarn build:prod --config ./.webpack/npm.js && yarn build:prod --config ./.webpack/npm.js --env.react","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual":"jest -c jest.web.json tests/visual/","test-debug:visual":"DEBUG=true yarn test:visual","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:visual && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server --open","start-https":"yarn start --https --cert=./certs/passbase/certificate.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL='http://localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.ASSETS_BASE='https://localhost:8080/' --env.BUTTON_URL='https://localhost:8080' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:8080'"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"initializeZoomCamera":true}},"_id":"@passbase/button@1.1.5","dist":{"shasum":"15aec398274917ed6b6f6204f8870e9cd3e16509","integrity":"sha512-Nvtaaw+8AC+oXdrWymnOlqbOQdh3XIr1GfFR5jnfkoYrQjoBQSIOwJGyTTTgQgBOra3NSvhYpDiLiIIljh04rg==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.1.5.tgz","fileCount":5,"unpackedSize":367533,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnE/ECRA9TVsSAnZWagAAn1EP/j50Os+3qB9/hBiIeu8O\nhfjd6sgBNQpKQVu1Hhi+h/vqNu2YsWpZqBU5ltaWR0Gb0XWH+o0lDFUMyK1i\nT2bYkruadHkQUVPbjustyR7jUc0yURZRaJSvfvBs9ZmdY95CPIAZ/iV/TiI2\nbDRJzExN9PhDxgDWaC+kQf0yJiMqJLim1/pKP+kB+OOWtYkZZnjkH1SMeCfI\nszUzvpesGDyO3wVHDCYjhm1IqaFFsqxkPjIf+cK/hZSHkgs6Z96ofKQDGGXI\nXc6wri9OW2YiGo/VyI///ltTP+C+x1a8idWyI10hdZ9/mcSWWkKCjXylsehe\nXTAm5c7yWQWotRbM0tlNt/c9mmW/N/hGl+3+uSB2PcNS6o+W5Qjmks6iWgG3\nFd9vM1QkwFgNw7Ekiv4et2fmSP6L8z4oAt3mhcR+8wVNEd4wR7JpANYqDbfV\n4Zn2to8VSxI5J94GmcFtO63mcYEb9S4u5G2pxN82Lh7ndEUYxi3QWRlaknBV\n27XLQOqxd6YUnmtvs7AAnyQrZGn2w3pFFESVypv77Rbd0n7B69lIIsWV01Jl\nrgiKH+w3nDAuxaAn6IFIHqqKz+nYTh/PVEFAsh5paqG9g+UXP6jjA3VfhO9Q\nG+rni/nnPY9JJrXSEzgwcl3sBii9Z6i+s1EJwI11kGKUeWkL/6k/jThAlXNR\n+Yua\r\n=dsdZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDGFUx+fqJdIxY6KN85DmoX6xC0sXU2wt6JwhSf+FLF3AiBS1Mt2SZlkG6tcCVKIqWioXpAisv382zEn73GlBl3qKA=="}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"alan@passbase.com","name":"passbase-alan"}],"_npmUser":{"name":"ma9o","email":"giovanni@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.1.5_1570525123549_0.09733834579746281"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"1.1.6":{"name":"@passbase/button","version":"1.1.6","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"axios":"^0.19.0","core-js":"3.1.4","downshift":"^3.2.10","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-intl":"^3.1.13","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","rxjs":"^6.5.2"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.4.4","@babel/preset-react":"^7.0.0","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.1.9","@storybook/addon-storyshots":"^5.1.9","@storybook/addon-storyshots-puppeteer":"^5.1.9","@storybook/addon-viewport":"^5.1.9","@storybook/react":"^5.1.9","@svgr/cli":"^4.3.3","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.9.0","react-dom":"^16.9.0","react-test-renderer":"^16.8.6","styled-components":"^4.4.0","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.4","webpack-dev-server":"^3.7.2"},"scripts":{"build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:3000'","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.ASSETS_BASE='https://app.passbase.com/' --env.BUTTON_URL='https://app.passbase.com' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","build:npm:prod":"yarn build:prod --config ./.webpack/npm.js && yarn build:prod --config ./.webpack/npm.js --env.react","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual":"jest -c jest.web.json tests/visual/","test-debug:visual":"DEBUG=true yarn test:visual","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:visual && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open","start-https":"yarn start --https --cert=./certs/passbase/certificate.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL='http://localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.ASSETS_BASE='https://localhost:8080/' --env.BUTTON_URL='https://localhost:8080' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:8080'"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"initializeZoomCamera":true}},"_id":"@passbase/button@1.1.6","dist":{"shasum":"2746ee0c48fb27a9b767a18a09daad6193948f73","integrity":"sha512-RVSzAPVByuycGt3HewpzwgGlFNaBsZLjDLbIOr7gg36949PaFtFj3PXC8H5O8Dx5FBitqJx7zlszqLdiSS+EnA==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.1.6.tgz","fileCount":5,"unpackedSize":1338986,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqY/PCRA9TVsSAnZWagAATksP/1A5xm5JqVHyJsSdU3Bz\nQzeTIY9Hq+b9cuVln6Yq5PvcvUhDH3lZ+4+9EsKcUSPiAdx+vb099ohiwUw5\nu2ETiUr5A1n4CtXhAioXdSPSj60WMmZnvdzzLe2JMPU+bZxSYgb9f5B2RErO\nAB0KQ5se538smW8Y544KIILmckMMl55EGlUf0/w/NvdMIBJzei2WhE4LxED8\nC1sOevUXyY23wYxFvWLI42lWc1vR2nDsNEkI5qvXLRlqHpWAeaYJNE1Sy0Jy\nXg70NK2yCT7zOSm5pG12TN1eGClE/UpLHfnt79apRzCN2GAvZkdZvzZHaD7k\n0WUp60jDt9Lq6hLJez8bWjTzBmKhi57JlKqFmE4ooOeU9zpr4U+GtR06f0bT\nsUjIff5fYjjwQKyccChUNvqdVSroHlNfqvbPxVrtEcR+LI1So+wQi9PKShCc\npnFLVevDnHVJiNETjuKNg6pTTSTgzYDiuNnrHdRZNvBRfgYG6Qe8seX3SUf0\ncBekDcV02sAAEVqGxNSziVxRSVWf5dLJQOb8RRV2/WvzTZZKMJOz0bjZcR2c\n4qZ/sLBl0s2Uuuw9UAds+vcaZLkp/K+Ysutr+wsOEm23ZGOL/WO4hzuFB9Yv\nbFmvak+BoKEGOfpfJV0EaAHdAZU/BSZpRrwYQzK5a/x2d/ul/Tf0aEXLbA/k\nb9Ux\r\n=QOst\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxvgMDA5x0BpRfyWj+J4zezID8y250YAJUYTiv9K07BAIhAKeoxFUBYJjsWVArsWbqSdqoiXTH42wk67vkhutHRTgh"}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"alan@passbase.com","name":"passbase-alan"}],"_npmUser":{"name":"passbase-alan","email":"alan@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.1.6_1571393486671_0.5638121009319035"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"1.1.7":{"name":"@passbase/button","version":"1.1.7","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"axios":"^0.19.0","core-js":"3.1.4","downshift":"^3.2.10","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-intl":"^3.1.13","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","rxjs":"^6.5.2"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.4.4","@babel/preset-react":"^7.0.0","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.1.9","@storybook/addon-storyshots":"^5.1.9","@storybook/addon-storyshots-puppeteer":"^5.1.9","@storybook/addon-viewport":"^5.1.9","@storybook/react":"^5.1.9","@svgr/cli":"^4.3.3","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.10.2","react-test-renderer":"^16.8.6","styled-components":"^4.4.0","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.4","webpack-dev-server":"^3.7.2"},"scripts":{"build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:3000'","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.ASSETS_BASE='https://app.passbase.com/' --env.BUTTON_URL='https://app.passbase.com' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","build:npm:prod":"yarn build:prod --config ./.webpack/npm.js && yarn build:prod --config ./.webpack/npm.js --env.react","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual":"jest -c jest.web.json tests/visual/","test-debug:visual":"DEBUG=true yarn test:visual","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:visual && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open","start-https":"yarn start --https --cert=./certs/passbase/certificate.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL='http://localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.ASSETS_BASE='https://localhost:8080/' --env.BUTTON_URL='https://localhost:8080' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:8080'"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"initializeZoomCamera":true}},"_id":"@passbase/button@1.1.7","dist":{"shasum":"645ab261ad5616bb386792f5a88b6060793368dc","integrity":"sha512-WxtrJItaXzTimKyPI3gsnFKkBUa2uqGp0MNeeuSYMNQoXwkICWjVT+aIBbuvNNv8jz94Vu+qXFHw5RIbzsqVvQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.1.7.tgz","fileCount":5,"unpackedSize":1346771,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduXL+CRA9TVsSAnZWagAAltoP+wabKIT6C1Ljd6ktHSZm\nNxDYGFts+tV/D/80T65QghAKWGOCg62HZKQHYU+poagIrazFjSu2wuh95iIl\nB0/jkyK7VdWOpGhM5nG+9gVDAfrQXE9XpYaz07TdGL5lkKtJYRKK2EinFzyi\n153hh6kgktunrvMOHSTch3AmQz9Kg66ZfOMGvh3vTW5VXLCgMJ8PBL1lgXAu\ngxVZwwhBPFOv0tmzRLtTiUwW+JYcUCtgahwKoMlIB4/AAsC56q+E+WSEjZhj\noHp4ianyrN32RhecrpNuJSmDDTsa9+2pPV9MwxmbFdrKb8u/8D8OsilVcQPC\nvWeJesMEXJmYa+yo8o3lUuVXuKiLE8HfWS/wx3ZsrJ4EEct75BB/0thJD/yg\nsFOpOz598/9bwqQ26bGz6uTj1gOO6eV0Tbp/u9a3LaduFyTvPYMjgdevTjn+\nmrBLwdz1L6j6kC+xbyiEuklo81B90oWDRJN1QTGBv/ODamzb1vq9FPecgXBD\nQwR5RnMNxgf/A1Jf/dgPjReme4L0eGA1vLkIW9lDl7ztLUW/GjZGKUkWG4Q8\nCQsTNj/kpkQ73cw0BtWS8Uh+pZmV2ozsngkHVsHcLApRfYTQwiiDEVTu/5ou\nc2O1mizP2eZIIugxy280Wer/m/ZQ9r4tZrWomqsKfo/xPfOi8MPxaA93JfxN\nrxQA\r\n=NvNt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAfhkC3wlrYtO7jp/DLhLDwpwtXpMHAIbJM0cvsTsaNwAiBu8NsxnA/0VdPgxIUD3VaOAGR3xlrNf2RzwLbpISKwzQ=="}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"alan@passbase.com","name":"passbase-alan"}],"_npmUser":{"name":"ma9o","email":"giovanni@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.1.7_1572434686388_0.3517932816422573"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"1.1.8":{"name":"@passbase/button","version":"1.1.8","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"axios":"^0.19.0","core-js":"3.1.4","downshift":"^3.2.10","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-intl":"^3.1.13","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","rxjs":"^6.5.2"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.4.4","@babel/preset-react":"^7.0.0","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.1.9","@storybook/addon-storyshots":"^5.1.9","@storybook/addon-storyshots-puppeteer":"^5.1.9","@storybook/addon-viewport":"^5.1.9","@storybook/react":"^5.1.9","@svgr/cli":"^4.3.3","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.10.2","react-test-renderer":"^16.8.6","styled-components":"^4.4.0","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.4","webpack-dev-server":"^3.7.2"},"scripts":{"build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:3000'","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.ASSETS_BASE='https://app.passbase.com/' --env.BUTTON_URL='https://app.passbase.com' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","build:npm:prod":"yarn build:prod --config ./.webpack/npm.js && yarn build:prod --config ./.webpack/npm.js --env.react","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual":"jest -c jest.web.json tests/visual/","test-debug:visual":"DEBUG=true yarn test:visual","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:visual && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host 0.0.0.0","start-https":"yarn start --https --cert=./certs/passbase/certificate.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL='http://localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.ASSETS_BASE='https://0.0.0.0:8080/' --env.BUTTON_URL='https://0.0.0.0:8080' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:8080'"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"initializeZoomCamera":true}},"_id":"@passbase/button@1.1.8","dist":{"shasum":"7b218189bdc88cdca274b4c54df5542a8fab5254","integrity":"sha512-5Elrs1JRMI8yks2upWCDys1dPS7WLHyVvZPmsFmRDUJz1dRt8gMkZahi1XXzutD6QFnYMO077aaa8ohFTXC0xA==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.1.8.tgz","fileCount":5,"unpackedSize":1346846,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduXo1CRA9TVsSAnZWagAAp8UP/j1scWTvSkGmK0eC2fA5\nceRgW//pWZbQ2kUJVOAmGGTEfFW7jF44hkBVhI5/cN8pd6kYxslaA3gy9bQH\naFPiLs44Tmp3xr12xoHwalwO4sZkd79lB4JvY8qgibWy6z0O/4unNXtH+MlQ\nvzJeRjfTiYeHbVEYVYioMjuqFyUlxBbutnsUiciO8SQVq3eYLzPhng7oY8ZC\ndPA4Ok6nXkyd9+bEJ/3wTZSSfghx6bjXdbRnZkFveKp4VfND91tqCjSpvo5g\nzU9GAYvC61RX+uNq8rhUCD4JaWv4l3F69Ax6Cvz2Ncf69GKjoXuklGKQZgkM\nGtBTEZKquWHl7R5+Zy5JKgJtfIZELZiSjcZcaBVzqID+dccZreVCbVGOERYY\nuG2zeDQ3s6YoC95nYznInuT3bF33rnYYcKBc9jeK8n5y7/adoAmExmH0QaCT\nBYwGqv/MjUUyWAUoQaPlaFyG05HfjN97sGA+q6C8hGepO1Noq8gmUZd51RSU\ne+NDFLO1kVSjqZmcjPv8SdOMQ10sUBuiDGCbyDlgyCi1bV2e77ofHNDaRs1v\nprUyR/wgNRaFX/a5+FyM1ZqmPA4hGkYMdd2dl/Y3yY+ezpA3MWLAjWZ9a4Cs\nz3JxwJAxno9fcSmGeEyvIeqIWVgUcjgTsYSCWbp5Y7CxIZqxVDjhEaaovqD2\nxM/s\r\n=uksU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFB+KJMlh5RofdAQ5E50Hw0pGVX5ppHWUKFgo74/6vuuAiEA8cLtKfKul/vp7z747HZoYx0WWigdSblPouINgyp/L4A="}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"alan@passbase.com","name":"passbase-alan"}],"_npmUser":{"name":"ma9o","email":"giovanni@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.1.8_1572436533453_0.7170072890152599"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"1.1.9":{"name":"@passbase/button","version":"1.1.9","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.1.4","downshift":"^3.2.10","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-intl":"^3.1.13","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","rxjs":"^6.5.2"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.4.4","@babel/preset-react":"^7.0.0","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.1.9","@storybook/addon-storyshots":"^5.1.9","@storybook/addon-storyshots-puppeteer":"^5.1.9","@storybook/addon-viewport":"^5.1.9","@storybook/react":"^5.1.9","@svgr/cli":"^4.3.3","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.10.2","react-test-renderer":"^16.8.6","styled-components":"^4.4.0","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.4","webpack-dev-server":"^3.7.2"},"scripts":{"build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:3000'","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.ASSETS_BASE='https://app.passbase.com/' --env.BUTTON_URL='https://app.passbase.com' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","build:npm:prod":"yarn build:prod --config ./.webpack/npm.js && yarn build:prod --config ./.webpack/npm.js --env.react","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual":"jest -c jest.web.json tests/visual/","test-debug:visual":"DEBUG=true yarn test:visual","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:visual && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host 0.0.0.0","start-https":"yarn start --https --cert=./certs/passbase/certificate.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL='http://localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.ASSETS_BASE='https://0.0.0.0:8080/' --env.BUTTON_URL='https://0.0.0.0:8080' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:8080'"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"initializeZoomCamera":true}},"_id":"@passbase/button@1.1.9","dist":{"shasum":"2c8a995e5bf37fe4570dd7fb08ec51522303d7f4","integrity":"sha512-P1qWY4OkmAfapAqKTWd1vwiFQiHgo3pfASGTgArqYEDA9YLyMNyzDnTFL8XQPmYAxk+XQay90R7I/8rt89DOXQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.1.9.tgz","fileCount":5,"unpackedSize":2185308,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzsqDCRA9TVsSAnZWagAAUV4P/i0hPNZHcRFVnMrAU8i5\nnwI9Hx1/W47fRSP2f8yV2EiHw6NI0ZS0gu5hUvUcoUigq+jGViw+w67Nt36c\n51VImU8zG1/LFNZqeTijLE0Qe1Xi3YEqzkpUZS0Mej9e6bpZrr3ODk5OwdI8\nkbITFvHnzPaS3n6T6TEJ+aU4oCbXhlskL0Z6OndyP8Shxyo5O+mTZZaBzyf3\nXnDdehj4Mx5tCfEIg6ksIIrjrrjK/MgzfgkmZYGS/K37y4jcp6UiL1U+5cpr\nf3CgySFzA8v9FkryBgFm4D9Wl6/Tl1S+xurKaXBVoB3xdLtlwidzP7j5xnAT\np+hPKVt0qmeNRaYNJOdmyaFuQl4EOb7phcfF3J8ulbG7Ks0O8HidRu0VqNcy\ntxdpzJRU9i6ZBCplsFie+c9zC2XyHXdCTnUxO8B5A1I0NZkDprBK44d7ZUz7\nyPunO7EFNFabS625RCo4dIllrM+2SKQbKbymDJP7M+yOwHblBoe+P0giVovD\nA/ECV5yw5Jxu4Ok7jCKmBJBJVCK/gq9HAdxwgX6KhRf13z0WL7SbdRXyJhxr\nLB9QBgqzL/fvPRkvLwnBlwKi02xMQAdQBXo4ADTOqcy12emrSAuXQYrwluH/\nd/KQPk+2Izg2jAm4KzpJ1ZclSJ+ahJNlIIF6y5yVIqmPw/sHS6oB8EsqFTdE\nxTho\r\n=pPfZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFaQ5RJHuQGjQ8rVsNjP6gYtR7Vh6mzM5Ln2PMycITAAIhAI6DHXcAEgOD1FUULI9vI3wKju3cqSIhTjB+uSjpL5rX"}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"alan@passbase.com","name":"passbase-alan"}],"_npmUser":{"name":"ma9o","email":"giovanni@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.1.9_1573833346948_0.14911598284378447"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"1.2.1":{"name":"@passbase/button","version":"1.2.1","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^3.4.1","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-intl":"^3.1.13","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.4.4","@babel/preset-react":"^7.0.0","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.10.2","react-test-renderer":"^16.8.6","styled-components":"^4.4.0","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.4","webpack-dev-server":"^3.7.2"},"scripts":{"build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:3000'","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.ASSETS_BASE=/ --env.BUTTON_URL='https://app.passbase.com' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","build:npm:prod":"yarn build:prod --config ./.webpack/npm.js && yarn build:prod --config ./.webpack/npm.js --env.react","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual":"jest -c jest.web.json tests/visual/","test-debug:visual":"DEBUG=true yarn test:visual","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:visual && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host 0.0.0.0","start-https":"yarn start --https --cert=./certs/passbase/certificate.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL='http://localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/certificate.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL='https://localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.ASSETS_BASE='https://0.0.0.0:8080/' --env.BUTTON_URL='https://0.0.0.0:8080' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:8080'"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"initializeZoomCamera":true}},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at At [Passbase doc website](https://passbase.com/docs).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, cb, apiKey, (options = {}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**cb**: The callback which will be called on completion, (error, authKey, additionalAttributes) => void  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**additionalAttributes**: an object containing attributes that will be stored and retrieved.  \n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**font**: a string defining the font\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinished={(error, authKey, additionalAttributes) => {}}\n  additionalAttributes={{\n    customer_user_id: \"\",\n    another_attribute: \"\"\n  }}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\"\n  }}\n/>;\n```\n\n**onFinished**: The callback which will be called on completion, (error, authKey, additionalAttributes) => void  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**additionalAttributes**: _not required_ - an object containing attributes that will be stored and retrieved.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**font**: a string defining the font\n","_id":"@passbase/button@1.2.1","dist":{"shasum":"a28716914656545c141b5e563eaf011326dbd52f","integrity":"sha512-sDIZvjMc4/yUNT6JaRW6odup2R88RJoYVbaOQv2A9RkHqIHqId+Ez+PgWrPs8YkYK1PfPXPFfWTjbHk9HlBLPA==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.2.1.tgz","fileCount":5,"unpackedSize":1802634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd4QD8CRA9TVsSAnZWagAA/CUP/1Rh4JL5i9YqpLIBrh5P\nDZICh2tOW+qQC/aqm6khi+PFLFq7KBM1pzR2pVRkHDIg/E9MqDnA6ODAgs8B\nOD+OaSOgnWixIPpfj+DiiDfzT8tz4f23SgTgA0sTM/EzOFRbmhYYZz+nlegp\na69nZegdbuPTCLf8NdfjqmF7XHVvg5tHfaZpfdoCXCp/bekMI0EXuXIHcT+G\new2p4JSI+P6bft7Bs1eFSLvb/0FaJtOIS2ATcjXX5KGuYXl4fKJR1VUZ+vK9\nSK7h+uX4Ie34wopdZZCwJoHAzN0ZEoka1W2U8QsbI6fcFx2Rlb7pY+NBg3nX\n7JxpjtZZz8eiTM1nEf0GYVEj25+RJfgFqK1Ml2o2OyAkSmHh6zqyR+4WtHWS\nbbXI2nOVpaf9yBmG1+MTXsFlIeYMc7uktyOUYhWLW7gzQEDlmNTINFt2b/uM\nvA5nheFFjlMX5aiYl+iTMuECxPrnYiZv5tO/DD2mseKdtwD2OGqQp4GQ93t9\nig5FEOp8mEsJGcRkLjv30f3ReH3hXRB81eOc+ysQU7jzwnfvdnmRmpf7bDQn\n3Lle5byax3oNdqqcG6R0op7P4BjKmi08ssDgs7774O82gaBZooJWhkQ0GxpE\nwBafp482L9nZE6dHIX7r+sM/rsnALGWajBmV0ArBCyABgZR4IxTtleV1BR9a\noS+H\r\n=7hbe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCuplG+N8U9nqy8R3w15BbnOs9lQ/aumgltp9Mum41XgQIgFr56dbfFqK8QVk3yAXrjuAX7jHzS3TbzRXET2JipU1o="}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"alan@passbase.com","name":"passbase-alan"}],"_npmUser":{"name":"ma9o","email":"giovanni@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.2.1_1575026940076_0.5600729134861151"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"1.2.2":{"name":"@passbase/button","version":"1.2.2","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^3.4.1","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-intl":"^3.1.13","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.4.4","@babel/preset-react":"^7.0.0","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.10.2","react-test-renderer":"^16.8.6","styled-components":"^4.4.0","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.4","webpack-dev-server":"^3.7.2"},"scripts":{"build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:3000'","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.ASSETS_BASE=/ --env.BUTTON_URL='https://app.passbase.com' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","build:npm:prod":"yarn build:prod --config ./.webpack/npm.js && yarn build:prod --config ./.webpack/npm.js --env.react","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual":"jest -c jest.web.json tests/visual/","test-debug:visual":"DEBUG=true yarn test:visual","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:visual && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host 0.0.0.0","start-https":"yarn start --https --cert=./certs/passbase/certificate.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL='http://localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/certificate.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.BUTTON_URL='https://localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.ASSETS_BASE='https://0.0.0.0:8080/' --env.BUTTON_URL='https://0.0.0.0:8080' --env.IFRAME_ROUTE='/iframe_container.html' --env.PASSBASE_BACK_END app.passbase.com","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACK_END localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.ASSETS_BASE=/ --env.BUTTON_URL='https://localhost:8080'"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"initializeZoomCamera":true}},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at At [Passbase doc website](https://passbase.com/docs).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, cb, apiKey, (options = {}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**cb**: The callback which will be called on completion, (error, authKey, additionalAttributes) => void  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**additionalAttributes**: an object containing attributes that will be stored and retrieved.  \n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**font**: a string defining the font\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinished={(error, authKey, additionalAttributes) => {}}\n  additionalAttributes={{\n    customer_user_id: \"\",\n    another_attribute: \"\"\n  }}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\"\n  }}\n/>;\n```\n\n**onFinished**: The callback which will be called on completion, (error, authKey, additionalAttributes) => void  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**additionalAttributes**: _not required_ - an object containing attributes that will be stored and retrieved.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**font**: a string defining the font\n","_id":"@passbase/button@1.2.2","dist":{"shasum":"6fa1aa49803ea9cfca70dbc311996dd8897143b9","integrity":"sha512-qzL9sLB/4TZN618zxfoXJdioGeOmCXmgQZzHQADuoGO9rEL+wrlQ3UU8kwB+bqKAZprrItV6Rgw847V1Cnmrkw==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.2.2.tgz","fileCount":5,"unpackedSize":1802634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd4QKtCRA9TVsSAnZWagAAqTYP/1PP+Boz/H2YgQTCH+Mz\n+XFOYLJ0RM1egJ6NdlsJeptEWKKz/7ABnN3T4pbhTMEcsUjtF9wbdrH/UHye\ntXts0mwPRE2ABzNcClJomdaKZtEXvpEiBnftYa2rIQJqscfSQ55BtZ3oSDfS\ntHbYfJ6NKsts01bg/jjc9OSeLQurK3NzYfzNXME6aOSXI3YZpmjmd79ymeWX\nCPDYjTf30WfzQs/YkwyVUEc1Qz8VLIxReuTMQeF6E0bA3vapWH001OdGtjRR\niKbdi3lfhsdmjKyk+susr+bGUMWge6UzGqKQf4Dh0bGvdA9is5lL5nyZ214f\nzs+VIw31xLoDa1gvd++UDEdBDncIUXWwLcteUyrbbHCYb+1bKb8V563pdaCm\n63zqDcKB5hpkiIdrAHbFM3NxaSgMkjz8vImOrkz7BnblxAbLHnzGSpzqyUDf\nTA7HJJXo19+DliyWTNvbvBeaoGNrtYTEmZslpyY+73aXx+2qt1NizNDsyB36\nMLrU7P+Q82HQ1DdNxZevgoiILwCt43pf6jnPxB2tWPy7aSBKZjcwyTzuVLv9\n09KHLYvOVi84GNKeSbXsllNPpZF3c2tG/m+0AYJcFEeY5o7sE8DZcdRpY6Gu\nHx+Xqbtw1Zrt6e5DO/F3sanDkELDizqzszduIKha3GSWpY6qVicTvxkqSupP\n5tuN\r\n=HwCg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBPjh4oKd2GK5t44pPhs32yhVINuB/J3d2aVGeaXWtqsAiAB5qgNEd/mtE4847zmXjgOnqeHgamsbfB62N81cb1TtA=="}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"alan@passbase.com","name":"passbase-alan"}],"_npmUser":{"name":"ma9o","email":"giovanni@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.2.2_1575027372863_0.7153211083978863"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"1.4.0":{"name":"@passbase/button","version":"1.4.0","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^3.4.1","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^0.2.4","ts-loader":"^6.2.1","typescript":"^3.7.2"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.4.4","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.12.0","react-test-renderer":"^16.8.6","styled-components":"^4.4.0","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html' --env.PASSBASE_BACKEND app.passbase.com","build:npm:prod":"yarn build:prod --config ./.webpack/npm.js && yarn build:prod --config ./.webpack/npm.js --env.react","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual/","test:visual:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest yarn test:visual","test-debug:visual":"DEBUG=true yarn test:visual","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:visual && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html' --env.PASSBASE_BACKEND app.passbase.com","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"$":true,"initializeZoomCamera":true}},"_id":"@passbase/button@1.4.0","dist":{"shasum":"b5dae41b9b6aa696b1c6a03411e9480378ecada0","integrity":"sha512-GDhm4tAK9QW0743ouNIQ0outbvV2pNdkQfUkGyL7uszfBFlfEGyOLaDjORQwQnrfxS+eQ4V3Jqijz3UmQyzfaA==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.4.0.tgz","fileCount":5,"unpackedSize":2092868,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+2kFCRA9TVsSAnZWagAAn70QAJi7Bd717gzdf7DCWcy4\nVCdqtkdr+AgLeQMBkGR7ndWtykiSd4d7FzIMalQsrvFRqqTO3PlOrdxxlw+T\nuIG8ynRKgJMPXHVjgtpLyO2T1hCOBhPA9L/0CyL91yo4Z0u2xmLFsILXpiUq\n3fJawKa0St+j1P/goWM4VsQs2QY0wB+8gSQqkQ8PIiYXCo5ljHxueIYcvSPt\nEgYH81ZxLnzeLm5N6/9SWaRpFKIS5h8BVJTP4oMuRjJyNM30eFFs2vXBB0me\nWeH4p7+qXbu/uw96TyYgf1sVcaClfoK+9kOuFsLjzjp+/3vJjgjT9J+RYX6/\njdfrwuBNk8OY6fXvc/O7n3vERxPGTeggvbYc8g7nM+cuE3vw3dGmyvxlffCn\n7ISY5/EYOUni9441fYYq0CLQ7bv5GzhYuBjDDqmGjkc43R/QP1lA5AIvjcgF\nddQXeWGlA0Spf3CpBIU8EONe+jCdr1cIbLub5kKmyDwMqERWbCXtmjXgW/ks\n6tfJTY5B7KcFJ9B0o2Y73L26tXldJHYIvCcTT1o3ZunEeTje3PsnhhQAIPCl\n7fKmUErfAfCYTurwF1RNow1KFi0eUqSHaaO46iilrKnNlY5qZY+1N6gK3SJq\nt0rb1gEoBuvWPdHAMxICgYrRnjBKL2gfWsn6W89Ipz+VKAEFwmqSXNk0Rucd\nlRsf\r\n=F/J2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDc7P2ySuoGO/UjTgC021G0WutjfygcklL4yuLK9NErCQIgLaFr314kWAeq2Pdga8I5qcbwPR/MifRPi5gYQFqB0Pw="}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"kamran.khankhail@gmail.com","name":"kamrankhankhail"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"mathias@passbase.com","name":"mathiasklenk"},{"email":"alan@passbase.com","name":"passbase-alan"}],"_npmUser":{"name":"ma9o","email":"giovanni@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.4.0_1576757509050_0.5236658288250857"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"1.4.1":{"name":"@passbase/button","version":"1.4.1","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^3.4.1","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^0.2.4","ts-loader":"^6.2.1","typescript":"^3.7.2"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.4.4","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.12.0","react-test-renderer":"^16.8.6","styled-components":"^4.4.0","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html' --env.PASSBASE_BACKEND app.passbase.com","build:npm:prod":"yarn build:prod --config ./.webpack/npm.js && yarn build:prod --config ./.webpack/npm.js --env.react","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual/","test:visual:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest yarn test:visual","test-debug:visual":"DEBUG=true yarn test:visual","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:visual && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html' --env.PASSBASE_BACKEND app.passbase.com","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"$":true,"initializeZoomCamera":true}},"_id":"@passbase/button@1.4.1","dist":{"shasum":"3fe54e92c982de0f07f169c17076462e8fd80c6f","integrity":"sha512-6LYuAbmr6KbJYLsNX1loWEa/GItFgKK3baGX6S+TKFicecwkBLHrDP/tAc/8EUI4y8Mf1kjy1/Nn5zUfNkZjng==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.4.1.tgz","fileCount":5,"unpackedSize":2092872,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+2ogCRA9TVsSAnZWagAA2EIP/R8sfMcnn8jCwm9rddxs\n6N2R7v1I7B3bLWGht0MRo5jlrRTlYLcVxEplf8dcx8I8wsyB275G6vfP4DiN\nRmOVoGQKaEVG/Q3W6j2Jpf1BZqpFUcnxDDwkX47y+6AX+UokCLmoXESHyvhf\ninrFo+X/HVwkdjxL0DwVC5A2nh0bQUbmjyqc8U0+vYHqTp2Kiy1zl/sYpENH\nEEIcoK9aRrV3khg+J7qeQG348hvgUwzp43xCYfBZEbbogeHH7MYZpmPYHDAD\nRrrdl5GN9q92btT+2k5qksEFTGU3FOC0VPzfnQtuu5GUkW/gRB9+oXYHgZJQ\n08aXTWPKf3KMweHoc8Uar8dZiPFurm+rMwEDHE4ooAWzON0k1Vkz94hMgXU0\n9PT0Ka1xoMq4H632rgQHOkmuS2FxIIr2vzKUa1fbR7N4s5HpEJ95sv+hh074\nL1/GVtLWSHHfu5X2pADkviIharV2v56cKKTZPP0k7Vg4+xEiNChJ9dhFyDgG\nkmSikWKhrsbWGlEB5eanYQvYfv3yjM9Rh7HB2AEEEWSrVUbSPuHRHU0S5sG9\n8h7r77F4pKeB10HhN0Un2kClXAJnAANFETujXMRMcwuUGLMR/7am4Mo2du23\nv9qDZwyj0vnubHYtdSyUaCAUSISCSB4W+uNHn2FozntZi1JwolYvVoJYq0dr\nsMsb\r\n=3mqr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGcJpsM8L3/vLKGxCtdZck+6L0ptnaEQh7IR4sorE/59AiBhuoj+8YfiBNevFmrf6LAh8Il+VPr64uhV4FJjbWakMw=="}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"kamran.khankhail@gmail.com","name":"kamrankhankhail"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"mathias@passbase.com","name":"mathiasklenk"},{"email":"alan@passbase.com","name":"passbase-alan"}],"_npmUser":{"name":"ma9o","email":"giovanni@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.4.1_1576757792378_0.05317989977523685"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"1.4.14":{"name":"@passbase/button","version":"1.4.14","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@types/amplitude-js":"^4.4.5","@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^3.4.6","amplitude-js":"^5.8.0","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^3.4.1","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^0.2.4","ts-loader":"^6.2.1","typescript":"^3.7.2","uuid":"^3.3.3"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.4.4","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.12.0","react-test-renderer":"^16.8.6","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html' --env.PASSBASE_BACKEND app.passbase.com","build:npm:prod":"yarn build:prod --config ./.webpack/npm.js && yarn build:prod --config ./.webpack/npm.js --env.react","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual/","test:visual:dark-mode":"mkdir tests/visual_dark_mode; cp tests/visual/storyshot-puppeteer.test.js tests/visual_dark_mode && DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mode","test:visual:dark-mode:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mode_mobile","test:visual:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_mobile","test:visual:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest yarn test:visual","test-debug:visual":"DEBUG=true yarn test:visual","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:visual && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html' --env.PASSBASE_BACKEND app.passbase.com","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"$":true,"initializeZoomCamera":true}},"_id":"@passbase/button@1.4.14","dist":{"shasum":"28897daf93ea018c218cc79d52274710b3349773","integrity":"sha512-AMAoWntV44eyM2jX8TlqPuVnKlcUFwo+5jfnbZhC3cMvBBz6ZdC7N51SP9G0ttdVCp1oZWKkmD9N4ZjYiXXoOg==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.4.14.tgz","fileCount":5,"unpackedSize":627587,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeNWB/CRA9TVsSAnZWagAAdRQQAJxPKRkoQj24n5S79+dd\n6xlnegmYYJVBJ3rKnCuhhCYS5ayeAZOkcrddnrfZoohNb096GGQ37n/LaSkQ\nUYW/DI+pw1i02Qh1lUrhDCjR8otX6DAWU8FvazhmJRXrunQrNcALqfLk8c/g\npyb8ds7PuYK2SPjmVxac8+fvZVMPCbwE7CXG6fkJSS1lqqksjm9XU6/PcuQ6\nkaGdGI68lgjR26uzKjLcN2AyS8fv/Lavx3kM1wRYSpaTiaBAwfeYf0EsC4v7\n4M7B6A/OhtjX4J1lNJPfwA0/yhwGCAW6CQH9cwVzVjO6UPfwnMINcF1rrNQr\nuX1MWBiTC2/6U0uja7erAvWleif+NRcHC3jkNpDwdcg8Ik4yovoV8vVazMJu\nude3HFhyl3HABuXswde8tdREFhrY4+htfJW4woJJonip0v3+DpCkj9Tq8NtO\njpB5PUgtEk65Npk4KrtJbjT2cBZHvSRfGopGvIzF1hLkIQ9F3AddxSfjre47\noFLcv85JtK58GpC1j+rtk+SNWGkb10WuuHwxSebtWugI7pnCVzOzZ1HG8PXg\nyhtcLWghUqwQjTlaqYT2c7rQekwA5yO+qQrEFFYgZrEkri09ktjb1170MbrH\nOEyimYBpl6kECWv71uh2ht0jtifYKJ6/2XoMmIwBCa4+sEoNdZJOTZlNGQp0\n353V\r\n=b1Da\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDCgVaTYiyiIPgT8IPHKLpWID8eQa1Du/NiBXQyismqBQIhAPpJ/ZJeWNjEnhUfgvDB0YEWsGOh8dY3kNXwfbzjbtKx"}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"kamran.khankhail@gmail.com","name":"kamrankhankhail"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"mathias@passbase.com","name":"mathiasklenk"},{"email":"alan@passbase.com","name":"passbase-alan"}],"_npmUser":{"name":"ma9o","email":"giovanni@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.4.14_1580556415162_0.8902706798386562"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"1.4.15":{"name":"@passbase/button","version":"1.4.15","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@types/amplitude-js":"^4.4.5","@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^3.4.6","amplitude-js":"^5.8.0","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^3.4.1","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^0.2.4","ts-loader":"^6.2.1","typescript":"^3.7.2","uuid":"^3.3.3"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.4.4","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.12.0","react-test-renderer":"^16.8.6","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html' --env.PASSBASE_BACKEND app.passbase.com","build:npm:prod":"yarn build:prod --config ./.webpack/npm.js && yarn build:prod --config ./.webpack/npm.js --env.react","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual/","test:visual:dark-mode":"mkdir tests/visual_dark_mode; cp tests/visual/storyshot-puppeteer.test.js tests/visual_dark_mode && DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mode","test:visual:dark-mode:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mode_mobile","test:visual:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_mobile","test:visual:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest yarn test:visual","test-debug:visual":"DEBUG=true yarn test:visual","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:visual && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html' --env.PASSBASE_BACKEND app.passbase.com","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"$":true,"initializeZoomCamera":true}},"_id":"@passbase/button@1.4.15","dist":{"shasum":"1363d62b699c3360a40919f1acb959ce19f61f7f","integrity":"sha512-aTmS7e0DsAJCBozxobRzn+w0tntITzVw+XjjjNxzHq18xiHIlLy8eKwOEZ0LTfpBTBzE0D+cEFcoqqeuNNQ55w==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.4.15.tgz","fileCount":5,"unpackedSize":627587,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeN0qVCRA9TVsSAnZWagAAbH4P/0xRYVlEk8rPYLbJmCwe\nYdbt3DGe3EeTbULOk8H8Gw0LBHvokVJIqMhGMN3P2k0MuyIeC07f22GpWMJm\nzuG6wQiluH7PYNd8++vFdyXdIiOV9qlxZn03UOGbBy3KvTOpAf0oA7BZ8AOn\nnRSauOEadcak919DcnX2/G6R1mtxB11aDWTfzgRxus2ys4DLEJUD0hKhNzgt\nGE3vBJ0903fpq90ZRZfQW8SbwV43ZymC4z/w0Ap0ezuGtDDIaYmUfVA1l2vG\nJrkZupenPDaGlMNlVi6R9YZAET1JkGTc7Mb8WRCl7kqAdMFFF02St0daebXO\nTZA1JdK27+NFBG52r0JR+JcM1BccI7n7nXYbuA7QgKCDHxoV2b4kLRo5FMXm\nrZkSl3VeurznGetEejz+MWYCcOEdxVvmcPU2+HPI2azdggCm1V30rad+ehDl\npL+t36crGSmU0xa9ieHjp5zrOmiDrtkcQIAcuCC496iemn2ndQegtiajnCFR\nMFM54ZRwPQ2MKcTqRtnNn2nBj1meQzeCUPnxDpAk7wxezeEJoC2rgBDVeMJl\n4tneaKPLU/fPzo3VrgwQW+nPQwbqke9B6D4q8TLI2gKlLdrFI7Cy8D/2IGgR\nSvJy3lH0qoRuvcUdEeYrqpXBT23claknSLDrUpQVo0NM2JkO0k0m28uz8liZ\nt7gW\r\n=5pi4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgqCuu6rhAHx4rLJAqCnb8Wu7dN89A2204wIJZ5aLKhwIhAKEC9pLR9cjRRNx5VmxqZxOwrkiY22hutb6TkYOJx7WZ"}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"kamran.khankhail@gmail.com","name":"kamrankhankhail"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"mathias@passbase.com","name":"mathiasklenk"},{"email":"alan@passbase.com","name":"passbase-alan"}],"_npmUser":{"name":"ma9o","email":"giovanni@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.4.15_1580681876563_0.7023720075091688"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"1.4.16":{"name":"@passbase/button","version":"1.4.16","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@types/amplitude-js":"^4.4.5","@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^3.4.6","amplitude-js":"^5.8.0","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^3.4.1","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^0.2.4","ts-loader":"^6.2.1","typescript":"^3.7.2","uuid":"^3.3.3"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.4.4","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.12.0","react-test-renderer":"^16.8.6","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html' --env.PASSBASE_BACKEND app.passbase.com","build:npm:prod":"yarn build:prod --config ./.webpack/npm.js && yarn build:prod --config ./.webpack/npm.js --env.react","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual/","test:visual:dark-mode":"mkdir tests/visual_dark_mode; cp tests/visual/storyshot-puppeteer.test.js tests/visual_dark_mode && DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mode","test:visual:dark-mode:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mode_mobile","test:visual:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_mobile","test:visual:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest yarn test:visual","test-debug:visual":"DEBUG=true yarn test:visual","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:visual && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html' --env.PASSBASE_BACKEND app.passbase.com","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"$":true,"initializeZoomCamera":true}},"_id":"@passbase/button@1.4.16","dist":{"shasum":"8f128a768cb25f4dc8780f6d2eb0d5d0b87bbd98","integrity":"sha512-xwSL49mEepBzkFidzp6nJ5bvqWgvjKcJHAM1uZiIgvu8Laou0Zqt/NWJUfQekp3RhgYP+8RHe+dYauyR7Zd55g==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.4.16.tgz","fileCount":5,"unpackedSize":627741,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeRSGPCRA9TVsSAnZWagAAL1UP/2DpmdpvXNhV2Tn0hcJs\n6XcpqMDVeKKRcyLqRgJ8op8cMcmxeaZiuuzbOIHcI6Yso/7hHQlJeqLLEFOP\niUOZPpYSCp6DeJGttBr5Fg6KttGa3ta2I8x4sm/W65vXfWWt9RQNQvfVUlWX\ne5O2I6HYJnrxGSSLzWxLL+6piRq9orUF44eBV25GsZ7bpClXMgBh8sW/8qT5\nStcneRC15AU8vyuUEIrb9Wwc/XAb1Ps54ITn5YBgO8GPXdvB754lgdlTELsh\nL5mBp+iJ/Bz4+zAG6qXDZkqHq4UAjoomyNTDxAnPH2Yyplk5+gihYuQAprmP\n/VJZFYHzs+1VlmI+ekS6xFK+i1FAnS6p/Bfh2uwLW7o8Rjkq9sP0uSK3dAhe\nsS0ACh67T1FZBaf9ePoCeXCUh3hJjN+6AJ18nSDfoTrGzwAldce5Sn2CgOPL\n0MWSnHqXGsQl7whRacO0yPjfCl5c0N6AqwI0CyQjDwg/Y7Vqhu/VhD4CIJSl\neNeIN6q7t6mwSfdk+opfqaQsLCTJ3A88FqAffDu4uAMHSMoUk1jH747a9Bon\nVXVWfX5cdGhPQKNe/Nh4FA7SZUJewhyhIsMqnJOcrnB/2Kxq2DOF3pqi6yIE\nykUIGOc9C5rZdLxkjQv2bynzpwuXaqW5JhsFpJKidG30bM6IQNSnyqLJZU5j\nIWzH\r\n=5Ls1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpu2hN6YL5EL76dA8bW9vYcUnZtHUllMJ+FEpHN+zmVgIhAPsgV+Li46G6+fdH2lEGwvYR43/o//9uQJP/t09/SCxI"}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"kamran.khankhail@gmail.com","name":"kamrankhankhail"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"mathias@passbase.com","name":"mathiasklenk"},{"email":"alan@passbase.com","name":"passbase-alan"}],"_npmUser":{"name":"ma9o","email":"giovanni@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.4.16_1581588878662_0.07694246296289164"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"1.4.18":{"name":"@passbase/button","version":"1.4.18","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@types/amplitude-js":"^4.4.5","@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^3.4.6","amplitude-js":"^5.8.0","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^3.4.1","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^0.2.4","ts-loader":"^6.2.1","typescript":"^3.7.2","uuid":"^3.4.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.12.0","react-test-renderer":"^16.8.6","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"rm -rf node_modules/@types/react-native","build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html' --env.PASSBASE_BACKEND app.passbase.com","build:npm:prod":"yarn build:prod --config ./.webpack/npm.js && yarn build:prod --config ./.webpack/npm.js --env.react","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker:all":"yarn test:docker yarn test:visual:node-script","test:visual:docker:all:update":"yarn test:docker yarn test:visual:node-script -u","test:visual:node-script":"ts-node scripts/run_all_visual_tests.ts","test:visual:node-script:update":"ts-node scripts/run_all_visual_tests.ts -u","test:visual:docker:review":"./docker_visual_test.sh --copy-images --latest ./tests","test:visual:docker:update":"./docker_visual_test.sh --update --latest ./tests","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:visual && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html' --env.PASSBASE_BACKEND app.passbase.com","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"$":true,"initializeZoomCamera":true}},"_id":"@passbase/button@1.4.18","dist":{"shasum":"b1df2ba2b3a0188ad3db5710bde7bc6b48dfc86e","integrity":"sha512-0e8DSCvxFTLrX+kv4YcWvUZTaHTw0yUo8kjcgyJ5aA0enCljg4Hhq/kgeer5OKDdR01klLoYyc2oVhPBaML6cg==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.4.18.tgz","fileCount":5,"unpackedSize":626935,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeT5/xCRA9TVsSAnZWagAAVQgP/iXxcM3mcu3QGvY6n7H0\np1CQzwcy98pVIF1UKFHuam4Cyc3RQ47J7CWgO1D6KdV6gSJVEh98b0GWDYZU\nt8c8um/x9r5bPkRdDr6Q30y/UE1MNr48LWE0AVIYREvy7/pwJZj9YPqrO5cy\nYRqQpiEAhtzjbX7IcVwWHXJWz+C5x38tQIIf8pIeQd3JrGEAC5/fXYHAAPlH\nV/2/E7kXVKrUbFGXXezJKBXtXnJhCmOnigWEh5qvNCyT+T8gdluh6Ed9SUw7\n9lfFtdRRMbrfJfpjJh6aOXZiSIjIKEmubSuYVKruDyTpy+xclNTcyxeMtAqk\nuxC9gpg+D2wEwbAWUZX00v9Cr2mhfRO2NZBOxl5NVcNMp6Qs/hqZA0Vbmo4T\niht4PsQh9C7497ORghF/Hgc7oObLv0DMHo8HzKvt0EN5JYwQFrF3gtuT0e/0\nLRn163INl0cAqE0O8vI8rCDe6mfl/7Mhqk3jwx2hHjdkfLudZzWYJGmjMeGq\n2Ud0ePEk4QpgLAIVOpMpuphGvIxwbtErA6Yu2XzealqdQ0vIbXFJbWrwNaZB\n83UGNt/BNTPzONk0NKm5XBFvIW6hJBwd04NJ+eVgcey4aRye8bew0Ej/dvsr\n0G37U8zrzFHi43D9i9J8KZo/EvEokdergtCWQyip5fthm0IiRbrxA31rUjNZ\nCyJt\r\n=oqJR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCd7I0tQy59GLzBJ4VWcVxbNdZ0cd5B4O0azM8rHsnELQIhAMbB1DqcuxioXoo3XZMDFDpOw/ettMzl48208yMIQ7gc"}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"kamran.khankhail@gmail.com","name":"kamrankhankhail"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"mathias@passbase.com","name":"mathiasklenk"},{"email":"alan@passbase.com","name":"passbase-alan"}],"_npmUser":{"name":"ma9o","email":"giovanni@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.4.18_1582276593268_0.5219928775132874"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"1.4.19":{"name":"@passbase/button","version":"1.4.19","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^3.4.6","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^3.4.1","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^0.2.4","ts-loader":"^6.2.1","typescript":"^3.7.2","uuid":"^3.4.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.12.0","react-test-renderer":"^16.8.6","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"yarn rimraf node_modules/@types/react-native","build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html' --env.PASSBASE_BACKEND app.passbase.com","build:npm:prod":"yarn build:prod --config ./.webpack/npm.js && yarn build:prod --config ./.webpack/npm.js --env.react","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html' --env.PASSBASE_BACKEND app.passbase.com","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"$":true,"initializeZoomCamera":true}},"_id":"@passbase/button@1.4.19","dist":{"shasum":"e5a9494ecd05600df924a56d0504af2005d16e79","integrity":"sha512-kkM39NU+JYIAg2fuyaU0yJvTocaKC0vVpqSe0hBj/LBoH/6dXdXhy7YssKEsVe5xB0Vm7KTcGHOhkGpmfNO9+A==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.4.19.tgz","fileCount":5,"unpackedSize":550244,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJei2PYCRA9TVsSAnZWagAA8GMP/RNXtq46Hrk4TYhGUmcD\nHW9quOTHfmRRsvDPmfq0XRNMOoLWKAYvt0r0oJvsmknValbKk/skOg5jFUQO\nEynT65Fk7vJeI2zMihO3vM+67bxAHlLcaNJsYcaIRa0EJdax8qT5wZeP69df\nQt1eip+ugIboRYvY5iC8jJt32jDm6MEZuqn45aOD8U/XYihO9EcPTMTX9Rjl\nFqwBeXoSZCWs1Iq+xHGeF3u5lMDsMzzS3u+JVNyAPar4swl6cTn/UNVlcYhA\nXEXoXuoizbKwhZrCgB6XUbUPWMJzXUGK6q9ROhVY/VaWwrSKsZp0KzcMcQvS\nODP8XmplBEdyjGPBxzjjpedRXfGxLXkGVo2zsQVlmp1PlqTM/rD31rFKr6Xk\nCtAl9kmlNaB4JSpJ8YUqsIdf0XZCfXRHgI4A2gV9q9cAyFxM9gWqXNPNbNkJ\nBZjaV3+RJTTEgC+PK6mRcDlAAK1Pcbj1FPoEksbdjrTst+fwyxXjsYN9s99P\nr+P2lqS8HAS72AZ82A5Dr39l8AoydvpiOV8ytpQKNB47sp88rFPQ1a0b2j1H\nP/QeBx0HJoIjEmTx1+I7ZoU+uZ7wBhxucEWX+i2WMZJLn3t2Tex5hrB68kxf\n+o+JzqZzGywjgGl9kfLF74y0iJzVOWmOkrtyY40efnkzv/gt/YjmnyMExzUz\nbmUO\r\n=UdK1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbVwpsSji15XgtSUtwFNhiiLIELgApQHUNjA/elAukjQIhAJ/RnrjRqmIJmVFnYOPQEjmTSy/AEufnj36tfOTAvt1C"}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"kamran.khankhail@gmail.com","name":"kamrankhankhail"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"mathias@passbase.com","name":"mathiasklenk"},{"email":"alan@passbase.com","name":"passbase-alan"},{"email":"sergii@passbase.com","name":"skorostetskyi"}],"_npmUser":{"name":"ma9o","email":"giovanni@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.4.19_1586193368065_0.2392743068682539"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"1.4.20":{"name":"@passbase/button","version":"1.4.20","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^3.4.6","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^3.4.1","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^0.2.4","ts-loader":"^6.2.1","typescript":"^3.7.2","uuid":"^3.4.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.12.0","react-test-renderer":"^16.8.6","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html' --env.PASSBASE_BACKEND app.passbase.com","build:npm:prod":"yarn build:prod --config ./.webpack/npm.js && yarn build:prod --config ./.webpack/npm.js --env.react","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html' --env.PASSBASE_BACKEND app.passbase.com","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"$":true,"initializeZoomCamera":true}},"_id":"@passbase/button@1.4.20","dist":{"shasum":"40378c43560ba71819e4e9200ad14cbb28f42fe2","integrity":"sha512-QRRgookIArY6IWHYrvzWbtJwGs9Gaf4+xKVZ8+HNVuIVbYxGx0S7p1Ech6ne7aLz4UJyMrvivE/zTIAdRVcmyg==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.4.20.tgz","fileCount":5,"unpackedSize":550313,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejYT0CRA9TVsSAnZWagAAiZMP/jUWZ+rKSd6vTN3uBMVc\nsafwbpFc8kefAIkhBPbrlN+Nq/IyBF3kl1/lsHB8cDyDYetMh73gk+TPPbWB\nL5PCuZcImdLHdTPCg8K8aP21mFqf7+gfwzf0a9jsfecyTvE70x23BhStPOPq\n6TKsziAPepn1lM8F0C3CtDFPY1iJ/thxNBmfnFsnl+ynB4gZjCFmfHdpgwGt\nv/Nj16a6WhdT3lxTIxethWQZhC2G+hdguhfNdwhktI1FQIe64bUKfELLnLFQ\nUq04kareXIS47T58zX88ZiFeHMVmh8EolMXBYo2pgsZAF7/EZLJmzNDxkw67\nxDnxOKk5Ac/V4nhn+DDbUvmXFJfw8FBvmhLmfZgzkaF5hPZADi5sQVB1JoM7\niSstmuW8yrJc4qOmUzUmuPuWAJcZJcWd8eJOvH7DW+UFt21/OFfdxZ0OSWtb\n1R/141Gd50+eafFndSPdHh1l29hYkh3LwGPY4dd2xZj5YeMv7KTg0ne0FIqb\nVCpN1XB4dCVVyVYdoi76BxKE5vu3Mhe91wpAdOEatCpjfXd+HJdAnFcWYFGP\nEbxQZh5pIn2NDScL9c+fJQsJU3/o7kGTXm+/4b7/qiWA1w1PP2eSA1zujORh\noLcA97hJa4P33k/DV+2T2v/O1CYD1a9KX/OJ126AS8NguXuSuSLYy6Vxd+uI\n11oh\r\n=JUbH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6xAxJCKgkhxwxPDpM7FhpY90XqDwn11zIW46qwOkbUQIgebNRjJ6gI1Rh4mxnZTCg7KLW3a2YRz6x6bIadysuKa8="}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"kamran.khankhail@gmail.com","name":"kamrankhankhail"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"mathias@passbase.com","name":"mathiasklenk"},{"email":"alan@passbase.com","name":"passbase-alan"},{"email":"sergii@passbase.com","name":"skorostetskyi"}],"_npmUser":{"name":"ma9o","email":"giovanni@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.4.20_1586332916273_0.0706086054511108"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"1.4.29":{"name":"@passbase/button","version":"1.4.29","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^3.4.6","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^3.4.1","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^0.2.4","ts-loader":"^6.2.1","typescript":"^3.7.2","uuid":"^3.4.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.12.0","react-test-renderer":"^16.8.6","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='button.passbase.com/channel-v2' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"$":true,"initializeZoomCamera":true}},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at At [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, cb, apiKey, (options = {}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**cb**: The callback which will be called on completion, (error, authKey, additionalAttributes) => void  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**additionalAttributes**: an object containing attributes that will be stored and retrieved.  \n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n&nbsp;&nbsp;**integrationType**: \\__not_required_ - whether the button is integrated at signup or login  \n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  integrationType=\"signup\"\n  onFinished={(error, authKey, additionalAttributes) => {}}\n  additionalAttributes={{\n    customer_user_id: \"\",\n    another_attribute: \"\"\n  }}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**integrationType**: Whether the button is integrated at signup or login  \n**onFinished**: The callback which will be called on completion, (error, authKey, additionalAttributes) => void  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**additionalAttributes**: _not required_ - an object containing attributes that will be stored and retrieved.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@1.4.29","dist":{"shasum":"7ce8e26c0a135d1aade265e6ae66bd19c42a43d8","integrity":"sha512-uQuFCOjCo/oulKLwiv1lVLsrpa4AbUNcjsWTc+Qw2FRIJd0+bnf2I+SP7RIL4AvKfPL4plc1zAcWrf8GgFMf/A==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.4.29.tgz","fileCount":5,"unpackedSize":552994,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJelaJPCRA9TVsSAnZWagAA3W8P/iI4wRbd5mI2CdkWUhd8\nXQMEmgTyE9xQwt4s4KwVghhMIq1BnwOlmAPN29vsuzmu6oUtopITuIg8MB60\nVjFaTuV447uriDIMlc/fJvXOUsyoKBffrp5SFlkozfAUbZCzc33fJdE5zuiS\nZsRZmWq2K0B8otORjIo4dvHSnNmSsI/D3M1iu0w6soEvaZ6aTsij1/2d0+CJ\nS7+VvSSEezCsuJMurRGv9qmx/49M6mU8q4NWdHBY7b42mfU6HkpenXm4cJuH\nR1MN+OeGmbs41yRHXgUWbfGPh+c1zZ8naYQYRFaQXz41Q9fM99TaL2lhUSYp\nO8o7RG9oNHCFQ6sr1cqSoCRElwm7ICHkq5HsTOe2+Jzd+Lt+PAm7sBlEo+6Y\nTiabeGHY44eo+q63Bzydx9D7g68mL0VVocSgziRGVqoY9T0Oz9NEUAYZi6ta\nUt4BWrJxF7vknWer1JjXtzrXmhwM0hspkwmNU1jLxeUpKv20UeJ/68pVZ1T8\nyhrAwAtm9yrWFB8fAG/rFmkd/GS5TEMp2YS6Yr6KecTfJUA8ZJn4B9D3QX4X\ntrKmcSrsRSIffpsy7Q5wfvRkXNTAOUjasZ2nVMxdrBkyjCtyHcl9zltwDIVT\nU0lyojM/HGTqzp1cLqDOdsZVIcLoiOycMnYwKBkWycad0JkuWzBHkCIYtiFf\nLdME\r\n=Xi9z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDkv64lBYW79bMMNlw06ff3akaVGPH5Ln1U0W3/IqbQAAiEAh6gE70/MWn6KmZivJvaPyDHrEJzA1cAQjpvy7Jacacs="}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"marc@passbase.com","name":"marc-passbase"},{"email":"mathias@passbase.com","name":"mathiasklenk"},{"email":"alan@passbase.com","name":"passbase-alan"},{"email":"sergii@passbase.com","name":"skorostetskyi"}],"_npmUser":{"name":"marc-passbase","email":"marc@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.4.29_1586864718930_0.46479568890938183"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"1.4.30":{"name":"@passbase/button","version":"1.4.30","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^3.4.6","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^3.4.1","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^0.2.4","ts-loader":"^6.2.1","typescript":"^3.7.2","uuid":"^3.4.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.12.0","react-test-renderer":"^16.8.6","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='button.passbase.com/channel-v2' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"$":true,"initializeZoomCamera":true}},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at At [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, cb, apiKey, (options = {}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**cb**: The callback which will be called on completion, (error, authKey, additionalAttributes) => void  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**additionalAttributes**: an object containing attributes that will be stored and retrieved.  \n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n&nbsp;&nbsp;**integrationType**: \\__not_required_ - whether the button is integrated at signup or login  \n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  integrationType=\"signup\"\n  onFinished={(error, authKey, additionalAttributes) => {}}\n  additionalAttributes={{\n    customer_user_id: \"\",\n    another_attribute: \"\"\n  }}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**integrationType**: Whether the button is integrated at signup or login  \n**onFinished**: The callback which will be called on completion, (error, authKey, additionalAttributes) => void  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**additionalAttributes**: _not required_ - an object containing attributes that will be stored and retrieved.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@1.4.30","dist":{"shasum":"20cb713cb79f968d67298af0d93d2eeec6a5c40c","integrity":"sha512-wqJnhvGlZsTNmHT0e54eaPhyZhACVS61PHEarUJDULh8EbL7ezGa2MLugGnh1EI360Fo5bB02T5LkLeUppVRBA==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.4.30.tgz","fileCount":6,"unpackedSize":910833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJelc2QCRA9TVsSAnZWagAADkAP+QGOof6C7dgegdZPGlxb\nZ2GR8OpVC/9tOJw7xTu2Ipbe+reqHx+kajsDNHKqsWOGODqBtvUIo/uKNlX3\nRIiMlhgGMDKM7yAqB1reBpJmrPGEy6MDSvolI9mo7yg4EjEYRd9NCBnhjf6U\np5ehF2mUXdr7pyWwPM5/k/Q6147HdmLRyLE2HkeAB7KsM1MSvW7yCDBcVZHk\nXR14HN2zT1wLRPD6KhdXNSiK4Wm4G5Pg2HuYx3q2NTZl6ZNJ0ls0rB1JZRFE\nHCwi37coiC5dcOMuFJN4G5oHzpTANOPgmYTqcoOfyBZWattnOYcLvHgOkpDX\nwZXEqvXbsKv+MXyk9DwPXR3vPILkxe+sYiYC/yN4jf5Vg3pgqnaJ/5lWaQLZ\ncWqxGO1q5GnJwXNliHwJAdLpfugGLRhT4xaTIBmINdM99Zokg4JY+NLKB3Hw\nvtnbvICbKvUvVBMNmT1u7nMyr2UuHtxu6lY3iDcFDHqfso2icFXN3djmvGGN\nm97BLeOFgi8+Hm7mw+GciC3sDhiGZH1p0HwQHyNMbUvlJQosOx/0PJ3wCxHc\nDH6+WRyqn7+5kACYx36m1RlQ74LWZCdVzE0FScvPYfuRe5Cf/Gv6A31xxpsz\ns84BQdq2VQ86nju4o2wGwoYcuBAyDHwBUmrf4uSb90EXMxCparlMHbaB8dOc\nLjxD\r\n=B//R\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDcGYB7XkxPxQIqTuqPiyO8ZT1whoRUCSE575EoQpAkbQIgaGbYINfN2DryYCo2hs30GKle1npr4mhan/56V6CrPWo="}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"marc@passbase.com","name":"marc-passbase"},{"email":"mathias@passbase.com","name":"mathiasklenk"},{"email":"alan@passbase.com","name":"passbase-alan"},{"email":"passbase-npm-ci@passbase.com","name":"passbase-ci"},{"email":"sergii@passbase.com","name":"skorostetskyi"}],"_npmUser":{"name":"marc-passbase","email":"marc@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.4.30_1586875791423_0.2157568352761159"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"1.4.31":{"name":"@passbase/button","version":"1.4.31","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^3.4.6","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^3.4.1","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^0.2.4","ts-loader":"^6.2.1","typescript":"^3.7.2","uuid":"^3.4.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.12.0","react-test-renderer":"^16.8.6","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"$":true,"initializeZoomCamera":true}},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at At [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, cb, apiKey, (options = {}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**cb**: The callback which will be called on completion, (error, authKey, additionalAttributes) => void  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**additionalAttributes**: an object containing attributes that will be stored and retrieved.  \n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n&nbsp;&nbsp;**integrationType**: \\__not_required_ - whether the button is integrated at signup or login  \n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  integrationType=\"signup\"\n  onFinished={(error, authKey, additionalAttributes) => {}}\n  additionalAttributes={{\n    customer_user_id: \"\",\n    another_attribute: \"\"\n  }}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**integrationType**: Whether the button is integrated at signup or login  \n**onFinished**: The callback which will be called on completion, (error, authKey, additionalAttributes) => void  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**additionalAttributes**: _not required_ - an object containing attributes that will be stored and retrieved.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@1.4.31","dist":{"shasum":"bb72e5d2c6574464644e81e602437b008152967d","integrity":"sha512-vQI9HN1/rD4P5dtfitIE7rixkm5VVIJlu+pF/vuLExoBdqqILD6PwEoKvMtOHi6CTdGhvfPCh2B2BqHPNzxYVg==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.4.31.tgz","fileCount":6,"unpackedSize":910817,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJelePoCRA9TVsSAnZWagAAbg4QAKN58ZgbfWfGlCqK2flI\nABMM0wKcanx1DrT2skn0+RXhlfrOzSwxbuQQGjAQWaoPzqsbWFh5C/oXuQFb\njtdjSqmRNESKLS6CtXI3d9qgL43TvoAi9Jkz960BJr9iaLqeb0ICkHwJ2aKD\npE5J6vpSKLOdo/Fawsm3sljUS+pZKZsbSS7f9PmhqAhhVMcSQ28wO2Z/louH\nGWkseKhZVueGKvJHNZsrw02SHrytOrS/1YvED0WAkMU5sFz+Pono3NYrZhk8\nYp2ZYKCEFIUQX0offU96VZ3rtxmc9DXXGycXoY/5cTJk8/2mu/6f6uTLG7aV\nC9j23JUZla7VLFhj3fiQ3LZmHzJsszm5cJtwYsrx5x8dCZ9kTHUW0Shth+Jo\nYKYCWBQbU6Y11k/M1WqBC25qbzhsh61mSRfiO+cpsbGU+I5iltttPRLE3sjY\nFdfdq9VPNUWyQi3upNwVs98/xLsGwSnYGU1BRb9oR7vt+ohCf8pCxqam1dgv\nZPcztm3Kx4ADXFDFUFT6HW29kJYSl6voEQQOHwB3WhU0SvdaL2d/Sr8TmLwm\nTvUJwkKyggZPQsFXFicbp0T4F/sZ6OT1IHtVSLr+2gLs1yJXzleSWjnbiGLs\n79/GyxcsbqilY7ip6tka6bo5ZnH2W+w9d0iK/toNraORZgrx+dxhMcVzqS0r\nfBLf\r\n=MGsI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICinnkb37SVx/hiB2l15rv40FEqCnBhPPoYsZY+XbOzDAiBPMNu4obd+gGRJsgY81znGkVtn0I0gjzyEGUyIpb8zPQ=="}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"marc@passbase.com","name":"marc-passbase"},{"email":"mathias@passbase.com","name":"mathiasklenk"},{"email":"alan@passbase.com","name":"passbase-alan"},{"email":"passbase-npm-ci@passbase.com","name":"passbase-ci"},{"email":"sergii@passbase.com","name":"skorostetskyi"}],"_npmUser":{"name":"marc-passbase","email":"marc@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.4.31_1586881511690_0.7148246244339298"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"1.4.32":{"name":"@passbase/button","version":"1.4.32","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^3.4.6","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^3.4.1","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^0.2.4","ts-loader":"^6.2.1","typescript":"^3.7.2","uuid":"^3.4.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.12.0","react-test-renderer":"^16.8.6","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"$":true,"initializeZoomCamera":true}},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at At [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, cb, apiKey, (options = {}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**cb**: The callback which will be called on completion, (error, authKey, additionalAttributes) => void  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**additionalAttributes**: an object containing attributes that will be stored and retrieved.  \n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n&nbsp;&nbsp;**integrationType**: \\__not_required_ - whether the button is integrated at signup or login  \n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  integrationType=\"signup\"\n  onFinished={(error, authKey, additionalAttributes) => {}}\n  additionalAttributes={{\n    customer_user_id: \"\",\n    another_attribute: \"\"\n  }}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**integrationType**: Whether the button is integrated at signup or login  \n**onFinished**: The callback which will be called on completion, (error, authKey, additionalAttributes) => void  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**additionalAttributes**: _not required_ - an object containing attributes that will be stored and retrieved.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@1.4.32","dist":{"shasum":"52645d71d23cbfa5c3a0ce0736243cfe03a8bd0b","integrity":"sha512-9O/w1fKClXZCeN2dAjZ0U3eZ2/NBYy37de3TY/GftjiAxL+VBHFgl42Y6C/oUQLTgud+6/KjmqpMXCYIwH10qQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-1.4.32.tgz","fileCount":6,"unpackedSize":911314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJel1/MCRA9TVsSAnZWagAAa5cP/3ZCnMc9n6nM9Q8x2mBJ\ngTyokbSs1G6AMEHIDXb5BrVcOlIBlUuhtahQyNTtiwn9ZONThhTL2odpTlKJ\nbtDMlZxoWrluYN4AijleCDd94N5fav6EX6sV1cgGZdKa4AY3p42nODzxB73V\nnNuOlWf4dHYPyfF6crzdRmXlp3QpBbI/UN2kRcGHe+cP6aFoUMcZrtcIWQsE\nqriQSR++obqb1BUUfw9Y6Sj9O0B6d6MGasSj6oSpNPliJTDgxmfVrKh31sWr\nMzjN0TeCzzRq2VZMTrYGEQIZ+uxUIIHuA7wI/CpRYeua8HapwsM2IqzJeetc\nCahtze0Hzk3kPjWJJemrvjbVfWxg8eFs+yv4OzZkbFj7k2OLy0jy+vnQMXv0\nB7qzGNYZghVVzTje0AJ65ARCEWbMsfTLNj/9Rc0KXBa2lXjlbYkV2qSBAOVS\nRjqrYDom8M9kQ8sOEnpF5aPiKPz3xyqbjQXiFgMFImJKSXgXG8/fo3ugJ7Ra\n7tHT1kd4oOHwlxblP7dGytbCz9olE5O0WQ5ZgZFADAkJvFHnLTtJ/B082EEu\nMP3IZsMnlrDfzpyPuWXF/f/FitH4fKoDluFIl12F68JvDUNG+Q7mNyNuezYx\nAOJSohW/REqtKziYHilnRtzgX0+MF6FDz5aIQZm6fzX1SF5JneOlNelQj/q+\nKq1P\r\n=P6qS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBhvwrva2KsktKReN5wbyU9YbTpNaSoTgBJrgAZSq9jRAiABFar9K2LiEpddoKlWrKXH9cWtIZoJlLeoZRJHoF3VUQ=="}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"marc@passbase.com","name":"marc-passbase"},{"email":"mathias@passbase.com","name":"mathiasklenk"},{"email":"alan@passbase.com","name":"passbase-alan"},{"email":"passbase-npm-ci@passbase.com","name":"passbase-ci"},{"email":"sergii@passbase.com","name":"skorostetskyi"}],"_npmUser":{"name":"marc-passbase","email":"marc@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_1.4.32_1586978763961_0.49825176399888527"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"2.0.0":{"name":"@passbase/button","version":"2.0.0","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^3.4.6","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^3.4.1","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^0.2.4","ts-loader":"^6.2.1","typescript":"^3.7.2","uuid":"^3.4.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.12.0","react-test-renderer":"^16.8.6","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"$":true,"initializeZoomCamera":true}},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at At [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, cb, apiKey, (options = {}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**cb**: The callback which will be called on completion, (error, authKey, additionalAttributes) => void  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**additionalAttributes**: an object containing attributes that will be stored and retrieved.  \n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n&nbsp;&nbsp;**integrationType**: \\__not_required_ - whether the button is integrated at signup or login  \n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  integrationType=\"signup\"\n  onFinished={(error, authKey, additionalAttributes) => {}}\n  additionalAttributes={{\n    customer_user_id: \"\",\n    another_attribute: \"\"\n  }}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**integrationType**: Whether the button is integrated at signup or login  \n**onFinished**: The callback which will be called on completion, (error, authKey, additionalAttributes) => void  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**additionalAttributes**: _not required_ - an object containing attributes that will be stored and retrieved.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@2.0.0","dist":{"shasum":"17e7789a983df5bd5fabd004a9f1bc557a4be13f","integrity":"sha512-93Yn+wpJiqJbgNy8kETwZMFv8lp11UMkCpNk2NDvpE5oa0eEnxbIwWnJxfiWkuKRr+F6Qtff9PBVMR4+2e8N4A==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-2.0.0.tgz","fileCount":6,"unpackedSize":911313,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJemCnICRA9TVsSAnZWagAAelUP/0CDxukzFQNdk135HgPb\nFFg+QX0mM2totLU3uH0dfbqo7uu1GXN/MVrNX9u45wDXNb28aE/yrKZ4Nqmw\nkwUrlwpnAZISn89NcoCIpDkInVatIbPbtyvHxjA4Qqtitz+TpUTKqNCTqRdJ\nTJNbSIYhV4qzXsCEXBJhu91j96mEf9MAKjC5IVyUBmWju+u0pECJFZlTlAup\nin9KppivXriDtQFxPcFWvEUVsze3AIb8a4+FxgLISzTlSO2fP3NiEysewyMK\noOeAJ9Svrd9cczrGtZl4fU1vy/lf7ljMxvzr9R3iPUf30ruIORYzI2DYBekc\ntPweTp9UPgfm6eMItrH/aHomp5Unk4YpiQu9oiyXOLXYD3u4T9obbq12mJ7v\nvd27UkcC2oMM4WVS88S7t921SlvFblpTNbSGG4Iqo12wGOQTMPIrNS4dEhCV\nqj75adMWHYLa87sFo8djy5DQ7dvWbiz3+AohwLMg8xBLx9ZJbc2FXJ1zvC2r\nT3tyvxlZU4M2gsiYzuPzum7cxKqysL5vOc1Bv5yhog+In1Roogit24hMs75u\nvnbnhsDvarZcLvu3lE4/6nQsSoQWhWlad13c9MPZJ3e+hpLFpauIo1CmbymW\nX9mGJebA9z1uU4MymJsFK24gaxoRHxlL8XUmLuidDt+kYMRsC7HiorpO7aZW\nIu/M\r\n=z5VY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDqDa/SBNIAHsyIvPG4oDNdBX2m+4SPcYdu4FF2p9lX9QIhAINRzZtQn7xKLbXZcR4iX/aLQVb+IIS34IKwDhuu+XDE"}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"marc@passbase.com","name":"marc-passbase"},{"email":"mathias@passbase.com","name":"mathiasklenk"},{"email":"alan@passbase.com","name":"passbase-alan"},{"email":"passbase-npm-ci@passbase.com","name":"passbase-ci"},{"email":"sergii@passbase.com","name":"skorostetskyi"}],"_npmUser":{"name":"marc-passbase","email":"marc@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_2.0.0_1587030472391_0.6912047583048861"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"2.0.0-rc.1":{"name":"@passbase/button","version":"2.0.0-rc.1","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^3.4.6","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^3.4.1","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^0.2.4","ts-loader":"^6.2.1","typescript":"^3.7.2","uuid":"^3.4.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.12.0","react-test-renderer":"^16.8.6","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"$":true,"initializeZoomCamera":true}},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at At [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, cb, apiKey, (options = {}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**cb**: The callback which will be called on completion, (error, authKey, additionalAttributes) => void  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**additionalAttributes**: an object containing attributes that will be stored and retrieved.  \n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n&nbsp;&nbsp;**integrationType**: \\__not_required_ - whether the button is integrated at signup or login  \n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  integrationType=\"signup\"\n  onFinished={(error, authKey, additionalAttributes) => {}}\n  additionalAttributes={{\n    customer_user_id: \"\",\n    another_attribute: \"\"\n  }}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**integrationType**: Whether the button is integrated at signup or login  \n**onFinished**: The callback which will be called on completion, (error, authKey, additionalAttributes) => void  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**additionalAttributes**: _not required_ - an object containing attributes that will be stored and retrieved.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@2.0.0-rc.1","dist":{"shasum":"07c10e3aa10b5d71b43a0af0f748c20a427562fc","integrity":"sha512-P5/WIp/IfKlxhql7tonPOlIC8IGXmrdk2AW9X76juDgEmW9hBK5dA7Jfc/AqS9jLlVQJ0yL5wfJIf1BHosJqvw==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-2.0.0-rc.1.tgz","fileCount":6,"unpackedSize":2750280,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuzOZCRA9TVsSAnZWagAAjfYP/2N1ikO5ktyx2bLsW0xO\n/DclyOMUKYp4yegYX7XhtoLs7JeD8Q3iqMYWMgnVTlT4kzu3M1e5UJRbpbKR\ndBPutpn5ZVRB2BacAPK0wTjnQzgfaivD2LyaESNyyS6GmKx/ZU+FBlO90bGx\nlhe57epg68GslmrGvNhHCYZ4xoKqvjr7jZEqZ5Gf+4CovaKFvLXlWpPMmsLF\nSS6+DvfSuqfwTfYRf5zaGV6T7t3NWLQataH5SYVW5Tf704QKUGNGEUyU27eP\n9B373gEL3TEa8dNMwIsswAD934UgMQkKRAlE5GM0s+HehoNIb5uhv8qRX4v5\nj9NAqfXGDCg/pJt21zIK2MB1YLodbWTPJz4bWAXC3DcWIuSsOHSZYRr6ksya\nIPOumvCF2CYRqsUjfV2SAdCE6RVX13q4AWzRIX4+Xrr3HppSgk8Aqmcr+lj4\n+eV376658byEV3VOPX0IiNRsOYWvTnuXjSmxD4bza6WDUlu2+0DpnMyG8Je+\nLdS5C70ppaMW+RNns8nMmcxaIdNfQ9NHqzkSlGSTUZS4cN0iJc3EEvkuvG9t\nYuBU8EhZOx3n4jay+a7ho5MmcenW2YBDcu2ZP7tm7ohrdJwq1MRIXrNQxUnG\nQumg63+W9B/EgBrTSBvMLHuXwJ5Uv2WkmGS9BHmwf4NJnHlliOdbiiuEBCp+\nqb9V\r\n=28Qn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIChGmJedvA1lUNOaeIo6KxCy4O0IiJudSq+B5GE0eNJAAiAf4vmqgRx4+x4EchvnOZn1CQYZGj5ByVF2119YExmnGg=="}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"marc@passbase.com","name":"marc-passbase"},{"email":"mathias@passbase.com","name":"mathiasklenk"},{"email":"alan@passbase.com","name":"passbase-alan"},{"email":"passbase-npm-ci@passbase.com","name":"passbase-ci"},{"email":"sergii@passbase.com","name":"skorostetskyi"}],"_npmUser":{"name":"marc-passbase","email":"marc@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_2.0.0-rc.1_1589326745074_0.9373104305812827"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"2.0.1":{"name":"@passbase/button","version":"2.0.1","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^3.4.6","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^3.4.1","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^0.2.4","ts-loader":"^6.2.1","typescript":"^3.7.2","uuid":"^3.4.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.12.0","react-test-renderer":"^16.8.6","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"$":true,"initializeZoomCamera":true}},"_id":"@passbase/button@2.0.1","dist":{"shasum":"f448326adabcedbd924d01fff813848530ceaadb","integrity":"sha512-dpmXGu6jA/VmGlCUTQvnr0oB6UrJNmHsjiogLdEZY/nTG5UIs2Z1xdEtb55pvclVlDd+evjDv0JCBPzaa8DAUw==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-2.0.1.tgz","fileCount":6,"unpackedSize":2750314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJevVRnCRA9TVsSAnZWagAA1HYP/jaXiys42uxeEOLoxJ65\nZnczOA5zwFpj8O/rIaFqqYJuWmflyyUFR5cUqNKOshZnaw2g+jPUVZUvofMz\nWpYOdOtaKiLtyVZaxqC6PtZw5jrkm7R1sR8dYZcqBK8mdTZYvjzzxtzg4rT3\nO+ksO0sPk+P6iMuf7Av7Cm1EBUYzipuNSOp4LVEJDHSuMSWfSo7BIHw12z3K\nMK1WJpnDKr+AEhi0K6N7UVShGY/clS+LtRrtAvhkzZk9ac1n1ejOqIp4lnh4\nAz8xkCojuitTo7JO37RpUSlrBRVrlFpQtKfOZl6XMUaLrqWPN0tG0X6r/gMx\nhXOrDJPxScBGYNaGOutRPf4KM1SWG8j3QThRWOBB5jlJgeAcv+DIR1IoBHpa\n5kjOJXoiVIPoTC6wpiNLjcqNOaJF+ZXjv1wim5WzlGJ5rQuoLY9OBFC8TgeS\nmZhOS2lXuqnQ49TbTGgCOIEVHje/AaKwM2ODhhp2KDwtCVrobq4kVGY8+qRD\nloOqNkYFxRvTQ1EKtjs9/n8HR/3xiJHZSenruhzBSju/DrSZd/cZKAjKBfuu\nGKYIlIQE8O3+gJa4GbphnsBKlHjw57zCoW+gwq/RABwVPwXWZPQRv5a/6b/Q\nkd3qDIL+IVCeo929iQdMVyXjXAQM1KcePLDA1Jk1IR14XQN6EOKxBsqpVxm+\nCC5Q\r\n=mrgd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDe0tun/chGtuKjqp0V2UzroCggJVpC9W7LA2goRiOaWgIhAM3ZA569OQ5hafZYDKq2yIU2KwHYoqq8Apfa6Y+hxJGM"}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"marc@passbase.com","name":"marc-passbase"},{"email":"mathias@passbase.com","name":"mathiasklenk"},{"email":"alan@passbase.com","name":"passbase-alan"},{"email":"passbase-npm-ci@passbase.com","name":"passbase-ci"},{"email":"sergii@passbase.com","name":"skorostetskyi"}],"_npmUser":{"name":"marc-passbase","email":"marc@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_2.0.1_1589466214615_0.7598596482223836"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"2.0.2":{"name":"@passbase/button","version":"2.0.2","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^3.4.6","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^3.4.1","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^0.2.4","ts-loader":"^6.2.1","typescript":"^3.7.2","uuid":"^3.4.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.12.0","react-test-renderer":"^16.8.6","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"$":true,"initializeZoomCamera":true}},"_id":"@passbase/button@2.0.2","dist":{"shasum":"830723a508063d3847dc426bbc04b8f1f1b7c2ec","integrity":"sha512-STlcjVLyiin4ZMMvEoCkzakgM7YWprB22yldnVaTG7BVVClYsSSopxCGxBI2p2NXGgyrSoyHfVuhPDu8U6KiYA==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-2.0.2.tgz","fileCount":6,"unpackedSize":2750299,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe2ia1CRA9TVsSAnZWagAAigIQAIWorm0kRBaIymBuXUsM\nSs6tmjXlyd4VV8pJpIR8FUEkcAx/TshWJ5DzivxuR7lXffYGcOhU0ce1T+y7\n9DWzaoXRlqrCYnas//0Yx+i911KiYa3PCaH5AxWyDElb1JFBXuQyzsC0yqsK\nayEQaCY0djOuT11U51VaHgro9igpiXBPAqUHwL98aId69AazX25RsIcCh9IP\nxKth0EkO/lK63v9zQOGvRc68Ot+uS8NYlA3GOkjnj+Y73GpwAEMPrH4CBXKQ\nER/du1kjlLu1craNrqbDPbU0feHkJ9N9FY1NJjZmlu/xi/JiyaXqeCdOT3Vv\nZtiDnm9eLPPjVr46QlBsfDQLQutm9+Y4uhfaYepZ8NOZgtdefWF3zBMOs4Qn\nODPfXsvyMkIXmt47+EBasy29zujCXvs+Md9Jbt3tOvZ4vxkU+A6v3NdcO/d8\nLkZhHkQKpSPqJ6Lsy1fSsawjus/3QOvx4rCKPutLW0sNE18LPt8sXIashXAw\nKe2CFgygZn72xBwI+Y0Jlu5tRDVLHUAnCw1/EL0Cc5mAl00cXDFXJmaN0gKG\nbM8d+/o4NN0pzl7jNyBKc2ed8pLN62yyWMw5iiF/rQnm+8gVyc9t/+rE88Lt\nvoVCTkYW30I+zidKYDuDiZ0F3bnoBWQB+k994ltKn4xSnLGxXv62md/yp4MB\nlPJW\r\n=UCQb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGcAt/YK5sGodNuEPgB1/hPDkFU07zbQMjo70kcxKY5SAiBJIKvOg2UDnx1iagFMm+i4ZRarQIuratcxBJ0jT6X4og=="}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"marc@passbase.com","name":"marc-passbase"},{"email":"mathias@passbase.com","name":"mathiasklenk"},{"email":"alan@passbase.com","name":"passbase-alan"},{"email":"passbase-npm-ci@passbase.com","name":"passbase-ci"},{"email":"sergii@passbase.com","name":"skorostetskyi"}],"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_2.0.2_1591355060305_0.4178195832619951"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"2.0.3":{"name":"@passbase/button","version":"2.0.3","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^3.4.6","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^3.4.1","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^0.2.4","ts-loader":"^6.2.1","typescript":"^3.7.2","uuid":"^3.4.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.12.0","react-test-renderer":"^16.8.6","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.MOCK  --env.PASSBASE_TEST_APIKEY --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"$":true,"initializeZoomCamera":true}},"_id":"@passbase/button@2.0.3","dist":{"shasum":"d79b3548e126d18556a13110bafe78ad08d8ab80","integrity":"sha512-6UFWthjpbFDq6ZgCh7aaYslifFl4DEqp6cQxeuuZi0k5t4ztBNWo15dPAFHIjm5m9igWCh7pVE/Uo9V9KRbX7g==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-2.0.3.tgz","fileCount":6,"unpackedSize":2623473,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe6k0QCRA9TVsSAnZWagAAHakQAJm965kj251b3NO4mDBz\nhfDB/P5yLvRs8z3jLNd661pUStEDLB7W+WhP5RwM763nWQ1u0LlQUa100YXI\nagq98m2aWqHR1WgQlzh4wCfSQ5f7ZfATgs89DjdJe2qCFXu5X/X2pRINFzv0\nBQXS77JDCnHZPQQKHB7Qdqt0Z7Kg+peX6185l4BqZ5yCTUUAxwzdarZV8O+t\n8JsMt/PCCk+VUP8xtn8nmWsXUCrH1ovpmiGJmGd/iW3iUYCOG4UuZmH1/4Rv\ny6JeZBP+SDXvKke4BFnoXzNB2DmFKeYw248ZKPVYODumWpf35vxT1jkHhvnK\nrTwjg7D7w8+GiqCHtXRs2oONYNGHxrzYSbLnxyVgW+y3tigluqYB8KCz3nA4\nEUa5wSoltqh7jheZHcRS5WKSyct+JXtBvLUVqfhUxAkSrC+sIdu3frrc/Xz7\ntpbbU/zFtu17qcax/gUZETHJ6PZIiU5fQ+rEoossz06HeXfChCCcKsWRx0iH\nFuw02Vj+X7q+f65zAReRv3Vxc++UtUjZTvADfXUGHxDt8bVBH3a//F7hLizV\n1iRbuD8zkCnTgbGj3W0UVu9g11D1MqZWCjPXTxsVGRxCEgTalQJ6vAHLLCCx\n+pDAzTCmWOhrA6MccXCldkZXS98ARIjQFlJi1xiqbjOY4AVVMjqgmdin3QB2\nUKYG\r\n=/lMg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/+RVp75jJVonXw7yghTP6GXbhzlwmAQtw/IHIvZWUXwIhAJlDWkp/aBJKj/ECNkcPiM61aJwd/h9HDf2QG7qdzQ05"}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"marc@passbase.com","name":"marc-passbase"},{"email":"mathias@passbase.com","name":"mathiasklenk"},{"email":"alan@passbase.com","name":"passbase-alan"},{"email":"passbase-npm-ci@passbase.com","name":"passbase-ci"},{"email":"sergii@passbase.com","name":"skorostetskyi"}],"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_2.0.3_1592413456459_0.308402473784797"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"2.0.4":{"name":"@passbase/button","version":"2.0.4","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^3.4.6","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^3.4.1","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^3.7.2","uuid":"^3.4.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.12.0","react-test-renderer":"^16.8.6","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","tslint":"^6.1.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"$":true,"initializeZoomCamera":true}},"_id":"@passbase/button@2.0.4","dist":{"shasum":"de501c9200ee224c9c9c5d009ec2beb02b4995bf","integrity":"sha512-co3B4H4bwsx1RAxYRFHz5/WFb7Dlui6ZWSVxtKVgf0fc7GWnEzxF81npkHEm2QmVDramVBP950vblFllunFU2Q==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-2.0.4.tgz","fileCount":6,"unpackedSize":739256,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9ewICRA9TVsSAnZWagAASiMQAJfCpPRQft74ggkI1Tl7\n5nsVUdVdqErT4nezxFTjFsh/se934NZKHNUpwDd56N7Gs+pWWlN+H3/ce6wk\nMZP60Jby3FF097csyX3flAWW6+MEOOl2B8Y0gnl7zys2YY9zwEa/eEtFWbl4\ngPX4TBERS1QG58EtGxxVrUl4Um/EW0marcoAdNhFWqemzhmwrO5RYgFb8F/O\nQleZIWM+PECjyIqUspBGpLhyn1iqiFzN5HsY2AC26iQGWIsfVpRjtmvbSWjP\neOt/pPWd7aKls2B7cmeK0LLsTacmFWyqfdc+qut6wko59IgTpiElTMwT65ea\nV2paxswBSvDskgAt+nMTtRy6eTTA/kfh4xdBecen2AT4z9PRUoJXKwhpbR8a\nfGZVsYxvxHnsWdXqDgXJ2OwKvoAQ0W13K8RE9Zmxhkn7RGfTHmSnWEcxQUas\naVXIS9Q960QZmsMNzgZgUb571uF1YTaI1JwTD0KNPN2tWrscq2kvZVvq320v\n70vQGbT3YgS7GS2Ld8Z5FWbYH+n2SB1OgmLi8KyyF7aTXfiHSqy/vtF8/bSC\nfb6jkYEcka0IDwR7rwI7lpNbcymh8MOBVHXesHfi63QKKYzAk/6jgQVSA0jV\nc9Yk932pSwaC4EZtBROkzhoGNA8lNwR7iZi1LRDPls7RlrQ2SjI2cQA/u+j2\nmiDz\r\n=n5QL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVD7vwX8j3xnn98AJY7am62A94ZAZlU7wvDVfkQNqdegIgUfUVd3gpN5sv5ZYmgU/UdKij6kTzU08X+JOraKLFV0E="}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"marc@passbase.com","name":"marc-passbase"},{"email":"mathias@passbase.com","name":"mathiasklenk"},{"email":"alan@passbase.com","name":"passbase-alan"},{"email":"passbase-npm-ci@passbase.com","name":"passbase-ci"},{"email":"sergii@passbase.com","name":"skorostetskyi"}],"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_2.0.4_1593175047990_0.8305975498655784"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"2.0.5":{"name":"@passbase/button","version":"2.0.5","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^3.4.6","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^3.4.1","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^3.7.2","uuid":"^3.4.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.12.0","react-test-renderer":"^16.8.6","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","tslint":"^6.1.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"$":true,"initializeZoomCamera":true}},"_id":"@passbase/button@2.0.5","dist":{"shasum":"514aac8bc0a25e9b956f470cf72554e93cd57cad","integrity":"sha512-0VK6U3zut+weyDcCNzSQ/lgoS1kG3hwKHmNJZjH6eSWFLP+pE9pr5zdWhJ94nA+qMiXjEt4sdcIC9kZAQf7X1Q==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-2.0.5.tgz","fileCount":6,"unpackedSize":739256,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/vWWCRA9TVsSAnZWagAA4nwP/jx/HdV4n4Tj/RSH6jko\nlmZI8kmxfOjriwKRwUe1ceY5yleOjMMlx1WUvVdYU8LnRFVLIyG/uGx2mIVC\n/snmO5AxKZBN7pAHi0EVbxzuQz1YXQCBdlACfKdJfKUskEZxMIwa0Dem4MAE\nsw1ZOMs+csL57qFe30bvPoT8KX6D6AVz1aYhu9Us4MWZSWXr1qORm0XPfLA/\n+njn8UnY90tSgrT0hIWaw1h+vCqf29+p4py3aFrdybC21a3f0nEdBTVUdWUJ\n9v7l5lUwacHiLZ+wGEo3ACXnWLVNrvUks+j92Kz+9XEZ1kpC6LqDDTZJHmLd\n4709DXrTXu+uXwTwtBEvt7e3vNQlCnVaPCZbeJtn6YviTv62FmpwPkuOfi+6\nIgFIwtFw3pMrBET2SgPKJUm8SYDn2W6zSGyKIyT45GDCssTFk3/mGioH2Uu6\nYtvAtGAFWduadPlJECj+CKfw40wrrcrfYwpvBlciN74yKc8JN7Zu89bNeLdI\nxu+qSy2Fpna/mXolbJXPh9PkdiN6lj5SRm8fI19irgPzCIMI+qIMd0IV8n+N\nshiIde7NGrrH0qJWMCvxi8DEAkbZrFoteVBfR9bEfDwAnDQUPlbOLZKwzC6b\nrFMU7Bz0Mc5g/iloFFOUWQpSa3I6ty1f8E7AonRcPOFSvIjapjxkNW5quP29\nEozh\r\n=qGpt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMiRJJr7PmWcx0kbxnGUi+0pHb81QAhNB+/dOb58eQPwIgQcDo0vsDmb77DHUITfx6/TszVBi+9eixxzMAue2GIxA="}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"marc@passbase.com","name":"marc-passbase"},{"email":"mathias@passbase.com","name":"mathiasklenk"},{"email":"alan@passbase.com","name":"passbase-alan"},{"email":"passbase-npm-ci@passbase.com","name":"passbase-ci"},{"email":"sergii@passbase.com","name":"skorostetskyi"}],"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_2.0.5_1593767318051_0.15621078549780942"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"2.0.6":{"name":"@passbase/button","version":"2.0.6","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@datadog/browser-logs":"^1.12.6","@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^3.4.6","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^3.4.1","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^3.7.2","uuid":"^3.4.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.12.0","react-test-renderer":"^16.8.6","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","tslint":"^6.1.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC --env.PASSBASE_TEST_APIKEY","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"$":true,"initializeZoomCamera":true}},"_id":"@passbase/button@2.0.6","dist":{"shasum":"3fb9753907a0272e987dc606e75054bb66deb2e5","integrity":"sha512-qRiSgBgNnOcvvaXnoraAcLGPRo21LdAhAB58o57BjTROfDFpMcq3OEVxdUNXSM9SiPHDaquPU2NqFhpjQRw3wQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-2.0.6.tgz","fileCount":6,"unpackedSize":836879,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDdwBCRA9TVsSAnZWagAAmR8P/i8/ecPrvGOHnh6r5PvX\nkfP4vYevYeG+gI8+TguOvYsJCtvhkK6C328p/aBhftZzhvsUJm9nV5sGHN6w\nmdMXRuUJxHhYIo3a8V+I1Uc0UjELTUGk7VHUQmGWSBax06yjwPuWtKhpzAC+\ne6iKONb5wPZX6eSXxU4daZ9ByKSKcgCB68nOxa0sCbMPcbJnRM2qph+PNugd\npgW/FkE9huWuKpmX7UQUK91AIgLCbvjTLp1kD9y/iheXOrx6e8GHAe8veIhB\nmEgqOPcKLEnCMYvpqDG9UUDTz5MQFBs882xAGBrE/F3HMFVzBdDU/ytHCxjW\njA70EaoG221kgr8ldPewYi6uHPpTKQOvwNrzC0Fw7uWZ8/Ys+5jSg5MjROxV\nLyt01j6my+jRDupU0VJVEogzvwm9Sa0MhYRnZm/HOsGLn85wN1JF6wFqhpWK\nX3IXV0hFfP+zrqQybyTvS3sRxLUwUJRbsvKRGWZNHU17RhIgWIO/hs4G0VMW\nyzXB4UUrPIDz5BpWtY6oH08926wj26smcQm57ZglwbDDpZpcPyQY8fgl5U1Z\n+9J6BlP+wBc6Pk7AXCS2G7ocKIKF60MkfUeOBiBDULp6488YglEmJ5CLWPiQ\nFmodSvBxNUqOrBpK7uxeAfA8fWBub6RRe52e1iHBT97VpwtO2anA8XIV1Of3\nNcWu\r\n=sNBQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBGCCzK5PkjrNPqW8dgHfVIeuPc1cWTOjRYR8vKm0uqsAiEAwYqQk0CVCFSsRZ9pwrnvLuwD/eY585KZLaM95jZuW5A="}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"marc@passbase.com","name":"marc-passbase"},{"email":"mathias@passbase.com","name":"mathiasklenk"},{"email":"alan@passbase.com","name":"passbase-alan"},{"email":"passbase-npm-ci@passbase.com","name":"passbase-ci"},{"email":"sergii@passbase.com","name":"skorostetskyi"}],"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_2.0.6_1594743808524_0.4159215350918215"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"2.0.7":{"name":"@passbase/button","version":"2.0.7","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@datadog/browser-logs":"^1.12.6","@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^3.4.6","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^3.4.1","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","lottie-web":"^5.7.0","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^3.7.2","uuid":"^3.4.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.12.0","react-test-renderer":"^16.8.6","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","tslint":"^6.1.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC --env.PASSBASE_TEST_APIKEY","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"$":true,"initializeZoomCamera":true}},"_id":"@passbase/button@2.0.7","dist":{"shasum":"f902b5ccadb5641cb41f780a1a616ae646cda74e","integrity":"sha512-e+pvq8DZZnKy20PFNwEpN7CL5S9KPGePcMoCX96sLwBwS1sXun2xW4FEvldp+OzBCfhZEUr1i9njT8zg3W0MjA==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-2.0.7.tgz","fileCount":6,"unpackedSize":743322,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfICVaCRA9TVsSAnZWagAA7SUP/3SmlCIYtPLzHIwq4UBl\ncw995K78H1WXRVfWy5oBM8WLYlv2tMpCYhFmjuY9QydhgWwvAytyPZGKxRQ4\nHEdvXTl5+W5Dtylf3wiPmZdQRU5UN3BgQTrbi1r65dBh93AmxFEEuNVpPrj1\nrn9NuB9CXirc0l4z2NC18chiX9of1PXp5gK+zUiHQ8F6VAQ4N4giaE/4oF1m\ntPtv2uzI2LRmMQfaU0g0UDq9EUsrbEiRNXK5BRcTMwcmIsXw4NHZ0UnjX65j\njqiHYs1ArQjdimlbJAb4btomf5xq8+3QS0OAfCmH+maWFv11xULbEd0RZl/o\nht6jPCFD/ixEzwS0Vu73N1bNOgTbKoYoBUvXksD6LLQu4PED16Im4gtvL3T1\nMQkFs7H+CPlVZhI8Ccky1iSvLUJmrWW7E1GiPqHYmMf5MJf7NZl3au90bFov\nzEn1PyXWYwKvlezRFRXz0/uJq89iM4E+kzoFGNvYK/k6NsxSpihFTQInQY+x\nwGFYbm2ANVtlzSs+KPInFfgCRMmG+wj0HPhctWYrXgmuLiVKZ5mw1nuGxGOn\nVGKrh81R35smZoTm2+RFopPEZUmXJ6b5sMEQPfRmIH3iqT44ImFyPpxk7EzE\n0WLRC3YzpByzl4L8SI0o4FQ/PAzetR9M90Hiln+A/pNGfxiKBePpDazxNAGz\ni256\r\n=ScaN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDKedsK6LkT/2CAcDuaNpkcj8fsRQzv5ApfDKS0E1kC7gIhAK/E/GgWQobeL2Yl+0eo01dfELK5BYU3n8mSi35lvZVY"}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"marc@passbase.com","name":"marc-passbase"},{"email":"mathias@passbase.com","name":"mathiasklenk"},{"email":"alan@passbase.com","name":"passbase-alan"},{"email":"passbase-npm-ci@passbase.com","name":"passbase-ci"},{"email":"sergii@passbase.com","name":"skorostetskyi"}],"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_2.0.7_1595942233632_0.44825975183146016"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"2.0.8":{"name":"@passbase/button","version":"2.0.8","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@datadog/browser-logs":"^1.12.6","@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^3.4.6","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^3.4.1","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","lottie-web":"^5.7.0","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^3.7.2","uuid":"^3.4.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"10.0.2","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-config-react-app":"^4.0.1","eslint-plugin-flowtype":"3.10.3","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"7.13.0","eslint-plugin-react-hooks":"^1.6.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.12.0","react-test-renderer":"^16.8.6","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","tslint":"^6.1.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC --env.PASSBASE_TEST_APIKEY","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","eslint":"eslint src/","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn eslint","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"$":true,"initializeZoomCamera":true}},"_id":"@passbase/button@2.0.8","dist":{"shasum":"4f6bfba3f8cc1ad2267eef25f23ac4fec937f705","integrity":"sha512-tWIBxfNpvSeFLJYx3gMISgzoGQInLMglJXJNz1worBNrw5b0WG6HQGYHO0D2N5DXrJd0+xInmSy2HlmKCrbwbw==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-2.0.8.tgz","fileCount":6,"unpackedSize":743322,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKTfECRA9TVsSAnZWagAAM8sP+wQnKZ/R7WlXRsUEJfdR\nh4mWCYSioci4hibME8W5gEiteV2LLtfQ++GfnVnUjmzeZiDBlgy9ZyKSDnww\nnWGHcgx814VBxhOekJWHVwE7Gc0UiTDUX7yeYEIGXeyCqLBxnbp3QM4ZPw1D\nCMICotkpZ9ZKcTqGT4WENi3gyQg9y/OccVzS87gWOqi5Fm4cxaz2Y0k+dtHy\nTKf6KkkfF+L4FVWJYSPP8O6qgeoUTbnwUb7tsWvPaR1Cuxz8Khwsb6jqU/3z\ng9+t2yHEwibBvtczp2dPZmq3P5/2gtv+mCsTOYN7hKRDa6oWeYoaXL7orUwg\nCWkSi4kWvZDd0YhrN7MVdlonfOl0nFMjootYDSktn77ANRh+7TRYxXB+JHPu\n9Hg6PdcJtV2jyr8ur+axmkf0nmOP5+3SIlwIPMbw4KhlBffzNpcuTa8PawMG\nEMd8iw25stPrakIPxF8yaJq9A2kn8mZFmHgqi1WPb/3ZYIRskPr0k/l0CZRK\nIfnWCiLeodDYhZ0VM+m6v2BgoCIKGS3KSeieUFaa1w/C4fZfplS+DaTt9D7T\nJEJuDrg1PhtdRJskKscyF3M4Xu5DCTuX2L+YbqF4X9qmrhENd/4cbU8aKx5K\nsLcmTcEajizhtDZNTAlRe7GRiR1wLLYvdVsvFHIfwifLRmhQ00zLE8qb8AjA\nLQtF\r\n=B5LF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA7ceQdfsuxoC3V/LwVgu2jIJJWT9voOpT60cQvZydfIAiAJfOb1Ez7GewDc+NOEeRgum+Zv+chMJH9X2rrPgW8hQw=="}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"marc@passbase.com","name":"marc-passbase"},{"email":"mathias@passbase.com","name":"mathiasklenk"},{"email":"alan@passbase.com","name":"passbase-alan"},{"email":"passbase-npm-ci@passbase.com","name":"passbase-ci"},{"email":"sergii@passbase.com","name":"skorostetskyi"}],"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_2.0.8_1596536772140_0.3830617612407001"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"2.0.9":{"name":"@passbase/button","version":"2.0.9","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@datadog/browser-core":"^1.13.0","@datadog/browser-logs":"^1.12.6","@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^3.4.6","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^3.4.1","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","lottie-web":"^5.7.0","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^3.7.2","uuid":"^3.4.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","@typescript-eslint/eslint-plugin":"^2.20.0","@typescript-eslint/parser":"^2.20.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"6.8.0","eslint-config-airbnb":"18.0.1","eslint-config-prettier":"^6.10.0","eslint-import-resolver-typescript":"^2.0.0","eslint-plugin-import":"^2.20.1","eslint-plugin-jest":"^23.8.0","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-prettier":"^3.1.2","eslint-plugin-react":"^7.18.3","eslint-plugin-react-hooks":"^2.4.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.12.0","react-test-renderer":"^16.8.6","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC --env.PASSBASE_TEST_APIKEY","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","lint":"eslint ./src/**/* --ext .ts,.tsx -c .eslintrc.js","lint:fix":"yarn lint --fix","test:ts":"tsc --noEmit","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn lint && yarn test:ts","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"$":true,"initializeZoomCamera":true}},"_id":"@passbase/button@2.0.9","dist":{"shasum":"26dfe4391273875258b436843fc2a5293b8a8f5d","integrity":"sha512-j2byjDqqjOWrN/sopHlxCWYg96Yb4dSiLxGFI8dGZU8+QtzkE8pM4SVvrlrB0yX2CBKEezOB5WoB2fv93MsdwA==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-2.0.9.tgz","fileCount":6,"unpackedSize":744394,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfMWpICRA9TVsSAnZWagAAjW8QAJczOoHkf0flLApXXGms\nSZMbE4SkvuqwyD7EH7E7gg+E8dtjBz9qOIHMPNGF9VS/Rm+MTnVVhZP2Al2g\nk3k98rzLdzMn2FXrF15hExUIh+5YYQBoQiCItJO/ub9LzmLqE2KwLB4GS2tY\nMfxpWFkWiI3LdpG59GYgfg1tnPWR6vCfRioGKAxB+cjVbo5bzSC/UdjmBz7e\nmApfLnYKNvZ86pHlRkmpKXOuZLKq4FMMyThUFDhGbfmv/1Ppb/FvDZtyjzAz\nLuj8ezl+zq/jfdqJqNyiGNVGEmWsb78vTENHyr06cB4Q43oUPQhyKBozlqX0\nF6FrpVOz6iQ1lNoAdTD3rqBHWFhBIwF6lrwA8azBhSHifFfIrOO6IAbKuJNf\njECrrRO8AbTi//TSxudc/zRjjwNXof1UIBrIULVzbcTZ8wUJdbAc9Gstt4vN\nGdQOjHR+n5GemgKyIRX9KjgVGaCOHiNskNguFLsOq9y1aPg6Hk6Xi7UkkMdO\n18ybyIgkw4HaLIzQLaPeHoYmPa0wQY8JN4JIe2ZXpXCsxtu+/bInhnw6+h5/\nuugGFqSrnwqHGS/yT+x6+4bFISVOTCNGpYX+ZszjQrt/Dt6AmiqdNmQiLKiX\n95isRyW6X23Jxfg+PSBSjch3wV7feMQ718tezDUaRT57cLPveKU2ed6aVYKR\n40st\r\n=KiJT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID0BRa43WXFTs+II+7D8YuZzbNRgEepi0eqXz+cgCD6iAiEA6kVwXjsBAyzLhazLlSyUldohME9+dEHID3KkkGriJn8="}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"marc@passbase.com","name":"marc-passbase"},{"email":"mathias@passbase.com","name":"mathiasklenk"},{"email":"alan@passbase.com","name":"passbase-alan"},{"email":"passbase-npm-ci@passbase.com","name":"passbase-ci"},{"email":"sergii@passbase.com","name":"skorostetskyi"}],"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_2.0.9_1597073991083_0.2423217625094376"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"2.0.10":{"name":"@passbase/button","version":"2.0.10","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@datadog/browser-core":"^1.13.0","@datadog/browser-logs":"^1.12.6","@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^3.4.6","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^3.4.1","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","lottie-web":"^5.7.0","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^3.7.2","uuid":"^3.4.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","@typescript-eslint/eslint-plugin":"^2.20.0","@typescript-eslint/parser":"^2.20.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"6.8.0","eslint-config-airbnb":"18.0.1","eslint-config-prettier":"^6.10.0","eslint-import-resolver-typescript":"^2.0.0","eslint-plugin-import":"^2.20.1","eslint-plugin-jest":"^23.8.0","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-prettier":"^3.1.2","eslint-plugin-react":"^7.18.3","eslint-plugin-react-hooks":"^2.4.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.12.0","react-test-renderer":"^16.8.6","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC --env.PASSBASE_TEST_APIKEY","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","lint":"eslint ./src/**/* --ext .ts,.tsx -c .eslintrc.js","lint:fix":"yarn lint --fix","test:ts":"tsc --noEmit","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn lint && yarn test:ts","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"eslintConfig":{"extends":["react-app","plugin:prettier/recommended"],"plugins":["react-hooks"],"rules":{"react-hooks/rules-of-hooks":"warn","react-hooks/exhaustive-deps":"off"},"globals":{"jestPuppeteer":true,"page":true,"browser":true,"context":true,"ZoomSDK":true,"$":true,"initializeZoomCamera":true}},"_id":"@passbase/button@2.0.10","dist":{"shasum":"723aaad673a6cb76e6555a9ffd1c4c1734474f02","integrity":"sha512-HovJOrjuFwRsXvxP7Mlw4l2JCoUCro/ZDPdu1FRieF4X3oKLTEq7jTjh3+bvQ/gHnowX77ZCMk1R1vE1YnRjCQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-2.0.10.tgz","fileCount":6,"unpackedSize":744405,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfMtS9CRA9TVsSAnZWagAAZQkP+wTw/B6xI8Xm4/tk7SWj\nJMoutnhtOroun+m57XF5yED8MR1yEupTOw5glzXI5ga97GvyuZyFKwq5oC3w\nbbZLDL/dmApDYjXXyVfMBXdZuXNFd8gHFXYncvqOnKuU1dlu6YyMtxinsHke\nPgYtzcPINeaqEGGHIT+w46glyrm6dhOvHGHUjsA+HZ0NT9V8UjPZD+lZCPns\n+9JSNOR+CEBZ8aqOyPdKinyaQbcHLUrQGet34WxjxsU/n7zMlUWNAcK9o/1R\nY+0nTm803NhuCvHa+A0+fe6aJLQw0PUkNsCTulqTeNVwHYc1gMWUwurls9cz\nsXpHVQaot6f9Xfkpun9T0o5uYXJsHeFRK+odTFl0/Bnu9Je67sDdYEMSSmPz\nT8k4oP72dklzXAqJKFpX5Ilj5KRgtYwQiY1ElAoWBqc5SET/mGiUAnEp3WL7\npms5IfxEgqr/NNHEDmKPbeZlPGSYLnSkWlhDifpYfBpwVNc0ookAKZa9Nl6L\nUH5btEWaxS5arJHLCGYp8UwlB62z5RrC0zBXordaAcAmN9n2gGAxEyar+Rp6\n9l+fr1Uow3alFNZm6KiikFrlynDDBCXoi5XpxyqVbKInEp5/9NGqrZAQ3A82\nCPqNamCm08YpLOb3cssEqfT3HO6E98S4qJRQPQ/pewEj4BAcohKRiyXRZUzb\nQqy5\r\n=Fm6k\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDAiU/fT40XbLJ93yoVkxRLADC8jv+PFaUzO1+I2sKIHAIgL6t12zZ4KU09fcF7WLRJo87QhZ6G1EldGJTf2hLVOPg="}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"marc@passbase.com","name":"marc-passbase"},{"email":"mathias@passbase.com","name":"mathiasklenk"},{"email":"alan@passbase.com","name":"passbase-alan"},{"email":"passbase-npm-ci@passbase.com","name":"passbase-ci"},{"email":"sergii@passbase.com","name":"skorostetskyi"}],"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_2.0.10_1597166781041_0.2410733755890242"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"2.0.11":{"name":"@passbase/button","version":"2.0.11","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@datadog/browser-core":"^1.13.0","@datadog/browser-logs":"^1.12.6","@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^3.4.6","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^3.4.1","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","lottie-web":"^5.7.0","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^3.7.2","uuid":"^3.4.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","@typescript-eslint/eslint-plugin":"^2.20.0","@typescript-eslint/parser":"^2.20.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"6.8.0","eslint-config-airbnb":"18.0.1","eslint-config-prettier":"^6.10.0","eslint-import-resolver-typescript":"^2.0.0","eslint-plugin-import":"^2.20.1","eslint-plugin-jest":"^23.8.0","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-prettier":"^3.1.2","eslint-plugin-react":"^7.18.3","eslint-plugin-react-hooks":"^2.4.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.12.0","react-test-renderer":"^16.8.6","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC --env.PASSBASE_TEST_APIKEY","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","lint":"eslint ./src/**/* --ext .ts,.tsx -c .eslintrc.js","lint:fix":"yarn lint --fix","test:ts":"tsc --noEmit","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn lint && yarn test:ts","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"_id":"@passbase/button@2.0.11","dist":{"shasum":"795ba8ad22c876d237a5514894ba534126d0cc36","integrity":"sha512-pJnEkvU87ShmC52oqwt+FvCif5poXJPKrXLzImpcdRYciqiQ7o5rXt3uizSGZL0QYCTNaeXyl8eKF0vBVQrjhw==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-2.0.11.tgz","fileCount":6,"unpackedSize":743955,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfOrYQCRA9TVsSAnZWagAA1B4QAI8aflmaOZhSRlx94e6i\nWaLLBy9iW7a9h7/LJDPlfywwTQ+1XVXWzth7ms/iScEpzkiG7X9RLGUrPyOr\nTaiTZN+AjuaWJ9rWXaDTVabjI08oea6My+Su9zyXokAJ5uQ8FngFZVHqmP0M\nbs5ktJ7OQuf4VoxAWyaZUnBeELrujzpCX0qHovgbgcdc1YxiU2jTTwT/rm1B\nfhFPWChg+jYNAwzV65WUrlEY/PO2DWmmkeF0m1tbZO2/EJQbGj0r3IBen7M/\nlpwb1yxA2FiL4oXUqJ5/qFLXX6z7QYuUiCL8371lUTa7hVaecSw/flrQFr6a\nbXQoyPA5OHEy0aPP+aTLN4QTbAjG+YdGayapArtUTUITk0GnAiNpkY+IkSxk\ndNCZTrr1QbDf60LIhtm4IE2PJYxoYAivbOEYqNCiouEORjYUtqEY/tJ0ilq1\nqsDtO8mak9KJ+aq9FcsTF9uX4b+9U9VGEPORkDMaXSUOS/TTYUVxwrxgxtNu\nchmx+tRXOPmiJDxh+bexlW/4fABYSUjeV/d5uYuJy6YNxOuf/L4cZmXql9BL\nbqBiOHdV8XaZfZIkDqwg6k3jPV+4fNqFtfWWVZi/21DYTKNrM20ZMKDShX7s\n50Eb8Zf5VvHY9GADEduivnoCCMoFhsNlz5rdwDpkOkMhESBasN5aQA2cgVpR\nbElB\r\n=9Pby\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+Lyzq7bwS3pBKag5rMwsqNXpOKMTphg3Xwi6ie/VZqgIhANToE2+PIhTxLGlJu+ZYJ3JGMl+GwQGDnOJOWCpmrMWd"}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"marc@passbase.com","name":"marc-passbase"},{"email":"mathias@passbase.com","name":"mathiasklenk"},{"email":"alan@passbase.com","name":"passbase-alan"},{"email":"passbase-npm-ci@passbase.com","name":"passbase-ci"},{"email":"sergii@passbase.com","name":"skorostetskyi"}],"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_2.0.11_1597683215565_0.6317731938174824"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"2.0.12":{"name":"@passbase/button","version":"2.0.12","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@datadog/browser-core":"^1.13.0","@datadog/browser-logs":"^1.12.6","@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^3.4.6","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^3.4.1","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","lottie-web":"^5.7.0","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^3.7.2","uuid":"^3.4.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","@typescript-eslint/eslint-plugin":"^2.20.0","@typescript-eslint/parser":"^2.20.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"6.8.0","eslint-config-airbnb":"18.0.1","eslint-config-prettier":"^6.10.0","eslint-import-resolver-typescript":"^2.0.0","eslint-plugin-import":"^2.20.1","eslint-plugin-jest":"^23.8.0","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-prettier":"^3.1.2","eslint-plugin-react":"^7.18.3","eslint-plugin-react-hooks":"^2.4.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.12.0","react-test-renderer":"^16.8.6","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC --env.PASSBASE_TEST_APIKEY","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","lint":"eslint ./src/**/* --ext .ts,.tsx -c .eslintrc.js","lint:fix":"yarn lint --fix","test:ts":"tsc --noEmit","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn lint && yarn test:ts","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"_id":"@passbase/button@2.0.12","dist":{"shasum":"4ba9058c840c68eea4285021dc344a12bfa2a6cf","integrity":"sha512-1XRFpB2MMlnB7apaZJmc+dAiJgFFSNkmKbtk4e0euCpKlSB0ptUWpF04H6So01y72JwaG2VJial+VUvDbUuwEg==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-2.0.12.tgz","fileCount":6,"unpackedSize":743955,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfPWaYCRA9TVsSAnZWagAAwmEP/jYmKDR29krg2mJzv322\nShsvpVMSDMDZRLhLPsQWJceKdba3h23t4qAvJtWASIGLj5bQn8N8fyJKXKte\nmHWLHCFnvZmoTbImkgI15vqUttOfUb9gnEQYl/kZSaokJ2Nw9WM+WYpUJ2PI\nNFUvWv6mDh8YRR25B1fPX3L+hx/674wQB7JNLQS9hXDfWU1C60DthblawK5a\n4XiKkpnUQCo2inBzBXxEZWrnMbJT188JF7mESJB0A39DR3S1aP3y8XBGdasl\nCzooRYvJbHR0wN8wssVBoM19Mbg5R0T5LjddEPK+RH/XaRlNYbG3Tzp3DyyW\n2WG8FBQbtMPkzmNz3XIdK3JRbJ0FGZ2dqx4qNsFIryggxJZve6+eAC6worJ9\noTvrHcj8VLZeCAyAdtNVnl3VA3ZFhPLPwEafMBvtAafEuaXfgPf9PC2cM/P4\nAc5/nJLPGcUUQwJDBkYX1QRI8m+s/bw/iUXaB2zvBePFZbJnj627bMz6u4Yr\nhXyHcsWKh2bCdhLxmQHyhWWy3KdB6ECIK8EZiGbBH7Fx4xwMN626ZAkR8D4k\nMSCDVCLCZRiwMjPHWpuJA6+Pr2dAKhl3U2EjDs49V1uNPh84PI/n7OlpziBH\nPkL9kAD7dJZfSEze3wQwH73WRT7ZA3858lZJvX9EneqBMs7cpm++S1VMq9Kr\niBfa\r\n=N3/4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDA6uYL7yhN3+52VhgeKS8o6+EjPX8JBF3fM8ogsH22ZwIgNLHFESXMKdcJbiey8eTXcnLOP64X0szb73KdskEsqAQ="}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"marc@passbase.com","name":"marc-passbase"},{"email":"mathias@passbase.com","name":"mathiasklenk"},{"email":"alan@passbase.com","name":"passbase-alan"},{"email":"passbase-npm-ci@passbase.com","name":"passbase-ci"},{"email":"sergii@passbase.com","name":"skorostetskyi"}],"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_2.0.12_1597859479803_0.4393985265413882"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"2.0.13":{"name":"@passbase/button","version":"2.0.13","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@datadog/browser-core":"^1.13.0","@datadog/browser-logs":"^1.12.6","@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^3.4.6","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^3.4.1","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","lottie-web":"^5.7.0","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^3.7.2","uuid":"^3.4.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","@typescript-eslint/eslint-plugin":"^2.20.0","@typescript-eslint/parser":"^2.20.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"6.8.0","eslint-config-airbnb":"18.0.1","eslint-config-prettier":"^6.10.0","eslint-import-resolver-typescript":"^2.0.0","eslint-plugin-import":"^2.20.1","eslint-plugin-jest":"^23.8.0","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-prettier":"^3.1.2","eslint-plugin-react":"^7.18.3","eslint-plugin-react-hooks":"^2.4.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.12.0","react-test-renderer":"^16.8.6","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC --env.PASSBASE_TEST_APIKEY","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","lint":"eslint ./src/**/* --ext .ts,.tsx -c .eslintrc.js","lint:fix":"yarn lint --fix","test:ts":"tsc --noEmit","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn lint && yarn test:ts","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"_id":"@passbase/button@2.0.13","dist":{"shasum":"5ab823ccb39324871f7d04c4f830ae5301cba2ea","integrity":"sha512-Z4NPoTeQXtd7y4KU1atiCTKrTNSw5NMnQLUl1GPctQZc0IK+mEAVnNjdAxLfmmU6GOEgksVMGFkZvEPCyJqa5w==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-2.0.13.tgz","fileCount":6,"unpackedSize":743955,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfPWzCCRA9TVsSAnZWagAASXEQAIJLHB8YbLBWdueOe6OI\nqY5PPPESTk7KIMSNyE1g5ISsZqQi1l5C2C+QFR967lsm21/6CxFY93qPhi53\nO6dNWosshQCBre7Ort5NOnASc5p45sw6uGgruHh55EokhgyrTBfMFlwqtt13\nSLro6W7XpBgKN/IaVkebRpqaT553i3jiIx9z/z8fpQ+ZyaTM96swoYhcae/2\nUAxRxep2QSBOInvG7qIVhV0yLPqT8GPIa/qyfdU8bKK6Okknujyiz5KA7UW9\nz11SXLf7AyEOF+PDrNgAOQ2AuP6t177QZiIytnvr/MO/SvTk9LCHePj95SzU\nn3yOSFRrPHhHXwji8aajoo2sgd/pf2l8jtY1E5W3/vXAOU6OvJ53ik7ICdpN\n1lB3QNMLbJM5eso1OPSOCFfYIejEw4s2VkM0WpxKoMwqcJVsiuXHG7kYG47E\npOH9pEImd7fz3GAXJhJ+dNRfyO6o1vTuGgLR48ewvFmwhQF4JbxdILPdE/vJ\nj9eKUWNeusfgID2rAHKQpnKv2zVGP4Q/RtVgquPwhDlFmcVnZeYbZ3VvV+7X\na4k/PWDMjZKxd1aDHOvnk5Hw2uqOvZjwLOSd6kPpaLveKHskHCjQA1lAukQ5\n/UqMg5VQeWgIx1QXqkCmdOXvDAF4/LfVVziDQ0W4OB1srQWr6RLlS9BQqS+2\nxAqW\r\n=eZ0R\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHR5TFHlNdcuhgbH0h/GNesamBlnfa6f+CcYdXP5eIR/AiAArrIRb5XCJS+cvHI08m9T/yD7m0PBy65YJfkkPF8cRQ=="}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"marc@passbase.com","name":"marc-passbase"},{"email":"mathias@passbase.com","name":"mathiasklenk"},{"email":"alan@passbase.com","name":"passbase-alan"},{"email":"passbase-npm-ci@passbase.com","name":"passbase-ci"},{"email":"sergii@passbase.com","name":"skorostetskyi"}],"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_2.0.13_1597861058136_0.30145035505415185"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"2.0.14":{"name":"@passbase/button","version":"2.0.14","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@datadog/browser-core":"^1.13.0","@datadog/browser-logs":"^1.12.6","@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^3.4.6","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^3.4.1","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","lottie-web":"^5.7.0","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^3.7.2","uuid":"^3.4.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","@typescript-eslint/eslint-plugin":"^2.20.0","@typescript-eslint/parser":"^2.20.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"6.8.0","eslint-config-airbnb":"18.0.1","eslint-config-prettier":"^6.10.0","eslint-import-resolver-typescript":"^2.0.0","eslint-plugin-import":"^2.20.1","eslint-plugin-jest":"^23.8.0","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-prettier":"^3.1.2","eslint-plugin-react":"^7.18.3","eslint-plugin-react-hooks":"^2.4.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.12.0","react-test-renderer":"^16.8.6","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC --env.PASSBASE_TEST_APIKEY","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","lint":"eslint ./src/**/* --ext .ts,.tsx -c .eslintrc.js","lint:fix":"yarn lint --fix","test:ts":"tsc --noEmit","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn lint && yarn test:ts","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at At [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, cb, apiKey, (options = {}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**cb**: The callback which will be called on completion, (error, authKey, additionalAttributes) => void  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**additionalAttributes**: an object containing attributes that will be stored and retrieved.  \n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n&nbsp;&nbsp;**integrationType**: \\__not_required_ - whether the button is integrated at signup or login  \n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  integrationType=\"signup\"\n  onFinished={(error, authKey, additionalAttributes) => {}}\n  additionalAttributes={{\n    customer_user_id: \"\",\n    another_attribute: \"\"\n  }}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**integrationType**: Whether the button is integrated at signup or login  \n**onFinished**: The callback which will be called on completion, (error, authKey, additionalAttributes) => void  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**additionalAttributes**: _not required_ - an object containing attributes that will be stored and retrieved.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@2.0.14","dist":{"shasum":"89c84310bfd29e3766a5566c09fa60c302342c62","integrity":"sha512-PcPcP5fABSeoyBpfcM6cCwfARg6jn3ZX44vZKiskkoG8oaSAu94habcjLQTKTKBRHX/Jg2U1JJyhYyh79xodPQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-2.0.14.tgz","fileCount":6,"unpackedSize":743499,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUNymCRA9TVsSAnZWagAAIk4QAIFGeGAKeanoRdI0T/ve\n/Dx9UbbIIrAuRbaFttC1aUbKJvsqITH86I5bPnmwY/6p9PhKRcYZSi8OYa0h\nnQ8gfgq/1tBs9Yz05aFWXf+VBYpFSZESCtpf/oDVJYTUxP9imZILfASgj+HW\nhCchrWXWgmZPRf9ltJt3fn2zNhQGvo/lxbXYdkxelUwVkYh4unh0YY3LUtU+\n+nwukZ8/uxxVHxI5GPLjEWQD5jQBaZoNFBlCdSWWlxu0tPqDtR3GJet+rRF9\nRqmZrJnnyONqE7ntzI3rCTXFL6XD36BhO37CoudvoA+cD0PpVGsKbWsn9vWd\nwS/OUiAJWvAZGctWrFvRw5Ic2KWuj8YJ5zY/IKMnuMY/x5Jt4kMp3B5eOwfi\naCVZssqXQsMRb84MQpDrN5Y9BS1TSTuff7owZ5eu2S+CVXhzH5Ttdkf0nMSh\noMhiD+wNhIe5ZO6NcYR1UFuxfGBbMSiHB5xobk2CAvzitRGdPuMCe8PCZ0ga\nwFR7tQ8IgwWxv9hyyxqxUuIv0SuaH/ljs5VGipwrVsi1VLlXK+lvwD9vGnNx\noC1vf8HwCTGBPa8L8rsees35wh9dAyMn63IKPQOwN8TUL/VlYlXEKWqquJtD\nUT6Sn1G5dqQrC2CvPq/Fkpl6NyZFWJ8QiGHvlPaP9SU0F0dT+5jTi3F4Ys34\nf1qn\r\n=aY61\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1ftAaVb0ES97mapVEd6PzmqlHQ+3NUad1FQJnbu6EDgIgce1xa/hXh0ItZcUG4kugLEVoDnPSnaxScCcph3FOxCA="}]},"maintainers":[{"email":"felix@passbase.com","name":"felixgerlach"},{"email":"giovanni@passbase.com","name":"ma9o"},{"email":"marc@passbase.com","name":"marc-passbase"},{"email":"mathias@passbase.com","name":"mathiasklenk"},{"email":"alan@passbase.com","name":"passbase-alan"},{"email":"passbase-npm-ci@passbase.com","name":"passbase-ci"},{"email":"sergii@passbase.com","name":"skorostetskyi"}],"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_2.0.14_1599134885952_0.7600127416256099"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"2.0.15":{"name":"@passbase/button","version":"2.0.15","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@datadog/browser-core":"^1.13.0","@datadog/browser-logs":"^1.12.6","@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^3.4.6","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^3.4.1","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","lottie-web":"^5.7.0","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^3.7.2","uuid":"^3.4.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","@typescript-eslint/eslint-plugin":"^2.20.0","@typescript-eslint/parser":"^2.20.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"6.8.0","eslint-config-airbnb":"18.0.1","eslint-config-prettier":"^6.10.0","eslint-import-resolver-typescript":"^2.0.0","eslint-plugin-import":"^2.20.1","eslint-plugin-jest":"^23.8.0","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-prettier":"^3.1.2","eslint-plugin-react":"^7.18.3","eslint-plugin-react-hooks":"^2.4.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.12.0","react-test-renderer":"^16.8.6","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC --env.PASSBASE_TEST_APIKEY","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","lint":"eslint ./src/**/* --ext .ts,.tsx -c .eslintrc.js","lint:fix":"yarn lint --fix","test:ts":"tsc --noEmit","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn lint && yarn test:ts","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"_id":"@passbase/button@2.0.15","dist":{"shasum":"edeffef60e99e48be38c340f4ca9b812439d300e","integrity":"sha512-PTVHOqzRwecx2wytYYGJMztcu8Zeoo+BQny/SMaspHdPlCEI+sgGMXVvui5YzN6Gxd1bPW4gKCNeskFZjB03hg==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-2.0.15.tgz","fileCount":6,"unpackedSize":743496,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfdud7CRA9TVsSAnZWagAAMPoP/1VC9iUJCPokBX+ExeAb\nI2jMgPhe7qf6siJjmBmfeh5hUSgOY3C9hAcGMvcJMUJ07Yk7p4PGCdhe5X5D\nQ46Ejdo7sHDf+p/p/F1Pw4NzOJgiDDI7xzb9Iw1bIUMEPMzAz4bVdhMqg19a\nUU1NHCgfGlLgHpvIwUFs74LgsM3i9qNfDVEdOx381T5NZ1FyFJaClxmcwlRJ\nYqHoDQD6VHiisqJLVB4MZcy1u13RPVc8hccSSsTzFIE5wvKTRoPEg/qWhlcu\nBS9fjtNtBM9DjD/i7Sg0khCtb7TbWeQ++hHhwp0xzrY2SzVjpA7qWMtqntAx\nmVvHkRMiz2S4nUoU6PZCJgjlpn406HvCtAxWkr/pS5zwvKulD7hn4eHUdlEj\nfmFyy1olYYcpE6HWRoEtsps13iAUK8ui73tZnvb5DYVNvkdS6kmIrF+eBYm4\n+Zic1DjNQRZwT7wO/0aO5ub/sLDF60N6TxzKtSFMVUDSx6WvR4f6EOjkoMxx\nS0/tJyCBuQDRRMjeve3e2G1k2q9OmX4UjeBx3JIDfe5Xe8MXrCba6WMB8/j2\naugRflcyhrdm5AgfIX9IYl8XH0b8m6h9a3P+PrK5VFz6EBNBkodZC4CLu6tg\nskj2GViLSFPvjQ1DLpmwDFPguJS4qNJ//JrKehHyn2TfrNh5DBVvw2Ke3jyu\nZid1\r\n=KbJ8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFmvZ5/VBpotwuu6BRKZuDBqac/LRPWotf5jRlERQRM9AiAMX8i85mpiKrocWHrfJESYzNmYzF8T7liIqTdx7iscrw=="}]},"maintainers":[{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"mathiasklenk","email":"mathias@passbase.com"}],"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_2.0.15_1601628026796_0.05189903337662538"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"3.0.0-rc.1":{"name":"@passbase/button","version":"3.0.0-rc.1","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@datadog/browser-core":"^1.13.0","@datadog/browser-logs":"^1.12.6","@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^8.3.0","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^6.0.3","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","lottie-web":"^5.7.3","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^3.7.2","uuid":"^8.3.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","@typescript-eslint/eslint-plugin":"^2.20.0","@typescript-eslint/parser":"^2.20.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"6.8.0","eslint-config-airbnb":"18.0.1","eslint-config-prettier":"^6.10.0","eslint-import-resolver-typescript":"^2.0.0","eslint-plugin-import":"^2.20.1","eslint-plugin-jest":"^23.8.0","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-prettier":"^3.1.2","eslint-plugin-react":"^7.18.3","eslint-plugin-react-hooks":"^2.4.0","file-loader":"^6.1.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --config ./.webpack/demo.js --env.PASSBASE_BACKEND='passbase-api-preprod-create-identity-api-server.service.passbase.com' --env.FACETEC --env.PASSBASE_TEST_APIKEY","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:static":"NODE_ENV=production webpack --config ./.webpack/static.js","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","lint":"eslint ./src/**/* --ext .js,.ts,.tsx -c .eslintrc.js","lint:fix":"yarn lint --fix","test:ts":"tsc --noEmit","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn lint && yarn test:ts","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost --config ./.webpack/demo.js","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-create-identity-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at At [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, cb, apiKey, (options = {}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**cb**: The callback which will be called on completion, (error, authKey, additionalAttributes) => void  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**additionalAttributes**: an object containing attributes that will be stored and retrieved.  \n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n&nbsp;&nbsp;**integrationType**: \\__not_required_ - whether the button is integrated at signup or login  \n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  integrationType=\"signup\"\n  onFinished={(error, authKey, additionalAttributes) => {}}\n  additionalAttributes={{\n    customer_user_id: \"\",\n    another_attribute: \"\"\n  }}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**integrationType**: Whether the button is integrated at signup or login  \n**onFinished**: The callback which will be called on completion, (error, authKey, additionalAttributes) => void  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**additionalAttributes**: _not required_ - an object containing attributes that will be stored and retrieved.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.0.0-rc.1","dist":{"shasum":"9862d4e39c33e55d0b69379f11241c499e2a12a4","integrity":"sha512-gpiqkzGpm4BuExUDr1TdjdokDaXdT6q3estNg4fybp614vfyTpPi7yxFGO393M06j1b6fMLchExPTd3JqSSktg==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.0.0-rc.1.tgz","fileCount":6,"unpackedSize":757256,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJffFb5CRA9TVsSAnZWagAAmYYP/2easycbQlRbhUWMdtze\na/BBxXVzIGvl3PYycr+tnwTkpQM9IZgqdH5euMN1Hh2ft3HjGhooR8ztzm9q\n1VsdFUpu66fP3txmrTzpTC5t7/xk8NyG1BCc35OP8kt/gNIJcEWBHMN2eyQb\n7OSQLbmp5xnNf3kPIivlztavnw8H4AKlpqXsRSxKgsPi+kQh3HGEoEU4W9nM\nFpj1bEHbH1QMjD/kKXWb1SdYXLiy+8XAXBvxTLrgF2lWymzMj5tqA/n96wRd\ndaUSD/7HAMsZyu8VgSVDuWkA3mYe9vBHyJ2cA6ToghtzZvcuzKb3cPlBxTQs\n8Dr4P0Uppx+v/ppMK8fYoVJ93udHMO6aIasXoDxsEafR2rkY6PXdaJB51flG\nNQug+QCCQ2flBmW2ld9CnXf7GbKAMiOejHV6ddhe6v7HaQOwh1L1bhreQoT/\nNg1lKTuKHhnpSCcZBGOsHhX7/0K1eUfoKqZDOsmeMwsR+2LWKzFwpKWyfmR/\nkb/l95tNuAWM9V1gJhvk8eHvckuov6zSoywR8I0/uM/mYfgzROBx3k4Lkoyc\nPC4IdPC9GCKH8lWxqhmmni+DspsJ4XQtfq9nuBSOoBRgQfOx/7vueqcDT+Cm\n7yN/+hB9aPPQ8S+oVmfkc7VIYwiVGquyoNF8YmEcrMtOakWlFz3O8qTUn+hc\neuEy\r\n=6qhR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9WVnHIU/weWvYyxGr0OGvi5nWkdzKKDV/ycBaO+Pg1gIhAI8X8p5vhh9C54hfQi+BXDePKvC+4h3+LgfjK90BmMfj"}]},"maintainers":[{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"mathiasklenk","email":"mathias@passbase.com"}],"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.0.0-rc.1_1601984248983_0.2557345168666747"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"2.0.16":{"name":"@passbase/button","version":"2.0.16","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@datadog/browser-core":"^1.13.0","@datadog/browser-logs":"^1.12.6","@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^3.4.6","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^3.4.1","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","lottie-web":"^5.7.0","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^3.7.2","uuid":"^3.4.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","@typescript-eslint/eslint-plugin":"^2.20.0","@typescript-eslint/parser":"^2.20.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"6.8.0","eslint-config-airbnb":"18.0.1","eslint-config-prettier":"^6.10.0","eslint-import-resolver-typescript":"^2.0.0","eslint-plugin-import":"^2.20.1","eslint-plugin-jest":"^23.8.0","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-prettier":"^3.1.2","eslint-plugin-react":"^7.18.3","eslint-plugin-react-hooks":"^2.4.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.12.0","react-test-renderer":"^16.8.6","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC --env.PASSBASE_TEST_APIKEY","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","lint":"eslint ./src/**/* --ext .ts,.tsx -c .eslintrc.js","lint:fix":"yarn lint --fix","test:ts":"tsc --noEmit","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn lint && yarn test:ts","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"_id":"@passbase/button@2.0.16","dist":{"shasum":"7ff961725647b8260ad24f8ac2a2cb9a67141be9","integrity":"sha512-5iGQ/zx3d5+kwYMyW/FJndzjjqmKoOiZmCqx4iiOoSUgLP9C1XStHVozwawdtH+Wpjg9+V59FIYyQZJ09XydVA==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-2.0.16.tgz","fileCount":6,"unpackedSize":743496,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJffYBgCRA9TVsSAnZWagAAivUP/2fK7RNZL41WovevR+Nf\nuH5qKr39XDdJXdDw2EpShNxjjuyl83vnQZoA7qu1cpuCa9LvBM0r45rbRFKq\nXq9EQ74DxNTM0nSrUwbQAMVZq6L5qy3bAuToPB6kr/L1kAnrXLixNXsMrIW0\n2jkjNGQnQrLyovgPPA8a7E/ib0OEtjMewpnVIs+aFS0MudTZcQWLIxvq8T/t\ni7a4uf41gng5e0ReDBP+SIuGHrHT4tk2ExQey0Y219LNIA0Bq/5PGO2n8EpE\njBSE06crxR/dv+duoBHuOZ5E/k9Z6UVxN1poQrlc9SLI3Yy1JzfXH4EW0uQP\n4eeNtMK2oygZC9koqlXzvoKmVfpbXLosMfcEij2xg51sjfApkuwZEirfbv+2\n53CFGJAOWbHCZOqjcvn/xOCdsy3f36d9Bv5jm2LFIV+va3Kj2PK9LBzvI1VS\n2OkOPU4F/NdvZAwXydeYe8hql2VWgmsj4tZMbumAXbG8W2OYxyvtUlkwlknT\nqDNVCF+dq8qcWsDAO2LZ5Rvsxpv9EuIBIuO3A5J0HSBIMMhkTtUd+TNHG2c3\n21XP4s+smTAE+BbYPw67m9JJurYCNGlOJQsP6PjvVU8WZAgljL3Jzez39o9b\nhvkDItczoG7+latnb5VGzUhsXraQ3Z7K91LAyi6cP4aiQ3xrJJpWPmZ5NwSz\nbxYB\r\n=zg7t\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDdDddSX0+KAjUFKjoVnseZLzZOqBlPm+kpSpfXkMpReAIhAJ+n5ySxV/KiwdusN/zWQF60n6Y2TGSQhQ28iTYqSgsc"}]},"maintainers":[{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"mathiasklenk","email":"mathias@passbase.com"}],"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_2.0.16_1602060383654_0.6953538629496727"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"3.0.0-rc.2":{"name":"@passbase/button","version":"3.0.0-rc.2","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@datadog/browser-core":"^1.13.0","@datadog/browser-logs":"^1.12.6","@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^8.3.0","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^6.0.3","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","lottie-web":"^5.7.3","qrcode.react":"^1.0.0","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^3.7.2","uuid":"^8.3.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","@typescript-eslint/eslint-plugin":"^2.20.0","@typescript-eslint/parser":"^2.20.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"6.8.0","eslint-config-airbnb":"18.0.1","eslint-config-prettier":"^6.10.0","eslint-import-resolver-typescript":"^2.0.0","eslint-plugin-import":"^2.20.1","eslint-plugin-jest":"^23.8.0","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-prettier":"^3.1.2","eslint-plugin-react":"^7.18.3","eslint-plugin-react-hooks":"^2.4.0","file-loader":"^6.1.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --config ./.webpack/demo.js --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC --env.PASSBASE_TEST_APIKEY","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:static":"NODE_ENV=production webpack --config ./.webpack/static.js","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","lint":"eslint ./src/**/* --ext .js,.ts,.tsx -c .eslintrc.js","lint:fix":"yarn lint --fix","test:ts":"tsc --noEmit","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn lint && yarn test:ts","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost --config ./.webpack/demo.js","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at At [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, cb, apiKey, (options = {}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**cb**: The callback which will be called on completion, (error, authKey, additionalAttributes) => void  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**additionalAttributes**: an object containing attributes that will be stored and retrieved.  \n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n&nbsp;&nbsp;**integrationType**: \\__not_required_ - whether the button is integrated at signup or login  \n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  integrationType=\"signup\"\n  onFinished={(error, authKey, additionalAttributes) => {}}\n  additionalAttributes={{\n    customer_user_id: \"\",\n    another_attribute: \"\"\n  }}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**integrationType**: Whether the button is integrated at signup or login  \n**onFinished**: The callback which will be called on completion, (error, authKey, additionalAttributes) => void  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**additionalAttributes**: _not required_ - an object containing attributes that will be stored and retrieved.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.0.0-rc.2","dist":{"shasum":"bc398c8a46257da1b65689be53833d9114a6be62","integrity":"sha512-/uyvmmxjvr9rhs/FW8UrcAyIp0rIoXn6yCVgSAhQxNSRCoSai/3YZ2AfXupo5mKApzpuoxacPGtpveZ1FYakYQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.0.0-rc.2.tgz","fileCount":6,"unpackedSize":758507,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfh1XTCRA9TVsSAnZWagAAGbgP/iQKSvgyEnB7sk0nu7ZQ\nTOTdzoXsWv3aEO1fhy470EzhK2oR8s4g7uykniYySXVebmXF+42Fg8nm+G3G\nZVe6PRQq+hAw072WzrbKlP+nHh71g8OPrYpZja0yp6WDP1p8+8zl7NAWzFgg\ndteo3toy0DUQehobPQXh59tQGvbvSX9Hl+3MvFGDqMtSxNd9TbiyLmNG/Y06\n2Ri2X0HpjvJjwh1r1HXYZxsmr3tfEjT+AFzirXZaQ+NIZ/LFHR6rOKntyc+k\nvJ2vpKSjf0cFUJfr7cNTcS7xVlGbGj+gqf1Qyx2FWvZHd9l35+oK8vENdjAq\n3SKXkXqvt3aq4J29dS0q6S2qdg+JY5HmawWRMOLbc4nEtgl9WA1vHpSzBkOo\n507yh0aUJgaLou+AQ5gs9AN0uxHHR6yplC6r/yN9dATMlxexoJ81l+h8bPNQ\nIlcg0qiV1coA0Ysor/Tpyagi+Ex+EEDZpXzz07Fu92xVAC9u4w74Wy3MEOyz\naDlBEiClEWwd2uDLdqcXg7wNRD7PZnDcKTXPNb1tBebUtCKyPu21WAmC2tjk\nHOTaBCDyHeNnRNk2FDRztjwQbwB/mvLqXd5Z/5N5vVsdecYuQgk80ZQGN5Iq\nQ1va5BuYt7zP/DeqYGGmJb6wpV4RFK4QSP9qo4Y+VVCvGKyfNJu7U007RIhO\nVPMJ\r\n=u5t1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOoJoB5+upV6T/rLVXPIPUO3PEDiwMiGxcuVgHZo73lwIhANY2J4dqbkaNwlqmQekNs7w8X0JPOa86vVN4E1m47mou"}]},"maintainers":[{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"mathiasklenk","email":"mathias@passbase.com"}],"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.0.0-rc.2_1602704851041_0.40335893302094594"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.0.0-rc.3":{"name":"@passbase/button","version":"3.0.0-rc.3","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@datadog/browser-core":"^1.13.0","@datadog/browser-logs":"^1.12.6","@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^8.3.0","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^6.0.3","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","lottie-web":"^5.7.3","qrcode.react":"^1.0.0","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^3.7.2","uuid":"^8.3.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","@typescript-eslint/eslint-plugin":"^2.20.0","@typescript-eslint/parser":"^2.20.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"6.8.0","eslint-config-airbnb":"18.0.1","eslint-config-prettier":"^6.10.0","eslint-import-resolver-typescript":"^2.0.0","eslint-plugin-import":"^2.20.1","eslint-plugin-jest":"^23.8.0","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-prettier":"^3.1.2","eslint-plugin-react":"^7.18.3","eslint-plugin-react-hooks":"^2.4.0","file-loader":"^6.1.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --config ./.webpack/demo.js --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC --env.PASSBASE_TEST_APIKEY","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:static":"NODE_ENV=production webpack --config ./.webpack/static.js","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","lint":"eslint ./src/**/* --ext .js,.ts,.tsx -c .eslintrc.js","lint:fix":"yarn lint --fix","test:ts":"tsc --noEmit","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn lint && yarn test:ts","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost --config ./.webpack/demo.js","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at At [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, cb, apiKey, (options = {}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**cb**: The callback which will be called on completion, (error, authKey, additionalAttributes) => void  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**additionalAttributes**: an object containing attributes that will be stored and retrieved.  \n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n&nbsp;&nbsp;**integrationType**: \\__not_required_ - whether the button is integrated at signup or login  \n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  integrationType=\"signup\"\n  onFinished={(error, authKey, additionalAttributes) => {}}\n  additionalAttributes={{\n    customer_user_id: \"\",\n    another_attribute: \"\"\n  }}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**integrationType**: Whether the button is integrated at signup or login  \n**onFinished**: The callback which will be called on completion, (error, authKey, additionalAttributes) => void  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**additionalAttributes**: _not required_ - an object containing attributes that will be stored and retrieved.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.0.0-rc.3","dist":{"shasum":"2c534756e0fdadc80cb4ba9b3374fc5823b29cf6","integrity":"sha512-8zcOhSDg7K6Yz2rm4djSvA25vbMjFjZ0qpWPIBxfsBz3Mww6FFRBrnD4fuBEeHroQE1spPvLwx4mEIWP/TvbPw==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.0.0-rc.3.tgz","fileCount":6,"unpackedSize":758507,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfiDH3CRA9TVsSAnZWagAAPuIQAJf7PgxMANAYxiQLGRW0\n1VKgDntgq/SFwGNBAXyvauLXjeoGb84WVoyJuz4hl8w9sHdRseMsFokdmDhB\ny7TfEGWuX7ma6ZbaDWwjjSVQtp4NcUGEYOSj2ui4tBZZg1VSEb/kul2noBqo\nBVVpr7+CnZdwspV/kHJlLOZH9bK4u/BwtcLKVpFPu9utnfY5Na+5q1V5Gc30\nLXJL1RrUe1wcLW9cCv/c3kA5qDEE2DnCm+ivnShxlGhuPTYMFtZ3aBGOGmZ2\n6fD50K2nNnLgTcJX6/QqxPNEXRXX82g8uFXnd7fJ9+5cPMAKfFGMQkq+fEIr\n4pFpwQVQcNtgogQIZdf+MXzYRGuSMFPm1kFAGHKIqfXDPGboeGPlj+UE9+bK\nYLsu+GA9abMEO9mk3bHneXx4USf/jNdGVA435VLvm5+mk62yu8DPahFc/yDd\nkL7eDSvxBotVXTlD9cvELnfscOm5HY+JcEUpNdH63/bpY5X/1fhiPzYMeMS3\np9mFHVmmlfWDRCZhCAbYEf5TGAuGcym83I8YdA8y0FNwCxN4ObuAWK13bwEo\neyFJM+CAGaCU+B+ljw12etVYSMtGIGQJucFFPt7EChhvJdsOF39uqLHhTblJ\n+eWPjz1LAkJmlWz7KTT1kP/5+cPIXKhhRI0ly3mRbE1l3tWeQnJEalqiPNNQ\n0BR6\r\n=cjOU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDg82xJXC2gfArvZExE2DRqX8Or7kNozffyqvzicZ7IDgIhAPfX/DNS7uzip1yzarAn4pdVYboCgNTTY9hB54iLQG63"}]},"maintainers":[{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"mathiasklenk","email":"mathias@passbase.com"}],"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.0.0-rc.3_1602761206443_0.4124079835161607"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.0.0-rc.4":{"name":"@passbase/button","version":"3.0.0-rc.4","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@datadog/browser-core":"^1.13.0","@datadog/browser-logs":"^1.12.6","@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^8.3.0","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^6.0.3","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","lottie-web":"^5.7.3","qrcode.react":"^1.0.0","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^3.7.2","uuid":"^8.3.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","@typescript-eslint/eslint-plugin":"^2.20.0","@typescript-eslint/parser":"^2.20.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"6.8.0","eslint-config-airbnb":"18.0.1","eslint-config-prettier":"^6.10.0","eslint-import-resolver-typescript":"^2.0.0","eslint-plugin-import":"^2.20.1","eslint-plugin-jest":"^23.8.0","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-prettier":"^3.1.2","eslint-plugin-react":"^7.18.3","eslint-plugin-react-hooks":"^2.4.0","file-loader":"^6.1.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --config ./.webpack/demo.js --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC --env.PASSBASE_TEST_APIKEY","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:static":"NODE_ENV=production webpack --config ./.webpack/static.js","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","lint":"eslint ./src/**/* --ext .js,.ts,.tsx -c .eslintrc.js","lint:fix":"yarn lint --fix","test:ts":"tsc --noEmit","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn lint && yarn test:ts","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost --config ./.webpack/demo.js","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at At [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, cb, apiKey, (options = {}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**cb**: The callback which will be called on completion, (error, authKey, additionalAttributes) => void  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**additionalAttributes**: an object containing attributes that will be stored and retrieved.  \n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n&nbsp;&nbsp;**integrationType**: \\__not_required_ - whether the button is integrated at signup or login  \n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  integrationType=\"signup\"\n  onFinished={(error, authKey, additionalAttributes) => {}}\n  additionalAttributes={{\n    customer_user_id: \"\",\n    another_attribute: \"\"\n  }}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**integrationType**: Whether the button is integrated at signup or login  \n**onFinished**: The callback which will be called on completion, (error, authKey, additionalAttributes) => void  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**additionalAttributes**: _not required_ - an object containing attributes that will be stored and retrieved.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.0.0-rc.4","dist":{"shasum":"d545e1840cdc4d61e8187dfe17428d35273c99cb","integrity":"sha512-0FXwppWf06PM+Pq3fkJpMhDHQTdcEgAQtNMbJ+T+uZdI4035HE3YT9oivPDSBh4XhrbN2FVU3Hl2p8eJA1wBFA==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.0.0-rc.4.tgz","fileCount":6,"unpackedSize":758507,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfiGTXCRA9TVsSAnZWagAAG6oP/1z75c7h08NYK8uN8Ty2\n8dCm4EvDvoYHZaPsg4+YOgtfdL84/IivIXguydM4PO5AZBJXLTW0vpJCi8yE\ngjRiQ8R4q7p2K2TqAJU8EK5T/vS16D57aAz7pwziaggHva5iHD/MZ/dXjzTF\nVn+ptd1hjTUhaD89H5GgWeoqkEGBkuA+Qt5QtFK5GwYuYgNWQxtsTBccbJec\n5rUCr47Ni58fCaiQObQ3QX09nSgtVBPmBc3p7/Q1zlmpC8zTkEPmmqUda++5\ncHFPmVN5oDIyLRyFkHBVic+6U+HW8uZTaeUJ2JkZCji5RclNboSZ+eI6eSMG\nRt2ZL7yFfWf1k4nlBEDz2wYlatuz88YToSKkBuNSX5zmJ1IwNaqBc3krfzUX\nLzSp34+64kB9n0nKaKW9jfaJgUwKH/CqQ/HazvyjBZkZmHZdpo3OfmZRXL13\natVoYqkWXql29kkCubX60IUqFlxHOu3MozDvPXmdXwGRdwI/2e/JmCxiwO2n\ndszLSmweWUU+zxDesE3NfBkDSDyT8XRQWQYa0/5LWNWJK7YAAi8mHvZ5+5oT\nrloigp44oMDuo2YrEsupvPFBahsThzhOOvvFc+ahdqMTUmjs+3NO82bwEfum\n0Zb5ledK1WSrxXOSJGmUikRNtv2i6pmse/anXu91AJ5L4wHdC1HT7K1htj95\nRg+I\r\n=aeLO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3dAzAhTY3kvaVw+zmSTyVLSabENgL/8uI2oE9tc8qpQIhAObPtjMY0y+Mz718t+4TOTzcuJnHbiB+5fAciJELnKcx"}]},"maintainers":[{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"mathiasklenk","email":"mathias@passbase.com"}],"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.0.0-rc.4_1602774230463_0.7257465904992844"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.0.0-rc.5":{"name":"@passbase/button","version":"3.0.0-rc.5","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@datadog/browser-core":"^1.13.0","@datadog/browser-logs":"^1.12.6","@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^8.3.0","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^6.0.3","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","lottie-web":"^5.7.3","qrcode.react":"^1.0.0","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^3.7.2","uuid":"^8.3.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","@typescript-eslint/eslint-plugin":"^2.20.0","@typescript-eslint/parser":"^2.20.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"6.8.0","eslint-config-airbnb":"18.0.1","eslint-config-prettier":"^6.10.0","eslint-import-resolver-typescript":"^2.0.0","eslint-plugin-import":"^2.20.1","eslint-plugin-jest":"^23.8.0","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-prettier":"^3.1.2","eslint-plugin-react":"^7.18.3","eslint-plugin-react-hooks":"^2.4.0","file-loader":"^6.1.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --config ./.webpack/demo.js --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC --env.PASSBASE_TEST_APIKEY","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:static":"NODE_ENV=production webpack --config ./.webpack/static.js","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","lint":"eslint ./src/**/* --ext .js,.ts,.tsx -c .eslintrc.js","lint:fix":"yarn lint --fix","test:ts":"tsc --noEmit","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn lint && yarn test:ts","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost --config ./.webpack/demo.js","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at At [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button@v3\n\n# Yarn\nyarn add @passbase/button@v3\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, apiKey, (options = {\n  onFinish,\n}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void  \n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void  \n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void  \n**onError**: _not required_ The callback which will be called on error, (error: string) => void  \n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.0.0-rc.5","dist":{"shasum":"dae0b03cb2eb7c189864233b1411f34656ce0846","integrity":"sha512-orOcQmy7TJc8Uc0BywUW/fNGa8AgudOVmbUvuTg3Fy8s/XnAIYOsaSYBw7X16fsUexL4SxHN0nW4/FzKC6iAgQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.0.0-rc.5.tgz","fileCount":6,"unpackedSize":758349,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfiIaUCRA9TVsSAnZWagAALvIP/jrseo4tyL2nH79zCctn\nfamyqyaI7zTLj3u9GXxlqZNP9ONdN52Vqbl0FkpuRW8WltKvMey+uNJqNrZ6\nqGeM1O338T+IRUsXzRejyfi3h7zMpoAv4bYWJhuQocsSfcDsf5hzoVPQirgs\nNCHPpuc3gtVlgCBnO7YuByktsm3pyEmdJr/aEk0+nJ2biMNrLM1CT3i6mGd9\nRteHXQ7lLNbxIZ+zkdl+fpZaxt94Ms791Dz7pxTXRyJ100PJd5/kU67lQHIK\nA+zKuwf0dqvIobRCH/LSz/Ak4p8rbs+hdBLLWLXBAYS+Uc9cX0Lbs7ACDfKe\nqIUE2KyGDt/N/a6+dfWa6AjkV2/HVUVRrOY/HpCqs+V+OLc8tY/4NmxR9Wsn\nxXDcqR+8HdRjzhMkR7WzXOdCKkZu05LoHu9DChtvmDpcFEwn3L3z7Lp4PUAO\nJIPODRVVAtG/q+JVuLMEqxqbZH0QcEGyU9RsthXh9jOXnIl2oWFIQSYXK0lI\nce66J5rnxr1p6hJ+qHkTQxAZb/5ahn/pZgKnVUm2wVe/bklTu7/BUq5Offjt\ngvDqczc+bmohHKlS/x4SF4yP0GNw688L0gm54sQrLE9bJU7KJmirWbE7DhdD\nPZjm8wRxaCor7DeQNNRgCmP2JLlxTAuNjbDTa++zvw4VazpAl7TfYcmPlWoj\nxEyF\r\n=aegR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCA+eAfCQGm57Bt8IsdiltaqCIPtalG08nX5+qPBFS2CQIhAN0/gz61gKKG+y3VGqic35FcTN7tiWozuz4bwAuqxiDl"}]},"maintainers":[{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"mathiasklenk","email":"mathias@passbase.com"}],"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.0.0-rc.5_1602782867876_0.4061155450977665"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.0.0-rc.6":{"name":"@passbase/button","version":"3.0.0-rc.6","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@datadog/browser-core":"^1.13.0","@datadog/browser-logs":"^1.12.6","@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^8.3.0","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^6.0.3","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","lottie-web":"^5.7.3","qrcode.react":"^1.0.0","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^3.7.2","ua-parser-js":"^0.7.22","uuid":"^8.3.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","@types/ua-parser-js":"^0.7.33","@typescript-eslint/eslint-plugin":"^2.20.0","@typescript-eslint/parser":"^2.20.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"6.8.0","eslint-config-airbnb":"18.0.1","eslint-config-prettier":"^6.10.0","eslint-import-resolver-typescript":"^2.0.0","eslint-plugin-import":"^2.20.1","eslint-plugin-jest":"^23.8.0","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-prettier":"^3.1.2","eslint-plugin-react":"^7.18.3","eslint-plugin-react-hooks":"^2.4.0","file-loader":"^6.1.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --config ./.webpack/demo.js --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC --env.PASSBASE_TEST_APIKEY","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:static":"NODE_ENV=production webpack --config ./.webpack/static.js","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","lint":"eslint ./src/**/* --ext .js,.ts,.tsx -c .eslintrc.js","lint:fix":"yarn lint --fix","test:ts":"tsc --noEmit","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn lint && yarn test:ts","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost --config ./.webpack/demo.js","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-preprod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-prod":"NODE_ENV=production yarn start-https --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at At [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button@v3\n\n# Yarn\nyarn add @passbase/button@v3\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, apiKey, (options = {\n  onFinish,\n}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void  \n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void  \n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void  \n**onError**: _not required_ The callback which will be called on error, (error: string) => void  \n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.0.0-rc.6","dist":{"shasum":"92870cb17670af91f17cb822f4c8b438f76ee273","integrity":"sha512-WN88+I5JvOH7rOMsk90UycFzx0gxSgu+iXVO0SDpKR+bxKU7gIZLdxRfVOPsccxkfDA8zwdOYW9n7VajFa/E9w==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.0.0-rc.6.tgz","fileCount":6,"unpackedSize":804381,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfjvT0CRA9TVsSAnZWagAAPE4P/072sjQ+eE+Cd+y+kvQw\naomygi5xDhg3AqG4WhYPn5jLv1266q0CpzjYi+eGtut+R22ZK/y5jWkcIfxL\nbu6io5khajuL+c1+FfS7K+d9ToABWmOiXBWYZSCo08oKs5lm3Mb9frkoFn5B\nVz9Djy7EaQQV8j3copWYM7Ba6A6548UQdDsmG6n7rss82lXiE/i5FMOu6Ecl\nJ5St3NrVMbhHGNJ4vhIcFaAVrU0X9wfdQuP5VTbMZiTDq+CxUu/EYaRIuMQ3\nKZY3alWg1wAd55uhxiSLjPMcBdBKvJuPwynhfPIxePNYYsbWa4d9cHMMdyke\nxvga37djBE4XBgoBM8CSs9diOr1lqngq8CCp4742J3aH5xGar9/Ft0h4U1uO\nA24w5mlfHH5TKYBwcEZmeYGnQPrjxflLEtl4N/kt3QXgXhvKJ9eqYA2ELbMV\nj0rlyz9HbFWujzCTNy/qdK4KRZpViuF1GF7NhZwFWSPo156phj40P5jZmrDk\n7BZw25Hyq2knV9ovzVPzc/9WQMLe62h25x97cFjfSarwsGVGv4xPWd17GSYl\nPEc1kakbj+qN7p2FIq12WkR0GqYNjkNXaKoauNxrKd+moCTevW3Aqd2Md/A8\nko/toENIEtr4oz1R75HbucqIO/wz6RfwOC/75JuRZvIIBCw/WgfXkuKH+Jts\n9/hh\r\n=vTwh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHOIl8HUdJl1hMvQFq0NuTpa4yzfaOq/MxGmGDUUO9tlAiEA1Vn/l1anKtIK3i+uCJEjrLR92ls8c9NOcXgYftVOF78="}]},"maintainers":[{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"mathiasklenk","email":"mathias@passbase.com"}],"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.0.0-rc.6_1603204339530_0.6762400581699375"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.0.0-rc.7":{"name":"@passbase/button","version":"3.0.0-rc.7","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@datadog/browser-core":"^1.13.0","@datadog/browser-logs":"^1.12.6","@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^8.3.0","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^6.0.3","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","lottie-web":"^5.7.3","qrcode.react":"^1.0.0","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^3.7.2","ua-parser-js":"^0.7.22","uuid":"^8.3.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","@types/ua-parser-js":"^0.7.33","@typescript-eslint/eslint-plugin":"^2.20.0","@typescript-eslint/parser":"^2.20.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"6.8.0","eslint-config-airbnb":"18.0.1","eslint-config-prettier":"^6.10.0","eslint-import-resolver-typescript":"^2.0.0","eslint-plugin-import":"^2.20.1","eslint-plugin-jest":"^23.8.0","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-prettier":"^3.1.2","eslint-plugin-react":"^7.18.3","eslint-plugin-react-hooks":"^2.4.0","file-loader":"^6.1.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --config ./.webpack/demo.js --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC --env.PASSBASE_TEST_APIKEY","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:static":"NODE_ENV=production webpack --config ./.webpack/static.js","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","lint":"eslint ./src/**/* --ext .js,.ts,.tsx -c .eslintrc.js","lint:fix":"yarn lint --fix","test:ts":"tsc --noEmit","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn lint && yarn test:ts","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost --config ./.webpack/demo.js","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-preprod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-prod":"NODE_ENV=production yarn start-https --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at At [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button@v3\n\n# Yarn\nyarn add @passbase/button@v3\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, apiKey, (options = {\n  onFinish,\n}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void  \n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void  \n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void  \n**onError**: _not required_ The callback which will be called on error, (error: string) => void  \n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.0.0-rc.7","dist":{"shasum":"c3f24b3aa195f7a00d770a33a6d92eb3684fad08","integrity":"sha512-3rQfVbR08s1LjryXSgMEAj4CWIAsNAw/Ah4DsZFhoQqoLUcv8Ed7DKTtn6ItQJDh8NJ/mp48fYthx/eAtwn4fQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.0.0-rc.7.tgz","fileCount":6,"unpackedSize":893298,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkAl2CRA9TVsSAnZWagAAQh8P/2wy9vB0g2VZKdpHdnRN\ndClzutO/iurqUTpbsxvmpfs9QtjUK99X2GyKu8wLMuYheR9sJ72NWAHWMEVQ\nKUD/2M7eX7LL2iSUKRM/Tb1cuTXAgns+thUL/odngtdcl9z5NNI9xncNb9oi\nbkX70dTswewUB2nUy1oRrvUfLByiskR2HU3pxV/0KmpGRIvVgiwsXh4dbBEF\nUJA6vUPcF2O4SSBPtJbwh6G+U67bKGgKNgvTsIyMdP5CsVkq6M7VS73cT6nk\n4lnVSZzn6Ak6hn+rzwbV03ZBVJqZOgiDzgJq5rVdmpujeUUwfjhAkqkErt92\nSIMRf0OroHHAMGVoCe/rHRATtIPh7N+VBP88dlZ4NgAyEszgBzAwi2t+lugp\nJz/Pn69uFFdqp5MACv4FUh6nevOzKPd2FvGXrj+E7nFtstOcKC9eX/2dG3EL\n4Dknq0x/Y/6/wz5YoG7ODL+YeoBvPQi5daPs68dR0ICWCYyWJDV+CCCIhHCB\nzCFRQjevacA1GNA4nKZTlHjleZSphKceVvmjjnr1APagc37efpRL3udVNw6Y\nVLJjPrCE0GJ55Px0kXI69fL+LjMDoft1x/Znl9QurR9HHfyLG0xhaLp1a6hV\nbJpLVebmN4+nv6bfZuuPwoQB8Ha8mTwF/CpcU7Fitjd+CTWfuIWm/VNuamM5\n71ZD\r\n=u3B5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGUTFsm2Glo0OFWOXqYUCElb4D4jZfsU+k17GkuWVVEWAiAC3vlLCNB6MfmDjQem5FFJvKxl19NxIg100M5jVF9RwQ=="}]},"maintainers":[{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"mathiasklenk","email":"mathias@passbase.com"}],"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.0.0-rc.7_1603275125417_0.8328178656996768"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.0.0-rc.8":{"name":"@passbase/button","version":"3.0.0-rc.8","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@datadog/browser-core":"^1.13.0","@datadog/browser-logs":"^1.12.6","@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^8.3.0","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^6.0.3","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","lottie-web":"^5.7.3","qrcode.react":"^1.0.0","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^3.7.2","ua-parser-js":"^0.7.22","uuid":"^8.3.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/react-phone-number-input":"^3.0.5","@types/styled-components":"^4.4.0","@types/ua-parser-js":"^0.7.33","@typescript-eslint/eslint-plugin":"^2.20.0","@typescript-eslint/parser":"^2.20.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"6.8.0","eslint-config-airbnb":"18.0.1","eslint-config-prettier":"^6.10.0","eslint-import-resolver-typescript":"^2.0.0","eslint-plugin-import":"^2.20.1","eslint-plugin-jest":"^23.8.0","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-prettier":"^3.1.2","eslint-plugin-react":"^7.18.3","eslint-plugin-react-hooks":"^2.4.0","file-loader":"^6.1.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --config ./.webpack/demo.js --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC --env.PASSBASE_TEST_APIKEY","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:static":"NODE_ENV=production webpack --config ./.webpack/static.js","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","lint":"eslint ./src/**/* --ext .js,.ts,.tsx -c .eslintrc.js","lint:fix":"yarn lint --fix","test:ts":"tsc --noEmit","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn lint && yarn test:ts","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost --config ./.webpack/demo.js","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-preprod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-prod":"NODE_ENV=production yarn start-https --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at At [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button@v3\n\n# Yarn\nyarn add @passbase/button@v3\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, apiKey, (options = {\n  onFinish,\n}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void  \n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void  \n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void  \n**onError**: _not required_ The callback which will be called on error, (error: string) => void  \n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.0.0-rc.8","dist":{"shasum":"414e4701311144bcef5e2590607df1afa881df29","integrity":"sha512-6I3A/dHvYZ6TjludWjabj+JdR1obWhq+v3BhR6NZjMiK9i9zndl6vTO2bRVJAkOUPCIefPN4dIuaXwvhYV9lgg==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.0.0-rc.8.tgz","fileCount":6,"unpackedSize":893439,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkCSdCRA9TVsSAnZWagAAwa4P/ioxauDraQFZD7r6EACY\nXBUio13Ynvx169MQgQUyzZEMYAx2eqWQWro7L1X9Z4KbpxygQSgEpSbgtlZ8\nBHJYYE30ajuV58NO4OkH+JRyaLzuJpeI92pOnzpQ2yUM3htGzT+mF1j4N4QN\nswObIygfsTG1FfPyun5gX3VfGy5gMtcSSoPWq1fgaHXAwJAwI+goWTZ5bZCd\nS8KN0gFgtNnlRFzmdcfef2UeaJjJiEzEtauHIezFNGAY6cPsX9Kx1xudtGmo\nvv9cYP1o3EDG8R2DJ5rKw0hK/BShoF8vfqegH+8KTjVMOL4+2/b0AGttDKPw\nF+J63BjXKG7F7/XbYS9lMEPsfhd24KmkkBUsEhLB9xxvJyeXccy5XcARxeKx\nPrkErA8BXjCuaQVhhn3uk3G8BzApx7oBz8gG2aGG5cN2b5QiKrv5lOJnTE1T\nZuOcKqye7Ie+movDipc1YGwUcbFuFl/CL8Nb2Kxug1E6APGvdNZXVB+j8ysq\n0KQaWBbjS58u0/L8m8Fdtm6eMhC6N5tFYW8DS/2G8LBhkRGJt+0Qu81opC5f\n2fctCyeYt40zHzlesRtrEvPmZt/ZxqQt0DdyR2dKM1sWv46CMdMS0bKqU8ou\nhw3RgM5pDVR2xQaCUFvdcJqUqt0pVdUA5vuXFmA5IFXlH+9bzYi2Be3qFf3P\n8vJM\r\n=+boR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDqCB3l0ZJHr9vckEh3xoDtN/6Wo5lyeaP2hhwKJWloRwIhALbfI8KBhqause4NUvCfPKxcEMfK5cJDUXopRSvOmaPz"}]},"maintainers":[{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"mathiasklenk","email":"mathias@passbase.com"}],"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.0.0-rc.8_1603282076406_0.03904682281103233"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.0.0-rc.9":{"name":"@passbase/button","version":"3.0.0-rc.9","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@datadog/browser-core":"^1.13.0","@datadog/browser-logs":"^1.12.6","@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^8.3.0","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^6.0.3","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","lottie-web":"^5.7.3","qrcode.react":"^1.0.0","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^3.7.2","ua-parser-js":"^0.7.22","uuid":"^8.3.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/react-phone-number-input":"^3.0.5","@types/styled-components":"^4.4.0","@types/ua-parser-js":"^0.7.33","@typescript-eslint/eslint-plugin":"^2.20.0","@typescript-eslint/parser":"^2.20.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"6.8.0","eslint-config-airbnb":"18.0.1","eslint-config-prettier":"^6.10.0","eslint-import-resolver-typescript":"^2.0.0","eslint-plugin-import":"^2.20.1","eslint-plugin-jest":"^23.8.0","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-prettier":"^3.1.2","eslint-plugin-react":"^7.18.3","eslint-plugin-react-hooks":"^2.4.0","file-loader":"^6.1.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --config ./.webpack/demo.js --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC --env.PASSBASE_TEST_APIKEY","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:static":"NODE_ENV=production webpack --config ./.webpack/static.js","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","lint":"eslint ./src/**/* --ext .js,.ts,.tsx -c .eslintrc.js","lint:fix":"yarn lint --fix","test:ts":"tsc --noEmit","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn lint && yarn test:ts","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost --config ./.webpack/demo.js","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-preprod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-prod":"NODE_ENV=production yarn start-https --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at At [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button@v3\n\n# Yarn\nyarn add @passbase/button@v3\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, apiKey, (options = {\n  onFinish,\n}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void  \n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void  \n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void  \n**onError**: _not required_ The callback which will be called on error, (error: string) => void  \n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.0.0-rc.9","dist":{"shasum":"086267adb7afed2df0417e177391420fe2b6aabd","integrity":"sha512-9LDMUJ1haz7rvLYLTtjTE4KImojQW4bzD6oE+f5vTYFK8ZcSGyT1HkmAnxVNl/UeDmY8sVE5cmMsI1FfjnuKCQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.0.0-rc.9.tgz","fileCount":6,"unpackedSize":893499,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkcNsCRA9TVsSAnZWagAAIjYP/0/LMgWNepr2iTlfBWe+\niS9df4H5yILMQr4laFqjMqgLvSGAxCGd2x2tbHCdUEBqIuYJ4fk1F+KtTuAh\njxQnKEekLdf1TEWxS/sSgg+2D5o1RHJD+j5UFCjH3CRRUaMZTLWZFds7gd5b\nqIQOFDaO/SJkCM/vbP9zzjvQf5W7yN5nr1OQCAGzLJXgLfmLfDRkIIRDdsok\nMUpcqnhQ629zNVaZeAYlk3vi5gcOLu3qGl8VDsqdGgRYgqmxHqkcj38wDUFR\nR17QiuY8/dJ/4+2a927oWx6vILWu4IqR6gFAZbrX+QewQ/O3FUesWFAWZLH7\nSF0Wc4RiCzTePi8F4Vpc1c4EHJ3OqpZJzwWNzO2bTU8nvrQaYttX8uapKZWZ\nIYjL/dhtaV6U1ZNnkXeZSzlo2tkmywTFRAELMrYIS3vlXGWm6HXruaIyYk2I\n96S7iTzAoLYjtATq9RuYvPidtLGUhGtjsa8cZH3iHfjq1HIeao5ePA196s/h\nR/Eve+5XHUwttGNDpKRDFl5ek0FdoDbp5Bg6tXFaYfEp7isrVgM9n2RVxXis\n0jV6SICjwwHgg4vU8Du+mx24hcp1tlOCe31SYjIK1LySEL2hflUO8k94CMK7\nxIQZwRX/d7231afb8yOsNs37kj6oLoCdOFQxw2GRgejDwRloqm8uwc8/YOFu\nUZgn\r\n=5xMg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIApUDLq727/jA+rpG6+W2/10iAguGt01NY+GQbypYUFrAiAsR22ABqxoL39rg1kc01QArHWSMIYMM9KJN7sKk3US+w=="}]},"maintainers":[{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"mathiasklenk","email":"mathias@passbase.com"}],"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.0.0-rc.9_1603388267698_0.9713101362064018"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.0.0-rc.10":{"name":"@passbase/button","version":"3.0.0-rc.10","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@datadog/browser-core":"^1.13.0","@datadog/browser-logs":"^1.12.6","@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^8.3.0","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^6.0.3","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","lottie-web":"^5.7.3","qrcode.react":"^1.0.0","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^3.7.2","ua-parser-js":"^0.7.22","uuid":"^8.3.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/react-phone-number-input":"^3.0.5","@types/styled-components":"^4.4.0","@types/ua-parser-js":"^0.7.33","@typescript-eslint/eslint-plugin":"^2.20.0","@typescript-eslint/parser":"^2.20.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"6.8.0","eslint-config-airbnb":"18.0.1","eslint-config-prettier":"^6.10.0","eslint-import-resolver-typescript":"^2.0.0","eslint-plugin-import":"^2.20.1","eslint-plugin-jest":"^23.8.0","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-prettier":"^3.1.2","eslint-plugin-react":"^7.18.3","eslint-plugin-react-hooks":"^2.4.0","file-loader":"^6.1.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --config ./.webpack/demo.js --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC --env.PASSBASE_TEST_APIKEY","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:static":"NODE_ENV=production webpack --config ./.webpack/static.js","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","lint":"eslint ./src/**/* --ext .js,.ts,.tsx -c .eslintrc.js","lint:fix":"yarn lint --fix","test:ts":"tsc --noEmit","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn lint && yarn test:ts","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost --config ./.webpack/demo.js","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-preprod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-prod":"NODE_ENV=production yarn start-https --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at At [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button@v3\n\n# Yarn\nyarn add @passbase/button@v3\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, apiKey, (options = {\n  onFinish,\n}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void  \n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void  \n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void  \n**onError**: _not required_ The callback which will be called on error, (error: string) => void  \n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.0.0-rc.10","dist":{"shasum":"3fa74ee1d40c070108936773ba2b55431799f418","integrity":"sha512-B/j610oOfp86rwFZ1ZL5PbTclv+IyG67SCIhhR1AkCtHhArtqAEU7nwE5iQQ/Z3QE2U+oOWhovyl+C7CWTRJbQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.0.0-rc.10.tgz","fileCount":6,"unpackedSize":893525,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkrPrCRA9TVsSAnZWagAAeD0P/3hCJ+mkXHjO8x2tc2y4\nfO0ZBMkvz6H8DSuJsyxr2Tf+ehdMqk523FC/FTqzDypjRfNJuFKFt6GVnsK+\nG1qrEVtd9j/2Oxwb/usSOH0HfTH74lr5HjG3PPkhV9ZTm938O6AK+zEreSzo\nKws7iO21+FKUobbheZa+yX0BmN2lHW0B7fTiy7C24Ag5FgOLS23aQG7hgWzN\nhk7v1Vbj1UsPrmS3Ug34baKXS+nfBqnsYVkb/HI8T6DoFxnAoCTA+qXg1Jzd\nrQbQ+xL19w5ZkxOcpBPlCwgW9WdgoXiSrFezk3jFb5EKH9joUMmDlCJGWxnJ\niWgLOBPr41rGKLC7Qgrub2wr6BRUeuYlouaYjDDGlYi2wkupFLTrFkE5tP4J\nRnA12vfgws4r3aoLwJv3YmLNOl2me3Q2lrMA1iT1dIY1yY3pgc0nnyNJV2bu\n8LTN7Hq/LSXSwu0DIBUeQgx2EYjjphzDwa4FcAz3ifGYL/5yTPXpQkJVU2tl\nkfw/e3MIa6y3lnDHvamqanwR+wCg7s3Oo3N6FkhMuiyZgSSADSxCpy9fNTy2\nR4iuN3QnKroUuia/rE+6BqMJ7ojz9mya4xinfkancROU1qSDg7RR7eus0ZZe\n6r5s1DaY5r0SAzJzAwdwpDH20iE8OAB1bEVC4YIOm28FPMraNVGkk4X9zC8E\n6/5Z\r\n=zHZD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmxvOOTFWj0ZnAXMiUTEohf5UCYqRDLM/HRhsgg1VLnAIgPkTKNJCudt39LTZVd7dQWCyIPj6ec3xBFXLW1upDngQ="}]},"maintainers":[{"name":"agorfine","email":"amanda@passbase.com"},{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"mathiasklenk","email":"mathias@passbase.com"}],"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.0.0-rc.10_1603449834447_0.9888961552842139"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.0.0-rc.11":{"name":"@passbase/button","version":"3.0.0-rc.11","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@datadog/browser-core":"^1.13.0","@datadog/browser-logs":"^1.12.6","@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^8.3.0","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^6.0.3","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","lottie-web":"^5.7.3","qrcode.react":"^1.0.0","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^3.7.2","ua-parser-js":"^0.7.22","uuid":"^8.3.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/react-phone-number-input":"^3.0.5","@types/styled-components":"^4.4.0","@types/ua-parser-js":"^0.7.33","@typescript-eslint/eslint-plugin":"^2.20.0","@typescript-eslint/parser":"^2.20.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"6.8.0","eslint-config-airbnb":"18.0.1","eslint-config-prettier":"^6.10.0","eslint-import-resolver-typescript":"^2.0.0","eslint-plugin-import":"^2.20.1","eslint-plugin-jest":"^23.8.0","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-prettier":"^3.1.2","eslint-plugin-react":"^7.18.3","eslint-plugin-react-hooks":"^2.4.0","file-loader":"^6.1.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --config ./.webpack/demo.js --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC --env.PASSBASE_TEST_APIKEY","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:static":"NODE_ENV=production webpack --config ./.webpack/static.js","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","lint":"eslint ./src/**/* --ext .js,.ts,.tsx -c .eslintrc.js","lint:fix":"yarn lint --fix","test:ts":"tsc --noEmit","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn lint && yarn test:ts","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost --config ./.webpack/demo.js","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-preprod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-prod":"NODE_ENV=production yarn start-https --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at At [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button@v3\n\n# Yarn\nyarn add @passbase/button@v3\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, apiKey, (options = {\n  onFinish,\n}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void  \n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void  \n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void  \n**onError**: _not required_ The callback which will be called on error, (error: string) => void  \n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.0.0-rc.11","dist":{"shasum":"ad63d685de7db59e138ed29f7ea4c76fc934ac7a","integrity":"sha512-nlqmdh2IUN62dYlhNO4JPMU+mZ4tBgPDUn8tl5IZJ5hoq1C6soQArrMXO07mtyT76cG9Qnh/S2d3mqBCrXNIHA==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.0.0-rc.11.tgz","fileCount":6,"unpackedSize":893783,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfoTJOCRA9TVsSAnZWagAA+h0P/0IAgnNoF8jM/SAuy8cL\nY0x/ZemlgrLw/c9pCGIrkAMCHzYUq34W6gRT5mcF2bFv3fOF40WwAthB5FB1\nQLuU6w71NPSIkUfP2AGTbX2btTZZ+sCCMxUibktf4zbPZqdHioyg1AhpiGBT\nG4YQQkt90SeZIVDic4+KP1xJlS3+RapwwZwu/wyC7AyaDE7Tci2Vi5eV3SOT\nwxwiV+CCTyFSB2TKYyTIA4GVizO+l09jq/qLzF4sbU6SAiK8eAy8SOAujf4o\nj3+eymRrP21M7RqwnbeptdQlHR8/TuhxEIRW1MfSfgFcjtpnZgd+mC+YBc9E\nBjRzVOmpKrSxX3RqVVZAacwwuSaSkc4pIFWU0B51ylnW3vZURSEA3AKOBVgA\nWtOkCReG3RatJKUvfcM6/CXOQNIbJD37e0N9VK/J20yGBpgDADyIwSs93k1P\nicLI9hX97KqtRKc94HMG6DINIZ7x43hnPC0b9IAMBDe+nDjbBD9OHUVU179y\nJCKgv91CMzeRu42Wyh8mkQOFdezdy1Jb5PmeazIvX2hz/RaOqLUUIdDHSOqm\nTAANv5VjYr4krDvVrUeeEG9HtNeuX2J3h7UAJwEXE3MhC6ZZuifzF2FS8s7A\ngMilxnECE0gWRwUs/tVl6cDmLlpDnDSSfmaKcVybLHHvynEG5ZkPPF7kyInH\nvqt8\r\n=mIiF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDd4/6p1Nr9KTd6+rQClzAZm6XXqN6Vi2UewhIipDzRyAiEAvijWIiiFyv8EDbESKuH2tqv80fW5xPYtizCJ2E2I/08="}]},"maintainers":[{"name":"agorfine","email":"amanda@passbase.com"},{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"mathiasklenk","email":"mathias@passbase.com"}],"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.0.0-rc.11_1604399693672_0.6403396943493549"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"2.0.16-rc.3":{"name":"@passbase/button","version":"2.0.16-rc.3","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@datadog/browser-core":"^1.13.0","@datadog/browser-logs":"^1.12.6","@types/dom-mediacapture-record":"^1.0.2","@types/enzyme":"^3.10.3","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.0.23","@types/node":"^12.12.12","@types/uuid":"^3.4.6","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^3.4.1","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","lottie-web":"^5.7.0","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^3.7.2","uuid":"^3.4.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@emotion/core":"^10.0.10","@storybook/addon-actions":"^5.2.6","@storybook/addon-storyshots":"^5.2.6","@storybook/addon-storyshots-puppeteer":"^5.2.6","@storybook/addon-viewport":"^5.2.6","@storybook/preset-typescript":"^1.1.0","@storybook/react":"^5.2.6","@svgr/cli":"^4.3.3","@types/inquirer":"^6.5.0","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/styled-components":"^4.4.0","@typescript-eslint/eslint-plugin":"^2.20.0","@typescript-eslint/parser":"^2.20.0","axios-mock-adapter":"^1.16.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","emotion-theming":"^10.0.10","enzyme":"^3.8.0","enzyme-adapter-react-16":"^1.13.0","eslint":"6.8.0","eslint-config-airbnb":"18.0.1","eslint-config-prettier":"^6.10.0","eslint-import-resolver-typescript":"^2.0.0","eslint-plugin-import":"^2.20.1","eslint-plugin-jest":"^23.8.0","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-prettier":"^3.1.2","eslint-plugin-react":"^7.18.3","eslint-plugin-react-hooks":"^2.4.0","identity-obj-proxy":"^3.0.0","inquirer":"^7.0.4","jest":"24.8.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.10.2","react-dom":"^16.12.0","react-test-renderer":"^16.8.6","rimraf":"^3.0.2","styled-components":"^4.4.0","ts-node":"^8.6.2","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --config webpack.config.js --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC --env.PASSBASE_TEST_APIKEY","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"build-storybook -c .storybook -s ./assets -o build/storybook","lint":"eslint ./src/**/* --ext .ts,.tsx -c .eslintrc.js","lint:fix":"yarn lint --fix","test:ts":"tsc --noEmit","test:unit":"jest -c jest.web.json src/","test:structural":"jest -c jest.web.json tests/structural/","test:visual:light:desktop":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_desktop/","test:visual:dark:desktop":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_desktop","test:visual:dark:mobile":"DARK_MODE=true STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES && DARK_MODE=true jest -c jest.web.json tests/visual_dark_mobile","test:visual:light:mobile":"STORYSHOT=YES PASSBASE_CDN_PROTOCOL=file yarn build:storybook && STORYSHOT=YES jest -c jest.web.json tests/visual_light_mobile","test:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -it --cpus '.8' passbasepuppeteer:latest","test:visual:docker":"ts-node scripts/visual_testing/start_docker_visual_tests.ts","test:visual:docker:diff":"ts-node scripts/visual_testing/run_all_visual_tests.ts","test:visual:docker:update":"ts-node scripts/visual_testing/run_all_visual_tests.ts -u","test-debug:visual":"DEBUG=true yarn test:visual:light:desktop","test:e2e":"jest -c jest.node.json --runInBand tests/e2e/","test:e2e:docker":"docker build -t passbasepuppeteer:latest -f e2e.Dockerfile . && docker run -e DEMO_URL='http://localhost:8080/index.html' -it --cpus '.8' passbasepuppeteer:latest yarn test:e2e","test-debug:e2e":"DEBUG=true yarn test:e2e","test:static":"yarn lint && yarn test:ts","test":"yarn build:storybook && yarn test:static && yarn test:unit && yarn test:structural && yarn test:e2e","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:https":"yarn storybook --https --ssl-cert certs/passbase/cert.pem --ssl-ca certs/passbase/rootCA.pem --ssl-key certs/passbase/key.pem","storybook:storyshot":"STORYSHOT=YES start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","storybook:dark-mode":"DARK_MODE=true yarn storybook","storybook:desktop":"DESKTOP_FIRST=true yarn storybook","start":"webpack-dev-server -d --open --host localhost","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-prod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at At [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, cb, apiKey, (options = {}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**cb**: The callback which will be called on completion, (error, authKey, additionalAttributes) => void  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**additionalAttributes**: an object containing attributes that will be stored and retrieved.  \n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n&nbsp;&nbsp;**integrationType**: \\__not_required_ - whether the button is integrated at signup or login  \n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  integrationType=\"signup\"\n  onFinished={(error, authKey, additionalAttributes) => {}}\n  additionalAttributes={{\n    customer_user_id: \"\",\n    another_attribute: \"\"\n  }}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**integrationType**: Whether the button is integrated at signup or login  \n**onFinished**: The callback which will be called on completion, (error, authKey, additionalAttributes) => void  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**additionalAttributes**: _not required_ - an object containing attributes that will be stored and retrieved.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@2.0.16-rc.3","dist":{"shasum":"3c77d9327a1ee898a394f5f3f825d87f9fe2c6c7","integrity":"sha512-qlqsjaGAaxKNNeGYlbc9a+I7JviuaVYLd9WANxcv7HO64vzN+BfoIJF5odolDMuo/lUhIdTb34G7TDyqPp0vrA==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-2.0.16-rc.3.tgz","fileCount":4,"unpackedSize":305928,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf00M5CRA9TVsSAnZWagAA9hAP/3JldpDMDDEgMms4de6s\ne2I5g1qZb3xOlk4tQJhGTKCTh6Oi4ON5gkrGWWlODDQrTSXwD6vXq67BVHMl\nXKO3fgaCtJUp+snkMRc6tzpp40Dd7ryESfzo+T8ZCmjVOQtkW09lI53t9pPm\nUy/wjw/u1vf1nomic9WBiH1jaHsziSAdGYx4q0t2nLBubKGhrbbPdTXwNaxT\nOgQ7cquCpGY/0hhFaXfQQtAwfpK9zoZ8Rsy/pHPRhwJ5FWReWQX+OGfphzN+\n3tHZL4Utp6hUmQDqHYIi894dnwSEksWE6QAEhswP7lTi1tcfhyOxQkZQcRT4\n4fcVVqtE+MhTd36Eg6oCiQ8sWR5L51XTLpB3AJSiQoBx5hBWpFjkky38Izp6\njkzfJ0NSiXbbfJu9yzDZj0NlEgY8mfGk2ASp+wXGLeXIoHQApG5nDUcKMAM6\n6KLQfESFGISF57hGvDfd8hyea1S3ConZ0mlTFacnfktZJYO1eKR7zyxRrQIZ\nTq1lJYTTJjnWlrl6uCkrQS5BFjgf6XYwMNFRWM3r1kPvunCq8aVmgJ5RrPLF\nziNRbkGSAM+cR5SFa4mN0YqGvavJ/NTi3MOWAnou3M3v7+ZPpuqaMflQ5ivk\nq50WaLgFg/W8WVdLwdjK8t8NP7tCiCN1lVXUSav9OjzrplrRBK0gcugcLomo\nsXJl\r\n=KbVm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAtA1stsbI3G/a0jxQ7J4rS3muXGotRaBSDlFnEFcvCVAiAIAY5SYOrmIFRbSqGXePZ8+D1hSS861LdYdoxpRdi8Xg=="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"milan_passbase","email":"milan@passbase.com"},{"name":"agorfine","email":"amanda@passbase.com"},{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"mathiasklenk","email":"mathias@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_2.0.16-rc.3_1607680824756_0.356888046010424"},"_hasShrinkwrap":false,"deprecated":"1.x & 2.x are no longer supported, use the latest version from the v3 tag on NPM"},"3.0.0":{"name":"@passbase/button","version":"3.0.0","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@datadog/browser-core":"^1.13.0","@datadog/browser-logs":"^1.12.6","@types/axios-mock-adapter":"^1.10.0","@types/dom-mediacapture-record":"^1.0.2","@types/jest":"^26.0.15","@types/node":"^12.12.12","@types/uuid":"^8.3.0","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^6.0.3","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","lottie-web":"^5.7.3","qrcode.react":"^1.0.0","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^4.1.2","ua-parser-js":"^0.7.22","uuid":"^8.3.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@storybook/addon-essentials":"^6.1.7","@storybook/addon-storyshots":"^6.1.5","@storybook/addon-storyshots-puppeteer":"^6.1.5","@storybook/react":"^6.1.5","@testing-library/jest-dom":"^5.11.6","@testing-library/react":"^11.2.1","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/react-phone-number-input":"^3.0.5","@types/styled-components":"^5.1.4","@types/ua-parser-js":"^0.7.33","@typescript-eslint/eslint-plugin":"^4.8.2","@typescript-eslint/parser":"^4.8.2","axios-mock-adapter":"^1.19.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","eslint":"^7.14.0","eslint-config-airbnb":"^18.2.1","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^24.1.3","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react":"^7.21.5","eslint-plugin-react-hooks":"^4.2.0","file-loader":"^6.1.0","identity-obj-proxy":"^3.0.0","jest":"26.6.3","jest-canvas-mock":"^2.3.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","rimraf":"^3.0.2","style-loader":"^2.0.0","styled-components":"^5.2.1","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --config ./.webpack/demo.js --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC --env.PASSBASE_TEST_APIKEY","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:static":"NODE_ENV=production webpack --config ./.webpack/static.js","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"PASSBASE_CDN_PROTOCOL='file' build-storybook -c .storybook -s ./assets -o build/storybook","build:storybook:visual":"STORYSHOT='true' PASSBASE_CDN_PROTOCOL='file' build-storybook -c .storybook -s ./assets -o build/storybook","lint":"eslint ./src/**/* --ext .js,.ts,.tsx -c .eslintrc.js","lint:fix":"yarn lint --fix","test:ts":"tsc --noEmit","test:unit":"jest -c jest.web.json src/ --maxWorkers=4","test:integration":"jest -c jest.web.json __tests__/integration --maxWorkers=4","test:visual":"STORYSHOT='true' jest -c jest.web.json __tests__/visual/","test:visual:diff":"./__tests__/visual/run.sh diff","test:visual:update":"./__tests__/visual/run.sh update","test:static":"yarn lint && yarn test:ts","test":"yarn test:static && yarn test:unit && yarn test:integration","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","start":"webpack-dev-server -d --open --host localhost --config ./.webpack/demo.js","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-preprod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-prod":"NODE_ENV=production yarn start-https --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at At [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button@v3\n\n# Yarn\nyarn add @passbase/button@v3\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, apiKey, (options = {\n  onFinish,\n}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void  \n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void  \n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void  \n**onError**: _not required_ The callback which will be called on error, (error: string) => void  \n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.0.0","dist":{"shasum":"9286c012d167c702954c0c269c9813d914b515b6","integrity":"sha512-+yp9BoH/nJirKKZxbYcUGG1InWQUwzslq2f4JvaANxOk+116Tp5U1y40RefWYb2WEEblqinKWu1vJScrP3HqIg==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.0.0.tgz","fileCount":6,"unpackedSize":631766,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf2126CRA9TVsSAnZWagAAcqgP/Rw5LWmWTUuzssLmkpoI\n0uqwhnlpFB0/NuWl/IXWbqsDBg4reR5TJxryA8PG1JF2kUaJjy6TdpU2IbX5\nb9h/vL47nE2D/UIUu/oA0f6TupOigOqKuNzIabHf0WGUUiycMIFdiS/D2NaM\nLdAcYaSFTNAE6HZSlyUre4FeeFcieC8euOz5qoe/nEPAZlF/vu5fFmZdhMGE\nSZ1WtA3OPtTNl/dwiJ6fbluT4MXxSunBbWrbY03XqY/9HFLQHscXJ9W75UZ1\nvxQGag0R5aryhDpKgl3Frrfz2jpfUkEaXd3TThu7k4+rIC6halw2omT3lkYL\nvZwSIM0/bvZdDATSRs7rLVpw44NlLcdA9kKmxzxd1ipNsnbnHjoy4IyMzObg\nBV9r2ZhOiaZ5mWHcv+/UmzQ6l++noH+d6aDV6/QzRbOHFdZF5hUpys1HlBFy\nP9fAm65F5Lpz0I3bbx1QHXusppHypj/tRf+jIOjVcDDAeWdo6O9OcHUIjgOC\nBjJdRiT5jlbeNGd2faTxPy9BCuSNAl7Ef0HD/5N65YRfsRCRnfc9xuGa4biq\n5OPpgkiG95gfI62FcdvMFOLClN86hnKokqZVPrMvlePKKyw46B/X/xwpeI86\nBA1R7Uc6P2a58jSaQrYcfimaYjAy5KFbpT9Go2fvJi1GWxl3Gf6pzG13vRWk\nw+6b\r\n=wP1f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDO3a0AZeP7vVW4mLxosg92yCoaiMVFFlvSIFd+R8TkTQIhAPxsvZzUiaLCfLV5pIIrXQ4dfXbdWLJ8ae+eprCsDMgH"}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"mathiasklenk","email":"mathias@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"agorfine","email":"amanda@passbase.com"},{"name":"milan_passbase","email":"milan@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.0.0_1608211898055_0.08842948877866696"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.1.0":{"name":"@passbase/button","version":"3.1.0","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@datadog/browser-core":"^1.13.0","@datadog/browser-logs":"^1.12.6","@types/axios-mock-adapter":"^1.10.0","@types/dom-mediacapture-record":"^1.0.2","@types/jest":"^26.0.15","@types/node":"^12.12.12","@types/uuid":"^8.3.0","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^6.0.3","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","lottie-web":"^5.7.3","qrcode.react":"^1.0.0","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^4.1.2","ua-parser-js":"^0.7.22","uuid":"^8.3.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@storybook/addon-essentials":"^6.1.7","@storybook/addon-storyshots":"^6.1.5","@storybook/addon-storyshots-puppeteer":"^6.1.5","@storybook/react":"^6.1.5","@testing-library/jest-dom":"^5.11.6","@testing-library/react":"^11.2.1","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/react-phone-number-input":"^3.0.5","@types/styled-components":"^5.1.4","@types/ua-parser-js":"^0.7.33","@typescript-eslint/eslint-plugin":"^4.8.2","@typescript-eslint/parser":"^4.8.2","axios-mock-adapter":"^1.19.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","eslint":"^7.14.0","eslint-config-airbnb":"^18.2.1","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^24.1.3","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react":"^7.21.5","eslint-plugin-react-hooks":"^4.2.0","file-loader":"^6.1.0","identity-obj-proxy":"^3.0.0","jest":"26.6.3","jest-canvas-mock":"^2.3.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","rimraf":"^3.0.2","style-loader":"^2.0.0","styled-components":"^5.2.1","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","build":"webpack --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --config ./.webpack/demo.js --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC --env.PASSBASE_TEST_APIKEY","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:static":"NODE_ENV=production webpack --config ./.webpack/static.js","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"PASSBASE_CDN_PROTOCOL='file' build-storybook -c .storybook -s ./assets -o build/storybook","build:storybook:visual":"STORYSHOT='true' PASSBASE_CDN_PROTOCOL='file' build-storybook -c .storybook -s ./assets -o build/storybook","lint":"eslint ./src/**/* --ext .js,.ts,.tsx,.json -c .eslintrc.js","lint:fix":"yarn lint --fix","test:ts":"tsc --noEmit","test:unit":"jest -c jest.web.json src/ --maxWorkers=4","test:integration":"jest -c jest.web.json __tests__/integration --maxWorkers=4","test:visual":"STORYSHOT='true' jest -c jest.web.json __tests__/visual/","test:visual:diff":"./__tests__/visual/run.sh diff","test:visual:update":"./__tests__/visual/run.sh update","test:static":"yarn lint && yarn test:ts","test":"yarn test:static && yarn test:unit && yarn test:integration","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","start":"webpack-dev-server -d --open --host localhost --config ./.webpack/demo.js","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-preprod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-prod":"NODE_ENV=production yarn start-https --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at At [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button@v3\n\n# Yarn\nyarn add @passbase/button@v3\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, apiKey, (options = {\n  onFinish,\n}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void  \n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void  \n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void  \n**onError**: _not required_ The callback which will be called on error, (error: string) => void  \n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.1.0","dist":{"shasum":"938a44b169a3d6adf9b2038a973c91de04c2c929","integrity":"sha512-uFKLgpBY7hbhL8YKepqbEiIEIQtoYq7xloS2BF4mOfeiGYBiu8ybP14Y0CzgHcjYsAv1v0gbbs9sK7nSh9YLaQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.1.0.tgz","fileCount":6,"unpackedSize":660236,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf424RCRA9TVsSAnZWagAACwgP/iG1vt00FbIpXeE3HVvD\ncACZcJc/WwnmzgboA1cqlIDcLCdRDVSpSpc5bPQVO8NIEAhXxi2Pvc1cLgej\nM6Fqqm/RZjiDcoZg2vyaB3nBjs7iuKVlHfRiIVyoq+KbapEeubKsoC1A32s4\nval63FGBmGEUVk7xKH+oemoSXHZUmqzK/Z5xHIt8Nrbcas9in7EDcDu3kgV4\n3x/0Lrx79G5w2BanVbPYCh/yRbBEF/OaR838jklm7S0of5MAq674Q/08s/8U\nRVPE9NlHSZRTApK2i0VDJlLH7Dgm1EvGPOiKsOA4DPWsxLGGV7ArVvPwt4oi\nAKYcUxz5aWNRKoybtanvTyG/Dl9iG8ZT6MUpnXG6nJvjlCEgf7pBpmhPk+8P\nyteBj09/ssv5WLRAgqeO3v4yl+JF9X8lkg249AtiBmzQMQIfXObJXcng8q4T\n79F7rmJayoyfYLYwnURiBKgcK5EJ7CUQ26z70hEFIKKeX1vWTFdmv7ROmqQS\nA72GZLShHZIeRDDsLpnKpANm+2b1CvQXMX9sAz/OznJcPWR4VZMyuLWTbhMS\nozkmkgRvdTfsEfb/rsbPQRMCLuT4mjhMTvjVfu5uepVbB+Yo2YG8MlRM+cbW\n/vjvOUBTy1rSJsDnBNBwWlwCBpGpG2FfEhQ1QCrRgmpZKHpJcv2iDpkpz1Wz\nqMaY\r\n=H/5A\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGPQ8IiG9IscS+3cf32P6qt+5vlPQYOj1lhYIqxIExfJAiEAtP1Ney0XejNEZwlvwubKWUi+8y27tPUV8F6qW51npW4="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"mathiasklenk","email":"mathias@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"agorfine","email":"amanda@passbase.com"},{"name":"milan_passbase","email":"milan@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.1.0_1608740367915_0.5106220472049543"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.1.1":{"name":"@passbase/button","version":"3.1.1","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@datadog/browser-core":"^1.13.0","@datadog/browser-logs":"^1.12.6","@types/axios-mock-adapter":"^1.10.0","@types/dom-mediacapture-record":"^1.0.2","@types/jest":"^26.0.15","@types/node":"^12.12.12","@types/uuid":"^8.3.0","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^6.0.3","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","lottie-web":"^5.7.3","qrcode.react":"^1.0.0","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^4.1.2","ua-parser-js":"^0.7.22","uuid":"^8.3.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@storybook/addon-essentials":"^6.1.7","@storybook/addon-storyshots":"^6.1.5","@storybook/addon-storyshots-puppeteer":"^6.1.5","@storybook/react":"^6.1.5","@testing-library/jest-dom":"^5.11.6","@testing-library/react":"^11.2.1","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/react-phone-number-input":"^3.0.5","@types/styled-components":"^5.1.4","@types/ua-parser-js":"^0.7.33","@typescript-eslint/eslint-plugin":"^4.8.2","@typescript-eslint/parser":"^4.8.2","axios-mock-adapter":"^1.19.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","eslint":"^7.14.0","eslint-config-airbnb":"^18.2.1","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^24.1.3","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react":"^7.21.5","eslint-plugin-react-hooks":"^4.2.0","file-loader":"^6.1.0","identity-obj-proxy":"^3.0.0","jest":"26.6.3","jest-canvas-mock":"^2.3.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","rimraf":"^3.0.2","style-loader":"^2.0.0","styled-components":"^5.2.1","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","clean":"yarn rimraf build","build":"webpack --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --config ./.webpack/demo.js --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC --env.PASSBASE_TEST_APIKEY","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:static":"NODE_ENV=production webpack --config ./.webpack/static.js --env.DISABLE_ANIMS","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"PASSBASE_CDN_PROTOCOL='file' build-storybook -c .storybook -s ./assets -o build/storybook","build:storybook:visual":"STORYSHOT='true' PASSBASE_CDN_PROTOCOL='file' build-storybook -c .storybook -s ./assets -o build/storybook","lint":"eslint ./src/**/* --ext .js,.ts,.tsx,.json -c .eslintrc.js","lint:fix":"yarn lint --fix","test:ts":"tsc --noEmit","test:unit":"jest -c jest.web.json src/ --maxWorkers=4","test:integration":"jest -c jest.web.json __tests__/integration --maxWorkers=4","test:visual":"STORYSHOT='true' jest -c jest.web.json __tests__/visual/","test:visual:diff":"./__tests__/visual/run.sh diff","test:visual:update":"./__tests__/visual/run.sh update","test:static":"yarn lint && yarn test:ts","test":"yarn test:static && yarn test:unit && yarn test:integration","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","start":"webpack-dev-server -d --open --host localhost --config ./.webpack/demo.js","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-preprod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-prod":"NODE_ENV=production yarn start-https --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button@v3\n\n# Yarn\nyarn add @passbase/button@v3\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, apiKey, (options = {\n  onFinish,\n}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void  \n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void  \n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void  \n**onError**: _not required_ The callback which will be called on error, (error: string) => void  \n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: _not required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.1.1","dist":{"shasum":"1c0cc5d6ef7522a824f2c93c480d638686500370","integrity":"sha512-IjCkdIy7J9V1ii3Z+QvNK+aIB3ksz3NEegun4e0ReUX/5u4fPShvp9gV9H+3GfD2q6IO/iyM40AkLkjBU7IJ7A==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.1.1.tgz","fileCount":6,"unpackedSize":663671,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgEXJGCRA9TVsSAnZWagAA6FMQAJQtrRord2u8VxV+UdZr\n466pbhzyc2KyxwvAXS5KWVVFMj/dozxZz4LYJ9111bl8nd+Oit3hr3GNFlEF\nab2u0sXpkc2KSObCP1gHrTs5BUHfukVqXU80K3q9opUUYZaYWE0mJyykaKq7\nBPSkSSR/kybY3XDSCogtP4+I+jHjSv/TDa1JeBC9uWmnQof2m6Xf50yTczQP\njJk4U+Iu4Y4Pid8o6pVgRugbHCnIlzp6UnDJGrcPI+GWY7O0fliKMIoB8zf/\noPz3rFByhcsc1LOBuVpHA04YzjB7JKhQTkZ60KjiIWV+zWQ8XaFVGz0VtHeM\nNKeVKS0j7AURo9SXl2OvHMR1nwfjYkDgXk6qynShMnaQLWwcLako+IMIYC9z\nmYVshSw++SHW4zDKNDGhHxIOlSdKJsSTmVsB42AFGG/Eu9el7LT6dfsrXt9M\nLaGwUeUXtLKZ5r0FgYZSu2aiUt6V84ahG+R2laWMbLtdtuLaH3N6MSFjmKTS\nlPs40Z3qLkz/qksB2n93EFfoS67z+HIaWxzBJpwagEANMy5kJnzMMT4byeHp\n4EaZba1CdELkRvqtvFRRLkS1rMDPy0Z/ANYpB0PU/uTnpEutLgG3vK904DsC\nVccEVjhzRVCZpWx7CBc7PWkydwyCBO2/t6u68AE9wYmZGjS7OJhREA79zlAa\nVlh1\r\n=8xLC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSOkmTBQFj26QksEGb7sxoshP5CvXzPk8/Oegx8+aFBAIhAInxXdPHajgBvlNMVOxrYA0Tau9obdDsF0knhlGYfiz/"}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"mathiasklenk","email":"mathias@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"agorfine","email":"amanda@passbase.com"},{"name":"milan_passbase","email":"milan@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.1.1_1611756101812_0.7762993968636902"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.1.2":{"name":"@passbase/button","version":"3.1.2","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@datadog/browser-core":"^1.13.0","@datadog/browser-logs":"^1.12.6","@types/axios-mock-adapter":"^1.10.0","@types/dom-mediacapture-record":"^1.0.2","@types/jest":"^26.0.15","@types/node":"^12.12.12","@types/uuid":"^8.3.0","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^6.0.3","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","lottie-web":"^5.7.3","qrcode.react":"^1.0.0","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^4.1.2","ua-parser-js":"^0.7.22","uuid":"^8.3.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@storybook/addon-essentials":"^6.1.7","@storybook/addon-storyshots":"^6.1.5","@storybook/addon-storyshots-puppeteer":"^6.1.5","@storybook/react":"^6.1.5","@testing-library/jest-dom":"^5.11.6","@testing-library/react":"^11.2.1","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/react-phone-number-input":"^3.0.5","@types/styled-components":"^5.1.4","@types/ua-parser-js":"^0.7.33","@typescript-eslint/eslint-plugin":"^4.8.2","@typescript-eslint/parser":"^4.8.2","axios-mock-adapter":"^1.19.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","eslint":"^7.14.0","eslint-config-airbnb":"^18.2.1","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^24.1.3","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react":"^7.21.5","eslint-plugin-react-hooks":"^4.2.0","file-loader":"^6.1.0","identity-obj-proxy":"^3.0.0","jest":"26.6.3","jest-canvas-mock":"^2.3.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","rimraf":"^3.0.2","style-loader":"^2.0.0","styled-components":"^5.2.1","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","clean":"yarn rimraf build","build":"webpack --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --config ./.webpack/demo.js --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC --env.PASSBASE_TEST_APIKEY","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:static":"NODE_ENV=production webpack --config ./.webpack/static.js --env.DISABLE_ANIMS","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"PASSBASE_CDN_PROTOCOL='file' build-storybook -c .storybook -s ./assets -o build/storybook","build:storybook:visual":"STORYSHOT='true' PASSBASE_CDN_PROTOCOL='file' build-storybook -c .storybook -s ./assets -o build/storybook","lint":"eslint ./src/**/* --ext .js,.ts,.tsx,.json -c .eslintrc.js","lint:fix":"yarn lint --fix","test:ts":"tsc --noEmit","test:unit":"jest -c jest.web.json src/ --maxWorkers=4","test:integration":"jest -c jest.web.json __tests__/integration --maxWorkers=4","test:visual":"STORYSHOT='true' jest -c jest.web.json __tests__/visual/","test:visual:diff":"./__tests__/visual/run.sh diff","test:visual:update":"./__tests__/visual/run.sh update","test:static":"yarn lint && yarn test:ts","test":"yarn test:static && yarn test:unit && yarn test:integration","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","start":"webpack-dev-server -d --open --host localhost --config ./.webpack/demo.js","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-preprod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-prod":"NODE_ENV=production yarn start-https --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button@v3\n\n# Yarn\nyarn add @passbase/button@v3\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, apiKey, (options = {\n  onFinish,\n}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void  \n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void  \n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void  \n**onError**: _not required_ The callback which will be called on error, (error: string) => void  \n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: _not required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.1.2","dist":{"shasum":"6c331483b1cca80d5b89e3113aa6c568ed4fd209","integrity":"sha512-yZ2LsOPi92L926JMLtKSPErcMt3zygOuvkGaxMWibp3iphEHPaM7ZFvRSORteCn6Mz003kdCiNtwt69FKFdDEw==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.1.2.tgz","fileCount":6,"unpackedSize":801681,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgGTqBCRA9TVsSAnZWagAAK+kQAJQPw10mobht8lnpdDhT\ncs8Kk+/Z1RVmxxEIUlZRJeVJ7GDXWbAA3w2gb94GQE6UM3Km60bpWNdHQwNU\nP3ERtn7hoTiHc14M2a0tnLjS6iny0yRJsu07RYgxWAZnpKdlchHysYR9wkhI\nqfZlMtc/gZ+VzKc1K9zRVAAVuWxpQWhgwuiY2HcEdJktCKNZbhArqOYxXUKk\ntMnabAi11IS0NahUnOWjLSGTnR7GnTaxBDMm7CR24RWO24jkiVIQms9wJ4cv\nQvs6GlTNADsSbIFNbYmDEpN/FcmGHp4qX3LbcB72Ow6PzBnqRqLrf4XtgdRb\nZ6xEbtXLWyHSYnT/WUJByw5tmk4g5F0pNVoLTMQPc8OwJcexpc7lhbBvA9Lp\nznv8kx8xkgGj/BnIqs+O9wth1twkpD7n/izsLBBfOR1xZAmJD58zrTK5JCmx\nJ16r/lKKgSJOA8Kfw3eca1S+AlGJurO70mlqXmNWj5q07q2wdfveMeIjphLl\nhpIMQqAd33ZQUtA+OIfzOsBvNx6lF7yqu2/RsXcHSqayVqs+5Lu9MS42xlQ3\nOp9xh2Vcg0g5YrQE1QfBwWTyzM85KOenVsAXDjV8ePkQCQ7BDwSyRYEXhR59\ni9516f4u33kVhP/XmT1/PpQfFNA8C5y4vVNN5YVdWnT6300JIfSiXm1Sy+DZ\nWM9W\r\n=zH97\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBD6U4nGLFU4egiLs+AO4ky3rfgL7kyBR0vj5WHaM9GwAiEAts380XUuD5LOLN9ubN0cR0OlGFUJDOSWbaaudo12QYI="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"lootbox","email":"0x0123001+npm@hotmail.com"},{"name":"mathiasklenk","email":"mathias@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"agorfine","email":"amanda@passbase.com"},{"name":"milan_passbase","email":"milan@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.1.2_1612266112573_0.4449518273539672"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.1.3":{"name":"@passbase/button","version":"3.1.3","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@datadog/browser-core":"^1.13.0","@datadog/browser-logs":"^1.12.6","@types/axios-mock-adapter":"^1.10.0","@types/dom-mediacapture-record":"^1.0.2","@types/jest":"^26.0.15","@types/node":"^12.12.12","@types/uuid":"^8.3.0","awesome-phonenumber":"^2.21.0","axios":"^0.19.0","core-js":"3.4.1","downshift":"^6.0.3","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","lottie-web":"^5.7.3","qrcode.react":"^1.0.0","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^4.1.2","ua-parser-js":"^0.7.22","uuid":"^8.3.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@storybook/addon-essentials":"^6.1.7","@storybook/addon-storyshots":"^6.1.5","@storybook/addon-storyshots-puppeteer":"^6.1.5","@storybook/react":"^6.1.5","@testing-library/jest-dom":"^5.11.6","@testing-library/react":"^11.2.1","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/react-phone-number-input":"^3.0.5","@types/styled-components":"^5.1.4","@types/ua-parser-js":"^0.7.33","@typescript-eslint/eslint-plugin":"^4.8.2","@typescript-eslint/parser":"^4.8.2","axios-mock-adapter":"^1.19.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","eslint":"^7.14.0","eslint-config-airbnb":"^18.2.1","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^24.1.3","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react":"^7.21.5","eslint-plugin-react-hooks":"^4.2.0","file-loader":"^6.1.0","identity-obj-proxy":"^3.0.0","jest":"26.6.3","jest-canvas-mock":"^2.3.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","rimraf":"^3.0.2","style-loader":"^2.0.0","styled-components":"^5.2.1","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","clean":"yarn rimraf build","build":"webpack --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --config ./.webpack/demo.js --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC --env.PASSBASE_TEST_APIKEY","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:static":"NODE_ENV=production webpack --config ./.webpack/static.js --env.DISABLE_ANIMS","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"PASSBASE_CDN_PROTOCOL='file' build-storybook -c .storybook -s ./assets -o build/storybook","build:storybook:visual":"STORYSHOT='true' PASSBASE_CDN_PROTOCOL='file' build-storybook -c .storybook -s ./assets -o build/storybook","lint":"eslint ./src/**/* --ext .js,.ts,.tsx,.json -c .eslintrc.js","lint:fix":"yarn lint --fix","test:ts":"tsc --noEmit","test:unit":"jest -c jest.web.json src/ --maxWorkers=4","test:integration":"jest -c jest.web.json __tests__/integration --maxWorkers=4","test:visual":"STORYSHOT='true' jest -c jest.web.json __tests__/visual/","test:visual:diff":"./__tests__/visual/run.sh diff","test:visual:update":"./__tests__/visual/run.sh update","test:static":"yarn lint && yarn test:ts","test":"yarn test:static && yarn test:unit && yarn test:integration","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","start":"webpack-dev-server -d --open --host localhost --config ./.webpack/demo.js","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-preprod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-prod":"NODE_ENV=production yarn start-https --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button@v3\n\n# Yarn\nyarn add @passbase/button@v3\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, apiKey, (options = {\n  onFinish,\n}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void  \n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void  \n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void  \n**onError**: _not required_ The callback which will be called on error, (error: string) => void  \n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: _not required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.1.3","dist":{"shasum":"590ea4a19856d1476ae30ec5c6d11ad397e3d053","integrity":"sha512-TZYx4ijFfbwgTmxnZJJnK5mADu/xzLNh/cS/q7VTbcPOxrS/V/V1tlgwO8KZT/DcCoYWqHtk+Q9LB4ibybs1vA==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.1.3.tgz","fileCount":6,"unpackedSize":801683,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgIV5BCRA9TVsSAnZWagAAdUMP/jymqgX6POUjPmFkS3AK\nt6SIDNhZwtMjdJYP48ZN8eF7c1zTpE7JRgtGaRuz46EmWKIwVom9dfKSf9ko\nbCFSvnT+OnQ1qsaJt7/UF6t+wLOw52u9ht9Ya8KB1KtvOP1Xg9AT20Xc6dgN\nCDniwZ6b5Law8oO+DukHPxHvIQ6J1fsuNIDVv6buoduJAy788WLlye7PXpKW\nhWCzTruAsQH6LlNytWuZwCSRHqXuXCSCvcxcjVXWBfh5FwI5tpErj4EpGSGs\nM6CJc4KsJmoKxulYMupsRJb+hXTrH1k7uMfenoJ1Lnu4MoD51U1vfDVeJMFY\nnlx/UzHlMQvM63Em0UNKZdmSuVW1yNyG+FKgggtQ/VzUXPospIfp6BQsUwzO\noh9Gauccp7p0Z5Vgfu1IG59HN0rfYBWHJndOQSeANcTRzBwov/Yer1dvt3SQ\niI7XCb0gP7n0l/jMBd9hh21Ld7VflLFHQ8hroI+/SyWFY8e96mTOH4vkNe6v\ntZhQqT1KEy98NlDo5P0EG08r+tuVflwZJbwZRque/DHtHQVO82uBRZu2L2PU\nHXye+ImczQB5kdKXBLHQVp5B+ktnV/PErv9zPmcu0nRNB3L9sJPl/OVb5+9J\nrnOVy7cIlL6uhkJK7P+kGDFyakpw56lVV8/hIm+WZpKYhHs/8mpNTYQgAnHs\nF5OD\r\n=WfTS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSrrfOT1iJWZrN8H4JRSzi4JQbgcSvi4YdIT6DZxDsKwIgFBof6l6L9/xGQpBbZHtRp7OqwnNjJ2jcAYRCgdHAFbk="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"lootbox","email":"0x0123001+npm@hotmail.com"},{"name":"mathiasklenk","email":"mathias@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"agorfine","email":"amanda@passbase.com"},{"name":"milan_passbase","email":"milan@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.1.3_1612799552807_0.6356734024570734"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.1.4":{"name":"@passbase/button","version":"3.1.4","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@datadog/browser-core":"^1.13.0","@datadog/browser-logs":"^1.12.6","@types/axios-mock-adapter":"^1.10.0","@types/dom-mediacapture-record":"^1.0.2","@types/jest":"^26.0.15","@types/node":"^12.12.12","@types/uuid":"^8.3.0","awesome-phonenumber":"^2.21.0","axios":"^0.21.1","core-js":"3.4.1","downshift":"^6.0.3","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","lottie-web":"^5.7.3","qrcode.react":"^1.0.0","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^4.1.2","ua-parser-js":"^0.7.22","uuid":"^8.3.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@storybook/addon-essentials":"^6.1.7","@storybook/addon-storyshots":"^6.1.5","@storybook/addon-storyshots-puppeteer":"^6.1.5","@storybook/react":"^6.1.5","@testing-library/jest-dom":"^5.11.6","@testing-library/react":"^11.2.1","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/react-phone-number-input":"^3.0.5","@types/styled-components":"^5.1.4","@types/ua-parser-js":"^0.7.33","@typescript-eslint/eslint-plugin":"^4.8.2","@typescript-eslint/parser":"^4.8.2","axios-mock-adapter":"^1.19.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","eslint":"^7.14.0","eslint-config-airbnb":"^18.2.1","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^24.1.3","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react":"^7.21.5","eslint-plugin-react-hooks":"^4.2.0","file-loader":"^6.1.0","identity-obj-proxy":"^3.0.0","jest":"26.6.3","jest-canvas-mock":"^2.3.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","rimraf":"^3.0.2","style-loader":"^2.0.0","styled-components":"^5.2.1","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","clean":"yarn rimraf build","build":"webpack --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --config ./.webpack/demo.js --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC --env.PASSBASE_TEST_APIKEY","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:static":"NODE_ENV=production webpack --config ./.webpack/static.js --env.DISABLE_ANIMS","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"PASSBASE_CDN_PROTOCOL='file' build-storybook -c .storybook -s ./assets -o build/storybook","build:storybook:visual":"STORYSHOT='true' PASSBASE_CDN_PROTOCOL='file' build-storybook -c .storybook -s ./assets -o build/storybook","lint":"eslint ./src/**/* --ext .js,.ts,.tsx,.json -c .eslintrc.js","lint:fix":"yarn lint --fix","test:ts":"tsc --noEmit","test:unit":"jest -c jest.web.json src/ --maxWorkers=4","test:integration":"jest -c jest.web.json __tests__/integration --maxWorkers=4","test:visual":"STORYSHOT='true' jest -c jest.web.json __tests__/visual/","test:visual:diff":"./__tests__/visual/run.sh diff","test:visual:update":"./__tests__/visual/run.sh update","test:static":"yarn lint && yarn test:ts","test":"yarn test:static && yarn test:unit && yarn test:integration","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","start":"webpack-dev-server -d --open --host localhost --config ./.webpack/demo.js","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-preprod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-prod":"NODE_ENV=production yarn start-https --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button@v3\n\n# Yarn\nyarn add @passbase/button@v3\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, apiKey, (options = {\n  onFinish,\n}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void  \n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void  \n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void  \n**onError**: _not required_ The callback which will be called on error, (error: string) => void  \n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: _not required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.1.4","dist":{"shasum":"803f4e6f98da3932d80f814df0f3a79cfd301750","integrity":"sha512-aNEwd8CayB9wV1FQFQudYC4RfHK3QyLSp8qQ0ZEL5g0X2El5+A2IDKSv3xfi7cAZTT4OfqgZINcZ0OVPThj3Ow==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.1.4.tgz","fileCount":6,"unpackedSize":806170,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgJR9OCRA9TVsSAnZWagAAWYAP/2T38nAd6G6CllR2Y6DR\n6FjBiTKfl13UIinLOyWzq7uwOOsezaSnpqdAcBqKQG9RMVvJoZm3QtnxScb9\nYBRW5aYNJp3kc1xxf+UbhvZl3Y1rq7J+atXEAj39nzavWB5G8F8BGWmd9dk7\nQsxyMsm5T2YiJC4evC6UvkMTWdWywvy1ZxCtRrnGOUE6yBz5Jq4nVFwTeVSf\n0fetZZmtNDxur5m8ky0AQnQZg2UBwYuPt3YM4KPfaTTe7vFWiToHJblEMhe3\n9zg4MRt1SfVUq2XBLbMWFKLfjOIydlt1NoOPRO9Uz/GPW8RHTGkDkHtULoSC\n7jl0sL9vf5JBoOTZplW+NozdJHO2/grL8whhAklb1lmGDRvHwX8Yjz8PkUyL\ntyjZyfxFld54aGDCRAZF1K0gmVZHtm5M1IXnrzVaO5DaCQRtFGrl3uDw9ueh\nU4kZSKYcbVJ0hz+GahYw5BuQnto/Djh2WhalLGNz/GnFnU0Iipx13uWqW5Lo\nzMN+xSbgUNHP7Dhq4qxHJP/TSk3kUpHrqI9b+irJky/b64y3fCTZLnNIiYuu\nufd7hO+v0zrcjph59PI2MKNaT18AvKZnH1BLe+7J9Jev6NibhwFz4dBHuvjg\n9CrW7QSOkFiDZpbXglbgCmawDIJTUf0BfFABzQsBoV59JGG2CX6+1ziTdlEl\ngppT\r\n=+UAU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKwdJ7MGRLHa13K3dqEjM+yyH0qKChNh51ge6nnl2/YQIhAKJ+P9svII/qyvEoQOmiDSj0y9j8YiIPyStvO3ltqdFT"}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"lootbox","email":"0x0123001+npm@hotmail.com"},{"name":"mathiasklenk","email":"mathias@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"agorfine","email":"amanda@passbase.com"},{"name":"milan_passbase","email":"milan@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.1.4_1613045581197_0.4163053767476532"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.1.5":{"name":"@passbase/button","version":"3.1.5","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@datadog/browser-core":"^1.13.0","@datadog/browser-logs":"^1.12.6","@types/axios-mock-adapter":"^1.10.0","@types/dom-mediacapture-record":"^1.0.2","@types/jest":"^26.0.15","@types/node":"^12.12.12","@types/uuid":"^8.3.0","awesome-phonenumber":"^2.21.0","axios":"^0.21.1","core-js":"3.4.1","downshift":"^6.0.3","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","lottie-web":"^5.7.3","qrcode.react":"^1.0.0","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^4.1.2","ua-parser-js":"^0.7.22","uuid":"^8.3.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@storybook/addon-essentials":"^6.1.7","@storybook/addon-storyshots":"^6.1.5","@storybook/addon-storyshots-puppeteer":"^6.1.5","@storybook/react":"^6.1.5","@testing-library/jest-dom":"^5.11.6","@testing-library/react":"^11.2.1","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/react-phone-number-input":"^3.0.5","@types/styled-components":"^5.1.4","@types/ua-parser-js":"^0.7.33","@typescript-eslint/eslint-plugin":"^4.8.2","@typescript-eslint/parser":"^4.8.2","axios-mock-adapter":"^1.19.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","eslint":"^7.14.0","eslint-config-airbnb":"^18.2.1","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^24.1.3","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react":"^7.21.5","eslint-plugin-react-hooks":"^4.2.0","file-loader":"^6.1.0","identity-obj-proxy":"^3.0.0","jest":"26.6.3","jest-canvas-mock":"^2.3.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","rimraf":"^3.0.2","style-loader":"^2.0.0","styled-components":"^5.2.1","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","clean":"yarn rimraf build","build":"webpack --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --config ./.webpack/demo.js --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC --env.PASSBASE_TEST_APIKEY","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:static":"NODE_ENV=production webpack --config ./.webpack/static.js --env.DISABLE_ANIMS","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"PASSBASE_CDN_PROTOCOL='file' build-storybook -c .storybook -s ./assets -o build/storybook","build:storybook:visual":"STORYSHOT='true' PASSBASE_CDN_PROTOCOL='file' build-storybook -c .storybook -s ./assets -o build/storybook","lint":"eslint ./src/**/* --ext .js,.ts,.tsx,.json -c .eslintrc.js","lint:fix":"yarn lint --fix","test:ts":"tsc --noEmit","test:unit":"jest -c jest.web.json src/ --maxWorkers=4","test:integration":"jest -c jest.web.json __tests__/integration --maxWorkers=4","test:visual":"STORYSHOT='true' jest -c jest.web.json __tests__/visual/","test:visual:diff":"./__tests__/visual/run.sh diff","test:visual:update":"./__tests__/visual/run.sh update","test:static":"yarn lint && yarn test:ts","test":"yarn test:static && yarn test:unit && yarn test:integration","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","start":"webpack-dev-server -d --open --host localhost --config ./.webpack/demo.js","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-preprod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-prod":"NODE_ENV=production yarn start-https --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button@v3\n\n# Yarn\nyarn add @passbase/button@v3\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, apiKey, (options = {\n  onFinish,\n}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void  \n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void  \n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void  \n**onError**: _not required_ The callback which will be called on error, (error: string) => void  \n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: _not required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.1.5","dist":{"shasum":"d9fb2809bd32cdc8466da7aa39032b56ca6aa396","integrity":"sha512-uS8OgplSPs81coi3b0dfn9/0rJXg43DJ2Zbz8xOjbGs+XZ82+Ki95z05zuwRrcagA1ls7USH9h4YgcY/IjlykA==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.1.5.tgz","fileCount":6,"unpackedSize":807863,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgM6u/CRA9TVsSAnZWagAA1UAQAI/3qF2rsjovmw9+lWkp\ncXf/O1qx624OlN15g9GWObF80rrzv3OsF03nITtdQNY7a6FZTYyfglzZtEF4\nhuzui2s6jgY5V3LP9OFFvcMJ/Y2pOxjqokkGXU5TzUyebWbMb6wgSYWGCvQd\nc0kL40Nz5Ew0X9sXI262o4X7/rWzb7vGx43IXfhPggRrv4QnrEhYzdZtOX1F\nFhdQdYTadRbNgGDHNXSk2Wv7WonuQb3YHp2RAIZipMJNJN7GC9tfm/5jwLqm\nR9ju1I0MFCY5seqn5qVSHhotBXglHkEgBSdlYD6PmG3ka8rpfohaFowhS3Wm\n8vc12Bm0GS6eh7QB+jPsnmNpkfQux5r4x8RILp5Tq7rmpfZ7EqPTDEEax3Fv\nATMX4z4gmlZ5O1MGcNq4UXUEM493iY/wVyJvG8Pcf8yWrd8bNbq6axCIOLjb\nRerbcVEjpy73kanBMJfCN6UKWnjgUKvQYx4G5eYqp2Piaqvl1UKexbgc1BUg\n20HMytJuWwou54jAQXW9hikyw8y3Df9qIh5tQPfDGKW/80NLNnLtGhD9zfz2\nDL5Uq9AM3zQYFRllixU13sDK3WWyxw9YyV/t2OVIpS4XQtZiLf8vuwXc0ZHO\nhscmXbgOj4JitzSsmozOWIwY6BfzmFlGpLw/Xs2sluaVof56hQzZrHBhfBM8\nR+jq\r\n=aRfZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICeBbqv4zwO2F/7tld5aB73HYFucV/e/WTs9UbLS1ta6AiEAmuc6RCNqutA2dEq8JbSPm19Vv2vX4PL23cy8NEMXc7k="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"lootbox","email":"0x0123001+npm@hotmail.com"},{"name":"mathiasklenk","email":"mathias@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"agorfine","email":"amanda@passbase.com"},{"name":"milan_passbase","email":"milan@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.1.5_1613999039173_0.11285391664025757"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.1.6":{"name":"@passbase/button","version":"3.1.6","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@datadog/browser-core":"^1.13.0","@datadog/browser-logs":"^1.12.6","@tensorflow-models/blazeface":"^0.0.7","@tensorflow/tfjs-core":"^2.8.6","@types/axios-mock-adapter":"^1.10.0","@types/dom-mediacapture-record":"^1.0.2","@types/jest":"^26.0.15","@types/node":"^12.12.12","@types/uuid":"^8.3.0","awesome-phonenumber":"^2.21.0","axios":"^0.21.1","core-js":"3.4.1","downshift":"^6.0.3","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","lottie-web":"^5.7.3","qrcode.react":"^1.0.0","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^4.1.2","ua-parser-js":"^0.7.22","uuid":"^8.3.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@storybook/addon-essentials":"^6.1.7","@storybook/addon-storyshots":"^6.1.5","@storybook/addon-storyshots-puppeteer":"^6.1.5","@storybook/react":"^6.1.5","@testing-library/jest-dom":"^5.11.6","@testing-library/react":"^11.2.1","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/react-phone-number-input":"^3.0.5","@types/styled-components":"^5.1.4","@types/ua-parser-js":"^0.7.33","@typescript-eslint/eslint-plugin":"^4.8.2","@typescript-eslint/parser":"^4.8.2","axios-mock-adapter":"^1.19.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","eslint":"^7.14.0","eslint-config-airbnb":"^18.2.1","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^24.1.3","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react":"^7.21.5","eslint-plugin-react-hooks":"^4.2.0","file-loader":"^6.1.0","identity-obj-proxy":"^3.0.0","jest":"26.6.3","jest-canvas-mock":"^2.3.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","rimraf":"^3.0.2","style-loader":"^2.0.0","styled-components":"^5.2.1","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","clean":"yarn rimraf build","build":"webpack --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --config ./.webpack/demo.js --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC --env.PASSBASE_TEST_APIKEY","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:static":"NODE_ENV=production webpack --config ./.webpack/static.js --env.DISABLE_ANIMS","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"PASSBASE_CDN_PROTOCOL='file' build-storybook -c .storybook -s ./assets -o build/storybook","build:storybook:visual":"STORYSHOT='true' PASSBASE_CDN_PROTOCOL='file' build-storybook -c .storybook -s ./assets -o build/storybook","lint":"eslint ./src/**/* --ext .js,.ts,.tsx,.json -c .eslintrc.js","lint:fix":"yarn lint --fix","test:ts":"tsc --noEmit","test:unit":"jest -c jest.web.json src/ --maxWorkers=4","test:integration":"jest -c jest.web.json __tests__/integration --maxWorkers=4","test:visual":"STORYSHOT='true' jest -c jest.web.json __tests__/visual/","test:visual:diff":"./__tests__/visual/run.sh diff","test:visual:update":"./__tests__/visual/run.sh update","test:static":"yarn lint && yarn test:ts","test":"yarn test:static && yarn test:unit && yarn test:integration","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","start":"webpack-dev-server -d --open --host localhost --config ./.webpack/demo.js","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-preprod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-prod":"NODE_ENV=production yarn start-https --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button@v3\n\n# Yarn\nyarn add @passbase/button@v3\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, apiKey, (options = {\n  onFinish,\n}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void  \n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void  \n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void  \n**onError**: _not required_ The callback which will be called on error, (error: string) => void  \n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: _not required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.1.6","dist":{"shasum":"5728e371d4e6eaf012f58fdef2dec15ac6cc96c5","integrity":"sha512-PXFPUWYvDFGQn6qRy8PsLyXyrSobPS212FD2p34eNqjsoTSHj4jY6cpenpNMMTDbGzL8+mbdW5/uazrhivanFA==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.1.6.tgz","fileCount":6,"unpackedSize":809698,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgN8LoCRA9TVsSAnZWagAAdYYP/11Jo7cqZuW3Vh+9nH+q\nd6ne3UW8cXMh9RrvrstJ/nMq7itlk5kZPLSqiJa8V2/WLcR3yQuiSJdhrZrd\nLrtnZPG8HxzrKWSakgJByXHFGteHQjjzCuZJRkZAjVei5YW6zHsoxUSayOdZ\nJsmeHBZqQATcGOAJrgTN88FByUFtC+msAPXBWi99nvt21oD65RgJWm8yp8Ho\nT7LWVwWV5CcKXCoqusi8lnEklnsVFs9MvXKeXTax4jQ4YtQs6iGE9di75X2h\nHzAnEjmFxyIbU5+uHPC5/zSN+EVfHQNkYnyzdoP8YJQatxdxgYTyRoQ/XFAW\nL0ojCKxBc+yK9VeYzEgaqkWi4Lc5FCJubD+1IYcybFzC4M4ewY/b1ijvyCX4\nBK17REc4Uk13k1xRlm6cINfyNlktSe8xbhiBtqQuDcOxhT6y7svovPY8zvj5\nOacCREUwcEJQKgsg4OmsZhXVYzUC5dMmpAyX/NoE4pVftKC0xUw35PKBQfdM\nu9L89u4KP+kVkPqT5vLQ4uptCBUl0nshLBZFAsTjFBdvOUXSNzIcYg1EUy2A\nuvA7wN30jJUqp+25n14uvPxttDTrLoPUcauftd47sIxLVGXPh8Aak7ra15KB\n+VgTAG5d8uL1ozS0/MyEPZJ9zNaDfxhXU6t0Zp/iez8AAYVdCzHdftl3nYEp\nVWTf\r\n=TKy/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWyhkjeh0N/HDgtlaB9oABr2HrNADAuIyfbaR1MkKVAgIgZah35RXef2CIQ5pQao3aSjRMUR1DbhMpeZKn14HF82U="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"lootbox","email":"0x0123001+npm@hotmail.com"},{"name":"mathiasklenk","email":"mathias@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"agorfine","email":"amanda@passbase.com"},{"name":"milan_passbase","email":"milan@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.1.6_1614267111849_0.3858130119184269"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.1.7":{"name":"@passbase/button","version":"3.1.7","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@datadog/browser-core":"^1.13.0","@datadog/browser-logs":"^1.12.6","@tensorflow-models/blazeface":"^0.0.7","@tensorflow/tfjs-core":"^2.8.6","@types/axios-mock-adapter":"^1.10.0","@types/dom-mediacapture-record":"^1.0.2","@types/jest":"^26.0.15","@types/node":"^12.12.12","@types/uuid":"^8.3.0","awesome-phonenumber":"^2.21.0","axios":"^0.21.1","core-js":"3.4.1","downshift":"^6.0.3","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","lottie-web":"^5.7.3","qrcode.react":"^1.0.0","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^4.1.2","ua-parser-js":"^0.7.22","uuid":"^8.3.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@storybook/addon-essentials":"^6.1.7","@storybook/addon-storyshots":"^6.1.5","@storybook/addon-storyshots-puppeteer":"^6.1.5","@storybook/react":"^6.1.5","@testing-library/jest-dom":"^5.11.6","@testing-library/react":"^11.2.1","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/react-phone-number-input":"^3.0.5","@types/styled-components":"^5.1.4","@types/ua-parser-js":"^0.7.33","@typescript-eslint/eslint-plugin":"^4.8.2","@typescript-eslint/parser":"^4.8.2","axios-mock-adapter":"^1.19.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","eslint":"^7.14.0","eslint-config-airbnb":"^18.2.1","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^24.1.3","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react":"^7.21.5","eslint-plugin-react-hooks":"^4.2.0","file-loader":"^6.1.0","identity-obj-proxy":"^3.0.0","jest":"26.6.3","jest-canvas-mock":"^2.3.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","rimraf":"^3.0.2","style-loader":"^2.0.0","styled-components":"^5.2.1","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","clean":"yarn rimraf build","build":"webpack --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --config ./.webpack/demo.js --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC --env.PASSBASE_TEST_APIKEY","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:static":"NODE_ENV=production webpack --config ./.webpack/static.js --env.DISABLE_ANIMS","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"PASSBASE_CDN_PROTOCOL='file' build-storybook -c .storybook -s ./assets -o build/storybook","build:storybook:visual":"STORYSHOT='true' PASSBASE_CDN_PROTOCOL='file' build-storybook -c .storybook -s ./assets -o build/storybook","lint":"eslint ./src/**/* --ext .js,.ts,.tsx,.json -c .eslintrc.js","lint:fix":"yarn lint --fix","test:ts":"tsc --noEmit","test:unit":"jest -c jest.web.json src/ --maxWorkers=4","test:integration":"jest -c jest.web.json __tests__/integration --maxWorkers=4","test:visual":"STORYSHOT='true' jest -c jest.web.json __tests__/visual/","test:visual:diff":"./__tests__/visual/run.sh diff","test:visual:update":"./__tests__/visual/run.sh update","test:static":"yarn lint && yarn test:ts","test":"yarn test:static && yarn test:unit && yarn test:integration","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","start":"webpack-dev-server -d --open --host localhost --config ./.webpack/demo.js","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-preprod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-prod":"NODE_ENV=production yarn start-https --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button@v3\n\n# Yarn\nyarn add @passbase/button@v3\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, apiKey, (options = {\n  onFinish,\n}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void  \n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void  \n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void  \n**onError**: _not required_ The callback which will be called on error, (error: string) => void  \n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: _not required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.1.7","dist":{"shasum":"23425d3f0d7c174ef8b259f45e233dee47df7b20","integrity":"sha512-PfDUSC7tsrqnj4OMDoUF1H5Oxlg7X9QL70wn0/mGSaJO43BDQZSmSJOgrVbPoMLXjrrf2ekkxPeOpD8EaScYFg==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.1.7.tgz","fileCount":6,"unpackedSize":809697,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgOMqNCRA9TVsSAnZWagAA+cEP/2EX4ZEGdJKFp0RrNEUX\n2rcotL2O4kAj+QYjN82mT5aJy0KQJSpkRBOULLvhu2mqD36NECUJIPLB5GPt\nJn1LmmPfN29YhBs8nWz+1H4J1yfWANDXEPxitrpWwS4b7A4gJW4PspdauJGN\n1XMWKOsvO0qRQOGy6MG5nvOLvO+fKoW3hLmRC5voBMhF2WfKM0RAFjJqLOQQ\nbITH3VmpKqvvIXSzOEy31ve31IeAodxlGcFwaqD6+npXdOp8wvTK7wOGakro\npyfGlCa1xH879tuISOEmej13xA74jnbrQLVrxZpQs3GINQguzImNmZg9KQPm\n7J5SgrDwye3gG3EyLnSpDJE57hpYDESMkZCOU+XJsWO8yLXvTMj+vuCD7XBn\nurb4V7U8eDj0XcWESpnHeXwADYcjQw2+t3PC3cX9ITRM20F2HwjYboKLysdX\nYcKbuLaoVJblzhHIv32lSW68h4238q7ek0hImtXb/bjcb6lhjS1prxO4epMA\nOBMOZ31epbkwUCzixXf2Z5uhXe9+Tv1yq9Kcf6UCV+AS2UcKbd8XrjnS46aA\nITiFessS/MIB7ObCAJFJz+9YM79T9ATHakGmxZ8soaVN8GN/uHdxsmOlDne3\n0eYM926/IrLpLJzkbzbmY/SaVVUbQHDTSwtCiiIQtbN1iNR8UUcTRQD5MN3u\n+hIl\r\n=orqx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC9356AnCE4GrLlg8GLTpIxBUOQ4OooWr96RzcrAo2+zAiEAjbf3V/TevcZNSj9x3vYO1H/TY2A9GoO+tEz6yqYFpjg="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"lootbox","email":"0x0123001+npm@hotmail.com"},{"name":"mathiasklenk","email":"mathias@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"agorfine","email":"amanda@passbase.com"},{"name":"milan_passbase","email":"milan@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.1.7_1614334605262_0.27247828712235345"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.1.8":{"name":"@passbase/button","version":"3.1.8","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@datadog/browser-core":"^1.13.0","@datadog/browser-logs":"^1.12.6","@tensorflow-models/blazeface":"^0.0.7","@tensorflow/tfjs-core":"^2.8.6","@types/axios-mock-adapter":"^1.10.0","@types/dom-mediacapture-record":"^1.0.2","@types/jest":"^26.0.15","@types/node":"^12.12.12","@types/uuid":"^8.3.0","awesome-phonenumber":"^2.21.0","axios":"^0.21.1","core-js":"3.4.1","downshift":"^6.0.3","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","lottie-web":"^5.7.3","qrcode.react":"^1.0.0","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^4.1.2","ua-parser-js":"^0.7.22","uuid":"^8.3.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@storybook/addon-essentials":"^6.1.7","@storybook/addon-storyshots":"^6.1.5","@storybook/addon-storyshots-puppeteer":"^6.1.5","@storybook/react":"^6.1.5","@testing-library/jest-dom":"^5.11.6","@testing-library/react":"^11.2.1","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/react-phone-number-input":"^3.0.5","@types/styled-components":"^5.1.4","@types/ua-parser-js":"^0.7.33","@typescript-eslint/eslint-plugin":"^4.8.2","@typescript-eslint/parser":"^4.8.2","axios-mock-adapter":"^1.19.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","eslint":"^7.14.0","eslint-config-airbnb":"^18.2.1","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^24.1.3","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react":"^7.21.5","eslint-plugin-react-hooks":"^4.2.0","file-loader":"^6.1.0","identity-obj-proxy":"^3.0.0","jest":"26.6.3","jest-canvas-mock":"^2.3.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^1.17.0","puppeteer":"^1.18.0","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","rimraf":"^3.0.2","style-loader":"^2.0.0","styled-components":"^5.2.1","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","clean":"yarn rimraf build","build":"webpack --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --config ./.webpack/demo.js --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC --env.PASSBASE_TEST_APIKEY","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:static":"NODE_ENV=production webpack --config ./.webpack/static.js --env.DISABLE_ANIMS","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"PASSBASE_CDN_PROTOCOL='file' build-storybook -c .storybook -s ./assets -o build/storybook","build:storybook:visual":"STORYSHOT='true' PASSBASE_CDN_PROTOCOL='file' build-storybook -c .storybook -s ./assets -o build/storybook","lint":"eslint ./src/**/* --ext .js,.ts,.tsx,.json -c .eslintrc.js","lint:fix":"yarn lint --fix","test:ts":"tsc --noEmit","test:unit":"jest -c jest.web.json src/ --maxWorkers=4","test:integration":"jest -c jest.web.json __tests__/integration --maxWorkers=4","test:visual":"STORYSHOT='true' jest -c jest.web.json __tests__/visual/","test:visual:diff":"./__tests__/visual/run.sh diff","test:visual:update":"./__tests__/visual/run.sh update","test:static":"yarn lint && yarn test:ts","test":"yarn test:static && yarn test:unit && yarn test:integration","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","start":"webpack-dev-server -d --open --host localhost --config ./.webpack/demo.js","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-preprod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-prod":"NODE_ENV=production yarn start-https --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button@v3\n\n# Yarn\nyarn add @passbase/button@v3\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, apiKey, (options = {\n  onFinish,\n}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void  \n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void  \n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void  \n**onError**: _not required_ The callback which will be called on error, (error: string) => void  \n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: _not required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.1.8","dist":{"shasum":"437009ede72311046423fb2de2574306d7d2a069","integrity":"sha512-bG+AQynbVdk6/SoI974IGJdgBD+Rt5wPldJKPnO7ISg+6quHr++jokdPkWdYFC0etsEfTd2MIA9QZjVVxNDFcg==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.1.8.tgz","fileCount":6,"unpackedSize":809706,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPkpiCRA9TVsSAnZWagAAVZ0QAJf+dQnFlfppCbbnenBT\nd7jRk0bVM2d2M7XoF3kKxjVZeKmkrmwTpMBJIrp2Gqia6RtSjsY62fChQVCd\nQ4KWLcRZ/36M5boHkQQjykZ5vgqxkAf18YW1Ar4aMOWq2xaqbI78+FpGawvc\ndbxtCX6xM0iiq0IagBJ9h8SLZpbL5AvwUcnDx8PkPOKz2KoNiTLj4suCkmcF\n6uoWCrKGQH13poznbciqzjghuh/k4GfyheLHtU4boX2QMCg3uqFSu3EkR5mq\n/JBfJNZxmp9O5WnkNXvcvE5KrUDRjOhtfB/ffVk/os/GY7Zn7cjXVFSQEt8p\nCQRYPkzTXjckqe+dL7vAhiHhtJrBHHO8VOgA0CxZUzIVCgdT1F0uroxxmOcP\ndWYzp3KWFNODxS78PbA152c08R024rOeXfBDbpRGwwW9I1bs34h3tqLQfUtg\nAJTACuxfrLT2ggjy2/8+kVBneW44TEe1rE80c1R3wdyJsR9WpBqhokaIXOpD\nu73gzRuset2wyxGFIE0/j7bwuDrNaLb/q6zHnGHLFy50ouWWeWUnOaVQm6xA\nTwZJV/cnmjOSweV8sXQ95kQgHjrSvbIYJrLMwd71WkoKuED48j6xDbW5rflK\nkS5PRR7TO8DnxK9ljNPMbRyDWGnex/YnIhGd5S8ip1KCavZxkiAE0D/nsWmx\nsv8R\r\n=PSao\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8+0H5dEbgg4flfmH9yyB5lsYSg43oQ8krLub6NUxwDgIhAISftRM3JJ8aZEMxBcloQqtC9qZj6r0cHgRmybN0f7sd"}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"lootbox","email":"0x0123001+npm@hotmail.com"},{"name":"mathiasklenk","email":"mathias@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"agorfine","email":"amanda@passbase.com"},{"name":"milan_passbase","email":"milan@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.1.8_1614695009357_0.4617192576389837"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.1.9":{"name":"@passbase/button","version":"3.1.9","description":"Passbase customer login button","main":"main.js","repository":{"type":"git","url":"git@gitlab.com-passbase:passbase/client-web-authentication.git"},"author":{"name":"Passbase"},"license":"MIT","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"private":false,"dependencies":{"@datadog/browser-core":"^1.13.0","@datadog/browser-logs":"^1.12.6","@microblink/blinkid-in-browser-sdk":"5.10.0","@tensorflow-models/blazeface":"^0.0.7","@tensorflow/tfjs-core":"^2.8.6","@types/axios-mock-adapter":"^1.10.0","@types/dom-mediacapture-record":"^1.0.2","@types/jest":"^26.0.15","@types/node":"^12.12.12","@types/uuid":"^8.3.0","awesome-phonenumber":"^2.21.0","axios":"^0.21.1","bowser":"^2.11.0","core-js":"3.4.1","downshift":"^6.0.3","i18n-iso-countries":"^4.3.1","immutable":"^4.0.0-rc.12","lottie-web":"^5.7.3","qrcode.react":"^1.0.0","query-selector-shadow-dom":"^1.0.0","react-data-grid":"^6.1.0","react-docgen-typescript-loader":"^3.6.0","react-intl":"^3.9.1","react-phone-number-input":"^2.4.1","react-scrolllock":"^4.0.1","react-spring":"^8.0.25","react-transition-group":"^4.3.0","rxjs":"^6.5.2","source-map-loader":"^1.0.0","ts-loader":"^7.0.5","typescript":"^4.1.2","uuid":"^8.3.0"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"devDependencies":{"@babel/core":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.5","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.8.3","@babel/preset-es2015":"^7.0.0-beta.53","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.7.4","@storybook/addon-essentials":"^6.1.7","@storybook/addon-storyshots":"^6.1.5","@storybook/addon-storyshots-puppeteer":"^6.1.5","@storybook/react":"^6.1.5","@testing-library/jest-dom":"^5.11.6","@testing-library/react":"^11.2.1","@types/react":"^16.9.15","@types/react-dom":"^16.9.4","@types/react-phone-number-input":"^3.0.5","@types/styled-components":"^5.1.4","@typescript-eslint/eslint-plugin":"^4.16.1","@typescript-eslint/parser":"^4.16.1","axios-mock-adapter":"^1.19.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^24.8.0","babel-loader":"^8.0.6","babel-plugin-require-context-hook":"^1.0.0","compression-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.0.3","create-index":"^2.4.0","css-loader":"^3.2.0","eslint":"^7.21.0","eslint-config-airbnb":"^18.2.1","eslint-config-prettier":"^8.1.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^24.1.3","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^3.3.1","eslint-plugin-react":"^7.21.5","eslint-plugin-react-hooks":"^4.2.0","file-loader":"^6.1.0","identity-obj-proxy":"^3.0.0","jest":"26.6.3","jest-canvas-mock":"^2.3.0","jest-puppeteer":"4.2.0","jest-styled-components":"^6.3.3","prettier":"^2.2.1","puppeteer":"^1.18.0","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","rimraf":"^3.0.2","style-loader":"^2.0.0","styled-components":"^5.2.1","webpack":"^4.35.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.10","webpack-dev-server":"^3.7.2"},"scripts":{"postinstall":"npx rimraf node_modules/@types/react-native","clean":"yarn rimraf build","build":"webpack --env.BUILD=true","build:integrate":"yarn build --env.FACETEC --env.PASSBASE_TEST_APIKEY --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN=localhost:3000","build:integrate:react":"yarn build:integrate --env.react","build:demo":"NODE_ENV=production yarn build --config ./.webpack/demo.js --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.FACETEC --env.PASSBASE_TEST_APIKEY","build:prod":"NODE_ENV=production yarn build --env.FACETEC --env.IFRAME_ROUTE='iframe_container.html'","build:npm:static":"NODE_ENV=production webpack --config ./.webpack/static.js --env.DISABLE_ANIMS","build:npm:react":"yarn build:prod --config ./.webpack/npm.js --env.react","build:npm:umd":"yarn build:prod --config ./.webpack/npm.js","publish:npm":"echo $VERSION && yarn build:npm:prod && yarn publish build/npm/ --no-git-tag-version --new-version $VERSION --tag latest","build:analyzer":"yarn build:prod --env.ANALYZER","build:prod:react":"yarn build:prod --env.react","build:storybook":"PASSBASE_CDN_PROTOCOL='file' build-storybook -c .storybook -s ./assets -o build/storybook","build:storybook:visual":"STORYSHOT='true' PASSBASE_CDN_PROTOCOL='file' build-storybook -c .storybook -s ./assets -o build/storybook","lint":"eslint ./src/**/* --ext .js,.ts,.tsx,.json -c .eslintrc.js","lint:fix":"yarn lint --fix","test:ts":"tsc --noEmit","test:unit":"jest -c jest.web.json src/ --maxWorkers=4","test:integration":"jest -c jest.web.json __tests__/integration --maxWorkers=4","test:visual":"STORYSHOT='true' jest -c jest.web.json __tests__/visual/","test:visual:diff":"./__tests__/visual/run.sh diff","test:visual:update":"./__tests__/visual/run.sh update","test:static":"yarn lint --quiet && yarn test:ts","test":"yarn test:static && yarn test:unit && yarn test:integration","storybook":"start-storybook -p 9001 -c .storybook -s ./assets,./build/cdn","start":"webpack-dev-server -d --open --host localhost --config ./.webpack/demo.js","start-https":"yarn start --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS","start-dev":"yarn start --env.PASSBASE_BACKEND_PROTOCOL='http' --env.PASSBASE_CDN_PROTOCOL='http' --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start:dev:share":"yarn start --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN","start-dev-facetec-https":"yarn start-dev --https --cert=./certs/passbase/cert.pem --key=./certs/passbase/key.pem --env.HTTPS --env.FACETEC","start-dev-facetec":"yarn start-dev --env.FACETEC","start-dev-safari":"yarn start-dev --env.SIMULATE_BROWSER Safari","start-dev-https":"yarn start-https --env.MOCK --env.PASSBASE_TEST_APIKEY --env.PASSBASE_CDN='localhost:8080'","start-preprod":"NODE_ENV=production yarn start-https --env.PASSBASE_BACKEND='passbase-api-preprod-master-api-server.service.passbase.com' --env.PASSBASE_TEST_APIKEY --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-prod":"NODE_ENV=production yarn start-https --env.FACETEC --env.PASSBASE_CDN='localhost:8080' --env.IFRAME_ROUTE='iframe_container.html'","start-integrate:safari":"yarn start-https --env.SIMULATE_BROWSER Safari --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080'","start-integrate":"yarn start-https --env.FACETEC --env.PASSBASE_TEST_APIKEY  --env.PASSBASE_BACKEND localhost:3000 --env.NETWORK_TIMEOUT 600000 --env.PASSBASE_CDN='localhost:8080' --env.PASSBASE_BACKEND_PROTOCOL='http'","missing-translations":"npx ts-node ./scripts/getMissingTranslations.ts","patch-zoom":"./scripts/patch_zoom_v8.sh"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button@v3\n\n# Yarn\nyarn add @passbase/button@v3\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, apiKey, (options = {\n  onFinish,\n}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void  \n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void  \n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void  \n**onError**: _not required_ The callback which will be called on error, (error: string) => void  \n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: _not required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.1.9","dist":{"shasum":"2348e0d7a38105d6ba85abf49a671fdd2a77ca91","integrity":"sha512-a+vyRw0Cmm5U3hrDTnKbuQ2iSRXW2aoKxUplG3I8o1xOGVEpw+karnXgFYW/Ddk//0610cJbX2aUvkxWLCGF2A==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.1.9.tgz","fileCount":6,"unpackedSize":894015,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQNKSCRA9TVsSAnZWagAAuUMP/3ZyJyYyNlKeRcE/y250\nUf5WOPYSfjnk5WayUSo9lCii54beex4DLZwbFO9D6Y5Heevvi9E3sTZ60LCW\nh11ld7ceh02LK+xhoj2zJqfywxyc4IzEfE5Sez2CcLQqRY4oGFO217Jbet8Y\n3haBGvPybPC9Vdk8vPEPbLAiwXs+OpUtRLOIM+MRg6Rs7qOo0gV9dyyT3wkv\nC2bQe37cJu2UN91O4TBC8nplMIdripPSQ5WcigW7EEi1qaEI6nwpR8J74vXF\nbsPdzcM7FbxEkWGaOBtO6eOoyb093xYVQXRzZpDlTJt3d7+wssQOFg5ca+pN\nvFW8cYl8Oncur6INWqw8KRPS6dqEsHQ6KCPzjmhkwEqMTZOw20TNFqZKxVpw\nolu2asq5Wi5CIGxJkblODe3MJaYco8K906xzgidaUayqLaqynvCmGRU7MeCX\namto7NaU3PgNaqezc41RLIWeMAnd4CeNNiFZrojseQtNixB++UvxeBWxc4Bh\nOf6F0XHU7W0tGVE7Wgup3w5+yvvpzuZxoYCRCWhdDC7fTsedxCutLtapKxWm\nyb9Xnu4y01XIKesVpmAPUd7IS8Tp/CJUpFIIqTbF3zvQlYaKrc2s2Nmx7EzK\n2W4jzzyJyzcTlxn6QAi3KrHXHrmOrVIJ0/K2IRDUjBmm/qOGYxMii8tquyuQ\nStTQ\r\n=Ojz4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvuouQfH+M/8YarA64KssxLXkIpV+NgnbqtVmwO6Th+gIgcM2+AYcKbZCagWfkVaFCe9usIl86b1bhOaZNIJ8D6SE="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"lootbox","email":"0x0123001+npm@hotmail.com"},{"name":"mathiasklenk","email":"mathias@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"agorfine","email":"amanda@passbase.com"},{"name":"milan_passbase","email":"milan@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.1.9_1614860945743_0.08268349062219982"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.1.10":{"name":"@passbase/button","version":"3.1.10","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button@v3\n\n# Yarn\nyarn add @passbase/button@v3\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, apiKey, (options = {\n  onFinish,\n}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void  \n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void  \n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void  \n**onError**: _not required_ The callback which will be called on error, (error: string) => void  \n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: _not required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.1.10","dist":{"shasum":"cd52a6a03d0818603e9fa182da9e2dab642968b0","integrity":"sha512-eAoLPNisx3sUNpaXoonFgxIPdmNc1XRNO884d04GIIsM2fv1LudYBuK/+WJGRT6hFtEYyptutl7L3JOl+fk5LA==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.1.10.tgz","fileCount":6,"unpackedSize":919518,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQnbXCRA9TVsSAnZWagAAAk8QAJnC9H9BAXaBlVjNzdlE\n4C9Zs5+ADlO36m/Ke0zJUOx4HtGN2FtFCh5keF3A0VKoC0+GI+cx+3fneWd5\n8rVZRaCeR4E4LDvmPt7fwZlLFjiqiDEomKX8hve+WuT/iiUw2HjbJf2gbwRm\np/M0Cv4KrP4jUuVbtiynAYhfX2js7I4hKlviB5Mv4plkSWEJnByNYvRNvcDW\nyCJWEP2gP1ur/4MZ5ZqMHebTV/k5xavvNVQOPRYwE+RzUrFZiJnh4zDcjbms\ncYXm7fygNOW159wsj0MiClIpWPOUY99p+/rehfiVTT5k+xUVpsCulpUwNcfW\ncz+ENGWVfQmOmecYRKeIBdqsbb/2fgEh6Z0Mn2V7qxp5SFstBy1zL7lFWjnn\nSxSkPMvwYHSm1hqKuooPLKhxMmRQsjrYDaG+iPQEvBdPttH/lDfeJzVQXwT9\nVJZoUikCEZtPUul/QbIELUsad3Bu3SO6tAC8Lc/eyhYoTdUycyno4zTylB/R\nzEa9LuS0IhX1UVeJAGFwrD4Jdu3zODMQG0ikdNTYYn0OaUVlw56B06oClRLg\n+t57zs0JE45xg03peYZg4lNUDr/be6AO3q/yRyBCAoDlVAjBKoJMxV+25MYD\nUAwfvfmhwVygxFsnntPfi9CQ12kROF/juPFht563sWcQnE6pPpvvL6jvMpWL\nAMPX\r\n=KDrv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHCvmrCtvtXSm9zGOTDeA1Er5V2Ofzf3bCibJrAdHCHmAiEArOM3GdJV82Tr7tkkcr9ZThaOxfyfTCriZk6J4Ixazzg="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"lootbox","email":"0x0123001+npm@hotmail.com"},{"name":"mathiasklenk","email":"mathias@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"agorfine","email":"amanda@passbase.com"},{"name":"milan_passbase","email":"milan@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.1.10_1614968534374_0.34277954152116985"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.1.11":{"name":"@passbase/button","version":"3.1.11","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button@v3\n\n# Yarn\nyarn add @passbase/button@v3\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, apiKey, (options = {\n  onFinish,\n}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void  \n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void  \n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void  \n**onError**: _not required_ The callback which will be called on error, (error: string) => void  \n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: _not required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.1.11","dist":{"shasum":"5d32bec9e94731fd41beef6683dea43434c06cde","integrity":"sha512-Ae6tSXgaaPzyd4zliVQzC4Q5+hQ+68WYbqeXxj0TnYykwugDNI64YG9QQWDtZBkFl6oKOsIheWtT3pPjGsU93Q==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.1.11.tgz","fileCount":6,"unpackedSize":919845,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgSKdtCRA9TVsSAnZWagAAwmUP/RM5YVCEGM5kXWZtyCAy\nqVCOqVTNQYlMAHaoNExzK+BG7d6jlvN5iM59U0mx1tPTdE4ZPo7/81aYMEbQ\n9E1ZTFbcoc1SocPxUwgIrzoUYwLR37A5g3nWs91twKawO9LKh7xm5xjpF1SN\nP6VrwAd+sHMGcxjTJQEMRDais20bJySh0WD7kwDlBbsODrcO/edVVMrdhMS7\nQ0kWOuYELyqzACLJ9lDlQHWuXdRISCHSCJyTDnzAkb71b+pGDTtkTyUPuNPq\nM7oQtaORjTYZjhRLddkQB9JlI1DbMSlUysAnvu/2eCpz5XaqvoO/cO0V47s/\n8ZZS0ONv43EFiQ+A+v26zte1U5bpuUyzZRmnTEhM9d57TfVC8nmAwTu+WclW\njlHJMjOl7Q76G9eLohOif7miDVUToPCyHAcD/IdPx4mm3jbIAombHrjxtTPh\nByKOhfpF/7Z5JZzNyGKsMsPNEIvnOGUa7TFOqj8DQkVFLrWkZmwUXZhH5iXb\nCavX/3do3OzcNm08qbLd2USVzRqsJ2hAWV8Vt8uleZDbmCN9amOdgv3lhGxs\nbrAvLCz4BSqwrImRG1/wJ07DQd40kedGpIzSCuw2Tll6K4JAqEa0VBxLGAEw\nucDbCxFm5LuCPpq6sGlQHXMdtBpLScr3D0X4BeeD5QpNFzqo+94acHYlot33\nOSRh\r\n=7+PQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEQL592KEqOCCiia+b7ErMZZn7Fxwlkj3IpbqRU1q+U8AiEAvSo0nha72SqX/4iZ2Ihy224cOJ/O1LkEq4fmalCeTj8="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"lootbox","email":"0x0123001+npm@hotmail.com"},{"name":"mathiasklenk","email":"mathias@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"agorfine","email":"amanda@passbase.com"},{"name":"milan_passbase","email":"milan@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.1.11_1615374188984_0.09212968968426871"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.1.12":{"name":"@passbase/button","version":"3.1.12","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button@v3\n\n# Yarn\nyarn add @passbase/button@v3\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, apiKey, (options = {\n  onFinish,\n}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void  \n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void  \n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void  \n**onError**: _not required_ The callback which will be called on error, (error: string) => void  \n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: _not required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.1.12","dist":{"shasum":"e90af9522a954dbe2ed4bda1474e24335403e90a","integrity":"sha512-GOaE7PzBqUOkV6/6PIUHCpY5BTvDLGBAxyKOZS0E32Ew9kjbVdu8RwK7aQI4p6ZwySQXAcGSAyNuAgudeze8MQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.1.12.tgz","fileCount":6,"unpackedSize":919845,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgS8SxCRA9TVsSAnZWagAATqAP/16y2XYPFeaba6Mr+9oc\n7W2dmPSe7KfR08CgOXUQiPt/IyzRG5o1EHbZ72o1B5gul0woKzB2GZToIYv1\nHX4FnmTtK4zMB12MJts+hJLZYCitNdj9FHH2bR7ntv0UTV7E+QVLe8BncB/E\neRhfkPxf8OlIkxjgIS0Ta7wFeFIJXLriJtv/XiDByd12ov4tlk4Lgxt1M0Sd\nezX8cB+1sWGPoReA1ntFZQ2ljGN0rkr8mn3DzaV2t6HvmFv+sf6S6f0CJv9P\niCC+QFswv7EnQl+0goMu6i+lrjo2dSazkFBtdixqoz7/QAsftq1uMTAhPden\nIUphWGh5XyyGdvZrWTHLwS0NNRdjoTg3ndCKprC4wJzmYeH3KtGsSvSL1vdl\ngwQ7wVlwBbuFIgkNZtHQyTpin2bVF+cURLnqInSBHlmmwt4N0nza2B2s5qwr\nmp/5fHaQHu1EKsTuq+Q47n50KhmYVpFNtxyl/o/BnM9llwjh+o8vFdJt8fFZ\nspfkMnbR4hv8jQ0+3Xn3ByR4kVxW7F7iVliml4BK1olwbGBULuGL0JtiS+58\nqnFgX+ClrxDWmFujljmjaGRfdspWUqXzitzUpU0eHStduke5UwMz0hwNL3R+\nOwbf74Od7+TccBlQ/o12oTt0X5JhkrmOLoQiQJhOOprIteRyq/4huO2XVBll\nQCdl\r\n=o9SH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCokMZ2TfHrRBIolXGSa2s+FrsX3GQ9mFe98CfZfUv2BwIhAOA43bpL56DNzZmQtbqWd0LLJVzSyTeCdCZs3Nk/v7xS"}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"lootbox","email":"0x0123001+npm@hotmail.com"},{"name":"mathiasklenk","email":"mathias@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"agorfine","email":"amanda@passbase.com"},{"name":"milan_passbase","email":"milan@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.1.12_1615578288295_0.1972228021689557"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"2.0.16-deprecations.1":{"name":"@passbase/button","version":"2.0.16-deprecations.1","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 4"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at At [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n⚠️ This version of the SDK is no longer supported. Please see the [Latest release](https://www.npmjs.com/package/@passbase/button/v/3.1.12).\n\n```bash\n# NPM\nnpm install --save @passbase/button@deprecations\n\n# Yarn\nyarn add @passbase/button@deprecations\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, cb, apiKey, (options = {}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**cb**: The callback which will be called on completion, (error, authKey, additionalAttributes) => void  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**additionalAttributes**: an object containing attributes that will be stored and retrieved.  \n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n&nbsp;&nbsp;**integrationType**: \\__not_required_ - whether the button is integrated at signup or login  \n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  integrationType=\"signup\"\n  onFinished={(error, authKey, additionalAttributes) => {}}\n  additionalAttributes={{\n    customer_user_id: \"\",\n    another_attribute: \"\"\n  }}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**integrationType**: Whether the button is integrated at signup or login  \n**onFinished**: The callback which will be called on completion, (error, authKey, additionalAttributes) => void  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**additionalAttributes**: _not required_ - an object containing attributes that will be stored and retrieved.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: \\__not_required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**font**: a string defining the font  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@2.0.16-deprecations.1","dist":{"shasum":"574e704549b87f7e4ed482f46edd3b9386a978db","integrity":"sha512-YK+4eaqn9M/nwp62S4p77E7E3Kdu6UukLw2ZcZTQJJJfv4nrCySZPKEDAuSa81Z4Vv8dhV11clQAPWEpc0m3UA==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-2.0.16-deprecations.1.tgz","fileCount":6,"unpackedSize":735137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgUfsSCRA9TVsSAnZWagAAthoP/j9rmxXRRQqnsopWvQHO\nMHMz4acMB8PuX+pDgi/v7nauRcoWttrWJs7UuScLoWT0Iuv3rGnfKlVPW0Za\n/HfRU5rKEqUFEypJQfrxZ3q87NPlXLHSYh27iQHaEUfNLiCX6hnAQlxmMeUh\nZcM+QxvT3meYtgLVuacoxlsCoj3ZuUOnScqzkCIJVe1bLKBeOCciJ+6CJ2mN\nyNFNTHM2MX7R9XhvPX2rW4M5KfESVEjSWqbjjJQsWwpuMmIIaps8tOyIedM8\n0NOETN/OaMfQlRP9CsCHalirl6FyIQHehFgB+VxQlJZWxrj99j1zJGHkpiXO\nG34CrZbWYZt1rIA74oyJWCC/KQzN2+3F+Wj1B/ZEWDZqyeyIVdRve14RIY+m\nsC9KBfiQ861/AmHJfkhYugUsjIbehfnFdU77mIGxEpwMtQ4XWxYl4OUvCMme\nukJozbyO3gpy5LueMK5Rv3nMTydBfXMM0DtNJlviXnWsFDLGzSe8aUkq/hBi\nJWPAh4nU2p2T5GxaCCffxCbQBUJ+RjaGfOygIMLTNTJhWGwAyXXmnGtOTRWh\nCvRb0zfU5gAWQa1j5d58s1YPLPR3NGEG1cQM6tsg73+HGsjHz4fbsGuXGIIN\ntvL3kIZPWc5SNH8YrjysTe7HjyDWiVWDTMZsvW+ASmaCzVG3cElszACWCZ8w\ngQoH\r\n=/s/9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICSDGaUnk9uT3dMIHokctnBGsTblwDKXArmtZkI7MRXAAiEAgT01ycOY6ve0KC5fWqB78ZpYipt8Fjep08fCdfHqY94="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"lootbox","email":"0x0123001+npm@hotmail.com"},{"name":"mathiasklenk","email":"mathias@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"agorfine","email":"amanda@passbase.com"},{"name":"milan_passbase","email":"milan@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_2.0.16-deprecations.1_1615985426161_0.07700751178664822"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.1.13":{"name":"@passbase/button","version":"3.1.13","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button@v3\n\n# Yarn\nyarn add @passbase/button@v3\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, apiKey, (options = {\n  onFinish,\n}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void  \n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void  \n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void  \n**onError**: _not required_ The callback which will be called on error, (error: string) => void  \n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: _not required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.1.13","dist":{"shasum":"b45fd88b3468c21fc316cdce5221f805e130f462","integrity":"sha512-aJUjws5029jsY1Ney51LXMhIbsgcKc+L0bL4EDWOuRtQTxGsA17W0CoPmQSaakYmLioueSrkyZi+5QbETnmS3w==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.1.13.tgz","fileCount":6,"unpackedSize":919845,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgU10cCRA9TVsSAnZWagAAdrsP/23kclcdLZe9t+fw3BLi\n6x4ozI3dAOA/UBNKwJwzTomnsUsOdbJf1VK0ppmv0IxhU9iwDhP36vccY1jk\nWT9UuDmD/XHh5dKbc6HKDtGkONfasDzQz13u7yDq1Znx2iskc1On6pf/STY0\nQ4KLoUgKOu+akMH5nwmqqYcfzwViP71LCKOhYJ0L1S8qKtUe0xjSIP/8rl9o\ns3bWlSiMpBmtZFjU2wOWeQ3A7YOKIh/9nbdxBnro66VEiNBO3R6Tw2nZHepv\nZX37Ysnm9hkQdnDNoAd2+WbId/lmDowCfdj3YakvJj90hOIw2d3JIHKbxASD\nRePUSGijzEx1YBvoZb5pfvh28l724U8SqLdplt+IQogm6fNRq6FeAguB6oN3\ndXAg0B8NlDZQ0CuN4Cpfcx3TmiuRwZCSvr2L0LDXXuLg8qugOYCoCLDEYkJh\nr9yyvcUO//Da+JYDmmsa1f/YVA46zbaVOdCwMeFK7Crww00VVl5y8tvm9/M6\nm06RaF7suLeOWVanJigcxdEsUmdxu7HDy3SdHrrbrb/H14rbN1ac+rpa6vlN\nHetB77m1RyNKoLGor8f1GP5nHil2Pq6zB7T3C5mFVP4osEULgtTdPR+FPjma\njbWQjxfSxk6mltFog/LT81w39YCiYuHLWgZw+4MTkQ1f+ULBqa2Qtk0+hlOZ\nxeJe\r\n=FST4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAfamTvYCR6wKDwcJHiaXdF/3ncO7a315GjwfXJXmI25AiAGB1Bx7hmvgMuNMAhwrCljieQZOyYfPPmojfXE5iDfOA=="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"lootbox","email":"0x0123001+npm@hotmail.com"},{"name":"mathiasklenk","email":"mathias@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"agorfine","email":"amanda@passbase.com"},{"name":"milan_passbase","email":"milan@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.1.13_1616076060030_0.9788936953436311"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.1.14":{"name":"@passbase/button","version":"3.1.14","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button@v3\n\n# Yarn\nyarn add @passbase/button@v3\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(mountingElement, apiKey, (options = {\n  onFinish,\n}));\n```\n\n**mountingElement**: The DOM element you want to mount the button on  \n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**options**: _not required_  \n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void  \n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void  \n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\"\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void  \n**onError**: _not required_ The callback which will be called on error, (error: string) => void  \n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n**apiKey**: The Passbase API Key you obtained from the dashboard.  \n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n&nbsp;&nbsp;**email**: a string defining the user email  \n&nbsp;&nbsp;**country**: a string defining the two-letters country code  \n**theme**: _not required_ - an object containing attributes used for the button's theme  \n&nbsp;&nbsp;**accentColor**: a string defining color  \n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.1.14","dist":{"shasum":"e74d9b6802a35f5a14f1c2f7045d9c0282e491c4","integrity":"sha512-qVdgMPJheTLY0EyvDA55mU3O9xZY3u6X/9bC9oPwMDaGgYWKn0uvPFJrRGEAPIvFM2Lw6xREEyQij375GnTolA==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.1.14.tgz","fileCount":6,"unpackedSize":883921,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWLEPCRA9TVsSAnZWagAAiWsQAIq6vLl1/m6uX5Q8/obF\nWfEGK0DHI+nqUWeRsfsaguo5slVEZjpLAFxb9Oy8sUARfMS7xhGck4Syqer/\nE4MZcg5q1Yqamtuk2lwLslDZEK2Cla1deUDicYFwUK8f7IB/9poPp8dtVrAv\niC4s1tcNEgwr19vWH0AghmHlawZG0vrlGCf6P9YL36b6Ae/7Lw5onCeHqrM1\nnHl6pYDZNwoxhsRFi4zQSfh6cwYqbn+VHonDtpvP+XbYH5iI6EomMZ6kGtZh\nQp1xO7GNc8tKwWcjvCKTzKgVN8WUtmYlN/rQzXWZEvDvHg1O63K+EDqpspTM\nxchoc6CgqxxF6x/KSpxDYHq0HFKDf3YpX+RX+tSzHwpX39ByiupP8KdSIXYW\nldcCzM8/u69X8rni0bnidb4xX6dahi2ALEiWElEkIjbSCJPeBHufloAbdSvI\nAFpBVUAPJ4299yo8tczVeuDsqN7llo5eZ9I8ne7nKPG2ydg8s7TXw8CaEbIK\nAvxJBHLe6grHC+ot7yIowMkhiVWgWeecV/2CbsG3SnsG8jUvxR/tsxYd0GAi\nlS+6/wB5qxTh7v4YLyz1espaH0NA40puNq3/ACOiBz9IBEBBandl6kEclSFr\nsvrsljIt5cW2qXLjq8FBoWrphBB+fIbDyRmNXT2NR4NaziL+DQplCBDTzXJZ\nwhME\r\n=dx2J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDuDmjH3RNPmGx8RZvf7EyYdE6UlIBK1paXaMPLkxeEbAIhAP7lAhD8t91G9vXkPF3ql6Vr54ZWES5Xj9bOEklQDZuu"}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"lootbox","email":"0x0123001+npm@hotmail.com"},{"name":"mathiasklenk","email":"mathias@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"agorfine","email":"amanda@passbase.com"},{"name":"milan_passbase","email":"milan@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.1.14_1616425231119_0.42524606965648926"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.1.15":{"name":"@passbase/button","version":"3.1.15","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"_id":"@passbase/button@3.1.15","dist":{"shasum":"30a627def1012fc4eadc07944c85746134939fcb","integrity":"sha512-adYxY6VpJNZPFnPIEhqBYBPC6lkQ545dn/24ja2uoD5BJQXVNO5ogXQ/vA8iQWpgkN3yZzE28nLyly2nrD919g==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.1.15.tgz","fileCount":6,"unpackedSize":900164,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbX8sCRA9TVsSAnZWagAASc4P/AnFg21C+bvLKwi1DrzR\nEcl4Tl3uI32AeMAlU1sro92Znkw1PUp8WvGdm5qeFiA+3bFgv0d1j6vk/KoF\nqGt3ncCQj2tlvt3/G9WP+a1aBxSrF4RlMVADHWBfDJDc7X0ZMNxKY6vhCVw5\ngWI2VDO3VRbCJAiT7MZI3mPNE/bIW5vnMI2p2Vtd96sIhIH2O6RUX1jg2aDV\nppJlnOYZx9lJ6S2zPrH1mThfRXgCxHk4+cQNeApB6zl7U2NIzrt4hVFgNBwo\nwml6GrQRH1zRqCE8LpF882YZISURz05780P7KqzGuZVvQQ1piKsFqVHkVWLc\nt+Rmgooo40mn6WqHtp/ojX3TkTAiApa+c6LbYmKUJQgijU/Gnf8sqAaLM45s\n14zhOLiOH0iDw7dx+ogMlQAyww9gvBAh1RijrJ/qbhGIU8AxCJHYSMmseKt0\ncWVZlbfbyLS+RbH6PhscDlOBApRonPSf6Vz7CIFrWLNRx0DhPeZjEmhENRTm\nneh06YXTn9kOOSsV1G/2um5REyEN+3vro5lEauxgKPfypDZSCD9jY/mC5O6h\n7ZEJ9xVnIN9dgLusDqundgXk9G+ReBtMUaOh1Y6OEaRUWrnpg0qqyFHUgtOe\nAlDI43jMKrDN/u8YT/UeiThCNAxYEK0NZ51Ebt2G9zfXvPCZUN/l6Yvo2plu\nzs4x\r\n=hqy0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICqjm871i9Akbz2hlUu2oyv7OmqGbCzw0vGPLEadKwEMAiEA3gEF6GVUh3tatjvVQ+q+AWMVC7EMUlI78LLi15BPwTA="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"lootbox","email":"0x0123001+npm@hotmail.com"},{"name":"mathiasklenk","email":"mathias@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"agorfine","email":"amanda@passbase.com"},{"name":"milan_passbase","email":"milan@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.1.15_1617788715510_0.8335447181066424"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.1.16":{"name":"@passbase/button","version":"3.1.16","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"_id":"@passbase/button@3.1.16","dist":{"shasum":"87068a571c2752b4e52646b8c9f69f0d2b7a156d","integrity":"sha512-QDyHHQtDbhI350SlVhsN9eXh+Kd++06vRA2o+aH3/P0EmPV8r1Z4oSne9KtXsIZvRlk+M3WQjhKk8qvJMVWEAw==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.1.16.tgz","fileCount":6,"unpackedSize":900164,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgeAeqCRA9TVsSAnZWagAAgXYP/0FqX93DkN93QjHcolUo\nK1ZqzeEsqGYVtna7WgHvPOS8uiNpFTlzHaTAwdn6KuCG6u4MaX5/vL76NMcS\n9hJ76cPy1e2i1FTWKbjAekm66obM9Lg3FNitBSnsFjMJSi5DtDZt5d3tyrZK\neJrhnFvrvNUQH9vCAYN/cgHiXWQ34GqRY7VyGsTlXIVAWza2miz8Zwmz4JmT\nUGp3PdFI5hBV3xbC3fwthdt/Z24l/y9jzkQ2P11K8SCtxRFi0JcAzzQ0QoWt\nTLhuXw9sjFkwgKgp34Kd3QDZ7SuTjl54riUt/cZr4CyozZRkOwcEb5rfaVgU\nO3DD5NrquSVwF2c8u8/R7gvPGwjbvhR+RXXCk5SdHQMZVR7d4bs0kOAJqYiq\nLoxYi9DjsI54X4Xil0lAfZ8+DEzstM9I5g2kBDJwMNxLavZEvSbxt0eLCG/8\nUepKKqjKeaoUcb9QD1u8Z94ZbAt1LancxG8K1Itl8j4K1q1iss706N1CUNf1\n02boWbHDBensFysS2gDO5hqDVozMHlAHWmCrmu54Azqthn5faMRDs2CKP9Q8\numJqfi5pkwmCBFIxMhUgu3zLDmL37WpGJVB6ILtny8yNHRrkqzbwk7sQsPnY\n5A0i26tiuq4PEnph/f81TqUf9CQMNpzCLEA1e8cJdQI0qbPi9FtwzpMGBMtL\nfvRg\r\n=U0co\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLo+9jStj9l9S3ad1pvIann6+tFioQuUJCVO21UNu3GQIgcOKPQSDkafVCgGQqQb7xHVr6SQsdmp9XcCiVURWy2d0="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"lootbox","email":"0x0123001+npm@hotmail.com"},{"name":"mathiasklenk","email":"mathias@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"agorfine","email":"amanda@passbase.com"},{"name":"milan_passbase","email":"milan@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.1.16_1618479017980_0.29120299919156456"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.1.17":{"name":"@passbase/button","version":"3.1.17","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"_id":"@passbase/button@3.1.17","dist":{"shasum":"e52ba9fd6432f3125a4180762968e434e7d7a6f6","integrity":"sha512-nmAPKfwCNnvThhWBM8akxCWWVFWBfAgL1ageYzywm60eN4nZk2uemDgQJEVl2FZocYuB6vGD+BPUDcSVvVg6GA==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.1.17.tgz","fileCount":6,"unpackedSize":900563,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgfXiMCRA9TVsSAnZWagAAAH0P/j7wQZJj0/ETRFDoX8JX\n+w8u31+1jTraumz/FdB4sQwjUZLwznWRsBRE6lJtKtUMDPhlsFs3klNh/e8a\nTPiJo0I4F/cGiGkhLUw94H0KMZ73sj6Ao4tm+v9/kQh51ZjlvrTHy8Ff5gEI\n2nWBmtTJmkQnaIZ1irZiRfmpRwJlZuINEi8tGQATcenXX5i5od5WCz05VmTn\nIDh6DpTVUzremcVrPmsgpnAQtVq3mlm8Uc/oO2y6m4yjNVgznC/5pXmlbz3M\nVMOzdhLZy7+Wb8B7xj3PWcSdJ3jFANQv0PYoYXWXf23b9xz3gyG5BO2osBnJ\nfMqlij0hJSCIjmM8A8+YqHJ/G1C+iCZHsPB12Mx6YGk+KwCPq6VAa9RyToLe\nD2DmFR2LW2gmzTGzr9xTvWOYiE95ajTM/MywwLmWKzuFq0izHS+t7SgPZxKW\nBSbrr0+yoICyw+Tm/HnuTjYb6d/SugzAt/neX2BzOZOvMH41iKp5ZPgDO37h\nmxTqNDF6PTaBcfV3pdzgFXpDPmzsXNFePfDMOEfnTBYLLzI6x8yaQhc8/wI9\npvU7A1pIywXAU1BJQusJcppfisiwZhitiVomjVLOk8d7XRJEVTeZNxexDFcF\nWKQrDUqBdPTYqcKPID9T2xzB7B7HLX+4MIekGMGXympY6PpX0w6u+U8Do7Fe\nQLO6\r\n=w/Jp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAkET1npsQlQZsSRD7zzDbxyQy+ZrFipU4Ir4GxMaGlgAiBs5/XxRYfnQfMq+tfV18ue1oEzNSQM/kC9/qJOVemecw=="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"lootbox","email":"0x0123001+npm@hotmail.com"},{"name":"mathiasklenk","email":"mathias@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"agorfine","email":"amanda@passbase.com"},{"name":"milan_passbase","email":"milan@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.1.17_1618835595706_0.510372628445841"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.1.18":{"name":"@passbase/button","version":"3.1.18","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"_id":"@passbase/button@3.1.18","dist":{"shasum":"d8a954aa539657741f6a4c78fe84b67d92ebb2af","integrity":"sha512-X97r56y4MsDDeJ0JcyFnkvvnQCrfto8BGQTwp390s5xMC/z1t6YRlQrv2xSzL/GdHZ6A30f4AyHlRLWd0lKQbA==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.1.18.tgz","fileCount":6,"unpackedSize":901599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgk6WMCRA9TVsSAnZWagAAI+AP/01iUpUSiY4bduPuiM9Z\n8LkbofqvaZF+Sl5cWD8nC3uIM/Vnyy0XzIB0uV9pfd15gkNXQL9V8GaspCoT\nXigR26Jhk5dUZ0f9iO61mQ3jmx1iVu3UHtzMOc5NDR2s3+o51oKqMC3q8L9l\nKxD8hnZTsCcjmGFsrlkljfl0V3jZYlRUQSGCenvQFNmxMaWkLBVMrzQb1m3W\nH/xa5ZcSP2/aaEh6Co82i6DYrrhgRVhqA312Cfg9jWhBtfikBqCIMknbkB/I\nrDq2waXc4sAW3oNfykHk+JluHAJtePRICDQcqtdsR9jFdrUV9/azMmDGHhVc\nhv40wCKK/uk1Aol8QFd7Er2yG9pPyu2gFqsSPO0BYN1G2sSTCBA0VkBYjnhs\nZzINiqCZW0/pR1rvsN11biTRkpNhR/erTTNTVYkI6wEMqhjh6mcxCVfPKtY3\nbaxI2qjr5ax66kSrMk4aadCEpTLzyjREx/NuW4ak6gj8VfYVzLpKtwetsGM5\nlGdhxYK6zSzZMoI5jiOSl+nSmVweUVou1DcQOzapuDjiQtO3VoGuequ4D9cZ\nCPOuc4iGgsm3kjO64+AoQH9xozod5Tz/EScZ8dNjI+M73BQC+9hPdCTLArU8\nB5REzzF92/QHf0eBFCz9d4uTRl5uzs1/QBVgPA4cdVt9AwpOVoBBDG8GFq7N\nK6zv\r\n=twUL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3KTWXsgVGU/IdrygOuCvvF0fafP9Ske9xl1fHG+mosQIgd+ZQLUPFW0jMnzYpHbe5BaGv0NzQrKkp3NxyFap72IY="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"lootbox","email":"0x0123001+npm@hotmail.com"},{"name":"mathiasklenk","email":"mathias@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"agorfine","email":"amanda@passbase.com"},{"name":"milan_passbase","email":"milan@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.1.18_1620288908368_0.17576130669567425"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.2.0":{"name":"@passbase/button","version":"3.2.0","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"_id":"@passbase/button@3.2.0","dist":{"shasum":"a14975b039a1177daa96d1e00298b8cfa223edb9","integrity":"sha512-pczi1RgpJ6X1IkWxn8szrH31Njd0pLjbb+iDr6WnmxUf1h7b+lWzLg5yh3GhHdxjdtWXGX5nCBp7oTG/Sb1k9g==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.2.0.tgz","fileCount":6,"unpackedSize":902528,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgm6VrCRA9TVsSAnZWagAAIrAP+wSZCQGGDhmzBjeqfp7B\nvxeGDFeqGd8KQ2h0hKyjwH6cZZxhvwmMKTFs89eOTNZgFbB32F2wtXSlYBtn\nSImXQYRnkWydCUbKTq88sov+sYO2Y1yX8ixT1JscCo3rgLvd5m9NCdpX7gOg\nanN5bzRAiipYadawzLANOEwm7h241svKZe6M1DYVOjHzhfNiA6Z1BqK5g0CP\ngedLKFbxp0hjtLG9z918c1/T+ipg+BFtOJtMQPBShqrfwxjt/2kxTZNbnaqt\n1ug7E9Q6WU21v7VFD26C9wO0UkhWCdTDz1nzMzbwIXS7xzYW8t/2sseta8dn\neh444mQrUok+GDUznOVkmAjep0UhUUmRQB+lDS2He/0/VsT96lbps4+9hwi4\n3WYMb6tMdrfGGEcwEnR5RQ9yGl9nBTC6rzTieMrkimSYngnY7vaEHJeHXmAA\nBs2UHJrnGFWZ7l8aTiGTrHhdRZfiGBbO9QtwrjjRNVPcB1f7LnHVSW6HGn3w\nK6v9P8LkmrtCheGP/tYi3RCNp8PykgiLmCBcsHCRKCMv5KA59JXCN4hReljr\nIvEBINKTu374K2m2pLBw4PfmQyHriZNpbvQHh4KqCsobrGqJuLR5jKGae7q+\nrCiaYR/GJT5P8pVsF2wvOIEH7p4F1BL2fhtfY6yt0wZKP7z14cENp+KoSGit\nUv6k\r\n=VB4e\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE9a9OF6VrwFB2snRbBnW/MCtXa4q7Hj/U4z20ysue0RAiB4TizYY1HzqaLGytkvbfbOaP6WjxEW6ghiZv57sYt2fw=="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"lootbox","email":"0x0123001+npm@hotmail.com"},{"name":"mathiasklenk","email":"mathias@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"agorfine","email":"amanda@passbase.com"},{"name":"milan_passbase","email":"milan@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.2.0_1620813162802_0.8119029320019746"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.2.1":{"name":"@passbase/button","version":"3.2.1","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"_id":"@passbase/button@3.2.1","dist":{"shasum":"ad4a1b1657a9a6c78bd0913cdd9d106d63b3ecd8","integrity":"sha512-R0bt1RzUtzIvy6NRpy0pFpgjTjPC2Tie3IHT4QO8MjNJUS2C3DYJuf5q8IUI+L3MfmZl/QPgJ1ZIksODUzxvZw==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.2.1.tgz","fileCount":6,"unpackedSize":902528,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgnk+8CRA9TVsSAnZWagAA1FgP/1rlwZCok3+Sj0N/2iiR\ni1GO0JardFNPxjhz9IWT67hMGtGuUCbhdWWL8e3jBMPF7IU0bwFFquqvjkQU\nCcM5tAbV7q4cj1INcO6FnNm35O2Kvw2dPM3xa3xoHpW0Aar6tlJJ21QhT0VX\nXtJpirWmnjDuZGCJ5nJDcqMCxl9STda6pd/DlQ0jKVUpJlL8TeIOIu1qlC1Y\nZlnDBOGLttN3Q0trmmSxs2+7ttXMi5OI1uNCzSFsl09A+NjMQA2bJpLGCmkP\nDdaluqsBl7b4XKgZu6J0PlJqXQydENlDgVog+wZ/TzW7A1LKY6U/zsXmyNGC\nyRgvRRJojjAndLYGnYcMANVYaY9h+KxW8t0UWtcizsU4gkiAyWNvItCNoyEO\n62FaiVw/7OmlWyzWCqo/WtCOZdcaS8gjJb2PeiHRprRNaLwmykjc2IsmFEx1\nAXTBqkaDBCACm45CKfETsU9cBT9Y9z8n1V8jUdzKCQhhTw7LaBU98G3NDAn0\n0U5VkPC+7ftSWXbtjMj3cG3fRKHdRyNtjSKq+apyECRlRoXu5v3KrQ2bQXoO\ndkBZ/qZ9B4XLGXbqF1Wqr04JOEBIvPJMH3CYQPp2n2hUlSkDz0CNkkrA6+yS\nBs0MXfZ+93vXve4WZ2jnMVg277sDcYDOoJxd/5waVTP6nI3500VCEG5yab6F\n3la0\r\n=LhDr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCN6/gryD0we9heK3qUJa1PzZvoE5wgNdMsnk48ZLYz9AIgNF8FtlGKGBH2I1hisj//d/8kYFo2xuziQQJ407WXuHY="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"lootbox","email":"0x0123001+npm@hotmail.com"},{"name":"mathiasklenk","email":"mathias@passbase.com"},{"name":"skorostetskyi","email":"sergii@passbase.com"},{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},{"name":"nicolasbrugneaux-passbase","email":"nicolas@passbase.com"},{"name":"agorfine","email":"amanda@passbase.com"},{"name":"milan_passbase","email":"milan@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.2.1_1620987836046_0.9073457805891629"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.3.0-beta.1":{"name":"@passbase/button","version":"3.3.0-beta.1","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void  \n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false,\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void\n\n**onError**: _not required_ The callback which will be called on error, (error: string) => void\n\n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n**apiKey**: The Passbase API Key you obtained from the dashboard\n\n**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n\n&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.3.0-beta.1","dist":{"shasum":"78b22674f48e1e17b8b23f6f9ccaddc924a45cfb","integrity":"sha512-iBOLVyuGp2sY5TUsBt28whRSHju8UaYVX3CYfT7m7q7E8+Hy7AKvtfXqrGeQ0K3RcvW/I0GUU6euFyaqmTVsmQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.3.0-beta.1.tgz","fileCount":6,"unpackedSize":903847,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrMw/CRA9TVsSAnZWagAAn28P/2gjRWbtVc0JfrGB6G9X\nzjWnZrJuVxRST/xmnQRndxY8BDUaGfdPV6nEP7vOXY4HvNPC4BF2MMexGwQJ\novZVU6cbLSZ8MOBkblYe1P4Jj23JTWk1wtWWCjUWGmXyQqftA6IAQ29mGeZs\nTL8dt0DFf+4AH9NY6+QXeosBOUSMtjR3AnBHdkv7Kry25D2LIe1DEZJo+8Xa\ngh7bSqgTOdkpYVkOYExTNe4rHNkTTJo73FJDKNn5jao0hQsTKAsHw/TtESCZ\n8W0qqid8qvWnv54nSFiGDO3U53D2BYo8SXzcSsy1zW4QahUFynT3DkBEplRX\nRoEdteNX/jcypTmwrqyOrb8hwx2/y0D97P241TgN3DGKTjdgGoz5pxqLloHi\nbg3wYidJg2Il7U7m35e0b5Y1AQlUfFClWnDMtSyO3cwGJ0hQdyLfjc4VKaP0\nJMiXLrTqBo51gI0De0neXT8vZSxgSeYx3g3w2u/hN65P1RnibvA5y7D3Jv1z\nfIsr00DRSywRI1DhEMVU0kzP2qowpaK5kEAe+afDh402dCKxiMutJvNBBKA3\n4H8d3Fz3fPKJOHV8BcLpfDzqSH924xPh+6/j/grHh6eF3miQ+uD0ywqQMXYG\nOCBtH9kjmnPzok8IQ9BGsQWnCKOM0cba5jwxctVPY9RVysnDOVOsdZh0rzve\nd7GX\r\n=PtxM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCAOg9MUGV6WmT+jjbHXw2UYSX2rxUgR4dmvKQcCFqUPwIgEftUFyvAMVI0J8eAWbgxyM+6h0Nx1sJSWe5/VWmzlTA="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.3.0-beta.1_1621937214992_0.08420960476104145"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.3.0-beta.2":{"name":"@passbase/button","version":"3.3.0-beta.2","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void  \n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false,\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void\n\n**onError**: _not required_ The callback which will be called on error, (error: string) => void\n\n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n**apiKey**: The Passbase API Key you obtained from the dashboard\n\n**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n\n&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.3.0-beta.2","dist":{"shasum":"038a91494592d1c8626fb557f58c109e9d6e34a0","integrity":"sha512-BXgTDvth25HM29lC2TJ6hQA7k7hfbpf5riYy5Ivd0QatY8risI8z3KcYrv+LYFDUeFzHXcnXLf2Uf2/y6PNYXw==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.3.0-beta.2.tgz","fileCount":6,"unpackedSize":904575,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrQSjCRA9TVsSAnZWagAAkkQP/36IKJ9ZFV7ezzyEZBpP\ne/VEQCcP//ZmuEUfiLcDQYCUUeF/DKabutls5phwA/8OLnjrSlm9udvI3nYQ\nEJVGZDOfm8/oH7gfiCO3dlwZ28qm3DXMpgVbZA5nU+fXC74DfAKBMogXAhzg\nMtwHEs0l/JSTWR33hx/GI+HiFDAfXff8SWkA2PtaufbbyZy019lDQuYV3rKA\nzxaz3rmltLbpaHHu/KP/HZ51HYfnK5Crf+KzygJ+K6NRHOay6fK9rEJ+ItNd\n07G6YlBUJxJprWmQmyoOPqFNFdY7XbHipxGYkFaEk5GkxEGaY8+ZJqZinCZi\nSbExC0jesH6n/jq9oourrg+nF3DxXbUsXU6zOv1Wm2qtNdpYnQXVwHEbO6Qo\nb6npxv9RxDszfcaaizY+Brgdzz5Ul6bb53XN7QFkbLzK67PKzdcDXvu+LzM0\nw4r0grTb4Lj/w36y1fwuQTGF8hMun+2DYeYPgQTDVLnhXG5QONxxNX30ZCsf\nqHBhdm+WU7GWL1rk5X89Nd+HvmrarlWyaVytbDleruPH8G+i7u03+zWbY9RG\njw+B/iann36ChNSYHnbU+i6+9RnPDShpK4wEqZPvQFX8pTUt+wH8wTgAAZYu\nDKvZFFKubAbUqIajyAiwDpF4isqwf8s7R9yF5mK2AFw96kqWeG0PIx7MCBdN\nx3Ui\r\n=TQLU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDToEq9/RufvHT0W/+3wZUAZ07BvR89VEIdxwcnPH3tGwIhAO10Q6X+B08B1o3nCumeo0hUbsWF/ZtIM6nKfZ84Qnv/"}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.3.0-beta.2_1621951651173_0.76878353980808"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.3.0-beta.3":{"name":"@passbase/button","version":"3.3.0-beta.3","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void  \n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false,\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void\n\n**onError**: _not required_ The callback which will be called on error, (error: string) => void\n\n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n**apiKey**: The Passbase API Key you obtained from the dashboard\n\n**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n\n&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.3.0-beta.3","dist":{"shasum":"37286a8a56c26ef24cfd794a4a8f025d0a2a36a1","integrity":"sha512-9tNdd8RjZULZyoUZA3uL0I9bDu1qiBcEfrKMpCNAyQnogEJTTY58oY8eUgN2f+AAs27kdRVZqI4J6+luSzPSMw==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.3.0-beta.3.tgz","fileCount":6,"unpackedSize":904575,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrQ7cCRA9TVsSAnZWagAAHH8P/jFVG84jD5mGSXJZJl7U\nATvyl5lqsjVsnR8DsVBHIqS5Fn/5HXdxemxlXmCls0jNHxOCLW1Km02zmVj3\n0RBiw/ppUa+x7Si/je+qQ0BpDAZirx08sYr4GP1cgkx847/x+tdvGJ1RdElt\nxp63MBhOO+YeLV8v/d/kP6NXQ5qKykN1QXtRWjn1R2gvSPK47r7JVJ7juiQM\nVvWdAWKViVTov0yqIfxgLMpN4g8d2IDAjGAbqUucT5STAMKTR5ORkEnxtk8y\ncZA1EgUtt6mPQvuGPO6a9rDR7uA4f/oiyKaWlm1k2FHXefI7G6DZPovpIi1J\nyVuiX8cdAm8mmj3yKmmxq7E8pb3r0pRt4+X+3EgQYrwuucab49uAYE9xn7Y3\nk4Pd/saf9NRSfFWdzAasudTW/VVismhnJBg4vUKnjiTmK9LEkwoqNUKsWlWi\n0OcsD3Uk3/TDyouh7pj3C0saVS7h8QZJ6IB+Cmm5SlHNFyY1mP/1yDiaB8c2\nJ5hKde+3r+I6yFV8e+kkr7cmWKQxJF6br76NHjx7eSBMJqOl4NY0GeTk1xI4\nknVONenkgrzFjECqYcfQAl7/frVefcPPyYDRDjStB9nmMXI9XjZWr+Nz0gTI\nuI/hoyw/DPr3wDKc/RjrVvAU5CCA6FT0kFuD3sPn2V2UWhGNvHUjwNJX7rfy\nwnZ4\r\n=uv98\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC2ytSVA7KT2heKrADZ7NkuGy24siGOj2/WIEa9zFzseQIgR/OhCv5qBSD6lTK6imTHIgfmdd8Y5vQDBnSw2roba1U="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.3.0-beta.3_1621954268104_0.9199240579446675"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.3.0-beta.4":{"name":"@passbase/button","version":"3.3.0-beta.4","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void  \n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false,\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void\n\n**onError**: _not required_ The callback which will be called on error, (error: string) => void\n\n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n**apiKey**: The Passbase API Key you obtained from the dashboard\n\n**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n\n&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.3.0-beta.4","dist":{"shasum":"0f56d76baa1cc726aa2b1879dde6a57611fd9edc","integrity":"sha512-1OxiKuDaxyvXrEWYP8aXzlnhb7EWKSY+nrgesrZ2RzNFHQonXaotXxGjqO4rchHZXSI307fMOhKtxOLFeHHQ6g==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.3.0-beta.4.tgz","fileCount":6,"unpackedSize":904668,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrh7/CRA9TVsSAnZWagAAtgoP/1eAqJTOdS4GLlNT4Yp5\nXk//2vS3BgUmReD22aZKUwhabCq+bnZ0oFeKSR2tIXRQ0eKTNN5CaL4fQl5k\nIjAOEc+DbpYRukMpHzIVyZYcbgWa2M4A2C5bnlbKSOVvlAjU+qYEjMnmWMET\noxM7Ah4g4v0NZZ+pEeSwFlWuijDjROcxAlZApCZa4Q6oJ4Sjb6PcEktyoxnW\nJsaN9obsOkVc/TBqj5yC4tkEo6xdMu+E0v5SBcZ5G+gvyc/1EEO6S5aPVJ5l\nbULEaU4cgdbVmcjC/bTZcf8aqjlZxQAc6fHPi+X6Er3sJ06WRj+T+L5RIXUP\n8FTtm6Z5TUSh2dx9t645FidduaeOmsvgp1HlWN9hjsIqcY1Tv+68ykUEQv7v\nsX6d61bwDJ6lztzBxpZL2k0uU0+H3XPefRGPeufAwTyI64i67bcnR4GBvgjI\nAhi7+2fpvFO1F9/TFb+KZ5fsZ5lFHz6wkBgsOi41QVRJWWJbubSnqWSIK2Oy\n9YxtHRTubfPTQl1xW8vAdHNbOpYw3I/kN+GHvcNtYmhGtYAiFLhkywLLXmLg\nRLJE6VZQtOJBeN8ox2WEyIdnXJtm3c+9viPQxxWakj0RdMXx+lqNpn2o7okm\ndBOYIRTX+bURkMWRtqHawEZ8GaXOvdDeLZwefiACVNTMv3449LnAIrK6FVHI\nFVzt\r\n=6Pyq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDAv8FMCvgAAn4ALADFt2o0jY/zj3zMoJQ9vtE01AvpBwIgA8adheUoKozhf3F5IEcopk86Qzgcglw6bN1Ws81FWOw="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.3.0-beta.4_1622023935228_0.27495180592813284"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.3.0":{"name":"@passbase/button","version":"3.3.0","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"_id":"@passbase/button@3.3.0","dist":{"shasum":"6898d294770075ff8209562b949a0c80bc58ebdb","integrity":"sha512-e1QgT3RNFiZXv0m3iXZXjCHMy3SFgN807gJosCXMbXogLYlY/+R5qVYoAJWY2ke0vFpqkLfhboMhWWvmFJDlww==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.3.0.tgz","fileCount":6,"unpackedSize":904570,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgr2oaCRA9TVsSAnZWagAANSQP/1VMDReC9B/0cipmDBJw\nqbl55zynfVAxdEhhGZc+709qnIuzGeeGgrSkowhTwhhphLxK8WeEuuz0kLj+\nStnF5wmEsCDEeF6KKfbqW1e3B5/SQAb5XKxm6mGZI0m9jURSXT/K67d/wLAI\nvMy4URM36R/pDUFMrtrUnXclqYl7YFzV728OVNc7QL3J9h41drRM+WMT/Btp\nafhUTvxjg0ueMhsR9CGzDr0NvqLSVKfPTJYlATj6+b13Pc1tmO9cZsqmCgWn\ng5gpKhHhtbmpC3gwPdyJxClZ+odxXGgE+F6N5JwEk14Rf3mwAS0DKJVEv8lx\nPncmp2zItxx2iVLUz02ZxypgkQ9nGimspF+2+Sn6EpgjZTmCKBsRIvy1CnZ6\n55azXZ+bXVGKB+eUR/VMJ1h0Mux26iX4KHTLaRb0CEx071PQ0tAP3lsbW5au\n54RmhAiYG/cwzRUpKSqmEQpkuiWn01KGnLuNqJWw7Yc51BTxMtUxJ/1FWTwG\n+CTxrhYtdmwG+cSLnO2IRZaHjrRuwfyt/omXLWswmiM7nl3dxYfPdoP0kkiP\nIlojeoCwApvLficHFJ6rz9acleDlZ6atxrLe3d2ptzr+LwQjGJf+l895Rscw\n4uOZKwXrZFfJCDmBc70QK3HNqKEwnbIAvsP68xIjABcag14u3NlJDh6/BFio\nRdjT\r\n=JJaS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHoudPtqkneXpbBcGYkfgT5YAOm0T8FyCKezOh5f4SaqAiEAnMTqpUqfz8HXmnIjuYQE5+lUzxtMvCZIu2eL/83GYyY="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.3.0_1622108697547_0.44949316103392145"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.3.1-beta.1":{"name":"@passbase/button","version":"3.3.1-beta.1","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void  \n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false,\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void\n\n**onError**: _not required_ The callback which will be called on error, (error: string) => void\n\n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n**apiKey**: The Passbase API Key you obtained from the dashboard\n\n**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n\n&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.3.1-beta.1","dist":{"shasum":"e0d6c719cb5b09947b993cabd34d663c57c6c2fa","integrity":"sha512-wEidZPBdcFWV1pdRRVfMqEgtzBSChWKIn/6oUiS2KPhn7YZFXHX7MiDxFXZSgCVLm/osDKdWx42FVwR/XKzvEg==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.3.1-beta.1.tgz","fileCount":6,"unpackedSize":904982,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgsMnCCRA9TVsSAnZWagAAkS0P/2ngc/+YEN8AisobeLGy\njyRaR9pnhi+Y9uJU4Hk1QFCeLig5GL4t0YbtEZaHXSS9+HsJsQiO2+WeD9Ak\ncF2D64mcFFSdiy7c8FqzlorqUKL5oQ8r/lfpomG7FLlYijP6/CocAsPGGSNN\ni6OxMAdUGzKkI8i3bl30m9O+aYMkpgPGcZOW9DhIX07m7iuB3kQBeg8Yl+Ik\nutPxlpZwWyKPnwQBb7Un/JMJ8qB3K8S9yiXfNCRYsTYj0V/G8+UupHJUSROH\nbsf8N97cw3T3pS7u9uOJaLlTfcGDHbTj+MVLAmuo6zicXi3NTnUm0Z5lg1DS\nDJZz06j42YWHhBFV/xk8u1soA9vXvj/8xVTmeDCH9eHNAS4Rnt3wU5e2KIBz\nzcVzMhyrxW0qFw95gRtPIBeiNv6YrWi1jBKIfavkGSZqFiklbTic4ChsIROA\npZl/WJ/vFZlQGbXl3C6NE3T/khTAfUzMOS69ht0xkNRDM7kw3yPGBcr9TDl9\nJi/MQ4D+Pc8aThf5+ZDjomDR5td5WdCJT6hp3yfHYNrJEFaEaRSP3Ld+xqw2\niYyZAJsFje/QKOm5BzTfIl959FR8SutLCqmEwxt8i8u8gP6lL1tMSsDUfAKZ\nBEES26rFQIDHfbJcFNgGNjA1nAsv8XJGCYLPS3ubKGSFLB3dx6XLSZ09G8VA\nPKP4\r\n=t0kS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAvnijf+N/1D+nP9yrA1k3B+yukMYIUNksLUohmU1B5QAiEA2srQuN/6Qyr6iJpzGy54oO70s8Hg2lszhqej+UN4Yuw="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.3.1-beta.1_1622198721546_0.4628071559762028"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.3.1-beta.2":{"name":"@passbase/button","version":"3.3.1-beta.2","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void  \n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false,\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void\n\n**onError**: _not required_ The callback which will be called on error, (error: string) => void\n\n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n**apiKey**: The Passbase API Key you obtained from the dashboard\n\n**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n\n&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.3.1-beta.2","dist":{"shasum":"fbd5d577af72df2c490026ba429499fe418a5fd7","integrity":"sha512-85/xrZD6/uhUgGN8sWm/QAO7/UizXpaMHllOHcE/2wmJCPk0gKTBuAIa2NzHXOSMjXWBA+4wk61Mh3W0n8X9UA==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.3.1-beta.2.tgz","fileCount":6,"unpackedSize":904982,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgsN4fCRA9TVsSAnZWagAAHAEP/jgo0YQXbobp9po3EgPx\nbcN9djvCJEXNPgQlj7vk06pS8ZEcQ+PLBtGNdZebnEVd55KMzy336snYMstC\np/lVar8ZmEVZhASh6xtXEZXQHnrzfJr2YX6hbtQ4P2+hqy40BrtdoAl0tOlF\n43i6u3mi8KwxHsOdWO6jQFcmDX1jz5snXsW/rkRxcWv/sHmp8+DDWbP1fEh9\nEWoxzw6bID5qA9AcC5L85IJ9ituQ9pSgtZQsbJPxO2Xsi3AHn8lZ2vXiecHS\nwyUDesY2Om1zqT1i5l0EHWxR8pQvo6hrGj/xBbkJ0FhZJVfLdbH9Y6NP8xoK\n14/pKcHYnQ73YwaKbpiTxUVKb02AS9pfIl6A344rz4hA4n1gN/dA7F0HtE2c\nb4nDYmWqZZLOX5M4mZAEVnbjJ+SgZoxqQHffj2Q70mOinNg+7Y+uda20S4KN\nNDKi4Miu9CVY5ENmQ1elYNj199/ByZION4OfUiGC8sr1nod0CfWIY1ahf7Ym\ni2X1zeMwo55r2h6Hbkaa65W2itvIMBYFGdiVVPxjpu2rgd95f67GlH24nguh\nOG3WfTuSKpoibH8/pu7X4UdtD7r7JNUEZ2oBCvTeQDDGvFFvggrhpj11F3cb\nqEXlFI/mZlbJwsQwOu5pJp1LHT89h6mBRHycgyhu7xZuP1QnEvxtJa74EKCV\nemJ4\r\n=m+4j\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFlb8592RvwAOY5ER01rgeeXwGiYmp5/CNofbhUsoms6AiEAs0+Y6WgA+F7okTmSvejNhg2+pLWRVscMw0aZ0xMnpFg="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.3.1-beta.2_1622203935013_0.5940448541734575"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.3.1-beta.3":{"name":"@passbase/button","version":"3.3.1-beta.3","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void  \n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false,\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void\n\n**onError**: _not required_ The callback which will be called on error, (error: string) => void\n\n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n**apiKey**: The Passbase API Key you obtained from the dashboard\n\n**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n\n&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.3.1-beta.3","dist":{"shasum":"8dc9206c1c3d3bb9d5694bca0747ae9e3d1af482","integrity":"sha512-CxZ2KsPQzAOmu3dG2eMt4Wi/QuSgVUEuchl77LXqnRDXZeh8p78cHoE6cVhACYbQTfA9W7NhFBfE22ubRYZPWA==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.3.1-beta.3.tgz","fileCount":6,"unpackedSize":905219,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgsPRfCRA9TVsSAnZWagAAfU0P/RkdA/kO/zmonhR42YjR\nLtrHCKB2Mf//Zkjamm9bsfwFVPiVAoRb5SIMYlpUUEjtvVgw4GYOfKAQvlVO\neCmXAwKER+uwm/H+MNy4qr4SgdoOKGnYA/Tsn0T3LWNWsWjVrqfHvfizSchQ\n9zZDEYbe3RfyviGONMhcNG/3Sh6onJiFVC9fTyfqFZBfL2DlrkCFEpXahSTR\nV8RPP/dy4MAeErmCYBZ6owMxz57+uJ/+k/UsdkoB0JRrhAb8pn4gvuusBSku\nf0/X12g2lQLBPUutM7WmnQ3p+TrAcJwA6XvE1gvKo5QqDuh9CGWKQuJHem7T\nOVwfEsrjumtC6TKU0/u61PY4TkSjhNRk2wtFovgWN6tjFM5X+cw6GA6vSFgF\n1oElJzdTasntWNtVE+wUWL6wEtm/VSYLHRZsJQNR/TLMOUoA326w2bEeIGMp\nijZ7xq57+WWyaJxxD6F2Q5YCxEueJzTiwIqU9sN8Si7aIMOEp/8TBfRJREx5\nJ9/0Zhocvhn5B1iZ/jCtDwD8DdBecbw/0b0m9KvUNN1/S9kQyrTOiqcSXWS7\nroSaR2MRO3AdFA6ojFvZoNPljPkgWZ5quXtHXY3BMdW1b7ncjFibDeV1agBL\n0TeLjctRIOg0F23baM48dmXyVmSVl9aFqEpcgWIXV6phMPeCUEp41oKx734j\nmnD7\r\n=1W4d\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH5GctdiHiEvZsUTfb125nF/QfUKwIxBv4Nx0mdlOBh1AiBa3Ez8DVurztMduX9B1jhWPEjfpnI6GuryPhkjIAjYWQ=="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.3.1-beta.3_1622209630418_0.13431872067844686"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.3.1-beta.4":{"name":"@passbase/button","version":"3.3.1-beta.4","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void  \n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    font: \"Fira\",\n    darkMode: false,\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void\n\n**onError**: _not required_ The callback which will be called on error, (error: string) => void\n\n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n**apiKey**: The Passbase API Key you obtained from the dashboard\n\n**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button  \n\n&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.3.1-beta.4","dist":{"shasum":"f21eada6a7e3417c0b512b114dd66220631e8906","integrity":"sha512-LYvZ4xJK6tKmJc1qYz30hkQKWWImcLly9KnbstCA1WbtRzCa19RlviXweZMEbk5Peu1l5X8bkdz8wUqwq+lw/g==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.3.1-beta.4.tgz","fileCount":6,"unpackedSize":905219,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgtOCBCRA9TVsSAnZWagAAwdYP/1a4Hc9SxD7UC46EnmJL\n5Xzs1+npAMFNd+5V02mNeKz39UdensOFGGdCRtTMvUNBAwtrDvSj+gQHdlO3\nQLb+Pb6OwJx7iClgg5aoYKZbAyqUC1WX6Vr93PsgueWlM/g27+9Nam/x/t50\n9hbVGBKr1ZpAOhqCMGVfHQpulQR1kZN05uZEFJPV2JBNPbxdO930M3DIMwRy\nBv3ETh0MpyEDl3a144+x8pw1vDQFOkUOuQVTPAf6EQfJsiSFr3oL64YmtX3x\nTrGuQIWWAu0vrfj1QMH7DhonUk3jdcbF7uNrTwXPXZE9yZPTnb6syljaHKmk\n8v0iQT4/zI1yrwouP7e4m8axZCJQ8sG430w+vcNKVOcqzLq5GgnkiyU1UvW0\n09C97wWm4As2C0XP42xfK/bOI5PELvS/AKjVbe9EA4vmzAIWOLe7gffinZ4U\nlF+LbCDO368kJflhVZrFgJoM8W2EILtIAWG3CC0U9fMp7E3ddmi3Dn/ItqxR\nKhIPt/Sp9wMmKNy3ORxL4oxfN4ThSyU7dWwcmy5afBoRJ1D9HK7HIuKGToWU\nDdA997XAUtYhN6mDw6HGzHva5aRtX73lmoUC70tVM8axNAf2Xls70nHBIGqA\ni57I+HeSlNyXbIuroLsCqAaVcVkv5m2MHvk9y101bQZlWcLtYv306GkgxQ83\nWdbY\r\n=vsbs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDu6z1e9TxyWCxeS6uNdXx9W4m762UzEEhnhrmpZ6ZpeAIhAP3cIRv/SQfCyRM8Ni5m9W/39U1ROCF+QUocjYiyHR7v"}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.3.1-beta.4_1622466689116_0.05626061188609022"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.3.1":{"name":"@passbase/button","version":"3.3.1","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"_id":"@passbase/button@3.3.1","dist":{"shasum":"df9358b39ba7fbe60de69adce9bed4ceb9f8f1d5","integrity":"sha512-CGrYpGeTQfJ2p+y/FblLXEikbYUbwS0LQVhCI3G/74e4kx19Nva3VghTjOt+8MLyIaHGhQPD66YvMyTKCnUjdQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.3.1.tgz","fileCount":6,"unpackedSize":905121,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgt1MuCRA9TVsSAnZWagAA74QQAIoIAtNiviQeZ+sc4YVe\n9bjdSrMYaGcKcBfBZD4cHEsG/tS1W7ucKpAeY9na3Ygcc/ALHxKig+i4FWdI\naB3d7PqhMSvNsC96WJDUofY6K7PH+9kJbK4ebDx0yn0vhwa0ChGdycyQ9Wji\nW7uol6KCA20x/ELPcFGakZVWFm6CYY5ZV342Ilqle35QoOiMuxUqesyrU6lq\nLAERU/3cuMvSl3170rpuJ5JpYcNmALnasfaTgTSJ5rQ75iATJJqlKb9C+Sxh\nK3ygWSxOS9oZsN2nai/SzMmeOS0HEq3Q/crNfJl/wY4ciq7he+xNshnDbCja\n8B2cryjUsPa2b/dppmpqXeNs8rpclxXP2DUjGnkKI4xUBy3b+XmNljb2FaMr\n9lVhMSo6tWm0h4rv6nCsz7l0CUAoJWcU3OyXWLXnjr+NKegtW1ZPzVryYTSw\n28NHk+i/Aybg7uI+FcspY3bHgRyBqEB0Mm9g9pxoNwUxM9DGN0xsjybZywsc\nrradsvM1SQgrfQlTy7m/DVHy/E4F+94JK+uZjwG17lATCKL4/PKmU4g/uLE0\nIalz/6TuGJFjpr8a0u5NI7zDpMkiUX3Q3XJHxGyjWXT7OkMoS4WuTA3/vV7d\nbp+680xby6qGj2f0QTB24ydMvGYc/SP+x1kXes+zrefpi5wZNaW4B9WInwe3\nx2uk\r\n=tf6Q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7ViztG08Gxg0Jk1Is8EicjMjDI40g0fqg1x+Byg7LrQIgLnoS/g8NedgGxeZ6fjfq3HG43sJ09yyHe2Fb8od9m4c="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.3.1_1622627117501_0.1411569219403095"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.3.2":{"name":"@passbase/button","version":"3.3.2","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"_id":"@passbase/button@3.3.2","dist":{"shasum":"dee220cae7fa1a3a5ffeea820fe43482f659e9eb","integrity":"sha512-92vakvxtS5Dk4gi1OHBEYmLSR2lnIfUqSm8lt+5x/RjFB1hLN2UAnPKY0Yp3DOZ4Nk50kEGtpGEejA8U69VTng==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.3.2.tgz","fileCount":6,"unpackedSize":905046,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgwdJkCRA9TVsSAnZWagAApesP/1G4MGWWzjFRdxgg7xWN\n18jv2iBwMYY7RFyKz8E7p/Ito3jjRuKtOq537+/6SBdunjIxfLqmOZWneUAf\n2V59nNzdDlUeB5zuavxmL6HTBX1NIQGizMNxqq+eCwqWRzbJpJDEMPbJStEf\nrU8goXiGnBDoxgvGve7WjxwM9UhOe6xBL/bJn2Au4/WuoH3ncN4BKtNhbvYp\nnx9/IYyal7r6Wrw8k5doX9lk3ZAOYTIkDPc3/46rhoXyumiXhZIL39xcc+T/\ntJOdSbux/XPI/tebUnj8dWEJL+6BMf2JnYdhqV/k+C25lT27fh3q1h4SG120\nLyrbM0OHpX3kn2uuO3IPPRP6pdOnOa1O759PERphYgN5v6WZr0IkpNjNDatz\n+Tcuu9b2pn9JBjqF94x1E9ahbY8F7GXyCFUmexYUnj5dNryn42pGQkiCsxHo\ngL0lLqKDV9+Dk/gKdmrCG8NCYgSerD0H0+06Cr1YJxArYqXXUfyOAA8C2kY7\n1eiUFiYsruMO60HG6qZmOqrKh/sAsU97CovLl/G0fsoeby09ZcR4yJqhUEey\nXnMZHhWPp0SaMLHKHo5Ds4pVi5h+ImnwyyPwgXcz97fuxh7MwJa6bD4NpUVQ\ngJDIfF7CitAENU3Q3kiZCuuiBefScGx5nNypteV2eIMFtBm+W49b40cP4Xi9\nqxP2\r\n=UCnP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCiNT5/PBnxrIbxvt7W2gH8Z7vT/Gqi1i6x6ItMTagpFwIgdfNJXk3PIvBQ7p9hAAG5W4lLZPsdM72RZGzPvIUFA0c="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.3.2_1623315044342_0.6306000432095575"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.3.3-beta.1":{"name":"@passbase/button","version":"3.3.3-beta.1","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void\n\n**onError**: _not required_ The callback which will be called on error, (error: string) => void\n\n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n**apiKey**: The Passbase API Key you obtained from the dashboard\n\n**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.3.3-beta.1","dist":{"shasum":"d05287cdad8ed255c2470d01bc263471b68447e4","integrity":"sha512-+bT5yA/VPRp1vhH0IwtaziMzviJFPAjlIBQ8sS/iIQtaZLrWUv8j73r3UCKOOGF9U+R+fNjykz0bnr+vPA6LvQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.3.3-beta.1.tgz","fileCount":6,"unpackedSize":1036708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgyFGGCRA9TVsSAnZWagAAAJkQAJhZI6+FIm3c4Hl9xyNU\nx0rWpYS4sxAhurzZuzHMVhnskVr/XGnJ9+feEsmToiKVaM+wQ7I9QiealgFM\ne214nBWVwYrNtUT00DO4DqQ8a4Kk8hvvjMnvhqVjOhL0p1md57JK1/ZQwUGr\nGZpvsEzUJrqx6BW854TE8Pig9KBCEisiHdwXV3HxtAEuHGA9uPK8yGkTHvfe\nJP46X7uiASSOc2LaAjcNxSMTL1XkzGtJHxRnGyEXpOwgidDdBMRRwlYwsAN0\nVIYVyinmDlif53A58hHGQ7mA/ipDqrTMPyvU5kPLOs/NXmF2Es/NMUBR3lcp\nIjTFjMi2sUAP7EjkY1Ks0GpA3gbO1fbWLht2mw44GSgUQmH9lz+40D/K/csE\nhgmLyd1ACED7mrac0I/WEOa1usYukYZyo24kGMZXAZYK2pb8jWc/w87C3Khk\nWgv2gu/9oKyhEp3aFpP13ilguDcDGaF7jlkhnsAfXKdHBj2CloPIXgz8E87G\nsxjU293wHgWKRdUi7+mwPCI5dJhASqnlhhBSgA47A8aJ0psHO1ktTSBWnom9\nYdf3kbUOEg4Nrw4rpjgVQI9Rz9Lwmg23z+Fo9gwzu0zAICPNnReJh6ztU5Dq\noyPsVgpFhmebSCx/9yhrq5v3TuG3CRmmf2bJNFiw2nCNaN79dqrRqSQJa76x\nV1RL\r\n=NoNS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDAoMDODkY3eVopQ0aMwcHbsVKlVHK0JfUidYejPH4KdAIgSTWaTmaylXo3IFA02kQMCVUOKHUmPUt9NwSGzAVDkaw="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.3.3-beta.1_1623740806063_0.6758486631270861"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.3.3-beta.2":{"name":"@passbase/button","version":"3.3.3-beta.2","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void\n\n**onError**: _not required_ The callback which will be called on error, (error: string) => void\n\n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n**apiKey**: The Passbase API Key you obtained from the dashboard\n\n**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.3.3-beta.2","dist":{"shasum":"2eb83974ee8b2d742d7cf4b10b50656ffd07b71d","integrity":"sha512-8bayYE1g4VKP/O4X/expqoMyWl96q3Mz6v1VZZR01Ox0PiX/ij8pE60bFSjaOccTk2hTsjJUwazZY2CN0/wBig==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.3.3-beta.2.tgz","fileCount":6,"unpackedSize":1037910,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgyJZtCRA9TVsSAnZWagAAI4MP/2f5FqImA0N0SBBq/5SQ\nHz86zQTxWHC/GnXyQ2zi+0mnEZMQ3VdY+0fLl8sYcmmcPT1VtqYHCYW715y5\n8QyztynI2yfgeq5M/p9g9s+PSpoc2NI5I8O0AMdgQMU4fIQE7zpBHXyGy5+G\ncBy5agz5A0T26+D1CDXg7TWaN3ndSw1CA8UhHvgy2NpNOzz11OlDRD3l9h7a\neMbimSgV0MwrBN6Dh/+bLwbEGpBOUU56EEidLwyIPh89MbTIDLAf4lOAorqr\nfhonloRGRy35vCSuBF5203ui9n50z9ccqSL7W1hXYm2hqCZm3wDFVnb4eX9S\n5MSAmmoGrvMkIfByKqjwBQW6oAmpfW6pzM3ZA6Plq88q/fmLwnLbx25zv3GO\nd7FBFMLpcBguDeJlHozvwYrq6tA3MAxyczfC3UGoDSEgP6lDvHMYPzE54+RZ\nP7YPMoP/uQzxRA900lG+3lbgioACqn4uGKIYEzw3wzeu9vJtBmpjixwhABya\nYyzsHLxphHvSJHaHyDqX88144kuEiliJP42v3DLegctdpudpnmqSRiL3t3Lj\nyGpKibKjWy9RcA6bYxtE6UczPk3iszS49xDbCYfudfyJZtoL8eijqKkbRaoC\nFnEuLjh+k78XdDyEDVVvyMLqUryrekSPcPCL1Vm1S01H56+djc4v/FR2W7js\npDh1\r\n=Hge+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDly3cU/jfRqTNW0IXD1PWmimUu9zbPlq1WIjLF1OSOQAiEA1Ug+dQDVUidR0AZJhBhkoc0EOwdUrrXy/iq+FqHma2Q="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.3.3-beta.2_1623758444701_0.9636777993727481"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.4.0-beta.1":{"name":"@passbase/button","version":"3.4.0-beta.1","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void\n\n**onError**: _not required_ The callback which will be called on error, (error: string) => void\n\n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n**apiKey**: The Passbase API Key you obtained from the dashboard\n\n**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.4.0-beta.1","dist":{"shasum":"37769ded8993a6f2961767d384f4f37b3d3a5ca8","integrity":"sha512-mNaCMoOr3kK2OcCljhUTEWHK3Hu0+dePigsDs8LjyRtW6KWFk7n5E8uwniRC31ZhY3STdYnu13hmYB+CZsZCyA==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.4.0-beta.1.tgz","fileCount":6,"unpackedSize":1037910,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgytIsCRA9TVsSAnZWagAAuw8P/R8lLekwzBtl8TRWwGgA\nuYlwJVRJ/Dn+hS+lOzZ0RmKeZLJHumN++yRagOlUu+h2Z3EiUwn6jIuMTglN\nmrPKzOl0vTlH7u0FyI9w9ty92NczlM980QosyKHxNLk65sje/VfkLHOKfwcX\nvmRaV7ejP+g3b1nJBefQm6r9dAVFwwRXxvBrSSoOhU0qkBOyDiCk6c+2Bei3\nkFO3QFXFPAVtv3H3zM8gmhsTbymWqUA9I6nots0o/yoKCea+52phJndsU63b\n1e5bAkl8kNrN5sEnNWjiTQ2QriAvdclpgeLLURLy+4rvNUsyjoH6CzsMRfgc\ny3YhvoThYn8ZoZZn87npoNiv1A+rZsxQ//b3io20htXa2yTOyS6VDncz4Wr2\nMDMfWfak9GFrvZTRMU83CnC0AM1GBAMKk1az7AixV9hPVp9aUqWiLntTVNZv\n8m4/ZIckZ0LCPZyw2+oSeY/rZ1CzbWAN0ozUfT65KBQJqhV4MFHA6YFMxtgV\n5zwncvhHXDQYoKL4N1J/RrmrFp8BSCgd4GptBFVCOfYwjUHRgX95pIzoTUSy\nXrWi+n31iOQug/qWeIk3loJG7Gks75ZLLTYan81HTIqMUNSDYdWPV5EeVjMM\nDIGkvxwKAqD7nxUaBuZCsto24lOqAkAHrqHtOrTaJD09MwagNYQHadnc+3bU\n4Mah\r\n=eRLk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6054dK2o6DrGPZ27ADmJqdy++PyQrE+qmgA9kg7FoGQIgAS9cTNCgP0IbD5DjibBQMWsEVjSl5Uxok62B5ofCIiM="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.4.0-beta.1_1623904812409_0.3341119498583591"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.4.0-beta.2":{"name":"@passbase/button","version":"3.4.0-beta.2","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void\n\n**onError**: _not required_ The callback which will be called on error, (error: string) => void\n\n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n**apiKey**: The Passbase API Key you obtained from the dashboard\n\n**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.4.0-beta.2","dist":{"shasum":"f895a1cbec06f019de5442bc8b250990de1d7813","integrity":"sha512-cl+g/ZKjwNJHhto+ykoWDmvVqa4mmhT4laBFgGhBHHhuhUVBMvxeGruYVy2F9NcKxZ0hR/B2WdwNj5R0ZLfLlw==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.4.0-beta.2.tgz","fileCount":6,"unpackedSize":1038274,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgzJK5CRA9TVsSAnZWagAAbfsQAIVtzo7h52i4ib19pAeH\nYQDLST8y1a+sAMawhDZw69sU+0udLrxG+T4QCQyiLp/c73SU+sx4aT3k8S4M\n/CmcStfgbNGCAWlC5J9XFZLK67zUD9sZDd8EGD2yHK0fUp30e2rCAILzDMJx\nyzH4X9wtCmbxcVSewxhfcTf8iHB3h9+ABTABDlHelzdlW6GP94A9SimohAvg\nMeaEUVXt6slwSw2xYEsv7okhaTnAxDpBO7xeJUJCB8gp8pfxEmejrVxYQ0py\nzTlrcLY/dCG8wq0VGYyaVH05LsATLhCZzgF81xg5RGTeiQzY9vHZe1liPfTe\nHzMo0fVm0Ln7v9DzW78eB5foLIvJ8U0rvJac+5sArmyJ0JN00UE6KfuiLTPM\nhW9oASMlXq6nENM18I0Wu6uMCM8iRPaCwQXFS/kqw4uejaePt2mT/Jtrsu2M\nmwkN+BGBiSDgjWNu3PVer+fJrr7j+hGhnMa36N8tQlufPBFzabva3WRreFco\naC4QbXo+l8hoxvcMTBPjaI2ovLPS8bEUUnTc0/q+FkKi9TntMVHWH9KFJ2vx\n8gLgSy6Mf6dTeErg1Mbc36fuCu+0hkLA3cgaU+d+oBz1YAhi8aT7HNowR+8j\ngJVQo429gOqwY2pcYIWIK1aXVfiidFpl5+pSd9PS+Kr7BFI2xbGcGLlAX/jc\nJEki\r\n=7AMu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBPWUOqbvO6qEGEvmNaHbrSd5CrczlYan3HV/HSWAf6NAiB5saxhGeXr4Uta+S1M7aAYVoJmeWyL9NAsJJab+NIkcg=="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.4.0-beta.2_1624019641277_0.024630698636245896"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.4.0-beta.3":{"name":"@passbase/button","version":"3.4.0-beta.3","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void\n\n**onError**: _not required_ The callback which will be called on error, (error: string) => void\n\n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n**apiKey**: The Passbase API Key you obtained from the dashboard\n\n**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.4.0-beta.3","dist":{"shasum":"f1f3937d2290b4215dc40f1e072efd5816d6be2e","integrity":"sha512-JIHWBsOxR+bT0WY3zrSPf1okeRDFbVBgCutubAy4vdZroJ3GQn5l6HDnNVhIJXsbHkoQibpx8igxzHsS+oa1zQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.4.0-beta.3.tgz","fileCount":6,"unpackedSize":1038274,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgzJvtCRA9TVsSAnZWagAAbKgQAI7WBDdn/azTtyPCBZtH\nr+kPPOfuMOAONjSk2bmeAjN1hCzsH3Aa83QyFkKQaTCEy1T3A+9b+5SFD3H/\nbMAIwSObIDo+wyUWVyzoyZNVknOnjIRuiFNwertUNDeom1I39mZ9Av160HYF\ny/kUWt9DQnZfAbYp2l6hD/HPGVAUL8V3PqsXDdGnbs6bOMzscz3bEqc3f9uK\nr9k1HmYzUwbUJ2p2pQpMj4tIo7J/xAG1hIWQpK62hr5VPKmNbmTF1d/4YPEZ\nXC5S5aKLfaXGQTTwfNOGrWywrfPrmN2iBR+Oq9RMLbId3VV9rtvYiEU4phay\nO0ZJkvH0qS64as8t3thKNHrKPW5vWxB3iB+TeLJyF4783w9dcfbEMBu3c2eE\ngjZcq08ROQXb8MmKlC2WcCqFJRvYfLKW/A4ygQnCYe33teLoOT9dV/Op0lkz\nZNoHNxI40olhCC0DCbUWzkjj7amps6ifEzfdF5oxgwU08pJUoSoRMCv+uP+q\ncoQalbr3+DBCkvCCXLeY2iFfpj0sgis4O7p67npqjpJFQGF2MdYc7iflXS2+\n4swTNAtZrpHwSBicYNaFaDPPPMK7CwfK46pXo71ydYspOW7FEjkvL+MnZuLY\nOLVrO+x98jWmkGbN5JiO2R+oZ+Kq/bGWwEGfZ1eOJZKxpiD4P0O9SUX0ddNR\nobnN\r\n=HkoF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIATI631iV8IbxMUqjCrf9AhoMilRzBqV+p2EsZUwi50EAiA8cMFdvmT9qY4L20ngUOTHKwcyxJ7WZIuTC6jreQL8Ow=="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.4.0-beta.3_1624021997297_0.2156599094903049"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.4.0-beta.4":{"name":"@passbase/button","version":"3.4.0-beta.4","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void\n\n**onError**: _not required_ The callback which will be called on error, (error: string) => void\n\n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n**apiKey**: The Passbase API Key you obtained from the dashboard\n\n**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.4.0-beta.4","dist":{"shasum":"b90ba9fde6479a383011ec9d962508b75cd6e821","integrity":"sha512-DB/nIfisqZuLaVZhNj3CxU0/KQBqiNMcZTKLx2jCWE0W4cZNROgmLvE1LxcInokCRiLapYfdli9Xo8HU3GGcew==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.4.0-beta.4.tgz","fileCount":6,"unpackedSize":1038265,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgzKncCRA9TVsSAnZWagAAaZwP/RRv4KJClKQA6wRYWw7x\nqdIs05K8LAsStJxCarnZyjq/uRzskCuHFmgb8hWqsVFcHTSCl6XYoxI/ktD6\nGZrOb74P+Xwb4TxtT83XJibs+6Lheh9PKlD3kJOfsVslN7ueTkhJbJ0fOQLU\n1iq+ThyM2eIDcUDfAQui4C9z5qVng0iAi6Li0D0kftjR7BU/v2gGgkYQwcTt\n9cucJ3x9hhwQWQtBHiPTMaCNeu6ZXga9Od5umAUcVMNsQy5tmrNOghT2PcLV\nJnOjrsgUOEA8EjENzNQIXg3LpNssjdIXLaKhP9ucO9zsqV8LliwoDvw6b0ad\n8+fndQN2+Oflxjf75q/PLoAAck+NlUfdEANxbJEm0YLD1hN1CPT9F7ivghP5\nZWruBEIsNV/QNMGyEux6x8XWIpensqMf4aKF1tyjTfYhXfHo9bXLk1l6aqCN\n9QAS9h8EKrMnYZGdkw/gn/j0pKWOS4B4LCEqJ/DVvgazoEQ+RW69g1tAHg8k\n5DpqPuWeOqMzly2/vgeP7MD9RkPHzlNVhBbV2kptN3m2om398zYU6j/vwki8\nqz64nVVhhV1HBBPMSFHvhHIiXi8o9VYQAj+F45F5pIQNEXDAyUagE3ahdwnc\n+UeJGrJbhCoPDH1+DqmeioCTRJtTkeH2LB4Fe/x/fGyLQJSSXNsQYwftuGmY\nsxBn\r\n=HeCU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDyuRwZDawcNN3uJiv+XHhJjC51iJE80PMmtRxkel9S2AiEAlCjUr3iDDDDvGWvX7YI+flXnq2KofRxibKKYh+DUOe8="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.4.0-beta.4_1624025563882_0.5225661920534768"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.4.0-beta.5":{"name":"@passbase/button","version":"3.4.0-beta.5","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void\n\n**onError**: _not required_ The callback which will be called on error, (error: string) => void\n\n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n**apiKey**: The Passbase API Key you obtained from the dashboard\n\n**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.4.0-beta.5","dist":{"shasum":"968e42dfc2dc88cfbc33947ef6cfc76713281607","integrity":"sha512-4MBQ53tc/uCmRWSEr2Hjw22HiDILa9A3H/UUTxm+bhBJSKozutIMWfy4xJadC0dgJ12Bd/juSY5wHV5Xlmrb8Q==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.4.0-beta.5.tgz","fileCount":6,"unpackedSize":1038265,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0EOzCRA9TVsSAnZWagAAjxMP/Aq80urXYWE0LB6dn3DM\nbn+6qDuhGGUwUutw6wCfJ8iY7RKe1C7T1QAu8vHA6SMHqNgoOu3QLeKw/eRP\nnfjASjckajPtEYskeCmJJHcEPS+n6hJBzdIJGBofGwkQ85buVUIFYuKtFVj9\nGGe5ZaxRTHvMKm8EqI3fvrXdlrRLUY0RN02vNIvaF9Y0HldKwlbnyLmkN15x\nwI7eutZPBzZqu107m+ZkYLLGwReRdzTZyi7nc+T1cR3I7BsPpv83kU2PkBER\nbs/GEtuIltGi4Nri5fn7btxIHMWzTSOV6eF6RC1TGJDHZZX26x2SYbM3ereh\nqkufEF9E0RHCWHq79aOVAQ5IWDlV0lmdnPekXKAkvzj0X9U3a4x+XSzvQz0W\njT1ESl/A86OuzQY0wdzIELC2hIljI2A9ysxl/aiUhiQk1i3Kme2Gmn7APYwk\nX6GGi+6I9x0UX2Pnb83aycPm4wwN4ix/rs/dIx4kYA3QiJ9IyIHksNAmDf/W\nrHKsKULNkKwOkoKbOskR1ewfrfrjAO6YHT0N9e6OenvH3SXWBb6v858WESbs\n0YFM165/L0kL1my97r9v1Wxb+//iUve0zV8fhr1+AwaNdb3Ir2LqUtWHhxmv\nD3dx/YBFDHUkUShcwbtE0aAo+/+Wuhv4p2UoxOxJzh1Zl/f1dP2gs8vUt9Si\n4yKy\r\n=R2Mb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAoyS6K7PjoekOGRxdryjnC3ZC4docDoms0W4AjKmVcgAiEAhtidpw2G0ApFoCJggCLh6BZJd9bm5bs59RmSkaSNIgc="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.4.0-beta.5_1624261554179_0.6868810753324879"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.4.0-beta.6":{"name":"@passbase/button","version":"3.4.0-beta.6","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void\n\n**onError**: _not required_ The callback which will be called on error, (error: string) => void\n\n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n**apiKey**: The Passbase API Key you obtained from the dashboard\n\n**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.4.0-beta.6","dist":{"shasum":"c10d1f1f0d166e1608984545f11aa584e42bbc53","integrity":"sha512-Fqj8cPnnHE3GX1adkXLkmfue9kctIrXLgzeiLNOqgUmTFtyl/iKlkvd0q3gXu+d3Vg3Nvzk30ahHKY2484G11g==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.4.0-beta.6.tgz","fileCount":6,"unpackedSize":1038265,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0GFmCRA9TVsSAnZWagAADqYP/0f2EN25/+BOMr3fCZ/q\nF6oZ63xT9VrWnpSyaQI+OWtoIX4smd+eYNtwClkthjG2CDlbQHqExm8XnEgV\nfYFWlMfGEVTVCGtLzgHvegxs56HtjWl3ViFXKNI8CkHBt28TWtK20OB1ihT3\nfzlsOIMINtbrJQc3R7GUfuNmvyrIHSebpv9ZLlxWE4RMwtM2cvbTj7jm+nR+\n4EuNQWrUIiGAUgQQabCA1zRc0hHegqP/asvRHItlhY1GqtHLWrg2nZjGAACe\n7IGIy3OsryvYJ5/ej2mxqNTSbH7PRCwX2wVU6hW2pafraTghZgwPkRnn22kx\neQNyyED+Ja8uzioyr0kR2BBuREKoxnbjiCSPzKBuLANkhZ1Ysah7I0BLv0Zx\nvuc1oFCrJEBsrOcbr2oIZmsg4cHBXQR3R6mLFE9MyNhiuPdsMDFdgr9FTS3b\ny3Q2XJYmoT1YjGwcz+B/V8t7ckbQ5/oBuVAMCMMWC+jv6sigGIuq0HyOhqUi\nIgBGCzIUQysVbZZTfxV9A2CSN5PWLPH0h7cwhIHUZmlQ8alu+67VVCqzxQct\nMsdHBu83A/GO63mZSrh+i4T4pI+v7UreJJj1Slp75epPnxglgG1//liJQhgd\nYBCpqCuGImGvDqa9kVrhoiHW70mHfTUGLv9Wu1wF/HsH/dOqlyWaB/2dIIf2\nl04l\r\n=OoAT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHzPxufxzoHEwh8zkk/bMa57FLbN4vZ93ahl79meN1QiAiBjvqkMGHLGUUcSYVb4hiByOlYLCVpiRSk+L0yi0Wb17Q=="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.4.0-beta.6_1624269157718_0.8365544754014957"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.4.0-beta.7":{"name":"@passbase/button","version":"3.4.0-beta.7","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void\n\n**onError**: _not required_ The callback which will be called on error, (error: string) => void\n\n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n**apiKey**: The Passbase API Key you obtained from the dashboard\n\n**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.4.0-beta.7","dist":{"shasum":"84e50aa9511ca3c6dbfef5c86458ba9f682fde7e","integrity":"sha512-+1pH9HqXhtctBxKEsZByFL/Gyqsv8a+kld0+eiuZ6/ixE2d3rO4s0Pa0hU4CnpiocFhbIINr4GLAegWQRY+BcQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.4.0-beta.7.tgz","fileCount":6,"unpackedSize":1038242,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0GwECRA9TVsSAnZWagAAktsP/R04AWbqAH3fkJwfTdth\nkv6hQ5vnTJicrM2vxqCPzraDlTq2aM336dVuNimXP1Ium5H2ediS5OEL9lMp\nVOYtdCQV0wbbXOaTEu68Wh0Vm0btbuzV686fVMSeomKHbi1hoCyGt26sYDuz\nB50Ixp0xgWjPaGNQ6JOWF5yGesbrsGE8KG+VQMDVqzcE74TjN+HgpX5WXfIZ\nU6gBWdL/KLo573xmv4npQQ4sp9BFPvJ5Ric9Q+MtdYOBu3I1+bhD6V/jiedd\nDRD8QiAaVwxcYbXip+csuOwZ/8yqfB1w54bWEXtWsgba9TVx0zPNm7o2ejAo\nnOYtLMhUA0mqaRlumnppDoY23/xByD2jSxyftrV/Fe8286Yd6+m1zmcULo6E\nuklaCwiNE3RB3coRN7vcjWGAfMYwkErGA5MwW5YgsfG8fQr8bAhoAPvzaeoX\nt7cd625WZQwDnQgvEdiqXhUvmb5JfYO4Rniwe5n0SjW3Nwx2LamHGCjxvr3H\njaiSPQKQB2DPzm079F9OKX39puGsXTkLzRoJPJAoiau2UqMvA7NfTwHgHOnN\nZlOdOBrAaknEF6wgUVkoHTLK0b+aNzHR5d61sRag9Db2zjDWwLI3z8cX2Pmc\ndmWBplK8A3KGLVxl53iOxgqGoV0QN1b5/y4A2fblPNF3YUR09gCOjJ6cacNw\nUZdY\r\n=zVNu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFVXsiItKkWGlCNq7/MPcPXIivNrBq15aDy3wi6gYChQIhAJZqw5m2PJGuEhXf0L/yWQsohvIqFAf5BElR/f8MEZGm"}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.4.0-beta.7_1624271876355_0.4173568615958734"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.5.0-beta.1":{"name":"@passbase/button","version":"3.5.0-beta.1","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void\n\n**onError**: _not required_ The callback which will be called on error, (error: string) => void\n\n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n**apiKey**: The Passbase API Key you obtained from the dashboard\n\n**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.5.0-beta.1","dist":{"shasum":"2ff82508d895f056b94f0641bd113529d6cf7a61","integrity":"sha512-752P/KliVWwd90i6n728nQtzExr4A5UbJgYnkAuXnIxEQRviDEwt1h3hNCdjXKxYm6EuVeKxAo+S/ZJRhR3A/g==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.5.0-beta.1.tgz","fileCount":6,"unpackedSize":1038624,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0KUcCRA9TVsSAnZWagAAPL8QAJ0EivLQBcVgriVsSGZi\nkOMmPzgWNzM0v88ZUbaYgT/5ofwOjFTDJ4nVkNMimWPnHjhQROxS/rSpBhwS\n+ndyC4c2kCTLo0GweUF99xwX1X934CY2jQEZW3QBnkK/kp86OYarXMyHujCc\nGpVcWE36Guc8U6WIt5LYerIr6wAtDClk52RNCULieHGzF1EQ3FO41MLkSLmz\nX+z2phZM+GDnAtAECTr0afXX1WTa0wt+dBSAilKr7f5C6XXS/Upe/8DnqNQn\nA9n5H14M8TmrcGxsYLnptDKEgdvYYQXpBvPkS5x7Et2GSweVZnCSGb9OBoeL\n0FIWGnNqNm1ET03LzhMncPEon0808for7XgEw/5TPviN3JRaKLcJ11PNqhaT\nEhag/u+1MYE6Cbae8PL6kAAh4vxyrpBpnBbrA8wDNjbWkVGDr+uDwUZ47MLM\nRlaaYzQey6mmrYZy16hbSsv4VBWTJGY/4Z/MFkmq9CFEODwrzrM0wR9wrCNk\ngfUX8qSqaQ+fddvSCvcQd4qSNMJff0elMQce8jyRVF7/+gHLhSufjMJbHQ0p\nuNVTq5zKUGuCkx9/kFyACp3pCc3riEOyodOVc1Y4Xbwor5rwE2/IyTAIuS+H\nHbXa7wdXo5DxpR6Vdgc+Y1mjTtnu2bPDNj7xfcA4sSNtXwJDWhqd4NFM6hcx\nIxOJ\r\n=TBOA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHceh5qPDxCgD70QCuHwLdTqxxtWwLhm0q85lSNklAa3AiBonVhbYxSG0FYSHzT7vRmXf0SEUN1G4+VwTOwZu+lxzA=="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.5.0-beta.1_1624286492394_0.5274014431954519"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.5.0-beta.2":{"name":"@passbase/button","version":"3.5.0-beta.2","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void\n\n**onError**: _not required_ The callback which will be called on error, (error: string) => void\n\n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n**apiKey**: The Passbase API Key you obtained from the dashboard\n\n**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.5.0-beta.2","dist":{"shasum":"b20b37c08369997a7db8633ef4f2eff25554f585","integrity":"sha512-4tsu/nZ04pD3mS8qpE9zMUcERUN5sGrRGEvUAj2Y5MeJ8MOi1q6w1Xqjrf41NMBmBFmpd2qTfjFHsC4XzSEu4g==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.5.0-beta.2.tgz","fileCount":6,"unpackedSize":1038624,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0a3fCRA9TVsSAnZWagAADNQP/Rr9QYtmStCf7xRCSi3b\ngQ1AghsnNxMAvX+mG35+rEB+Qb33IPjjmkx35WISCyijkSOykT1oFShGRfUG\nJKy6JPgTQ3cFlOKSYFARx7mEzqwkKZtFIOedSpj2Hm8HAhyTDMJudUlYHDnA\nzZ+LJL8WrCG6mk/4iCzF90KqEchLBRYMRgue+S77Zul8mgs3Jn2MsijTAvVn\nKy0rWQwn0rQkwhX6FHIgU7HWL9Qk5y3GlL8LfiwrEXbYqNCPbO06ZpfRdEFw\nZpeK5vuDxXnHlXVN9cmYm9i2/4+BnyfVCWbjdY2dJidW9Ucy3nU0YKPWNPhu\naHD/lBrdpEBONCTPPHDw4/kGUcXpaSt/qw5j55D1ZgyK9QxeT8fIeofXIMKv\norCVpZXQumP0D5LsK6R7xQnztoDTdfnXBYNv1GeFhMDGEa0+mXAYW84zwT5O\n6UhLhOoUaEaj+Rqs/VWUp+4lfxgutwH7S4cXhTfIri720Hb2X1o+jtiiG3hx\n8peqBnVwtkgfoqxw/xODQQ3cTFjA/Op1j/EPCZgW1l8gQhkFA2MOXz3swKsR\n87xTkymPaIywYUzQqzrVP61OqR+VL/lmWEf09j0IY4zscOC0tFAu8H1KaRJL\nl+liAWziNDgTxBqLDmsFvKD7xHPmsa2+ZAseAZsci4CjmSRVrPC+M6++2tWs\n8Id/\r\n=ZIfJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDe99GOLboYv6OAM561r/zURO/rYkXit2rbWlTAFAQx/AiAOAusI5RIPbRm+vNPJVlk0zkNALaM8jmLXr4Mp/SwYEA=="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.5.0-beta.2_1624354270763_0.2933649237362139"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.4.0":{"name":"@passbase/button","version":"3.4.0","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"_id":"@passbase/button@3.4.0","dist":{"shasum":"496ca185fa31adb5abd347c03003959fbf135199","integrity":"sha512-fGFQYYHfAuDMiVhiWTJgbZNLTa+Y//blBTTRMLFvsPPi9P0tgknLhut8IxhlZtG6fmk0vMSJ/PEgQlQVzJQtIQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.4.0.tgz","fileCount":6,"unpackedSize":1038162,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0bHbCRA9TVsSAnZWagAAgN0QAJBkix9M8X1xVcQ9zmG1\nenVV0osBG5GfhgJyrypO84MD/4PjMDsXrgv9aNOcWWWDnRgU1Ag7ACoWCm/n\nPXkFhC45RPuKWzTEFCSHE4K79RmEirlOXkogG76YdAvqf/GOIVFoKlA9dd2j\neYun9+LYMM14jreD5hqEfQD1Zilj25Sxu/ak7WLD+EK24Xna2hrNIAE7kIio\ncxX0LBfRK+C9nUJgIqRbTtSyuN90B1U8cVNK6OjJHE+nJfNtHG6bjO7cuOIc\nTAY2CqdnzROuks1PJDDSbYORdZ1SrpJtP5jEMXOzhl+vQSVxZdukKCGKslYE\n/PBSEb0Qvi39YaOhfHnczqFIj/Stk2fms0K3fw3dHVJrvRObiJ6NRjcs63io\n5bE17pFK7pp0wwZye8k7LZBJ+Ull/Y21CYAMgGw5Py2bKApS529qKb108zx+\nr61nwjFW0yqQWVYIc3uqG7R21gXRcubHRqmdsCweb44ov+aPzxevF5fdfe9V\nqIjg/7rPJxIHyme2XYG6Y0NZ+vi6Ep5wpF+bKWiGN8fLXo7YigHe3M/vyyz/\nwAdsK5CvIRfWtMqCYQ4VsQcgwyKUTj5gzWK0CpLxm4itG6MG4uzW8FqV9zoH\nBbyHq1yhxccp+CVvFNsMnrL6VJret6pmNnBAg+LkM99BG0PyNxA9V5/ENT5/\nY3i1\r\n=O7uO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGwKyPPjVKlsUdFsqgCrQV5k7jbXVHYl7fXVgmwmW/E1AiEAmEaaZOKoQ1Eh6x5cGo+NY7M8xNaEsXz1KhT0certTqo="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.4.0_1624355290764_0.8459867386400777"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.5.0-beta.3":{"name":"@passbase/button","version":"3.5.0-beta.3","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void\n\n**onError**: _not required_ The callback which will be called on error, (error: string) => void\n\n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n**apiKey**: The Passbase API Key you obtained from the dashboard\n\n**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.5.0-beta.3","dist":{"shasum":"b81db735dc3e92a0b4fc101160942396a3fd1273","integrity":"sha512-RNSg016wuV6bGKNezyarhuUUYDxqB+E397ffDTRfkmG8nk8rh37lbUQk5MeNrOrgX0J7CQq+xDFukXCQZxkiQw==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.5.0-beta.3.tgz","fileCount":6,"unpackedSize":1038624,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0fayCRA9TVsSAnZWagAAuHAP/jhnM+NAc8jtrtk3s88o\n+szvwZbEqLV60yv4c5XftFOCT7W3so+qCR5hDbTXmslXTTUzBw+e0nfAANcy\nZOZp9+VuYn2LNFiH4KA5rmb1grcf2vxr2hAi/BD4aS7hs3KN82YYMFQ8LSDS\nk9qAIkP938Yn+rSthKBltrCc9IZ1iX24lh4XbERUuy0b5GqhOkLEnGj0ngYj\ngVzaBmvgkgHfq6bqWeuJlvkIiW4dPUfadzZI6rmkLLfIHgCwWbl6LRCRltOQ\nvgqPasEWKclUndjrkIv/Xc5mUyedFJkujahAdwfEzLuWFIxbRU/KfzGXASdI\nMpPUSSICuhrzQADsIslK+gF/cvvJlQp5/OM1VF8I+a/bHoTeHEZhWiUmot64\ns4w2VAsAQjYLTo9E3eEzWHTWjOF5Beagk7uyPRk6xUU3vAeZfVeihELd2CrB\nRcoESvw24j66mI18tqyFkJmoUtlOcy+LWLU9PB71B0DwjpWtenk2Y4sOi0+R\nC62Oy7MDsLy3fYt7Vh09acnRSKQoZNJPYzX4ckasat/aPJwSyuNMbSCYzIim\n1+XTjrPYXS0V4Y2V9lmiVKvBZcmYhdHK5jnyoQpAuPqouFtk602/0JKAJLEx\nlLpccelWsQxHUS1cpCNCPM74eafqfwveQcqZouBToxV5F1es/Jz5t82FkO08\ncW2e\r\n=lfIC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCubAAci11J5N/0TuNh6r3fxec8SeIkFZLZUl4oBWwDhAIgC6joZ2m7WQSvZJtbLo9aAzn7TmnfC/nP00VGBiPB/EU="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.5.0-beta.3_1624372913723_0.25933225102314794"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.5.0-beta.4":{"name":"@passbase/button","version":"3.5.0-beta.4","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void\n\n**onError**: _not required_ The callback which will be called on error, (error: string) => void\n\n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n**apiKey**: The Passbase API Key you obtained from the dashboard\n\n**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.5.0-beta.4","dist":{"shasum":"981eef627340b3c62fd03a2d8f30361de6e1d2b4","integrity":"sha512-wZWXEQ1hfpROSGZJY3jHnESd6ZEXzWu0SJu25n3dSxTwdFHdfSiyAH2pdjbz328aZhvmpXUswI+j0U5K4DhJig==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.5.0-beta.4.tgz","fileCount":6,"unpackedSize":1038624,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0vGKCRA9TVsSAnZWagAAGXcP/0CQSIWLvBuO2+9ZssEA\nWzuJUARJb159iptWsJk6WtpsdIiQPLWJf3GCS8BHCT7Ky3AzKEY6CMyzR1JM\n+JQOzJgXcCRy0sffixq0cQJdfwB/sGYJQA1DLZqB038Aqv6TIckHck/kx6cK\nbC7lM/PwnEqMXRQDcfXlEalk3MQCMI8TTGruOo7OaOLbxOlR7YYNWNucCcTs\nHCMG1zvpdV9zO5xad470X0NJ7d1LXjvgR09YTMVhiC7i5r0+H/txLmC5pCFt\n5Gsr9JeeL2taY5bfKbY99I8Utjv4KdW1Cp4Y9Oj0Lw5YWgioGMNh2EpcoFr4\n/X3IF7LVP86SDuHEBMA1B2Bs5LEkUdY+RzCX9ycC3bO7hrWVNOgtqW2uzxBE\nYqKv5uIjCklIuZ73cCsekl0UUg4Mv6jVj1EKzOKCZ1T1+fp+yekMSJbwUa/p\nl+A9sC3ZCjQqbun+EPW/BRpJlpDQ6WAKOyCg3lOmSOv9Sh5Tenthb13gZ6+Q\nbgX5KXGCIq1gf4m8EYXjYdcU2Nx1VdIAXiRIIZs6AFLLrZ28IQF6sQderDtD\nddR/KEkMlaA7AXy20AARA5fBHGRAFNZ6bfEjtn5A40lTfbL+cF+sNYYkF8EI\n4RFSDXKuHMbwrVM8uniDls43S5DTLg+86Nv3v33eaol3Vd+niTo3gGsAfWSC\nxhpM\r\n=4OYh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAtl+wthfMLfQrCgxQQXBNVsFHrHmbcljKVN19WUvCfWAiEA8V/WrFbpRajpdDP6lHGS6riGbrpmOPss7evKVSk0uMo="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.5.0-beta.4_1624437129943_0.4071735049884275"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.5.0-beta.5":{"name":"@passbase/button","version":"3.5.0-beta.5","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void\n\n**onError**: _not required_ The callback which will be called on error, (error: string) => void\n\n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n**apiKey**: The Passbase API Key you obtained from the dashboard\n\n**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.5.0-beta.5","dist":{"shasum":"414d35300e1fb2ad137ebd9ec7bfb9fe93ca0486","integrity":"sha512-T6oXdMnoLZhZe4fi09Y5741HJHvY5Z8SZd+oIOZV+t0DGKYUBQe71hplW4KTkNZcza15T+ESQ1kKTfAOBBnrJA==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.5.0-beta.5.tgz","fileCount":6,"unpackedSize":1038624,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0xTTCRA9TVsSAnZWagAAy6cP/A0p1FBJnYZfDLuwhUi5\nM4xNZbjSPziJtlX0S/MZNxJMUWf/k3FozPuewgxeJirWNqpmhwVlEplhvksw\n323C3fry9X6PsCBnWYdUc0ZZyBSGTgTJ43QoeFpbt/h3OOXfBPtkNmGd/hKq\nhtjAsyuoP3ssb1tSMCCwRIwu2Xx6c53Q05+t37KIUZV2J84nUro1Psxjde5f\nb0ZFwuze9ktvazZaUbbqUB4tQaoW/4sZQv4L+Jew3CBTzmzpKlL1GABmCBA6\nqxKS25VIxKe6yxNDXkCTWUMcj+6ZFK6QDj8Vwb2vztPUFWUUZ3HXhVoe8uyj\nitXWuwtFJ0zeYhPsjwJNurbwKu5t70ssC+Cj4LssZPzuEXY6if9yU6tbYNWn\n/SmuwaTYJ7Loeti50nJQ4RAhK8iH9ThYSfHw6UqBEMR2HmA78/S+71uCkR9D\nzFEkESW8VG9jestHP7mbnttw4UWBWKwS8SusGlVTSeQjD9JwBpFn5lFjJeUC\nEnartyoOlSJW52zj0BxHGHkqscEnccfdFhS3i8zi0iJ52mkX/dw3pkIkrBfW\nSX5oYtg7K99K7UHyZPMuJGflSk48x6D2UaHea75GMmahPn4fAscpKToA1Cqy\nCiqsq+5cQBxiPWejBbcLkauuXv5hTN4S5Y4aP6fdJa2yJxXRHCxY4WlxicjJ\nGg3o\r\n=ycS5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFksC8pR9Wavu/Ony/NU4ORPMAbP1MOPMZhjU0hyjWsYAiBENRCWt1W8PNdiUeP928CWR0hzWET6/OwXmpaufkTytQ=="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.5.0-beta.5_1624446162454_0.419422605548994"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.5.0":{"name":"@passbase/button","version":"3.5.0","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"_id":"@passbase/button@3.5.0","dist":{"shasum":"3cf5375b8031b1caab64c77bdbd14e798ea3db4e","integrity":"sha512-KTvSvBkK1wvDNFywjoWUzIPbKfrk5T2LJYtMYJDLsEXaof8lrJdNlDStWf+5sTAPzEoKFi73X3cToiEtEIgA1A==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.5.0.tgz","fileCount":6,"unpackedSize":1038526,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0yrJCRA9TVsSAnZWagAA2f8P/02L3OOQlcyiUtX+Fgeu\nF7ajuLCmVr0G+TeQ52dyUve4PBvmramwINjBDvWhRPvhfdtGEf9jUd3ulAwV\nJPgTWmtqx2CMHe3jNMxOIzusQR8mPyysQY2oyAL9wwYVkgHlw4qBGJkQbO7q\nvYE/or0f21K+QrwbqhJvY5VATj3XBbGiPNp7HgKzE3t7qnc+G1Ozs3ugY1Ls\nqvAwp5ukjqDS5IbERFZMKfvL9CWuRS6Mc9r/UtwEtlJRrVcwvgjEhpChDgBU\n4bTIjez7Otr1uboZKoqmxCS0azMEbG80FB7ZtZc904FaxgwrMEO3BP+0LVyj\nhPOG6+nu0rkGDjunbREq5EcjLvbefhwXhr0vTlChRe7pr0NO1GN9Im7lViox\ncedaa6+imbnkmQLfMki42C9DCVCX58KASlAMxl7NGxQZIuVdO3fcWBS1bmed\nIv6AybLBfS5UVPUwKNoJR6n4s+wzSfuWMTMEfsO/BmabV6t8XGOJfE7Lrkoo\ngeMFSVZ9P857u+GJcaDGmUgid2VRuGDvo0FLdShm/cG4HCcEA15fAwPh/FeO\n2li5CtF35jcNH4RTXLtrqNKh3IQAx6MUHN5XnvrN9Hr2jsAnTTwUicGOgNJy\njH+W9LcUsXWBs2TwAPHlOHI0q7cjPpN573TyKGPIHLUioCUliH2ZT/HlGa4V\nQs6S\r\n=9AGC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID7KFXlKUUEFXE6ZvR46TPFatcKv0tv0j8YLNRO0SYr4AiBPxGPp8XRWgI8QIeilrWFjMlJaopCoNStoM7nIBFn87A=="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.5.0_1624451784850_0.37024778849978945"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.5.1":{"name":"@passbase/button","version":"3.5.1","description":"Passbase customer login button","main":"main.js","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"_id":"@passbase/button@3.5.1","dist":{"shasum":"d7a6822d3ed850e58a7c5d891fc43177500bdcb9","integrity":"sha512-m9SUsPt67QOLdzs1RTyaHRB6YfYdg5whSmDWWfLo2GtxvZ8MGdI627XrvK7OV9u5J5ir/Uq7tIcQmLVLRuUrdw==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.5.1.tgz","fileCount":6,"unpackedSize":924927,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg6A/qCRA9TVsSAnZWagAAj4QP/1N5pLNzI4f26atJAVUh\n0xChIMFocTzWSFSwO7VpfVtEUe49wWeN9LLyOYNEBgKRrZQraIurPYg6Sio0\nvGD+XVNDfI4d1YwhO32HXrksj2eZUF8EshbBxxIUltJ13fz0LBcbOA4RazT/\n2aW6Ixq6AD284DDxzmX43OW9C8T8KNkyRwoORI+C9p6DZZW8/mQh4ZdDty0s\n2IAMH4gXGmY4QAj5CaoxPCICtzhkC+WTYJH5JdwlV31evegWK3UNzhgkJHyF\n6opApyvOc2wBcabQcgUVWCl1MOxYG/Pa5fFV9h2ptpxvA9YBHjtklSPGFSTP\nK0hdAk8gzzP1uQ7HBOFC8p+DTj0hM7fQnJThel5RhO4LRscy9fvgHo0oX8Dv\nsQqIgFV9waOppDZ6/XkH3qOijCD2+bLaAeGUM+O+lf23RL3UNep9qxzgEAnm\n/0QQv7A1/EUAI3i+gRBQcZjFuNbkbO/iGFcIgasT4c+l8q54al3VwZ2VCtAT\niEfcWcUCNFq2uKx7ItZnPT3sfRXuWj80lj4pIJAt74Wc7hyBkbbf7G8rsFzu\nTtWxk0Pb30iYPmzVv4u6o3j0orn9TMwn+Km2N7kqUZ4pLS45Zwm66T6M/+ig\nWqikgefCPg3p8iZMdSQJCKzc9MP28p4xWxC747nSYNvcpNsJJrvAk9Z4QbfA\njcR3\r\n=5fWA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID6qqeA8BHmrgEGt7AmCqIRO9eybdt3K5PpMr55rl8nZAiAOT3m2N6Hli3O38un3/cdgFllsWT5t0xXMdaFIOtPWYw=="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.5.1_1625821161567_0.945970619433282"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.6.0-beta.1":{"name":"@passbase/button","version":"3.6.0-beta.1","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard. You need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onFinish={identityAccessKey => {}}\n  onError={error => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n**onStart**: _not required_ The callback which will be called on start, () => void\n\n**onError**: _not required_ The callback which will be called on error, (error: string) => void\n\n**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n**apiKey**: The Passbase API Key you obtained from the dashboard\n\n**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n**prefillAttributes**: _not required_ - an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@3.6.0-beta.1","dist":{"shasum":"19a064a8fca57f7b32cd3034af0c05d92b143d42","integrity":"sha512-ETfjnT3CO3FhvXwWs3Fs3iSoa/r/0h82hcQ3Zdh1QNMqELYEedkR9vfvW4yu66s7UvbLK5U9a9YLZegijrmUpQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.6.0-beta.1.tgz","fileCount":8,"unpackedSize":928103,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7DdRCRA9TVsSAnZWagAA2HwQAJs1L7MuZM30Gsls458+\ngKgjeSuFBgYK5Jzum06sOA2XiPgraNzwE7WPg5ddFUdmpEBCkNeLzhc25YaU\n51YcIwvEDQm2LPj4osEG6Pt/f9dyXIBox/8zST4Gyn50RLp8J8PujR/SJWAc\nuJtb077lUS2HOfktFXwmKKpHprUr0tnkaqfUfGglnYz81ivB0aYBZ2nHz0Df\nlg1S+3JlwXzuqPCul8TF9R116F5ncqIxN0eu3xwXULTzYQxRhDuzQEAh+Hu1\n88jE55wV41Vf0khjpSzXzkmbQnTj7ZfbnhgGciQd2/EHni27OhzTuz1vwIh4\nyWmikXkzjZfYML4sj9w82fpa1dkcvMIp77fqjBP4+Pg6i+mylsNMYlnXdY8Q\n/plRFK18/GzrL9D4KVATOuhQXyUjZ8okpwnnv9gHv0NVdKrVXQKBVZKlMKWM\nDA0TqzKv0ulGW1vZk7Ybx+Ux5BwqjAb3fT/yvhzuYhI9seRe5Yqh/rIfLu5U\n3bK28T0lcUjmTe0JVFArOD8pQi1M3UiXhPXg8rnUVl6FRIc83dfW6aCHnnud\nWKRNnF8o6JnUUkdGoGloqLnZJQysM1y+1CnKVduHmxy2dF96AGSKNo+r/Z/n\nlt3oJrr6utxC9p7q90Ji0KdUp+ooak/EgMwXoTlzTunSI98jZ4v4l8yZwrOZ\nCRzm\r\n=qPTY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDj2OEO7wJwK9P/nxJoiJjI9mpRomcyGunuq76nwzG0WQIgGD5tUQ2b+t4Z5okEqhCpntzjKjhtShIAubcirwc8nRM="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.6.0-beta.1_1626093392741_0.3535892568126746"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.6.0":{"name":"@passbase/button","version":"3.6.0","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"_id":"@passbase/button@3.6.0","dist":{"shasum":"c80336d7d049865f12591717b8850d203266afcc","integrity":"sha512-0F09kfnhcCAqV2cw5KIItbs3VrePF0VcPOl4U6lOXce/TVhFa3xDx+pxwnk4QiCtct2Ro1pGVuYpSfkDam3O1g==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.6.0.tgz","fileCount":8,"unpackedSize":928005,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg8CH8CRA9TVsSAnZWagAAHiQP/Rs0im33nVsTh4hVQ8Kv\nqTYtSPfn7Dqc/v9xGELzGHGJd/CvRCTrALHpIWXp/svJI5kqP1R4Mbr+QO2/\nAKpUSzvMyRHmyGQIZ/J0EGY/WKAMNh6uX/uzohbnn5+2JD1e5/+EI8U/Y/2n\n1OzjECR5miEOqLf2Kw5n9BV9Svmfgk/9qwz+iHRBHYjQdsz25eaBgvliq+4b\nvdeZeeyqyJjqICFeSPSj7CvBB45Tqsv4cQSNKRjWxB4ZB/B3ZZpf25SyWvUQ\n2qS9RG7Hx7vDjz92TD9Oi0RIouBHMqxMdK0AUDAzC+6PhUSCaAPIICI9xfWo\njraqA8wMY9BeRHaQWj0WXusBJq/rzU4iDFZz45+YQSrFGDpk47aVx86HvN7q\nO7Jm54vfb7WJczJtCLaPTox1Bk6YzN0YQaQjKwS7AJdbWQGXowRFLW7mx4x9\nzCp7wawUyIwDYyMPDG547pMhWEF193W4efC2k4sq6exgF1kM3JPaM5zoBp0Z\nSM1bSO746OIHBqNkrfKa9078OubTDjlmGe2EFSoBoU/ap6pNoGr4UaAxIXBP\nreamrQ1bbPcEjo0jlWtYMyDPl12VaRUQYZQsinr0i5UE0Z8vSimHAuYk2Asr\nysqslSAVJ4Io+UPM1Ad29ERNvYssk68CvNwrpdWZnKqrzzXt/S93lQzvWaN3\nWxac\r\n=XYGP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCItNJKZnsOpCVIZiY3DhoMamqqK9voDnWwKnv7Ad/4iwIhAMEYC8RDSPNuhMlpDdaWekvs9uyB+ZC84DYVdiPVIO1h"}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.6.0_1626350076598_0.3202310331291165"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.6.1":{"name":"@passbase/button","version":"3.6.1","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"_id":"@passbase/button@3.6.1","dist":{"shasum":"243d9b49ad14596097b671bd48aebb3bc5e01303","integrity":"sha512-vvyk93uXDR2eIUYZi9/6Zx4HB5bn+BhDIvG9BVVCYv3n6m9AqYneYdTaMZfHk13Esaf3mdi8EAvNw6N3VDj7DQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.6.1.tgz","fileCount":8,"unpackedSize":928006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg9r4VCRA9TVsSAnZWagAAl+QP/2/CDzOuB0BkCTKYKfMR\nJqdRdGr7gAzPRiR/Ade24+XZkZIESvufAn8jW9ImnJji9UqOHdv99LAUpn6h\nhCxy+FQV8B+XC46va3v46GG9d706neDxkT9hqeYk7ApE1Ht6I0CN2K413hV+\nWtBKw8id7eDca9m/CGRXdo3nIPrKIQixgeJzyBhfqv5p03cDQsoQCHCP775w\nIL04t3XY3CzUTIcD2HfHN54G8H4Go6JAwt5lDVQoR+p64fKRcYrA1y9sxBVf\nwThVmR+Nn4XcUV9ZuHFpYNxUj7YsPCxwzdSgSE+b2WthWV1leaTtDqZYS7ZM\nzHeohFORTZV3co+bVjU/l8z+3MGOkOIP/zw+oiFt51m2qCw6Yh8VP/uu21cJ\nIQEU2OzULRdHFekWq2EAJKwdLNa3qq1vyz+cTB0NkUOkX71HR45dEyu56pNs\nuKjXiyr76LwwPFVR9qdkLblBGme1VXNTM7bluQm37mkLpkviepAFcK7mXiA4\n0VHHon+LAGM/AR2nKIzxUyp4lfU/8yhTUB7w79ifQZ5gM4GhCI96IKaHtYa5\n8VeE6CQO01+yvuesvGoxPNkCxgodevQDUrgRSVsw4NyxQW1FFt1HR57UnFJH\nTG6ByftAY/Kzz13+UF7mNM4NE4e+Sq0pvtKUov4ZWg0Uinoe6qxLTJ3vgTMp\nxi9q\r\n=DPJJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+YjwO4mXIoKolhSVJuYicg4lzzgNY/Fq6fVKMpD9BNwIhALAw5FxurSIFUEM7GRou018QXDSIuGGbHXr79Cxc4zax"}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.6.1_1626783253620_0.7383470342125329"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"3.6.2":{"name":"@passbase/button","version":"3.6.2","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"_id":"@passbase/button@3.6.2","dist":{"shasum":"3562fa1d177e8a7b99633078e1cce64a0e7e4330","integrity":"sha512-r/+p12GcmgFZYRJM+xi/1YAXXKzZRIQXZHN9UsafTxElMa/tsUJDC5dX+uo9ObSz67OCxU52qUzHuUr5YmyK3g==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-3.6.2.tgz","fileCount":8,"unpackedSize":928006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg+XmhCRA9TVsSAnZWagAAXvwP/3CxvolxvkVQdmDkV6cd\nsSaYmmwlijf4+2Ia8RpHhJPGhTYCdlPG6Jbv5/aGYqPGRKQnOnM6QiwmZs9V\nv6PzQu7vl/h5brm4F+uK5D2WDU7+fcbj+geK7uGpBurbV163GCOxYi1Gku3I\nYEhmdr3AG45ETuct11mCZJp3oApWWWesSXkn4y3D4M1zGnLlaUXp+XEJLrgW\n6IqSpkxWn9zbbKq8gDPufp1bJVMt3oZ9ml/yefV4fwwFPYPgQDRYunFlfonv\nz+yI68ndpD2Gm9oPW4Gww0ps6exbMp3o1zSw6qY4feLdSKw1JiGfV+h1X5iu\nj0TXs3N02yrxrLbvHUNg7WzdacanfJRG8hUzgj9StojARQ5Ab2waxqjvFXpF\noYQrnNlpFFpyDU/X5sBvTl4/FABKrJ5OyFubxZMCeWRCpoA5uvpiliXuDQVI\nJRIq1R7jIOGJ+UJhvQ5h7hvMtbY3DxVQBAjJpCQX9Q/Bgy07+AQykFfJ2CIT\nikH9JPZgQj8/hw0nWzxItUe1VH0M2VuMzMfPzQ3mHr+fNFE+gJu8zIx5M9Ah\n0eCpUcPrd6Bc+XlSsYXvJ5FstK5bCEZYGyf+HYnSs+zBgzL/T+CoX1xGDnr5\nWMcmlED4Y5DjOZ04F1kUdkPnprLlOLqQ/uKTRFdxAKaWysWsfOaPV+TmsTcp\nOdPd\r\n=EF9f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvOSkdX5diPdJqKcp9QBMesP5oz8RGIxqttj98kK+5igIhAJinbLey/Sma4k5AZ1bmcs/MOxSIPAVEidoFejiUzi4g"}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_3.6.2_1626962337274_0.28348220383306777"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"4.0.0-beta.1":{"name":"@passbase/button","version":"4.0.0-beta.1","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"_id":"@passbase/button@4.0.0-beta.1","dist":{"shasum":"19ca457629ebac0738465e49377410d51461c2e1","integrity":"sha512-JM8D++hBkSDdEXD89ebpCOF0eWMkAc9u+YJczR5e10JqFNyoRQaMP2ebW5utETJL4gnALgGeaCdnbPgvScvGSg==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-4.0.0-beta.1.tgz","fileCount":8,"unpackedSize":364912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCk6xCRA9TVsSAnZWagAAiWYP/jX5oelmil3KD1V0sM2z\n41yh8kkqM70Z09RJEO2uQnXyqNruOzv/05BgrjdyqZRkQpIzKNsheqVkBQvs\n+CXO9MNaOtQ3DAHU3xVdXuoizqYTQcrMp0yKozGZY7JD/PFEKKHS1TRvpJXd\nMDS00yHv0py09aX51sCo8P+hCPWD12qP12RP8QweXiddJR9jzNAZ4fJQCX05\nS4ZZNK7NE0fjf/R4S+ZNQvZl04SLkLLyvrz/or1B8k8oqGw1yokcszgScetZ\ng0MZ6ZvSrvvwKh6ZDP0+aJRQrMDUe94D//0zOlTyW9KbLkRrALwLms9Ft5q6\nlCv3oIwEh9HclxVi3ejlzH4fiSV0TPDLjSzytlAMCj+U9ucfkrOIvViB2JAm\nNRAL2UxnOatFeaDd956ObMoam+HxjVpz7XufzUxEEYpwafWhqyWhZTUrobS0\ntFfxCGPqgPhTy2U6RSsQy9X7Dy51rG7aN1sfcUihCVfzYCA7fyHo7cXq5elS\nFLS8jNLF4ZRc+Os32KM2PYyjwBRgl5Rs+5Be5NEQvMjXpSf5CT82KUWCqVKb\nDQ8KHlR+PX+aE8zRe8fpmPyFRTHKPvVdAg4aSO6Ht2H0ajfPy3LT9pOiiP/5\nY5YMrFsUw91rzCrch9LzT6aM/9AKPxVWmNWimMYNF6cs/czid4a4ivtOGG8C\ngzCo\r\n=MjtQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBw2ZSZY7YTAqOO33bGEPQ6JJmJgN86/CSJPsfaaFBxLAiBRdUF4Lqn/cBGDPh0IaM+FTkT3uJA2allpGaG9g1lngg=="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_4.0.0-beta.1_1628065456928_0.14440151933923673"},"_hasShrinkwrap":false,"deprecated":"Release failure - please do not use"},"4.0.0-beta.2":{"name":"@passbase/button","version":"4.0.0-beta.2","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard.\n\nYou need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onStart={() => {}}\n  onError={(error, context) => {}}\n  onFinish={identityAccessKey => {}}\n  onSubmitted={identityAccessKey => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n| Name              | Description                                                                                                                                                                                                                                                                                 | Signature           | Required |\n| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | -------- |\n| apiKey            | The Passbase API Key you obtained from the dashboard                                                                                                                                                                                                                                        | string              | Yes      |\n| onStart           | The callback which will be called on start                                                                                                                                                                                                                                                  | OnStartCallback     | No       |\n| onError           | The callback which will be called on error                                                                                                                                                                                                                                                  | OnErrorCallback     | No       |\n| onFinish          | The callback which will be called on completion                                                                                                                                                                                                                                             | OnFinishCallback    | No       |\n| onSubmitted       | The callback which will be called on submission of the data                                                                                                                                                                                                                                 | OnSubmittedCallback | No       |\n| metaData          | An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access                                                                                                                                                                                  | string              | No       |\n| prefillAttributes | An object containing attributes used for form prefilling on the button:<br />`email` - a string defining the user email<br />`country` - a string defining the two-letters country code                                                                                                     | PrefillAttributes   | No       |\n| theme             | An object containing attributes used for the button's theme<br />`accentColor` - HEX string defining accent color<br />`fonts` - an object containing `primary`, `secondary`, `cta` font family names found in customization section in dashboard <br />`darkMode` - enables the dark theme | Theme               | No       |\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@4.0.0-beta.2","dist":{"shasum":"40652002ef1a642918de2947983faaf5fb6c05e8","integrity":"sha512-dFi1LLFZ0NVB6imeFIj9vOjuLdlVnnaQlJot0KOhUdHSfA0vQG6R2hrSGUMa5tgY20t1o0SrlSvKyKATsWcjpQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-4.0.0-beta.2.tgz","fileCount":8,"unpackedSize":364969,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCn/kCRA9TVsSAnZWagAAFa0P/3frQFV2wuA2oyOTil+s\ntvnLk/1Y/lW3NFTp1jYsOs3Wu9G6Twy1swZMG3tBWud7Hr1gyOa+Th3xQq0e\nuUUcIkRYOa5qwe1IUdRYfI5ap0/T/Sjk/bWZBwd4JXqNMjqT6M4Wq21iz7SG\nCL+Qk3snrf+5c4UhofbnkhHWcNwvMvWfbpo43OVI1TZb2Ri4Wykr2RbYIM5p\n+sGD+7lzSaLw/sJaKCnHDJGWMcEzKPtWTRYSQp6/md4OV4PP8B1d1p1FkOOZ\n0DYp86MnW5YYIBP/GrafhJPo2HMxtSnI2lxm+lMVPdLEA/teg1yo43kF7mbh\nNXTPZyBm83V/l5saBNKrdMJqpE9MqfMDtsOtCbA8K04VMu80GKt8cwgaQgBF\nx60EttjXSxWdVEgtlmRje7zHp/FOTRxs6rJQVptUYmw2f/q9lq5Fq53fCIc+\nqBE+bHqF6IOpKFLwZ2IA80N7ZnVK7t/KSgSIEkKBwRo8JQxzUzH4DFdhzeEx\nXA7Bqchmgg/AmtfznJqlJlZFYx+2kj6meeF7fdyEraoGXMjuzj6JHx5/6g+X\ncITjZ/eNCC6nQ3xSfvMbVnQQECrl+Asu5m73rpiY2IC+iPIKao94iOwy+6KU\nIA//r7k2k+QzD/sqB4PxRORkM4ZbDLNHoELSWUv/+XB8zJ+c8nmqRoMwGB3+\nKJWP\r\n=Ccdj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEsNnEY1XQr62AbGukmvVqM1FPTfZ/B/qtvqwDAb+4+QIhAPf5hkBnTge8hilJG1n0wseY72ffxC0OH6/gz87jHf1P"}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_4.0.0-beta.2_1628078052079_0.3479187277926039"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"4.0.0-beta.3":{"name":"@passbase/button","version":"4.0.0-beta.3","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard.\n\nYou need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onStart={() => {}}\n  onError={(error, context) => {}}\n  onFinish={identityAccessKey => {}}\n  onSubmitted={identityAccessKey => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n| Name              | Description                                                                                                                                                                                                                                                                                 | Signature           | Required |\n| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | -------- |\n| apiKey            | The Passbase API Key you obtained from the dashboard                                                                                                                                                                                                                                        | string              | Yes      |\n| onStart           | The callback which will be called on start                                                                                                                                                                                                                                                  | OnStartCallback     | No       |\n| onError           | The callback which will be called on error                                                                                                                                                                                                                                                  | OnErrorCallback     | No       |\n| onFinish          | The callback which will be called on completion                                                                                                                                                                                                                                             | OnFinishCallback    | No       |\n| onSubmitted       | The callback which will be called on submission of the data                                                                                                                                                                                                                                 | OnSubmittedCallback | No       |\n| metaData          | An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access                                                                                                                                                                                  | string              | No       |\n| prefillAttributes | An object containing attributes used for form prefilling on the button:<br />`email` - a string defining the user email<br />`country` - a string defining the two-letters country code                                                                                                     | PrefillAttributes   | No       |\n| theme             | An object containing attributes used for the button's theme<br />`accentColor` - HEX string defining accent color<br />`fonts` - an object containing `primary`, `secondary`, `cta` font family names found in customization section in dashboard <br />`darkMode` - enables the dark theme | Theme               | No       |\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@4.0.0-beta.3","dist":{"shasum":"1d3e9796304da30d4b14ecb66c216e66c816f0f5","integrity":"sha512-22ucqTK8yL8Ln8Z0/gkFvDyviBhNXX6RP/U5FW7Gap2Obyk9xEaFG/LI5VOwxMCUOLfWPWDhpqPdQqivsLXQLQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-4.0.0-beta.3.tgz","fileCount":8,"unpackedSize":363551,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhC4WcCRA9TVsSAnZWagAAWLkP/RgQoYlaYaClkplpr3fu\nXPoLa4Pl/svEEYd/dv2UdADX9v2MGM2MjNBgPdrwhyj0HJWrxx5NdPyDypad\n/N31hJNTv0ph6cmyCed6zNvXjPEHEB7kpvkLAh9Cq1jGQgsudEclENwpZdlc\nQ0IvkzcVj0D5ETQVHDgGL2HEf13HIoWJIZYBJ1iPyM173KlY41i6CHtdoT2s\nvBHpQf7MK2tD9BwjprUej9ALdexdL5SHZ4xgDICe/xkQRep5XMXygSehwTTI\n7+5Ki9BIhYuwzvEEGXd/G9WTUicQ20LpNYHk6psMuU9lSq1iR1qO6Ch0duLP\ntgh4W92RIwwnCicP3XP6iMrqBv3em9ttsY3hiyrH59QVHPIfqN8cX58VEo5y\nQL/Hyaxq79yIYdjubAbeO+BAojsXTkdsF4NE64iie2YJ6hs0ech255kxU7ME\nX5bB0mBFa5zPI50yTu73RSsWueGrn3O1vW6XxImqDPFbKy0wy97F/f7Os9Xs\n/NG87P5hY6E4X3Spl/bZa7+WM4Zb64rYZs0Ahus2Q3J6U9UXfguBOv9BazXs\nLbiKHzmLxTcnpOVBzdd4bi7LSu6Sm4AxgZ+9SsOyKeAfbCAjTEdvYN2aUYs8\nfHffpMUXYQai1EJDTq3UT0k5DhO2pgnfZ0UEH70loq/i9WNKCGE+zN1ZUyd0\ngHwt\r\n=j14G\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEYx0Mtjh6E77TqGDQY4T2Isg790tEgm3VBTare/MXrnAiA8F6kHtwleWgZmeuAHMMTIymPYKcHoKIMThiytw+d3RQ=="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_4.0.0-beta.3_1628145051908_0.6617246992353818"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"4.0.0-beta.4":{"name":"@passbase/button","version":"4.0.0-beta.4","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16","styled-components":">= 5"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard.\n\nYou need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom styled-components\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onStart={() => {}}\n  onError={(error, context) => {}}\n  onFinish={identityAccessKey => {}}\n  onSubmitted={identityAccessKey => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n| Name              | Description                                                                                                                                                                                                                                                                                 | Signature           | Required |\n| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | -------- |\n| apiKey            | The Passbase API Key you obtained from the dashboard                                                                                                                                                                                                                                        | string              | Yes      |\n| onStart           | The callback which will be called on start                                                                                                                                                                                                                                                  | OnStartCallback     | No       |\n| onError           | The callback which will be called on error                                                                                                                                                                                                                                                  | OnErrorCallback     | No       |\n| onFinish          | The callback which will be called on completion                                                                                                                                                                                                                                             | OnFinishCallback    | No       |\n| onSubmitted       | The callback which will be called on submission of the data                                                                                                                                                                                                                                 | OnSubmittedCallback | No       |\n| metaData          | An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access                                                                                                                                                                                  | string              | No       |\n| prefillAttributes | An object containing attributes used for form prefilling on the button:<br />`email` - a string defining the user email<br />`country` - a string defining the two-letters country code                                                                                                     | PrefillAttributes   | No       |\n| theme             | An object containing attributes used for the button's theme<br />`accentColor` - HEX string defining accent color<br />`fonts` - an object containing `primary`, `secondary`, `cta` font family names found in customization section in dashboard <br />`darkMode` - enables the dark theme | Theme               | No       |\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@4.0.0-beta.4","dist":{"shasum":"9bd3a313090e59450b517867559b012a3321545d","integrity":"sha512-KduEcu/St8IXVbUTiK5fX+y3dlv1RC2CN7XBEEZRbYZ6yCBEdnkM4uYM/8o3QzVyUmb+mV3LN2aZQajw8oFnaA==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-4.0.0-beta.4.tgz","fileCount":8,"unpackedSize":364483,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhC5QzCRA9TVsSAnZWagAA+A4P+QEaJzG5lUKSlT63b7B1\n7VaBT9CUrQKxw+8ZXKw7EuVzdBhdgMyBmpJ3eB82z+bUOveqEcwgDsMM4oQ4\nAs3xG8Si/McBK9+mo1docjLxL7ukzJIEUNln6gVXYsTJzBb1HjtZl/AHf7mY\naQh1AxFr2u8b2gFxQnwqyoB4Id414b9LjSYs19TydIXwGf9AQtpN1iXh3jFd\nPs3PyIEZGjmq86/hnvcmKwok0fGB7xZLym84oqfNzEv8vysS9MSFtSCuNz4r\n+GR8M1Y7p1D76qrYm8pKjusHHSMm3hmLfkjiMCKoHrcNMwuJyjhx4hzatjgt\nmGcr0uUmuWWbZ1O9ICQNBNOQZ2TIS68onUDK2jl/JW7MtMs9AVM31JW/saF4\nXl8q3lV4qQfhEtIl59xDRGS+cEPUFTtR22fYPq5gOsEsq/7fdGzl5juHNpxb\nlQvL5XM7FZdbQBqKM6N/7e32uZg5u/qoHg9vIyb41JYLf1TPt72YmE4ZYg/P\nbrX+vEcHVFVVkHtSp6nMWHD4xHOhkU2rkOxrpICRNP5z8Ukllr5470havZom\nZyVglZSHyZwMcFpu/x6cP3bL67BuwbViRQomBW5cSHktnJhQzxAdv3FBGd6l\nvGsoBqYXY8ZS9jxJmnvrgd8jUgbZtJIv0IcbrVvk/8defgdTxVCVn4EWXT5A\nmVBV\r\n=anxJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAn3ret/n1Bqd8nBA9z+I66MrF7yd979iUm9hz4Fh5dWAiB+9mPWaYa2kDyFMU3R6KSg4bJtU4dvlP9E32PliDpLQw=="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_4.0.0-beta.4_1628148787044_0.7161019447618835"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"4.0.0-beta.5":{"name":"@passbase/button","version":"4.0.0-beta.5","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard.\n\nYou need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onStart={() => {}}\n  onError={(error, context) => {}}\n  onFinish={identityAccessKey => {}}\n  onSubmitted={identityAccessKey => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n| Name              | Description                                                                                                                                                                                                                                                                                 | Signature           | Required |\n| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | -------- |\n| apiKey            | The Passbase API Key you obtained from the dashboard                                                                                                                                                                                                                                        | string              | Yes      |\n| onStart           | The callback which will be called on start                                                                                                                                                                                                                                                  | OnStartCallback     | No       |\n| onError           | The callback which will be called on error                                                                                                                                                                                                                                                  | OnErrorCallback     | No       |\n| onFinish          | The callback which will be called on completion                                                                                                                                                                                                                                             | OnFinishCallback    | No       |\n| onSubmitted       | The callback which will be called on submission of the data                                                                                                                                                                                                                                 | OnSubmittedCallback | No       |\n| metaData          | An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access                                                                                                                                                                                  | string              | No       |\n| prefillAttributes | An object containing attributes used for form prefilling on the button:<br />`email` - a string defining the user email<br />`country` - a string defining the two-letters country code                                                                                                     | PrefillAttributes   | No       |\n| theme             | An object containing attributes used for the button's theme<br />`accentColor` - HEX string defining accent color<br />`fonts` - an object containing `primary`, `secondary`, `cta` font family names found in customization section in dashboard <br />`darkMode` - enables the dark theme | Theme               | No       |\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@4.0.0-beta.5","dist":{"shasum":"a4b04e4c2d29dfb986260edb8f1e768ed8b58831","integrity":"sha512-cVsmMwixpX17idi2ZrRNvgpFL2XoK57GIyeyFRH70rOwt0/R3NW2kJODoKYcdNbiyrRTpzffT9O8ZkhzEZDTQw==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-4.0.0-beta.5.tgz","fileCount":8,"unpackedSize":290421,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhET17CRA9TVsSAnZWagAAg8YP/0rH6m0nYuxZjVNbrh/0\nZrNqoPzWfMwSjkjzKDf5cn4gHOQK4G6fbH7lU2VbpEmIL0Y7alSBDd+n9PN8\nGRjhgjDNsEVdzWeklIFtFNW1HFH/Bp1nCc1UzPyGhsq/ChR53yGokDNkdcvL\nwrvZqw7vvZ0WywkuOykPxJKxQ58VB1pQEz8AFIVDBhSS6GHROLYQDcqYyJvu\nozl0WyFPqPfzUFciNd7k36OCWv6GZuxTvvZrvFazjpX4+ZKhZRRuTrBrrlFV\nOrJTbli9uOeLyWma8ORTcdCOD+QEOIly/JpfNo9Tavsts/mPITu+I+okPMLu\nunDoEjnjYuzKQFsiA/rbSLP/RZzzliTeRDomjAUq6DIyaaKNOrSiJ7SpnJvN\ngHvkpqEQbKIWJpo1Gso/xF61JhHYu6SRxeYltyFspXGtiInylEbDoaw+IafO\nzZFVxdeYNuoyQeXIOj4QNDfe55wduRL7HEAKltZkSsoKkQRij9Z+uPyZfDqs\npKXx+cJW7NcYQLG0uyjZ0Qx8YXlJT5zqVhJEMvLCGTGiyeaUZXCojv+OxT/F\nKJkuajJPedasLrUVla55CguuzpZrDX6kfiUrZXnOAMRkgTaVfMpYCiyUwd6v\nJCCBVkIJEyQtUdis3qPI6IckaY+Ze7Xylq6PQY/vMSpAKAb9NpC0KV8jZaDc\ncut2\r\n=Hal2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAytXACOQDtth2GVVFqS1HgjHpPOX8Ce272NJgT4RkFZAiB+HSOCuikzhkPqGZ2h1jPS1KdX7uEDe6TeKn3SVsdOBg=="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_4.0.0-beta.5_1628519802909_0.17896905248600192"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"4.0.0-beta.6":{"name":"@passbase/button","version":"4.0.0-beta.6","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard.\n\nYou need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onStart={() => {}}\n  onError={(error, context) => {}}\n  onFinish={identityAccessKey => {}}\n  onSubmitted={identityAccessKey => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n| Name              | Description                                                                                                                                                                                                                                                                                 | Signature           | Required |\n| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | -------- |\n| apiKey            | The Passbase API Key you obtained from the dashboard                                                                                                                                                                                                                                        | string              | Yes      |\n| onStart           | The callback which will be called on start                                                                                                                                                                                                                                                  | OnStartCallback     | No       |\n| onError           | The callback which will be called on error                                                                                                                                                                                                                                                  | OnErrorCallback     | No       |\n| onFinish          | The callback which will be called on completion                                                                                                                                                                                                                                             | OnFinishCallback    | No       |\n| onSubmitted       | The callback which will be called on submission of the data                                                                                                                                                                                                                                 | OnSubmittedCallback | No       |\n| metaData          | An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access                                                                                                                                                                                  | string              | No       |\n| prefillAttributes | An object containing attributes used for form prefilling on the button:<br />`email` - a string defining the user email<br />`country` - a string defining the two-letters country code                                                                                                     | PrefillAttributes   | No       |\n| theme             | An object containing attributes used for the button's theme<br />`accentColor` - HEX string defining accent color<br />`fonts` - an object containing `primary`, `secondary`, `cta` font family names found in customization section in dashboard <br />`darkMode` - enables the dark theme | Theme               | No       |\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@4.0.0-beta.6","dist":{"shasum":"fd2ed38887b5e1e0ee1029416f3ab43555fdb340","integrity":"sha512-Q9xa8TGukAao7YT7L2410hpzdSlQ+IHNAgTRJ/qir1rHc//0RbaBzdpse/SN46NieJ5xDYfouH4SmXj1cdHemw==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-4.0.0-beta.6.tgz","fileCount":8,"unpackedSize":290391,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhE4qNCRA9TVsSAnZWagAAQlsP/0cWDoJXUDuKe9rKxnba\nXy+WrZD6lLk/BzVlgUpV+E2ZzC2jxNol4YDloCFcMoGFZAxBH3T7nlcRteG+\nhly8uMofNfe2K9vQMWLpgLveEaPQuNvWJ6FfXjMp5jT8iwC4AOjVajRm9V6Y\naalyIdBKadS44TP6f7yqVMYgRGschb2Uo4XjwtlCM3M/kphLbIL+8B9YDdVI\nxEomVU5RDP4jHEVy/+J/0dwTilEF11E7M5WTu/t6U5akTrO5UEPojwQEs28d\nPBxq+PYlJvZzYCaQWk47A/Fb5EG2NirOksDjiHuVcRQDyz1MBhWwceNj8L57\ntDoaxf3xpCUmX8RlVwq7XGCuozXxDWJ/dQnYKRpdA2aWn3sSNSnAzQYwOxwM\npPO0/banB7MoGAs8xoz96hKcbqXr0hPAn2CpyfMjyyx+seZWtoFtVpcYpxe9\nBa5kGGpjIkVa78rmlth3oS9YIEYra5xbUKjNcN3Jk8ziWV4YFDcXCJnzP/rF\ngCln8+/Z9kFlcZhYdlUiflU6kxJyiNG7n1Jh6O5gvx6YQ2BybonAe/u6GtYp\n5GO8ioaI6XPoTRaInY/FZsZSL+uC+8QukLNowtTdRr5GPhyO+tDdFdHL0TZn\nnkoTy7OGzXIjTtuxhl14GWdlhTT5rn9odBMHNZoB6vdw9lMgqL/Vy4t5uGKm\nl+Uw\r\n=zTvI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYDT6iuhfZmWNVl+B9u0brJthIb1V+UOgc7u3lslt03AIhAK5AHrTiWdJdMTOs4iibTt/XGhXSMPBDlRL/b5FAxuN0"}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_4.0.0-beta.6_1628670604964_0.2670896161659395"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"4.0.0":{"name":"@passbase/button","version":"4.0.0","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16"},"_id":"@passbase/button@4.0.0","dist":{"shasum":"889746a59f3a1450470a132efd4018e8bb5707c0","integrity":"sha512-5Zcx2ciSXo8xo6sfKSG7pVKx8kCRcvRiOIdpkLDXgXpi89jUSjj1xX0usuQeIVVY3dl7Vz4vHte4KlxbUD3ASQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-4.0.0.tgz","fileCount":8,"unpackedSize":290384,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhE7/oCRA9TVsSAnZWagAAJkMP/jtbh7qVNOd1nqTaZFwj\npcYdRbKt2EXJKc27ZKSe7Ilse6bsAM7wupx59CBh1QjBmHOCIJvDShEUxVMA\nywCvbo1/t8blNZjn+Go+Ixt5F22sSJogI0G/OAiNKlRCdCmhXCdhVL2vtRHj\ne4wIkURH+OrwO9cem9WpMGRvkLkCDUifz/X+VjuIA1TAe62B8TF3gpLkOoKH\nGfaSR8uH7W/6QgRxAcaVX0iiAx+lHErYyQHr8G0iHf1ZekcaXE0e+SmwA2tg\nDxPXkiCdE9lQr58bszlEpAZLsUmK4xrkWw4seSVOJvfbrcl1piimKb61b1XP\nTU5aHwYpXJB5IEu2R87Izg7YGz9E2jhurGCrc8Fmma404XmkxvJUJyQenCYG\n8o+yPn/p7S2+A0pGthX6CugxQ4BX38z/78m0gzHsuIccTgGKNir7dRZoF8DW\no/IadPyCPYzTKayJu/Cs1XEjs3W+F435Hfxa60WPgdgHjvoTMOktnVzaqEpz\npud8ngF+OfTJEWW6sXMIj6MahWDoc9TmQFLGefLQFfussxa8+tqT49syN7l6\nnI2UBWSEYYlNsRHTe1ZQrPJMhxUYTAMkTV01Dey2McWV6GjXu+DIwjp4+lpg\ntpMCutXrTicSRVUnHL2PWPxxELVYNExaJ4ou+mX90oTHfmmUAIB5yUTjIlj5\nv8Cu\r\n=17Aw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCY14mghfVfuFwvfaC9kgDdRH400fzrT1jdGuuv2u9BmQIhAJ/AKi7EKyvHDUPwxbb5PnQEg8oU7y2cygvDOHkAvOqE"}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_4.0.0_1628684264678_0.8048355455692231"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"4.0.1-beta.1":{"name":"@passbase/button","version":"4.0.1-beta.1","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard.\n\nYou need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onStart={() => {}}\n  onError={(error, context) => {}}\n  onFinish={identityAccessKey => {}}\n  onSubmitted={identityAccessKey => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n| Name              | Description                                                                                                                                                                                                                                                                                 | Signature           | Required |\n| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | -------- |\n| apiKey            | The Passbase API Key you obtained from the dashboard                                                                                                                                                                                                                                        | string              | Yes      |\n| onStart           | The callback which will be called on start                                                                                                                                                                                                                                                  | OnStartCallback     | No       |\n| onError           | The callback which will be called on error                                                                                                                                                                                                                                                  | OnErrorCallback     | No       |\n| onFinish          | The callback which will be called on completion                                                                                                                                                                                                                                             | OnFinishCallback    | No       |\n| onSubmitted       | The callback which will be called on submission of the data                                                                                                                                                                                                                                 | OnSubmittedCallback | No       |\n| metaData          | An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access                                                                                                                                                                                  | string              | No       |\n| prefillAttributes | An object containing attributes used for form prefilling on the button:<br />`email` - a string defining the user email<br />`country` - a string defining the two-letters country code                                                                                                     | PrefillAttributes   | No       |\n| theme             | An object containing attributes used for the button's theme<br />`accentColor` - HEX string defining accent color<br />`fonts` - an object containing `primary`, `secondary`, `cta` font family names found in customization section in dashboard <br />`darkMode` - enables the dark theme | Theme               | No       |\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@4.0.1-beta.1","dist":{"shasum":"50bb6894f3fc03da8550952e8d06e35b6c288677","integrity":"sha512-PyDWRpbsb20zr3znv+TBGMWIdGt1yxPy1ZvhpRby4RUleS5abSSYjY2/r7dlOVFeP29Wsz2S2u8a0neJvc/65w==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-4.0.1-beta.1.tgz","fileCount":8,"unpackedSize":325756,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhFT0RCRA9TVsSAnZWagAA2ksP/jjrxVDz7lW7Z3+Sc0H9\n/Gm6t7IpenegHL5I5qi1Xe+F8Cpjzmob1cT33c3fKSxYuPWtrcKxg4ysi7vi\nxvl1OU7VIQhyBmUauezF+9fNMHh0m8wyW4Is79G/zi8CgMWIM6wj9+N8qXtt\nLnDbgUxM8J0NF73POvNmCQO7rhi/pC/MTXnb4PpmRs731vK4TjzK5goZJ/83\nbcVjo+pg5DOtGsiMO2JLpFOq4qPIk71ySlujEw8reJpeaETDbfa2Hj8j2QkT\nUhIsZ+JlucGXfH+At4paEBDgqUdPf/0q2NVP6ZpdeyaXclCAKbll1pppm7dg\n5n1Enzg6NpbV8e6BvB57B0OAqq9gYlYCRXzCNHGJr7REodcWtzBAfGj1Tmya\ntx5PHdGTFQ3j4xJ3vSQLbCGpQH2Bpn2xvZwVBnKN7oZLIZCiHkdXxw83F79B\nt1mscggMcpEMXu31mXo4/oqe2W9q3wWFqPdmcQo+/FmBPmyN3wIe7LtVKe1o\nrJJ91XrRPSvb0v8wgR9NwxOtSd2IzKsCbIPgJJreXRMPUSpWaUnQmPjDyPOy\neSfJOgIHftSKJWuwbRqxrp5scFKeiIybWLWg+LhhRbphbYFuTwqbdSLf8ttL\n6VbZj3+fpo/I4o1jimGJ9LPAW0wj+VBFD6reBObFvNhby45nRv5cuGSw+aV3\num3u\r\n=lpdH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwc/jHxSWb3OeaRbhoBo/dG8H4cuj9SkzZaOYerBZnMQIhAOc658qZi1zfS2L7SQq2ZoNVXa4BUy1IYFe+W7KsYgiw"}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_4.0.1-beta.1_1628781841393_0.1611122042151436"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"4.0.1-beta.2":{"name":"@passbase/button","version":"4.0.1-beta.2","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard.\n\nYou need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onStart={() => {}}\n  onError={(error, context) => {}}\n  onFinish={identityAccessKey => {}}\n  onSubmitted={identityAccessKey => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n| Name              | Description                                                                                                                                                                                                                                                                                 | Signature           | Required |\n| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | -------- |\n| apiKey            | The Passbase API Key you obtained from the dashboard                                                                                                                                                                                                                                        | string              | Yes      |\n| onStart           | The callback which will be called on start                                                                                                                                                                                                                                                  | OnStartCallback     | No       |\n| onError           | The callback which will be called on error                                                                                                                                                                                                                                                  | OnErrorCallback     | No       |\n| onFinish          | The callback which will be called on completion                                                                                                                                                                                                                                             | OnFinishCallback    | No       |\n| onSubmitted       | The callback which will be called on submission of the data                                                                                                                                                                                                                                 | OnSubmittedCallback | No       |\n| metaData          | An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access                                                                                                                                                                                  | string              | No       |\n| prefillAttributes | An object containing attributes used for form prefilling on the button:<br />`email` - a string defining the user email<br />`country` - a string defining the two-letters country code                                                                                                     | PrefillAttributes   | No       |\n| theme             | An object containing attributes used for the button's theme<br />`accentColor` - HEX string defining accent color<br />`fonts` - an object containing `primary`, `secondary`, `cta` font family names found in customization section in dashboard <br />`darkMode` - enables the dark theme | Theme               | No       |\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@4.0.1-beta.2","dist":{"shasum":"78eb683daf80f3392dd70049923e0e7055f54e01","integrity":"sha512-2h6y2qy4bvdohVnF4gCw7sVBv0iA0kb1cWgksogrNASFxszgjgsJrq1D//MqU4CoLX/cGRahKgq6uXwBWdQhmg==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-4.0.1-beta.2.tgz","fileCount":8,"unpackedSize":325840,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhFhceCRA9TVsSAnZWagAAQSEQAJj8IeiLTQITEQEYrXKA\njGQmGj/tM7Ar8bgLuQ3nA9oSlFuJHkEZlR9Hmzv88KFH1DjnOflRHvRc8nxW\nzBsq53ZLgzMwq23MirVVkU5+DKVBLKFEdjj7P6edUZSEhTrmFyHJP5Oqecmg\n184JhhvqmQDwnzni8M1K6UlMgi5zkHRJ6Jp6IhxfCaljFBxqGDGCGyhc571c\nr/fOMQYLwO2gkO11aVKg5gMa76yeTBfNLgpmFHK9kH500caxSFF3rSvQqXQe\ncEbmNHiKS6yGhPy8ZVZkPH8T9d6pTD4jRQzRVTn/NT3Q1zSE1f34fFLc6DCW\nU6wMDJwB7HwoBvmfBTWDd0SPJmo9Yqm2L/N+Pxxy9iwngA6RtUqGtQMPUUns\n10AkE/d95Fw5bo7QVTTT1h6IR5ov1rfznfY7RDNGysdeI45JiSdjMFZX2t2n\nRTB0VzVoR43f4fWdH7+dXHpzQvxyDkan8qxIInZBZQMRqyZc0IWdYpSslyFF\nHO0JNtqoEeJla2cU3ByA9tZBB78vvZiNH2qO6D21KaG6Vup6dK66gIwyk4mZ\nGofZGTt0ln9lAlENEwzU/z4aRvAtkhjKyb5k1FasWZZbVv0riLgA70yRFxdo\n+OUlzqmI1lOpP/M5yFxdol7HkJR3eCz6JmrqUu+fsxZMqm/l+lYjL19ZSyKt\nGlpZ\r\n=LcRx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDcU6N7/hheVr6z3oqohGC5vyDK/JL2C6wGbcG860vadAIgRt6VP9CboUFfQ6fJsip/XH/8b0bZQrPxm/SAb+GLKXU="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_4.0.1-beta.2_1628837662523_0.0805265341864716"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"4.0.1":{"name":"@passbase/button","version":"4.0.1","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16"},"_id":"@passbase/button@4.0.1","dist":{"shasum":"2be62f39e3863684ed55cd31175685b8c3cae743","integrity":"sha512-XujNGC/YHurQD/MOTjjPv/cEgei8xw1CNqSvaOXjaYT2WHKExt7Di0aPkf+uMBM2WOWZvqxrD/oILZGKffTCHA==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-4.0.1.tgz","fileCount":8,"unpackedSize":325833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhFme0CRA9TVsSAnZWagAARj0P/RPvwJnpswyzuxcqp+1u\nwXDE7BqKftTVisZVooD2UdW/h5M/zjujfAtNAL4uSNoaDkz+bRofEMl+GlLw\nR9oxI8uJ5+xDE1nyKRXmA2Zf/X1YtTBNYRg51Pw+VeHA7FxpRJMRgEVjqogC\nIKLcp5FnRCMQUYBcLnXH3KX64OIWzCKOYS931Fpg7lHFReRw5u5RHWIh05An\nrqhj8pJvdT+z45PEsEBj9CnrWtUCJOrFCrnbMXe41b4w/DdAH+1lBbAKe5hl\nKOHL9u1FUV4NASIG3su8gF6Tz1KkrdbeJ4/NnkxSi9OLzo6kJZU/MNzLKNvp\npG8/w4JUN37wb/+DDwv5g4scCq/J9j6u+h5OPhdY0harhrMo7mwurwD73meQ\neaLmPbvqLjfBcxgM3RPSp0rW7uJLtgOTA2n3cpXSKmX/5pcyaL5ynTma+rPB\nsu958flJKPT/0Gwda38D0r9K3PI9Xo+y9o5RiPREqXVjoEIvXB4hxIZfJnDD\nYfrgaghOAIcf8FHggca7AHpSwwez0klSxWos+aINdu91hnteg3XbmVzJuHpl\nr/9Ej19dVrHxfvbCraACxediRVUeIPCch4ZDGp6kFdbVdnjIdHaw24vGDveu\n3pC/HZbIwm7XMw2yZXRgkw8r/n6+8ilvu8xwNva7nR6XeY+30GDEvROKHUwP\nHLjV\r\n=2GnG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8c6UkfuTu2P1ZPPuY4tglztn0Q0B9dqpXW9A66JaQjQIhAIkmifBDpcIeId72Hczw5diISpNFzbxNVChx80LE3Fn7"}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_4.0.1_1628858292292_0.7575591041951566"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"4.0.2-beta.1":{"name":"@passbase/button","version":"4.0.2-beta.1","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard.\n\nYou need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onStart={() => {}}\n  onError={(error, context) => {}}\n  onFinish={identityAccessKey => {}}\n  onSubmitted={identityAccessKey => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n| Name              | Description                                                                                                                                                                                                                                                                                 | Signature           | Required |\n| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | -------- |\n| apiKey            | The Passbase API Key you obtained from the dashboard                                                                                                                                                                                                                                        | string              | Yes      |\n| onStart           | The callback which will be called on start                                                                                                                                                                                                                                                  | OnStartCallback     | No       |\n| onError           | The callback which will be called on error                                                                                                                                                                                                                                                  | OnErrorCallback     | No       |\n| onFinish          | The callback which will be called on completion                                                                                                                                                                                                                                             | OnFinishCallback    | No       |\n| onSubmitted       | The callback which will be called on submission of the data                                                                                                                                                                                                                                 | OnSubmittedCallback | No       |\n| metaData          | An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access                                                                                                                                                                                  | string              | No       |\n| prefillAttributes | An object containing attributes used for form prefilling on the button:<br />`email` - a string defining the user email<br />`country` - a string defining the two-letters country code                                                                                                     | PrefillAttributes   | No       |\n| theme             | An object containing attributes used for the button's theme<br />`accentColor` - HEX string defining accent color<br />`fonts` - an object containing `primary`, `secondary`, `cta` font family names found in customization section in dashboard <br />`darkMode` - enables the dark theme | Theme               | No       |\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@4.0.2-beta.1","dist":{"shasum":"6554b84ac4a794043602594c0b28c92ffb66e09b","integrity":"sha512-ZGtoYki2/DGnokiI2oiH9NOfaQRrhhLi+3ZLTTvu2Q3vMcXhlq3NL91OZlNm7TSODFYXvXd4MvcXu2PfbWVckw==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-4.0.2-beta.1.tgz","fileCount":8,"unpackedSize":325918,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhMKGBCRA9TVsSAnZWagAAk34P/j2cFasY2DnRtvpLEk1x\nqmKl4MF9LDuH1yOmwPeLQehjCllV3pCK9Fnraxv+N0kkDPgKU7LcOY6G6yoW\naUlA9AKE9qoX+py+qh7zlTw/AsM5Rd29aBSYftgwGRFo7HEsF85DXzhezwgS\nSkkXEiRzIXY+MfM1ecjBRiO34apcOIwLxSlOVroHk1OLY9jNHJ4cSQ2dADDp\nwG4Vg68FScaIIyl/BDkj35tHzAZRI3+TbfumchChqC+cy1Vx4PF9rKyc+oHM\nIaplwBZqqnMO/aaK1kHYMxGxGi7/vYeTU3xVx2LW5B8KG55Mq58uWF9LRuri\n/+fd12Mih1/ZoHd9h7zuEf8cmiHFKbz5P5wlWnJan/hOwriGaJxWABMBON8g\ngBd0MPPlThzw2qOERGWIT7CjKnl32M81yqVy3QWeK4vkyfG5SJqswlumpUXp\nF8Yo1NAseDE5sdkFhlofYNYI9D4U+ep0MdYy75GG4MRlE98U2zItz8t7SVP+\n833n7Gi2CRWvyHsYqzGnNeisBwnKWLkahjSWe+XtrbMbsBVm5/EtXSHeVCxT\nbROXPHCMOXGxoFVV/ovxszNWM7FIZctLrk+sYVodeSdMqJ/zLNe+vuU/kcX2\nlwBiea4fIajRzCoWf9ngN7PlTvw0y930zpzbv9I4BYs3lg2K4vtS0tP+d1EB\nMZBt\r\n=59Lt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCleCUVtKi923QKUsmkdBOJ3vr7XHKYZUN5RkrbTOD9jgIgKFriBZGLUYKSzl8Nb+MPoZTjsuCqEzXUWVLTmC6//9w="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_4.0.2-beta.1_1630577024950_0.30460545755176516"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"4.0.2":{"name":"@passbase/button","version":"4.0.2","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16"},"_id":"@passbase/button@4.0.2","dist":{"shasum":"262bd83bc5e105f056f7191d2dd2c7adbfac6382","integrity":"sha512-NOpROD6z+wNlYD7+ud3OZrqZTCIjfnzD63KaYrdH87aVjhm2DlyugjH3sereJNdjmicCIrF9jScnlzZJ9/6xIw==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-4.0.2.tgz","fileCount":8,"unpackedSize":325890,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhNhnJCRA9TVsSAnZWagAAxpgP/2gXGGfRjSjsFY0L05PA\nB6ph6smAr7p9fAXBYfbTAoST7IJWpECAyyN/sEfkYejWh1ze443KEc2VMAv8\nZ7GVsas+klAUJ1VTWtphM1/IDLWiVtiW4czW1EkaoWz2rmPoNkPQmI1zBhMC\nyn4O9txT19PAkXBWY5qe72pob3jYNGm6XdFVFqt1B8vVP55pIwu+bzOWdniq\nD8Ifc1SRcCi/XHJe21Sg7MU9OqqwzqM33kkovucHnRC62bsyodeTVyUC+FSI\nanbxTdRF1SLDYnRaas4j3wAjPD4uYdenXzrXFl7Jjcfq/pOzlBn0d+meloiS\n8Q5b+WW+3Ym36NMvtIGjARilOtDB3oGhCqtTz8EuJ+Sg2PUcfSqJ/6te6BM2\nhtAsthi+C3L+rsBSL5n7pUK0kByT38M2IJtCQREHTdcURkX/o6xvDy9NyoQy\nN3eXfRYzBaZxA/hJ/8v7wBHGHUkNEL4NQBCu1Azqs9oo/2JbsAQRNd2Da87i\n06n3oeuTNUPFM2sm6g3lFHpTmxNNCrXmghgfjtd1ycy/v11F7KADvYweRIPW\nowzsXPmp3BqprcdXA27x0JqbjD/EMtb2UG4CU3izaa+ig/TydqUja3N30TUB\n5tqQicZ20DkMNz1KIggrX1Bj32vvzYsqYA5lwB7/5fNKCClqm4rNwmcwXenw\nkJEm\r\n=F95x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9zYAFRzjE0mabMMknB8EgW+ihELDCXZQ688nyzKKknQIhAOMzO0VN6wv+uhu7IOZSm3IXOl5i4HAcAtq1mgLdZqM1"}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_4.0.2_1630935497303_0.09469547732962358"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"4.1.0-beta.1":{"name":"@passbase/button","version":"4.1.0-beta.1","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard.\n\nYou need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onStart={() => {}}\n  onError={(error, context) => {}}\n  onFinish={identityAccessKey => {}}\n  onSubmitted={identityAccessKey => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n| Name              | Description                                                                                                                                                                                                                                                                                 | Signature           | Required |\n| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | -------- |\n| apiKey            | The Passbase API Key you obtained from the dashboard                                                                                                                                                                                                                                        | string              | Yes      |\n| onStart           | The callback which will be called on start                                                                                                                                                                                                                                                  | OnStartCallback     | No       |\n| onError           | The callback which will be called on error                                                                                                                                                                                                                                                  | OnErrorCallback     | No       |\n| onFinish          | The callback which will be called on completion                                                                                                                                                                                                                                             | OnFinishCallback    | No       |\n| onSubmitted       | The callback which will be called on submission of the data                                                                                                                                                                                                                                 | OnSubmittedCallback | No       |\n| metaData          | An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access                                                                                                                                                                                  | string              | No       |\n| prefillAttributes | An object containing attributes used for form prefilling on the button:<br />`email` - a string defining the user email<br />`country` - a string defining the two-letters country code                                                                                                     | PrefillAttributes   | No       |\n| theme             | An object containing attributes used for the button's theme<br />`accentColor` - HEX string defining accent color<br />`fonts` - an object containing `primary`, `secondary`, `cta` font family names found in customization section in dashboard <br />`darkMode` - enables the dark theme | Theme               | No       |\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@4.1.0-beta.1","dist":{"shasum":"f5c17e4a2fddf82bddc5ae1a5cd976823d612e6b","integrity":"sha512-X3v7M0sw4k7fJzM/XCQrHXq1CNiZ5+SsTp3C8Bo35+js4aiOy+9qQWtsnc47Z/x0ochglIlrVi6uqKZK6vGRdQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-4.1.0-beta.1.tgz","fileCount":8,"unpackedSize":326582,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGqsh9LDDfAXGU0xyZlhWkkTZcLq66HhGA0nLRuFbICkAiEAuO7JLdjvfhsRh2lTCGOsKki/lhFlEFEyKE30XKWWKXw="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_4.1.0-beta.1_1632225691903_0.6271175814747127"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"4.1.0-beta.2":{"name":"@passbase/button","version":"4.1.0-beta.2","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard.\n\nYou need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onStart={() => {}}\n  onError={(error, context) => {}}\n  onFinish={identityAccessKey => {}}\n  onSubmitted={identityAccessKey => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n| Name              | Description                                                                                                                                                                                                                                                                                 | Signature           | Required |\n| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | -------- |\n| apiKey            | The Passbase API Key you obtained from the dashboard                                                                                                                                                                                                                                        | string              | Yes      |\n| onStart           | The callback which will be called on start                                                                                                                                                                                                                                                  | OnStartCallback     | No       |\n| onError           | The callback which will be called on error                                                                                                                                                                                                                                                  | OnErrorCallback     | No       |\n| onFinish          | The callback which will be called on completion                                                                                                                                                                                                                                             | OnFinishCallback    | No       |\n| onSubmitted       | The callback which will be called on submission of the data                                                                                                                                                                                                                                 | OnSubmittedCallback | No       |\n| metaData          | An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access                                                                                                                                                                                  | string              | No       |\n| prefillAttributes | An object containing attributes used for form prefilling on the button:<br />`email` - a string defining the user email<br />`country` - a string defining the two-letters country code                                                                                                     | PrefillAttributes   | No       |\n| theme             | An object containing attributes used for the button's theme<br />`accentColor` - HEX string defining accent color<br />`fonts` - an object containing `primary`, `secondary`, `cta` font family names found in customization section in dashboard <br />`darkMode` - enables the dark theme | Theme               | No       |\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@4.1.0-beta.2","dist":{"shasum":"46f3769196b4a51e11cd585d48aa90070f59e7a8","integrity":"sha512-IGHUERCbJJL1g4G2IDLdH2TYpeSNoGdUHvU+wEGuO6kFfhgXqTXkKCZDgO6Ra0JQFImuOi+O8KD+zyT1UwOLxQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-4.1.0-beta.2.tgz","fileCount":8,"unpackedSize":326881,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZm5PsbiYPGTDUMmRciM3fqSYXhfz0f0pcetueYFrHQQIhANZGm1tUaANLsXGJwrTqUWtpSBb8ip4MCjAZc/MClhU4"}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_4.1.0-beta.2_1632226334530_0.9471435584251666"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"4.1.0-beta.3":{"name":"@passbase/button","version":"4.1.0-beta.3","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard.\n\nYou need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onStart={() => {}}\n  onError={(error, context) => {}}\n  onFinish={identityAccessKey => {}}\n  onSubmitted={identityAccessKey => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n| Name              | Description                                                                                                                                                                                                                                                                                 | Signature           | Required |\n| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | -------- |\n| apiKey            | The Passbase API Key you obtained from the dashboard                                                                                                                                                                                                                                        | string              | Yes      |\n| onStart           | The callback which will be called on start                                                                                                                                                                                                                                                  | OnStartCallback     | No       |\n| onError           | The callback which will be called on error                                                                                                                                                                                                                                                  | OnErrorCallback     | No       |\n| onFinish          | The callback which will be called on completion                                                                                                                                                                                                                                             | OnFinishCallback    | No       |\n| onSubmitted       | The callback which will be called on submission of the data                                                                                                                                                                                                                                 | OnSubmittedCallback | No       |\n| metaData          | An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access                                                                                                                                                                                  | string              | No       |\n| prefillAttributes | An object containing attributes used for form prefilling on the button:<br />`email` - a string defining the user email<br />`country` - a string defining the two-letters country code                                                                                                     | PrefillAttributes   | No       |\n| theme             | An object containing attributes used for the button's theme<br />`accentColor` - HEX string defining accent color<br />`fonts` - an object containing `primary`, `secondary`, `cta` font family names found in customization section in dashboard <br />`darkMode` - enables the dark theme | Theme               | No       |\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@4.1.0-beta.3","dist":{"shasum":"e822d1dd134eaa1dd7e932f649987a0a2b25857e","integrity":"sha512-nhVq6tYETGdOb0bj79I4OalhE0V8gQq784G//opMrQaKBWN99FqRQdbL0cYXsjicnWagnMFpUlZ0xUUJVgJV9A==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-4.1.0-beta.3.tgz","fileCount":8,"unpackedSize":326953,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC5R0NItjwHxryJy33svlTLr9EPVDKu5o3DL9FbMpMhtwIgRfjGir4mHUhPz1qi3EGNnN6mzK5+stiwF5gLlMAtQbM="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_4.1.0-beta.3_1632226762587_0.3971767192919178"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"4.1.0-beta.4":{"name":"@passbase/button","version":"4.1.0-beta.4","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard.\n\nYou need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onStart={() => {}}\n  onError={(error, context) => {}}\n  onFinish={identityAccessKey => {}}\n  onSubmitted={identityAccessKey => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n| Name              | Description                                                                                                                                                                                                                                                                                 | Signature           | Required |\n| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | -------- |\n| apiKey            | The Passbase API Key you obtained from the dashboard                                                                                                                                                                                                                                        | string              | Yes      |\n| onStart           | The callback which will be called on start                                                                                                                                                                                                                                                  | OnStartCallback     | No       |\n| onError           | The callback which will be called on error                                                                                                                                                                                                                                                  | OnErrorCallback     | No       |\n| onFinish          | The callback which will be called on completion                                                                                                                                                                                                                                             | OnFinishCallback    | No       |\n| onSubmitted       | The callback which will be called on submission of the data                                                                                                                                                                                                                                 | OnSubmittedCallback | No       |\n| metaData          | An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access                                                                                                                                                                                  | string              | No       |\n| prefillAttributes | An object containing attributes used for form prefilling on the button:<br />`email` - a string defining the user email<br />`country` - a string defining the two-letters country code                                                                                                     | PrefillAttributes   | No       |\n| theme             | An object containing attributes used for the button's theme<br />`accentColor` - HEX string defining accent color<br />`fonts` - an object containing `primary`, `secondary`, `cta` font family names found in customization section in dashboard <br />`darkMode` - enables the dark theme | Theme               | No       |\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@4.1.0-beta.4","dist":{"shasum":"5cabf89434de94d03a2670a8a5c8cc273c7bbd66","integrity":"sha512-k6i8w9w2xHu76+EC2iNsbJERRESGYqJfByVN2PZds4pL1ibV7V+3K9p2Mct33hDhUNDoJGs2Wq6UC6/R875r4g==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-4.1.0-beta.4.tgz","fileCount":8,"unpackedSize":326968,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+CO5ntWaE7qx/xu4NPNVlvHGq9/q5YfECEeuFaetDbwIgfl0ckMC27e3Prs5xaUWw+m6umtY5Lqt5UHNBEgHXfQU="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_4.1.0-beta.4_1632227308804_0.2952899112439933"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"4.1.0-beta.5":{"name":"@passbase/button","version":"4.1.0-beta.5","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard.\n\nYou need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onStart={() => {}}\n  onError={(error, context) => {}}\n  onFinish={identityAccessKey => {}}\n  onSubmitted={identityAccessKey => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n| Name              | Description                                                                                                                                                                                                                                                                                 | Signature           | Required |\n| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | -------- |\n| apiKey            | The Passbase API Key you obtained from the dashboard                                                                                                                                                                                                                                        | string              | Yes      |\n| onStart           | The callback which will be called on start                                                                                                                                                                                                                                                  | OnStartCallback     | No       |\n| onError           | The callback which will be called on error                                                                                                                                                                                                                                                  | OnErrorCallback     | No       |\n| onFinish          | The callback which will be called on completion                                                                                                                                                                                                                                             | OnFinishCallback    | No       |\n| onSubmitted       | The callback which will be called on submission of the data                                                                                                                                                                                                                                 | OnSubmittedCallback | No       |\n| metaData          | An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access                                                                                                                                                                                  | string              | No       |\n| prefillAttributes | An object containing attributes used for form prefilling on the button:<br />`email` - a string defining the user email<br />`country` - a string defining the two-letters country code                                                                                                     | PrefillAttributes   | No       |\n| theme             | An object containing attributes used for the button's theme<br />`accentColor` - HEX string defining accent color<br />`fonts` - an object containing `primary`, `secondary`, `cta` font family names found in customization section in dashboard <br />`darkMode` - enables the dark theme | Theme               | No       |\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@4.1.0-beta.5","dist":{"shasum":"116d4688dfa4685e3481b595cd349a240c1929bd","integrity":"sha512-5mfrJIfZUEKGkeC5nk3Wo1LTNXjGY29Cfm1BUxytMIqVkegyjJaphQbH083ZiKfkayJkZ/K9w6ltdgKmqOqIQQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-4.1.0-beta.5.tgz","fileCount":8,"unpackedSize":326881,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDoEI9SRUszKjpVH0inpbTHgDy+KSeXxXnRurWaYH79ZgIhAIdXAwiNypfl/4CjnM8Fi2K/qtOpAp4DDP4CfqAUb6Rk"}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_4.1.0-beta.5_1632227830955_0.2777554549192558"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"4.1.0-beta.6":{"name":"@passbase/button","version":"4.1.0-beta.6","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard.\n\nYou need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onStart={() => {}}\n  onError={(error, context) => {}}\n  onFinish={identityAccessKey => {}}\n  onSubmitted={identityAccessKey => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n| Name              | Description                                                                                                                                                                                                                                                                                 | Signature           | Required |\n| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | -------- |\n| apiKey            | The Passbase API Key you obtained from the dashboard                                                                                                                                                                                                                                        | string              | Yes      |\n| onStart           | The callback which will be called on start                                                                                                                                                                                                                                                  | OnStartCallback     | No       |\n| onError           | The callback which will be called on error                                                                                                                                                                                                                                                  | OnErrorCallback     | No       |\n| onFinish          | The callback which will be called on completion                                                                                                                                                                                                                                             | OnFinishCallback    | No       |\n| onSubmitted       | The callback which will be called on submission of the data                                                                                                                                                                                                                                 | OnSubmittedCallback | No       |\n| metaData          | An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access                                                                                                                                                                                  | string              | No       |\n| prefillAttributes | An object containing attributes used for form prefilling on the button:<br />`email` - a string defining the user email<br />`country` - a string defining the two-letters country code                                                                                                     | PrefillAttributes   | No       |\n| theme             | An object containing attributes used for the button's theme<br />`accentColor` - HEX string defining accent color<br />`fonts` - an object containing `primary`, `secondary`, `cta` font family names found in customization section in dashboard <br />`darkMode` - enables the dark theme | Theme               | No       |\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@4.1.0-beta.6","dist":{"shasum":"c55d81b4e291f57f6e73d94c807f3e9251356e42","integrity":"sha512-x3/34nFc945fStwXZmBpG2anBzhU/QJHnbXuVd1VUTGfzMPKEqA8cAmpio4LFn/yLgQK1zS2GXOUB41r/xTE+Q==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-4.1.0-beta.6.tgz","fileCount":8,"unpackedSize":327030,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJxeEs5oZ9loVu75SXhSi7Wxc3U88pdcubavDNfoALFQIgZVFTtyuT+dYr+DCRuC3HsxG2HKb+46QjdF6lGykSLB4="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_4.1.0-beta.6_1632228661412_0.0826978904657838"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"4.1.0-beta.7":{"name":"@passbase/button","version":"4.1.0-beta.7","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard.\n\nYou need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onStart={() => {}}\n  onError={(error, context) => {}}\n  onFinish={identityAccessKey => {}}\n  onSubmitted={identityAccessKey => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n| Name              | Description                                                                                                                                                                                                                                                                                 | Signature           | Required |\n| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | -------- |\n| apiKey            | The Passbase API Key you obtained from the dashboard                                                                                                                                                                                                                                        | string              | Yes      |\n| onStart           | The callback which will be called on start                                                                                                                                                                                                                                                  | OnStartCallback     | No       |\n| onError           | The callback which will be called on error                                                                                                                                                                                                                                                  | OnErrorCallback     | No       |\n| onFinish          | The callback which will be called on completion                                                                                                                                                                                                                                             | OnFinishCallback    | No       |\n| onSubmitted       | The callback which will be called on submission of the data                                                                                                                                                                                                                                 | OnSubmittedCallback | No       |\n| metaData          | An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access                                                                                                                                                                                  | string              | No       |\n| prefillAttributes | An object containing attributes used for form prefilling on the button:<br />`email` - a string defining the user email<br />`country` - a string defining the two-letters country code                                                                                                     | PrefillAttributes   | No       |\n| theme             | An object containing attributes used for the button's theme<br />`accentColor` - HEX string defining accent color<br />`fonts` - an object containing `primary`, `secondary`, `cta` font family names found in customization section in dashboard <br />`darkMode` - enables the dark theme | Theme               | No       |\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@4.1.0-beta.7","dist":{"shasum":"223de2dfe31a684232359fa8cbafe16f2339ced9","integrity":"sha512-5LCO2ywi0imBAjknXRQopb5kM2zNKa6VCj3Q8eToqaDtCmtqEHEt1uH3yDlOOJB7war3JOHSPa1/rgqIjhQpQA==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-4.1.0-beta.7.tgz","fileCount":8,"unpackedSize":326943,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBLRTMR1EaHOxVb4tiwXpk2v8jeVP+i5/SPidn2ouDHnAiEAvUqhnPWHhzvYjcDOHjVik+jJppPufvze2vCoAeh4Sqc="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_4.1.0-beta.7_1632229757860_0.3460820848727517"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"4.1.0":{"name":"@passbase/button","version":"4.1.0","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16"},"_id":"@passbase/button@4.1.0","dist":{"shasum":"bbed7ceba2c2e92606012c9cdedb1e41cab8aa4f","integrity":"sha512-M6VjqQKtIysZIBNSB1eH3myNwlg+Cz19vhA2nzkCaTcBaBvXJopGJzai1T5oKF2R22e2cw05jG2BxYrj15E6Qw==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-4.1.0.tgz","fileCount":8,"unpackedSize":326915,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGCuE6j5IFVQx1potCYiyUd4WgM15ExFsH20ah5Aqt+xAiBWCcFxG5wlUXLLsgQ0MuQ5nm9cZB87pasgbGFjQy4mww=="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_4.1.0_1632314592007_0.9560042240023847"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"4.2.0":{"name":"@passbase/button","version":"4.2.0","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16"},"_id":"@passbase/button@4.2.0","dist":{"shasum":"5b081fcc8833d5e0519b25873014aac2248d845a","integrity":"sha512-Xk/WXc13hFBLZZ5sG7hPIEHi8NAM6w2l/WZOs4enuSyf1uGmstRfm3/tiTHJbx+FDRsGN9rfLJn5EeqDxzKcOQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-4.2.0.tgz","fileCount":8,"unpackedSize":326915,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDvONr4CHbtN+6/bYl83gHh+nWIKUk7xkNJihFK2mzI+AiB1xMwcIxPAZM3a6l9mwQdHPGB6mQ+8zutyhPWOXch4YA=="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_4.2.0_1632374475877_0.5097297308190862"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"4.2.1":{"name":"@passbase/button","version":"4.2.1","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16"},"_id":"@passbase/button@4.2.1","dist":{"shasum":"4db4950de7671826e6ef217c1650b02ce6e30cde","integrity":"sha512-8NM9ao9BX8tTElLj9g647KR1rsE0fyDy1ZkKrSe2a2Pouki+BIqPhY5Zwze2CSLDi8GZk1WVpgjG1zXa0jcQzQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-4.2.1.tgz","fileCount":8,"unpackedSize":326915,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDf2UBVWjsyrGcGwRwWxeq/DcBW0ifJld5CfMCn5bbVpAIhAN7WDbL+YDicwNyuqBNvpbg3n2r/Xtoh5H0qQU9r3Yxa"}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_4.2.1_1632832451796_0.44027119680303484"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"4.2.2-beta.1":{"name":"@passbase/button","version":"4.2.2-beta.1","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard.\n\nYou need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onStart={() => {}}\n  onError={(error, context) => {}}\n  onFinish={identityAccessKey => {}}\n  onSubmitted={identityAccessKey => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n| Name              | Description                                                                                                                                                                                                                                                                                 | Signature           | Required |\n| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | -------- |\n| apiKey            | The Passbase API Key you obtained from the dashboard                                                                                                                                                                                                                                        | string              | Yes      |\n| onStart           | The callback which will be called on start                                                                                                                                                                                                                                                  | OnStartCallback     | No       |\n| onError           | The callback which will be called on error                                                                                                                                                                                                                                                  | OnErrorCallback     | No       |\n| onFinish          | The callback which will be called on completion                                                                                                                                                                                                                                             | OnFinishCallback    | No       |\n| onSubmitted       | The callback which will be called on submission of the data                                                                                                                                                                                                                                 | OnSubmittedCallback | No       |\n| metaData          | An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access                                                                                                                                                                                  | string              | No       |\n| prefillAttributes | An object containing attributes used for form prefilling on the button:<br />`email` - a string defining the user email<br />`country` - a string defining the two-letters country code                                                                                                     | PrefillAttributes   | No       |\n| theme             | An object containing attributes used for the button's theme<br />`accentColor` - HEX string defining accent color<br />`fonts` - an object containing `primary`, `secondary`, `cta` font family names found in customization section in dashboard <br />`darkMode` - enables the dark theme | Theme               | No       |\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@4.2.2-beta.1","dist":{"shasum":"e35ecc9038717832aa5085ddd06610d1c4e0de24","integrity":"sha512-wYG/kI+KxNofdmVsPjFl94TzUdGrwRCWlwRZ8UOHnZucaj9OoTyIxNx99mluRs56dlMvFEYsaUJ1daef+RMzvg==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-4.2.2-beta.1.tgz","fileCount":9,"unpackedSize":324063,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDgR7ijIxMKbrQBmkuQ7X0MenCxCsf6aEA99Lj/GA1ihwIhAOSMzg3Z20H3Rn8v9xEThprQq5rK1L8GAt8BkP7zSENv"}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_4.2.2-beta.1_1633326864931_0.5719613348406869"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"4.2.2":{"name":"@passbase/button","version":"4.2.2","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16"},"_id":"@passbase/button@4.2.2","dist":{"shasum":"1651fea1d97cd5663d07c251ebb3f652acf375b6","integrity":"sha512-UJUJ3UDqMDNTdfzf2Eh45yt30ulSHVh1EKidWgKO19+4aK58CLEsdrKDUfz6tK/aHuHBFOMQgt4aKadgLxpihg==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-4.2.2.tgz","fileCount":9,"unpackedSize":324035,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFraSQXnLJWKioUfQ38PI8zv2TT/1nlmhnuZy4VOPVrtAiEA1kuFw5TaQ0aEi16X9OY0R3qIQGwdu6KUsjk5fWC4rc0="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_4.2.2_1633354157650_0.6433741625105811"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"4.2.3-beta.1":{"name":"@passbase/button","version":"4.2.3-beta.1","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard.\n\nYou need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onStart={() => {}}\n  onError={(error, context) => {}}\n  onFinish={identityAccessKey => {}}\n  onSubmitted={identityAccessKey => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n| Name              | Description                                                                                                                                                                                                                                                                                 | Signature           | Required |\n| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | -------- |\n| apiKey            | The Passbase API Key you obtained from the dashboard                                                                                                                                                                                                                                        | string              | Yes      |\n| onStart           | The callback which will be called on start                                                                                                                                                                                                                                                  | OnStartCallback     | No       |\n| onError           | The callback which will be called on error                                                                                                                                                                                                                                                  | OnErrorCallback     | No       |\n| onFinish          | The callback which will be called on completion                                                                                                                                                                                                                                             | OnFinishCallback    | No       |\n| onSubmitted       | The callback which will be called on submission of the data                                                                                                                                                                                                                                 | OnSubmittedCallback | No       |\n| metaData          | An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access                                                                                                                                                                                  | string              | No       |\n| prefillAttributes | An object containing attributes used for form prefilling on the button:<br />`email` - a string defining the user email<br />`country` - a string defining the two-letters country code                                                                                                     | PrefillAttributes   | No       |\n| theme             | An object containing attributes used for the button's theme<br />`accentColor` - HEX string defining accent color<br />`fonts` - an object containing `primary`, `secondary`, `cta` font family names found in customization section in dashboard <br />`darkMode` - enables the dark theme | Theme               | No       |\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@4.2.3-beta.1","dist":{"shasum":"4d57118c172f4e7bd8d27f3bcb76afb0cd4d06a1","integrity":"sha512-C1mtxiRqXROzS9oUm16rdmUPhFHcOACfrrJ/jUwBE10IzVX7lD6gFSLQwaAnk9VNIEtjBCsbPbxJnGU/R6UmpQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-4.2.3-beta.1.tgz","fileCount":9,"unpackedSize":324135,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHOjcTCfz2S46QiRRqxj4wDfXnoe6d8MCjQRk5Kdzt2qAiAC8fn53/Yndq8HKB0zkYpuvf1QZF35lGWoEzwkRGJCag=="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_4.2.3-beta.1_1635400338795_0.6133197333010212"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"4.2.3":{"name":"@passbase/button","version":"4.2.3","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16"},"_id":"@passbase/button@4.2.3","dist":{"shasum":"ab5056e567a5bec715fe5763bc2e632ac4f27cc0","integrity":"sha512-ly1VwQ41w/UR2Y8k3i5pOh48lN5Yck3YDDlf6GMAYG1GfkCoO9YnyrXLxECtaV8fdi+T/haet1ojv136+hGPCw==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-4.2.3.tgz","fileCount":9,"unpackedSize":324107,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWaPBXuqh6apyxYlTEDyA3No5ecvwOgKlvsvpq6ROx7gIgEao+TxPLa2ksURvwXYbJ/+xtGZ30W6IysAOFQy6QzxI="}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"marc-passbase","email":"marc@passbase.com"},{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_4.2.3_1635780457446_0.3893341047877037"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"4.2.4":{"name":"@passbase/button","version":"4.2.4","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16"},"_id":"@passbase/button@4.2.4","dist":{"shasum":"2d163ed8fb47aaedd98e9a0b0be1d55b47eb7a3e","integrity":"sha512-T+E7F32murOJPPPt8bFEBCSDAFzKBEkFn+YJD98PdsAajSCNT6cSDoTs6bw62wsLN7icCJYk5oQEgZOcVOZaOg==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-4.2.4.tgz","fileCount":9,"unpackedSize":324077,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiAjP2CRA9TVsSAnZWagAAfjYP/3PSLRPww+bXOg3M8iSV\nFENgU6Tm9jmRyO5S8LUhCA/J6fKTG90IoZY1i7vI3sez5h++FPmVwZ15vAgB\n6C4n2EUjo8qk1NmX4sP0qG+DUqd720wZdUKDigX2KjJsP2Obh3a9rjGfjkfG\nkoVi6epmg7LNJh0LeGNKeHqgwTvCDWgzyBlMGLvDHzU8CXQGonTYJNrDY0AT\n1OND2JPg8uk6FfxC21uStavFHIQDzTCr61uAVW947S0nTsEdVnFmy/M43g9p\nIjjPqCv+7rvoSoWHb5b7XsK0SLl6RsOulPHEV2mPPL9FiaUS0wH5xnc0HFg+\nWbvglwuPI7CLw4EwMtXX3xOMo0+iVkcQYKsSwPYdhAEZqPWkSjzPqTpjGWOC\n5qmsQA5+kCwdR8D27aM4D1nNrsJZ+K5U0tJtul7f4rM5f5ExfodXVeM7gknJ\nc1mzCDlfk8tSclK1+n/C7hK1VKdHcN8nmzqstupCQbSKjFtysiw6hHpBHjbG\nCHmlfH8zj743RXZQPQGZo5mLnuWvapmy/CNQgGv60nbVnn2Itiog3al3VhKt\n2dx1YcB5g0Yz5VRCv8UFn2bjpL5sdYdLLZ1OvU/Fr9Gec+GP/nh0tLy9+YJs\n0UZGuyt2xRRNr1wYXt61fmsSToPvKM99D0GoDq1SVIxX7iOVqGALnpo1lMyl\ngz49\r\n=iF+Y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0NY6QTt78Wx/M2yrbH95g5P1hoIGb+Rg0A0/WiBw7agIhAN5XeWFH4eDKU51dDdGtikbDUI5mz1bqyqVMDicKdBvT"}]},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_4.2.4_1644311542795_0.9597973883024473"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"4.2.5-beta.1":{"name":"@passbase/button","version":"4.2.5-beta.1","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard.\n\nYou need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onStart={() => {}}\n  onError={(error, context) => {}}\n  onFinish={identityAccessKey => {}}\n  onSubmitted={identityAccessKey => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n| Name              | Description                                                                                                                                                                                                                                                                                 | Signature           | Required |\n| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | -------- |\n| apiKey            | The Passbase API Key you obtained from the dashboard                                                                                                                                                                                                                                        | string              | Yes      |\n| onStart           | The callback which will be called on start                                                                                                                                                                                                                                                  | OnStartCallback     | No       |\n| onError           | The callback which will be called on error                                                                                                                                                                                                                                                  | OnErrorCallback     | No       |\n| onFinish          | The callback which will be called on completion                                                                                                                                                                                                                                             | OnFinishCallback    | No       |\n| onSubmitted       | The callback which will be called on submission of the data                                                                                                                                                                                                                                 | OnSubmittedCallback | No       |\n| metaData          | An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access                                                                                                                                                                                  | string              | No       |\n| prefillAttributes | An object containing attributes used for form prefilling on the button:<br />`email` - a string defining the user email<br />`country` - a string defining the two-letters country code                                                                                                     | PrefillAttributes   | No       |\n| theme             | An object containing attributes used for the button's theme<br />`accentColor` - HEX string defining accent color<br />`fonts` - an object containing `primary`, `secondary`, `cta` font family names found in customization section in dashboard <br />`darkMode` - enables the dark theme | Theme               | No       |\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@4.2.5-beta.1","dist":{"shasum":"56dbece11e866a0de0dcef796527ca3e32cc7600","integrity":"sha512-7ORhALiKfMvN1hPZDffYUytH+12aYTJJkQUx/Qs88Y8bYYyY2L8hFp9JV9kmlQiPP00Uym7VROeTiigxtNaeTQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-4.2.5-beta.1.tgz","fileCount":9,"unpackedSize":324252,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsewCeVgXX0nxfkJ0FGWJnCc8qw59EQoTYxg0zPtFp7QIgBZ7VajCPwIMFhXjWG0czKzUJR3IanCmrv3TgOl3B3j0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi1psPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmriyw/+IQkgztzjEQTL9OFSdTuxZ0vQmcw27Au2HtgJLavviDvFDoVT\r\nYKpQCp4vdoHKHfnAdNFBGpIF+irlunaSIEfG7K63Xd143wszHVwQQfsDJHgw\r\n8rFSjNwYF+VCwvdp2FMAY1mK0e9Lo8md7TOZKwouGppzOeRHsKrJCXaUkjWm\r\n3gRAnbJLIUuFdoCoIBxNLFcc9Lyl8te1dBaBFhL6Ssg9I/BRHq6hi4Mn1K6G\r\nA2ZNtfj2x1Vh/gbBxoa+7XdlLEu0WUz9DJmhUQ5DTWr6rcLcI+UplXbTHPIL\r\n2elBTTWp/4TULxRODI2TjyPbgVa1UjAABY6HgRFljrCcaQpp+Us6vfw473h8\r\npHwOROpCbeqil//E3JwHr5GP+a5c0bSgaNDO/Ao28oWAlc67HyJ0H3Y21yKS\r\npjZBBySCQfVaenafcMXBkJdBYnwUNFa5V1Iq+BQFVJCkh18tUSnCSmpbidwx\r\nvJ0yDSuGf+jC6OOlg7hLQOOZTAfg/IJaM5U6mmN+RHRSreTRixTjdGaLX7Py\r\n3aIsVyRT8q9DFVSckANbtRtpZRe4RrqH2CQ8yRnXfRguAidjn9LNCkA17Vbq\r\nMiDoiR8VIO9WqSLbL9f+i+h4gROSAtik1R0sP1x2bLC6YCUxgwlaFGJDloTp\r\n4IQkj5RulfsMepnWaFdDHoblBX0/zg//MWA=\r\n=fCb2\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_4.2.5-beta.1_1658231567568_0.757808936134786"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"4.2.5-beta.2":{"name":"@passbase/button","version":"4.2.5-beta.2","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard.\n\nYou need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onStart={() => {}}\n  onError={(error, context) => {}}\n  onFinish={identityAccessKey => {}}\n  onSubmitted={identityAccessKey => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n| Name              | Description                                                                                                                                                                                                                                                                                 | Signature           | Required |\n| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | -------- |\n| apiKey            | The Passbase API Key you obtained from the dashboard                                                                                                                                                                                                                                        | string              | Yes      |\n| onStart           | The callback which will be called on start                                                                                                                                                                                                                                                  | OnStartCallback     | No       |\n| onError           | The callback which will be called on error                                                                                                                                                                                                                                                  | OnErrorCallback     | No       |\n| onFinish          | The callback which will be called on completion                                                                                                                                                                                                                                             | OnFinishCallback    | No       |\n| onSubmitted       | The callback which will be called on submission of the data                                                                                                                                                                                                                                 | OnSubmittedCallback | No       |\n| metaData          | An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access                                                                                                                                                                                  | string              | No       |\n| prefillAttributes | An object containing attributes used for form prefilling on the button:<br />`email` - a string defining the user email<br />`country` - a string defining the two-letters country code                                                                                                     | PrefillAttributes   | No       |\n| theme             | An object containing attributes used for the button's theme<br />`accentColor` - HEX string defining accent color<br />`fonts` - an object containing `primary`, `secondary`, `cta` font family names found in customization section in dashboard <br />`darkMode` - enables the dark theme | Theme               | No       |\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@4.2.5-beta.2","dist":{"shasum":"d22d1d460d31384bfa06596a56c47ce7b89fead7","integrity":"sha512-vvOhitGebc3/epJy9u2dSrlGv7BrMko/+VC65+UcCaCWpD36S8Dx+W9WDKUpvgptNhhGO7BfTXj0h2znBEKcog==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-4.2.5-beta.2.tgz","fileCount":9,"unpackedSize":324267,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCt2ta6LMsFKWcwx6c31AxRuM6TqEz/rldK07CGTwLNOQIgNBif3nDQwjwweyTjX1iBiJKZZUlhmNFz4UL8hoToyEI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi18MbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrxDA/7BQ62uB1P6IFvk1klrJCt7fF0ANMvE3Rr9/5lgHcE78gJs41u\r\n4zBkoAlyhVOwz932rqxXTh/0QjlWhk+cNu5uGnH5MRSwBcU+okoolJSvh9nN\r\nRvq9Gybm//syNhZIZVpQ+49uZcVzuQj7y+g2Tq+TZkmMU8XpHKyVv76jyQwi\r\ny7Vh2f6Em9rMFGlqH4DEK2A5ICGi1C6u68qrsMz9jOqCgrn4nLn27Jk5nJxH\r\nWqpnnF7yOTgFwYQVOdJahwKbguIonaxba7DYwLXN0v3xZnKoZ8XZGHCs8HRE\r\nisx6qjEzp0ivcsZdOR7XahjoyodTJDFzej2c0Ef3VlA45baGT6/D8Ip2FG7Y\r\narcaa+a0DI03BvHsNCOnC1xiEL5u4C4Gd3TKD7fCU2dT8BzucebUB8dtD3+I\r\n4GipaYv9gZW1jsdt8zM6Jk5wRu2lcqZilsgfPT5irk8rj1/hRJ9G2Gzt0e/M\r\nXfyKFGPOgEER7YcT+Db0PO5pXX/WHyjUr1tGMLTQfifXP1I+G/ZMYcPrWHob\r\nxq9iRk+NJrNdvF1DD+vtHjgFN8C3+YNAkU1mpFXvfVxAtIxIPNK7YwPeQGwE\r\nQpGETHXci/trAn6SEuad8gjRAJNBWCENzUdiLMlD36LRIM0991x+OExHyNRW\r\nKt0GQhzm9aQP7Nx44G1WV2a08AUo1yZ58bw=\r\n=h1Uc\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_4.2.5-beta.2_1658307355455_0.5353989323479167"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"4.3.0":{"name":"@passbase/button","version":"4.3.0","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16"},"readmeFilename":"README.md","readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard.\n\nYou need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onStart={() => {}}\n  onError={(error, context) => {}}\n  onFinish={identityAccessKey => {}}\n  onSubmitted={identityAccessKey => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n| Name              | Description                                                                                                                                                                                                                                                                                 | Signature           | Required |\n| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | -------- |\n| apiKey            | The Passbase API Key you obtained from the dashboard                                                                                                                                                                                                                                        | string              | Yes      |\n| onStart           | The callback which will be called on start                                                                                                                                                                                                                                                  | OnStartCallback     | No       |\n| onError           | The callback which will be called on error                                                                                                                                                                                                                                                  | OnErrorCallback     | No       |\n| onFinish          | The callback which will be called on completion                                                                                                                                                                                                                                             | OnFinishCallback    | No       |\n| onSubmitted       | The callback which will be called on submission of the data                                                                                                                                                                                                                                 | OnSubmittedCallback | No       |\n| metaData          | An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access                                                                                                                                                                                  | string              | No       |\n| prefillAttributes | An object containing attributes used for form prefilling on the button:<br />`email` - a string defining the user email<br />`country` - a string defining the two-letters country code                                                                                                     | PrefillAttributes   | No       |\n| theme             | An object containing attributes used for the button's theme<br />`accentColor` - HEX string defining accent color<br />`fonts` - an object containing `primary`, `secondary`, `cta` font family names found in customization section in dashboard <br />`darkMode` - enables the dark theme | Theme               | No       |\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","_id":"@passbase/button@4.3.0","dist":{"shasum":"12758957e7cc2b018753f8d29ef39c281b1c58c3","integrity":"sha512-VKIBRmL7ofpUCjNXkyKTag5Tky32VdHRlEbJOMg0uOdu9Th8YoCXmCTbrUE/cRMfeNhKsR99fI8o0m0vOSlgYQ==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-4.3.0.tgz","fileCount":9,"unpackedSize":316298,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbGf7HwY2hFRJ8xRYJt/1UTxhZ70MX1/uhQexRbc7/SgIgBTb9uEwl47gQir67DV0Ri0QNamdTASIrqgYkAFtNFEU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjgNEjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoYFA/8DHZqedMv28XiLjwmpFmhiH1nOC4ZLCxsAqeFj+PjnUkXIYx4\r\ndFnehdqLSjAX3Wh57a4In74ixhoi5btyPCACItdmLeNRkR4Wmwdm7cHb4FKM\r\nOUVovZAgmD+bTXP8CnbwEvQIyWKIRNhqxjcUYS+1LuTixKAwYEqlhkxOdc8D\r\n4OqnGRR/4ttzLwoPNuhYqMLbMhzg3ULAzk/8+nvJGlzhyje/t/Rbu3ZIWtoT\r\nJ7fLSutv0A4J6yTAnEdT8x3jlFcCCNmhX82R/T5OPaHn2e58Ao6ALuIodJq+\r\nj3pmPaaMjHuE8FM7CpL199W39nlwRZ2/Qah1J0AlYsTLSNgXpAyYuhJNwtE/\r\nw1bRZQomdCzYBDXJR0FGmnlR7yhQIZw3CLImGnHVhkCGeR8oE5pqd64wUp0o\r\n4QsTKRjDsC7n1R8pbRqDmd/DbQW7ss3xhw72q3vuCR8sGg41QO628M4iYu2K\r\nBDeL8clW08ZxGlcQnJr47sui6RP7eYRpkE8JsTmiWyZw0g2v24mvMWCZfsr8\r\nX294EkmU8JFGIP4WKUQhvEGFiOiDoQ4VCjxIzIa8unpXAd4hPa2Ab21RXXUb\r\nU0K0b+qkfmw98zdmZtp0dLIwh3N499Ld5CcF+jyx9z0Wd9cx7Makb5YZuEVs\r\nrE+ri+jCerV2P+BcxUrrz+lLU3MKXm3o6zE=\r\n=eeu1\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_4.3.0_1669386530796_0.3269491933025488"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"4.3.1":{"name":"@passbase/button","version":"4.3.1","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16"},"_id":"@passbase/button@4.3.1","dist":{"shasum":"451a11a880cfdd2b46a2f71cddfa9c8041bb0739","integrity":"sha512-a7Kf23nOxnp+NNP9sJQmQ5ZYxQtDNRJItg7GSlFxB3MrA/WlyB63wr8uDq+hPbFRX8E5eqsgcWIEvU039LR4Tg==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-4.3.1.tgz","fileCount":9,"unpackedSize":316298,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCczfwMNnwBKovaOsnd3gb8Pm46aVL7mqVOG1dMvog68gIhALx2/zagUILeeGcNSN9bG/M9D+PMKEl+A6laClSzCVJg"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjgNPtACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo0rA/+KHanjcf+5IaCUXHK3rymni+nfOyxFnXrwVoLEc2mA0YlGAE1\r\nnVR1O1HILXYYOKQR6LAdsE3YG47h6Dorv5JVoyqCvYDlrplwvMrG7iVh/KLN\r\nJkvAP103jQn7RKCggHEXW8kLLxKkOhTPDDqDFOw991niRbQROQDszLPPm+P/\r\nfbYSybzFI8yge7Cx3xrbjn2rodafbx9dfkNh8bXWi4Pc4mbXPSxWySI07oMA\r\nW5efTB4b8AlVE1vRtx67eSvp3EGgixrU7iCrU/giEr1JmOD7biUH6kZE5bSA\r\nCqESk54yrnfXMKVJkksRUgRm+Nku3udk86YA5jBFOk3KdZG6BMXcAFW/BR3Z\r\nJG2FUNHjf1G/Du2aOsL7YZqZ6F2/XxXZWQvwu1J06VN+U/Q5RQFs+f4gJCfg\r\nBNSfnaX9FKl6Qb7NjjULR5lsVukzu+QhUbjYAztvEz2jBcpH4k6aDilxkdjq\r\ni8+8eHZ005O8z61/Hy3fvRj0HcRkcAU2pAjcvfCKQQJdw3KN4BMpk/B0Y1+h\r\nRNdFVcIxpyw2Ajxlp449pIFKEtHCm9/kKcPoVcTTFJFxZDA60cGBr6+N4EMM\r\nYGLqrUIES+JdI2HVzUoKLOP0Fy/08YMFYDVqgYToG+TtWw5mba29KgaJ1cFa\r\n1wRkDz+XoaQHzEeUqQo7BrtGv1t3U4mawTY=\r\n=wf3K\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_4.3.1_1669387245492_0.78814628666991"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"4.4.0":{"name":"@passbase/button","version":"4.4.0","description":"Passbase customer login button","main":"main.js","types":"main.d.ts","author":{"name":"Passbase","email":"passbase.com"},"unpkg":"button.js","publishConfig":{"access":"public","registry":" https://registry.npmjs.org"},"peerDependencies":{"react":">= 16","react-dom":">= 16"},"_id":"@passbase/button@4.4.0","dist":{"shasum":"10460c57a7a2042fee8f35e737b4d1ae7062acec","integrity":"sha512-e+D++/cQW1zQiiuFGXwqrWdgKurImcZeolmCUCRkzga0CqEQ9fNblvby4WKJFbCBn5mmEt5gNCCcpOiqYzJW0A==","tarball":"https://registry.npmjs.org/@passbase/button/-/button-4.4.0.tgz","fileCount":9,"unpackedSize":316461,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbS8L8puto8nElW9gX/sOssnYUOX2yYOif1shjw8IP1AIgNcEjDJj8joQ8EjH4mL/l1nRXxL8Rtpv/AFjTW2jcNb4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7M/IACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpTzQ/7BKpgmqYypJLPsFxjqTuSvxAXxuEEmAknM0AUuUiZ04BXHVjw\r\nG9TjVPTxr2+gKlcV270D39PGr9izjGvNUsz2bSOMSkK6Cq11xTz9HNf6DOkI\r\nXr4DYLmNhsWFVPFuhqmzAQ4dFGRe3UGDu4mRuXwz78zvRANHtL0MEV2yUyc4\r\nDUUzUaFhQDLznHdeigzZcDbuRo2BwWkVJtAavlO/+MSUVOFujuaYqRzxO7nl\r\ng/lYoUxlgxQN85CeRwWfNaMfD3pPJx4Fy2xrQAod0QfAstC3GcRkzHOl5Nh/\r\n8gANQ55ZkYZ3yXPTy3lvrO93zInbQslJwsz/bBP6McGEGwJXgVEMclZbbLCY\r\nZ34QguJP3hv2L4vA9+oPzbBPfuYMJZfhtuuEzNion+536SnmVP53ESpVSU+o\r\nqSfQ6djA41PtBYQcWL6/Qp5LKVYSS/DVZ0JO3VpnqAyNxiHlgefACFsvWs7/\r\nWcaCv+vEEd8KvLeIXZFl4nWwRVs9PB/5KSmUoYSipV1WZO6PcedH1a6I7idO\r\ncN0XMx+mWllwMj8ie/5t4Jj8ZjZCjEzUTzaX7JytVl4cs5W0JCtYaxRUiSsZ\r\nNvBG8GzNnipc/evTNJN3VYyBM7jBowqPPqKv4bTnr4wRVVn6N4MNEB1FLz0f\r\nuo+ZRFf9ef9Ydm9+MRv9ruDT49SvfAanv0A=\r\n=do43\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"},"directories":{},"maintainers":[{"name":"passbase-ci","email":"passbase-npm-ci@passbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/button_4.4.0_1676464072571_0.40061147154578847"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2019-06-17T17:38:18.960Z","1.0.0":"2019-06-17T17:38:19.290Z","modified":"2023-06-08T10:29:48.650Z","1.0.1":"2019-06-17T17:58:30.950Z","1.0.3":"2019-06-19T18:53:00.106Z","1.0.4":"2019-06-19T19:08:52.912Z","1.0.5":"2019-07-01T20:15:39.385Z","1.0.6":"2019-08-05T16:45:57.771Z","1.0.7":"2019-09-17T11:02:45.687Z","1.0.8":"2019-09-19T14:23:40.481Z","1.0.9":"2019-09-19T18:15:28.645Z","1.0.10":"2019-09-19T18:28:19.223Z","1.0.11":"2019-09-24T12:59:46.351Z","1.0.12":"2019-09-26T09:47:37.071Z","1.1.0":"2019-09-26T17:11:58.439Z","1.1.1":"2019-09-27T14:11:06.160Z","1.1.2":"2019-10-01T09:44:18.450Z","1.1.3":"2019-10-02T12:59:09.712Z","1.1.4":"2019-10-04T15:18:26.863Z","1.1.5":"2019-10-08T08:58:43.722Z","1.1.6":"2019-10-18T10:11:26.888Z","1.1.7":"2019-10-30T11:24:46.547Z","1.1.8":"2019-10-30T11:55:33.599Z","1.1.9":"2019-11-15T15:55:47.141Z","1.2.0":"2019-11-29T10:52:54.763Z","1.2.1":"2019-11-29T11:29:00.299Z","1.2.2":"2019-11-29T11:36:13.055Z","1.4.0":"2019-12-19T12:11:49.227Z","1.4.1":"2019-12-19T12:16:32.577Z","1.4.14":"2020-02-01T11:26:55.314Z","1.4.15":"2020-02-02T22:17:56.811Z","1.4.16":"2020-02-13T10:14:38.774Z","1.4.18":"2020-02-21T09:16:33.512Z","1.4.19":"2020-04-06T17:16:08.257Z","1.4.20":"2020-04-08T08:01:56.490Z","1.4.21":"2020-04-13T16:10:08.836Z","1.4.28":"2020-04-14T10:40:30.786Z","1.4.29":"2020-04-14T11:45:19.126Z","1.4.30":"2020-04-14T14:49:51.743Z","1.4.31":"2020-04-14T16:25:11.895Z","1.4.32":"2020-04-15T19:26:04.245Z","2.0.0":"2020-04-16T09:47:52.594Z","2.0.0-rc.1":"2020-05-12T23:39:05.205Z","2.0.1":"2020-05-14T14:23:34.802Z","2.0.2":"2020-06-05T11:04:20.435Z","2.0.3":"2020-06-17T17:04:16.609Z","2.0.4":"2020-06-26T12:37:28.323Z","2.0.5":"2020-07-03T09:08:38.282Z","2.0.6":"2020-07-14T16:23:28.676Z","2.0.7":"2020-07-28T13:17:13.762Z","2.0.8":"2020-08-04T10:26:12.309Z","2.0.9":"2020-08-10T15:39:51.583Z","2.0.10":"2020-08-11T17:26:21.215Z","2.0.11":"2020-08-17T16:53:35.737Z","2.0.12":"2020-08-19T17:51:19.977Z","2.0.13":"2020-08-19T18:17:38.448Z","2.0.14":"2020-09-03T12:08:06.139Z","2.0.15":"2020-10-02T08:40:26.957Z","3.0.0-rc.1":"2020-10-06T11:37:29.195Z","2.0.16":"2020-10-07T08:46:23.873Z","3.0.0-rc.2":"2020-10-14T19:47:31.287Z","3.0.0-rc.3":"2020-10-15T11:26:46.746Z","3.0.0-rc.4":"2020-10-15T15:03:50.713Z","3.0.0-rc.5":"2020-10-15T17:27:48.121Z","3.0.0-rc.6":"2020-10-20T14:32:19.754Z","3.0.0-rc.7":"2020-10-21T10:12:05.645Z","3.0.0-rc.8":"2020-10-21T12:07:56.838Z","3.0.0-rc.9":"2020-10-22T17:37:47.839Z","3.0.0-rc.10":"2020-10-23T10:43:54.583Z","3.0.0-rc.11":"2020-11-03T10:34:53.873Z","2.0.16-rc.3":"2020-12-11T10:00:24.896Z","3.0.0":"2020-12-17T13:31:38.285Z","3.1.0":"2020-12-23T16:19:28.094Z","3.1.1":"2021-01-27T14:01:42.062Z","3.1.2":"2021-02-02T11:41:52.769Z","3.1.3":"2021-02-08T15:52:33.023Z","3.1.4":"2021-02-11T12:13:01.396Z","3.1.5":"2021-02-22T13:03:59.381Z","3.1.6":"2021-02-25T15:31:52.068Z","3.1.7":"2021-02-26T10:16:45.545Z","3.1.8":"2021-03-02T14:23:29.629Z","3.1.9":"2021-03-04T12:29:05.980Z","3.1.10":"2021-03-05T18:22:14.577Z","3.1.11":"2021-03-10T11:03:09.318Z","3.1.12":"2021-03-12T19:44:48.606Z","2.0.16-deprecations.1":"2021-03-17T12:50:26.364Z","3.1.13":"2021-03-18T14:01:00.253Z","3.1.14":"2021-03-22T15:00:31.310Z","3.1.15":"2021-04-07T09:45:15.704Z","3.1.16":"2021-04-15T09:30:18.220Z","3.1.17":"2021-04-19T12:33:15.869Z","3.1.18":"2021-05-06T08:15:08.606Z","3.2.0":"2021-05-12T09:52:43.050Z","3.2.1":"2021-05-14T10:23:56.237Z","3.3.0-beta.1":"2021-05-25T10:06:55.168Z","3.3.0-beta.2":"2021-05-25T14:07:31.319Z","3.3.0-beta.3":"2021-05-25T14:51:08.268Z","3.3.0-beta.4":"2021-05-26T10:12:15.414Z","3.3.0":"2021-05-27T09:44:57.863Z","3.3.1-beta.1":"2021-05-28T10:45:21.745Z","3.3.1-beta.2":"2021-05-28T12:12:15.205Z","3.3.1-beta.3":"2021-05-28T13:47:10.639Z","3.3.1-beta.4":"2021-05-31T13:11:29.298Z","3.3.1":"2021-06-02T09:45:17.666Z","3.3.2":"2021-06-10T08:50:44.516Z","3.3.3-beta.1":"2021-06-15T07:06:46.389Z","3.3.3-beta.2":"2021-06-15T12:00:45.010Z","3.4.0-beta.1":"2021-06-17T04:40:12.573Z","3.4.0-beta.2":"2021-06-18T12:34:01.505Z","3.4.0-beta.3":"2021-06-18T13:13:17.501Z","3.4.0-beta.4":"2021-06-18T14:12:44.112Z","3.4.0-beta.5":"2021-06-21T07:45:54.440Z","3.4.0-beta.6":"2021-06-21T09:52:37.892Z","3.4.0-beta.7":"2021-06-21T10:37:56.557Z","3.5.0-beta.1":"2021-06-21T14:41:32.576Z","3.5.0-beta.2":"2021-06-22T09:31:10.972Z","3.4.0":"2021-06-22T09:48:10.971Z","3.5.0-beta.3":"2021-06-22T14:41:54.009Z","3.5.0-beta.4":"2021-06-23T08:32:10.124Z","3.5.0-beta.5":"2021-06-23T11:02:42.686Z","3.5.0":"2021-06-23T12:36:25.049Z","3.5.1":"2021-07-09T08:59:21.772Z","3.6.0-beta.1":"2021-07-12T12:36:32.993Z","3.6.0":"2021-07-15T11:54:36.799Z","3.6.1":"2021-07-20T12:14:13.850Z","3.6.2":"2021-07-22T13:58:57.411Z","4.0.0-beta.1":"2021-08-04T08:24:17.111Z","4.0.0-beta.2":"2021-08-04T11:54:12.249Z","4.0.0-beta.3":"2021-08-05T06:30:52.027Z","4.0.0-beta.4":"2021-08-05T07:33:07.223Z","4.0.0-beta.5":"2021-08-09T14:36:43.041Z","4.0.0-beta.6":"2021-08-11T08:30:05.155Z","4.0.0":"2021-08-11T12:17:44.827Z","4.0.1-beta.1":"2021-08-12T15:24:01.606Z","4.0.1-beta.2":"2021-08-13T06:54:22.644Z","4.0.1":"2021-08-13T12:38:12.474Z","4.0.2-beta.1":"2021-09-02T10:03:45.126Z","4.0.2":"2021-09-06T13:38:17.444Z","4.1.0-beta.1":"2021-09-21T12:01:32.038Z","4.1.0-beta.2":"2021-09-21T12:12:14.716Z","4.1.0-beta.3":"2021-09-21T12:19:22.740Z","4.1.0-beta.4":"2021-09-21T12:28:28.998Z","4.1.0-beta.5":"2021-09-21T12:37:11.342Z","4.1.0-beta.6":"2021-09-21T12:51:01.790Z","4.1.0-beta.7":"2021-09-21T13:09:18.149Z","4.1.0":"2021-09-22T12:43:12.158Z","4.2.0":"2021-09-23T05:21:16.031Z","4.2.1":"2021-09-28T12:34:11.978Z","4.2.2-beta.1":"2021-10-04T05:54:25.071Z","4.2.2":"2021-10-04T13:29:17.813Z","4.2.3-beta.1":"2021-10-28T05:52:18.979Z","4.2.3":"2021-11-01T15:27:37.637Z","4.2.4":"2022-02-08T09:12:22.968Z","4.2.5-beta.1":"2022-07-19T11:52:47.716Z","4.2.5-beta.2":"2022-07-20T08:55:55.604Z","4.3.0":"2022-11-25T14:28:50.981Z","4.3.1":"2022-11-25T14:40:45.829Z","4.4.0":"2023-02-15T12:27:52.774Z"},"maintainers":[{"email":"support@npmjs.com","name":"npm-support"}],"description":"Passbase customer login button","author":{"name":"Passbase","email":"passbase.com"},"readme":"# Passbase\n\nTo integrate the Passbase SDK, follow this guide and use your\nown API Key which you can obtain from the developer dashboard.\n\nThe integration of the Passbase Web SDK follows a few simple steps:\n\n1. Install the SDK through NPM / Yarn\n2. Get an API Key\n3. Render a Passbase verification button and handle the result\n\nAdditionally, a non package manager dependant solution, based on HTML script tag, can be found at [Passbase doc website](https://docs.passbase.com/).\n\n# 1. Install the SDK\n\n```bash\n# NPM\nnpm install --save @passbase/button\n\n# Yarn\nyarn add @passbase/button\n```\n\n# 2. Get an API Key\n\nPassbase uses API keys to allow access to the API and route it back to your dashboard.\n\nYou need to register on our website to create a new Passbase API key here: [Developer Dashboard](https://app.passbase.com).\n\n# 3. Render the verification button\n\n**Import the Passbase SDK**\n\n```javascript\nimport Passbase from \"@passbase/button\";\n```\n\nThe SDK supports UMD modules, we present here the ES import method.\n\n**Handling Verifications**\n\nVerification is an asynchronous process that gives you a callback based result.\n\nThe callback method give you the ability to react on if a user verification is finished. e.g. bring the user to another screen.\n\nAlso, you can use callbacks for checking if a verification was complete or cancelled. Inside the callback method, you get back the authKey. This key is helpful if you want to ping our API for what the status of a verification is e.g. if it was approved or rejected. It might take a few minutes until a verification is fully processed and of course depend if you approve or reject it in your dashboard.\n\n## A. With a function\n\n**Invoke the button rendering function**\n\n```javascript\nrenderButton(\n  mountingElement,\n  apiKey,\n  (options = {\n    onFinish,\n  }),\n);\n```\n\n**mountingElement**: The DOM element you want to mount the button on\n\n**apiKey**: The Passbase API Key you obtained from the dashboard.\n\n**options**: _not required_\n\n&nbsp;&nbsp;**onStart**: The callback which will be called on start, () => void\n\n&nbsp;&nbsp;**onError**: The callback which will be called on error, (error: string) => void\n\n&nbsp;&nbsp;**onFinish**: _recommended_ The callback which will be called on completion, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**onSubmitted**: The callback which will be called on submission of the data, (identityAccessKey: string) => void\n\n&nbsp;&nbsp;**metaData**: An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access\n\n&nbsp;&nbsp;**prefillAttributes**: an object containing attributes used for form prefilling on the button\n\n&nbsp;&nbsp;&nbsp;&nbsp;**email**: a string defining the user email\n\n&nbsp;&nbsp;&nbsp;&nbsp;**country**: a string defining the two-letters country code\n\n&nbsp;&nbsp;**theme**: _not required_ - an object containing attributes used for the button's theme\n\n&nbsp;&nbsp;&nbsp;&nbsp;**accentColor**: a string defining color\n\n&nbsp;&nbsp;&nbsp;&nbsp;**darkMode**: enables the dark theme\n\n## B. With a React Component\n\nIn order to render the component provided by the Passbase SDK, you must install the peer dependencies which the component is leveraging.\n\n```bash\nnpm install --save react-dom\n```\n\nYou can now import and render the component as follows.\n\n```javascript\nimport VerifyButton from \"@passbase/button/react\";\n\n<VerifyButton\n  apiKey={apiKey}\n  onStart={() => {}}\n  onError={(error, context) => {}}\n  onFinish={identityAccessKey => {}}\n  onSubmitted={identityAccessKey => {}}\n  metaData=\"YOUR_ENCRYPTED_CONTENT\"\n  prefillAttributes={{\n    email: \"user@email.com\",\n    country: \"de\",\n  }}\n  theme={{\n    accentColor: \"#ff0000\",\n    fonts: {\n      primary: \"Exo\",\n      secondary: \"Lato\",\n      cta: \"Open sans\",\n    },\n    darkMode: false,\n  }}\n/>;\n```\n\n| Name              | Description                                                                                                                                                                                                                                                                                 | Signature           | Required |\n| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | -------- |\n| apiKey            | The Passbase API Key you obtained from the dashboard                                                                                                                                                                                                                                        | string              | Yes      |\n| onStart           | The callback which will be called on start                                                                                                                                                                                                                                                  | OnStartCallback     | No       |\n| onError           | The callback which will be called on error                                                                                                                                                                                                                                                  | OnErrorCallback     | No       |\n| onFinish          | The callback which will be called on completion                                                                                                                                                                                                                                             | OnFinishCallback    | No       |\n| onSubmitted       | The callback which will be called on submission of the data                                                                                                                                                                                                                                 | OnSubmittedCallback | No       |\n| metaData          | An encrypted JSON represented as an ASCII-armored string which will be associated with the identity access                                                                                                                                                                                  | string              | No       |\n| prefillAttributes | An object containing attributes used for form prefilling on the button:<br />`email` - a string defining the user email<br />`country` - a string defining the two-letters country code                                                                                                     | PrefillAttributes   | No       |\n| theme             | An object containing attributes used for the button's theme<br />`accentColor` - HEX string defining accent color<br />`fonts` - an object containing `primary`, `secondary`, `cta` font family names found in customization section in dashboard <br />`darkMode` - enables the dark theme | Theme               | No       |\n\n## Troubleshooting\n\n### ReferenceError: window is not defined\n\nYou're likely trying to render the component server side, which is not supported yet.\nYou should disable SSR in your rendering framework of choice (i.e. NextJS: https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr)\n","readmeFilename":"README.md"}