diff --git a/js/ui/package-lock.json b/js/ui/package-lock.json index 2a149b2..115989a 100644 --- a/js/ui/package-lock.json +++ b/js/ui/package-lock.json @@ -8,13 +8,13 @@ "name": "svelte-app", "version": "1.0.0", "dependencies": { + "@coinbase/wallet-sdk": "^3.0.5", "@portis/web3": "^4.0.6", "@spruceid/siwe-web3modal": "^0.1.6", - "@toruslabs/torus-embed": "^1.18.3", - "@walletconnect/web3-provider": "^1.6.6", + "@toruslabs/torus-embed": "^1.21.0", + "@walletconnect/web3-provider": "^1.7.7", "fortmatic": "^2.2.1", - "url": "^0.11.0", - "walletlink": "^2.2.8" + "url": "^0.11.0" }, "devDependencies": { "@tsconfig/svelte": "^3.0.0", @@ -528,6 +528,46 @@ "node": ">=6.9.0" } }, + "node_modules/@coinbase/wallet-sdk": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@coinbase/wallet-sdk/-/wallet-sdk-3.0.5.tgz", + "integrity": "sha512-MsPhgS9b9DpNQdbuYEFDZToPVhh8OQZFkLH59LpYHXRxRIjQDsGGjXcLC50jfW06ElBbtB9adl5RlJTmXb9KbA==", + "dependencies": { + "@metamask/safe-event-emitter": "2.0.0", + "bind-decorator": "^1.0.11", + "bn.js": "^5.1.1", + "clsx": "^1.1.0", + "eth-block-tracker": "4.4.3", + "eth-json-rpc-filters": "4.2.2", + "eth-rpc-errors": "4.0.2", + "js-sha256": "0.9.0", + "json-rpc-engine": "6.1.0", + "keccak": "^3.0.1", + "preact": "^10.5.9", + "rxjs": "^6.6.3", + "stream-browserify": "^3.0.0" + }, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/@coinbase/wallet-sdk/node_modules/eth-rpc-errors": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/eth-rpc-errors/-/eth-rpc-errors-4.0.2.tgz", + "integrity": "sha512-n+Re6Gu8XGyfFy1it0AwbD1x0MUzspQs0D5UiPs1fFPCr6WAwZM+vbIhXheBFrpgosqN9bs5PqlB4Q61U/QytQ==", + "dependencies": { + "fast-safe-stringify": "^2.0.6" + } + }, + "node_modules/@coinbase/wallet-sdk/node_modules/preact": { + "version": "10.7.0", + "resolved": "https://registry.npmjs.org/preact/-/preact-10.7.0.tgz", + "integrity": "sha512-9MEURwzNMKpAil/t6+wabDIJI6oG6GnwypYxiJDvQnW+fHDTt51PYuLZ1QUM31hFr7sDaj9qTaShAF9VIxuxGQ==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/preact" + } + }, "node_modules/@csstools/convert-colors": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/@csstools/convert-colors/-/convert-colors-1.4.0.tgz", @@ -1558,12 +1598,12 @@ } }, "node_modules/@toruslabs/fetch-node-details": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/@toruslabs/fetch-node-details/-/fetch-node-details-4.0.2.tgz", - "integrity": "sha512-xzWvfY93mE/FP4yqYdhLcFGUE4bHyvbfLvQrC/Ujja958Zh+BxWdE6nfVqPP6O/424cm+f3vNixRkl680R+9ig==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@toruslabs/fetch-node-details/-/fetch-node-details-5.0.1.tgz", + "integrity": "sha512-d7JlzX+Cp9wEXdW4xvj2qClrgPYOKJqaWTzVJJ5gK+KBISaGywrHz1xYSTviHK98SMGoywOLrVAPcHJ1lhqrMQ==", "dependencies": { - "web3-eth-contract": "^1.6.1", - "web3-utils": "^1.6.1" + "web3-eth-contract": "^1.7.0", + "web3-utils": "^1.7.0" }, "engines": { "node": ">=14.17.0", @@ -1620,15 +1660,15 @@ } }, "node_modules/@toruslabs/torus-embed": { - "version": "1.20.4", - "resolved": "https://registry.npmjs.org/@toruslabs/torus-embed/-/torus-embed-1.20.4.tgz", - "integrity": "sha512-s5mxLA2ZIY4YeadS4EQReXK1oKnJgVmdaZjJAprnDzSAIOLJnd5GRdbHgq5wNH1pBk+T5hrppv6fWBR1pXNlXw==", + "version": "1.21.0", + "resolved": "https://registry.npmjs.org/@toruslabs/torus-embed/-/torus-embed-1.21.0.tgz", + "integrity": "sha512-INvHYal3dvCZk1WCR3BI2015D/TDPqlH5ysAYKmovT7qIl2AKfW44ZeQxpCaMHlADvTk0reN8b+JqY6Ys6PzbA==", "dependencies": { "@metamask/obs-store": "^7.0.0", - "@toruslabs/fetch-node-details": "^4.0.2", - "@toruslabs/http-helpers": "^2.1.4", - "@toruslabs/openlogin-jrpc": "^1.3.3", - "@toruslabs/torus.js": "^4.2.3", + "@toruslabs/fetch-node-details": "^5.0.1", + "@toruslabs/http-helpers": "^2.2.0", + "@toruslabs/openlogin-jrpc": "^1.5.0", + "@toruslabs/torus.js": "^5.0.1", "create-hash": "^1.2.0", "end-of-stream": "^1.4.4", "eth-rpc-errors": "^4.0.3", @@ -1649,17 +1689,17 @@ } }, "node_modules/@toruslabs/torus.js": { - "version": "4.2.6", - "resolved": "https://registry.npmjs.org/@toruslabs/torus.js/-/torus.js-4.2.6.tgz", - "integrity": "sha512-DN84qHN+maIO5ZlblcIivKQwONibGKJg9vTifb3G7cr5QmTkWpnzwEcLT+w7fRnj7BhbzBeEhjeYzLOBpiE+6Q==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@toruslabs/torus.js/-/torus.js-5.1.0.tgz", + "integrity": "sha512-5R9mz6ULwlW8rS+ocjq+2P4BYB/+2cSeHwTyDwA31ZTbreB3ugcUzX5+r+zlx9BTgJC2LdBkCNBJVfDMmzA4iA==", "dependencies": { "@toruslabs/eccrypto": "^1.1.8", - "@toruslabs/http-helpers": "^2.1.4", + "@toruslabs/http-helpers": "^2.2.0", "bn.js": "^5.2.0", "elliptic": "^6.5.4", "json-stable-stringify": "^1.0.1", "loglevel": "^1.8.0", - "web3-utils": "^1.6.1" + "web3-utils": "^1.7.0" }, "engines": { "node": ">=14.17.0", @@ -2082,54 +2122,54 @@ } }, "node_modules/@walletconnect/browser-utils": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/@walletconnect/browser-utils/-/browser-utils-1.7.3.tgz", - "integrity": "sha512-QYpzoBgvEDBF2lu6L55d0jX1K9bfEy1UtPqAWCi6KBOgw1KQgfvHavephOXW+tQIAWYB5CROTxa4HTSVyYUEQA==", + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/@walletconnect/browser-utils/-/browser-utils-1.7.7.tgz", + "integrity": "sha512-6Mt7DSPaG0FKnHhuVzkU1hgtsCpGvl2nfbfRytLpyDY05iWMzMg5uK1DzV+0k4hCt9pVli0JVNt6dh9a6Xm94w==", "dependencies": { "@walletconnect/safe-json": "1.0.0", - "@walletconnect/types": "^1.7.3", + "@walletconnect/types": "^1.7.7", "@walletconnect/window-getters": "1.0.0", "@walletconnect/window-metadata": "1.0.0", "detect-browser": "5.2.0" } }, "node_modules/@walletconnect/client": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/@walletconnect/client/-/client-1.7.3.tgz", - "integrity": "sha512-jXdkVC2JhpWymsR4G9l4E+OmnlXT6lr+/112QDWIjYmpWD1vfMBvCQiqYEJ5UfZl14U3xvzVlyMf2pL9uaxKDg==", + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/@walletconnect/client/-/client-1.7.7.tgz", + "integrity": "sha512-UuDkpXDc1Emx09aGXKz2Fg8omNp5J8ZRgNblnQTb8xnoQ8rgOJSyhbFR37PFIFwVpriZZDAgmy8HlqoGwLQ2ug==", "dependencies": { - "@walletconnect/core": "^1.7.3", - "@walletconnect/iso-crypto": "^1.7.3", - "@walletconnect/types": "^1.7.3", - "@walletconnect/utils": "^1.7.3" + "@walletconnect/core": "^1.7.7", + "@walletconnect/iso-crypto": "^1.7.7", + "@walletconnect/types": "^1.7.7", + "@walletconnect/utils": "^1.7.7" } }, "node_modules/@walletconnect/core": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/@walletconnect/core/-/core-1.7.3.tgz", - "integrity": "sha512-sDKWrQccs96T2uMbyWbKxLOFjKFLyoLIxMtknNuZXGG6kw+NUee5GBu9tTZ7zfVuIh0te1YcpZPX7slXwNjY8g==", + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/@walletconnect/core/-/core-1.7.7.tgz", + "integrity": "sha512-XsF2x4JcBS1V2Nk/Uh38dU7ZlLmW/R5oxHp4+tVgCwTID6nZlo3vUSHBOqM7jgDRblKOHixANollm0r94bM8Cg==", "dependencies": { - "@walletconnect/socket-transport": "^1.7.3", - "@walletconnect/types": "^1.7.3", - "@walletconnect/utils": "^1.7.3" + "@walletconnect/socket-transport": "^1.7.7", + "@walletconnect/types": "^1.7.7", + "@walletconnect/utils": "^1.7.7" } }, "node_modules/@walletconnect/crypto": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@walletconnect/crypto/-/crypto-1.0.1.tgz", - "integrity": "sha512-IgUReNrycIFxkGgq8YT9HsosCkhutakWD9Q411PR0aJfxpEa/VKJeaLRtoz6DvJpztWStwhIHnAbBoOVR72a6g==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@walletconnect/crypto/-/crypto-1.0.2.tgz", + "integrity": "sha512-+OlNtwieUqVcOpFTvLBvH+9J9pntEqH5evpINHfVxff1XIgwV55PpbdvkHu6r9Ib4WQDOFiD8OeeXs1vHw7xKQ==", "dependencies": { - "@walletconnect/encoding": "^1.0.0", + "@walletconnect/encoding": "^1.0.1", "@walletconnect/environment": "^1.0.0", - "@walletconnect/randombytes": "^1.0.1", + "@walletconnect/randombytes": "^1.0.2", "aes-js": "^3.1.2", "hash.js": "^1.1.7" } }, "node_modules/@walletconnect/encoding": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@walletconnect/encoding/-/encoding-1.0.0.tgz", - "integrity": "sha512-4nkJFnS0QF5JdieG/3VPD1/iEWkLSZ14EBInLZ00RWxmC6EMZrzAeHNAWIgm+xP3NK0lqz+7lEsmWGtcl5gYnQ==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@walletconnect/encoding/-/encoding-1.0.1.tgz", + "integrity": "sha512-8opL2rs6N6E3tJfsqwS82aZQDL3gmupWUgmvuZ3CGU7z/InZs3R9jkzH8wmYtpbq0sFK3WkJkQRZFFk4BkrmFA==", "dependencies": { "is-typedarray": "1.0.0", "typedarray-to-buffer": "3.1.5" @@ -2141,24 +2181,24 @@ "integrity": "sha512-4BwqyWy6KpSvkocSaV7WR3BlZfrxLbJSLkg+j7Gl6pTDE+U55lLhJvQaMuDVazXYxcjBsG09k7UlH7cGiUI5vQ==" }, "node_modules/@walletconnect/http-connection": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/@walletconnect/http-connection/-/http-connection-1.7.3.tgz", - "integrity": "sha512-vF9OUeIUISbGxk9+pi4LRz8gTVVHc6lGLZryMR7I+kNcLk5pqUuUiu9ublChdz1bbaw6Bn8J7a/SV95QUZkO0w==", + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/@walletconnect/http-connection/-/http-connection-1.7.7.tgz", + "integrity": "sha512-MmhVJfBjvjYcZnrJYnDx4VBwpYM6yh7eX4/8szo6sGwzG4E+8V4YBKU2NF6fA6YXpdAyEYayElqXhB0YBEZFJA==", "dependencies": { - "@walletconnect/types": "^1.7.3", - "@walletconnect/utils": "^1.7.3", + "@walletconnect/types": "^1.7.7", + "@walletconnect/utils": "^1.7.7", "eventemitter3": "4.0.7", "xhr2-cookies": "1.1.0" } }, "node_modules/@walletconnect/iso-crypto": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/@walletconnect/iso-crypto/-/iso-crypto-1.7.3.tgz", - "integrity": "sha512-T/mEoHMuYjft7SWiFTQa4Fng12U9Z7XQPUq9axJPgBY7a5dC4Bk3tJX8Ml7s7syLxc6inzCCMv/vaZGNskTgAw==", + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/@walletconnect/iso-crypto/-/iso-crypto-1.7.7.tgz", + "integrity": "sha512-t8RKJZkFtFyWMFrl0jPz/3RAGhM5yext+MLFq3L/KTPxLgMZuT1yFHRUiV7cAN3+LcCmk6Sy/rV1yQPTiB158Q==", "dependencies": { - "@walletconnect/crypto": "^1.0.1", - "@walletconnect/types": "^1.7.3", - "@walletconnect/utils": "^1.7.3" + "@walletconnect/crypto": "^1.0.2", + "@walletconnect/types": "^1.7.7", + "@walletconnect/utils": "^1.7.7" } }, "node_modules/@walletconnect/jsonrpc-types": { @@ -2185,24 +2225,24 @@ "deprecated": "Deprecated in favor of dynamic registry available from: https://github.com/walletconnect/walletconnect-registry" }, "node_modules/@walletconnect/qrcode-modal": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/@walletconnect/qrcode-modal/-/qrcode-modal-1.7.3.tgz", - "integrity": "sha512-4MfFXEckI0q14lB7GVG27rg6WUELV4xkZlKf5Od3rzed7YSm9JmcSGOw6SHtERAM5rKwy2Dn1IC8lskfOVCpZQ==", + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/@walletconnect/qrcode-modal/-/qrcode-modal-1.7.7.tgz", + "integrity": "sha512-HRzw6g4P8/C4ClJYJShaGfdvjfrTfkXv+eb+IylWGWvC8IQhuiSXCq5+F3t0CXxuZs3ir26abgviEMRFQxGKdA==", "dependencies": { - "@walletconnect/browser-utils": "^1.7.3", + "@walletconnect/browser-utils": "^1.7.7", "@walletconnect/mobile-registry": "^1.4.0", - "@walletconnect/types": "^1.7.3", + "@walletconnect/types": "^1.7.7", "copy-to-clipboard": "^3.3.1", "preact": "10.4.1", "qrcode": "1.4.4" } }, "node_modules/@walletconnect/randombytes": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@walletconnect/randombytes/-/randombytes-1.0.1.tgz", - "integrity": "sha512-YJTyq69i0PtxVg7osEpKfvjTaWuAsR49QEcqGKZRKVQWMbGXBZ65fovemK/SRgtiFRv0V8PwsrlKSheqzfPNcg==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@walletconnect/randombytes/-/randombytes-1.0.2.tgz", + "integrity": "sha512-ivgOtAyqQnN0rLQmOFPemsgYGysd/ooLfaDA/ACQ3cyqlca56t3rZc7pXfqJOIETx/wSyoF5XbwL+BqYodw27A==", "dependencies": { - "@walletconnect/encoding": "^1.0.0", + "@walletconnect/encoding": "^1.0.1", "@walletconnect/environment": "^1.0.0", "randombytes": "^2.1.0" } @@ -2213,29 +2253,29 @@ "integrity": "sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg==" }, "node_modules/@walletconnect/socket-transport": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/@walletconnect/socket-transport/-/socket-transport-1.7.3.tgz", - "integrity": "sha512-t0WlbgtnyOKHqKjceVBJI0c7wlsZIvZTsbYgQ3NN03uX8r5gv01FJxLvf/Uu5uip+LcjBZEz4TVwIO80As64nw==", + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/@walletconnect/socket-transport/-/socket-transport-1.7.7.tgz", + "integrity": "sha512-RxeFkT+5BqdaZzPtPYIw6+KSVh6Q1NaYqTiAzWWh9RPuvuTajIEsi+fUXizfkpmyi9UTYBvdFXnKcB+eSImpDg==", "dependencies": { - "@walletconnect/types": "^1.7.3", - "@walletconnect/utils": "^1.7.3", + "@walletconnect/types": "^1.7.7", + "@walletconnect/utils": "^1.7.7", "ws": "7.5.3" } }, "node_modules/@walletconnect/types": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-1.7.3.tgz", - "integrity": "sha512-EtFM7LxjrbCoCJvRZf3wydPitwlB0s4S9sj9yXe13j7mMgf9ruS5Ixa/sCfDKskZdGvkhFis9+Nw+gO++A/klg==" + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-1.7.7.tgz", + "integrity": "sha512-yXJrLxwLLCXtWgd/e8FjfY9v5DKds12Z7EEPzUrPSq6v7WtXpqate577KwlFQ6UYzioQzIEDE8+98j+0aiZbsw==" }, "node_modules/@walletconnect/utils": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-1.7.3.tgz", - "integrity": "sha512-WVZqCBgoIer3fUUVEQm0TYZrDBEOSlKJ91EgA27I41TJGer7OE7pEjJhaNgwWTIwsfJJkjNWp+4wa78Qf/e5vg==", + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-1.7.7.tgz", + "integrity": "sha512-slNlnROS4DEusGFx53hshIBylYhzd5JtGF+AJpza+Tc616+u8ozjQ9aKKUaV85bucnv5Q42bTwLYrYrXiydmuw==", "dependencies": { - "@walletconnect/browser-utils": "^1.7.3", - "@walletconnect/encoding": "^1.0.0", + "@walletconnect/browser-utils": "^1.7.7", + "@walletconnect/encoding": "^1.0.1", "@walletconnect/jsonrpc-utils": "^1.0.0", - "@walletconnect/types": "^1.7.3", + "@walletconnect/types": "^1.7.7", "bn.js": "4.11.8", "js-sha3": "0.8.0", "query-string": "6.13.5" @@ -2247,15 +2287,15 @@ "integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==" }, "node_modules/@walletconnect/web3-provider": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/@walletconnect/web3-provider/-/web3-provider-1.7.3.tgz", - "integrity": "sha512-LSioyTLokp7xBTlWDRoff84auaAGxr5XdNhPlVNSVyTHOsfzl9o29eEfbkWfIcc5YQJ8IY1B9goO6iQgha7RvQ==", + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/@walletconnect/web3-provider/-/web3-provider-1.7.7.tgz", + "integrity": "sha512-hUhDyaMu93e7e82OVCu3KnYOn6m6wQO9YObbhi3PexppCANe/Y9eDrw/37S+7jbjLIx5nS1et2JU+taKR7OSOw==", "dependencies": { - "@walletconnect/client": "^1.7.3", - "@walletconnect/http-connection": "^1.7.3", - "@walletconnect/qrcode-modal": "^1.7.3", - "@walletconnect/types": "^1.7.3", - "@walletconnect/utils": "^1.7.3", + "@walletconnect/client": "^1.7.7", + "@walletconnect/http-connection": "^1.7.7", + "@walletconnect/qrcode-modal": "^1.7.7", + "@walletconnect/types": "^1.7.7", + "@walletconnect/utils": "^1.7.7", "web3-provider-engine": "16.0.1" } }, @@ -3622,9 +3662,9 @@ } }, "node_modules/cliui/node_modules/ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz", + "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==", "engines": { "node": ">=6" } @@ -12935,9 +12975,9 @@ } }, "node_modules/string-width/node_modules/ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz", + "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==", "engines": { "node": ">=6" } @@ -14001,47 +14041,6 @@ "extsprintf": "^1.2.0" } }, - "node_modules/walletlink": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/walletlink/-/walletlink-2.5.0.tgz", - "integrity": "sha512-PBJmK5tZmonwKPABBI2/optaZ11O4kKmkmnU5eLKhk4XRlal5qJ1igZ4U5j3w6w8wxxdhCWpLMHzGWt3n/p7mw==", - "deprecated": "WARNING: This project has been renamed to @coinbase/wallet-sdk. Install using @coinbase/wallet-sdk instead.", - "dependencies": { - "@metamask/safe-event-emitter": "2.0.0", - "bind-decorator": "^1.0.11", - "bn.js": "^5.1.1", - "clsx": "^1.1.0", - "eth-block-tracker": "4.4.3", - "eth-json-rpc-filters": "4.2.2", - "eth-rpc-errors": "4.0.2", - "js-sha256": "0.9.0", - "json-rpc-engine": "6.1.0", - "keccak": "^3.0.1", - "preact": "^10.5.9", - "rxjs": "^6.6.3", - "stream-browserify": "^3.0.0" - }, - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/walletlink/node_modules/eth-rpc-errors": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/eth-rpc-errors/-/eth-rpc-errors-4.0.2.tgz", - "integrity": "sha512-n+Re6Gu8XGyfFy1it0AwbD1x0MUzspQs0D5UiPs1fFPCr6WAwZM+vbIhXheBFrpgosqN9bs5PqlB4Q61U/QytQ==", - "dependencies": { - "fast-safe-stringify": "^2.0.6" - } - }, - "node_modules/walletlink/node_modules/preact": { - "version": "10.6.6", - "resolved": "https://registry.npmjs.org/preact/-/preact-10.6.6.tgz", - "integrity": "sha512-dgxpTFV2vs4vizwKohYKkk7g7rmp1wOOcfd4Tz3IB3Wi+ivZzsn/SpeKJhRENSE+n8sUfsAl4S3HiCVT923ABw==", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/preact" - } - }, "node_modules/watchpack": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.3.1.tgz", @@ -15021,9 +15020,9 @@ } }, "node_modules/wrap-ansi/node_modules/ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz", + "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==", "engines": { "node": ">=6" } @@ -15612,6 +15611,41 @@ "to-fast-properties": "^2.0.0" } }, + "@coinbase/wallet-sdk": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@coinbase/wallet-sdk/-/wallet-sdk-3.0.5.tgz", + "integrity": "sha512-MsPhgS9b9DpNQdbuYEFDZToPVhh8OQZFkLH59LpYHXRxRIjQDsGGjXcLC50jfW06ElBbtB9adl5RlJTmXb9KbA==", + "requires": { + "@metamask/safe-event-emitter": "2.0.0", + "bind-decorator": "^1.0.11", + "bn.js": "^5.1.1", + "clsx": "^1.1.0", + "eth-block-tracker": "4.4.3", + "eth-json-rpc-filters": "4.2.2", + "eth-rpc-errors": "4.0.2", + "js-sha256": "0.9.0", + "json-rpc-engine": "6.1.0", + "keccak": "^3.0.1", + "preact": "^10.5.9", + "rxjs": "^6.6.3", + "stream-browserify": "^3.0.0" + }, + "dependencies": { + "eth-rpc-errors": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/eth-rpc-errors/-/eth-rpc-errors-4.0.2.tgz", + "integrity": "sha512-n+Re6Gu8XGyfFy1it0AwbD1x0MUzspQs0D5UiPs1fFPCr6WAwZM+vbIhXheBFrpgosqN9bs5PqlB4Q61U/QytQ==", + "requires": { + "fast-safe-stringify": "^2.0.6" + } + }, + "preact": { + "version": "10.7.0", + "resolved": "https://registry.npmjs.org/preact/-/preact-10.7.0.tgz", + "integrity": "sha512-9MEURwzNMKpAil/t6+wabDIJI6oG6GnwypYxiJDvQnW+fHDTt51PYuLZ1QUM31hFr7sDaj9qTaShAF9VIxuxGQ==" + } + } + }, "@csstools/convert-colors": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/@csstools/convert-colors/-/convert-colors-1.4.0.tgz", @@ -16294,12 +16328,12 @@ } }, "@toruslabs/fetch-node-details": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/@toruslabs/fetch-node-details/-/fetch-node-details-4.0.2.tgz", - "integrity": "sha512-xzWvfY93mE/FP4yqYdhLcFGUE4bHyvbfLvQrC/Ujja958Zh+BxWdE6nfVqPP6O/424cm+f3vNixRkl680R+9ig==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@toruslabs/fetch-node-details/-/fetch-node-details-5.0.1.tgz", + "integrity": "sha512-d7JlzX+Cp9wEXdW4xvj2qClrgPYOKJqaWTzVJJ5gK+KBISaGywrHz1xYSTviHK98SMGoywOLrVAPcHJ1lhqrMQ==", "requires": { - "web3-eth-contract": "^1.6.1", - "web3-utils": "^1.6.1" + "web3-eth-contract": "^1.7.0", + "web3-utils": "^1.7.0" } }, "@toruslabs/http-helpers": { @@ -16336,15 +16370,15 @@ } }, "@toruslabs/torus-embed": { - "version": "1.20.4", - "resolved": "https://registry.npmjs.org/@toruslabs/torus-embed/-/torus-embed-1.20.4.tgz", - "integrity": "sha512-s5mxLA2ZIY4YeadS4EQReXK1oKnJgVmdaZjJAprnDzSAIOLJnd5GRdbHgq5wNH1pBk+T5hrppv6fWBR1pXNlXw==", + "version": "1.21.0", + "resolved": "https://registry.npmjs.org/@toruslabs/torus-embed/-/torus-embed-1.21.0.tgz", + "integrity": "sha512-INvHYal3dvCZk1WCR3BI2015D/TDPqlH5ysAYKmovT7qIl2AKfW44ZeQxpCaMHlADvTk0reN8b+JqY6Ys6PzbA==", "requires": { "@metamask/obs-store": "^7.0.0", - "@toruslabs/fetch-node-details": "^4.0.2", - "@toruslabs/http-helpers": "^2.1.4", - "@toruslabs/openlogin-jrpc": "^1.3.3", - "@toruslabs/torus.js": "^4.2.3", + "@toruslabs/fetch-node-details": "^5.0.1", + "@toruslabs/http-helpers": "^2.2.0", + "@toruslabs/openlogin-jrpc": "^1.5.0", + "@toruslabs/torus.js": "^5.0.1", "create-hash": "^1.2.0", "end-of-stream": "^1.4.4", "eth-rpc-errors": "^4.0.3", @@ -16358,17 +16392,17 @@ } }, "@toruslabs/torus.js": { - "version": "4.2.6", - "resolved": "https://registry.npmjs.org/@toruslabs/torus.js/-/torus.js-4.2.6.tgz", - "integrity": "sha512-DN84qHN+maIO5ZlblcIivKQwONibGKJg9vTifb3G7cr5QmTkWpnzwEcLT+w7fRnj7BhbzBeEhjeYzLOBpiE+6Q==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@toruslabs/torus.js/-/torus.js-5.1.0.tgz", + "integrity": "sha512-5R9mz6ULwlW8rS+ocjq+2P4BYB/+2cSeHwTyDwA31ZTbreB3ugcUzX5+r+zlx9BTgJC2LdBkCNBJVfDMmzA4iA==", "requires": { "@toruslabs/eccrypto": "^1.1.8", - "@toruslabs/http-helpers": "^2.1.4", + "@toruslabs/http-helpers": "^2.2.0", "bn.js": "^5.2.0", "elliptic": "^6.5.4", "json-stable-stringify": "^1.0.1", "loglevel": "^1.8.0", - "web3-utils": "^1.6.1" + "web3-utils": "^1.7.0" } }, "@trysound/sax": { @@ -16692,54 +16726,54 @@ } }, "@walletconnect/browser-utils": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/@walletconnect/browser-utils/-/browser-utils-1.7.3.tgz", - "integrity": "sha512-QYpzoBgvEDBF2lu6L55d0jX1K9bfEy1UtPqAWCi6KBOgw1KQgfvHavephOXW+tQIAWYB5CROTxa4HTSVyYUEQA==", + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/@walletconnect/browser-utils/-/browser-utils-1.7.7.tgz", + "integrity": "sha512-6Mt7DSPaG0FKnHhuVzkU1hgtsCpGvl2nfbfRytLpyDY05iWMzMg5uK1DzV+0k4hCt9pVli0JVNt6dh9a6Xm94w==", "requires": { "@walletconnect/safe-json": "1.0.0", - "@walletconnect/types": "^1.7.3", + "@walletconnect/types": "^1.7.7", "@walletconnect/window-getters": "1.0.0", "@walletconnect/window-metadata": "1.0.0", "detect-browser": "5.2.0" } }, "@walletconnect/client": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/@walletconnect/client/-/client-1.7.3.tgz", - "integrity": "sha512-jXdkVC2JhpWymsR4G9l4E+OmnlXT6lr+/112QDWIjYmpWD1vfMBvCQiqYEJ5UfZl14U3xvzVlyMf2pL9uaxKDg==", + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/@walletconnect/client/-/client-1.7.7.tgz", + "integrity": "sha512-UuDkpXDc1Emx09aGXKz2Fg8omNp5J8ZRgNblnQTb8xnoQ8rgOJSyhbFR37PFIFwVpriZZDAgmy8HlqoGwLQ2ug==", "requires": { - "@walletconnect/core": "^1.7.3", - "@walletconnect/iso-crypto": "^1.7.3", - "@walletconnect/types": "^1.7.3", - "@walletconnect/utils": "^1.7.3" + "@walletconnect/core": "^1.7.7", + "@walletconnect/iso-crypto": "^1.7.7", + "@walletconnect/types": "^1.7.7", + "@walletconnect/utils": "^1.7.7" } }, "@walletconnect/core": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/@walletconnect/core/-/core-1.7.3.tgz", - "integrity": "sha512-sDKWrQccs96T2uMbyWbKxLOFjKFLyoLIxMtknNuZXGG6kw+NUee5GBu9tTZ7zfVuIh0te1YcpZPX7slXwNjY8g==", + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/@walletconnect/core/-/core-1.7.7.tgz", + "integrity": "sha512-XsF2x4JcBS1V2Nk/Uh38dU7ZlLmW/R5oxHp4+tVgCwTID6nZlo3vUSHBOqM7jgDRblKOHixANollm0r94bM8Cg==", "requires": { - "@walletconnect/socket-transport": "^1.7.3", - "@walletconnect/types": "^1.7.3", - "@walletconnect/utils": "^1.7.3" + "@walletconnect/socket-transport": "^1.7.7", + "@walletconnect/types": "^1.7.7", + "@walletconnect/utils": "^1.7.7" } }, "@walletconnect/crypto": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@walletconnect/crypto/-/crypto-1.0.1.tgz", - "integrity": "sha512-IgUReNrycIFxkGgq8YT9HsosCkhutakWD9Q411PR0aJfxpEa/VKJeaLRtoz6DvJpztWStwhIHnAbBoOVR72a6g==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@walletconnect/crypto/-/crypto-1.0.2.tgz", + "integrity": "sha512-+OlNtwieUqVcOpFTvLBvH+9J9pntEqH5evpINHfVxff1XIgwV55PpbdvkHu6r9Ib4WQDOFiD8OeeXs1vHw7xKQ==", "requires": { - "@walletconnect/encoding": "^1.0.0", + "@walletconnect/encoding": "^1.0.1", "@walletconnect/environment": "^1.0.0", - "@walletconnect/randombytes": "^1.0.1", + "@walletconnect/randombytes": "^1.0.2", "aes-js": "^3.1.2", "hash.js": "^1.1.7" } }, "@walletconnect/encoding": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@walletconnect/encoding/-/encoding-1.0.0.tgz", - "integrity": "sha512-4nkJFnS0QF5JdieG/3VPD1/iEWkLSZ14EBInLZ00RWxmC6EMZrzAeHNAWIgm+xP3NK0lqz+7lEsmWGtcl5gYnQ==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@walletconnect/encoding/-/encoding-1.0.1.tgz", + "integrity": "sha512-8opL2rs6N6E3tJfsqwS82aZQDL3gmupWUgmvuZ3CGU7z/InZs3R9jkzH8wmYtpbq0sFK3WkJkQRZFFk4BkrmFA==", "requires": { "is-typedarray": "1.0.0", "typedarray-to-buffer": "3.1.5" @@ -16751,24 +16785,24 @@ "integrity": "sha512-4BwqyWy6KpSvkocSaV7WR3BlZfrxLbJSLkg+j7Gl6pTDE+U55lLhJvQaMuDVazXYxcjBsG09k7UlH7cGiUI5vQ==" }, "@walletconnect/http-connection": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/@walletconnect/http-connection/-/http-connection-1.7.3.tgz", - "integrity": "sha512-vF9OUeIUISbGxk9+pi4LRz8gTVVHc6lGLZryMR7I+kNcLk5pqUuUiu9ublChdz1bbaw6Bn8J7a/SV95QUZkO0w==", + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/@walletconnect/http-connection/-/http-connection-1.7.7.tgz", + "integrity": "sha512-MmhVJfBjvjYcZnrJYnDx4VBwpYM6yh7eX4/8szo6sGwzG4E+8V4YBKU2NF6fA6YXpdAyEYayElqXhB0YBEZFJA==", "requires": { - "@walletconnect/types": "^1.7.3", - "@walletconnect/utils": "^1.7.3", + "@walletconnect/types": "^1.7.7", + "@walletconnect/utils": "^1.7.7", "eventemitter3": "4.0.7", "xhr2-cookies": "1.1.0" } }, "@walletconnect/iso-crypto": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/@walletconnect/iso-crypto/-/iso-crypto-1.7.3.tgz", - "integrity": "sha512-T/mEoHMuYjft7SWiFTQa4Fng12U9Z7XQPUq9axJPgBY7a5dC4Bk3tJX8Ml7s7syLxc6inzCCMv/vaZGNskTgAw==", + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/@walletconnect/iso-crypto/-/iso-crypto-1.7.7.tgz", + "integrity": "sha512-t8RKJZkFtFyWMFrl0jPz/3RAGhM5yext+MLFq3L/KTPxLgMZuT1yFHRUiV7cAN3+LcCmk6Sy/rV1yQPTiB158Q==", "requires": { - "@walletconnect/crypto": "^1.0.1", - "@walletconnect/types": "^1.7.3", - "@walletconnect/utils": "^1.7.3" + "@walletconnect/crypto": "^1.0.2", + "@walletconnect/types": "^1.7.7", + "@walletconnect/utils": "^1.7.7" } }, "@walletconnect/jsonrpc-types": { @@ -16794,24 +16828,24 @@ "integrity": "sha512-ZtKRio4uCZ1JUF7LIdecmZt7FOLnX72RPSY7aUVu7mj7CSfxDwUn6gBuK6WGtH+NZCldBqDl5DenI5fFSvkKYw==" }, "@walletconnect/qrcode-modal": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/@walletconnect/qrcode-modal/-/qrcode-modal-1.7.3.tgz", - "integrity": "sha512-4MfFXEckI0q14lB7GVG27rg6WUELV4xkZlKf5Od3rzed7YSm9JmcSGOw6SHtERAM5rKwy2Dn1IC8lskfOVCpZQ==", + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/@walletconnect/qrcode-modal/-/qrcode-modal-1.7.7.tgz", + "integrity": "sha512-HRzw6g4P8/C4ClJYJShaGfdvjfrTfkXv+eb+IylWGWvC8IQhuiSXCq5+F3t0CXxuZs3ir26abgviEMRFQxGKdA==", "requires": { - "@walletconnect/browser-utils": "^1.7.3", + "@walletconnect/browser-utils": "^1.7.7", "@walletconnect/mobile-registry": "^1.4.0", - "@walletconnect/types": "^1.7.3", + "@walletconnect/types": "^1.7.7", "copy-to-clipboard": "^3.3.1", "preact": "10.4.1", "qrcode": "1.4.4" } }, "@walletconnect/randombytes": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@walletconnect/randombytes/-/randombytes-1.0.1.tgz", - "integrity": "sha512-YJTyq69i0PtxVg7osEpKfvjTaWuAsR49QEcqGKZRKVQWMbGXBZ65fovemK/SRgtiFRv0V8PwsrlKSheqzfPNcg==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@walletconnect/randombytes/-/randombytes-1.0.2.tgz", + "integrity": "sha512-ivgOtAyqQnN0rLQmOFPemsgYGysd/ooLfaDA/ACQ3cyqlca56t3rZc7pXfqJOIETx/wSyoF5XbwL+BqYodw27A==", "requires": { - "@walletconnect/encoding": "^1.0.0", + "@walletconnect/encoding": "^1.0.1", "@walletconnect/environment": "^1.0.0", "randombytes": "^2.1.0" } @@ -16822,29 +16856,29 @@ "integrity": "sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg==" }, "@walletconnect/socket-transport": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/@walletconnect/socket-transport/-/socket-transport-1.7.3.tgz", - "integrity": "sha512-t0WlbgtnyOKHqKjceVBJI0c7wlsZIvZTsbYgQ3NN03uX8r5gv01FJxLvf/Uu5uip+LcjBZEz4TVwIO80As64nw==", + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/@walletconnect/socket-transport/-/socket-transport-1.7.7.tgz", + "integrity": "sha512-RxeFkT+5BqdaZzPtPYIw6+KSVh6Q1NaYqTiAzWWh9RPuvuTajIEsi+fUXizfkpmyi9UTYBvdFXnKcB+eSImpDg==", "requires": { - "@walletconnect/types": "^1.7.3", - "@walletconnect/utils": "^1.7.3", + "@walletconnect/types": "^1.7.7", + "@walletconnect/utils": "^1.7.7", "ws": "7.5.3" } }, "@walletconnect/types": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-1.7.3.tgz", - "integrity": "sha512-EtFM7LxjrbCoCJvRZf3wydPitwlB0s4S9sj9yXe13j7mMgf9ruS5Ixa/sCfDKskZdGvkhFis9+Nw+gO++A/klg==" + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-1.7.7.tgz", + "integrity": "sha512-yXJrLxwLLCXtWgd/e8FjfY9v5DKds12Z7EEPzUrPSq6v7WtXpqate577KwlFQ6UYzioQzIEDE8+98j+0aiZbsw==" }, "@walletconnect/utils": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-1.7.3.tgz", - "integrity": "sha512-WVZqCBgoIer3fUUVEQm0TYZrDBEOSlKJ91EgA27I41TJGer7OE7pEjJhaNgwWTIwsfJJkjNWp+4wa78Qf/e5vg==", + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-1.7.7.tgz", + "integrity": "sha512-slNlnROS4DEusGFx53hshIBylYhzd5JtGF+AJpza+Tc616+u8ozjQ9aKKUaV85bucnv5Q42bTwLYrYrXiydmuw==", "requires": { - "@walletconnect/browser-utils": "^1.7.3", - "@walletconnect/encoding": "^1.0.0", + "@walletconnect/browser-utils": "^1.7.7", + "@walletconnect/encoding": "^1.0.1", "@walletconnect/jsonrpc-utils": "^1.0.0", - "@walletconnect/types": "^1.7.3", + "@walletconnect/types": "^1.7.7", "bn.js": "4.11.8", "js-sha3": "0.8.0", "query-string": "6.13.5" @@ -16858,15 +16892,15 @@ } }, "@walletconnect/web3-provider": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/@walletconnect/web3-provider/-/web3-provider-1.7.3.tgz", - "integrity": "sha512-LSioyTLokp7xBTlWDRoff84auaAGxr5XdNhPlVNSVyTHOsfzl9o29eEfbkWfIcc5YQJ8IY1B9goO6iQgha7RvQ==", + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/@walletconnect/web3-provider/-/web3-provider-1.7.7.tgz", + "integrity": "sha512-hUhDyaMu93e7e82OVCu3KnYOn6m6wQO9YObbhi3PexppCANe/Y9eDrw/37S+7jbjLIx5nS1et2JU+taKR7OSOw==", "requires": { - "@walletconnect/client": "^1.7.3", - "@walletconnect/http-connection": "^1.7.3", - "@walletconnect/qrcode-modal": "^1.7.3", - "@walletconnect/types": "^1.7.3", - "@walletconnect/utils": "^1.7.3", + "@walletconnect/client": "^1.7.7", + "@walletconnect/http-connection": "^1.7.7", + "@walletconnect/qrcode-modal": "^1.7.7", + "@walletconnect/types": "^1.7.7", + "@walletconnect/utils": "^1.7.7", "web3-provider-engine": "16.0.1" } }, @@ -17981,9 +18015,9 @@ }, "dependencies": { "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==" + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz", + "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==" }, "strip-ansi": { "version": "5.2.0", @@ -25181,9 +25215,9 @@ }, "dependencies": { "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==" + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz", + "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==" }, "strip-ansi": { "version": "5.2.0", @@ -25941,41 +25975,6 @@ "extsprintf": "^1.2.0" } }, - "walletlink": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/walletlink/-/walletlink-2.5.0.tgz", - "integrity": "sha512-PBJmK5tZmonwKPABBI2/optaZ11O4kKmkmnU5eLKhk4XRlal5qJ1igZ4U5j3w6w8wxxdhCWpLMHzGWt3n/p7mw==", - "requires": { - "@metamask/safe-event-emitter": "2.0.0", - "bind-decorator": "^1.0.11", - "bn.js": "^5.1.1", - "clsx": "^1.1.0", - "eth-block-tracker": "4.4.3", - "eth-json-rpc-filters": "4.2.2", - "eth-rpc-errors": "4.0.2", - "js-sha256": "0.9.0", - "json-rpc-engine": "6.1.0", - "keccak": "^3.0.1", - "preact": "^10.5.9", - "rxjs": "^6.6.3", - "stream-browserify": "^3.0.0" - }, - "dependencies": { - "eth-rpc-errors": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/eth-rpc-errors/-/eth-rpc-errors-4.0.2.tgz", - "integrity": "sha512-n+Re6Gu8XGyfFy1it0AwbD1x0MUzspQs0D5UiPs1fFPCr6WAwZM+vbIhXheBFrpgosqN9bs5PqlB4Q61U/QytQ==", - "requires": { - "fast-safe-stringify": "^2.0.6" - } - }, - "preact": { - "version": "10.6.6", - "resolved": "https://registry.npmjs.org/preact/-/preact-10.6.6.tgz", - "integrity": "sha512-dgxpTFV2vs4vizwKohYKkk7g7rmp1wOOcfd4Tz3IB3Wi+ivZzsn/SpeKJhRENSE+n8sUfsAl4S3HiCVT923ABw==" - } - } - }, "watchpack": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.3.1.tgz", @@ -26776,9 +26775,9 @@ }, "dependencies": { "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==" + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz", + "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==" }, "ansi-styles": { "version": "3.2.1", diff --git a/js/ui/package.json b/js/ui/package.json index cd7644d..79beba0 100644 --- a/js/ui/package.json +++ b/js/ui/package.json @@ -49,12 +49,12 @@ "validate": "svelte-check" }, "dependencies": { + "@coinbase/wallet-sdk": "^3.0.5", "@portis/web3": "^4.0.6", "@spruceid/siwe-web3modal": "^0.1.6", - "@toruslabs/torus-embed": "^1.18.3", - "@walletconnect/web3-provider": "^1.6.6", + "@toruslabs/torus-embed": "^1.21.0", + "@walletconnect/web3-provider": "^1.7.7", "fortmatic": "^2.2.1", - "url": "^0.11.0", - "walletlink": "^2.2.8" + "url": "^0.11.0" } } diff --git a/js/ui/src/App.svelte b/js/ui/src/App.svelte index 10a241f..e9f42eb 100644 --- a/js/ui/src/App.svelte +++ b/js/ui/src/App.svelte @@ -5,7 +5,7 @@ import WalletConnectProvider from '@walletconnect/web3-provider'; import Fortmatic from 'fortmatic'; import { onMount } from 'svelte'; - import WalletLink from 'walletlink'; + import CoinbaseWalletSDK from "@coinbase/wallet-sdk"; // TODO: REMOVE DEFAULTS: // main.ts will parse the params from the server @@ -56,29 +56,12 @@ key: process.env.FORTMATIC_KEY, }, }, - 'custom-coinbase': { - display: { - logo: 'img/coinbase.svg', - name: 'Coinbase', - description: 'Scan with WalletLink to connect', - }, + walletlink: { + package: CoinbaseWalletSDK, options: { - appName: 'Sign-In with Ethereum', - networkUrl: `https://mainnet.infura.io/v3/${process.env.INFURA_ID}`, - chainId: 1, - darkMode: false, - }, - package: WalletLink, - connector: async (_, options) => { - const { appName, networkUrl, chainId, darkMode } = options; - const walletLink = new WalletLink({ - appName, - darkMode, - }); - const provider = walletLink.makeWeb3Provider(networkUrl, chainId); - await provider.enable(); - return provider; - }, + appName: "Sign-In with Ethereum", + infuraId: process.env.INFURA_ID + } }, }, }, diff --git a/static/img/coinbase.svg b/static/img/coinbase.svg deleted file mode 100644 index 1996c3d..0000000 --- a/static/img/coinbase.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - -