-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore/update Wallet libraries (#1001)
* update block native * update wallet libraries * dedupe * remove log --------- Co-authored-by: jmzwar <[email protected]>
- Loading branch information
Showing
215 changed files
with
1,557 additions
and
616 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file renamed
BIN
+150 KB
...t-sdk-npm-3.6.3-b840ba2181-f2ffd553f6.zip → ...t-sdk-npm-3.7.2-fa705b327b-d42a7b7e44.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-12.3 KB
.yarn/cache/@gnosis.pm-safe-apps-provider-npm-0.9.3-1acd656e01-90950c6cb3.zip
Binary file not shown.
Binary file removed
BIN
-35.8 KB
.yarn/cache/@gnosis.pm-safe-apps-sdk-npm-6.2.0-bbc321cb6c-9c6d086017.zip
Binary file not shown.
Binary file removed
BIN
-35.2 KB
.yarn/cache/@gnosis.pm-safe-apps-sdk-npm-6.3.0-1b9beafb0b-b21dd335e2.zip
Binary file not shown.
Binary file removed
BIN
-38.6 KB
.yarn/cache/@gnosis.pm-safe-react-gateway-sdk-npm-2.10.3-5f5b9b2b17-289b743243.zip
Binary file not shown.
Binary file removed
BIN
-38.5 KB
.yarn/cache/@json-rpc-tools-provider-npm-1.7.6-cc129beab1-c60d73511d.zip
Binary file not shown.
Binary file removed
BIN
-30.9 KB
.yarn/cache/@json-rpc-tools-types-npm-1.7.6-1c36bdb16d-f23ec7d79a.zip
Binary file not shown.
Binary file removed
BIN
-31.9 KB
.yarn/cache/@json-rpc-tools-utils-npm-1.7.6-3168f282f4-32cac2e8cb.zip
Binary file not shown.
Binary file removed
BIN
-6.56 KB
.yarn/cache/@ledgerhq-connect-kit-loader-npm-1.0.2-b205d212bf-38475ee5a8.zip
Binary file not shown.
Binary file added
BIN
+7.97 KB
.yarn/cache/@ledgerhq-connect-kit-loader-npm-1.1.2-77ef06d7d2-614fdd9ac2.zip
Binary file not shown.
Binary file removed
BIN
-16.4 KB
.yarn/cache/@metamask-obs-store-npm-7.0.0-86171179e9-e149714038.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+17.5 KB
...ion-npm-10.15.1-f581cc96f3-75b7a1e6c4.zip → ...ion-npm-10.16.3-f34abd372a-797cacea33.zip
Binary file not shown.
Binary file renamed
BIN
+236 KB
...dom-npm-10.16.2-69b667c47c-c75a7de62c.zip → ...dom-npm-10.16.4-42a3c3b61b-8307864351.zip
Binary file not shown.
Binary file renamed
BIN
+12.4 KB
...ing-npm-10.15.1-793a4addaa-cf7cfcf991.zip → ...ing-npm-10.16.3-0bceaa6b64-03e2460cdd.zip
Binary file not shown.
Binary file renamed
BIN
+31.8 KB
...ors-npm-10.15.1-9b31cd017c-0eb6797a64.zip → ...ors-npm-10.16.4-4fc25eb80f-185091c5cf.zip
Binary file not shown.
Binary file renamed
BIN
+65.9 KB
...lte-npm-10.16.2-134c26aed3-066570d991.zip → ...lte-npm-10.16.4-f687397c4c-699e20955e.zip
Binary file not shown.
Binary file renamed
BIN
+8.2 KB
...pes-npm-10.15.1-0bac46e291-98091f7dca.zip → ...pes-npm-10.16.3-2ff330cdaa-ff38982f5a.zip
Binary file not shown.
Binary file renamed
BIN
+38.9 KB
...ils-npm-10.15.1-13443b5c16-6ef13cd663.zip → ...ils-npm-10.16.3-9c888d8cae-d06025911c.zip
Binary file not shown.
Binary file renamed
BIN
+294 KB
...vue-npm-10.16.2-2cf042d8fc-37732f679b.zip → ...vue-npm-10.16.4-dfe89d4fa6-746e38d0ee.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-16.9 KB
.yarn/cache/@pedrouid-environment-npm-1.0.1-3a1b030297-fd88340ad7.zip
Binary file not shown.
Binary file added
BIN
+4.13 KB
.yarn/cache/@protobufjs-aspromise-npm-1.1.2-71d00b938f-011fe7ef08.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+4.51 KB
.yarn/cache/@protobufjs-eventemitter-npm-1.1.0-029cc7d431-0369163a3d.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-60.3 KB
.yarn/cache/@toruslabs-http-helpers-npm-3.2.0-47108ecea8-b030a5ae02.zip
Binary file not shown.
Binary file added
BIN
+61.5 KB
.yarn/cache/@toruslabs-http-helpers-npm-4.0.0-2f03a0e0af-dab9ffb559.zip
Binary file not shown.
Binary file removed
BIN
-240 KB
.yarn/cache/@toruslabs-openlogin-jrpc-npm-2.13.0-b70459e43d-b572c2c94e.zip
Binary file not shown.
Binary file added
BIN
+343 KB
.yarn/cache/@toruslabs-openlogin-jrpc-npm-4.7.2-bcb0943467-724ffee82b.zip
Binary file not shown.
Binary file removed
BIN
-141 KB
.yarn/cache/@toruslabs-openlogin-utils-npm-2.13.0-bf15abf298-0f5f509508.zip
Binary file not shown.
Binary file added
BIN
+80.7 KB
.yarn/cache/@toruslabs-openlogin-utils-npm-4.7.0-244397fc50-3f3cc8b991.zip
Binary file not shown.
Binary file removed
BIN
-615 KB
.yarn/cache/@toruslabs-torus-embed-npm-1.38.2-3d1963cec1-01466b7e41.zip
Binary file not shown.
Binary file added
BIN
+527 KB
.yarn/cache/@toruslabs-torus-embed-npm-2.2.9-11160e0c4c-9851af159f.zip
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+77.7 KB
.yarn/cache/@trezor-blockchain-link-npm-2.1.17-492df0e28e-58c5ede9a8.zip
Binary file not shown.
Binary file added
BIN
+21.7 KB
.yarn/cache/@trezor-blockchain-link-types-npm-1.0.6-1c88d843f0-b004986549.zip
Binary file not shown.
Binary file added
BIN
+12.9 KB
.yarn/cache/@trezor-blockchain-link-utils-npm-1.0.7-2ba50d023f-6a3046b03f.zip
Binary file not shown.
Binary file added
BIN
+4.58 KB
.yarn/cache/@trezor-connect-analytics-npm-1.0.7-5e0d6d28e4-2eaf533d6e.zip
Binary file not shown.
Binary file added
BIN
+28.5 KB
.yarn/cache/@trezor-connect-common-npm-0.0.21-ecf362c8a4-e61faf5080.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+375 KB
.yarn/cache/@walletconnect-ethereum-provider-npm-2.10.4-79212d61e2-35b623e8fa.zip
Binary file not shown.
Binary file removed
BIN
-590 KB
.yarn/cache/@walletconnect-ethereum-provider-npm-2.7.4-22522467fb-89e7454ff7.zip
Binary file not shown.
Binary file added
BIN
+596 KB
.yarn/cache/@walletconnect-ethereum-provider-npm-2.9.1-6f4fff4cc5-18fa13b7cd.zip
Binary file not shown.
Binary file removed
BIN
-45.5 KB
.yarn/cache/@walletconnect-jsonrpc-ws-connection-npm-1.0.11-6668fc29a6-69fcc5ecb6.zip
Binary file not shown.
Binary file added
BIN
+44.1 KB
.yarn/cache/@walletconnect-jsonrpc-ws-connection-npm-1.0.13-9591f3240b-f2253b1756.zip
Binary file not shown.
Binary file removed
BIN
-5.6 KB
.yarn/cache/@walletconnect-mobile-registry-npm-1.4.0-77ad61b21b-06f18842e6.zip
Binary file not shown.
Binary file added
BIN
+20.1 KB
.yarn/cache/@walletconnect-modal-core-npm-2.6.1-cfe206b226-3c1dcb865c.zip
Binary file not shown.
Binary file added
BIN
+20.1 KB
.yarn/cache/@walletconnect-modal-core-npm-2.6.2-763d983e77-94daceba50.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+92 KB
.yarn/cache/@walletconnect-modal-ui-npm-2.6.1-ad69d01411-34408c7846.zip
Binary file not shown.
Binary file added
BIN
+92 KB
.yarn/cache/@walletconnect-modal-ui-npm-2.6.2-bc14b49a85-cd1ec0205e.zip
Binary file not shown.
Binary file removed
BIN
-90.5 KB
.yarn/cache/@walletconnect-qrcode-modal-npm-1.8.0-9cc1662fd2-0abae22685.zip
Binary file not shown.
Binary file added
BIN
+320 KB
.yarn/cache/@walletconnect-sign-client-npm-2.10.4-a4dedeb80b-dba809b7e1.zip
Binary file not shown.
Binary file removed
BIN
-299 KB
.yarn/cache/@walletconnect-sign-client-npm-2.7.4-1bfd6ea5d4-370bf68aba.zip
Binary file not shown.
Binary file added
BIN
+309 KB
.yarn/cache/@walletconnect-sign-client-npm-2.9.1-0e6467c8eb-8be84c853e.zip
Binary file not shown.
Binary file added
BIN
+63.8 KB
.yarn/cache/@walletconnect-types-npm-2.10.4-f7d9d4c74b-7a02e0a5e8.zip
Binary file not shown.
Binary file removed
BIN
-62.7 KB
.yarn/cache/@walletconnect-types-npm-2.7.4-43a69259fb-40d4d1ed37.zip
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+792 KB
.yarn/cache/@walletconnect-universal-provider-npm-2.10.4-0d170e2c0f-e97ed7f431.zip
Binary file not shown.
Binary file removed
BIN
-779 KB
.yarn/cache/@walletconnect-universal-provider-npm-2.7.4-e3699df38f-5f6ae4436c.zip
Binary file not shown.
Binary file added
BIN
+784 KB
.yarn/cache/@walletconnect-universal-provider-npm-2.9.1-b581573ff0-03064f6e9a.zip
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-176 KB
.yarn/cache/@walletconnect-utils-npm-2.7.4-c06d9ab1c9-ab2db03eaa.zip
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+4.14 KB
...nbase-npm-2.2.0-74a0dba534-1969ba0f54.zip → ...nbase-npm-2.2.6-fde842ca7b-3aea38b63b.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-4.81 KB
.yarn/cache/@web3-onboard-gnosis-npm-2.1.6-2f6162e505-5c38e291e2.zip
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+28 KB
.yarn/cache/@web3-onboard-hw-common-npm-2.3.0-34e100c78e-faeb58406b.zip
Binary file not shown.
Binary file renamed
BIN
+229 KB
...llets-npm-2.8.0-973c47edee-24234d7ea7.zip → ...lets-npm-2.10.8-421b635cfe-18a632f23c.zip
Binary file not shown.
Binary file removed
BIN
-5.48 KB
.yarn/cache/@web3-onboard-ledger-npm-2.4.2-12cf9f8050-fe8188d41a.zip
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+8.47 KB
...ortis-npm-2.1.3-55f4765f18-538c0c44e6.zip → ...ortis-npm-2.1.7-b5fa84466a-e6f29169ae.zip
Binary file not shown.
Binary file removed
BIN
-4.06 KB
.yarn/cache/@web3-onboard-torus-npm-2.2.1-1b4421198f-bd4ec2e274.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-11.2 KB
.yarn/cache/@web3-onboard-walletconnect-npm-2.3.8-ead868f7c9-2a32ecbf4c.zip
Binary file not shown.
Binary file added
BIN
+10.8 KB
.yarn/cache/@web3-onboard-walletconnect-npm-2.5.0-457ccb07ee-cbd1854057.zip
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-4.41 KB
.yarn/cache/@web3modal-standalone-npm-2.4.1-3f923c90b7-0a26a7cc4b.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+25.7 KB
...fetch-npm-3.1.5-e414995db9-f6b8c6ee3e.zip → ...fetch-npm-3.1.8-71c3c05709-78f993fa09.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+41.1 KB
.yarn/cache/ethereum-cryptography-npm-2.1.2-dde1258735-2e8f7b8cc9.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-8.55 KB
.yarn/cache/json-stable-stringify-npm-1.0.1-65df019fbd-65d6cbf0fc.zip
Binary file not shown.
Binary file added
BIN
+12.7 KB
.yarn/cache/json-stable-stringify-npm-1.0.2-214b247c1e-ec10863493.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+667 KB
...-html-npm-2.7.4-e950aa5037-3809d62d8b.zip → ...-html-npm-2.8.0-82f88d6ebf-2d70df0724.zip
Binary file not shown.
Binary file renamed
BIN
+111 KB
...e/lit-npm-2.7.4-9e53493901-7494f4e814.zip → ...e/lit-npm-2.7.6-053b00ec99-984a7fb9c0.zip
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+45.9 KB
...level-npm-1.8.0-521cbfe852-41aeea17de.zip → ...level-npm-1.8.1-1768109374-a1a62db402.zip
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+27 KB
.../long-npm-5.2.1-3a12730171-9264da12d1.zip → .../long-npm-5.2.3-61dddb7586-885ede7c3d.zip
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+53.5 KB
...ion-npm-10.15.5-470c647bef-43e7883d95.zip → ...ion-npm-10.16.2-fa1bf30ff0-0b91256808.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+42.7 KB
.yarn/cache/ripple-lib-transactionparser-npm-0.8.2-f9209159cf-596c82744c.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
import { getChainIdHex, getInfuraRpcURL } from 'utils/infura'; | ||
import { NetworkIdByName } from '@synthetixio/contracts-interface'; | ||
|
||
import Onboard from '@web3-onboard/core'; | ||
import type { OnboardAPI } from '@web3-onboard/core'; | ||
import injectedModule from '@web3-onboard/injected-wallets'; | ||
import coinbaseWalletModule from '@web3-onboard/coinbase'; | ||
import walletConnectModule from '@web3-onboard/walletconnect'; | ||
import ledgerModule from '@web3-onboard/ledger'; | ||
import gnosisModule from './customGnosis'; | ||
// import trezorModule from '@web3-onboard/trezor'; | ||
import trezorModule from '@web3-onboard/trezor'; | ||
import portisModule from '@web3-onboard/portis'; | ||
import torusModule from '@web3-onboard/torus'; | ||
import trustModule from '@web3-onboard/trust'; | ||
|
@@ -19,13 +18,19 @@ import { customBrave, customMetaMask, customDetected } from './customInjected'; | |
const injected = injectedModule({ custom: [customMetaMask, customBrave, customDetected] }); | ||
|
||
const coinbaseWalletSdk = coinbaseWalletModule({ darkMode: true }); | ||
|
||
const walletConnect = walletConnectModule({ | ||
version: 2, | ||
projectId: process.env.NEXT_PUBLIC_WC_PROJECT_ID, | ||
}); | ||
|
||
const ledger = ledgerModule({ | ||
walletConnectVersion: 2, | ||
projectId: `${process.env.NEXT_PUBLIC_WC_PROJECT_ID}`, | ||
}); | ||
const ledger = ledgerModule(); | ||
|
||
// The trezor module have a bug, we can enable it when this has been merged and released: https://github.com/blocknative/web3-onboard/pull/1165 | ||
// const trezor = trezorModule({ email: '[email protected]', appUrl: 'https://www.synthetix.io' }); | ||
const trezor = trezorModule({ email: '[email protected]', appUrl: 'https://www.synthetix.io' }); | ||
const gnosis = gnosisModule(); | ||
const portis = portisModule({ apiKey: `${process.env.NEXT_PUBLIC_PORTIS_APP_ID}` }); | ||
const torus = torusModule(); | ||
|
@@ -99,7 +104,8 @@ export const onboard: OnboardAPI = Onboard({ | |
wallets: [ | ||
injected, | ||
brave, | ||
ledger /*trezor,*/, | ||
ledger, | ||
trezor, | ||
coinbaseWalletSdk, | ||
trust, | ||
walletConnect, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
6322d9e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
v2-storybook – ./v2/ui
staking-storybook.vercel.app
v2-storybook-git-master-synthetixio.vercel.app
v2-storybook-synthetixio.vercel.app