diff --git a/examples/react-app/package-lock.json b/examples/react-app/package-lock.json index 689682d39..2e87fb68a 100644 --- a/examples/react-app/package-lock.json +++ b/examples/react-app/package-lock.json @@ -1,12 +1,12 @@ { "name": "walletconnect-react-app", - "version": "2.0.0-beta.16", + "version": "2.0.0-beta.17", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "walletconnect-react-app", - "version": "2.0.0-beta.16", + "version": "2.0.0-beta.17", "license": "LGPL-3.0", "dependencies": { "@testing-library/jest-dom": "^5.11.4", @@ -23,10 +23,10 @@ "@types/react": "^16.9.53", "@types/react-dom": "^16.9.8", "@types/styled-components": "^5.1.3", - "@walletconnect/client": "^2.0.0-beta.16", + "@walletconnect/client": "^2.0.0-beta.17", "@walletconnect/qrcode-modal": "^2.0.0-alpha.20", - "@walletconnect/types": "^2.0.0-beta.16", - "@walletconnect/utils": "^2.0.0-beta.16", + "@walletconnect/types": "^2.0.0-beta.17", + "@walletconnect/utils": "^2.0.0-beta.17", "axios": "^0.21.1", "blockies-ts": "^1.0.0", "caip-api": "^2.0.0-beta.1", @@ -3988,9 +3988,9 @@ } }, "node_modules/@walletconnect/client": { - "version": "2.0.0-beta.16", - "resolved": "https://registry.npmjs.org/@walletconnect/client/-/client-2.0.0-beta.16.tgz", - "integrity": "sha512-ewhT3UfO7yXYDoP6IW9kDqrrlGRQYoVksgZGNrRz1Ns6RqrHjeGYfbhPzr/S56As8E6czGoWvff3WAPVeZw4Mw==", + "version": "2.0.0-beta.17", + "resolved": "https://registry.npmjs.org/@walletconnect/client/-/client-2.0.0-beta.17.tgz", + "integrity": "sha512-Wxp4JpT6g4nDoD5/Q+3lTMPgKA+CyLRixJbEPCDAtM2XRSGOwycVSMduiWnGceWNY/z+cZz3j0QvEYD3WCnjGg==", "dependencies": { "@walletconnect/encoding": "^1.0.0", "@walletconnect/jsonrpc-provider": "^1.0.0", @@ -3999,8 +3999,8 @@ "@walletconnect/logger": "^1.0.0", "@walletconnect/relay-api": "^1.0.0", "@walletconnect/safe-json": "^1.0.0", - "@walletconnect/types": "^2.0.0-beta.16", - "@walletconnect/utils": "^2.0.0-beta.16", + "@walletconnect/types": "^2.0.0-beta.17", + "@walletconnect/utils": "^2.0.0-beta.17", "keyvaluestorage": "^0.7.1", "pino": "^6.7.0", "pino-pretty": "^4.3.0" @@ -4151,9 +4151,10 @@ "integrity": "sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg==" }, "node_modules/@walletconnect/types": { - "version": "2.0.0-beta.16", - "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.0.0-beta.16.tgz", - "integrity": "sha512-vvdKVUzkUbE0GXaHd8u0EAZLCuG6lVfj5ueUjPKVWSl5YZJMHfORqNfrDi2znVs4F4Kcw4wkkT1UycqMZ5MVew==", + "version": "2.0.0-beta.17", + "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.0.0-beta.17.tgz", + "integrity": "sha512-YQjS9HqQSR6yztTarzeT9+DW5BTnDWBAlWedGGxiEdhuwV56FQJTZKnMjpM1f8yS5j0vBH/mSst65h7jS/65zQ==", + "license": "LGPL-3.0", "dependencies": { "@walletconnect/jsonrpc-types": "^1.0.0", "keyvaluestorage": "^0.7.1", @@ -4162,15 +4163,15 @@ } }, "node_modules/@walletconnect/utils": { - "version": "2.0.0-beta.16", - "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.0.0-beta.16.tgz", - "integrity": "sha512-y1fIpcMXp5wJoj/u74P+Vjjjr9G9NIV4WVePMPMkEcPfYpgIdACFguQwCsOaOXnrjkSIT4MupQo4CZhX8mTrhA==", + "version": "2.0.0-beta.17", + "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.0.0-beta.17.tgz", + "integrity": "sha512-+1Yp1aymXDlrsVl/koDb0vt2XDwy71ERDxM81yqbLMTkAR8Y96aV+uVJS1tEVox72Eccj3QHb5JdgQYYJWp1MA==", "dependencies": { "@walletconnect/ecies-25519": "^1.0.1", "@walletconnect/encoding": "^1.0.0", "@walletconnect/jsonrpc-utils": "^1.0.0", "@walletconnect/safe-json": "^1.0.0", - "@walletconnect/types": "^2.0.0-beta.16", + "@walletconnect/types": "^2.0.0-beta.17", "@walletconnect/window-getters": "^1.0.0", "@walletconnect/window-metadata": "^1.0.0", "query-string": "^6.13.5" @@ -25884,9 +25885,9 @@ } }, "@walletconnect/client": { - "version": "2.0.0-beta.16", - "resolved": "https://registry.npmjs.org/@walletconnect/client/-/client-2.0.0-beta.16.tgz", - "integrity": "sha512-ewhT3UfO7yXYDoP6IW9kDqrrlGRQYoVksgZGNrRz1Ns6RqrHjeGYfbhPzr/S56As8E6czGoWvff3WAPVeZw4Mw==", + "version": "2.0.0-beta.17", + "resolved": "https://registry.npmjs.org/@walletconnect/client/-/client-2.0.0-beta.17.tgz", + "integrity": "sha512-Wxp4JpT6g4nDoD5/Q+3lTMPgKA+CyLRixJbEPCDAtM2XRSGOwycVSMduiWnGceWNY/z+cZz3j0QvEYD3WCnjGg==", "requires": { "@walletconnect/encoding": "^1.0.0", "@walletconnect/jsonrpc-provider": "^1.0.0", @@ -25895,8 +25896,8 @@ "@walletconnect/logger": "^1.0.0", "@walletconnect/relay-api": "^1.0.0", "@walletconnect/safe-json": "^1.0.0", - "@walletconnect/types": "^2.0.0-beta.16", - "@walletconnect/utils": "^2.0.0-beta.16", + "@walletconnect/types": "^2.0.0-beta.17", + "@walletconnect/utils": "^2.0.0-beta.17", "keyvaluestorage": "^0.7.1", "pino": "^6.7.0", "pino-pretty": "^4.3.0" @@ -26034,9 +26035,9 @@ "integrity": "sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg==" }, "@walletconnect/types": { - "version": "2.0.0-beta.16", - "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.0.0-beta.16.tgz", - "integrity": "sha512-vvdKVUzkUbE0GXaHd8u0EAZLCuG6lVfj5ueUjPKVWSl5YZJMHfORqNfrDi2znVs4F4Kcw4wkkT1UycqMZ5MVew==", + "version": "2.0.0-beta.17", + "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.0.0-beta.17.tgz", + "integrity": "sha512-YQjS9HqQSR6yztTarzeT9+DW5BTnDWBAlWedGGxiEdhuwV56FQJTZKnMjpM1f8yS5j0vBH/mSst65h7jS/65zQ==", "requires": { "@walletconnect/jsonrpc-types": "^1.0.0", "keyvaluestorage": "^0.7.1", @@ -26045,15 +26046,15 @@ } }, "@walletconnect/utils": { - "version": "2.0.0-beta.16", - "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.0.0-beta.16.tgz", - "integrity": "sha512-y1fIpcMXp5wJoj/u74P+Vjjjr9G9NIV4WVePMPMkEcPfYpgIdACFguQwCsOaOXnrjkSIT4MupQo4CZhX8mTrhA==", + "version": "2.0.0-beta.17", + "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.0.0-beta.17.tgz", + "integrity": "sha512-+1Yp1aymXDlrsVl/koDb0vt2XDwy71ERDxM81yqbLMTkAR8Y96aV+uVJS1tEVox72Eccj3QHb5JdgQYYJWp1MA==", "requires": { "@walletconnect/ecies-25519": "^1.0.1", "@walletconnect/encoding": "^1.0.0", "@walletconnect/jsonrpc-utils": "^1.0.0", "@walletconnect/safe-json": "^1.0.0", - "@walletconnect/types": "^2.0.0-beta.16", + "@walletconnect/types": "^2.0.0-beta.17", "@walletconnect/window-getters": "^1.0.0", "@walletconnect/window-metadata": "^1.0.0", "query-string": "^6.13.5" diff --git a/examples/react-app/package.json b/examples/react-app/package.json index 7631130a5..c5749fdde 100644 --- a/examples/react-app/package.json +++ b/examples/react-app/package.json @@ -1,6 +1,6 @@ { "name": "walletconnect-react-app", - "version": "2.0.0-beta.16", + "version": "2.0.0-beta.17", "private": true, "keywords": [ "walletconnect", @@ -38,10 +38,10 @@ "@types/react": "^16.9.53", "@types/react-dom": "^16.9.8", "@types/styled-components": "^5.1.3", - "@walletconnect/client": "^2.0.0-beta.16", + "@walletconnect/client": "^2.0.0-beta.17", "@walletconnect/qrcode-modal": "^2.0.0-alpha.20", - "@walletconnect/types": "^2.0.0-beta.16", - "@walletconnect/utils": "^2.0.0-beta.16", + "@walletconnect/types": "^2.0.0-beta.17", + "@walletconnect/utils": "^2.0.0-beta.17", "axios": "^0.21.1", "blockies-ts": "^1.0.0", "caip-api": "^2.0.0-beta.1", diff --git a/examples/react-app/src/App.tsx b/examples/react-app/src/App.tsx index e41c01710..ea562eb4f 100644 --- a/examples/react-app/src/App.tsx +++ b/examples/react-app/src/App.tsx @@ -336,7 +336,7 @@ class App extends React.Component { try { const arr = await Promise.all( this.state.accounts.map(async account => { - const [namespace, reference] = account.split(":"); + const [namespace, reference, address] = account.split(":"); const chainId = `${namespace}:${reference}`; const assets = await apiGetAccountAssets(address, chainId); return { account, assets }; @@ -382,8 +382,10 @@ class App extends React.Component { try { // get ethereum address - const address = this.state.accounts.find(account => account.startsWith(chainId)); - const account = `${chainId}:${address}`; + const account = this.state.accounts.find(account => account.startsWith(chainId)); + if (account === undefined) throw new Error("Account is not found"); + const address = account.split(":").pop(); + if (address === undefined) throw new Error("Address is invalid"); // open modal this.openRequestModal(); @@ -443,8 +445,10 @@ class App extends React.Component { const hexMsg = encoding.utf8ToHex(message, true); // get ethereum address - const address = this.state.accounts.find(account => account.startsWith(chainId)); - if (address === undefined) throw new Error("Address is not valid"); + const account = this.state.accounts.find(account => account.startsWith(chainId)); + if (account === undefined) throw new Error("Account is not found"); + const address = account.split(":").pop(); + if (address === undefined) throw new Error("Address is invalid"); // personal_sign params const params = [hexMsg, address]; @@ -505,8 +509,10 @@ class App extends React.Component { const message = JSON.stringify(eip712.example); // get ethereum address - const address = this.state.accounts.find(account => account.startsWith(chainId)); - if (address === undefined) throw new Error("Address is not valid"); + const account = this.state.accounts.find(account => account.startsWith(chainId)); + if (account === undefined) throw new Error("Account is not found"); + const address = account.split(":").pop(); + if (address === undefined) throw new Error("Address is invalid"); // eth_signTypedData params const params = [address, message]; @@ -592,8 +598,10 @@ class App extends React.Component { ); // get cosmos address - const address = this.state.accounts.find(account => account.startsWith(chainId)); - if (address === undefined) throw new Error("Address is not valid"); + const account = this.state.accounts.find(account => account.startsWith(chainId)); + if (account === undefined) throw new Error("Account is not found"); + const address = account.split(":").pop(); + if (address === undefined) throw new Error("Address is invalid"); // cosmos_signDirect params const params = { @@ -662,8 +670,10 @@ class App extends React.Component { }; // get cosmos address - const address = this.state.accounts.find(account => account.startsWith(chainId)); - if (address === undefined) throw new Error("Address is not valid"); + const account = this.state.accounts.find(account => account.startsWith(chainId)); + if (account === undefined) throw new Error("Account is not found"); + const address = account.split(":").pop(); + if (address === undefined) throw new Error("Address is invalid"); // cosmos_signAmino params const params = { signerAddress: address, signDoc }; diff --git a/examples/react-wallet/package-lock.json b/examples/react-wallet/package-lock.json index d069ad9ce..7fa4db008 100644 --- a/examples/react-wallet/package-lock.json +++ b/examples/react-wallet/package-lock.json @@ -1,12 +1,12 @@ { "name": "walletconnect-react-wallet", - "version": "2.0.0-beta.16", + "version": "2.0.0-beta.17", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "walletconnect-react-wallet", - "version": "2.0.0-beta.16", + "version": "2.0.0-beta.17", "license": "LGPL-3.0", "dependencies": { "@testing-library/jest-dom": "^5.11.4", @@ -19,10 +19,10 @@ "@types/react-dom": "^16.9.8", "@types/react-qr-reader": "^2.1.3", "@types/styled-components": "^5.1.2", - "@walletconnect/client": "^2.0.0-beta.16", + "@walletconnect/client": "^2.0.0-beta.17", "@walletconnect/jsonrpc-utils": "^1.0.0", - "@walletconnect/types": "^2.0.0-beta.16", - "@walletconnect/utils": "^2.0.0-beta.16", + "@walletconnect/types": "^2.0.0-beta.17", + "@walletconnect/utils": "^2.0.0-beta.17", "axios": "^0.21.1", "blockies-ts": "^1.0.0", "caip-wallet": "^2.0.0-beta.5", @@ -3945,9 +3945,9 @@ } }, "node_modules/@walletconnect/client": { - "version": "2.0.0-beta.16", - "resolved": "https://registry.npmjs.org/@walletconnect/client/-/client-2.0.0-beta.16.tgz", - "integrity": "sha512-ewhT3UfO7yXYDoP6IW9kDqrrlGRQYoVksgZGNrRz1Ns6RqrHjeGYfbhPzr/S56As8E6czGoWvff3WAPVeZw4Mw==", + "version": "2.0.0-beta.17", + "resolved": "https://registry.npmjs.org/@walletconnect/client/-/client-2.0.0-beta.17.tgz", + "integrity": "sha512-Wxp4JpT6g4nDoD5/Q+3lTMPgKA+CyLRixJbEPCDAtM2XRSGOwycVSMduiWnGceWNY/z+cZz3j0QvEYD3WCnjGg==", "dependencies": { "@walletconnect/encoding": "^1.0.0", "@walletconnect/jsonrpc-provider": "^1.0.0", @@ -3956,8 +3956,8 @@ "@walletconnect/logger": "^1.0.0", "@walletconnect/relay-api": "^1.0.0", "@walletconnect/safe-json": "^1.0.0", - "@walletconnect/types": "^2.0.0-beta.16", - "@walletconnect/utils": "^2.0.0-beta.16", + "@walletconnect/types": "^2.0.0-beta.17", + "@walletconnect/utils": "^2.0.0-beta.17", "keyvaluestorage": "^0.7.1", "pino": "^6.7.0", "pino-pretty": "^4.3.0" @@ -4088,9 +4088,10 @@ "integrity": "sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg==" }, "node_modules/@walletconnect/types": { - "version": "2.0.0-beta.16", - "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.0.0-beta.16.tgz", - "integrity": "sha512-vvdKVUzkUbE0GXaHd8u0EAZLCuG6lVfj5ueUjPKVWSl5YZJMHfORqNfrDi2znVs4F4Kcw4wkkT1UycqMZ5MVew==", + "version": "2.0.0-beta.17", + "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.0.0-beta.17.tgz", + "integrity": "sha512-YQjS9HqQSR6yztTarzeT9+DW5BTnDWBAlWedGGxiEdhuwV56FQJTZKnMjpM1f8yS5j0vBH/mSst65h7jS/65zQ==", + "license": "LGPL-3.0", "dependencies": { "@walletconnect/jsonrpc-types": "^1.0.0", "keyvaluestorage": "^0.7.1", @@ -4099,15 +4100,15 @@ } }, "node_modules/@walletconnect/utils": { - "version": "2.0.0-beta.16", - "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.0.0-beta.16.tgz", - "integrity": "sha512-y1fIpcMXp5wJoj/u74P+Vjjjr9G9NIV4WVePMPMkEcPfYpgIdACFguQwCsOaOXnrjkSIT4MupQo4CZhX8mTrhA==", + "version": "2.0.0-beta.17", + "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.0.0-beta.17.tgz", + "integrity": "sha512-+1Yp1aymXDlrsVl/koDb0vt2XDwy71ERDxM81yqbLMTkAR8Y96aV+uVJS1tEVox72Eccj3QHb5JdgQYYJWp1MA==", "dependencies": { "@walletconnect/ecies-25519": "^1.0.1", "@walletconnect/encoding": "^1.0.0", "@walletconnect/jsonrpc-utils": "^1.0.0", "@walletconnect/safe-json": "^1.0.0", - "@walletconnect/types": "^2.0.0-beta.16", + "@walletconnect/types": "^2.0.0-beta.17", "@walletconnect/window-getters": "^1.0.0", "@walletconnect/window-metadata": "^1.0.0", "query-string": "^6.13.5" @@ -25464,9 +25465,9 @@ } }, "@walletconnect/client": { - "version": "2.0.0-beta.16", - "resolved": "https://registry.npmjs.org/@walletconnect/client/-/client-2.0.0-beta.16.tgz", - "integrity": "sha512-ewhT3UfO7yXYDoP6IW9kDqrrlGRQYoVksgZGNrRz1Ns6RqrHjeGYfbhPzr/S56As8E6czGoWvff3WAPVeZw4Mw==", + "version": "2.0.0-beta.17", + "resolved": "https://registry.npmjs.org/@walletconnect/client/-/client-2.0.0-beta.17.tgz", + "integrity": "sha512-Wxp4JpT6g4nDoD5/Q+3lTMPgKA+CyLRixJbEPCDAtM2XRSGOwycVSMduiWnGceWNY/z+cZz3j0QvEYD3WCnjGg==", "requires": { "@walletconnect/encoding": "^1.0.0", "@walletconnect/jsonrpc-provider": "^1.0.0", @@ -25475,8 +25476,8 @@ "@walletconnect/logger": "^1.0.0", "@walletconnect/relay-api": "^1.0.0", "@walletconnect/safe-json": "^1.0.0", - "@walletconnect/types": "^2.0.0-beta.16", - "@walletconnect/utils": "^2.0.0-beta.16", + "@walletconnect/types": "^2.0.0-beta.17", + "@walletconnect/utils": "^2.0.0-beta.17", "keyvaluestorage": "^0.7.1", "pino": "^6.7.0", "pino-pretty": "^4.3.0" @@ -25594,9 +25595,9 @@ "integrity": "sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg==" }, "@walletconnect/types": { - "version": "2.0.0-beta.16", - "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.0.0-beta.16.tgz", - "integrity": "sha512-vvdKVUzkUbE0GXaHd8u0EAZLCuG6lVfj5ueUjPKVWSl5YZJMHfORqNfrDi2znVs4F4Kcw4wkkT1UycqMZ5MVew==", + "version": "2.0.0-beta.17", + "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.0.0-beta.17.tgz", + "integrity": "sha512-YQjS9HqQSR6yztTarzeT9+DW5BTnDWBAlWedGGxiEdhuwV56FQJTZKnMjpM1f8yS5j0vBH/mSst65h7jS/65zQ==", "requires": { "@walletconnect/jsonrpc-types": "^1.0.0", "keyvaluestorage": "^0.7.1", @@ -25605,15 +25606,15 @@ } }, "@walletconnect/utils": { - "version": "2.0.0-beta.16", - "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.0.0-beta.16.tgz", - "integrity": "sha512-y1fIpcMXp5wJoj/u74P+Vjjjr9G9NIV4WVePMPMkEcPfYpgIdACFguQwCsOaOXnrjkSIT4MupQo4CZhX8mTrhA==", + "version": "2.0.0-beta.17", + "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.0.0-beta.17.tgz", + "integrity": "sha512-+1Yp1aymXDlrsVl/koDb0vt2XDwy71ERDxM81yqbLMTkAR8Y96aV+uVJS1tEVox72Eccj3QHb5JdgQYYJWp1MA==", "requires": { "@walletconnect/ecies-25519": "^1.0.1", "@walletconnect/encoding": "^1.0.0", "@walletconnect/jsonrpc-utils": "^1.0.0", "@walletconnect/safe-json": "^1.0.0", - "@walletconnect/types": "^2.0.0-beta.16", + "@walletconnect/types": "^2.0.0-beta.17", "@walletconnect/window-getters": "^1.0.0", "@walletconnect/window-metadata": "^1.0.0", "query-string": "^6.13.5" diff --git a/examples/react-wallet/package.json b/examples/react-wallet/package.json index 1cdd1aad7..e78dc1b9c 100644 --- a/examples/react-wallet/package.json +++ b/examples/react-wallet/package.json @@ -1,6 +1,6 @@ { "name": "walletconnect-react-wallet", - "version": "2.0.0-beta.16", + "version": "2.0.0-beta.17", "private": true, "keywords": [ "walletconnect", @@ -34,10 +34,10 @@ "@types/react-dom": "^16.9.8", "@types/react-qr-reader": "^2.1.3", "@types/styled-components": "^5.1.2", - "@walletconnect/client": "^2.0.0-beta.16", + "@walletconnect/client": "^2.0.0-beta.17", "@walletconnect/jsonrpc-utils": "^1.0.0", - "@walletconnect/types": "^2.0.0-beta.16", - "@walletconnect/utils": "^2.0.0-beta.16", + "@walletconnect/types": "^2.0.0-beta.17", + "@walletconnect/utils": "^2.0.0-beta.17", "axios": "^0.21.1", "blockies-ts": "^1.0.0", "caip-wallet": "^2.0.0-beta.5", diff --git a/servers/health/package-lock.json b/servers/health/package-lock.json index c09e2f24c..68e9e7d91 100644 --- a/servers/health/package-lock.json +++ b/servers/health/package-lock.json @@ -10,12 +10,12 @@ "license": "LGPL-3.0", "dependencies": { "@types/pino": "^6.3.5", - "@walletconnect/client": "^2.0.0-beta.14", + "@walletconnect/client": "^2.0.0-beta.17", "@walletconnect/encoding": "^1.0.0", "@walletconnect/jsonrpc-utils": "^1.0.0", "@walletconnect/logger": "^1.0.0", "@walletconnect/timestamp": "^1.0.0", - "@walletconnect/types": "^2.0.0-beta.14", + "@walletconnect/types": "^2.0.0-beta.17", "axios": "^0.21.1", "fastify": "^3.10.1", "fastify-helmet": "^5.1.0", @@ -56,87 +56,6 @@ "resolved": "https://registry.npmjs.org/@hapi/bourne/-/bourne-2.0.0.tgz", "integrity": "sha512-WEezM1FWztfbzqIUbsDzFRVMxSoLy3HugVcux6KDDtTqzPsLE8NDRHfXvev66aH1i2oOKKar3/XDjbvh/OUBdg==" }, - "node_modules/@json-rpc-tools/provider": { - "version": "2.0.0-beta.12", - "resolved": "https://registry.npmjs.org/@json-rpc-tools/provider/-/provider-2.0.0-beta.12.tgz", - "integrity": "sha512-YXckO+chyylvZWtYr0RmmYLP/Khi17r1DYyJRyzQKYUUkzL13rx71QEUYVed9VBnuBK2ezHUW+V1BSGXwGNs6g==", - "dependencies": { - "@json-rpc-tools/utils": "^2.0.0-beta.12", - "safe-json-utils": "^2.0.0-beta.0" - } - }, - "node_modules/@json-rpc-tools/provider/node_modules/safe-json-utils": { - "version": "2.0.0-beta.0", - "resolved": "https://registry.npmjs.org/safe-json-utils/-/safe-json-utils-2.0.0-beta.0.tgz", - "integrity": "sha512-kaIaayQoR1EoeX0UIQqQyHvWNNWKnQcrNmebCpR80zSjML/EMmulChGJDSoJvFR8eWkVIpDD5kAF0dMuxl1ngg==" - }, - "node_modules/@json-rpc-tools/types": { - "version": "2.0.0-beta.12", - "resolved": "https://registry.npmjs.org/@json-rpc-tools/types/-/types-2.0.0-beta.12.tgz", - "integrity": "sha512-UM8w0RnD4DjYql/HlThe051ivW2Q8ulWarr7ux5Aas1UsOmcGQEg4slQo46p+BXgh1Nth7SHWS2tVnW/UUnCwQ==", - "dependencies": { - "keyvaluestorage-interface": "^1.0.0" - } - }, - "node_modules/@json-rpc-tools/utils": { - "version": "2.0.0-beta.12", - "resolved": "https://registry.npmjs.org/@json-rpc-tools/utils/-/utils-2.0.0-beta.12.tgz", - "integrity": "sha512-7j3REzegFNXdgA0rjllNKz84ikIAXm4Yv3mO8Lx9D64hUOU2tUZfELtKEm2wr8FsP5if46Xl9ZH/Ch7JB4nXJQ==", - "dependencies": { - "@json-rpc-tools/types": "^2.0.0-beta.12", - "@pedrouid/environment": "^1.0.1" - } - }, - "node_modules/@json-rpc-tools/ws-connection": { - "version": "2.0.0-beta.12", - "resolved": "https://registry.npmjs.org/@json-rpc-tools/ws-connection/-/ws-connection-2.0.0-beta.12.tgz", - "integrity": "sha512-AqNkWBROfO5zOUjoU4CNQKwR+L1pedVv+QeMUFdBT8T3GUrhet7PRdxto2BkB7JPFkHzxCUaGswkO+w11bq96A==", - "dependencies": { - "@json-rpc-tools/utils": "^2.0.0-beta.12", - "safe-json-utils": "^2.0.0-beta.0", - "ws": "^7.5.1" - } - }, - "node_modules/@json-rpc-tools/ws-connection/node_modules/safe-json-utils": { - "version": "2.0.0-beta.0", - "resolved": "https://registry.npmjs.org/safe-json-utils/-/safe-json-utils-2.0.0-beta.0.tgz", - "integrity": "sha512-kaIaayQoR1EoeX0UIQqQyHvWNNWKnQcrNmebCpR80zSjML/EMmulChGJDSoJvFR8eWkVIpDD5kAF0dMuxl1ngg==" - }, - "node_modules/@pedrouid/environment": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@pedrouid/environment/-/environment-1.0.1.tgz", - "integrity": "sha512-HaW78NszGzRZd9SeoI3JD11JqY+lubnaOx7Pewj5pfjqWXOEATpeKIFb9Z4t2WBUK2iryiXX3lzWwmYWgUL0Ug==" - }, - "node_modules/@pedrouid/iso-crypto": { - "version": "2.0.0-beta.7", - "resolved": "https://registry.npmjs.org/@pedrouid/iso-crypto/-/iso-crypto-2.0.0-beta.7.tgz", - "integrity": "sha512-5FxV0kH1gWeI+ejAh3yub/niB/ecxdtUUw8BvKFsPNjNHYF4Zz7zMa1EcSSjOri5D/mw6PLW/Vp+3I2wfeICcw==", - "dependencies": { - "@pedrouid/environment": "^1.0.1", - "@pedrouid/iso-random": "^2.0.0-beta.6", - "aes-js": "^3.1.2", - "enc-utils": "^3.0.0", - "hash.js": "^1.1.7" - } - }, - "node_modules/@pedrouid/iso-random": { - "version": "2.0.0-beta.6", - "resolved": "https://registry.npmjs.org/@pedrouid/iso-random/-/iso-random-2.0.0-beta.6.tgz", - "integrity": "sha512-y2oAAPULxBWVSF2FLA0veB/qAfclbyJqepxx2p9/dT4166B+iVfIO5Y+YBXo3t9yhKfSpjdg8lJcd4Cyfe2Yvg==", - "dependencies": { - "@pedrouid/environment": "^1.0.1", - "enc-utils": "^3.0.0", - "randombytes": "^2.1.0" - } - }, - "node_modules/@pedrouid/pino-utils": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@pedrouid/pino-utils/-/pino-utils-1.0.1.tgz", - "integrity": "sha512-a20vNltMhvk/bvhgnpSvBLFqL9B4xXNCukDEo70lO1bCSwRy5Tmu6Gc/1DsuYY+oNgE6b424j5J+8/J1OJenCg==", - "dependencies": { - "pino": "^6.7.0" - } - }, "node_modules/@sindresorhus/is": { "version": "0.14.0", "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz", @@ -319,22 +238,44 @@ "dev": true }, "node_modules/@walletconnect/client": { - "version": "2.0.0-beta.14", - "resolved": "https://registry.npmjs.org/@walletconnect/client/-/client-2.0.0-beta.14.tgz", - "integrity": "sha512-OPMCc/UN9O3MCo/d4r5hZyxdQVZN2BOnPW12wnYquowNfiz8blnkJu829iFUnWP/LI4wTqmJTxVOZvLpGBeb2Q==", - "dependencies": { - "@json-rpc-tools/provider": "^2.0.0-beta.12", - "@json-rpc-tools/utils": "^2.0.0-beta.12", - "@json-rpc-tools/ws-connection": "^2.0.0-beta.12", - "@pedrouid/pino-utils": "^1.0.1", - "@walletconnect/types": "^2.0.0-beta.14", - "@walletconnect/utils": "^2.0.0-beta.14", - "enc-utils": "^3.0.0", + "version": "2.0.0-beta.17", + "resolved": "https://registry.npmjs.org/@walletconnect/client/-/client-2.0.0-beta.17.tgz", + "integrity": "sha512-Wxp4JpT6g4nDoD5/Q+3lTMPgKA+CyLRixJbEPCDAtM2XRSGOwycVSMduiWnGceWNY/z+cZz3j0QvEYD3WCnjGg==", + "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/safe-json": "^1.0.0", + "@walletconnect/types": "^2.0.0-beta.17", + "@walletconnect/utils": "^2.0.0-beta.17", "keyvaluestorage": "^0.7.1", "pino": "^6.7.0", - "pino-pretty": "^4.3.0", - "relay-provider": "^2.0.0-beta.0", - "safe-json-utils": "^1.1.1" + "pino-pretty": "^4.3.0" + } + }, + "node_modules/@walletconnect/crypto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@walletconnect/crypto/-/crypto-1.0.1.tgz", + "integrity": "sha512-IgUReNrycIFxkGgq8YT9HsosCkhutakWD9Q411PR0aJfxpEa/VKJeaLRtoz6DvJpztWStwhIHnAbBoOVR72a6g==", + "dependencies": { + "@walletconnect/encoding": "^1.0.0", + "@walletconnect/environment": "^1.0.0", + "@walletconnect/randombytes": "^1.0.1", + "aes-js": "^3.1.2", + "hash.js": "^1.1.7" + } + }, + "node_modules/@walletconnect/ecies-25519": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@walletconnect/ecies-25519/-/ecies-25519-1.0.1.tgz", + "integrity": "sha512-IK3bYxmYbnFicO69qehPuacwfa3dU1Lw20YdvfLg3IH/WCCmo5EKZu5puaQCXep42uReYE4CQ5gcVSC4PCOLcw==", + "dependencies": { + "@stablelib/x25519": "^1.0.1", + "@walletconnect/crypto": "^1.0.1", + "@walletconnect/encoding": "^1.0.0" } }, "node_modules/@walletconnect/encoding": { @@ -351,6 +292,15 @@ "resolved": "https://registry.npmjs.org/@walletconnect/environment/-/environment-1.0.0.tgz", "integrity": "sha512-4BwqyWy6KpSvkocSaV7WR3BlZfrxLbJSLkg+j7Gl6pTDE+U55lLhJvQaMuDVazXYxcjBsG09k7UlH7cGiUI5vQ==" }, + "node_modules/@walletconnect/jsonrpc-provider": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@walletconnect/jsonrpc-provider/-/jsonrpc-provider-1.0.0.tgz", + "integrity": "sha512-ZVe23tYT0LdykZ/denBdkKCjBC13fnpj8MiKFuvUl0idBv1PiYKYJR3LVJHy8+7zk0lBbDH3hBNrbMt/K4kjcw==", + "dependencies": { + "@walletconnect/jsonrpc-utils": "^1.0.0", + "@walletconnect/safe-json": "^1.0.0" + } + }, "node_modules/@walletconnect/jsonrpc-types": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.0.tgz", @@ -368,6 +318,16 @@ "@walletconnect/jsonrpc-types": "^1.0.0" } }, + "node_modules/@walletconnect/jsonrpc-ws-connection": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@walletconnect/jsonrpc-ws-connection/-/jsonrpc-ws-connection-1.0.0.tgz", + "integrity": "sha512-ITeDZo08Jr2AdftksAJNSoB/IQdpmxwJBhHsa9z9rp95V6S88zSqc6EB+BSYMVJZPjLYW8Xi+gZD9YPwxMRY0w==", + "dependencies": { + "@walletconnect/jsonrpc-utils": "^1.0.0", + "@walletconnect/safe-json": "^1.0.0", + "ws": "^7.5.1" + } + }, "node_modules/@walletconnect/logger": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/@walletconnect/logger/-/logger-1.0.0.tgz", @@ -376,35 +336,71 @@ "pino": "^6.7.0" } }, + "node_modules/@walletconnect/randombytes": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@walletconnect/randombytes/-/randombytes-1.0.1.tgz", + "integrity": "sha512-YJTyq69i0PtxVg7osEpKfvjTaWuAsR49QEcqGKZRKVQWMbGXBZ65fovemK/SRgtiFRv0V8PwsrlKSheqzfPNcg==", + "dependencies": { + "@walletconnect/encoding": "^1.0.0", + "@walletconnect/environment": "^1.0.0", + "randombytes": "^2.1.0" + } + }, + "node_modules/@walletconnect/relay-api": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@walletconnect/relay-api/-/relay-api-1.0.0.tgz", + "integrity": "sha512-ri+hail+6rz9Fx4Hfqq/er0OfzMmKg2/thL5WemOM3JuR6zVqMUr0G5ExJ4OjCWjd/ndL4CZ0ldLINmeOZr2ag==", + "dependencies": { + "@walletconnect/jsonrpc-types": "^1.0.0" + } + }, + "node_modules/@walletconnect/safe-json": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@walletconnect/safe-json/-/safe-json-1.0.0.tgz", + "integrity": "sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg==" + }, "node_modules/@walletconnect/timestamp": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/@walletconnect/timestamp/-/timestamp-1.0.0.tgz", "integrity": "sha512-kloxbLEu3gUcFhxqerc8oCEyTBVOmXDXj9uCmBGir9enJsgtV9tNc8pEVbfrvbmcbaJ9KI48j6d68r/qf288iA==" }, "node_modules/@walletconnect/types": { - "version": "2.0.0-beta.14", - "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.0.0-beta.14.tgz", - "integrity": "sha512-OxR8r+scDbSB6Wpwl7+yuVZ5fna8AcU/mcO9qI17oTYTPliVJX7WRR4PEbFnZXgQOmb4Bm49v248lz4vgFCwqQ==", + "version": "2.0.0-beta.17", + "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.0.0-beta.17.tgz", + "integrity": "sha512-YQjS9HqQSR6yztTarzeT9+DW5BTnDWBAlWedGGxiEdhuwV56FQJTZKnMjpM1f8yS5j0vBH/mSst65h7jS/65zQ==", "dependencies": { - "@json-rpc-tools/types": "^2.0.0-beta.12", + "@walletconnect/jsonrpc-types": "^1.0.0", "keyvaluestorage": "^0.7.1", "pino": "^6.7.0", "pino-pretty": "^4.3.0" } }, "node_modules/@walletconnect/utils": { - "version": "2.0.0-beta.14", - "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.0.0-beta.14.tgz", - "integrity": "sha512-PwpAxQoVo8TsZgoPDng6wjfPmLsZFnUJwRn3LLnm9NYmNwxJbRX9Sc6hDq1Ww1i7+qikKuiYdWt5E+8Y/bR6RA==", + "version": "2.0.0-beta.17", + "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.0.0-beta.17.tgz", + "integrity": "sha512-+1Yp1aymXDlrsVl/koDb0vt2XDwy71ERDxM81yqbLMTkAR8Y96aV+uVJS1tEVox72Eccj3QHb5JdgQYYJWp1MA==", "dependencies": { - "@json-rpc-tools/utils": "^2.0.0-beta.12", - "@walletconnect/types": "^2.0.0-beta.14", - "ecies-25519": "^2.0.0-beta.6", - "enc-utils": "^3.0.0", - "query-string": "^6.13.5", - "safe-json-utils": "^1.1.1", - "window-getters": "^1.0.1", - "window-metadata": "^1.0.1" + "@walletconnect/ecies-25519": "^1.0.1", + "@walletconnect/encoding": "^1.0.0", + "@walletconnect/jsonrpc-utils": "^1.0.0", + "@walletconnect/safe-json": "^1.0.0", + "@walletconnect/types": "^2.0.0-beta.17", + "@walletconnect/window-getters": "^1.0.0", + "@walletconnect/window-metadata": "^1.0.0", + "query-string": "^6.13.5" + } + }, + "node_modules/@walletconnect/window-getters": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@walletconnect/window-getters/-/window-getters-1.0.0.tgz", + "integrity": "sha512-xB0SQsLaleIYIkSsl43vm8EwETpBzJ2gnzk7e0wMF3ktqiTGS6TFHxcprMl5R44KKh4tCcHCJwolMCaDSwtAaA==" + }, + "node_modules/@walletconnect/window-metadata": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@walletconnect/window-metadata/-/window-metadata-1.0.0.tgz", + "integrity": "sha512-9eFvmJxIKCC3YWOL97SgRkKhlyGXkrHwamfechmqszbypFspaSk+t2jQXAEU7YClHF6Qjw5eYOmy1//zFi9/GA==", + "dependencies": { + "@walletconnect/window-getters": "^1.0.0" } }, "node_modules/abbrev": { @@ -1503,31 +1499,12 @@ "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=", "dev": true }, - "node_modules/ecies-25519": { - "version": "2.0.0-beta.6", - "resolved": "https://registry.npmjs.org/ecies-25519/-/ecies-25519-2.0.0-beta.6.tgz", - "integrity": "sha512-QL7SEyprWcvSM28m/6UtGucwI3gSgnDm/Q9E/J4+z+T/PuCNpWR5y0c45Sip6+T3WrusalPvaEGHHe003ECxzw==", - "dependencies": { - "@pedrouid/iso-crypto": "^2.0.0-beta.7", - "@stablelib/x25519": "^1.0.1", - "enc-utils": "^3.0.0" - } - }, "node_modules/emoji-regex": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", "dev": true }, - "node_modules/enc-utils": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/enc-utils/-/enc-utils-3.0.0.tgz", - "integrity": "sha512-e57t/Z2HzWOLwOp7DZcV0VMEY8t7ptWwsxyp6kM2b2zrk6JqIpXxzkruHAMiBsy5wg9jp/183GdiRXCvBtzsYg==", - "dependencies": { - "is-typedarray": "1.0.0", - "typedarray-to-buffer": "3.1.5" - } - }, "node_modules/end-of-stream": { "version": "1.4.4", "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", @@ -3728,14 +3705,6 @@ "node": ">=8" } }, - "node_modules/relay-provider": { - "version": "2.0.0-beta.0", - "resolved": "https://registry.npmjs.org/relay-provider/-/relay-provider-2.0.0-beta.0.tgz", - "integrity": "sha512-ni4p+cqlH2U+SwBLjYk7uM9HWOfpR/PXPTh3M5AtzKxUJo5Y6d2u9qaKWfgdGGpQrtI5CIGeaHkzBpoBqXf4gA==", - "dependencies": { - "@json-rpc-tools/types": "^2.0.0-beta.1" - } - }, "node_modules/require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", @@ -4219,9 +4188,9 @@ } }, "node_modules/tar": { - "version": "6.1.2", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.2.tgz", - "integrity": "sha512-EwKEgqJ7nJoS+s8QfLYVGMDmAsj+StbI2AM/RTHeUSsOw6Z8bwNBRv5z3CY0m7laC5qUAqruLX5AhMuc5deY3Q==", + "version": "6.1.6", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.6.tgz", + "integrity": "sha512-oaWyu5dQbHaYcyZCTfyPpC+VmI62/OM2RTUYavTk1MDr1cwW5Boi3baeYQKiZbY2uSQJGr+iMOzb/JFxLrft+g==", "dependencies": { "chownr": "^2.0.0", "fs-minipass": "^2.0.0", @@ -4647,19 +4616,6 @@ "node": ">=8" } }, - "node_modules/window-getters": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/window-getters/-/window-getters-1.0.1.tgz", - "integrity": "sha512-cojBfDeV58XEurDgj+rre15c7dvu27bWCPlOIpwQgreOsw6qQk0UGDR1hi7ZHKw5+L0AENUNNWGG2h4yr2Y3hQ==" - }, - "node_modules/window-metadata": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/window-metadata/-/window-metadata-1.0.1.tgz", - "integrity": "sha512-jdU1zWsFMDTYRUtZx/4nh5dUJ9MJHfNVvrf0jaYVuC9SiNcSLiBd79H4XM2DhKmHmN8tlOCzovc5RCI4HbFObA==", - "dependencies": { - "window-getters": "^1.0.0" - } - }, "node_modules/workerpool": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.1.0.tgz", @@ -4933,91 +4889,6 @@ "resolved": "https://registry.npmjs.org/@hapi/bourne/-/bourne-2.0.0.tgz", "integrity": "sha512-WEezM1FWztfbzqIUbsDzFRVMxSoLy3HugVcux6KDDtTqzPsLE8NDRHfXvev66aH1i2oOKKar3/XDjbvh/OUBdg==" }, - "@json-rpc-tools/provider": { - "version": "2.0.0-beta.12", - "resolved": "https://registry.npmjs.org/@json-rpc-tools/provider/-/provider-2.0.0-beta.12.tgz", - "integrity": "sha512-YXckO+chyylvZWtYr0RmmYLP/Khi17r1DYyJRyzQKYUUkzL13rx71QEUYVed9VBnuBK2ezHUW+V1BSGXwGNs6g==", - "requires": { - "@json-rpc-tools/utils": "^2.0.0-beta.12", - "safe-json-utils": "^2.0.0-beta.0" - }, - "dependencies": { - "safe-json-utils": { - "version": "2.0.0-beta.0", - "resolved": "https://registry.npmjs.org/safe-json-utils/-/safe-json-utils-2.0.0-beta.0.tgz", - "integrity": "sha512-kaIaayQoR1EoeX0UIQqQyHvWNNWKnQcrNmebCpR80zSjML/EMmulChGJDSoJvFR8eWkVIpDD5kAF0dMuxl1ngg==" - } - } - }, - "@json-rpc-tools/types": { - "version": "2.0.0-beta.12", - "resolved": "https://registry.npmjs.org/@json-rpc-tools/types/-/types-2.0.0-beta.12.tgz", - "integrity": "sha512-UM8w0RnD4DjYql/HlThe051ivW2Q8ulWarr7ux5Aas1UsOmcGQEg4slQo46p+BXgh1Nth7SHWS2tVnW/UUnCwQ==", - "requires": { - "keyvaluestorage-interface": "^1.0.0" - } - }, - "@json-rpc-tools/utils": { - "version": "2.0.0-beta.12", - "resolved": "https://registry.npmjs.org/@json-rpc-tools/utils/-/utils-2.0.0-beta.12.tgz", - "integrity": "sha512-7j3REzegFNXdgA0rjllNKz84ikIAXm4Yv3mO8Lx9D64hUOU2tUZfELtKEm2wr8FsP5if46Xl9ZH/Ch7JB4nXJQ==", - "requires": { - "@json-rpc-tools/types": "^2.0.0-beta.12", - "@pedrouid/environment": "^1.0.1" - } - }, - "@json-rpc-tools/ws-connection": { - "version": "2.0.0-beta.12", - "resolved": "https://registry.npmjs.org/@json-rpc-tools/ws-connection/-/ws-connection-2.0.0-beta.12.tgz", - "integrity": "sha512-AqNkWBROfO5zOUjoU4CNQKwR+L1pedVv+QeMUFdBT8T3GUrhet7PRdxto2BkB7JPFkHzxCUaGswkO+w11bq96A==", - "requires": { - "@json-rpc-tools/utils": "^2.0.0-beta.12", - "safe-json-utils": "^2.0.0-beta.0", - "ws": "^7.5.1" - }, - "dependencies": { - "safe-json-utils": { - "version": "2.0.0-beta.0", - "resolved": "https://registry.npmjs.org/safe-json-utils/-/safe-json-utils-2.0.0-beta.0.tgz", - "integrity": "sha512-kaIaayQoR1EoeX0UIQqQyHvWNNWKnQcrNmebCpR80zSjML/EMmulChGJDSoJvFR8eWkVIpDD5kAF0dMuxl1ngg==" - } - } - }, - "@pedrouid/environment": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@pedrouid/environment/-/environment-1.0.1.tgz", - "integrity": "sha512-HaW78NszGzRZd9SeoI3JD11JqY+lubnaOx7Pewj5pfjqWXOEATpeKIFb9Z4t2WBUK2iryiXX3lzWwmYWgUL0Ug==" - }, - "@pedrouid/iso-crypto": { - "version": "2.0.0-beta.7", - "resolved": "https://registry.npmjs.org/@pedrouid/iso-crypto/-/iso-crypto-2.0.0-beta.7.tgz", - "integrity": "sha512-5FxV0kH1gWeI+ejAh3yub/niB/ecxdtUUw8BvKFsPNjNHYF4Zz7zMa1EcSSjOri5D/mw6PLW/Vp+3I2wfeICcw==", - "requires": { - "@pedrouid/environment": "^1.0.1", - "@pedrouid/iso-random": "^2.0.0-beta.6", - "aes-js": "^3.1.2", - "enc-utils": "^3.0.0", - "hash.js": "^1.1.7" - } - }, - "@pedrouid/iso-random": { - "version": "2.0.0-beta.6", - "resolved": "https://registry.npmjs.org/@pedrouid/iso-random/-/iso-random-2.0.0-beta.6.tgz", - "integrity": "sha512-y2oAAPULxBWVSF2FLA0veB/qAfclbyJqepxx2p9/dT4166B+iVfIO5Y+YBXo3t9yhKfSpjdg8lJcd4Cyfe2Yvg==", - "requires": { - "@pedrouid/environment": "^1.0.1", - "enc-utils": "^3.0.0", - "randombytes": "^2.1.0" - } - }, - "@pedrouid/pino-utils": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@pedrouid/pino-utils/-/pino-utils-1.0.1.tgz", - "integrity": "sha512-a20vNltMhvk/bvhgnpSvBLFqL9B4xXNCukDEo70lO1bCSwRy5Tmu6Gc/1DsuYY+oNgE6b424j5J+8/J1OJenCg==", - "requires": { - "pino": "^6.7.0" - } - }, "@sindresorhus/is": { "version": "0.14.0", "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz", @@ -5192,22 +5063,44 @@ "dev": true }, "@walletconnect/client": { - "version": "2.0.0-beta.14", - "resolved": "https://registry.npmjs.org/@walletconnect/client/-/client-2.0.0-beta.14.tgz", - "integrity": "sha512-OPMCc/UN9O3MCo/d4r5hZyxdQVZN2BOnPW12wnYquowNfiz8blnkJu829iFUnWP/LI4wTqmJTxVOZvLpGBeb2Q==", - "requires": { - "@json-rpc-tools/provider": "^2.0.0-beta.12", - "@json-rpc-tools/utils": "^2.0.0-beta.12", - "@json-rpc-tools/ws-connection": "^2.0.0-beta.12", - "@pedrouid/pino-utils": "^1.0.1", - "@walletconnect/types": "^2.0.0-beta.14", - "@walletconnect/utils": "^2.0.0-beta.14", - "enc-utils": "^3.0.0", + "version": "2.0.0-beta.17", + "resolved": "https://registry.npmjs.org/@walletconnect/client/-/client-2.0.0-beta.17.tgz", + "integrity": "sha512-Wxp4JpT6g4nDoD5/Q+3lTMPgKA+CyLRixJbEPCDAtM2XRSGOwycVSMduiWnGceWNY/z+cZz3j0QvEYD3WCnjGg==", + "requires": { + "@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/safe-json": "^1.0.0", + "@walletconnect/types": "^2.0.0-beta.17", + "@walletconnect/utils": "^2.0.0-beta.17", "keyvaluestorage": "^0.7.1", "pino": "^6.7.0", - "pino-pretty": "^4.3.0", - "relay-provider": "^2.0.0-beta.0", - "safe-json-utils": "^1.1.1" + "pino-pretty": "^4.3.0" + } + }, + "@walletconnect/crypto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@walletconnect/crypto/-/crypto-1.0.1.tgz", + "integrity": "sha512-IgUReNrycIFxkGgq8YT9HsosCkhutakWD9Q411PR0aJfxpEa/VKJeaLRtoz6DvJpztWStwhIHnAbBoOVR72a6g==", + "requires": { + "@walletconnect/encoding": "^1.0.0", + "@walletconnect/environment": "^1.0.0", + "@walletconnect/randombytes": "^1.0.1", + "aes-js": "^3.1.2", + "hash.js": "^1.1.7" + } + }, + "@walletconnect/ecies-25519": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@walletconnect/ecies-25519/-/ecies-25519-1.0.1.tgz", + "integrity": "sha512-IK3bYxmYbnFicO69qehPuacwfa3dU1Lw20YdvfLg3IH/WCCmo5EKZu5puaQCXep42uReYE4CQ5gcVSC4PCOLcw==", + "requires": { + "@stablelib/x25519": "^1.0.1", + "@walletconnect/crypto": "^1.0.1", + "@walletconnect/encoding": "^1.0.0" } }, "@walletconnect/encoding": { @@ -5224,6 +5117,15 @@ "resolved": "https://registry.npmjs.org/@walletconnect/environment/-/environment-1.0.0.tgz", "integrity": "sha512-4BwqyWy6KpSvkocSaV7WR3BlZfrxLbJSLkg+j7Gl6pTDE+U55lLhJvQaMuDVazXYxcjBsG09k7UlH7cGiUI5vQ==" }, + "@walletconnect/jsonrpc-provider": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@walletconnect/jsonrpc-provider/-/jsonrpc-provider-1.0.0.tgz", + "integrity": "sha512-ZVe23tYT0LdykZ/denBdkKCjBC13fnpj8MiKFuvUl0idBv1PiYKYJR3LVJHy8+7zk0lBbDH3hBNrbMt/K4kjcw==", + "requires": { + "@walletconnect/jsonrpc-utils": "^1.0.0", + "@walletconnect/safe-json": "^1.0.0" + } + }, "@walletconnect/jsonrpc-types": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.0.tgz", @@ -5241,6 +5143,16 @@ "@walletconnect/jsonrpc-types": "^1.0.0" } }, + "@walletconnect/jsonrpc-ws-connection": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@walletconnect/jsonrpc-ws-connection/-/jsonrpc-ws-connection-1.0.0.tgz", + "integrity": "sha512-ITeDZo08Jr2AdftksAJNSoB/IQdpmxwJBhHsa9z9rp95V6S88zSqc6EB+BSYMVJZPjLYW8Xi+gZD9YPwxMRY0w==", + "requires": { + "@walletconnect/jsonrpc-utils": "^1.0.0", + "@walletconnect/safe-json": "^1.0.0", + "ws": "^7.5.1" + } + }, "@walletconnect/logger": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/@walletconnect/logger/-/logger-1.0.0.tgz", @@ -5249,35 +5161,71 @@ "pino": "^6.7.0" } }, + "@walletconnect/randombytes": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@walletconnect/randombytes/-/randombytes-1.0.1.tgz", + "integrity": "sha512-YJTyq69i0PtxVg7osEpKfvjTaWuAsR49QEcqGKZRKVQWMbGXBZ65fovemK/SRgtiFRv0V8PwsrlKSheqzfPNcg==", + "requires": { + "@walletconnect/encoding": "^1.0.0", + "@walletconnect/environment": "^1.0.0", + "randombytes": "^2.1.0" + } + }, + "@walletconnect/relay-api": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@walletconnect/relay-api/-/relay-api-1.0.0.tgz", + "integrity": "sha512-ri+hail+6rz9Fx4Hfqq/er0OfzMmKg2/thL5WemOM3JuR6zVqMUr0G5ExJ4OjCWjd/ndL4CZ0ldLINmeOZr2ag==", + "requires": { + "@walletconnect/jsonrpc-types": "^1.0.0" + } + }, + "@walletconnect/safe-json": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@walletconnect/safe-json/-/safe-json-1.0.0.tgz", + "integrity": "sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg==" + }, "@walletconnect/timestamp": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/@walletconnect/timestamp/-/timestamp-1.0.0.tgz", "integrity": "sha512-kloxbLEu3gUcFhxqerc8oCEyTBVOmXDXj9uCmBGir9enJsgtV9tNc8pEVbfrvbmcbaJ9KI48j6d68r/qf288iA==" }, "@walletconnect/types": { - "version": "2.0.0-beta.14", - "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.0.0-beta.14.tgz", - "integrity": "sha512-OxR8r+scDbSB6Wpwl7+yuVZ5fna8AcU/mcO9qI17oTYTPliVJX7WRR4PEbFnZXgQOmb4Bm49v248lz4vgFCwqQ==", + "version": "2.0.0-beta.17", + "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.0.0-beta.17.tgz", + "integrity": "sha512-YQjS9HqQSR6yztTarzeT9+DW5BTnDWBAlWedGGxiEdhuwV56FQJTZKnMjpM1f8yS5j0vBH/mSst65h7jS/65zQ==", "requires": { - "@json-rpc-tools/types": "^2.0.0-beta.12", + "@walletconnect/jsonrpc-types": "^1.0.0", "keyvaluestorage": "^0.7.1", "pino": "^6.7.0", "pino-pretty": "^4.3.0" } }, "@walletconnect/utils": { - "version": "2.0.0-beta.14", - "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.0.0-beta.14.tgz", - "integrity": "sha512-PwpAxQoVo8TsZgoPDng6wjfPmLsZFnUJwRn3LLnm9NYmNwxJbRX9Sc6hDq1Ww1i7+qikKuiYdWt5E+8Y/bR6RA==", + "version": "2.0.0-beta.17", + "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.0.0-beta.17.tgz", + "integrity": "sha512-+1Yp1aymXDlrsVl/koDb0vt2XDwy71ERDxM81yqbLMTkAR8Y96aV+uVJS1tEVox72Eccj3QHb5JdgQYYJWp1MA==", "requires": { - "@json-rpc-tools/utils": "^2.0.0-beta.12", - "@walletconnect/types": "^2.0.0-beta.14", - "ecies-25519": "^2.0.0-beta.6", - "enc-utils": "^3.0.0", - "query-string": "^6.13.5", - "safe-json-utils": "^1.1.1", - "window-getters": "^1.0.1", - "window-metadata": "^1.0.1" + "@walletconnect/ecies-25519": "^1.0.1", + "@walletconnect/encoding": "^1.0.0", + "@walletconnect/jsonrpc-utils": "^1.0.0", + "@walletconnect/safe-json": "^1.0.0", + "@walletconnect/types": "^2.0.0-beta.17", + "@walletconnect/window-getters": "^1.0.0", + "@walletconnect/window-metadata": "^1.0.0", + "query-string": "^6.13.5" + } + }, + "@walletconnect/window-getters": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@walletconnect/window-getters/-/window-getters-1.0.0.tgz", + "integrity": "sha512-xB0SQsLaleIYIkSsl43vm8EwETpBzJ2gnzk7e0wMF3ktqiTGS6TFHxcprMl5R44KKh4tCcHCJwolMCaDSwtAaA==" + }, + "@walletconnect/window-metadata": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@walletconnect/window-metadata/-/window-metadata-1.0.0.tgz", + "integrity": "sha512-9eFvmJxIKCC3YWOL97SgRkKhlyGXkrHwamfechmqszbypFspaSk+t2jQXAEU7YClHF6Qjw5eYOmy1//zFi9/GA==", + "requires": { + "@walletconnect/window-getters": "^1.0.0" } }, "abbrev": { @@ -6130,31 +6078,12 @@ "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=", "dev": true }, - "ecies-25519": { - "version": "2.0.0-beta.6", - "resolved": "https://registry.npmjs.org/ecies-25519/-/ecies-25519-2.0.0-beta.6.tgz", - "integrity": "sha512-QL7SEyprWcvSM28m/6UtGucwI3gSgnDm/Q9E/J4+z+T/PuCNpWR5y0c45Sip6+T3WrusalPvaEGHHe003ECxzw==", - "requires": { - "@pedrouid/iso-crypto": "^2.0.0-beta.7", - "@stablelib/x25519": "^1.0.1", - "enc-utils": "^3.0.0" - } - }, "emoji-regex": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", "dev": true }, - "enc-utils": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/enc-utils/-/enc-utils-3.0.0.tgz", - "integrity": "sha512-e57t/Z2HzWOLwOp7DZcV0VMEY8t7ptWwsxyp6kM2b2zrk6JqIpXxzkruHAMiBsy5wg9jp/183GdiRXCvBtzsYg==", - "requires": { - "is-typedarray": "1.0.0", - "typedarray-to-buffer": "3.1.5" - } - }, "end-of-stream": { "version": "1.4.4", "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", @@ -7791,14 +7720,6 @@ "rc": "^1.2.8" } }, - "relay-provider": { - "version": "2.0.0-beta.0", - "resolved": "https://registry.npmjs.org/relay-provider/-/relay-provider-2.0.0-beta.0.tgz", - "integrity": "sha512-ni4p+cqlH2U+SwBLjYk7uM9HWOfpR/PXPTh3M5AtzKxUJo5Y6d2u9qaKWfgdGGpQrtI5CIGeaHkzBpoBqXf4gA==", - "requires": { - "@json-rpc-tools/types": "^2.0.0-beta.1" - } - }, "require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", @@ -8179,9 +8100,9 @@ } }, "tar": { - "version": "6.1.2", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.2.tgz", - "integrity": "sha512-EwKEgqJ7nJoS+s8QfLYVGMDmAsj+StbI2AM/RTHeUSsOw6Z8bwNBRv5z3CY0m7laC5qUAqruLX5AhMuc5deY3Q==", + "version": "6.1.6", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.6.tgz", + "integrity": "sha512-oaWyu5dQbHaYcyZCTfyPpC+VmI62/OM2RTUYavTk1MDr1cwW5Boi3baeYQKiZbY2uSQJGr+iMOzb/JFxLrft+g==", "requires": { "chownr": "^2.0.0", "fs-minipass": "^2.0.0", @@ -8517,19 +8438,6 @@ } } }, - "window-getters": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/window-getters/-/window-getters-1.0.1.tgz", - "integrity": "sha512-cojBfDeV58XEurDgj+rre15c7dvu27bWCPlOIpwQgreOsw6qQk0UGDR1hi7ZHKw5+L0AENUNNWGG2h4yr2Y3hQ==" - }, - "window-metadata": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/window-metadata/-/window-metadata-1.0.1.tgz", - "integrity": "sha512-jdU1zWsFMDTYRUtZx/4nh5dUJ9MJHfNVvrf0jaYVuC9SiNcSLiBd79H4XM2DhKmHmN8tlOCzovc5RCI4HbFObA==", - "requires": { - "window-getters": "^1.0.0" - } - }, "workerpool": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.1.0.tgz", diff --git a/servers/health/package.json b/servers/health/package.json index 82c1d71c8..95beb1a6c 100644 --- a/servers/health/package.json +++ b/servers/health/package.json @@ -31,14 +31,14 @@ "lint": "eslint -c '../../.eslintrc' --fix './src/**/*.ts'" }, "dependencies": { + "@types/pino": "^6.3.5", + "@walletconnect/client": "^2.0.0-beta.17", + "@walletconnect/encoding": "^1.0.0", "@walletconnect/jsonrpc-utils": "^1.0.0", "@walletconnect/logger": "^1.0.0", "@walletconnect/timestamp": "^1.0.0", - "@types/pino": "^6.3.5", - "@walletconnect/client": "^2.0.0-beta.14", - "@walletconnect/types": "^2.0.0-beta.14", + "@walletconnect/types": "^2.0.0-beta.17", "axios": "^0.21.1", - "@walletconnect/encoding": "^1.0.0", "fastify": "^3.10.1", "fastify-helmet": "^5.1.0", "pino": "^6.11.0",