From 977ace304d6fd805a01e4916d2630cf8f6369e21 Mon Sep 17 00:00:00 2001
From: BenRey
Date: Mon, 18 Nov 2024 10:41:02 +0100
Subject: [PATCH 1/4] Add Metamask wallet support and improve state handling in
wallet components
---
package-lock.json | 398 +++++++++++++++++-
package.json | 1 +
.../components/BearbyWallet.tsx | 26 +-
.../components/ConnectMassaWallet.tsx | 37 +-
.../components/MASBalance.tsx | 11 +-
.../components/MetaMaskSvg.tsx | 57 +++
.../components/MetamaskWallet.tsx | 63 +++
.../components/Network.tsx | 18 +
.../components/SelectMassaWallet.tsx | 5 +
.../components/StationWallet.tsx | 10 +-
src/lib/ConnectMassaWallets/i18n/en_US.json | 3 +
.../ConnectMassaWallets/store/accountStore.ts | 101 +++--
src/lib/massa-react/const.ts | 1 +
13 files changed, 653 insertions(+), 78 deletions(-)
create mode 100644 src/lib/ConnectMassaWallets/components/MetaMaskSvg.tsx
create mode 100644 src/lib/ConnectMassaWallets/components/MetamaskWallet.tsx
create mode 100644 src/lib/ConnectMassaWallets/components/Network.tsx
diff --git a/package-lock.json b/package-lock.json
index 7a0ab0da..e5379c97 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -2839,6 +2839,57 @@
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
}
},
+ "node_modules/@ethereumjs/common": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/@ethereumjs/common/-/common-3.2.0.tgz",
+ "integrity": "sha512-pksvzI0VyLgmuEF2FA/JR/4/y6hcPq8OUail3/AvycBaW1d5VSauOZzqGvJ3RTmR4MU35lWE8KseKOsEhrFRBA==",
+ "license": "MIT",
+ "dependencies": {
+ "@ethereumjs/util": "^8.1.0",
+ "crc-32": "^1.2.0"
+ }
+ },
+ "node_modules/@ethereumjs/rlp": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/@ethereumjs/rlp/-/rlp-4.0.1.tgz",
+ "integrity": "sha512-tqsQiBQDQdmPWE1xkkBq4rlSW5QZpLOUJ5RJh2/9fug+q9tnUhuZoVLk7s0scUIKTOzEtR72DFBXI4WiZcMpvw==",
+ "license": "MPL-2.0",
+ "bin": {
+ "rlp": "bin/rlp"
+ },
+ "engines": {
+ "node": ">=14"
+ }
+ },
+ "node_modules/@ethereumjs/tx": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/@ethereumjs/tx/-/tx-4.2.0.tgz",
+ "integrity": "sha512-1nc6VO4jtFd172BbSnTnDQVr9IYBFl1y4xPzZdtkrkKIncBCkdbgfdRV+MiTkJYAtTxvV12GRZLqBFT1PNK6Yw==",
+ "license": "MPL-2.0",
+ "dependencies": {
+ "@ethereumjs/common": "^3.2.0",
+ "@ethereumjs/rlp": "^4.0.1",
+ "@ethereumjs/util": "^8.1.0",
+ "ethereum-cryptography": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=14"
+ }
+ },
+ "node_modules/@ethereumjs/util": {
+ "version": "8.1.0",
+ "resolved": "https://registry.npmjs.org/@ethereumjs/util/-/util-8.1.0.tgz",
+ "integrity": "sha512-zQ0IqbdX8FZ9aw11vP+dZkKDkS+kgIvQPHnSAXzP9pLu+Rfu3D3XEeLbicvoXJTYnhZiPmsZUxgdzXwNKxRPbA==",
+ "license": "MPL-2.0",
+ "dependencies": {
+ "@ethereumjs/rlp": "^4.0.1",
+ "ethereum-cryptography": "^2.0.0",
+ "micro-ftch": "^0.3.1"
+ },
+ "engines": {
+ "node": ">=14"
+ }
+ },
"node_modules/@fal-works/esbuild-plugin-global-externals": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/@fal-works/esbuild-plugin-global-externals/-/esbuild-plugin-global-externals-2.1.2.tgz",
@@ -3936,9 +3987,9 @@
}
},
"node_modules/@massalabs/massa-web3": {
- "version": "5.0.1-dev.20241128131418",
- "resolved": "https://registry.npmjs.org/@massalabs/massa-web3/-/massa-web3-5.0.1-dev.20241128131418.tgz",
- "integrity": "sha512-5o1XYLHu9qmET7XabQP7xqJKZN33N2tcbYz+FRsfjmwhTCikSADemi4hH2wh9gODZvCGP7rseg/xQ3wH5lLpgA==",
+ "version": "5.0.1-dev.20241212140726",
+ "resolved": "https://registry.npmjs.org/@massalabs/massa-web3/-/massa-web3-5.0.1-dev.20241212140726.tgz",
+ "integrity": "sha512-FlPS6U2ckTYXDlMsnoDHj+aMZJ/pCZt+aWnjMYgl6PNvuMN5nuqrr6c0ryUwF1w3wX1adCPYsyXcYeO7Purzqg==",
"license": "MIT",
"dependencies": {
"@noble/ed25519": "^1.7.3",
@@ -3967,13 +4018,14 @@
}
},
"node_modules/@massalabs/wallet-provider": {
- "version": "3.0.1-dev.20241128132550",
- "resolved": "https://registry.npmjs.org/@massalabs/wallet-provider/-/wallet-provider-3.0.1-dev.20241128132550.tgz",
- "integrity": "sha512-HEBNmVe+lOgs2PxQZ0Oa7pyw9X5/8GsVc7+ONUuQ6lMwLEXgGsT0bRWF7l5O4Oue55/iP734vB2qogQxN5im6w==",
+ "version": "3.0.1-dev.20241219125941",
+ "resolved": "https://registry.npmjs.org/@massalabs/wallet-provider/-/wallet-provider-3.0.1-dev.20241219125941.tgz",
+ "integrity": "sha512-lxI9XhZpcZx2pt85m3AP5c9n/9+Zpwjh3uCd7u+/QvcgWr3JuAohdPo1O8hFZnc6xIKFqa/xlpmWPmQ6/H4bGA==",
"license": "(MIT AND Apache-2.0)",
"dependencies": {
"@hicaru/bearby.js": "^0.5.9",
"@massalabs/massa-web3": "^5.0.1-dev",
+ "@metamask/providers": "^18.1.1",
"axios": "^0.28.0",
"bs58check": "^4.0.0",
"buffer": "^6.0.3",
@@ -4022,6 +4074,232 @@
"react": ">=16"
}
},
+ "node_modules/@metamask/json-rpc-engine": {
+ "version": "10.0.2",
+ "resolved": "https://registry.npmjs.org/@metamask/json-rpc-engine/-/json-rpc-engine-10.0.2.tgz",
+ "integrity": "sha512-UZKKvgEGVZyBOTKe0NrERv6J4QtR1X4a3Ppa10FZ2tY+nNvwQg3gFpWPRsYNQdPDFxtIsUdrMrqKvbkYSuHZkw==",
+ "license": "ISC",
+ "dependencies": {
+ "@metamask/rpc-errors": "^7.0.2",
+ "@metamask/safe-event-emitter": "^3.0.0",
+ "@metamask/utils": "^11.0.1"
+ },
+ "engines": {
+ "node": "^18.18 || >=20"
+ }
+ },
+ "node_modules/@metamask/json-rpc-engine/node_modules/@metamask/utils": {
+ "version": "11.0.1",
+ "resolved": "https://registry.npmjs.org/@metamask/utils/-/utils-11.0.1.tgz",
+ "integrity": "sha512-tZlBvEJ6VhhfEiMV+Ad8rWRMjHKpbMogG01YU22JlsIeJptgIdZX1G8jJzhZH0Gxrixa2BeARh7m9lZWQo6rMg==",
+ "license": "ISC",
+ "dependencies": {
+ "@ethereumjs/tx": "^4.2.0",
+ "@metamask/superstruct": "^3.1.0",
+ "@noble/hashes": "^1.3.1",
+ "@scure/base": "^1.1.3",
+ "@types/debug": "^4.1.7",
+ "debug": "^4.3.4",
+ "pony-cause": "^2.1.10",
+ "semver": "^7.5.4",
+ "uuid": "^9.0.1"
+ },
+ "engines": {
+ "node": "^18.18 || ^20.14 || >=22"
+ }
+ },
+ "node_modules/@metamask/json-rpc-engine/node_modules/semver": {
+ "version": "7.6.3",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz",
+ "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==",
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@metamask/json-rpc-middleware-stream": {
+ "version": "8.0.6",
+ "resolved": "https://registry.npmjs.org/@metamask/json-rpc-middleware-stream/-/json-rpc-middleware-stream-8.0.6.tgz",
+ "integrity": "sha512-wE2CfuNZHnWbSjLEPCCb4MSyWgbQBUI5cslGZb+uRdXNzYOM/RDfq8FAdl6HhjmldHKdBFCW0L3kDr8frgahqA==",
+ "license": "ISC",
+ "dependencies": {
+ "@metamask/json-rpc-engine": "^10.0.2",
+ "@metamask/safe-event-emitter": "^3.0.0",
+ "@metamask/utils": "^11.0.1",
+ "readable-stream": "^3.6.2"
+ },
+ "engines": {
+ "node": "^18.18 || >=20"
+ }
+ },
+ "node_modules/@metamask/json-rpc-middleware-stream/node_modules/@metamask/utils": {
+ "version": "11.0.1",
+ "resolved": "https://registry.npmjs.org/@metamask/utils/-/utils-11.0.1.tgz",
+ "integrity": "sha512-tZlBvEJ6VhhfEiMV+Ad8rWRMjHKpbMogG01YU22JlsIeJptgIdZX1G8jJzhZH0Gxrixa2BeARh7m9lZWQo6rMg==",
+ "license": "ISC",
+ "dependencies": {
+ "@ethereumjs/tx": "^4.2.0",
+ "@metamask/superstruct": "^3.1.0",
+ "@noble/hashes": "^1.3.1",
+ "@scure/base": "^1.1.3",
+ "@types/debug": "^4.1.7",
+ "debug": "^4.3.4",
+ "pony-cause": "^2.1.10",
+ "semver": "^7.5.4",
+ "uuid": "^9.0.1"
+ },
+ "engines": {
+ "node": "^18.18 || ^20.14 || >=22"
+ }
+ },
+ "node_modules/@metamask/json-rpc-middleware-stream/node_modules/semver": {
+ "version": "7.6.3",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz",
+ "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==",
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@metamask/object-multiplex": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/@metamask/object-multiplex/-/object-multiplex-2.1.0.tgz",
+ "integrity": "sha512-4vKIiv0DQxljcXwfpnbsXcfa5glMj5Zg9mqn4xpIWqkv6uJ2ma5/GtUfLFSxhlxnR8asRMv8dDmWya1Tc1sDFA==",
+ "license": "ISC",
+ "dependencies": {
+ "once": "^1.4.0",
+ "readable-stream": "^3.6.2"
+ },
+ "engines": {
+ "node": "^16.20 || ^18.16 || >=20"
+ }
+ },
+ "node_modules/@metamask/providers": {
+ "version": "18.3.0",
+ "resolved": "https://registry.npmjs.org/@metamask/providers/-/providers-18.3.0.tgz",
+ "integrity": "sha512-9XRLIvctXtucShCwe1b8mC8PMd/TgiEFH/PFyF8EfxutNakbXBCbQvpml4XU/rVIltR68TsYpPe7Weaw+n7A5Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@metamask/json-rpc-engine": "^10.0.1",
+ "@metamask/json-rpc-middleware-stream": "^8.0.5",
+ "@metamask/object-multiplex": "^2.0.0",
+ "@metamask/rpc-errors": "^7.0.1",
+ "@metamask/safe-event-emitter": "^3.1.1",
+ "@metamask/utils": "^10.0.0",
+ "detect-browser": "^5.2.0",
+ "extension-port-stream": "^4.1.0",
+ "fast-deep-equal": "^3.1.3",
+ "is-stream": "^2.0.0",
+ "readable-stream": "^3.6.2"
+ },
+ "engines": {
+ "node": "^18.18 || >=20"
+ },
+ "peerDependencies": {
+ "webextension-polyfill": "^0.10.0 || ^0.11.0 || ^0.12.0"
+ }
+ },
+ "node_modules/@metamask/rpc-errors": {
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/@metamask/rpc-errors/-/rpc-errors-7.0.2.tgz",
+ "integrity": "sha512-YYYHsVYd46XwY2QZzpGeU4PSdRhHdxnzkB8piWGvJW2xbikZ3R+epAYEL4q/K8bh9JPTucsUdwRFnACor1aOYw==",
+ "license": "MIT",
+ "dependencies": {
+ "@metamask/utils": "^11.0.1",
+ "fast-safe-stringify": "^2.0.6"
+ },
+ "engines": {
+ "node": "^18.20 || ^20.17 || >=22"
+ }
+ },
+ "node_modules/@metamask/rpc-errors/node_modules/@metamask/utils": {
+ "version": "11.0.1",
+ "resolved": "https://registry.npmjs.org/@metamask/utils/-/utils-11.0.1.tgz",
+ "integrity": "sha512-tZlBvEJ6VhhfEiMV+Ad8rWRMjHKpbMogG01YU22JlsIeJptgIdZX1G8jJzhZH0Gxrixa2BeARh7m9lZWQo6rMg==",
+ "license": "ISC",
+ "dependencies": {
+ "@ethereumjs/tx": "^4.2.0",
+ "@metamask/superstruct": "^3.1.0",
+ "@noble/hashes": "^1.3.1",
+ "@scure/base": "^1.1.3",
+ "@types/debug": "^4.1.7",
+ "debug": "^4.3.4",
+ "pony-cause": "^2.1.10",
+ "semver": "^7.5.4",
+ "uuid": "^9.0.1"
+ },
+ "engines": {
+ "node": "^18.18 || ^20.14 || >=22"
+ }
+ },
+ "node_modules/@metamask/rpc-errors/node_modules/semver": {
+ "version": "7.6.3",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz",
+ "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==",
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@metamask/safe-event-emitter": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/@metamask/safe-event-emitter/-/safe-event-emitter-3.1.2.tgz",
+ "integrity": "sha512-5yb2gMI1BDm0JybZezeoX/3XhPDOtTbcFvpTXM9kxsoZjPZFh4XciqRbpD6N86HYZqWDhEaKUDuOyR0sQHEjMA==",
+ "license": "ISC",
+ "engines": {
+ "node": ">=12.0.0"
+ }
+ },
+ "node_modules/@metamask/superstruct": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/@metamask/superstruct/-/superstruct-3.1.0.tgz",
+ "integrity": "sha512-N08M56HdOgBfRKkrgCMZvQppkZGcArEop3kixNEtVbJKm6P9Cfg0YkI6X0s1g78sNrj2fWUwvJADdZuzJgFttA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@metamask/utils": {
+ "version": "10.0.1",
+ "resolved": "https://registry.npmjs.org/@metamask/utils/-/utils-10.0.1.tgz",
+ "integrity": "sha512-zHgAitJtRwviVVFnRUA2PLRMaAwatr3jiHgiH7mPicJaeSK4ma01aGR4fHy0iy5tlVo1ZiioTmJ1Hbp8FZ6pSg==",
+ "license": "ISC",
+ "dependencies": {
+ "@ethereumjs/tx": "^4.2.0",
+ "@metamask/superstruct": "^3.1.0",
+ "@noble/hashes": "^1.3.1",
+ "@scure/base": "^1.1.3",
+ "@types/debug": "^4.1.7",
+ "debug": "^4.3.4",
+ "pony-cause": "^2.1.10",
+ "semver": "^7.5.4",
+ "uuid": "^9.0.1"
+ },
+ "engines": {
+ "node": "^18.18 || ^20.14 || >=22"
+ }
+ },
+ "node_modules/@metamask/utils/node_modules/semver": {
+ "version": "7.6.3",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz",
+ "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==",
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
"node_modules/@microsoft/tsdoc": {
"version": "0.14.2",
"resolved": "https://registry.npmjs.org/@microsoft/tsdoc/-/tsdoc-0.14.2.tgz",
@@ -7720,6 +7998,15 @@
"@types/node": "*"
}
},
+ "node_modules/@types/debug": {
+ "version": "4.1.12",
+ "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.12.tgz",
+ "integrity": "sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/ms": "*"
+ }
+ },
"node_modules/@types/detect-port": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/@types/detect-port/-/detect-port-1.3.5.tgz",
@@ -7956,6 +8243,12 @@
"integrity": "sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==",
"dev": true
},
+ "node_modules/@types/ms": {
+ "version": "0.7.34",
+ "resolved": "https://registry.npmjs.org/@types/ms/-/ms-0.7.34.tgz",
+ "integrity": "sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==",
+ "license": "MIT"
+ },
"node_modules/@types/node": {
"version": "20.7.0",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.7.0.tgz",
@@ -10659,6 +10952,18 @@
"js-yaml": "bin/js-yaml.js"
}
},
+ "node_modules/crc-32": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/crc-32/-/crc-32-1.2.2.tgz",
+ "integrity": "sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==",
+ "license": "Apache-2.0",
+ "bin": {
+ "crc32": "bin/crc32.njs"
+ },
+ "engines": {
+ "node": ">=0.8"
+ }
+ },
"node_modules/create-jest": {
"version": "29.7.0",
"resolved": "https://registry.npmjs.org/create-jest/-/create-jest-29.7.0.tgz",
@@ -11361,6 +11666,12 @@
"npm": "1.2.8000 || >= 1.4.16"
}
},
+ "node_modules/detect-browser": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/detect-browser/-/detect-browser-5.3.0.tgz",
+ "integrity": "sha512-53rsFbGdwMwlF7qvCt0ypLM5V5/Mbl0szB7GPN8y9NCcbknYOeVVXdrXEq+90IwAfrrzt6Hd+u2E2ntakICU8w==",
+ "license": "MIT"
+ },
"node_modules/detect-indent": {
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-6.1.0.tgz",
@@ -12439,6 +12750,30 @@
"node": ">= 0.6"
}
},
+ "node_modules/ethereum-cryptography": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ethereum-cryptography/-/ethereum-cryptography-2.2.1.tgz",
+ "integrity": "sha512-r/W8lkHSiTLxUxW8Rf3u4HGB0xQweG2RyETjywylKZSzLWoWAijRz8WCuOtJ6wah+avllXBqZuk29HCCvhEIRg==",
+ "license": "MIT",
+ "dependencies": {
+ "@noble/curves": "1.4.2",
+ "@noble/hashes": "1.4.0",
+ "@scure/bip32": "1.4.0",
+ "@scure/bip39": "1.3.0"
+ }
+ },
+ "node_modules/ethereum-cryptography/node_modules/@noble/curves": {
+ "version": "1.4.2",
+ "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.4.2.tgz",
+ "integrity": "sha512-TavHr8qycMChk8UwMld0ZDRvatedkzWfH8IiaeGCfymOP5i0hSCozz9vHOL0nkwk7HRMlFnAiKpS2jrUmSybcw==",
+ "license": "MIT",
+ "dependencies": {
+ "@noble/hashes": "1.4.0"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
"node_modules/eventemitter2": {
"version": "6.4.7",
"resolved": "https://registry.npmjs.org/eventemitter2/-/eventemitter2-6.4.7.tgz",
@@ -12598,6 +12933,21 @@
"integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==",
"dev": true
},
+ "node_modules/extension-port-stream": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/extension-port-stream/-/extension-port-stream-4.2.0.tgz",
+ "integrity": "sha512-i5IgiPVMVrHN+Zx8PRjvFsOw8L1A3sboVwPZghDjW9Yp1BMmBDE6mCcTNu4xMXPYduBOwI3CBK7wd72LcOyD6g==",
+ "license": "ISC",
+ "dependencies": {
+ "readable-stream": "^3.6.2 || ^4.4.2"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "peerDependencies": {
+ "webextension-polyfill": "^0.10.0 || ^0.11.0 || ^0.12.0"
+ }
+ },
"node_modules/extract-zip": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz",
@@ -12630,8 +12980,7 @@
"node_modules/fast-deep-equal": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
- "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
- "dev": true
+ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
},
"node_modules/fast-glob": {
"version": "3.3.1",
@@ -12671,6 +13020,12 @@
"integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==",
"dev": true
},
+ "node_modules/fast-safe-stringify": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz",
+ "integrity": "sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==",
+ "license": "MIT"
+ },
"node_modules/fastq": {
"version": "1.15.0",
"resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz",
@@ -14297,7 +14652,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz",
"integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==",
- "dev": true,
"engines": {
"node": ">=8"
},
@@ -17825,6 +18179,12 @@
"node": ">= 0.6"
}
},
+ "node_modules/micro-ftch": {
+ "version": "0.3.1",
+ "resolved": "https://registry.npmjs.org/micro-ftch/-/micro-ftch-0.3.1.tgz",
+ "integrity": "sha512-/0LLxhzP0tfiR5hcQebtudP56gUurs2CLkGarnCiB/OqEyUFQ6U3paQi/tgLv0hBJYt2rnr9MNpxz4fiiugstg==",
+ "license": "MIT"
+ },
"node_modules/micromatch": {
"version": "4.0.5",
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz",
@@ -18992,6 +19352,15 @@
"node": ">=10"
}
},
+ "node_modules/pony-cause": {
+ "version": "2.1.11",
+ "resolved": "https://registry.npmjs.org/pony-cause/-/pony-cause-2.1.11.tgz",
+ "integrity": "sha512-M7LhCsdNbNgiLYiP4WjsfLUuFmCfnjdF6jKe2R9NKl4WFN+HZPGHJZ9lnLP7f9ZnKe3U9nuWD0szirmj+migUg==",
+ "license": "0BSD",
+ "engines": {
+ "node": ">=12.0.0"
+ }
+ },
"node_modules/possible-typed-array-names": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz",
@@ -20092,7 +20461,6 @@
"version": "3.6.2",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",
"integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"inherits": "^2.0.3",
@@ -20497,7 +20865,6 @@
"version": "5.2.1",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
"integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
- "dev": true,
"funding": [
{
"type": "github",
@@ -21021,7 +21388,6 @@
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
- "dev": true,
"dependencies": {
"safe-buffer": "~5.2.0"
}
@@ -22291,7 +22657,6 @@
"version": "9.0.1",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz",
"integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==",
- "dev": true,
"funding": [
"https://github.com/sponsors/broofa",
"https://github.com/sponsors/ctavan"
@@ -22610,6 +22975,13 @@
"tslib": "^2.4.0"
}
},
+ "node_modules/webextension-polyfill": {
+ "version": "0.12.0",
+ "resolved": "https://registry.npmjs.org/webextension-polyfill/-/webextension-polyfill-0.12.0.tgz",
+ "integrity": "sha512-97TBmpoWJEE+3nFBQ4VocyCdLKfw54rFaJ6EVQYLBCXqCIpLSZkwGgASpv4oPt9gdKCJ80RJlcmNzNn008Ag6Q==",
+ "license": "MPL-2.0",
+ "peer": true
+ },
"node_modules/webidl-conversions": {
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz",
diff --git a/package.json b/package.json
index cc0a00ca..27daa72b 100644
--- a/package.json
+++ b/package.json
@@ -7,6 +7,7 @@
"style": "src/global.css",
"scripts": {
"build": "tsc",
+ "build:watch": "tsc --watch",
"storybook": "storybook dev -p 6006",
"storybook:build": "storybook build",
"lint": "eslint .",
diff --git a/src/lib/ConnectMassaWallets/components/BearbyWallet.tsx b/src/lib/ConnectMassaWallets/components/BearbyWallet.tsx
index 8d60fc63..b9f1ee84 100644
--- a/src/lib/ConnectMassaWallets/components/BearbyWallet.tsx
+++ b/src/lib/ConnectMassaWallets/components/BearbyWallet.tsx
@@ -10,24 +10,24 @@ import { useAccountStore } from '../store';
import { BEARBY_INSTALL } from '../../massa-react/const';
export default function BearbyWallet() {
- const { connectedAccount } = useAccountStore();
+ const { connectedAccount, isFetching } = useAccountStore();
- if (connectedAccount) {
+ if (!connectedAccount && !isFetching) {
return (
-
A#Sf%$Q(q&NI-_*>U6upYrsCRP#;gQ~My^w-F}A z&L#B$wPd5UaI^Vd*RCyF%q#nkipsp^fxK}F_AD!AXvh%)>ILqfs7KV(@EcWrW}7en z0dTd&NY5KM%>B_Ixpdn`Nu{w4j@)2=`MIlMj +Q;vxZZ_Vp^SpPjLJXdpx>EiFBE{CI{_x0XSwiJE1I@{}z3 zz+;mCS#wljXQH-FG*+zWy={qzZMDj)vlKN=ob7g ~^auuQ!GZ;Z6PoNi zhIt6`SV~4F9nO&s=8+NDw238TV#4i~)~0+fU>H`eAYg^iAY^0q_hwg^;jVLd4Qi^S zyxd6<)>r?5fdl+011ql&uu#*|A|*rR*?M9r_%T5zUWJ~73wr$cv?*EYbkBZrK#P4A z;R UNi94tWE`;P!NEsE!!^no zr<$Z;D=*Pd *!UL-DuPcuq+* zOWQS9!R6e)uNEr6q&wB<&?txhOB5*H+3Tj4)sZ>`KeuL4>7eT^d$kxw_?x*|1K*fj z78<=-*%^2H_W243NANBW`_iTV5U{PNs7OjmDyRoD5L`q72}ntC*bxtbhbgV8327n% zX2XUJud|(wPfScC?bFd=|B^qg1Vu;feRrQjEO&6$zedjsavnAiQNn&h6BAytnm|<) zQLbi;LZn^Zn2(p&oNs-Nm&)-ppK$y+Hfe3xyxH$pag$04dp_0`6~rrd4T>rk;Q_4t zg=(wyf`S1=KKT}3D91u^$)Dbg173Pe(&53refvhCJVByU7ig>;0{_}N{rmb4RysI1 zJUP{Lqco5+!=_%8vKx|0>iDaUJHCADgoT4ljqo7QE$}D~BG3&bpH3fmbVM<=Gcnd< zouuTo*4CpGpW?PP@Zu{)jKEgfXHreFcfyF~k5$`^CcuT-_cchsWvd=K#6=4%Zo7T= zu9y6o&mhR3Uyj=&n9G)NhHMnL@tKg-FKbaplvFXSb;H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SA|x9>K_P! zEAD+6!M$WH5rUS+G$)-c4$e%0!lEl^K?8=Eg3@R`k_YF50iQ;8cH{sfmJTL6RyaKa z3WxT1OQMqnjun c+8LwYygEI#or(D()3vHoWZR*$p@+NGa zg?F=fNJBD-daXk4J=nx$HMRLUulydOp2c0Sw6^C^136?I>66d{aM^k>IXzx;iLYkE z*;^VAz*)H%y}4CF3Nf-iDJd#m`-7yfadPq;YkE4B`Alm}jLWs=Ma-4rhi=7RaLGmvpr3-xdKyB)Mt^wMYpAbUR!XfB5UdAs*{(^7rgE zVmk^`8KPn}0g+JS_p8$V0(t7==~*h&q;s!l>38LKZwhg0+Xb06)<*RD)QZr>$+I19 zPm5g+Uie%tq*j)e#!#A52j@>qIKjSYUwtA#Z%$0q;077vl;E5#OkBy-gnO*FUnW^D zqFldd3BP%}nQYLH5yf(d-_VOvZ3*f#R|oQmo}Qj&upP@q)UwhTW^-b%Xm;d&po =BuY<;K&HwMG<@EDfKBlG+ z(GKDeJkH!bMw;%Y>(5;(C@?cdEJD-9+kG|TSs1YSUNDBbx{qd!oekNLE%&C|86yG5 zPt6S6K`Pm5!f)@nzH5wasJLP2!QKUr&pv6KKTo)A96!&0E4B~F3-B;ajWU?jFeQVj z7EELStH6W;6ADZyFrmPN0uu>MBs7uGM8f|_!Y;!po8lDk)CVx+T7ln1XQ)=r{0@D> zy7v6} 3%R1pql2LiNG@;rke0BwY9h D4p=U) literal 0 HcmV?d00001 diff --git a/cypress-visual-screenshots/baseline/Button.cy.tsx-primary-button-with-posIcon.png b/cypress-visual-screenshots/baseline/Button.cy.tsx-primary-button-with-posIcon.png new file mode 100755 index 0000000000000000000000000000000000000000..a604fbee84ef45a23309d9c8d5cb719511a2b46e GIT binary patch literal 5828 zcmeAS@N?(olHy`uVBq!ia0y~yU|qn#!1R-Y4JhK))?CTJAlB{a;uuoF_~xK@o-_*s z>w)9J=UY Wo`-?q&wWz{h6DAl zs(x!SFgSeD19Dc|?WsT4{{8$ z{kArCPpfu6FR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aD>-s^S5 zhd%A?Wg`VgWc)f(Wel4|FqAEdIBqU3Y%i2pv~^RVNJ0<9XZ6bb(Ync47)n8Nk8gh; zD&7TPGm&D@Itn@H=#Y@q6mcg9tVr hROZ1p*LBmMWEG7HqWik~S<5 z;Na)aYc2n@9`=8{h%0!gu4x|7%Nfp=lOOtgA3`S- ~ d%`#Yj1ZA*_U=_id4gg?f0+ xKLJ{xXfd-d8rMJ9M?MbgQnHi?|WtwbS96No)~IdBTP#${TJLsk@0CVZCAD@H%Zp z$W~9^NBj4F|M#Iknh|I$Lqqj75XEr7ff-CQ^MWZJ6EJ0P0Zh?K@_-}I0e?O`_WyZ0 zzW!9KjQn52>EiX=3=AJ$OEEA!m>m=Q-xlb!|K$P<3<~-8_nf (fT_VN`Rv;9e)-S;{{9BL^FVE8UhVh0<(0p_WZKpLlK~6v z;Ah|Y_0!YSH9tNm^2^)tfCcZgH{bd7@ArF1V*I`myXW)vR(;jdkK4lm(KG$owcX|K zKRr0u47Kg$bp7~GUteFhss5$|7AlDU_44xaKc^?F`!j(BzAug6S99|5@&3;*E-r@Z zvaI;`r*fWsy&Rao!=IixVIXqfsGS2;?2QKeXuw0toY9mpni57+0t1bknWMREG?$I$ zve8@yN&}-s&1fLdWo%=#(iz#6&i@?#KF|=30E6Z4cC%J_Ad?+3q96lFe+AI7HAl!; m$Ef6J2#ux$h6AKz2cB%l{N>sY^nt^}3=E#GelF{r5}E*<4#M>S literal 0 HcmV?d00001 diff --git a/cypress-visual-screenshots/baseline/Button.cy.tsx-primary-button-without-icons-and-with-children.png b/cypress-visual-screenshots/baseline/Button.cy.tsx-primary-button-without-icons-and-with-children.png new file mode 100755 index 0000000000000000000000000000000000000000..c1ace830ef84f8a34f5739fb8f29dfc912ce4012 GIT binary patch literal 8127 zcmeHLYfzI{8veRfXp3UEjv#`hJ6N$&1VNyIgh)}*f`SEPDc4pAR4xHNki?Kg%T%Ny zh{z>eLe*LpFGQ0qF(5?A)(~=&V$lFe#6pl;0trHq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tsx-primary-button-without-icons.png b/cypress-visual-screenshots/baseline/Button.cy.tsx-primary-button-without-icons.png new file mode 100755 index 0000000000000000000000000000000000000000..358497a649aee44156bdc831cda4579adefca6bd GIT binary patch literal 5616 zcmeAS@N?(olHy`uVBq!ia0y~yU|qn#!1R-Y4JhK))?CTJAiCYt#WAFU@y)@Fj0Y4L zm<&$+w~y|hpnI}>9Z(Ge!+~U8FwJ8ErVK8CsRItoV48VUl7V3~5P)f6G!RAuVYEzO z7%doq* Oz~Q%mu{Ul z7}!Q7hfW|od;PKEN!@;SaLn~xs LG14J(~FPO_?0;UWuj7l<$1_Ce< zj0VDJAdHp?3=E?MBQPI~2Eu3{jJ6XP7)BdQz zi$f9v;Y)mVfe)|@X<#^U(|(KQp9Y8#j*w!79n#d0fpk9#phFU)lE6S74TO;p2nG+G WWT(8`CA Oz~Q%mu{Ul z7}!Q7hfW|od;PKEN!@;SaLn~xs LG14J(~FPO_?0;UWuj7l<$1_Ce< zj0VDJAdHp?3=E?MBQPI~2Eu3{jJ6XP7)BdQz zi$f9v;Y)mVfe)|@X<#^U(|(KQp9Y8#j*w!79n#d0fpk9#phFU)lE6S74TO;p2nG+G WWT(8`CA Oz~Q%mu{Ul z7}!Q7hfW|od;PKEN!@;SaLn~xs LG14J(~FPO_?0;UWuj7l<$1_Ce< zj0VDJAdHp?3=E?MBQPI~2Eu3{jJ6XP7)BdQz zi$f9v;Y)mVfe)|@X<#^U(|(KQp9Y8#j*w!79n#d0fpk9#phFU)lE6S74TO;p2nG+G WWT(8`CA 9Z(Ge!+~U8FwJ8ErVK8CsRItoV48VUl7V3~5P)f6G!RAuVYEzO z7%doq* Oz~Q%mu{Ul z7}!Q7hfW|od;PKEN!@;SaLn~xs LG14J(~FPO_?0;UWuj7l<$1_Ce< zj0VDJAdHp?3=E?MBQPI~2Eu3{jJ6XP7)BdQz zi$f9v;Y)mVfe)|@X<#^U(|(KQp9Y8#j*w!79n#d0fpk9#phFU)lE6S74TO;p2nG+G WWT(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