From 8d7b4ab17c8c4eac6cebf6ce336f80abb9aa346e Mon Sep 17 00:00:00 2001 From: Ilja Date: Mon, 7 Mar 2022 12:18:38 +0200 Subject: [PATCH] prep for canary release flow --- wallets/react-wallet-v2/package.json | 6 +-- .../src/utils/WalletConnectUtil.ts | 2 +- wallets/react-wallet-v2/yarn.lock | 47 ++++--------------- 3 files changed, 14 insertions(+), 41 deletions(-) diff --git a/wallets/react-wallet-v2/package.json b/wallets/react-wallet-v2/package.json index faf912b..858dfc5 100644 --- a/wallets/react-wallet-v2/package.json +++ b/wallets/react-wallet-v2/package.json @@ -8,8 +8,8 @@ "lint": "next lint" }, "dependencies": { - "@walletconnect/client": "2.0.0-beta.22", - "@walletconnect/utils": "2.0.0-beta.22", + "@walletconnect/client": "experimental", + "@walletconnect/utils": "experimental", "@json-rpc-tools/utils": "1.7.6", "@nextui-org/react": "1.0.2-beta.4", "mnemonic-keyring": "1.4.0", @@ -26,7 +26,7 @@ "@cosmjs/amino": "0.27.1" }, "devDependencies": { - "@walletconnect/types": "2.0.0-beta.22", + "@walletconnect/types": "experimental", "@types/node": "17.0.21", "@types/react": "17.0.39", "eslint": "8.10.0", diff --git a/wallets/react-wallet-v2/src/utils/WalletConnectUtil.ts b/wallets/react-wallet-v2/src/utils/WalletConnectUtil.ts index 66fb425..8179b48 100644 --- a/wallets/react-wallet-v2/src/utils/WalletConnectUtil.ts +++ b/wallets/react-wallet-v2/src/utils/WalletConnectUtil.ts @@ -6,7 +6,7 @@ export async function createWalletConnectClient() { walletConnectClient = await WalletConnectClient.init({ controller: true, projectId: process.env.NEXT_PUBLIC_PROJECT_ID, - relayUrl: 'wss://relay.walletconnect.com', + relayUrl: process.env.NEXT_PUBLIC_RELAY_URL ?? 'wss://relay.walletconnect.com', metadata: { name: 'React Wallet', description: 'React Wallet for WalletConnect', diff --git a/wallets/react-wallet-v2/yarn.lock b/wallets/react-wallet-v2/yarn.lock index 77e32c6..63f2784 100644 --- a/wallets/react-wallet-v2/yarn.lock +++ b/wallets/react-wallet-v2/yarn.lock @@ -1014,20 +1014,20 @@ "@typescript-eslint/types" "5.13.0" eslint-visitor-keys "^3.0.0" -"@walletconnect/client@2.0.0-beta.22": - version "2.0.0-beta.22" - resolved "https://registry.yarnpkg.com/@walletconnect/client/-/client-2.0.0-beta.22.tgz#a9fd0b118afc08eb173cd41dcd979735ae8e2ab2" - integrity sha512-ZymLewI/afTmh3MWvDFw1P8UDDA8HdBngb54zmrSwk2ympYYxnuzjYQ7tda0wczXwiJFrIXQfPdtgk7rT9xbNA== +"@walletconnect/client@experimental": + version "2.0.0-beta.23" + resolved "https://registry.yarnpkg.com/@walletconnect/client/-/client-2.0.0-beta.23.tgz#934f91beb66ec7bb1a79afc1973fcd48481ccbc5" + integrity sha512-ATKrYpCiGkhy1ukmEgYtOPX9WJXBoyBcXSfRH7MJKibDbPkNf9eUfp4ZeGadn7YLy40qxHEdZtK2zGGikn84pQ== dependencies: "@walletconnect/encoding" "^1.0.0" "@walletconnect/jsonrpc-provider" "^1.0.0" "@walletconnect/jsonrpc-utils" "^1.0.0" "@walletconnect/jsonrpc-ws-connection" "^1.0.0" "@walletconnect/logger" "^1.0.0" - "@walletconnect/relay-api" "^1.0.0" + "@walletconnect/relay-api" "^1.0.2" "@walletconnect/safe-json" "^1.0.0" - "@walletconnect/types" "^2.0.0-beta.22" - "@walletconnect/utils" "^2.0.0-beta.22" + "@walletconnect/types" "^2.0.0-beta.23" + "@walletconnect/utils" "^2.0.0-beta.23" ws "^8.3.0" "@walletconnect/crypto@^1.0.1": @@ -1111,7 +1111,7 @@ "@walletconnect/environment" "^1.0.0" randombytes "^2.1.0" -"@walletconnect/relay-api@^1.0.0", "@walletconnect/relay-api@^1.0.2": +"@walletconnect/relay-api@^1.0.2": version "1.0.2" resolved "https://registry.yarnpkg.com/@walletconnect/relay-api/-/relay-api-1.0.2.tgz#a6d93c5292c2f9f9424f86de09854e4f0bd2fbae" integrity sha512-6FZP6pAQwQttncuWAKC0lGvNm0SCiBEfpkdzURMoGIk4H3u5PpiUHNt9wekPzDl5CYIdVhN2RheH6uS8SuDAZw== @@ -1123,17 +1123,7 @@ resolved "https://registry.yarnpkg.com/@walletconnect/safe-json/-/safe-json-1.0.0.tgz#12eeb11d43795199c045fafde97e3c91646683b2" integrity sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg== -"@walletconnect/types@2.0.0-beta.22": - version "2.0.0-beta.22" - resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.0.0-beta.22.tgz#3d000f07357ec9254104a7334a5eec0dd20e3d9a" - integrity sha512-5CFy+3qLp8B0tdECxlsCY70twU0CJNCT1FNTs0ye8BfniyrLM4cd0G/+O5mLxZHgJsPJNt92fJnsNFZG3z0H7g== - dependencies: - "@walletconnect/jsonrpc-types" "^1.0.0" - keyvaluestorage "^0.7.1" - pino "^6.7.0" - pino-pretty "^4.3.0" - -"@walletconnect/types@^2.0.0-beta.22", "@walletconnect/types@^2.0.0-beta.23": +"@walletconnect/types@^2.0.0-beta.23", "@walletconnect/types@experimental": version "2.0.0-beta.23" resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.0.0-beta.23.tgz#3adf5c8329b7807d8c8d4aa1419e470eab72445c" integrity sha512-zYn26dvp/HsZJMUCFsJoK255yLp+Z9tGIomVO4outiZM1wa0tAUwma2QzoGyKDSgK4EbsYHFcWjSUX2kqh8quQ== @@ -1143,24 +1133,7 @@ pino "^6.7.0" pino-pretty "^4.3.0" -"@walletconnect/utils@2.0.0-beta.22": - version "2.0.0-beta.22" - resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.0.0-beta.22.tgz#60b52d3f43f3b394659db5abde954a856ba5a06b" - integrity sha512-mlZwahk+0j9LcDhi8xrAgPJ1SzzswzMBMdP/Eunb4Yb3X6fmkoZy9YSrT4B+13UwaefPq5TFqvZp40sC7StXvQ== - dependencies: - "@walletconnect/ecies-25519" "^1.0.1" - "@walletconnect/encoding" "^1.0.0" - "@walletconnect/jsonrpc-utils" "^1.0.0" - "@walletconnect/logger" "^1.0.0" - "@walletconnect/relay-api" "^1.0.0" - "@walletconnect/safe-json" "^1.0.0" - "@walletconnect/types" "^2.0.0-beta.22" - "@walletconnect/window-getters" "^1.0.0" - "@walletconnect/window-metadata" "^1.0.0" - lodash.union "^4.6.0" - query-string "^6.13.5" - -"@walletconnect/utils@^2.0.0-beta.22": +"@walletconnect/utils@^2.0.0-beta.23", "@walletconnect/utils@experimental": version "2.0.0-beta.23" resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.0.0-beta.23.tgz#005e4409a7014a66dda30389e4b1f31d186ebd0e" integrity sha512-AH38tD5P6wWo5+D+pMJYePHdu0008fI6bE8NlFy0/o7qxzCVs7GAGWnyDNSHFUg7zgu+N120jsq2mBg2bNFxLQ==