diff --git a/package-lock.json b/package-lock.json index 9acdbab05..4f1bfb290 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,28 +8,28 @@ "name": "app", "version": "4.0.2", "dependencies": { - "@ethereumjs/common": "^4.0.0", - "@ethereumjs/tx": "^5.0.0", - "@ethereumjs/util": "^9.0.0", + "@ethereumjs/common": "^4.1.0", + "@ethereumjs/tx": "^5.1.0", + "@ethereumjs/util": "^9.0.1", "@gtm-support/vue2-gtm": "^2.0.0", "@metamask/contract-metadata": "^2.4.0", "@metamask/eth-json-rpc-infura": "^9.0.0", "@metamask/eth-json-rpc-middleware": "^12.0.0", "@metamask/eth-json-rpc-provider": "^2.2.0", "@metamask/eth-sig-util": "^7.0.0", - "@sentry/browser": "^7.75.1", - "@sentry/tracing": "^7.75.1", - "@sentry/vue": "^7.75.1", + "@sentry/browser": "^7.77.0", + "@sentry/tracing": "^7.77.0", + "@sentry/vue": "^7.77.0", "@toruslabs/broadcast-channel": "^9.0.1", "@toruslabs/eccrypto": "^4.0.0", "@toruslabs/http-helpers": "^5.0.0", "@toruslabs/loglevel-sentry": "^6.0.1", "@toruslabs/metadata-helpers": "^5.0.0", - "@toruslabs/openlogin": "^5.3.0", - "@toruslabs/openlogin-jrpc": "^5.3.0", + "@toruslabs/openlogin": "^6.0.0", + "@toruslabs/openlogin-jrpc": "^6.0.0", "@toruslabs/openlogin-session-manager": "^3.0.0", - "@toruslabs/openlogin-subkey": "^5.0.0", - "@toruslabs/openlogin-utils": "^5.3.0", + "@toruslabs/openlogin-subkey": "^6.0.0", + "@toruslabs/openlogin-utils": "^6.0.0", "@uniswap/default-token-list": "^11.9.0", "@walletconnect/sign-client": "^2.10.4", "@walletconnect/utils": "^2.10.4", @@ -38,14 +38,14 @@ "bn.js": "^5.2.1", "bowser": "^2.11.0", "copy-to-clipboard": "^3.3.3", - "core-js": "^3.33.1", + "core-js": "^3.33.2", "das-sdk": "^1.9.3", "deepmerge": "^4.3.1", "eth-block-tracker": "^8.1.0", "eth-json-rpc-filters": "^6.0.1", "eth-query": "^2.1.2", "eth-rpc-errors": "^4.0.3", - "ethers": "^6.8.0", + "ethers": "^6.8.1", "ethjs-query": "^0.3.8", "fast-json-patch": "^3.1.1", "jsonschema": "^1.4.1", @@ -105,7 +105,7 @@ "eslint-plugin-promise": "^6.1.1", "eslint-plugin-simple-import-sort": "^10.0.0", "eslint-plugin-switch-case": "^1.1.2", - "eslint-plugin-unicorn": "^48.0.1", + "eslint-plugin-unicorn": "^49.0.0", "eslint-plugin-vue": "^9.18.1", "eslint-plugin-vue-scoped-css": "^2.5.1", "express": "^4.18.2", @@ -118,11 +118,11 @@ "lodash-es": "^4.17.21", "luxon": "^3.4.3", "mocha": "^10.2.0", - "nock": "13.3.6", + "nock": "13.3.8", "nyc": "^15.1.0", "prettier": "^3.0.3", "process": "^0.11.10", - "puppeteer": "^21.4.1", + "puppeteer": "^21.5.0", "sass": "~1.32.13", "sass-loader": "^13.3.2", "sinon": "^15.2.0", @@ -2112,11 +2112,11 @@ } }, "node_modules/@ethereumjs/common": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@ethereumjs/common/-/common-4.0.0.tgz", - "integrity": "sha512-eVa0/nC15mpotD8HOq6jB883SCWUkLjibr2jLPmPrx4FfmewXqFeh4drgR2sHjq3qWKxpCLK+5qsSJgtXwIzJQ==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@ethereumjs/common/-/common-4.1.0.tgz", + "integrity": "sha512-XWdQvUjlQHVwh4uGEPFKHpsic69GOsMXEhlHrggS5ju/+2zAmmlz6B25TkCCymeElC9DUp13tH5Tc25Iuvtlcg==", "dependencies": { - "@ethereumjs/util": "^9.0.0", + "@ethereumjs/util": "^9.0.1", "crc": "^4.3.2" } }, @@ -2162,31 +2162,31 @@ } }, "node_modules/@ethereumjs/rlp": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@ethereumjs/rlp/-/rlp-5.0.0.tgz", - "integrity": "sha512-WuS1l7GJmB0n0HsXLozCoEFc9IwYgf3l0gCkKVYgR67puVF1O4OpEaN0hWmm1c+iHUHFCKt1hJrvy5toLg+6ag==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@ethereumjs/rlp/-/rlp-5.0.1.tgz", + "integrity": "sha512-Ab/Hfzz+T9Zl+65Nkg+9xAmwKPLicsnQ4NW49pgvJp9ovefuic95cgOS9CbPc9izIEgsqm1UitV0uNveCvud9w==", "bin": { - "rlp": "bin/rlp" + "rlp": "bin/rlp.cjs" }, "engines": { "node": ">=18" } }, "node_modules/@ethereumjs/tx": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@ethereumjs/tx/-/tx-5.0.0.tgz", - "integrity": "sha512-bJBC/jHVIbwvZBVsK0Ls70NzxJ8Q3UvPwskG1LO6+ryVGKY0y1bhRreo0/gR3vTkuRjD+x5QTYV6fIY16tswJA==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@ethereumjs/tx/-/tx-5.1.0.tgz", + "integrity": "sha512-VUhw2+4yXArJZRWhPjmZFrN4WUjUo0qUZUszVpW2KzsGlqCFf67kwJcH9Rca5eS0CRHjr2qHJLpvYOjNuaXVdA==", "dependencies": { - "@ethereumjs/common": "^4.0.0", - "@ethereumjs/rlp": "^5.0.0", - "@ethereumjs/util": "^9.0.0", + "@ethereumjs/common": "^4.1.0", + "@ethereumjs/rlp": "^5.0.1", + "@ethereumjs/util": "^9.0.1", "ethereum-cryptography": "^2.1.2" }, "engines": { "node": ">=18" }, "peerDependencies": { - "c-kzg": "^2.1.0" + "c-kzg": "^2.1.2" }, "peerDependenciesMeta": { "c-kzg": { @@ -2195,18 +2195,18 @@ } }, "node_modules/@ethereumjs/util": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/@ethereumjs/util/-/util-9.0.0.tgz", - "integrity": "sha512-V8062I+ZXfFxtFLp7xsPeiT1IxDaVOZaM78nGj1gsWUFeZ8SgADMLDKWehp+muTy1JRbVoXFljZ1qoyv9ji/2g==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/@ethereumjs/util/-/util-9.0.1.tgz", + "integrity": "sha512-NdFFEzCc3H1sYkNnnySwLg6owdQMhjUc2jfuDyx8Xv162WSluCnnSKouKOSG3njGNEyy2I9NmF8zTRDwuqpZWA==", "dependencies": { - "@ethereumjs/rlp": "^5.0.0", + "@ethereumjs/rlp": "^5.0.1", "ethereum-cryptography": "^2.1.2" }, "engines": { "node": ">=18" }, "peerDependencies": { - "c-kzg": "^2.1.0" + "c-kzg": "^2.1.2" }, "peerDependenciesMeta": { "c-kzg": { @@ -2568,11 +2568,11 @@ } }, "node_modules/@metamask/rpc-errors": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@metamask/rpc-errors/-/rpc-errors-6.0.0.tgz", - "integrity": "sha512-sAZwcdmidJDPbZV3XSKcWZC7CSTdjqDNRsDDdb2SstCOLEJtNqHpx32FWgwWB0arqWxUcUxYxgR39edUbsWz7A==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@metamask/rpc-errors/-/rpc-errors-6.1.0.tgz", + "integrity": "sha512-JQElKxai26FpDyRKO/yH732wI+BV90i1u6pOuDOpdADSbppB2g1pPh3AGST1zkZqEE9eIKIUw8UdBQ4rp3VTSg==", "dependencies": { - "@metamask/utils": "^8.0.0", + "@metamask/utils": "^8.1.0", "fast-safe-stringify": "^2.0.6" }, "engines": { @@ -2991,28 +2991,28 @@ } }, "node_modules/@sentry-internal/tracing": { - "version": "7.75.1", - "resolved": "https://registry.npmjs.org/@sentry-internal/tracing/-/tracing-7.75.1.tgz", - "integrity": "sha512-nynV+7iVcF8k3CqhvI2K7iA8h4ovJhgYHKnXR8RDDevQOqNG2AEX9+hjCj9fZM4MhKHYFqf1od2oO9lTr38kwg==", + "version": "7.77.0", + "resolved": "https://registry.npmjs.org/@sentry-internal/tracing/-/tracing-7.77.0.tgz", + "integrity": "sha512-8HRF1rdqWwtINqGEdx8Iqs9UOP/n8E0vXUu3Nmbqj4p5sQPA7vvCfq+4Y4rTqZFc7sNdFpDsRION5iQEh8zfZw==", "dependencies": { - "@sentry/core": "7.75.1", - "@sentry/types": "7.75.1", - "@sentry/utils": "7.75.1" + "@sentry/core": "7.77.0", + "@sentry/types": "7.77.0", + "@sentry/utils": "7.77.0" }, "engines": { "node": ">=8" } }, "node_modules/@sentry/browser": { - "version": "7.75.1", - "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-7.75.1.tgz", - "integrity": "sha512-0+jPfPA5P9HVYYRQraDokGCY2NiMknSfz11dggClK4VmjvG+hOXiEyf73SFVwLFnv/hwrkWySjoIrVCX65xXQA==", + "version": "7.77.0", + "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-7.77.0.tgz", + "integrity": "sha512-nJ2KDZD90H8jcPx9BysQLiQW+w7k7kISCWeRjrEMJzjtge32dmHA8G4stlUTRIQugy5F+73cOayWShceFP7QJQ==", "dependencies": { - "@sentry-internal/tracing": "7.75.1", - "@sentry/core": "7.75.1", - "@sentry/replay": "7.75.1", - "@sentry/types": "7.75.1", - "@sentry/utils": "7.75.1" + "@sentry-internal/tracing": "7.77.0", + "@sentry/core": "7.77.0", + "@sentry/replay": "7.77.0", + "@sentry/types": "7.77.0", + "@sentry/utils": "7.77.0" }, "engines": { "node": ">=8" @@ -3039,70 +3039,70 @@ } }, "node_modules/@sentry/core": { - "version": "7.75.1", - "resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.75.1.tgz", - "integrity": "sha512-Kw4KyKBxbxbh8OKO0S11Tm0gWP+6AaXXYrsq3hp8H338l/wOmIzyckmCbUrc/XJeoRqaFLJbdcCrcUEDZUvsVQ==", + "version": "7.77.0", + "resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.77.0.tgz", + "integrity": "sha512-Tj8oTYFZ/ZD+xW8IGIsU6gcFXD/gfE+FUxUaeSosd9KHwBQNOLhZSsYo/tTVf/rnQI/dQnsd4onPZLiL+27aTg==", "dependencies": { - "@sentry/types": "7.75.1", - "@sentry/utils": "7.75.1" + "@sentry/types": "7.77.0", + "@sentry/utils": "7.77.0" }, "engines": { "node": ">=8" } }, "node_modules/@sentry/replay": { - "version": "7.75.1", - "resolved": "https://registry.npmjs.org/@sentry/replay/-/replay-7.75.1.tgz", - "integrity": "sha512-MKQTDWNYs9QXCJ+irGX5gu8Kxdk/Ds5puhILy8+DnCoXgXuPFRMGob1Sxt8qXmbQmcGeogsx221MNTselsRS6g==", + "version": "7.77.0", + "resolved": "https://registry.npmjs.org/@sentry/replay/-/replay-7.77.0.tgz", + "integrity": "sha512-M9Ik2J5ekl+C1Och3wzLRZVaRGK33BlnBwfwf3qKjgLDwfKW+1YkwDfTHbc2b74RowkJbOVNcp4m8ptlehlSaQ==", "dependencies": { - "@sentry-internal/tracing": "7.75.1", - "@sentry/core": "7.75.1", - "@sentry/types": "7.75.1", - "@sentry/utils": "7.75.1" + "@sentry-internal/tracing": "7.77.0", + "@sentry/core": "7.77.0", + "@sentry/types": "7.77.0", + "@sentry/utils": "7.77.0" }, "engines": { "node": ">=12" } }, "node_modules/@sentry/tracing": { - "version": "7.75.1", - "resolved": "https://registry.npmjs.org/@sentry/tracing/-/tracing-7.75.1.tgz", - "integrity": "sha512-hy8MQB9TAYdvuO6O6Lotmi/xMkhseM5E3ecY6yjgkbQwzjJV+dBBW4xsCXowMQQQ1qN+E/n95p/gUPvbfe2mgQ==", + "version": "7.77.0", + "resolved": "https://registry.npmjs.org/@sentry/tracing/-/tracing-7.77.0.tgz", + "integrity": "sha512-zr6eSCW3NJ124uj4Fy/6hh77cziy43dpYE1WpgvO/yhl1+kdrY2XVJ0bXGqwHU0KBm/eSgHD7yecUxmZUXiabA==", "dependencies": { - "@sentry-internal/tracing": "7.75.1" + "@sentry-internal/tracing": "7.77.0" }, "engines": { "node": ">=8" } }, "node_modules/@sentry/types": { - "version": "7.75.1", - "resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.75.1.tgz", - "integrity": "sha512-km+ygqgMDaFfTrbQwdhrptFqx0Oq15jZABqIoIpbaOCkCAMm+tyCqrFS8dTfaq5wpCktqWOy2qU/DOpppO99Cg==", + "version": "7.77.0", + "resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.77.0.tgz", + "integrity": "sha512-nfb00XRJVi0QpDHg+JkqrmEBHsqBnxJu191Ded+Cs1OJ5oPXEW6F59LVcBScGvMqe+WEk1a73eH8XezwfgrTsA==", "engines": { "node": ">=8" } }, "node_modules/@sentry/utils": { - "version": "7.75.1", - "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.75.1.tgz", - "integrity": "sha512-QzW2eRjY20epD//9/tQ0FTNwdAL6XZi+LyJNUQIeK3NMnc5NgHrgpxId87gmFq8cNx47utH1Blub8RuMbKqiwQ==", + "version": "7.77.0", + "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.77.0.tgz", + "integrity": "sha512-NmM2kDOqVchrey3N5WSzdQoCsyDkQkiRxExPaNI2oKQ/jMWHs9yt0tSy7otPBcXs0AP59ihl75Bvm1tDRcsp5g==", "dependencies": { - "@sentry/types": "7.75.1" + "@sentry/types": "7.77.0" }, "engines": { "node": ">=8" } }, "node_modules/@sentry/vue": { - "version": "7.75.1", - "resolved": "https://registry.npmjs.org/@sentry/vue/-/vue-7.75.1.tgz", - "integrity": "sha512-GUasSjHOU5Ge4bseuS5Hv35nirGVOT72TjKy0f8e29Oom9gveHTkeOVHIfs2gHT4cmGqzdsON+Dk4vSfG6PSBg==", + "version": "7.77.0", + "resolved": "https://registry.npmjs.org/@sentry/vue/-/vue-7.77.0.tgz", + "integrity": "sha512-mYGkahnLAL9t3XKTTonHC+cv5EN/hjlW4tCRMiOVbR3eN3hXTtFCc4bKC5lHGLTLhx4U7Flc7JXmajw3tJOLBQ==", "dependencies": { - "@sentry/browser": "7.75.1", - "@sentry/core": "7.75.1", - "@sentry/types": "7.75.1", - "@sentry/utils": "7.75.1" + "@sentry/browser": "7.77.0", + "@sentry/core": "7.77.0", + "@sentry/types": "7.77.0", + "@sentry/utils": "7.77.0" }, "engines": { "node": ">=8" @@ -3571,15 +3571,15 @@ } }, "node_modules/@toruslabs/openlogin": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin/-/openlogin-5.3.0.tgz", - "integrity": "sha512-I6bVBPDlqcnF/11+disyS0kUClJLavYcLi3dBEx2a1mEv18jOy1kuG+FSenDMzF733MCk1Y3Iikox0evPzhpvQ==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin/-/openlogin-6.0.0.tgz", + "integrity": "sha512-gfdjsOOwMbtjotmxzLO/+V7Kc6n0iMAkpSI/Wf3GfOTRcV5kHoLDOTOOwrTDvY0fAWS5uv6fFlARadm0i9E2xg==", "dependencies": { - "@toruslabs/broadcast-channel": "^8.0.0", "@toruslabs/eccrypto": "^4.0.0", "@toruslabs/metadata-helpers": "^5.0.0", "@toruslabs/openlogin-session-manager": "^3.0.0", - "@toruslabs/openlogin-utils": "^5.3.0", + "@toruslabs/openlogin-utils": "^6.0.0", + "@toruslabs/secure-pub-sub": "^0.0.1", "bowser": "^2.11.0", "events": "^3.3.0", "loglevel": "^1.8.1", @@ -3594,12 +3594,12 @@ } }, "node_modules/@toruslabs/openlogin-jrpc": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-jrpc/-/openlogin-jrpc-5.3.0.tgz", - "integrity": "sha512-tM1XHG5UulvENhZYewo9eVWF5r9SffGru8+09qFED7g/PFupKs/rccaXYwyWRGVenQSMgj6ipgUd72zliuen+A==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-jrpc/-/openlogin-jrpc-6.0.0.tgz", + "integrity": "sha512-qi4h0/abyreyeoL+mg4I8nkC/QmP7ID1nRCrz+Uzx/t8d7I11kmpVXwjclVxhd1qt+m4uXaWFaFZONBjYdBYqw==", "dependencies": { - "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/openlogin-utils": "^5.3.0", + "@metamask/rpc-errors": "^6.1.0", + "@toruslabs/openlogin-utils": "^6.0.0", "end-of-stream": "^1.4.4", "events": "^3.3.0", "fast-safe-stringify": "^2.1.1", @@ -3633,9 +3633,9 @@ } }, "node_modules/@toruslabs/openlogin-subkey": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-subkey/-/openlogin-subkey-5.0.0.tgz", - "integrity": "sha512-k+2IQl0fKF5hR1Qrjjww2cMv9h3uzPh0waaBORmxz/mmVfwc4uV3QfMa3DFr8nf2x+vXb+UjfFL8cP1Ow2dgmw==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-subkey/-/openlogin-subkey-6.0.0.tgz", + "integrity": "sha512-QP0EHYR7C4kTrNKq6G1JwKvmw0KwMa3wjeTZamcAwFaarkXeSjnwwW843TxrLnS4jFfGbbXqSypvOfLwVzlvUA==", "dependencies": { "@toruslabs/ffjavascript": "^2.0.0", "@toruslabs/metadata-helpers": "^5.0.0", @@ -3651,11 +3651,11 @@ } }, "node_modules/@toruslabs/openlogin-utils": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-utils/-/openlogin-utils-5.3.0.tgz", - "integrity": "sha512-WfwadC7ZqKOTVqfI4rFANu7IzEgI7H4A/0TiIQihxHpFWdFM23yVuCCIm5zCzQ1QtA2mwBbBZYwOJ0YHVrV6HQ==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-utils/-/openlogin-utils-6.0.0.tgz", + "integrity": "sha512-BbKgkUCNpGTJxuPSDYBoKEDSJ+q3bC0Po4VOUjszBNtHMlAcubIkuTLPt7qBQkLAtbiW4cfkojTRRjIGEcUaQQ==", "dependencies": { - "@toruslabs/constants": "^13.0.1", + "@toruslabs/constants": "^13.0.3", "base64url": "^3.0.1" }, "engines": { @@ -3666,23 +3666,23 @@ "@babel/runtime": "7.x" } }, - "node_modules/@toruslabs/openlogin/node_modules/@toruslabs/broadcast-channel": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/@toruslabs/broadcast-channel/-/broadcast-channel-8.0.0.tgz", - "integrity": "sha512-qCyWsHVL4Xtx1J6k1+acD7TJKCelJWyUy5Q5zyiWMPxMGFxTv1XdRyqpzV+VgwbcslIqgFN0GewOry2l1jlUQQ==", + "node_modules/@toruslabs/secure-pub-sub": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/@toruslabs/secure-pub-sub/-/secure-pub-sub-0.0.1.tgz", + "integrity": "sha512-fuvjilsNhJ9zdeFcYBwFq6BxhFJU6vkCU3Xm4BcnXLtGxm79N9rj1C8rwFQY2TSgpAcD8NZsuuJqneRG7M9kpg==", "dependencies": { - "@babel/runtime": "^7.22.10", "@toruslabs/eccrypto": "^4.0.0", + "@toruslabs/http-helpers": "^5.0.0", "@toruslabs/metadata-helpers": "^5.0.0", - "bowser": "^2.11.0", "loglevel": "^1.8.1", - "oblivious-set": "1.1.1", - "socket.io-client": "^4.7.2", - "unload": "^2.4.1" + "socket.io-client": "^4.7.2" }, "engines": { "node": ">=18.x", "npm": ">=9.x" + }, + "peerDependencies": { + "@babel/runtime": "7.x" } }, "node_modules/@trysound/sax": { @@ -6570,9 +6570,9 @@ } }, "node_modules/chromium-bidi": { - "version": "0.4.32", - "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.4.32.tgz", - "integrity": "sha512-RJnw0PW3sNdx1WclINVfVVx8JUH+tWTHZNpnEzlcM+Qgvf40dUH34U7gJq+cc/0LE+rbPxeT6ldqWrCbUf4jeg==", + "version": "0.4.33", + "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.4.33.tgz", + "integrity": "sha512-IxoFM5WGQOIAd95qrSXzJUv4eXIrh+RvU3rwwqIiwYuvfE7U/Llj4fejbsJnjJMUYCuGtVQsY2gv7oGl4aTNSQ==", "dev": true, "dependencies": { "mitt": "3.0.1", @@ -7123,9 +7123,9 @@ } }, "node_modules/core-js": { - "version": "3.33.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.33.1.tgz", - "integrity": "sha512-qVSq3s+d4+GsqN0teRCJtM6tdEEXyWxjzbhVrCHmBS5ZTM0FS2MOS0D13dUXAWDUN6a+lHI/N1hF9Ytz6iLl9Q==", + "version": "3.33.2", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.33.2.tgz", + "integrity": "sha512-XeBzWI6QL3nJQiHmdzbAOiMYqjrb7hwU7A39Qhvd/POSa/t9E1AeZyEZx3fNvp/vtM8zXwhoL0FsiS0hD0pruQ==", "hasInstallScript": true, "funding": { "type": "opencollective", @@ -8027,9 +8027,9 @@ "dev": true }, "node_modules/devtools-protocol": { - "version": "0.0.1191157", - "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1191157.tgz", - "integrity": "sha512-Fu2mUhX7zkzLHMJZk5wQTiHdl1eJrhK0GypUoSzogUt51MmYEv/46pCz4PtGGFlr0f2ZyYDzzx5CPtbEkuvcTA==", + "version": "0.0.1203626", + "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1203626.tgz", + "integrity": "sha512-nEzHZteIUZfGCZtTiS1fRpC8UZmsfD1SiyPvaUNvS13dvKf666OAm8YTi0+Ca3n1nLEyu49Cy4+dPWpaHFJk9g==", "dev": true }, "node_modules/diff": { @@ -8984,12 +8984,12 @@ } }, "node_modules/eslint-plugin-unicorn": { - "version": "48.0.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-48.0.1.tgz", - "integrity": "sha512-FW+4r20myG/DqFcCSzoumaddKBicIPeFnTrifon2mWIzlfyvzwyqZjqVP7m4Cqr/ZYisS2aiLghkUWaPg6vtCw==", + "version": "49.0.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-49.0.0.tgz", + "integrity": "sha512-0fHEa/8Pih5cmzFW5L7xMEfUTvI9WKeQtjmKpTUmY+BiFCDxkxrTdnURJOHKykhtwIeyYsxnecbGvDCml++z4Q==", "dev": true, "dependencies": { - "@babel/helper-validator-identifier": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.20", "@eslint-community/eslint-utils": "^4.4.0", "ci-info": "^3.8.0", "clean-regexp": "^1.0.0", @@ -8997,7 +8997,6 @@ "indent-string": "^4.0.0", "is-builtin-module": "^3.2.1", "jsesc": "^3.0.2", - "lodash": "^4.17.21", "pluralize": "^8.0.0", "read-pkg-up": "^7.0.1", "regexp-tree": "^0.1.27", @@ -9012,7 +9011,7 @@ "url": "https://github.com/sindresorhus/eslint-plugin-unicorn?sponsor=1" }, "peerDependencies": { - "eslint": ">=8.44.0" + "eslint": ">=8.52.0" } }, "node_modules/eslint-plugin-unicorn/node_modules/jsesc": { @@ -9643,9 +9642,9 @@ } }, "node_modules/ethers": { - "version": "6.8.0", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.8.0.tgz", - "integrity": "sha512-zrFbmQRlraM+cU5mE4CZTLBurZTs2gdp2ld0nG/f3ecBK+x6lZ69KSxBqZ4NjclxwfTxl5LeNufcBbMsTdY53Q==", + "version": "6.8.1", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.8.1.tgz", + "integrity": "sha512-iEKm6zox5h1lDn6scuRWdIdFJUCGg3+/aQWu0F4K0GVyEZiktFkqrJbRjTn1FlYEPz7RKA707D6g5Kdk6j7Ljg==", "funding": [ { "type": "individual", @@ -17836,9 +17835,9 @@ } }, "node_modules/nock": { - "version": "13.3.6", - "resolved": "https://registry.npmjs.org/nock/-/nock-13.3.6.tgz", - "integrity": "sha512-lT6YuktKroUFM+27mubf2uqQZVy2Jf+pfGzuh9N6VwdHlFoZqvi4zyxFTVR1w/ChPqGY6yxGehHp6C3wqCASCw==", + "version": "13.3.8", + "resolved": "https://registry.npmjs.org/nock/-/nock-13.3.8.tgz", + "integrity": "sha512-96yVFal0c/W1lG7mmfRe7eO+hovrhJYd2obzzOZ90f6fjpeU/XNvd9cYHZKZAQJumDfhXgoTpkpJ9pvMj+hqHw==", "dev": true, "dependencies": { "debug": "^4.1.0", @@ -20214,31 +20213,31 @@ } }, "node_modules/puppeteer": { - "version": "21.4.1", - "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-21.4.1.tgz", - "integrity": "sha512-opJqQeYMjAB3ICG8lCF3wtSs9k05dozmrEMrHgo3ZWbISiy8qbv/yAJz/6Io221qSh3yURfVf6Z7crrlzKZjLQ==", + "version": "21.5.0", + "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-21.5.0.tgz", + "integrity": "sha512-prvy9rdauyIaaEgefQRcw9zhQnYQbl8O1Gj5VJazKJ7kwNx703+Paw/1bwA+b96jj/S+r55hrmF5SfiEG5PUcg==", "dev": true, "hasInstallScript": true, "dependencies": { "@puppeteer/browsers": "1.8.0", "cosmiconfig": "8.3.6", - "puppeteer-core": "21.4.1" + "puppeteer-core": "21.5.0" }, "engines": { "node": ">=16.3.0" } }, "node_modules/puppeteer-core": { - "version": "21.4.1", - "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-21.4.1.tgz", - "integrity": "sha512-Lh0e+oGhUquxVOi1U701gTfFLFvw5gDBFh3CWpnfAvtItmyZKUce4R54VNfOJfi+KKnzhVPdB/lDrg65gdRIng==", + "version": "21.5.0", + "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-21.5.0.tgz", + "integrity": "sha512-qG0RJ6qKgFz09UUZxDB9IcyTJGypQXMuE8WmEoHk7kgjutmRiOVv5RgsyUkY67AxDdBWx21bn1PHHRJnO/6b4A==", "dev": true, "dependencies": { "@puppeteer/browsers": "1.8.0", - "chromium-bidi": "0.4.32", + "chromium-bidi": "0.4.33", "cross-fetch": "4.0.0", "debug": "4.3.4", - "devtools-protocol": "0.0.1191157", + "devtools-protocol": "0.0.1203626", "ws": "8.14.2" }, "engines": { @@ -21989,9 +21988,9 @@ "integrity": "sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==" }, "node_modules/streamx": { - "version": "2.15.1", - "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.15.1.tgz", - "integrity": "sha512-fQMzy2O/Q47rgwErk/eGeLu/roaFWV0jVsogDmrszM9uIw8L5OA+t+V93MgYlufNptfjmYR1tOMWhei/Eh7TQA==", + "version": "2.15.2", + "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.15.2.tgz", + "integrity": "sha512-b62pAV/aeMjUoRN2C/9F0n+G8AfcJjNC0zw/ZmOHeFsIe4m4GzjVW9m6VHXVjk536NbdU9JRwKMJRfkc+zUFTg==", "dev": true, "dependencies": { "fast-fifo": "^1.1.0", diff --git a/package.json b/package.json index b18c47d76..6a269c220 100644 --- a/package.json +++ b/package.json @@ -30,28 +30,28 @@ "test:e2e:mobile": "env MOBILE_ENV=true mocha --timeout=60000 ./test/e2e" }, "dependencies": { - "@ethereumjs/common": "^4.0.0", - "@ethereumjs/tx": "^5.0.0", - "@ethereumjs/util": "^9.0.0", + "@ethereumjs/common": "^4.1.0", + "@ethereumjs/tx": "^5.1.0", + "@ethereumjs/util": "^9.0.1", "@gtm-support/vue2-gtm": "^2.0.0", "@metamask/contract-metadata": "^2.4.0", "@metamask/eth-json-rpc-infura": "^9.0.0", "@metamask/eth-json-rpc-middleware": "^12.0.0", "@metamask/eth-json-rpc-provider": "^2.2.0", "@metamask/eth-sig-util": "^7.0.0", - "@sentry/browser": "^7.75.1", - "@sentry/tracing": "^7.75.1", - "@sentry/vue": "^7.75.1", + "@sentry/browser": "^7.77.0", + "@sentry/tracing": "^7.77.0", + "@sentry/vue": "^7.77.0", "@toruslabs/broadcast-channel": "^9.0.1", "@toruslabs/eccrypto": "^4.0.0", "@toruslabs/http-helpers": "^5.0.0", "@toruslabs/loglevel-sentry": "^6.0.1", "@toruslabs/metadata-helpers": "^5.0.0", - "@toruslabs/openlogin": "^5.3.0", - "@toruslabs/openlogin-jrpc": "^5.3.0", + "@toruslabs/openlogin": "^6.0.0", + "@toruslabs/openlogin-jrpc": "^6.0.0", "@toruslabs/openlogin-session-manager": "^3.0.0", - "@toruslabs/openlogin-subkey": "^5.0.0", - "@toruslabs/openlogin-utils": "^5.3.0", + "@toruslabs/openlogin-subkey": "^6.0.0", + "@toruslabs/openlogin-utils": "^6.0.0", "@uniswap/default-token-list": "^11.9.0", "@walletconnect/sign-client": "^2.10.4", "@walletconnect/utils": "^2.10.4", @@ -60,14 +60,14 @@ "bn.js": "^5.2.1", "bowser": "^2.11.0", "copy-to-clipboard": "^3.3.3", - "core-js": "^3.33.1", + "core-js": "^3.33.2", "das-sdk": "^1.9.3", "deepmerge": "^4.3.1", "eth-block-tracker": "^8.1.0", "eth-json-rpc-filters": "^6.0.1", "eth-query": "^2.1.2", "eth-rpc-errors": "^4.0.3", - "ethers": "^6.8.0", + "ethers": "^6.8.1", "ethjs-query": "^0.3.8", "fast-json-patch": "^3.1.1", "jsonschema": "^1.4.1", @@ -127,7 +127,7 @@ "eslint-plugin-promise": "^6.1.1", "eslint-plugin-simple-import-sort": "^10.0.0", "eslint-plugin-switch-case": "^1.1.2", - "eslint-plugin-unicorn": "^48.0.1", + "eslint-plugin-unicorn": "^49.0.0", "eslint-plugin-vue": "^9.18.1", "eslint-plugin-vue-scoped-css": "^2.5.1", "express": "^4.18.2", @@ -140,11 +140,11 @@ "lodash-es": "^4.17.21", "luxon": "^3.4.3", "mocha": "^10.2.0", - "nock": "13.3.6", + "nock": "13.3.8", "nyc": "^15.1.0", "prettier": "^3.0.3", "process": "^0.11.10", - "puppeteer": "^21.4.1", + "puppeteer": "^21.5.0", "sass": "~1.32.13", "sass-loader": "^13.3.2", "sinon": "^15.2.0", diff --git a/src/controllers/transactions/TransactionController.js b/src/controllers/transactions/TransactionController.js index eaa00fb0b..ffcf92b4f 100644 --- a/src/controllers/transactions/TransactionController.js +++ b/src/controllers/transactions/TransactionController.js @@ -699,6 +699,7 @@ class TransactionController extends SafeEventEmitter { if (customNonceValue) { txMeta.nonceDetails.customNonceValue = customNonceValue } + if (txMeta.txParams.input && !txMeta.txParams.data) txMeta.txParams.data = txMeta.txParams.input this.txStateManager.updateTransaction(txMeta, 'transactions#approveTransaction') // sign transaction const rawTx = await this.signTransaction(txId)