{"_id":"@blzd-dev/use-wallet","_rev":"7-4de8cdbdee7733512e15059b9bb7b261","name":"@blzd-dev/use-wallet","dist-tags":{"latest":"0.10.5"},"versions":{"0.10.0":{"name":"@blzd-dev/use-wallet","version":"0.10.0","author":{"name":"blzd-dev","email":"blizzard.money.dev@gmail.com"},"license":"MIT","main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/cjs/index.d.ts","sideEffects":false,"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests","lint":"tsdx lint src","prepublishOnly":"git push && git push --tags","prepare":"rm -rf ./dist && yarn build"},"dependencies":{"@aragon/provided-connector":"^6.0.8","@typescript-eslint/parser":"^4.1.0","@web3-react/core":"^6.1.1","@web3-react/fortmatic-connector":"^6.1.6","@web3-react/frame-connector":"^6.0.9","@web3-react/injected-connector":"^6.0.7","@web3-react/ledger-connector":"^6.1.9","@web3-react/portis-connector":"^6.1.6","@web3-react/torus-connector":"^6.1.7","@web3-react/walletconnect-connector":"^6.1.6","@web3-react/walletlink-connector":"^6.1.6","jsbi":"^3.1.4","prop-types":"^15.7.2","regenerator-runtime":"^0.13.7","rollup-plugin-image-files":"^1.4.2"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"devDependencies":{"@types/react":"^16.9.49","@types/react-dom":"^16.9.8","@typescript-eslint/eslint-plugin":"^4.1.0","@web3-react/abstract-connector":"^6.0.7","babel-eslint":"^10.1.0","eslint":"^7.8.1","eslint-config-prettier":"^6.9.0","eslint-config-react-app":"^5.2.1","eslint-config-standard":"^14.1.0","eslint-config-standard-react":"^9.2.0","eslint-plugin-flowtype":"^5.2.0","eslint-plugin-import":"^2.20.0","eslint-plugin-jsx-a11y":"^6.3.1","eslint-plugin-node":"^11.0.0","eslint-plugin-prettier":"^3.1.2","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.20.6","eslint-plugin-react-hooks":"^4.1.0","eslint-plugin-standard":"^4.0.1","husky":"^4.3.0","prettier":"^2.1.1","react":"^16.13.1","react-dom":"^16.13.1","tsdx":"^0.14.1","tslib":"^2.0.1","typescript":"^4.0.2"},"peerDependencies":{"react":"^16.12.0"},"gitHead":"b85bb499bba546b53bdcf0b7a76ab291603f95c9","description":"[<img src=\"https://img.shields.io/npm/v/use-wallet\" alt=\"\" />](https://www.npmjs.com/package/use-wallet) [<img src=\"https://img.shields.io/bundlephobia/minzip/use-wallet\" alt=\"\" />](https://bundlephobia.com/result?p=use-wallet)","_id":"@blzd-dev/use-wallet@0.10.0","_nodeVersion":"14.16.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-7zLVMWc2AHt4Ztd/Rz/U0VZtODFSPtK6GOk8XwmlaHsxRkmdUxoBSj69iHPKoKrE7l7v/3OlW0t74YCdBttJ8A==","shasum":"846986c44f489d502758f10d5abe259bf402601b","tarball":"https://registry.npmjs.org/@blzd-dev/use-wallet/-/use-wallet-0.10.0.tgz","fileCount":24,"unpackedSize":291909,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC438EqOii0bxkGzshUghUdOhsNHbI9nkVhAqAHsSWKYgIgc/JwsjBLbN0itEDkX2rDZ+5vSIF/MGvJJgT5ANjDg+g="}]},"_npmUser":{"name":"blzd-dev","email":"blizzard.money.dev@gmail.com"},"directories":{},"maintainers":[{"name":"blzd-dev","email":"blizzard.money.dev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-wallet_0.10.0_1632378522772_0.3136891608225991"},"_hasShrinkwrap":false},"0.10.1":{"name":"@blzd-dev/use-wallet","version":"0.10.1","author":{"name":"blzd-dev","email":"blizzard.money.dev@gmail.com"},"license":"MIT","main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/cjs/index.d.ts","sideEffects":false,"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests","lint":"tsdx lint src","prepublishOnly":"git push && git push --tags","prepare":"rm -rf ./dist && yarn build"},"dependencies":{"@aragon/provided-connector":"^6.0.8","@typescript-eslint/parser":"^4.1.0","@web3-react/core":"^6.1.1","@web3-react/fortmatic-connector":"^6.1.6","@web3-react/frame-connector":"^6.0.9","@web3-react/injected-connector":"^6.0.7","@web3-react/ledger-connector":"^6.1.9","@web3-react/portis-connector":"^6.1.6","@web3-react/torus-connector":"^6.1.7","@web3-react/walletconnect-connector":"^6.1.6","@web3-react/walletlink-connector":"^6.1.6","jsbi":"^3.1.4","prop-types":"^15.7.2","regenerator-runtime":"^0.13.7","rollup-plugin-image-files":"^1.4.2"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"devDependencies":{"@types/react":"^16.9.49","@types/react-dom":"^16.9.8","@typescript-eslint/eslint-plugin":"^4.1.0","@web3-react/abstract-connector":"^6.0.7","babel-eslint":"^10.1.0","eslint":"^7.8.1","eslint-config-prettier":"^6.9.0","eslint-config-react-app":"^5.2.1","eslint-config-standard":"^14.1.0","eslint-config-standard-react":"^9.2.0","eslint-plugin-flowtype":"^5.2.0","eslint-plugin-import":"^2.20.0","eslint-plugin-jsx-a11y":"^6.3.1","eslint-plugin-node":"^11.0.0","eslint-plugin-prettier":"^3.1.2","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.20.6","eslint-plugin-react-hooks":"^4.1.0","eslint-plugin-standard":"^4.0.1","husky":"^4.3.0","prettier":"^2.1.1","react":"^16.13.1","react-dom":"^16.13.1","tsdx":"^0.14.1","tslib":"^2.0.1","typescript":"^4.0.2"},"peerDependencies":{"react":"^16.12.0"},"gitHead":"b85bb499bba546b53bdcf0b7a76ab291603f95c9","description":"[<img src=\"https://img.shields.io/npm/v/use-wallet\" alt=\"\" />](https://www.npmjs.com/package/use-wallet) [<img src=\"https://img.shields.io/bundlephobia/minzip/use-wallet\" alt=\"\" />](https://bundlephobia.com/result?p=use-wallet)","_id":"@blzd-dev/use-wallet@0.10.1","_nodeVersion":"14.16.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-QvdoMSvGjRF7Cd1pOyDxp3YVr2VoYQRJSdv484R1wzC0p1je94IMbuieMO7el39tqNkOxMANzItcUFl13VE34g==","shasum":"886ceceab22ffd431698e8d8d6d23fd3da7f6c47","tarball":"https://registry.npmjs.org/@blzd-dev/use-wallet/-/use-wallet-0.10.1.tgz","fileCount":24,"unpackedSize":294394,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF7h+e6p1FToTe4IGolIbY4N8ESOUf6FAIiLi4r9KDeqAiAukp+tZFqdYBbXfXcTt3JbcOeL7pNOGgcF5JLlshD50w=="}]},"_npmUser":{"name":"blzd-dev","email":"blizzard.money.dev@gmail.com"},"directories":{},"maintainers":[{"name":"blzd-dev","email":"blizzard.money.dev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-wallet_0.10.1_1632379419806_0.12661646831300288"},"_hasShrinkwrap":false},"0.10.2":{"name":"@blzd-dev/use-wallet","version":"0.10.2","author":{"name":"blzd-dev","email":"blizzard.money.dev@gmail.com"},"license":"MIT","main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/cjs/index.d.ts","sideEffects":false,"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests","lint":"tsdx lint src","prepublishOnly":"git push && git push --tags","prepare":"rm -rf ./dist && yarn build"},"dependencies":{"@aragon/provided-connector":"^6.0.8","@typescript-eslint/parser":"^4.1.0","@web3-react/core":"^6.1.9","@web3-react/fortmatic-connector":"^6.1.6","@web3-react/frame-connector":"^6.0.9","@web3-react/injected-connector":"^6.0.7","@web3-react/ledger-connector":"^6.1.9","@web3-react/portis-connector":"^6.1.9","@web3-react/torus-connector":"^6.1.9","@web3-react/walletconnect-connector":"^6.2.4","@web3-react/walletlink-connector":"^6.2.5","jsbi":"^3.1.4","prop-types":"^15.7.2","regenerator-runtime":"^0.13.7","rollup-plugin-image-files":"^1.4.2"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"devDependencies":{"@types/react":"^16.9.49","@types/react-dom":"^16.9.8","@typescript-eslint/eslint-plugin":"^4.1.0","@web3-react/abstract-connector":"^6.0.7","babel-eslint":"^10.1.0","eslint":"^7.8.1","eslint-config-prettier":"^6.9.0","eslint-config-react-app":"^5.2.1","eslint-config-standard":"^14.1.0","eslint-config-standard-react":"^9.2.0","eslint-plugin-flowtype":"^5.2.0","eslint-plugin-import":"^2.20.0","eslint-plugin-jsx-a11y":"^6.3.1","eslint-plugin-node":"^11.0.0","eslint-plugin-prettier":"^3.1.2","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.20.6","eslint-plugin-react-hooks":"^4.1.0","eslint-plugin-standard":"^4.0.1","husky":"^4.3.0","prettier":"^2.1.1","react":"^16.13.1","react-dom":"^16.13.1","tsdx":"^0.14.1","tslib":"^2.0.1","typescript":"^4.0.2"},"peerDependencies":{"react":"^16.12.0"},"gitHead":"b85bb499bba546b53bdcf0b7a76ab291603f95c9","description":"[<img src=\"https://img.shields.io/npm/v/use-wallet\" alt=\"\" />](https://www.npmjs.com/package/use-wallet) [<img src=\"https://img.shields.io/bundlephobia/minzip/use-wallet\" alt=\"\" />](https://bundlephobia.com/result?p=use-wallet)","_id":"@blzd-dev/use-wallet@0.10.2","_nodeVersion":"14.16.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-pk2CWxqSfNfFos9TnByN6t1K2GWlSrd7HyRIXP1FEUzpSN29+tLwnq5anwqBSyUF/EocZ97LQdONZlWMwA7V7Q==","shasum":"2bc698fc3257b2624e75be2b44fff005c44d835d","tarball":"https://registry.npmjs.org/@blzd-dev/use-wallet/-/use-wallet-0.10.2.tgz","fileCount":24,"unpackedSize":294394,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWW6+xFCeuDXx1WoJGMkxtuKuEBdRUt2DKxqSJRyJ3xQIhAMiQr+PPsmUujExWhB79GPxjFm5xjCuCOAhkg7v7UXRL"}]},"_npmUser":{"name":"blzd-dev","email":"blizzard.money.dev@gmail.com"},"directories":{},"maintainers":[{"name":"blzd-dev","email":"blizzard.money.dev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-wallet_0.10.2_1632379993773_0.6892973881243503"},"_hasShrinkwrap":false},"0.10.3":{"name":"@blzd-dev/use-wallet","version":"0.10.3","author":{"name":"blzd-dev","email":"blizzard.money.dev@gmail.com"},"license":"MIT","main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/cjs/index.d.ts","sideEffects":false,"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests","lint":"tsdx lint src","prepublishOnly":"git push && git push --tags","prepare":"rm -rf ./dist && yarn build"},"dependencies":{"@aragon/provided-connector":"^6.0.8","@binance-chain/bsc-connector":"^1.0.0","@typescript-eslint/parser":"^4.1.0","@web3-react/core":"^6.1.9","@web3-react/fortmatic-connector":"^6.1.6","@web3-react/frame-connector":"^6.0.9","@web3-react/injected-connector":"^6.0.7","@web3-react/ledger-connector":"^6.1.9","@web3-react/portis-connector":"^6.1.9","@web3-react/torus-connector":"^6.1.9","@web3-react/walletconnect-connector":"^6.2.4","@web3-react/walletlink-connector":"^6.2.5","jsbi":"^3.1.4","prop-types":"^15.7.2","regenerator-runtime":"^0.13.7","rollup-plugin-image-files":"^1.4.2"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"devDependencies":{"@types/react":"^16.9.49","@types/react-dom":"^16.9.8","@typescript-eslint/eslint-plugin":"^4.1.0","@web3-react/abstract-connector":"^6.0.7","babel-eslint":"^10.1.0","eslint":"^7.8.1","eslint-config-prettier":"^6.9.0","eslint-config-react-app":"^5.2.1","eslint-config-standard":"^14.1.0","eslint-config-standard-react":"^9.2.0","eslint-plugin-flowtype":"^5.2.0","eslint-plugin-import":"^2.20.0","eslint-plugin-jsx-a11y":"^6.3.1","eslint-plugin-node":"^11.0.0","eslint-plugin-prettier":"^3.1.2","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.20.6","eslint-plugin-react-hooks":"^4.1.0","eslint-plugin-standard":"^4.0.1","husky":"^4.3.0","prettier":"^2.1.1","react":"^16.13.1","react-dom":"^16.13.1","tsdx":"^0.14.1","tslib":"^2.0.1","typescript":"^4.0.2"},"peerDependencies":{"react":"^16.12.0"},"gitHead":"b85bb499bba546b53bdcf0b7a76ab291603f95c9","description":"[<img src=\"https://img.shields.io/npm/v/use-wallet\" alt=\"\" />](https://www.npmjs.com/package/use-wallet) [<img src=\"https://img.shields.io/bundlephobia/minzip/use-wallet\" alt=\"\" />](https://bundlephobia.com/result?p=use-wallet)","_id":"@blzd-dev/use-wallet@0.10.3","_nodeVersion":"14.16.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-F1Axn5p61wHUN2V61vP6U15+2hgRJ8xifsAEn1Z0MDFd1lsmDcdrVdANaDOf6NfQ2mP1NL0qGAFkXwGiySAwkg==","shasum":"dce0576730a821ac64cc1ff32a59b49f26286a1d","tarball":"https://registry.npmjs.org/@blzd-dev/use-wallet/-/use-wallet-0.10.3.tgz","fileCount":25,"unpackedSize":298867,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAc74UphUTgYCA6FW2uHjZAgsj9f/mKaNACkG935tzdgAiB3GWd0dkDD/eA56KGY4wW+RYL3P/EXO4wW6kZ99SxqnA=="}]},"_npmUser":{"name":"blzd-dev","email":"blizzard.money.dev@gmail.com"},"directories":{},"maintainers":[{"name":"blzd-dev","email":"blizzard.money.dev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-wallet_0.10.3_1632381675947_0.6147379625400158"},"_hasShrinkwrap":false},"0.10.4":{"name":"@blzd-dev/use-wallet","version":"0.10.4","author":{"name":"blzd-dev","email":"blizzard.money.dev@gmail.com"},"license":"MIT","main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/cjs/index.d.ts","sideEffects":false,"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests","lint":"tsdx lint src","prepublishOnly":"git push && git push --tags","prepare":"rm -rf ./dist && yarn build"},"dependencies":{"@aragon/provided-connector":"^6.0.8","@binance-chain/bsc-connector":"^1.0.0","@typescript-eslint/parser":"^4.1.0","@web3-react/core":"^6.1.9","@web3-react/fortmatic-connector":"^6.1.6","@web3-react/frame-connector":"^6.0.9","@web3-react/injected-connector":"^6.0.7","@web3-react/ledger-connector":"^6.1.9","@web3-react/portis-connector":"^6.1.9","@web3-react/torus-connector":"^6.1.9","@web3-react/walletconnect-connector":"^6.2.4","@web3-react/walletlink-connector":"^6.2.5","jsbi":"^3.1.4","prop-types":"^15.7.2","regenerator-runtime":"^0.13.7","rollup-plugin-image-files":"^1.4.2"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"devDependencies":{"@types/react":"^16.9.49","@types/react-dom":"^16.9.8","@typescript-eslint/eslint-plugin":"^4.1.0","@web3-react/abstract-connector":"^6.0.7","babel-eslint":"^10.1.0","eslint":"^7.8.1","eslint-config-prettier":"^6.9.0","eslint-config-react-app":"^5.2.1","eslint-config-standard":"^14.1.0","eslint-config-standard-react":"^9.2.0","eslint-plugin-flowtype":"^5.2.0","eslint-plugin-import":"^2.20.0","eslint-plugin-jsx-a11y":"^6.3.1","eslint-plugin-node":"^11.0.0","eslint-plugin-prettier":"^3.1.2","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.20.6","eslint-plugin-react-hooks":"^4.1.0","eslint-plugin-standard":"^4.0.1","husky":"^4.3.0","prettier":"^2.1.1","react":"^16.13.1","react-dom":"^16.13.1","tsdx":"^0.14.1","tslib":"^2.0.1","typescript":"^4.0.2"},"peerDependencies":{"react":"^16.12.0"},"gitHead":"b85bb499bba546b53bdcf0b7a76ab291603f95c9","description":"[<img src=\"https://img.shields.io/npm/v/use-wallet\" alt=\"\" />](https://www.npmjs.com/package/use-wallet) [<img src=\"https://img.shields.io/bundlephobia/minzip/use-wallet\" alt=\"\" />](https://bundlephobia.com/result?p=use-wallet)","_id":"@blzd-dev/use-wallet@0.10.4","_nodeVersion":"14.16.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-BbvApu3bS+RdPDlB7eKXDhOdCSpicIQMnxzV3syp0nVQ+nd7QaBEADHW1/4mXKLcwa1v/f0cq3TqcIz+maNJ4g==","shasum":"7adb5ea2c7fba13e21393c2b2e362795c47100a9","tarball":"https://registry.npmjs.org/@blzd-dev/use-wallet/-/use-wallet-0.10.4.tgz","fileCount":25,"unpackedSize":299079,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDyMa7YK0h+5yU90i9GRULbTm5q+OytbTp3mUuP8QwnaAIgKo3ARg4YPYxT6XoHf833s0tyWS0i3GR0ezNn+cSn3fM="}]},"_npmUser":{"name":"blzd-dev","email":"blizzard.money.dev@gmail.com"},"directories":{},"maintainers":[{"name":"blzd-dev","email":"blizzard.money.dev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-wallet_0.10.4_1632381961716_0.19835877112899558"},"_hasShrinkwrap":false},"0.10.5":{"name":"@blzd-dev/use-wallet","version":"0.10.5","author":{"name":"blzd-dev","email":"blizzard.money.dev@gmail.com"},"license":"MIT","main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/cjs/index.d.ts","sideEffects":false,"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests","lint":"tsdx lint src","prepublishOnly":"git push && git push --tags","prepare":"rm -rf ./dist && yarn build"},"dependencies":{"@aragon/provided-connector":"^6.0.8","@binance-chain/bsc-connector":"^1.0.0","@typescript-eslint/parser":"^4.1.0","@web3-react/core":"^6.1.9","@web3-react/fortmatic-connector":"^6.1.6","@web3-react/frame-connector":"^6.0.9","@web3-react/injected-connector":"^6.0.7","@web3-react/ledger-connector":"^6.1.9","@web3-react/portis-connector":"^6.1.9","@web3-react/torus-connector":"^6.1.9","@web3-react/walletconnect-connector":"^6.2.4","@web3-react/walletlink-connector":"^6.2.5","jsbi":"^3.1.4","prop-types":"^15.7.2","regenerator-runtime":"^0.13.7","rollup-plugin-image-files":"^1.4.2"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"devDependencies":{"@types/react":"^16.9.49","@types/react-dom":"^16.9.8","@typescript-eslint/eslint-plugin":"^4.1.0","@web3-react/abstract-connector":"^6.0.7","babel-eslint":"^10.1.0","eslint":"^7.8.1","eslint-config-prettier":"^6.9.0","eslint-config-react-app":"^5.2.1","eslint-config-standard":"^14.1.0","eslint-config-standard-react":"^9.2.0","eslint-plugin-flowtype":"^5.2.0","eslint-plugin-import":"^2.20.0","eslint-plugin-jsx-a11y":"^6.3.1","eslint-plugin-node":"^11.0.0","eslint-plugin-prettier":"^3.1.2","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.20.6","eslint-plugin-react-hooks":"^4.1.0","eslint-plugin-standard":"^4.0.1","husky":"^4.3.0","prettier":"^2.1.1","react":"^16.13.1","react-dom":"^16.13.1","tsdx":"^0.14.1","tslib":"^2.0.1","typescript":"^4.0.2"},"peerDependencies":{"react":"^16.12.0"},"gitHead":"b85bb499bba546b53bdcf0b7a76ab291603f95c9","description":"[<img src=\"https://img.shields.io/npm/v/use-wallet\" alt=\"\" />](https://www.npmjs.com/package/use-wallet) [<img src=\"https://img.shields.io/bundlephobia/minzip/use-wallet\" alt=\"\" />](https://bundlephobia.com/result?p=use-wallet)","_id":"@blzd-dev/use-wallet@0.10.5","_nodeVersion":"14.16.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-ndrR+ASDowspSrNeno+NOYQ3lbTPmO2oeGZam2QgnOeA0VYAe5bienxpxMrDxRPf/1wEe+Tf9D5UVf0J0DSoBg==","shasum":"04565da194b247146d6eae55af22a90641282b7d","tarball":"https://registry.npmjs.org/@blzd-dev/use-wallet/-/use-wallet-0.10.5.tgz","fileCount":25,"unpackedSize":299305,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2BrjCRA9TVsSAnZWagAA3CsQAJzsrXdb4URPEghjKQgq\nNEZGysnwFP4lMNZjlQzoASvN8AxJKnFxu3vNozzpkJ1Ctujw7ERZGtpnbmWp\nodwuvv8c0fbejqIn5ifZrb4cdNGcN3hdyPfXXWVdeI98y3ZfOsacqNlFfr4H\nds6G0jMHRatJgD53njSu4QtXL6+n8Z1/qrhmMHiqZ5OozgrisLIQrD1oTmyB\nwzhGNFVtCMW/BXmwVSLzrRelL1aLVccpcI5kLk7Li6zHBOIk9Ru0bf16Gw4f\nCiYmMEAif01y5i4R+kQU9x0joJJsERHNc8KGvgZVGR16WKO44s/17t0fAWkP\nXZZn7p3b4eiy7qcENuNreitbVf0Ndgl93kucknCHfiyzuaGlea0L/MXTxUNT\nDW9dNjnqaAChsjrUW/1GAeGXaguXcKrg3SLr+wR2QoSuDgc6QLMQgv/NWpbu\nukc0Y2ExoB5SzHVDkG+6bTLR5fbcRUG9GJrg2aowCWVo73xiST9Nd7I3j/ru\nd7bn2GyU9HTHlggGKOGxntnEiDASr6iwFSpDZbwJxY5c3MBXOg4+1GuuLy4S\ns5RFeN5RanlG+dMmzPQLjFwgBdJvuAEnLCSIK2oSJi7hz9d8CRlG9y0Ih1CT\nUGfqa+QQfYO5a5C5XWrEoiridWTE6zocppNqEp6dqKLfE2Nn0SM/ZzRgh4+4\nqLZH\r\n=o56O\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDW2BKicD58QZqmKR6Jy2OGoXURJYqSfG7UXeU1Q82HPAiEA8b/kROvSXhNUH8N6mz8Y7zqYigYey/TNmjSqN8Y4Yk0="}]},"_npmUser":{"name":"blzd-dev","email":"blizzard.money.dev@gmail.com"},"directories":{},"maintainers":[{"name":"blzd-dev","email":"blizzard.money.dev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-wallet_0.10.5_1632392737822_0.17680372937410382"},"_hasShrinkwrap":false}},"time":{"created":"2021-09-23T06:28:42.703Z","0.10.0":"2021-09-23T06:28:42.949Z","modified":"2022-04-04T19:51:24.854Z","0.10.1":"2021-09-23T06:43:40.013Z","0.10.2":"2021-09-23T06:53:13.930Z","0.10.3":"2021-09-23T07:21:16.089Z","0.10.4":"2021-09-23T07:26:01.923Z","0.10.5":"2021-09-23T10:25:38.022Z"},"maintainers":[{"name":"blzd-dev","email":"blizzard.money.dev@gmail.com"}],"description":"[<img src=\"https://img.shields.io/npm/v/use-wallet\" alt=\"\" />](https://www.npmjs.com/package/use-wallet) [<img src=\"https://img.shields.io/bundlephobia/minzip/use-wallet\" alt=\"\" />](https://bundlephobia.com/result?p=use-wallet)","author":{"name":"blzd-dev","email":"blizzard.money.dev@gmail.com"},"license":"MIT","readme":"# 👛 useWallet()\n\n[<img src=\"https://img.shields.io/npm/v/use-wallet\" alt=\"\" />](https://www.npmjs.com/package/use-wallet) [<img src=\"https://img.shields.io/bundlephobia/minzip/use-wallet\" alt=\"\" />](https://bundlephobia.com/result?p=use-wallet)\n\nuseWallet() allows dapp users to connect to the provider of their choice in a way that is as straightforward as possible. It provides a common data structure for any connected account, no matter what provider has been chosen by the user. It aims to provide some features that are often reimplemented by dapp developers: connecting to a wallet, keeping track of transactions, and more (submit a [issue](https://github.com/aragon/use-wallet/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc) or PR!).\n\n## Features\n\n- All-in-one solution to connect to Ethereum providers.\n- Completely library agnostic (use Web3.js, ethers.js, …).\n- Provides the current balance.\n- Keeps track of the recent transactions (coming soon).\n\n### Opinionated?\n\nOh yes:\n\n- React only.\n- Ethereum only (for now).\n- Supports one network at a time.\n- Embeds as many providers as possible.\n- Every prop and parameter is optional.\n\n### What useWallet() is not\n\n- An Ethereum wallet implementation.\n- A low-level, fully configurable connection system for Ethereum providers (see [web3-react](https://github.com/NoahZinsmeister/web3-react) if you are after that).\n- An general library to interact with Ethereum (see ethers.js, Web3.js, etc.).\n\n### Used by\n\n- [Aragon client](https://github.com/aragon/aragon)\n- [Aragon’s Court Dashboard](https://github.com/aragon/court-dashboard)\n- [Aragon Voice](https://github.com/vocdoni/bridge-ui/)\n- [Wallets Chat](https://app.wallets.chat/)\n\n- _(Your project!)_\n\n## Usage\n\nAdd it to your project:\n\n```console\nyarn add use-wallet\n```\n\nUse it in your React app:\n\n```jsx\n// App.js\n\nimport React from 'react'\nimport { useWallet, UseWalletProvider } from 'use-wallet'\n\nfunction App() {\n  const wallet = useWallet()\n  const blockNumber = wallet.getBlockNumber()\n\n  return (\n    <>\n      <h1>Wallet</h1>\n      {wallet.status === 'connected' ? (\n        <div>\n          <div>Account: {wallet.account}</div>\n          <div>Balance: {wallet.balance}</div>\n          <button onClick={() => wallet.reset()}>disconnect</button>\n        </div>\n      ) : (\n        <div>\n          Connect:\n          <button onClick={() => wallet.connect()}>MetaMask</button>\n          <button onClick={() => wallet.connect('frame')}>Frame</button>\n          <button onClick={() => wallet.connect('portis')}>Portis</button>\n        </div>\n      )}\n    </>\n  )\n}\n\n// Wrap everything in <UseWalletProvider />\nexport default () => (\n  <UseWalletProvider\n    chainId={1}\n    connectors={{\n      // This is how connectors get configured\n      portis: { dAppId: 'my-dapp-id-123-xyz' },\n    }}\n  >\n    <App />\n  </UseWalletProvider>\n)\n```\n\n## API\n\n### &lt;UseWalletProvider />\n\nThis is the provider component. It should be placed above any component using `useWallet()`. Apart from `children`, it accepts two other props:\n\n#### chainId\n\nThe [Chain ID](https://chainid.network/) supported by the connection. Defaults to 1.\n\n#### connectors\n\nConfiguration for the different connectors. If you use a connector that requires a configuration but do not provide one, an error will be thrown.\n\n- `injected`: no configuration needed.\n- `frame`: no configuration needed.\n- `fortmatic`: `{ apiKey }`\n- `portis`: `{ dAppId }`\n- `provided`: `{ provider }`\n- `authereum`: no configuration needed.\n- `squarelink`: `{ clientId, options }`\n- `walletconnect`: `{ rpcUrl }`\n- `walletlink`: `{ url, appName, appLogoUrl }`\n\nSee the [web3-react documentation](https://github.com/NoahZinsmeister/web3-react/tree/v6/docs) for more details.\n\n### useWallet()\n\nThis is the hook to be used throughout the app.\n\nIt takes an optional object as a single param, containing the following:\n\n- `pollBalanceInterval`: the interval used to poll the wallet balance. Defaults to 2000.\n- `pollBlockNumberInterval`: the interval used to poll the block number. Defaults to 5000.\n\nIt returns an object representing the connected account (“wallet”), containing:\n\n- `account`: the address of the account, or `null` when disconnected.\n- `balance`: the balance of the account, in wei.\n- `chainId`: The specified Chain ID of the network you're connected to.\n- `connect(connectorId)`: call this function with a connector ID to “connect” to a provider (see above for the connectors provided by default).\n- `connector`: The \"key\" of the wallet you're connected to (e.g \"metamask\", \"portis\").\n- `connectors`: the full list of connectors.\n- `error`: contains an error object with the corresponding name and message if `status` is set to `error`.\n- `ethereum`: the connected [Ethereum provider](https://eips.ethereum.org/EIPS/eip-1193).\n- `getBlockNumber()`: this function returns the current block number. This is a function because the block number updates often, which could trigger as many extra renders. Making an explicit call for the block number allows users of `useWallet()` to avoid extra renders when the block number is not needed.\n- `networkName`: a human-readable name corresponding to the Chain ID.\n- `reset()`: call this function to “disconnect” from the current provider. This will also clean the latest error value stored in `use-wallet`'s state.\n- `status`: contains the current status of the wallet connection. The possible values are:\n  - \"disconnected\": no wallet connected (default state).\n  - \"connecting\": trying to connect to the wallet.\n  - \"connected\": connected to the wallet (i.e. the account is available).\n  - \"error\": a connection error happened.\n- `type`: whether or not the account is a contract. Can be `null` when you're\n  disconnected, or either `\"contract\"` or `\"normal\"`.\n\n## Examples\n\nTo run the examples, switch to the respective directories. Then, simply run `yarn install`\nto install, and `yarn start` to run the examples on `localhost:1234`.\n\n## Special thanks\n\nuseWallet() is a built on [web3-react](https://github.com/NoahZinsmeister/web3-react) and its connectors, which are doing all the hard work internally.\n","readmeFilename":"README.md"}