{"_id":"@aguycalled/web3modal","_rev":"5-3c9a49c348b47e0f56247ef13e5e5f32","name":"@aguycalled/web3modal","dist-tags":{"latest":"1.9.8"},"versions":{"1.9.4":{"name":"@aguycalled/web3modal","version":"1.9.4","description":"A single Web3 / Ethereum provider solution for all Wallets","keywords":["web3","crypto","ethereum","web3modal","metamask","walletconnect","portis","fortmatic","arkane","torus","authereum","frame"],"author":{"name":"Web3Modal","email":"web3modal.com"},"license":"MIT","main":"dist/index.js","unpkg":"dist/index.js","types":"dist/index.d.ts","typings":"dist/index.d.ts","directories":{"dist":"dist","test":"test"},"homepage":"https://github.com/web3modal/web3modal","repository":{"type":"git","url":"git+https://github.com/aguycalled/web3modal.git"},"bugs":{"url":"https://github.com/aguycalled/web3modal/issues"},"scripts":{"clean":"rm -rf dist","clean:example":"rm -rf example/build","clean:node_modules":"rm -rf node_modules && cd example && rm -rf node_modules","clean:all":"npm run clean && npm run clean:example && npm run clean:node_modules","bootstrap":"npm install && cd example && npm install","start":"npm run check && cd example && npm run start","build":"webpack","build:example":"npm run bootstrap && npm run build && cd example && npm run build","test":"mocha --require ./babel-polyfill.js test/**/*.spec.js","lint":"tslint ./src/*.ts ./src/**/*.ts","format":"prettier ./src/*.ts ./src/**/*.ts --write","check":"npm run clean && npm run lint && npm run format && npm run build && npm run test","reset":"npm run clean:all && npm run bootstrap && npm run check"},"devDependencies":{"@babel/cli":"^7.11.6","@babel/core":"^7.11.6","@babel/node":"^7.10.5","@babel/polyfill":"^7.11.5","@babel/preset-env":"^7.11.5","@babel/preset-typescript":"^7.1.0","@babel/register":"^7.11.5","@types/react":"^16.9.50","@types/react-dom":"^16.8.4","@types/styled-components":"^5.1.3","@types/web3":"^1.2.2","babel-eslint":"^10.1.0","chai":"^4.1.2","eslint":"^7.10.0","file-loader":"^3.0.1","husky":"^3.0.0","isomorphic-fetch":"^2.2.1","mocha":"5.2.0","prettier":"^1.18.2","terser":"^3.14.1","ts-loader":"^5.3.3","tslint":"^5.18.0","tslint-config-prettier":"^1.18.0","tslint-config-standard":"^8.0.1","typescript":"^3.1.3","url-loader":"^1.1.2","webpack":"^4.44.2","webpack-cli":"^3.2.1"},"dependencies":{"detect-browser":"^5.1.0","prop-types":"^15.7.2","react":"^16.8.6","react-dom":"^16.8.6","styled-components":"^5.1.1","tslib":"^1.10.0"},"gitHead":"08a93a40b9abc55807befecbadd9a05e240223fd","_id":"@aguycalled/web3modal@1.9.4","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-bFoZ38QCy73UWCkMPGviDct7fhBYsOD2ylr8J3XokodMSWQyJwsVFCBbO+/HgQ8GTlTeT9eaT4pjE25aKy1CdA==","shasum":"687437ff6024682f3123ac60b619c114d89d1ad1","tarball":"https://registry.npmjs.org/@aguycalled/web3modal/-/web3modal-1.9.4.tgz","fileCount":79,"unpackedSize":1269211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhG3fBCRA9TVsSAnZWagAAQPwP/RZIk7fXv06BojvWrveE\npRQXiO0O2WIHvnzLaY+tiT0RXVe4JBYf9Uz1ReG8xk8XiYcsdiXdmw833tPr\no62BKx8GRtJcDg9tD5Rsz+N3kruZMWPjFbEfGwrNLl2mtSQp8/NDqZZ6ZIlS\nLMmuxWujdHZNBgaETNkIIthAfyqImt4NAOP5ViwZYAj1yKgIpOm5Pt+c9eGr\nM6MLKRpt29YR+s/0yUGtn/pieBuOlO3HNFladI+7k3CYsZh/dGsENBjcwlLJ\nRjzylj1OaJ3JMAfltY34dcLhSvGzDcXrpfMyRkI5Zjd3Kzld5rR0LJJlxEL5\nvH1lijAWeQBjSqE3uVI1wLvVmnSPSNLHv68rszH3JuUTf1yX4rrzibNsCfKj\ncu2T3jFBhmW9N13pG5gTfV4D2VCsR2H7MynAvsFNGKBQMge2D3XyVfivxl3g\neK7kNOKd7moeZLzy4jI/9oJmcDHClAFJuBjlzwZRDjj6298keVkgedzhZHPQ\nnMaEiK1fJM+ci/foVUDqWyMWjfZ+lCSPRYidQP0EA8oUDkCJXhtDhirO5EXP\nmoByV+44gZx2zaAQjaTu8eJVKgW5BE6W/yeV4NXoYyz3Nkv0jU0oLrky/oUU\nvVqyXVgeakwFiqngiYiPeMKaQ0sqa9KuoYPw5kqOS9OmnL0ezclR2E50bLhD\nFF5H\r\n=vIrn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHxYHsUqGjgS1ov0jn6IF2+QfdWy/ap0oNl4U778rYQWAiB0LNX9nsdyEqcIa1h0DMgeR3BqbDfhPes8CL6/nt6A5w=="}]},"_npmUser":{"name":"aguycalled","email":"alex@nav.community"},"maintainers":[{"name":"aguycalled","email":"alex@nav.community"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web3modal_1.9.4_1629190081242_0.7884477050847685"},"_hasShrinkwrap":false},"1.9.5":{"name":"@aguycalled/web3modal","version":"1.9.5","description":"A single Web3 / Ethereum provider solution for all Wallets","keywords":["web3","crypto","ethereum","web3modal","metamask","walletconnect","portis","fortmatic","arkane","torus","authereum","frame"],"author":{"name":"Web3Modal","email":"web3modal.com"},"license":"MIT","main":"dist/index.js","unpkg":"dist/index.js","types":"dist/index.d.ts","typings":"dist/index.d.ts","directories":{"dist":"dist","test":"test"},"homepage":"https://github.com/web3modal/web3modal","repository":{"type":"git","url":"git+https://github.com/aguycalled/web3modal.git"},"bugs":{"url":"https://github.com/aguycalled/web3modal/issues"},"scripts":{"clean":"rm -rf dist","clean:example":"rm -rf example/build","clean:node_modules":"rm -rf node_modules && cd example && rm -rf node_modules","clean:all":"npm run clean && npm run clean:example && npm run clean:node_modules","bootstrap":"npm install && cd example && npm install","start":"npm run check && cd example && npm run start","build":"webpack","build:example":"npm run bootstrap && npm run build && cd example && npm run build","test":"mocha --require ./babel-polyfill.js test/**/*.spec.js","lint":"tslint ./src/*.ts ./src/**/*.ts","format":"prettier ./src/*.ts ./src/**/*.ts --write","check":"npm run clean && npm run lint && npm run format && npm run build && npm run test","reset":"npm run clean:all && npm run bootstrap && npm run check"},"devDependencies":{"@babel/cli":"^7.11.6","@babel/core":"^7.11.6","@babel/node":"^7.10.5","@babel/polyfill":"^7.11.5","@babel/preset-env":"^7.11.5","@babel/preset-typescript":"^7.1.0","@babel/register":"^7.11.5","@types/react":"^16.9.50","@types/react-dom":"^16.8.4","@types/styled-components":"^5.1.3","@types/web3":"^1.2.2","babel-eslint":"^10.1.0","chai":"^4.1.2","eslint":"^7.10.0","file-loader":"^3.0.1","husky":"^3.0.0","isomorphic-fetch":"^2.2.1","mocha":"5.2.0","prettier":"^1.18.2","terser":"^3.14.1","ts-loader":"^5.3.3","tslint":"^5.18.0","tslint-config-prettier":"^1.18.0","tslint-config-standard":"^8.0.1","typescript":"^3.1.3","url-loader":"^1.1.2","webpack":"^4.44.2","webpack-cli":"^3.2.1"},"dependencies":{"detect-browser":"^5.1.0","prop-types":"^15.7.2","react":"^16.8.6","react-dom":"^16.8.6","styled-components":"^5.1.1","tslib":"^1.10.0"},"gitHead":"2c971684d327cc23a14ee42684699d7c4c313ee6","_id":"@aguycalled/web3modal@1.9.5","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-w+q9Bk7uP2jKDWP5A43F5ZnYXQM02ttkGXWhAQnEqzMPnCuFOlMCmGx/YdExapf05Y8ZQn94/nvIfQMvtUb/8g==","shasum":"ca8d418bcc8ffe67cdbd86b5bf8128292bc0c542","tarball":"https://registry.npmjs.org/@aguycalled/web3modal/-/web3modal-1.9.5.tgz","fileCount":79,"unpackedSize":1269211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhHjfOCRA9TVsSAnZWagAAoYMP/0CD0ixH5fAF7dD11pvG\nlgDghd8Vj9lIMO0n0ulhLkqdghUncyUovuF7oxWnmahBqMDBd9S+IbGdQMdP\nh3/VUGnJt/XPbeG9Um9bBz0adyHOlf2kDGVOy+aa4Z0rsLMuIsHOwWRNvPLE\n/A70JqOEL2tJHRLL1MTanwsMrCN0kClNdZEhUoczrfLzLFmc3uug8qqxF4ip\n+03mytv97XnAJBUlg64fgndnQqte44a9CvG9n62giPVNroJy3+jfbAzZHT72\nVawB3yGRzUT8vtN9bD90T1SFpljDgRM54my/sOMIn2LEhDaAPXXcY0xOWmpQ\n8Q5tj2sEzbLNLnWGVIScgTLOHItLInRzuH0GVo7qj9lVtZQotIRMjqvYNQmC\nyGnv4p/AvfZtIiY4ugme2rzHxBS3zLzbxqBZ8RTOVTt0vrp8M44bxXLbXTYl\nBrcIw6hbt7NTDClLFEiVVn9ivu/avpuf5KmwumMsbPFMlMEZZoQ8F6ot+wOY\n3YpqOiSGdkJAKITlc4SclbmL2zFimfL7XslT/Q9RriiAWfCpqsD7KdRe64y4\nmD1C8+TngXlJxZYHJzXCpOy1wynGKZOjC20s4GtdON+5qmUCH/DtEpMmkpS8\nPSpgqHfVZ5PieRrY3qpPDtASTnZsqgq/l5j8mCC7he0AifHcyZjfuOJSH1jY\nCtbp\r\n=uctz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPl1DzKLyT3Bh26pWkisAYT8Z2drRTYAj6oHrF4p8TWwIhAIYFghWXpkGP7MTrVdRYVIdTTpE7U0ADFQ+1jXad+UG0"}]},"_npmUser":{"name":"aguycalled","email":"alex@nav.community"},"maintainers":[{"name":"aguycalled","email":"alex@nav.community"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web3modal_1.9.5_1629370318108_0.4293769482612604"},"_hasShrinkwrap":false},"1.9.6":{"name":"@aguycalled/web3modal","version":"1.9.6","description":"A single Web3 / Ethereum provider solution for all Wallets","keywords":["web3","crypto","ethereum","web3modal","metamask","walletconnect","portis","fortmatic","arkane","torus","authereum","frame"],"author":{"name":"Web3Modal","email":"web3modal.com"},"license":"MIT","main":"dist/index.js","unpkg":"dist/index.js","types":"dist/index.d.ts","typings":"dist/index.d.ts","directories":{"dist":"dist","test":"test"},"homepage":"https://github.com/web3modal/web3modal","repository":{"type":"git","url":"git+https://github.com/aguycalled/web3modal.git"},"bugs":{"url":"https://github.com/aguycalled/web3modal/issues"},"scripts":{"clean":"rm -rf dist","clean:example":"rm -rf example/build","clean:node_modules":"rm -rf node_modules && cd example && rm -rf node_modules","clean:all":"npm run clean && npm run clean:example && npm run clean:node_modules","bootstrap":"npm install && cd example && npm install","start":"npm run check && cd example && npm run start","build":"webpack","build:example":"npm run bootstrap && npm run build && cd example && npm run build","test":"mocha --require ./babel-polyfill.js test/**/*.spec.js","lint":"tslint ./src/*.ts ./src/**/*.ts","format":"prettier ./src/*.ts ./src/**/*.ts --write","check":"npm run clean && npm run lint && npm run format && npm run build && npm run test","reset":"npm run clean:all && npm run bootstrap && npm run check"},"devDependencies":{"@babel/cli":"^7.11.6","@babel/core":"^7.11.6","@babel/node":"^7.10.5","@babel/polyfill":"^7.11.5","@babel/preset-env":"^7.11.5","@babel/preset-typescript":"^7.1.0","@babel/register":"^7.11.5","@types/react":"^16.9.50","@types/react-dom":"^16.8.4","@types/styled-components":"^5.1.3","@types/web3":"^1.2.2","babel-eslint":"^10.1.0","chai":"^4.1.2","eslint":"^7.10.0","file-loader":"^3.0.1","husky":"^3.0.0","isomorphic-fetch":"^2.2.1","mocha":"5.2.0","prettier":"^1.18.2","terser":"^3.14.1","ts-loader":"^5.3.3","tslint":"^5.18.0","tslint-config-prettier":"^1.18.0","tslint-config-standard":"^8.0.1","typescript":"^3.1.3","url-loader":"^1.1.2","webpack":"^4.44.2","webpack-cli":"^3.2.1"},"dependencies":{"detect-browser":"^5.1.0","prop-types":"^15.7.2","react":"^16.8.6","react-dom":"^16.8.6","styled-components":"^5.1.1","tslib":"^1.10.0"},"gitHead":"86f0475ff9848e1b1c231bb627f307ed2d8049f5","_id":"@aguycalled/web3modal@1.9.6","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-4bSeHFgXN1x6oJDf1i9bk9fxTjbG6kE08Y5pTd/PA0onIWBnVj+eqC7ohdBhtZ2/TxfkFsEv5EnpIdOuPbhBQw==","shasum":"36118f1eee08442ee43c13fe7146fa71b0719afc","tarball":"https://registry.npmjs.org/@aguycalled/web3modal/-/web3modal-1.9.6.tgz","fileCount":79,"unpackedSize":1269211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhIlIECRA9TVsSAnZWagAAsYAP/2mHDhMnC+UKj3PoOc9Y\nZPbW/4e7kt9M6fU66A7jj1xRtZEiChph7zSBGJIftcfOmR9Hc5PUKLjJ6vLW\nbibk+IR7bo+Rb8QzlG4aF0w/h76Steume0eaCuMdNmRCkxPkXo74pPCpHUas\nC5AI0C8kON6ncMno8jhNC1wh2rrb26L6ObN6aLbRcLPz8KzCIdCOJqL8uZZ5\nqdrvERBlb8+O7Zxs6jgR78jxgpoQyavCJ6OZ4e7r9s3UYhw7zEDBxbG/EkeG\ncf99JVI4R+CAWPvOINc5l5lCfiH3Z2QXbCV05+/92GlFMLxn/i/M+IwCd/0X\nBC1lq4A2ICPzLI2ftav9LfxJjyiJD5y25ugOKg3QiV8/mgSqXmv6M030Njv8\n0PDJtavOCsn/f7rPd97QbWiiUEms0SrMrSN2taeNk1sSuGaPQXZSyoRQX1QM\n8adSim+EJgWT//HLTpjq3EavdzDNDTvs10VmZ+fGwTePtzvfTf6qwlEtPWpM\nF75TnNgOEBk+wDHYCR/dleYLyu7i0uK+lX2SHnC0watJbCvR0sGih4vE3ww8\nos/I8Jv4UUHV/wx2oR8Q1rJapMejgaBrKVdkGFsooltxw88PxomntPoXYny2\nbpXD1yYh6uki3KrL5mpeo7r77erK/6skSmSql9H2H1Wmgo3R/9lAS6d6UruY\nY1qk\r\n=tIjW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGbA0MI9sWPlfjhngCPC12VPOnkNKUiEeN6rYhSZ5uUHAiAgkIpyNHR8QTyO7r3VTktoFY6QSsef4yXf2v7m//pjvA=="}]},"_npmUser":{"name":"aguycalled","email":"alex@nav.community"},"maintainers":[{"name":"aguycalled","email":"alex@nav.community"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web3modal_1.9.6_1629639171910_0.4556719860714755"},"_hasShrinkwrap":false},"1.9.7":{"name":"@aguycalled/web3modal","version":"1.9.7","description":"A single Web3 / Ethereum provider solution for all Wallets","keywords":["web3","crypto","ethereum","web3modal","metamask","walletconnect","portis","fortmatic","arkane","torus","authereum","frame"],"author":{"name":"Web3Modal","email":"web3modal.com"},"license":"MIT","main":"dist/index.js","unpkg":"dist/index.js","types":"dist/index.d.ts","typings":"dist/index.d.ts","directories":{"dist":"dist","test":"test"},"homepage":"https://github.com/web3modal/web3modal","repository":{"type":"git","url":"git+https://github.com/aguycalled/web3modal.git"},"bugs":{"url":"https://github.com/aguycalled/web3modal/issues"},"scripts":{"clean":"rm -rf dist","clean:example":"rm -rf example/build","clean:node_modules":"rm -rf node_modules && cd example && rm -rf node_modules","clean:all":"npm run clean && npm run clean:example && npm run clean:node_modules","bootstrap":"npm install && cd example && npm install","start":"npm run check && cd example && npm run start","build":"webpack","build:example":"npm run bootstrap && npm run build && cd example && npm run build","test":"mocha --require ./babel-polyfill.js test/**/*.spec.js","lint":"tslint ./src/*.ts ./src/**/*.ts","format":"prettier ./src/*.ts ./src/**/*.ts --write","check":"npm run clean && npm run lint && npm run format && npm run build && npm run test","reset":"npm run clean:all && npm run bootstrap && npm run check"},"devDependencies":{"@babel/cli":"^7.11.6","@babel/core":"^7.11.6","@babel/node":"^7.10.5","@babel/polyfill":"^7.11.5","@babel/preset-env":"^7.11.5","@babel/preset-typescript":"^7.1.0","@babel/register":"^7.11.5","@types/react":"^16.9.50","@types/react-dom":"^16.8.4","@types/styled-components":"^5.1.3","@types/web3":"^1.2.2","babel-eslint":"^10.1.0","chai":"^4.1.2","eslint":"^7.10.0","file-loader":"^3.0.1","husky":"^3.0.0","isomorphic-fetch":"^2.2.1","mocha":"5.2.0","prettier":"^1.18.2","terser":"^3.14.1","ts-loader":"^5.3.3","tslint":"^5.18.0","tslint-config-prettier":"^1.18.0","tslint-config-standard":"^8.0.1","typescript":"^3.1.3","url-loader":"^1.1.2","webpack":"^4.44.2","webpack-cli":"^3.2.1"},"dependencies":{"detect-browser":"^5.1.0","prop-types":"^15.7.2","react":"^16.8.6","react-dom":"^16.8.6","styled-components":"^5.1.1","tslib":"^1.10.0"},"gitHead":"86f0475ff9848e1b1c231bb627f307ed2d8049f5","_id":"@aguycalled/web3modal@1.9.7","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-TqPSSqBNR2zAneeGoQnoILVYfH22A8uL/QMFv5Do59YK6Mm8oxd8gifsTbS906ehA7Svv2T96zxctYE14DD4kQ==","shasum":"e65b3cd71f39785dc2917fd9bf0751ec8034e0c7","tarball":"https://registry.npmjs.org/@aguycalled/web3modal/-/web3modal-1.9.7.tgz","fileCount":79,"unpackedSize":1277475,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhInFNCRA9TVsSAnZWagAA/WIP/3RRiihiyrzTjLXN8qTG\nHSv+DiaaJx5NxYpEhsSFyrHc22GYlPZ8cKIKBGSpCCfhJ502Lu4LAPVsi0GH\nvCqTxBId6JFrTTL05Jfuxpf0FF/hOCowqwnf1EFWbzqsOiXmbe2JHwOJfQXQ\nhSoreq4QyHD9KSwVGe8FBNgl2g5qZetQQdE3x9Yjg/8S6yzmtFnrXzKYGcE0\nOKc9OWPcbPMhnlJU9h19WPDV6BXFvQA28iDOyJWqhLyHYPpD47fCYfzX2SnM\nt2hEGQ9O17Zw3HZf7HK4Hc0eDaY0/ugdG59PZZuTHSBgXmpKqfIqpSDfLylf\n318UilTYNIE0sn7bHnCuTRZ8NLghIV6O4wC/oh7YuAJ8dgItK+NsT+V1jlxv\nNak9NtVbUh0jxyqxvC5+vMKq7lQZqN+KovinY7zEVjsdQ9V87fdjWf2iCUqf\nt9esXGnybnu4sKMuOHLeITNWSGIGAdzwUJJTamsQaaxNeop3mMyKhCIAsSG2\naGGmOdl1a7hvBHM/xZFsREopZRXTm5PzwDGlldzvAoKGB6LEibhopQ+SNEUl\n8b+8iCVmcsq11mjEkT8leKVkQib5okMumtQ9+hDOrnIB1expRKoIQ2eUZTUV\nzCpnDvc4SB6NslhpSMpj+/30+w6q4YhFaYGPe8Zv0hPCftMMeFPgiDp2KOvq\n5htJ\r\n=4j4r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICd8zmHbXbtZk4PA1svjMJyFK9UsrU0X1i+88WwICbgGAiEA98AMo2SNnVraRKwTHl+JUgVGT7Ig9Odhx0Kh1bKLTGI="}]},"_npmUser":{"name":"aguycalled","email":"alex@nav.community"},"maintainers":[{"name":"aguycalled","email":"alex@nav.community"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web3modal_1.9.7_1629647181439_0.6826672721736387"},"_hasShrinkwrap":false},"1.9.8":{"name":"@aguycalled/web3modal","version":"1.9.8","description":"A single Web3 / Ethereum provider solution for all Wallets","keywords":["web3","crypto","ethereum","web3modal","metamask","walletconnect","portis","fortmatic","arkane","torus","authereum","frame"],"author":{"name":"Web3Modal","email":"web3modal.com"},"license":"MIT","main":"dist/index.js","unpkg":"dist/index.js","types":"dist/index.d.ts","typings":"dist/index.d.ts","directories":{"dist":"dist","test":"test"},"homepage":"https://github.com/web3modal/web3modal","repository":{"type":"git","url":"git+https://github.com/aguycalled/web3modal.git"},"bugs":{"url":"https://github.com/aguycalled/web3modal/issues"},"scripts":{"clean":"rm -rf dist","clean:example":"rm -rf example/build","clean:node_modules":"rm -rf node_modules && cd example && rm -rf node_modules","clean:all":"npm run clean && npm run clean:example && npm run clean:node_modules","bootstrap":"npm install && cd example && npm install","start":"npm run check && cd example && npm run start","build":"webpack","build:example":"npm run bootstrap && npm run build && cd example && npm run build","test":"mocha --require ./babel-polyfill.js test/**/*.spec.js","lint":"tslint ./src/*.ts ./src/**/*.ts","format":"prettier ./src/*.ts ./src/**/*.ts --write","check":"npm run clean && npm run lint && npm run format && npm run build && npm run test","reset":"npm run clean:all && npm run bootstrap && npm run check"},"devDependencies":{"@babel/cli":"^7.11.6","@babel/core":"^7.11.6","@babel/node":"^7.10.5","@babel/polyfill":"^7.11.5","@babel/preset-env":"^7.11.5","@babel/preset-typescript":"^7.1.0","@babel/register":"^7.11.5","@types/react":"^16.9.50","@types/react-dom":"^16.8.4","@types/styled-components":"^5.1.3","@types/web3":"^1.2.2","babel-eslint":"^10.1.0","chai":"^4.1.2","eslint":"^7.10.0","file-loader":"^3.0.1","husky":"^3.0.0","isomorphic-fetch":"^2.2.1","mocha":"5.2.0","prettier":"^1.18.2","terser":"^3.14.1","ts-loader":"^5.3.3","tslint":"^5.18.0","tslint-config-prettier":"^1.18.0","tslint-config-standard":"^8.0.1","typescript":"^3.1.3","url-loader":"^1.1.2","webpack":"^4.44.2","webpack-cli":"^3.2.1"},"dependencies":{"detect-browser":"^5.1.0","prop-types":"^15.7.2","react":"^16.8.6","react-dom":"^16.8.6","styled-components":"^5.1.1","tslib":"^1.10.0"},"gitHead":"9c49e03cdabbe9748b029faef269c2a97342962e","_id":"@aguycalled/web3modal@1.9.8","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-VifpI6ETSKAS5zzFspOIySXwrrhviF9iFVNZpvkzeJYQucfJ3Y7IRAYCy+3yK67n3E5aUWPTNaRrZYqdY3m/6w==","shasum":"deac0ea7a4a8f2305987389a992c99294975273b","tarball":"https://registry.npmjs.org/@aguycalled/web3modal/-/web3modal-1.9.8.tgz","fileCount":79,"unpackedSize":1278587,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhKDz1CRA9TVsSAnZWagAA6pcQAJbWeKgHyQIymf/Wi75/\nr0ASqfFc3VvaTtSg02YLVSuNeNL2lh8chAmmU1Isrqvg1MP4dT80KbYsCfXq\nBwxDmLyd4xR0QCuY6hbIYI2Bz2B6qVGXZoWcERjk1WioU+B2rkqdMdXtswu0\niDBBTGKs7DadMtPhHTLPKuJF7RRTgFRp900cnUx0Qhg7Ftw7ZfO1vIjpGC1+\neRlCbBp8c2Y5/J1g/94Ygr/z9pO8As088Lu6pM1RDqLTXT8JUX1UKfZ2EG1d\neNVvutKbU1jNMvPtTlbuGKf/fP6yOzHdhoGXIgpk91bCO8VbgjDeVXGO4F0X\nTOoLTubF7u5d1/joktIE1G/Jyv3v231TQeym+AYrqFUrUKE4nkawdkUyxe6p\nMejlnfBqGxKLCwXvyYBCZeszm5emY/qyWNsA9oaF4iDdpXiKKh/ez8hJtcjm\n4l1Stoey/OFPtCRfOZzQT97w+FDoePncU/mdwllDKwIDaeSe2kYVY5qhHW39\nBACttGHQP3yzzA7SWV5uO0fn/PRK2ZOCcgzvXifw/duHHD6BVHnSfBnCNljE\ngYPFzF5ox9eUKcVNXtHaDussj+JM2tAmxHh5d3blr6d3DgUXMnBhSdDL8DTk\nnBI0s/WbyfTGTkDFx/SnQ4oh+aHtM+GXjnpLcuVt1TkbSGn/FjoN4VWw82gE\ntqDZ\r\n=VQFK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCftBa42M7s/t/jir40WXAvZ5rAFl0A1F51hZbn0lIzygIhAIpCUbEwSTcrInwurTC7mym4A9lbsZ6YYy/rGMCoG0vb"}]},"_npmUser":{"name":"aguycalled","email":"alex@nav.community"},"maintainers":[{"name":"aguycalled","email":"alex@nav.community"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web3modal_1.9.8_1630026997714_0.35221120831924435"},"_hasShrinkwrap":false}},"time":{"created":"2021-08-17T08:48:01.181Z","1.9.4":"2021-08-17T08:48:01.476Z","modified":"2022-04-04T12:08:59.447Z","1.9.5":"2021-08-19T10:51:58.283Z","1.9.6":"2021-08-22T13:32:52.123Z","1.9.7":"2021-08-22T15:46:21.633Z","1.9.8":"2021-08-27T01:16:37.936Z"},"maintainers":[{"name":"aguycalled","email":"alex@nav.community"}],"description":"A single Web3 / Ethereum provider solution for all Wallets","homepage":"https://github.com/web3modal/web3modal","keywords":["web3","crypto","ethereum","web3modal","metamask","walletconnect","portis","fortmatic","arkane","torus","authereum","frame"],"repository":{"type":"git","url":"git+https://github.com/aguycalled/web3modal.git"},"author":{"name":"Web3Modal","email":"web3modal.com"},"bugs":{"url":"https://github.com/aguycalled/web3modal/issues"},"license":"MIT","readme":"# Web3Modal\n\nA single Web3 / Ethereum provider solution for all Wallets\n\nThis forked version has one more option, that original Repository misses. The option is to show a Hint in popup, if no injected provider was found in browser.\nFor now, it's a fixed text asking to install metamask. In future, it could be customized.\n\nOne disadvantage of the code, is the missing injected option in popup is added as a provider. However, semantically this is wrong. Happy, if someone is changing the code to use semantically correct code architecture for it.\n\n## Introduction\n\nWeb3Modal is an easy-to-use library to help developers add support for multiple providers in their apps with a simple customizable configuration.\n\nBy default Web3Modal Library supports injected providers like (**Metamask**, **Dapper**, **Gnosis Safe**, **Frame**, Web3 Browsers, etc) and **WalletConnect**, You can also easily configure the library to support **Portis**, **Fortmatic**, **Squarelink**, **Torus**, **Authereum**, **D'CENT Wallet** and **Arkane**.\n\n## Preview\n\nYou can test the library on: https://blocklords.github.io/cws-swap/\n\nIn Google Chrome browser with installed MetaMask extension\n![preview](./images/chrome.png)\n\nIn Microsoft Edge browser without any injected wallet providers:\n![preview](./images/edge.png)\n\n## Projects using `web3modal`\n\n_Open a PR to add your project to the list!_\n\n- [DAO Stack](https://alchemy.daostack.io/)\n- [Gnosis Safe](https://gnosis-safe.io/)\n- [3Box Hub](https://3box.io/hub/)\n- [KnownOrigin](https://knownorigin.io/)\n- [Clovers Network](https://clovers.network/)\n- [Affogato](https://affogato.co/)\n- [Linkdrop](https://dashboard.linkdrop.io/)\n- [Dapparatus](https://github.com/austintgriffith/dapparatus/)\n- [Totle Swap](https://swap.totle.com/)\n- [Win Or Lose](https://www.winorlose.live/)\n- etc\n\n## Related Efforts\n\n- [web3-react](https://github.com/NoahZinsmeister/web3-react/)\n\n## Usage\n\n1. Install Web3Modal NPM package\n\n```bash\nnpm install --save web3modal\n\n# OR\n\nyarn add web3modal\n```\n\n2. Install Provider packages\n\n```js\n/* See Provider Options Section */\n```\n\n3. Then you can add Web3Modal to your Dapp as follows\n\n```js\nimport Web3 from \"web3\";\nimport Web3Modal from \"web3modal\";\n\nconst providerOptions = {\n  /* See Provider Options Section */\n};\n\nconst web3Modal = new Web3Modal({\n  network: \"mainnet\", // optional\n  cacheProvider: true, // optional\n  displayNoInjectedProvider: true, // optional\n  providerOptions // required\n});\n\nconst provider = await web3Modal.connect();\n\nconst web3 = new Web3(provider);\n```\n\n## Using in vanilla JavaScript\n\nYou can use the modal from the old fashioned web page JavaScript as well.\n\n[First get a Web3modal bundled JavaScript from Releases](https://github.com/Web3Modal/web3modal/releases).\n\nAfter including the bundle in your HTML, you can use it on your web page:\n\n```js\n//  You have to refer to default since it was bundled for ESModules\n// but after that the documentation will be the same\n\nconst Web3Modal = window.Web3Modal.default;\nconst providerOptions = {\n  /* See Provider Options Section */\n};\n\nconst web3Modal = new Web3Modal({\n  network: \"mainnet\", // optional\n  cacheProvider: true, // optional\n  displayNoInjectedProvider: true, // optional\n  providerOptions // required\n});\n\nconst provider = await web3Modal.connect();\n```\n\n[See the full vanilla JavaScript example application](https://github.com/Web3Modal/web3modal-vanilla-js-example).\n\n## Provider Events\n\nYou should subscribe to provider events compatible with [EIP-1193](https://eips.ethereum.org/EIPS/eip-1193) standard.\n\n```typescript\n// Subscribe to accounts change\nprovider.on(\"accountsChanged\", (accounts: string[]) => {\n  console.log(accounts);\n});\n\n// Subscribe to chainId change\nprovider.on(\"chainChanged\", (chainId: number) => {\n  console.log(chainId);\n});\n\n// Subscribe to provider connection\nprovider.on(\"connect\", (info: { chainId: number }) => {\n  console.log(info);\n});\n\n// Subscribe to provider disconnection\nprovider.on(\"disconnect\", (error: { code: number; message: string }) => {\n  console.log(error);\n});\n```\n\n## Provider Options\n\nThese are all the providers available with Web3Modal and how to configure their provider options:\n\n- [WalletConnect](./docs/providers/walletconnect.md)\n- [Fortmatic](./docs/providers/fortmatic.md)\n- [Torus](./docs/providers/torus.md)\n- [Portis](./docs/providers/portis.md)\n- [Authereum](./docs/providers/authereum.md)\n- [Frame](./docs/providers/frame.md)\n- [Bitski](./docs/providers/bitski.md)\n- [Arkane](./docs/providers/arkane.md)\n- [DCent](./docs/providers/dcent.md)\n- [BurnerConnect](./docs/providers/burnerconnect.md)\n- [MEWConnect](./docs/providers/mewconnect.md)\n- [NoIndexedProvider](./docs/providers/noindexedprovider.md)\n\n## API\n\n```typescript\nclass Web3Modal {\n  cachedProvider: string;\n  connect(): Promise<any>;\n  connectTo(id: string): Promise<any>;\n  toggleModal(): Promise<void>;\n  on(event: string, callback: SimpleFunction): SimpleFunction;\n  off(event: string, callback?: SimpleFunction): void;\n  clearCachedProvider(): void;\n  setCachedProvider(): void;\n  updateTheme(theme: string | ThemeColors): Promise<void>;\n}\n```\n\n## Utils\n\n```typescript\nfunction getInjectedProvider(): IProviderInfo | null;\nfunction getInjectedProviderName(): string | null;\n\nfunction getProviderInfo(provider: any): IProviderInfo;\nfunction getProviderInfoByName(name: string | null): IProviderInfo;\nfunction getProviderInfoById(id: string | null): IProviderInfo;\nfunction getProviderInfoByCheck(check: string | null): IProviderInfo;\n```\n\n## Types\n\n```typescript\ninterface IProviderInfo {\n  id: string;\n  type: string;\n  check: string;\n  name: string;\n  logo: string;\n  description?: string;\n  package?: {\n    required?: string[];\n  };\n}\n\ntype ThemeColors = {\n  background: string;\n  main: string;\n  secondary: string;\n  border: string;\n  hover: string;\n};\n\ntype SimpleFunction = (input?: any) => void;\n```\n\n## Custom Themes\n\nThe theme enabled by default is `light` but dark theme is also available by setting the option `theme` to `dark`, as follows:\n\n```typescript\nconst web3Modal = new Web3Modal({\n  ...otherOptions,\n  theme: \"dark\"\n});\n```\n\nCompletely custom themes are also available by passing an object instead with the following parameters with valid css colors values:\n\n```typescript\nconst web3Modal = new Web3Modal({\n  ...otherOptions,\n  theme: {\n    background: \"rgb(39, 49, 56)\",\n    main: \"rgb(199, 199, 199)\",\n    secondary: \"rgb(136, 136, 136)\",\n    border: \"rgba(195, 195, 195, 0.14)\",\n    hover: \"rgb(16, 26, 32)\"\n  }\n});\n```\n\nAddtionally you can also update the modal theme after instantiated by calling the following method:\n\n```typescript\nawait web3Modal.updateTheme(\"dark\");\n\n// OR\n\nawait web3Modal.updateTheme({\n  background: \"rgb(39, 49, 56)\",\n  main: \"rgb(199, 199, 199)\",\n  secondary: \"rgb(136, 136, 136)\",\n  border: \"rgba(195, 195, 195, 0.14)\",\n  hover: \"rgb(16, 26, 32)\"\n});\n```\n\n## Custom Display\n\nIt's possible to customize the display of each provider to change the name, description and logo. These options are available as part of the provider options as following\n\n```typescript\nconst providerOptions = {\n  // Example with injected providers\n  injected: {\n    display: {\n      logo: \"data:image/gif;base64,INSERT_BASE64_STRING\",\n      name: \"Injected\",\n      description: \"Connect with the provider in your Browser\"\n    },\n    package: null\n  },\n  // Example with WalletConnect provider\n  walletconnect: {\n    display: {\n      logo: \"data:image/gif;base64,INSERT_BASE64_STRING\",\n      name: \"Mobile\",\n      description: \"Scan qrcode with your mobile wallet\"\n    },\n    package: WalletConnectProvider,\n    options: {\n      infuraId: \"INFURA_ID\" // required\n    }\n  }\n};\n```\n\nYou can change only one of the display options, you are not required to fill all 3 options, example:\n\n```typescript\nconst providerOptions = {\n  walletconnect: {\n    display: {\n      name: \"Mobile\"\n    },\n    package: WalletConnectProvider,\n    options: {\n      infuraId: \"INFURA_ID\" // required\n    }\n  }\n};\n```\n\n## Custom Provider\n\nIf you would like to include a provider that isn't supported yet on Web3Modal, we would recommend you submit a PR following the simple five steps in our [\"Adding Providers\" instructions](docs/ADDING_PROVIDERS.md)\n\nIf still need to add a custom provider to your Web3Modal integration, you can add it to the provider options with a key prefixed with `custom-` and you will need to include the display options and connector handler as follows\n\n```typescript\nimport ExampleProvider from \"example-provider\";\n\nconst providerOptions = {\n  \"custom-example\": {\n    display: {\n      logo: \"data:image/gif;base64,INSERT_BASE64_STRING\",\n      name: \"Example Provider\",\n      description: \"Connect to your example provider account\"\n    }\n    package: ExampleProvider,\n    options: {\n      apiKey: \"EXAMPLE_PROVIDER_API_KEY\"\n    },\n    connector: async (ProviderPackage, options) => {\n        const provider = new ProviderPackage(options);\n\n        await provider.enable()\n\n        return provider;\n    }\n  }\n}\n```\n\n## Connect to specific provider\n\nIn case you want to connect a specific provider, you can use the method `connectTo` and use the specific id. Example:\n\n```js\nimport Web3 from \"web3\";\nimport Web3Modal from \"web3modal\";\n\nconst providerOptions = {\n  /* See Provider Options Section */\n};\n\nconst web3Modal = new Web3Modal({\n  network: \"mainnet\", // optional\n  cacheProvider: true, // optional\n  providerOptions // required\n});\n\nconst provider = await web3Modal.connectTo(\"walletconnect\");\n\nconst web = new Web3(provider);\n```\n\n## Optional Flags\n\n### Disable Injected Provider\n\nBy default is set to `false` and Web3Modal always displays InjectedProvider as an option to the user if available. However you can disable it as an optional flag if you desire:\n\n```javascript\nconst web3Modal = new Web3Modal({ disableInjectedProvider: true });\n```\n\n### Display No Injected Provider in Popup\n\nBy default is set to `true` and Web3Modal always displays NoInjectedProvider as an option to the user if available. However you can disable it as an optional flag if you desire:\n\n```javascript\nconst web3Modal = new Web3Modal({ displayNoInjectedProvider: false });\n```\n\n### Cache Provider\n\nBy default is set to `false` and Web3Modal will always require the user to choose a provider option before triggering the onConnect event. However you can enable caching the last chosen provider. Example:\n\n```javascript\nconst web3Modal = new Web3Modal({ cacheProvider: true });\n```\n\nIf you wish to reset the cached provider you can call the following method:\n\n```typescript\nweb3Modal.clearCachedProvider();\n```\n\nIf you wish to connect to the cachedProvider you can simply do the following:\n\n```typescript\nif (web3Modal.cachedProvider) {\n  await web3Modal.connect();\n}\n```\n\n## Adding a new provider\n\nDo you want to add your provider to Web3Modal? All logic for supported providers lives inside the `src/providers` directory. To add a new follow the following steps [here](docs/ADDING_PROVIDERS.md)\n\n## Migrating from Web3Connect\n\nIf you were using Web3Connect before you can check the migration instructions for how to use Web3Modal and handle breaking changes [here](docs/MIGRATION_INSTRUCTIONS.md)\n\n## Contributions\n\n**Code contributions are welcome ❤️❤️❤️!**\n\nIf you wish to support a new provider submit a issue to the repo or fork this repo and create a pull request.\n\nYou can join to our discord to further discuss https://discordapp.com/invite/YGnSX9y\n\n## License\n\nMIT\n","readmeFilename":"README.md"}