From 56d0f98e03600ddcdd8869bcaabff74c6ab45f31 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Oct 2023 11:34:10 +0000 Subject: [PATCH] Bump @types/node from 18.15.13 to 20.8.9 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.15.13 to 20.8.9. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .../package-lock.json | 266 +++++++++++------- .../package.json | 2 +- .../sfa-web-auth0-example/package-lock.json | 266 +++++++++++------- .../sfa-web-auth0-example/package.json | 2 +- .../package-lock.json | 133 +++++---- .../sfa-web-custom-jwt-example/package.json | 2 +- .../sfa-web-google-example/package-lock.json | 266 +++++++++++------- .../sfa-web-google-example/package.json | 2 +- .../package-lock.json | 266 +++++++++++------- .../sfa-web-passwordless-example/package.json | 2 +- 10 files changed, 737 insertions(+), 470 deletions(-) diff --git a/single-factor-auth-web/sfa-web-aggregate-verifier-example/package-lock.json b/single-factor-auth-web/sfa-web-aggregate-verifier-example/package-lock.json index 9beb4bcf..390d461f 100644 --- a/single-factor-auth-web/sfa-web-aggregate-verifier-example/package-lock.json +++ b/single-factor-auth-web/sfa-web-aggregate-verifier-example/package-lock.json @@ -14,11 +14,11 @@ "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^14.4.3", "@types/jest": "^29.4.0", - "@types/node": "^18.13.0", + "@types/node": "^20.8.9", "@types/react": "^18.0.28", "@types/react-dom": "^18.0.10", - "@web3auth/base": "^7.0.1", - "@web3auth/ethereum-provider": "^7.0.2", + "@web3auth/base": "^7.0.4", + "@web3auth/ethereum-provider": "^7.0.4", "@web3auth/single-factor-auth": "^7.0.1", "ethers": "^6.7.0", "react": "^18.2.0", @@ -3704,11 +3704,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": { @@ -4513,15 +4513,15 @@ } }, "node_modules/@toruslabs/base-controllers": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-4.0.1.tgz", - "integrity": "sha512-6r9iUVdNsOR/oW2WSwrGZwPWDrMV4dt6lPOlzUbk+5vu+ijZ56jTlerUMHatcuHXuspISXXsJ9XhW64YoBTpRg==", + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-4.5.2.tgz", + "integrity": "sha512-DEaeKREzY8OJ74k6nuOP1x2a8Z1HeCfV2uQE835QhLKuCDgqRomDwCwRcrCGT3rqxT/AVhWmBj+ykO/XS/4lZw==", "dependencies": { "@ethereumjs/util": "^9.0.0", "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/broadcast-channel": "^8.0.0", + "@toruslabs/broadcast-channel": "^9.0.0", "@toruslabs/http-helpers": "^5.0.0", - "@toruslabs/openlogin-jrpc": "^5.0.2", + "@toruslabs/openlogin-jrpc": "^5.1.0", "async-mutex": "^0.4.0", "bignumber.js": "^9.1.2", "bowser": "^2.11.0", @@ -4567,6 +4567,25 @@ } } }, + "node_modules/@toruslabs/base-controllers/node_modules/@toruslabs/broadcast-channel": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/@toruslabs/broadcast-channel/-/broadcast-channel-9.0.1.tgz", + "integrity": "sha512-xypCZwwD+cJ8fRCtMiJMWuuPg/9rf4P3AhWGkrTKL49GXFEx23akUjq/ti4n1o1uJdQok6E9MH9Z/JpLniyRaA==", + "dependencies": { + "@babel/runtime": "^7.22.10", + "@toruslabs/eccrypto": "^4.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" + }, + "engines": { + "node": ">=18.x", + "npm": ">=9.x" + } + }, "node_modules/@toruslabs/base-session-manager": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@toruslabs/base-session-manager/-/base-session-manager-3.0.0.tgz", @@ -4709,15 +4728,15 @@ } }, "node_modules/@toruslabs/openlogin": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin/-/openlogin-5.0.3.tgz", - "integrity": "sha512-a7wdW/n5UINk1Uxn/hU4majTyIdeCk9XlSnmdr/ob71Dozz2hqPbXm1PFJ+XOMdlIPwqg4fLaOff6AySM1fqHg==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin/-/openlogin-5.3.0.tgz", + "integrity": "sha512-I6bVBPDlqcnF/11+disyS0kUClJLavYcLi3dBEx2a1mEv18jOy1kuG+FSenDMzF733MCk1Y3Iikox0evPzhpvQ==", "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.0.2", + "@toruslabs/openlogin-utils": "^5.3.0", "bowser": "^2.11.0", "events": "^3.3.0", "loglevel": "^1.8.1", @@ -4732,12 +4751,12 @@ } }, "node_modules/@toruslabs/openlogin-jrpc": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-jrpc/-/openlogin-jrpc-5.0.2.tgz", - "integrity": "sha512-ezpCrQ+oh0wfEuq3GTdjTpANVmfNjG7B/m03IGwnnSpg0NJRWUZBp/sB+z9Q1cOYtUl1Kg1+8mfqdX69eAn8bg==", + "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==", "dependencies": { "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/openlogin-utils": "^5.0.2", + "@toruslabs/openlogin-utils": "^5.3.0", "end-of-stream": "^1.4.4", "events": "^3.3.0", "fast-safe-stringify": "^2.1.1", @@ -4804,9 +4823,9 @@ } }, "node_modules/@toruslabs/openlogin-utils": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-utils/-/openlogin-utils-5.0.2.tgz", - "integrity": "sha512-iOYnbowda0kk1Wk7Ax6xwCg5kVG8HDyq9VBKJfiyQeZCnSwiWW03UHL+UTCtiXy8jhBtkd7OEwh2Np2Lm30Tgg==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-utils/-/openlogin-utils-5.3.0.tgz", + "integrity": "sha512-WfwadC7ZqKOTVqfI4rFANu7IzEgI7H4A/0TiIQihxHpFWdFM23yVuCCIm5zCzQ1QtA2mwBbBZYwOJ0YHVrV6HQ==", "dependencies": { "@toruslabs/constants": "^13.0.1", "base64url": "^3.0.1" @@ -5115,9 +5134,12 @@ "integrity": "sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==" }, "node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "version": "20.8.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.9.tgz", + "integrity": "sha512-UzykFsT3FhHb1h7yD4CA4YhBHq545JC0YnEz41xkipN88eKQtL6rSgocL5tbAP6Ola9Izm/Aw4Ora8He4x0BHg==", + "dependencies": { + "undici-types": "~5.26.4" + } }, "node_modules/@types/parse-json": { "version": "4.0.0", @@ -5654,9 +5676,9 @@ } }, "node_modules/@walletconnect/types": { - "version": "2.10.1", - "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.10.1.tgz", - "integrity": "sha512-7pccAhajQdiH2kYywjE1XI64IqRI+4ioyGy0wvz8d0UFQ/DSG3MLKR8jHf5aTOafQQ/HRLz6xvlzN4a7gIVkUQ==", + "version": "2.10.4", + "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.10.4.tgz", + "integrity": "sha512-eQpOElyiwJp3tepuOS3TS9dXTl9jVVlrC3iVA8bytnbLagkAUxmiv/s7PyDFx+ndXwQVh8PFBkWg1oxGwgCSBA==", "dependencies": { "@walletconnect/events": "^1.0.1", "@walletconnect/heartbeat": "1.2.1", @@ -5667,9 +5689,9 @@ } }, "node_modules/@walletconnect/utils": { - "version": "2.10.1", - "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.10.1.tgz", - "integrity": "sha512-DM0dKgm9O58l7VqJEyV2OVv16XRePhDAReI23let6WdW1dSpw/Y/A89Lp99ZJOjLm2FxyblMRF3YRaZtHwBffw==", + "version": "2.10.4", + "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.10.4.tgz", + "integrity": "sha512-XbrKgnQ0hC9DC9wjFb468MEYMoJxnCVmOj2gi01DA4FSr8fJi7wwNRUnlnZzLWrUWrHuaPReYe4PgBAgIv363g==", "dependencies": { "@stablelib/chacha20poly1305": "1.0.1", "@stablelib/hkdf": "1.0.1", @@ -5679,7 +5701,7 @@ "@walletconnect/relay-api": "^1.0.9", "@walletconnect/safe-json": "^1.0.2", "@walletconnect/time": "^1.0.2", - "@walletconnect/types": "2.10.1", + "@walletconnect/types": "2.10.4", "@walletconnect/window-getters": "^1.0.1", "@walletconnect/window-metadata": "^1.0.1", "detect-browser": "5.3.0", @@ -5705,14 +5727,14 @@ } }, "node_modules/@web3auth/base": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/@web3auth/base/-/base-7.0.1.tgz", - "integrity": "sha512-6ft4XAD37tobOxgkZhideiBMqoVJTpvAvYD0R99IDmpazpIrX8b4RBgwLQ/gIlNmGZhkU1UoTzub19xTWI9h6w==", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/@web3auth/base/-/base-7.0.4.tgz", + "integrity": "sha512-ufpJ0uqOp7k7uGqDS1DohOeIIrsTLUAdyiExM5D+SQYYIXri3M9wbFgyCeAqHbJbfBO6hI9PDcY82QvOGCMI3w==", "dependencies": { "@toruslabs/http-helpers": "^5.0.0", - "@toruslabs/openlogin": "^5.0.3", - "@toruslabs/openlogin-jrpc": "^5.0.2", - "@toruslabs/openlogin-utils": "^5.0.2", + "@toruslabs/openlogin": "^5.2.0", + "@toruslabs/openlogin-jrpc": "^5.2.0", + "@toruslabs/openlogin-utils": "^5.2.0", "jwt-decode": "^3.1.2", "loglevel": "^1.8.1", "ts-custom-error": "^3.3.1" @@ -5726,14 +5748,14 @@ } }, "node_modules/@web3auth/base-provider": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/@web3auth/base-provider/-/base-provider-7.0.1.tgz", - "integrity": "sha512-8ggJtsD/1MbpMEbe+uBSS3mrqE/nqEKpRLyIjuyfobPs4Zu/VI2Exdjz6wcUIzwEB1iYyjFt29/gyIXufMyCgA==", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/@web3auth/base-provider/-/base-provider-7.0.4.tgz", + "integrity": "sha512-DDE/K6AP2UBRQqBJUoFggGt7ylQ96pexVnaps9Yw8JOtx573yzVUPs2tYEjhxmAfRGgmDD1J8juokgvCEeKf4g==", "dependencies": { "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/base-controllers": "^4.0.1", - "@toruslabs/openlogin-jrpc": "^5.0.2", - "@web3auth/base": "^7.0.1", + "@toruslabs/base-controllers": "^4.2.0", + "@toruslabs/openlogin-jrpc": "^5.2.0", + "@web3auth/base": "^7.0.4", "json-rpc-random-id": "^1.0.1" }, "engines": { @@ -5745,22 +5767,22 @@ } }, "node_modules/@web3auth/ethereum-provider": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/@web3auth/ethereum-provider/-/ethereum-provider-7.0.2.tgz", - "integrity": "sha512-Yg1/ZB0eUugiTx5fvLtYeplSF0175PcsBOAhShl/Rd+rLlkycP5lRMGsBSnxdHGE9esRajYoH8xfGNwEUcItjw==", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/@web3auth/ethereum-provider/-/ethereum-provider-7.0.4.tgz", + "integrity": "sha512-A0r6O+Bwwx6k1qvB2p5zp3pVJtxxpad0Fv/lotGYh5OMFqi6Ggz1lnYnbQAc4PdznUNVV2zwsQGMi71a4c/JsQ==", "dependencies": { "@ethereumjs/common": "^4.0.0", "@ethereumjs/tx": "^5.0.0", "@ethereumjs/util": "^9.0.0", "@metamask/eth-sig-util": "^7.0.0", "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/base-controllers": "^4.0.1", + "@toruslabs/base-controllers": "^4.2.0", "@toruslabs/http-helpers": "^5.0.0", - "@toruslabs/openlogin-jrpc": "^5.0.2", + "@toruslabs/openlogin-jrpc": "^5.2.0", "@walletconnect/legacy-types": "2.0.0", - "@walletconnect/utils": "^2.10.1", - "@web3auth/base": "^7.0.1", - "@web3auth/base-provider": "^7.0.1", + "@walletconnect/utils": "^2.10.2", + "@web3auth/base": "^7.0.4", + "@web3auth/base-provider": "^7.0.4", "assert": "^2.1.0", "bignumber.js": "^9.1.2", "bn.js": "^5.2.1", @@ -9578,6 +9600,11 @@ } ] }, + "node_modules/ethers/node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", @@ -18608,6 +18635,11 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + }, "node_modules/unicode-canonical-property-names-ecmascript": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", @@ -22636,11 +22668,11 @@ } }, "@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==", "requires": { - "@metamask/utils": "^8.0.0", + "@metamask/utils": "^8.1.0", "fast-safe-stringify": "^2.0.6" } }, @@ -23205,15 +23237,15 @@ "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==" }, "@toruslabs/base-controllers": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-4.0.1.tgz", - "integrity": "sha512-6r9iUVdNsOR/oW2WSwrGZwPWDrMV4dt6lPOlzUbk+5vu+ijZ56jTlerUMHatcuHXuspISXXsJ9XhW64YoBTpRg==", + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-4.5.2.tgz", + "integrity": "sha512-DEaeKREzY8OJ74k6nuOP1x2a8Z1HeCfV2uQE835QhLKuCDgqRomDwCwRcrCGT3rqxT/AVhWmBj+ykO/XS/4lZw==", "requires": { "@ethereumjs/util": "^9.0.0", "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/broadcast-channel": "^8.0.0", + "@toruslabs/broadcast-channel": "^9.0.0", "@toruslabs/http-helpers": "^5.0.0", - "@toruslabs/openlogin-jrpc": "^5.0.2", + "@toruslabs/openlogin-jrpc": "^5.1.0", "async-mutex": "^0.4.0", "bignumber.js": "^9.1.2", "bowser": "^2.11.0", @@ -23234,6 +23266,21 @@ "@ethereumjs/rlp": "^5.0.0", "ethereum-cryptography": "^2.1.2" } + }, + "@toruslabs/broadcast-channel": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/@toruslabs/broadcast-channel/-/broadcast-channel-9.0.1.tgz", + "integrity": "sha512-xypCZwwD+cJ8fRCtMiJMWuuPg/9rf4P3AhWGkrTKL49GXFEx23akUjq/ti4n1o1uJdQok6E9MH9Z/JpLniyRaA==", + "requires": { + "@babel/runtime": "^7.22.10", + "@toruslabs/eccrypto": "^4.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" + } } } }, @@ -23320,15 +23367,15 @@ } }, "@toruslabs/openlogin": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin/-/openlogin-5.0.3.tgz", - "integrity": "sha512-a7wdW/n5UINk1Uxn/hU4majTyIdeCk9XlSnmdr/ob71Dozz2hqPbXm1PFJ+XOMdlIPwqg4fLaOff6AySM1fqHg==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin/-/openlogin-5.3.0.tgz", + "integrity": "sha512-I6bVBPDlqcnF/11+disyS0kUClJLavYcLi3dBEx2a1mEv18jOy1kuG+FSenDMzF733MCk1Y3Iikox0evPzhpvQ==", "requires": { "@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.0.2", + "@toruslabs/openlogin-utils": "^5.3.0", "bowser": "^2.11.0", "events": "^3.3.0", "loglevel": "^1.8.1", @@ -23336,12 +23383,12 @@ } }, "@toruslabs/openlogin-jrpc": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-jrpc/-/openlogin-jrpc-5.0.2.tgz", - "integrity": "sha512-ezpCrQ+oh0wfEuq3GTdjTpANVmfNjG7B/m03IGwnnSpg0NJRWUZBp/sB+z9Q1cOYtUl1Kg1+8mfqdX69eAn8bg==", + "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==", "requires": { "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/openlogin-utils": "^5.0.2", + "@toruslabs/openlogin-utils": "^5.3.0", "end-of-stream": "^1.4.4", "events": "^3.3.0", "fast-safe-stringify": "^2.1.1", @@ -23385,9 +23432,9 @@ } }, "@toruslabs/openlogin-utils": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-utils/-/openlogin-utils-5.0.2.tgz", - "integrity": "sha512-iOYnbowda0kk1Wk7Ax6xwCg5kVG8HDyq9VBKJfiyQeZCnSwiWW03UHL+UTCtiXy8jhBtkd7OEwh2Np2Lm30Tgg==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-utils/-/openlogin-utils-5.3.0.tgz", + "integrity": "sha512-WfwadC7ZqKOTVqfI4rFANu7IzEgI7H4A/0TiIQihxHpFWdFM23yVuCCIm5zCzQ1QtA2mwBbBZYwOJ0YHVrV6HQ==", "requires": { "@toruslabs/constants": "^13.0.1", "base64url": "^3.0.1" @@ -23672,9 +23719,12 @@ "integrity": "sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==" }, "@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "version": "20.8.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.9.tgz", + "integrity": "sha512-UzykFsT3FhHb1h7yD4CA4YhBHq545JC0YnEz41xkipN88eKQtL6rSgocL5tbAP6Ola9Izm/Aw4Ora8He4x0BHg==", + "requires": { + "undici-types": "~5.26.4" + } }, "@types/parse-json": { "version": "4.0.0", @@ -24073,9 +24123,9 @@ } }, "@walletconnect/types": { - "version": "2.10.1", - "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.10.1.tgz", - "integrity": "sha512-7pccAhajQdiH2kYywjE1XI64IqRI+4ioyGy0wvz8d0UFQ/DSG3MLKR8jHf5aTOafQQ/HRLz6xvlzN4a7gIVkUQ==", + "version": "2.10.4", + "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.10.4.tgz", + "integrity": "sha512-eQpOElyiwJp3tepuOS3TS9dXTl9jVVlrC3iVA8bytnbLagkAUxmiv/s7PyDFx+ndXwQVh8PFBkWg1oxGwgCSBA==", "requires": { "@walletconnect/events": "^1.0.1", "@walletconnect/heartbeat": "1.2.1", @@ -24086,9 +24136,9 @@ } }, "@walletconnect/utils": { - "version": "2.10.1", - "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.10.1.tgz", - "integrity": "sha512-DM0dKgm9O58l7VqJEyV2OVv16XRePhDAReI23let6WdW1dSpw/Y/A89Lp99ZJOjLm2FxyblMRF3YRaZtHwBffw==", + "version": "2.10.4", + "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.10.4.tgz", + "integrity": "sha512-XbrKgnQ0hC9DC9wjFb468MEYMoJxnCVmOj2gi01DA4FSr8fJi7wwNRUnlnZzLWrUWrHuaPReYe4PgBAgIv363g==", "requires": { "@stablelib/chacha20poly1305": "1.0.1", "@stablelib/hkdf": "1.0.1", @@ -24098,7 +24148,7 @@ "@walletconnect/relay-api": "^1.0.9", "@walletconnect/safe-json": "^1.0.2", "@walletconnect/time": "^1.0.2", - "@walletconnect/types": "2.10.1", + "@walletconnect/types": "2.10.4", "@walletconnect/window-getters": "^1.0.1", "@walletconnect/window-metadata": "^1.0.1", "detect-browser": "5.3.0", @@ -24124,48 +24174,48 @@ } }, "@web3auth/base": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/@web3auth/base/-/base-7.0.1.tgz", - "integrity": "sha512-6ft4XAD37tobOxgkZhideiBMqoVJTpvAvYD0R99IDmpazpIrX8b4RBgwLQ/gIlNmGZhkU1UoTzub19xTWI9h6w==", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/@web3auth/base/-/base-7.0.4.tgz", + "integrity": "sha512-ufpJ0uqOp7k7uGqDS1DohOeIIrsTLUAdyiExM5D+SQYYIXri3M9wbFgyCeAqHbJbfBO6hI9PDcY82QvOGCMI3w==", "requires": { "@toruslabs/http-helpers": "^5.0.0", - "@toruslabs/openlogin": "^5.0.3", - "@toruslabs/openlogin-jrpc": "^5.0.2", - "@toruslabs/openlogin-utils": "^5.0.2", + "@toruslabs/openlogin": "^5.2.0", + "@toruslabs/openlogin-jrpc": "^5.2.0", + "@toruslabs/openlogin-utils": "^5.2.0", "jwt-decode": "^3.1.2", "loglevel": "^1.8.1", "ts-custom-error": "^3.3.1" } }, "@web3auth/base-provider": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/@web3auth/base-provider/-/base-provider-7.0.1.tgz", - "integrity": "sha512-8ggJtsD/1MbpMEbe+uBSS3mrqE/nqEKpRLyIjuyfobPs4Zu/VI2Exdjz6wcUIzwEB1iYyjFt29/gyIXufMyCgA==", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/@web3auth/base-provider/-/base-provider-7.0.4.tgz", + "integrity": "sha512-DDE/K6AP2UBRQqBJUoFggGt7ylQ96pexVnaps9Yw8JOtx573yzVUPs2tYEjhxmAfRGgmDD1J8juokgvCEeKf4g==", "requires": { "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/base-controllers": "^4.0.1", - "@toruslabs/openlogin-jrpc": "^5.0.2", - "@web3auth/base": "^7.0.1", + "@toruslabs/base-controllers": "^4.2.0", + "@toruslabs/openlogin-jrpc": "^5.2.0", + "@web3auth/base": "^7.0.4", "json-rpc-random-id": "^1.0.1" } }, "@web3auth/ethereum-provider": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/@web3auth/ethereum-provider/-/ethereum-provider-7.0.2.tgz", - "integrity": "sha512-Yg1/ZB0eUugiTx5fvLtYeplSF0175PcsBOAhShl/Rd+rLlkycP5lRMGsBSnxdHGE9esRajYoH8xfGNwEUcItjw==", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/@web3auth/ethereum-provider/-/ethereum-provider-7.0.4.tgz", + "integrity": "sha512-A0r6O+Bwwx6k1qvB2p5zp3pVJtxxpad0Fv/lotGYh5OMFqi6Ggz1lnYnbQAc4PdznUNVV2zwsQGMi71a4c/JsQ==", "requires": { "@ethereumjs/common": "^4.0.0", "@ethereumjs/tx": "^5.0.0", "@ethereumjs/util": "^9.0.0", "@metamask/eth-sig-util": "^7.0.0", "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/base-controllers": "^4.0.1", + "@toruslabs/base-controllers": "^4.2.0", "@toruslabs/http-helpers": "^5.0.0", - "@toruslabs/openlogin-jrpc": "^5.0.2", + "@toruslabs/openlogin-jrpc": "^5.2.0", "@walletconnect/legacy-types": "2.0.0", - "@walletconnect/utils": "^2.10.1", - "@web3auth/base": "^7.0.1", - "@web3auth/base-provider": "^7.0.1", + "@walletconnect/utils": "^2.10.2", + "@web3auth/base": "^7.0.4", + "@web3auth/base-provider": "^7.0.4", "assert": "^2.1.0", "bignumber.js": "^9.1.2", "bn.js": "^5.2.1", @@ -26982,6 +27032,11 @@ "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.2.tgz", "integrity": "sha512-KYRCASVTv6aeUi1tsF8/vpyR7zpfs3FUzy2Jqm+MU+LmUKhQ0y2FpfwqkCcxSg2ua4GALJd8k2R76WxwZGbQpA==" }, + "@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + }, "tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", @@ -33524,6 +33579,11 @@ "which-boxed-primitive": "^1.0.2" } }, + "undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + }, "unicode-canonical-property-names-ecmascript": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", diff --git a/single-factor-auth-web/sfa-web-aggregate-verifier-example/package.json b/single-factor-auth-web/sfa-web-aggregate-verifier-example/package.json index 5ab69e8d..b0d62b82 100644 --- a/single-factor-auth-web/sfa-web-aggregate-verifier-example/package.json +++ b/single-factor-auth-web/sfa-web-aggregate-verifier-example/package.json @@ -9,7 +9,7 @@ "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^14.4.3", "@types/jest": "^29.4.0", - "@types/node": "^18.13.0", + "@types/node": "^20.8.9", "@types/react": "^18.0.28", "@types/react-dom": "^18.0.10", "@web3auth/base": "^7.0.4", diff --git a/single-factor-auth-web/sfa-web-auth0-example/package-lock.json b/single-factor-auth-web/sfa-web-auth0-example/package-lock.json index 3534b5a7..2a801311 100644 --- a/single-factor-auth-web/sfa-web-auth0-example/package-lock.json +++ b/single-factor-auth-web/sfa-web-auth0-example/package-lock.json @@ -13,11 +13,11 @@ "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^14.4.3", "@types/jest": "^29.4.0", - "@types/node": "^18.13.0", + "@types/node": "^20.8.9", "@types/react": "^18.0.28", "@types/react-dom": "^18.0.10", - "@web3auth/base": "^7.0.1", - "@web3auth/ethereum-provider": "^7.0.2", + "@web3auth/base": "^7.0.4", + "@web3auth/ethereum-provider": "^7.0.4", "@web3auth/single-factor-auth": "^7.0.1", "ethers": "^6.7.0", "react": "^18.2.0", @@ -3703,11 +3703,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": { @@ -4503,15 +4503,15 @@ } }, "node_modules/@toruslabs/base-controllers": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-4.0.1.tgz", - "integrity": "sha512-6r9iUVdNsOR/oW2WSwrGZwPWDrMV4dt6lPOlzUbk+5vu+ijZ56jTlerUMHatcuHXuspISXXsJ9XhW64YoBTpRg==", + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-4.5.2.tgz", + "integrity": "sha512-DEaeKREzY8OJ74k6nuOP1x2a8Z1HeCfV2uQE835QhLKuCDgqRomDwCwRcrCGT3rqxT/AVhWmBj+ykO/XS/4lZw==", "dependencies": { "@ethereumjs/util": "^9.0.0", "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/broadcast-channel": "^8.0.0", + "@toruslabs/broadcast-channel": "^9.0.0", "@toruslabs/http-helpers": "^5.0.0", - "@toruslabs/openlogin-jrpc": "^5.0.2", + "@toruslabs/openlogin-jrpc": "^5.1.0", "async-mutex": "^0.4.0", "bignumber.js": "^9.1.2", "bowser": "^2.11.0", @@ -4557,6 +4557,25 @@ } } }, + "node_modules/@toruslabs/base-controllers/node_modules/@toruslabs/broadcast-channel": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/@toruslabs/broadcast-channel/-/broadcast-channel-9.0.1.tgz", + "integrity": "sha512-xypCZwwD+cJ8fRCtMiJMWuuPg/9rf4P3AhWGkrTKL49GXFEx23akUjq/ti4n1o1uJdQok6E9MH9Z/JpLniyRaA==", + "dependencies": { + "@babel/runtime": "^7.22.10", + "@toruslabs/eccrypto": "^4.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" + }, + "engines": { + "node": ">=18.x", + "npm": ">=9.x" + } + }, "node_modules/@toruslabs/base-session-manager": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@toruslabs/base-session-manager/-/base-session-manager-3.0.0.tgz", @@ -4699,15 +4718,15 @@ } }, "node_modules/@toruslabs/openlogin": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin/-/openlogin-5.0.3.tgz", - "integrity": "sha512-a7wdW/n5UINk1Uxn/hU4majTyIdeCk9XlSnmdr/ob71Dozz2hqPbXm1PFJ+XOMdlIPwqg4fLaOff6AySM1fqHg==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin/-/openlogin-5.3.0.tgz", + "integrity": "sha512-I6bVBPDlqcnF/11+disyS0kUClJLavYcLi3dBEx2a1mEv18jOy1kuG+FSenDMzF733MCk1Y3Iikox0evPzhpvQ==", "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.0.2", + "@toruslabs/openlogin-utils": "^5.3.0", "bowser": "^2.11.0", "events": "^3.3.0", "loglevel": "^1.8.1", @@ -4722,12 +4741,12 @@ } }, "node_modules/@toruslabs/openlogin-jrpc": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-jrpc/-/openlogin-jrpc-5.0.2.tgz", - "integrity": "sha512-ezpCrQ+oh0wfEuq3GTdjTpANVmfNjG7B/m03IGwnnSpg0NJRWUZBp/sB+z9Q1cOYtUl1Kg1+8mfqdX69eAn8bg==", + "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==", "dependencies": { "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/openlogin-utils": "^5.0.2", + "@toruslabs/openlogin-utils": "^5.3.0", "end-of-stream": "^1.4.4", "events": "^3.3.0", "fast-safe-stringify": "^2.1.1", @@ -4794,9 +4813,9 @@ } }, "node_modules/@toruslabs/openlogin-utils": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-utils/-/openlogin-utils-5.0.2.tgz", - "integrity": "sha512-iOYnbowda0kk1Wk7Ax6xwCg5kVG8HDyq9VBKJfiyQeZCnSwiWW03UHL+UTCtiXy8jhBtkd7OEwh2Np2Lm30Tgg==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-utils/-/openlogin-utils-5.3.0.tgz", + "integrity": "sha512-WfwadC7ZqKOTVqfI4rFANu7IzEgI7H4A/0TiIQihxHpFWdFM23yVuCCIm5zCzQ1QtA2mwBbBZYwOJ0YHVrV6HQ==", "dependencies": { "@toruslabs/constants": "^13.0.1", "base64url": "^3.0.1" @@ -5105,9 +5124,12 @@ "integrity": "sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==" }, "node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "version": "20.8.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.9.tgz", + "integrity": "sha512-UzykFsT3FhHb1h7yD4CA4YhBHq545JC0YnEz41xkipN88eKQtL6rSgocL5tbAP6Ola9Izm/Aw4Ora8He4x0BHg==", + "dependencies": { + "undici-types": "~5.26.4" + } }, "node_modules/@types/parse-json": { "version": "4.0.0", @@ -5644,9 +5666,9 @@ } }, "node_modules/@walletconnect/types": { - "version": "2.10.1", - "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.10.1.tgz", - "integrity": "sha512-7pccAhajQdiH2kYywjE1XI64IqRI+4ioyGy0wvz8d0UFQ/DSG3MLKR8jHf5aTOafQQ/HRLz6xvlzN4a7gIVkUQ==", + "version": "2.10.4", + "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.10.4.tgz", + "integrity": "sha512-eQpOElyiwJp3tepuOS3TS9dXTl9jVVlrC3iVA8bytnbLagkAUxmiv/s7PyDFx+ndXwQVh8PFBkWg1oxGwgCSBA==", "dependencies": { "@walletconnect/events": "^1.0.1", "@walletconnect/heartbeat": "1.2.1", @@ -5657,9 +5679,9 @@ } }, "node_modules/@walletconnect/utils": { - "version": "2.10.1", - "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.10.1.tgz", - "integrity": "sha512-DM0dKgm9O58l7VqJEyV2OVv16XRePhDAReI23let6WdW1dSpw/Y/A89Lp99ZJOjLm2FxyblMRF3YRaZtHwBffw==", + "version": "2.10.4", + "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.10.4.tgz", + "integrity": "sha512-XbrKgnQ0hC9DC9wjFb468MEYMoJxnCVmOj2gi01DA4FSr8fJi7wwNRUnlnZzLWrUWrHuaPReYe4PgBAgIv363g==", "dependencies": { "@stablelib/chacha20poly1305": "1.0.1", "@stablelib/hkdf": "1.0.1", @@ -5669,7 +5691,7 @@ "@walletconnect/relay-api": "^1.0.9", "@walletconnect/safe-json": "^1.0.2", "@walletconnect/time": "^1.0.2", - "@walletconnect/types": "2.10.1", + "@walletconnect/types": "2.10.4", "@walletconnect/window-getters": "^1.0.1", "@walletconnect/window-metadata": "^1.0.1", "detect-browser": "5.3.0", @@ -5695,14 +5717,14 @@ } }, "node_modules/@web3auth/base": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/@web3auth/base/-/base-7.0.1.tgz", - "integrity": "sha512-6ft4XAD37tobOxgkZhideiBMqoVJTpvAvYD0R99IDmpazpIrX8b4RBgwLQ/gIlNmGZhkU1UoTzub19xTWI9h6w==", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/@web3auth/base/-/base-7.0.4.tgz", + "integrity": "sha512-ufpJ0uqOp7k7uGqDS1DohOeIIrsTLUAdyiExM5D+SQYYIXri3M9wbFgyCeAqHbJbfBO6hI9PDcY82QvOGCMI3w==", "dependencies": { "@toruslabs/http-helpers": "^5.0.0", - "@toruslabs/openlogin": "^5.0.3", - "@toruslabs/openlogin-jrpc": "^5.0.2", - "@toruslabs/openlogin-utils": "^5.0.2", + "@toruslabs/openlogin": "^5.2.0", + "@toruslabs/openlogin-jrpc": "^5.2.0", + "@toruslabs/openlogin-utils": "^5.2.0", "jwt-decode": "^3.1.2", "loglevel": "^1.8.1", "ts-custom-error": "^3.3.1" @@ -5716,14 +5738,14 @@ } }, "node_modules/@web3auth/base-provider": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/@web3auth/base-provider/-/base-provider-7.0.1.tgz", - "integrity": "sha512-8ggJtsD/1MbpMEbe+uBSS3mrqE/nqEKpRLyIjuyfobPs4Zu/VI2Exdjz6wcUIzwEB1iYyjFt29/gyIXufMyCgA==", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/@web3auth/base-provider/-/base-provider-7.0.4.tgz", + "integrity": "sha512-DDE/K6AP2UBRQqBJUoFggGt7ylQ96pexVnaps9Yw8JOtx573yzVUPs2tYEjhxmAfRGgmDD1J8juokgvCEeKf4g==", "dependencies": { "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/base-controllers": "^4.0.1", - "@toruslabs/openlogin-jrpc": "^5.0.2", - "@web3auth/base": "^7.0.1", + "@toruslabs/base-controllers": "^4.2.0", + "@toruslabs/openlogin-jrpc": "^5.2.0", + "@web3auth/base": "^7.0.4", "json-rpc-random-id": "^1.0.1" }, "engines": { @@ -5735,22 +5757,22 @@ } }, "node_modules/@web3auth/ethereum-provider": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/@web3auth/ethereum-provider/-/ethereum-provider-7.0.2.tgz", - "integrity": "sha512-Yg1/ZB0eUugiTx5fvLtYeplSF0175PcsBOAhShl/Rd+rLlkycP5lRMGsBSnxdHGE9esRajYoH8xfGNwEUcItjw==", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/@web3auth/ethereum-provider/-/ethereum-provider-7.0.4.tgz", + "integrity": "sha512-A0r6O+Bwwx6k1qvB2p5zp3pVJtxxpad0Fv/lotGYh5OMFqi6Ggz1lnYnbQAc4PdznUNVV2zwsQGMi71a4c/JsQ==", "dependencies": { "@ethereumjs/common": "^4.0.0", "@ethereumjs/tx": "^5.0.0", "@ethereumjs/util": "^9.0.0", "@metamask/eth-sig-util": "^7.0.0", "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/base-controllers": "^4.0.1", + "@toruslabs/base-controllers": "^4.2.0", "@toruslabs/http-helpers": "^5.0.0", - "@toruslabs/openlogin-jrpc": "^5.0.2", + "@toruslabs/openlogin-jrpc": "^5.2.0", "@walletconnect/legacy-types": "2.0.0", - "@walletconnect/utils": "^2.10.1", - "@web3auth/base": "^7.0.1", - "@web3auth/base-provider": "^7.0.1", + "@walletconnect/utils": "^2.10.2", + "@web3auth/base": "^7.0.4", + "@web3auth/base-provider": "^7.0.4", "assert": "^2.1.0", "bignumber.js": "^9.1.2", "bn.js": "^5.2.1", @@ -9605,6 +9627,11 @@ } ] }, + "node_modules/ethers/node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", @@ -18631,6 +18658,11 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + }, "node_modules/unicode-canonical-property-names-ecmascript": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", @@ -22711,11 +22743,11 @@ } }, "@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==", "requires": { - "@metamask/utils": "^8.0.0", + "@metamask/utils": "^8.1.0", "fast-safe-stringify": "^2.0.6" } }, @@ -23274,15 +23306,15 @@ "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==" }, "@toruslabs/base-controllers": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-4.0.1.tgz", - "integrity": "sha512-6r9iUVdNsOR/oW2WSwrGZwPWDrMV4dt6lPOlzUbk+5vu+ijZ56jTlerUMHatcuHXuspISXXsJ9XhW64YoBTpRg==", + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-4.5.2.tgz", + "integrity": "sha512-DEaeKREzY8OJ74k6nuOP1x2a8Z1HeCfV2uQE835QhLKuCDgqRomDwCwRcrCGT3rqxT/AVhWmBj+ykO/XS/4lZw==", "requires": { "@ethereumjs/util": "^9.0.0", "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/broadcast-channel": "^8.0.0", + "@toruslabs/broadcast-channel": "^9.0.0", "@toruslabs/http-helpers": "^5.0.0", - "@toruslabs/openlogin-jrpc": "^5.0.2", + "@toruslabs/openlogin-jrpc": "^5.1.0", "async-mutex": "^0.4.0", "bignumber.js": "^9.1.2", "bowser": "^2.11.0", @@ -23303,6 +23335,21 @@ "@ethereumjs/rlp": "^5.0.0", "ethereum-cryptography": "^2.1.2" } + }, + "@toruslabs/broadcast-channel": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/@toruslabs/broadcast-channel/-/broadcast-channel-9.0.1.tgz", + "integrity": "sha512-xypCZwwD+cJ8fRCtMiJMWuuPg/9rf4P3AhWGkrTKL49GXFEx23akUjq/ti4n1o1uJdQok6E9MH9Z/JpLniyRaA==", + "requires": { + "@babel/runtime": "^7.22.10", + "@toruslabs/eccrypto": "^4.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" + } } } }, @@ -23389,15 +23436,15 @@ } }, "@toruslabs/openlogin": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin/-/openlogin-5.0.3.tgz", - "integrity": "sha512-a7wdW/n5UINk1Uxn/hU4majTyIdeCk9XlSnmdr/ob71Dozz2hqPbXm1PFJ+XOMdlIPwqg4fLaOff6AySM1fqHg==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin/-/openlogin-5.3.0.tgz", + "integrity": "sha512-I6bVBPDlqcnF/11+disyS0kUClJLavYcLi3dBEx2a1mEv18jOy1kuG+FSenDMzF733MCk1Y3Iikox0evPzhpvQ==", "requires": { "@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.0.2", + "@toruslabs/openlogin-utils": "^5.3.0", "bowser": "^2.11.0", "events": "^3.3.0", "loglevel": "^1.8.1", @@ -23405,12 +23452,12 @@ } }, "@toruslabs/openlogin-jrpc": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-jrpc/-/openlogin-jrpc-5.0.2.tgz", - "integrity": "sha512-ezpCrQ+oh0wfEuq3GTdjTpANVmfNjG7B/m03IGwnnSpg0NJRWUZBp/sB+z9Q1cOYtUl1Kg1+8mfqdX69eAn8bg==", + "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==", "requires": { "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/openlogin-utils": "^5.0.2", + "@toruslabs/openlogin-utils": "^5.3.0", "end-of-stream": "^1.4.4", "events": "^3.3.0", "fast-safe-stringify": "^2.1.1", @@ -23454,9 +23501,9 @@ } }, "@toruslabs/openlogin-utils": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-utils/-/openlogin-utils-5.0.2.tgz", - "integrity": "sha512-iOYnbowda0kk1Wk7Ax6xwCg5kVG8HDyq9VBKJfiyQeZCnSwiWW03UHL+UTCtiXy8jhBtkd7OEwh2Np2Lm30Tgg==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-utils/-/openlogin-utils-5.3.0.tgz", + "integrity": "sha512-WfwadC7ZqKOTVqfI4rFANu7IzEgI7H4A/0TiIQihxHpFWdFM23yVuCCIm5zCzQ1QtA2mwBbBZYwOJ0YHVrV6HQ==", "requires": { "@toruslabs/constants": "^13.0.1", "base64url": "^3.0.1" @@ -23741,9 +23788,12 @@ "integrity": "sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==" }, "@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "version": "20.8.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.9.tgz", + "integrity": "sha512-UzykFsT3FhHb1h7yD4CA4YhBHq545JC0YnEz41xkipN88eKQtL6rSgocL5tbAP6Ola9Izm/Aw4Ora8He4x0BHg==", + "requires": { + "undici-types": "~5.26.4" + } }, "@types/parse-json": { "version": "4.0.0", @@ -24142,9 +24192,9 @@ } }, "@walletconnect/types": { - "version": "2.10.1", - "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.10.1.tgz", - "integrity": "sha512-7pccAhajQdiH2kYywjE1XI64IqRI+4ioyGy0wvz8d0UFQ/DSG3MLKR8jHf5aTOafQQ/HRLz6xvlzN4a7gIVkUQ==", + "version": "2.10.4", + "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.10.4.tgz", + "integrity": "sha512-eQpOElyiwJp3tepuOS3TS9dXTl9jVVlrC3iVA8bytnbLagkAUxmiv/s7PyDFx+ndXwQVh8PFBkWg1oxGwgCSBA==", "requires": { "@walletconnect/events": "^1.0.1", "@walletconnect/heartbeat": "1.2.1", @@ -24155,9 +24205,9 @@ } }, "@walletconnect/utils": { - "version": "2.10.1", - "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.10.1.tgz", - "integrity": "sha512-DM0dKgm9O58l7VqJEyV2OVv16XRePhDAReI23let6WdW1dSpw/Y/A89Lp99ZJOjLm2FxyblMRF3YRaZtHwBffw==", + "version": "2.10.4", + "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.10.4.tgz", + "integrity": "sha512-XbrKgnQ0hC9DC9wjFb468MEYMoJxnCVmOj2gi01DA4FSr8fJi7wwNRUnlnZzLWrUWrHuaPReYe4PgBAgIv363g==", "requires": { "@stablelib/chacha20poly1305": "1.0.1", "@stablelib/hkdf": "1.0.1", @@ -24167,7 +24217,7 @@ "@walletconnect/relay-api": "^1.0.9", "@walletconnect/safe-json": "^1.0.2", "@walletconnect/time": "^1.0.2", - "@walletconnect/types": "2.10.1", + "@walletconnect/types": "2.10.4", "@walletconnect/window-getters": "^1.0.1", "@walletconnect/window-metadata": "^1.0.1", "detect-browser": "5.3.0", @@ -24193,48 +24243,48 @@ } }, "@web3auth/base": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/@web3auth/base/-/base-7.0.1.tgz", - "integrity": "sha512-6ft4XAD37tobOxgkZhideiBMqoVJTpvAvYD0R99IDmpazpIrX8b4RBgwLQ/gIlNmGZhkU1UoTzub19xTWI9h6w==", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/@web3auth/base/-/base-7.0.4.tgz", + "integrity": "sha512-ufpJ0uqOp7k7uGqDS1DohOeIIrsTLUAdyiExM5D+SQYYIXri3M9wbFgyCeAqHbJbfBO6hI9PDcY82QvOGCMI3w==", "requires": { "@toruslabs/http-helpers": "^5.0.0", - "@toruslabs/openlogin": "^5.0.3", - "@toruslabs/openlogin-jrpc": "^5.0.2", - "@toruslabs/openlogin-utils": "^5.0.2", + "@toruslabs/openlogin": "^5.2.0", + "@toruslabs/openlogin-jrpc": "^5.2.0", + "@toruslabs/openlogin-utils": "^5.2.0", "jwt-decode": "^3.1.2", "loglevel": "^1.8.1", "ts-custom-error": "^3.3.1" } }, "@web3auth/base-provider": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/@web3auth/base-provider/-/base-provider-7.0.1.tgz", - "integrity": "sha512-8ggJtsD/1MbpMEbe+uBSS3mrqE/nqEKpRLyIjuyfobPs4Zu/VI2Exdjz6wcUIzwEB1iYyjFt29/gyIXufMyCgA==", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/@web3auth/base-provider/-/base-provider-7.0.4.tgz", + "integrity": "sha512-DDE/K6AP2UBRQqBJUoFggGt7ylQ96pexVnaps9Yw8JOtx573yzVUPs2tYEjhxmAfRGgmDD1J8juokgvCEeKf4g==", "requires": { "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/base-controllers": "^4.0.1", - "@toruslabs/openlogin-jrpc": "^5.0.2", - "@web3auth/base": "^7.0.1", + "@toruslabs/base-controllers": "^4.2.0", + "@toruslabs/openlogin-jrpc": "^5.2.0", + "@web3auth/base": "^7.0.4", "json-rpc-random-id": "^1.0.1" } }, "@web3auth/ethereum-provider": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/@web3auth/ethereum-provider/-/ethereum-provider-7.0.2.tgz", - "integrity": "sha512-Yg1/ZB0eUugiTx5fvLtYeplSF0175PcsBOAhShl/Rd+rLlkycP5lRMGsBSnxdHGE9esRajYoH8xfGNwEUcItjw==", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/@web3auth/ethereum-provider/-/ethereum-provider-7.0.4.tgz", + "integrity": "sha512-A0r6O+Bwwx6k1qvB2p5zp3pVJtxxpad0Fv/lotGYh5OMFqi6Ggz1lnYnbQAc4PdznUNVV2zwsQGMi71a4c/JsQ==", "requires": { "@ethereumjs/common": "^4.0.0", "@ethereumjs/tx": "^5.0.0", "@ethereumjs/util": "^9.0.0", "@metamask/eth-sig-util": "^7.0.0", "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/base-controllers": "^4.0.1", + "@toruslabs/base-controllers": "^4.2.0", "@toruslabs/http-helpers": "^5.0.0", - "@toruslabs/openlogin-jrpc": "^5.0.2", + "@toruslabs/openlogin-jrpc": "^5.2.0", "@walletconnect/legacy-types": "2.0.0", - "@walletconnect/utils": "^2.10.1", - "@web3auth/base": "^7.0.1", - "@web3auth/base-provider": "^7.0.1", + "@walletconnect/utils": "^2.10.2", + "@web3auth/base": "^7.0.4", + "@web3auth/base-provider": "^7.0.4", "assert": "^2.1.0", "bignumber.js": "^9.1.2", "bn.js": "^5.2.1", @@ -27078,6 +27128,11 @@ "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.2.tgz", "integrity": "sha512-KYRCASVTv6aeUi1tsF8/vpyR7zpfs3FUzy2Jqm+MU+LmUKhQ0y2FpfwqkCcxSg2ua4GALJd8k2R76WxwZGbQpA==" }, + "@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + }, "tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", @@ -33608,6 +33663,11 @@ "which-boxed-primitive": "^1.0.2" } }, + "undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + }, "unicode-canonical-property-names-ecmascript": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", diff --git a/single-factor-auth-web/sfa-web-auth0-example/package.json b/single-factor-auth-web/sfa-web-auth0-example/package.json index 5727ea95..234dcbf0 100644 --- a/single-factor-auth-web/sfa-web-auth0-example/package.json +++ b/single-factor-auth-web/sfa-web-auth0-example/package.json @@ -8,7 +8,7 @@ "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^14.4.3", "@types/jest": "^29.4.0", - "@types/node": "^18.13.0", + "@types/node": "^20.8.9", "@types/react": "^18.0.28", "@types/react-dom": "^18.0.10", "@web3auth/base": "^7.0.4", diff --git a/single-factor-auth-web/sfa-web-custom-jwt-example/package-lock.json b/single-factor-auth-web/sfa-web-custom-jwt-example/package-lock.json index f7149b7a..e0da3313 100644 --- a/single-factor-auth-web/sfa-web-custom-jwt-example/package-lock.json +++ b/single-factor-auth-web/sfa-web-custom-jwt-example/package-lock.json @@ -8,11 +8,11 @@ "name": "sfa-next-jwt-example", "version": "0.1.0", "dependencies": { - "@types/node": "20.5.3", + "@types/node": "20.8.9", "@types/react": "18.2.21", "@types/react-dom": "18.2.7", - "@web3auth/base": "^7.0.1", - "@web3auth/ethereum-provider": "^7.0.2", + "@web3auth/base": "^7.0.4", + "@web3auth/ethereum-provider": "^7.0.4", "@web3auth/single-factor-auth": "^7.0.1", "browserify-fs": "^1.0.0", "bufferutil": "^4.0.7", @@ -587,11 +587,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": { @@ -1016,15 +1016,15 @@ } }, "node_modules/@toruslabs/base-controllers": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-4.0.1.tgz", - "integrity": "sha512-6r9iUVdNsOR/oW2WSwrGZwPWDrMV4dt6lPOlzUbk+5vu+ijZ56jTlerUMHatcuHXuspISXXsJ9XhW64YoBTpRg==", + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-4.5.2.tgz", + "integrity": "sha512-DEaeKREzY8OJ74k6nuOP1x2a8Z1HeCfV2uQE835QhLKuCDgqRomDwCwRcrCGT3rqxT/AVhWmBj+ykO/XS/4lZw==", "dependencies": { "@ethereumjs/util": "^9.0.0", "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/broadcast-channel": "^8.0.0", + "@toruslabs/broadcast-channel": "^9.0.0", "@toruslabs/http-helpers": "^5.0.0", - "@toruslabs/openlogin-jrpc": "^5.0.2", + "@toruslabs/openlogin-jrpc": "^5.1.0", "async-mutex": "^0.4.0", "bignumber.js": "^9.1.2", "bowser": "^2.11.0", @@ -1070,6 +1070,25 @@ } } }, + "node_modules/@toruslabs/base-controllers/node_modules/@toruslabs/broadcast-channel": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/@toruslabs/broadcast-channel/-/broadcast-channel-9.0.1.tgz", + "integrity": "sha512-xypCZwwD+cJ8fRCtMiJMWuuPg/9rf4P3AhWGkrTKL49GXFEx23akUjq/ti4n1o1uJdQok6E9MH9Z/JpLniyRaA==", + "dependencies": { + "@babel/runtime": "^7.22.10", + "@toruslabs/eccrypto": "^4.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" + }, + "engines": { + "node": ">=18.x", + "npm": ">=9.x" + } + }, "node_modules/@toruslabs/base-session-manager": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@toruslabs/base-session-manager/-/base-session-manager-3.0.0.tgz", @@ -1212,15 +1231,15 @@ } }, "node_modules/@toruslabs/openlogin": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin/-/openlogin-5.0.3.tgz", - "integrity": "sha512-a7wdW/n5UINk1Uxn/hU4majTyIdeCk9XlSnmdr/ob71Dozz2hqPbXm1PFJ+XOMdlIPwqg4fLaOff6AySM1fqHg==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin/-/openlogin-5.3.0.tgz", + "integrity": "sha512-I6bVBPDlqcnF/11+disyS0kUClJLavYcLi3dBEx2a1mEv18jOy1kuG+FSenDMzF733MCk1Y3Iikox0evPzhpvQ==", "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.0.2", + "@toruslabs/openlogin-utils": "^5.3.0", "bowser": "^2.11.0", "events": "^3.3.0", "loglevel": "^1.8.1", @@ -1235,12 +1254,12 @@ } }, "node_modules/@toruslabs/openlogin-jrpc": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-jrpc/-/openlogin-jrpc-5.0.2.tgz", - "integrity": "sha512-ezpCrQ+oh0wfEuq3GTdjTpANVmfNjG7B/m03IGwnnSpg0NJRWUZBp/sB+z9Q1cOYtUl1Kg1+8mfqdX69eAn8bg==", + "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==", "dependencies": { "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/openlogin-utils": "^5.0.2", + "@toruslabs/openlogin-utils": "^5.3.0", "end-of-stream": "^1.4.4", "events": "^3.3.0", "fast-safe-stringify": "^2.1.1", @@ -1292,9 +1311,9 @@ } }, "node_modules/@toruslabs/openlogin-utils": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-utils/-/openlogin-utils-5.0.2.tgz", - "integrity": "sha512-iOYnbowda0kk1Wk7Ax6xwCg5kVG8HDyq9VBKJfiyQeZCnSwiWW03UHL+UTCtiXy8jhBtkd7OEwh2Np2Lm30Tgg==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-utils/-/openlogin-utils-5.3.0.tgz", + "integrity": "sha512-WfwadC7ZqKOTVqfI4rFANu7IzEgI7H4A/0TiIQihxHpFWdFM23yVuCCIm5zCzQ1QtA2mwBbBZYwOJ0YHVrV6HQ==", "dependencies": { "@toruslabs/constants": "^13.0.1", "base64url": "^3.0.1" @@ -1357,9 +1376,12 @@ "integrity": "sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==" }, "node_modules/@types/node": { - "version": "20.5.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.5.3.tgz", - "integrity": "sha512-ITI7rbWczR8a/S6qjAW7DMqxqFMjjTo61qZVWJ1ubPvbIQsL5D/TvwjYEalM8Kthpe3hTzOGrF2TGbAu2uyqeA==" + "version": "20.8.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.9.tgz", + "integrity": "sha512-UzykFsT3FhHb1h7yD4CA4YhBHq545JC0YnEz41xkipN88eKQtL6rSgocL5tbAP6Ola9Izm/Aw4Ora8He4x0BHg==", + "dependencies": { + "undici-types": "~5.26.4" + } }, "node_modules/@types/prop-types": { "version": "15.7.5", @@ -1626,9 +1648,9 @@ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" }, "node_modules/@walletconnect/types": { - "version": "2.10.1", - "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.10.1.tgz", - "integrity": "sha512-7pccAhajQdiH2kYywjE1XI64IqRI+4ioyGy0wvz8d0UFQ/DSG3MLKR8jHf5aTOafQQ/HRLz6xvlzN4a7gIVkUQ==", + "version": "2.10.4", + "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.10.4.tgz", + "integrity": "sha512-eQpOElyiwJp3tepuOS3TS9dXTl9jVVlrC3iVA8bytnbLagkAUxmiv/s7PyDFx+ndXwQVh8PFBkWg1oxGwgCSBA==", "dependencies": { "@walletconnect/events": "^1.0.1", "@walletconnect/heartbeat": "1.2.1", @@ -1639,9 +1661,9 @@ } }, "node_modules/@walletconnect/utils": { - "version": "2.10.1", - "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.10.1.tgz", - "integrity": "sha512-DM0dKgm9O58l7VqJEyV2OVv16XRePhDAReI23let6WdW1dSpw/Y/A89Lp99ZJOjLm2FxyblMRF3YRaZtHwBffw==", + "version": "2.10.4", + "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.10.4.tgz", + "integrity": "sha512-XbrKgnQ0hC9DC9wjFb468MEYMoJxnCVmOj2gi01DA4FSr8fJi7wwNRUnlnZzLWrUWrHuaPReYe4PgBAgIv363g==", "dependencies": { "@stablelib/chacha20poly1305": "1.0.1", "@stablelib/hkdf": "1.0.1", @@ -1651,7 +1673,7 @@ "@walletconnect/relay-api": "^1.0.9", "@walletconnect/safe-json": "^1.0.2", "@walletconnect/time": "^1.0.2", - "@walletconnect/types": "2.10.1", + "@walletconnect/types": "2.10.4", "@walletconnect/window-getters": "^1.0.1", "@walletconnect/window-metadata": "^1.0.1", "detect-browser": "5.3.0", @@ -1687,14 +1709,14 @@ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" }, "node_modules/@web3auth/base": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/@web3auth/base/-/base-7.0.1.tgz", - "integrity": "sha512-6ft4XAD37tobOxgkZhideiBMqoVJTpvAvYD0R99IDmpazpIrX8b4RBgwLQ/gIlNmGZhkU1UoTzub19xTWI9h6w==", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/@web3auth/base/-/base-7.0.4.tgz", + "integrity": "sha512-ufpJ0uqOp7k7uGqDS1DohOeIIrsTLUAdyiExM5D+SQYYIXri3M9wbFgyCeAqHbJbfBO6hI9PDcY82QvOGCMI3w==", "dependencies": { "@toruslabs/http-helpers": "^5.0.0", - "@toruslabs/openlogin": "^5.0.3", - "@toruslabs/openlogin-jrpc": "^5.0.2", - "@toruslabs/openlogin-utils": "^5.0.2", + "@toruslabs/openlogin": "^5.2.0", + "@toruslabs/openlogin-jrpc": "^5.2.0", + "@toruslabs/openlogin-utils": "^5.2.0", "jwt-decode": "^3.1.2", "loglevel": "^1.8.1", "ts-custom-error": "^3.3.1" @@ -1708,14 +1730,14 @@ } }, "node_modules/@web3auth/base-provider": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/@web3auth/base-provider/-/base-provider-7.0.1.tgz", - "integrity": "sha512-8ggJtsD/1MbpMEbe+uBSS3mrqE/nqEKpRLyIjuyfobPs4Zu/VI2Exdjz6wcUIzwEB1iYyjFt29/gyIXufMyCgA==", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/@web3auth/base-provider/-/base-provider-7.0.4.tgz", + "integrity": "sha512-DDE/K6AP2UBRQqBJUoFggGt7ylQ96pexVnaps9Yw8JOtx573yzVUPs2tYEjhxmAfRGgmDD1J8juokgvCEeKf4g==", "dependencies": { "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/base-controllers": "^4.0.1", - "@toruslabs/openlogin-jrpc": "^5.0.2", - "@web3auth/base": "^7.0.1", + "@toruslabs/base-controllers": "^4.2.0", + "@toruslabs/openlogin-jrpc": "^5.2.0", + "@web3auth/base": "^7.0.4", "json-rpc-random-id": "^1.0.1" }, "engines": { @@ -1727,22 +1749,22 @@ } }, "node_modules/@web3auth/ethereum-provider": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/@web3auth/ethereum-provider/-/ethereum-provider-7.0.2.tgz", - "integrity": "sha512-Yg1/ZB0eUugiTx5fvLtYeplSF0175PcsBOAhShl/Rd+rLlkycP5lRMGsBSnxdHGE9esRajYoH8xfGNwEUcItjw==", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/@web3auth/ethereum-provider/-/ethereum-provider-7.0.4.tgz", + "integrity": "sha512-A0r6O+Bwwx6k1qvB2p5zp3pVJtxxpad0Fv/lotGYh5OMFqi6Ggz1lnYnbQAc4PdznUNVV2zwsQGMi71a4c/JsQ==", "dependencies": { "@ethereumjs/common": "^4.0.0", "@ethereumjs/tx": "^5.0.0", "@ethereumjs/util": "^9.0.0", "@metamask/eth-sig-util": "^7.0.0", "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/base-controllers": "^4.0.1", + "@toruslabs/base-controllers": "^4.2.0", "@toruslabs/http-helpers": "^5.0.0", - "@toruslabs/openlogin-jrpc": "^5.0.2", + "@toruslabs/openlogin-jrpc": "^5.2.0", "@walletconnect/legacy-types": "2.0.0", - "@walletconnect/utils": "^2.10.1", - "@web3auth/base": "^7.0.1", - "@web3auth/base-provider": "^7.0.1", + "@walletconnect/utils": "^2.10.2", + "@web3auth/base": "^7.0.4", + "@web3auth/base-provider": "^7.0.4", "assert": "^2.1.0", "bignumber.js": "^9.1.2", "bn.js": "^5.2.1", @@ -5968,6 +5990,11 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + }, "node_modules/unload": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/unload/-/unload-2.4.1.tgz", diff --git a/single-factor-auth-web/sfa-web-custom-jwt-example/package.json b/single-factor-auth-web/sfa-web-custom-jwt-example/package.json index a3805b6c..d9f33a4b 100644 --- a/single-factor-auth-web/sfa-web-custom-jwt-example/package.json +++ b/single-factor-auth-web/sfa-web-custom-jwt-example/package.json @@ -9,7 +9,7 @@ "lint": "next lint" }, "dependencies": { - "@types/node": "20.5.3", + "@types/node": "20.8.9", "@types/react": "18.2.21", "@types/react-dom": "18.2.7", "@web3auth/base": "^7.0.4", diff --git a/single-factor-auth-web/sfa-web-google-example/package-lock.json b/single-factor-auth-web/sfa-web-google-example/package-lock.json index 31e7e0f6..02022e32 100644 --- a/single-factor-auth-web/sfa-web-google-example/package-lock.json +++ b/single-factor-auth-web/sfa-web-google-example/package-lock.json @@ -13,11 +13,11 @@ "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^14.4.3", "@types/jest": "^29.4.0", - "@types/node": "^18.13.0", + "@types/node": "^20.8.9", "@types/react": "^18.0.28", "@types/react-dom": "^18.0.10", - "@web3auth/base": "^7.0.1", - "@web3auth/ethereum-provider": "^7.0.2", + "@web3auth/base": "^7.0.4", + "@web3auth/ethereum-provider": "^7.0.4", "@web3auth/single-factor-auth": "^7.0.1", "ethers": "^6.7.0", "react": "^18.2.0", @@ -3686,11 +3686,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": { @@ -4495,15 +4495,15 @@ } }, "node_modules/@toruslabs/base-controllers": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-4.0.1.tgz", - "integrity": "sha512-6r9iUVdNsOR/oW2WSwrGZwPWDrMV4dt6lPOlzUbk+5vu+ijZ56jTlerUMHatcuHXuspISXXsJ9XhW64YoBTpRg==", + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-4.5.2.tgz", + "integrity": "sha512-DEaeKREzY8OJ74k6nuOP1x2a8Z1HeCfV2uQE835QhLKuCDgqRomDwCwRcrCGT3rqxT/AVhWmBj+ykO/XS/4lZw==", "dependencies": { "@ethereumjs/util": "^9.0.0", "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/broadcast-channel": "^8.0.0", + "@toruslabs/broadcast-channel": "^9.0.0", "@toruslabs/http-helpers": "^5.0.0", - "@toruslabs/openlogin-jrpc": "^5.0.2", + "@toruslabs/openlogin-jrpc": "^5.1.0", "async-mutex": "^0.4.0", "bignumber.js": "^9.1.2", "bowser": "^2.11.0", @@ -4549,6 +4549,25 @@ } } }, + "node_modules/@toruslabs/base-controllers/node_modules/@toruslabs/broadcast-channel": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/@toruslabs/broadcast-channel/-/broadcast-channel-9.0.1.tgz", + "integrity": "sha512-xypCZwwD+cJ8fRCtMiJMWuuPg/9rf4P3AhWGkrTKL49GXFEx23akUjq/ti4n1o1uJdQok6E9MH9Z/JpLniyRaA==", + "dependencies": { + "@babel/runtime": "^7.22.10", + "@toruslabs/eccrypto": "^4.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" + }, + "engines": { + "node": ">=18.x", + "npm": ">=9.x" + } + }, "node_modules/@toruslabs/base-session-manager": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@toruslabs/base-session-manager/-/base-session-manager-3.0.0.tgz", @@ -4691,15 +4710,15 @@ } }, "node_modules/@toruslabs/openlogin": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin/-/openlogin-5.0.3.tgz", - "integrity": "sha512-a7wdW/n5UINk1Uxn/hU4majTyIdeCk9XlSnmdr/ob71Dozz2hqPbXm1PFJ+XOMdlIPwqg4fLaOff6AySM1fqHg==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin/-/openlogin-5.3.0.tgz", + "integrity": "sha512-I6bVBPDlqcnF/11+disyS0kUClJLavYcLi3dBEx2a1mEv18jOy1kuG+FSenDMzF733MCk1Y3Iikox0evPzhpvQ==", "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.0.2", + "@toruslabs/openlogin-utils": "^5.3.0", "bowser": "^2.11.0", "events": "^3.3.0", "loglevel": "^1.8.1", @@ -4714,12 +4733,12 @@ } }, "node_modules/@toruslabs/openlogin-jrpc": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-jrpc/-/openlogin-jrpc-5.0.2.tgz", - "integrity": "sha512-ezpCrQ+oh0wfEuq3GTdjTpANVmfNjG7B/m03IGwnnSpg0NJRWUZBp/sB+z9Q1cOYtUl1Kg1+8mfqdX69eAn8bg==", + "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==", "dependencies": { "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/openlogin-utils": "^5.0.2", + "@toruslabs/openlogin-utils": "^5.3.0", "end-of-stream": "^1.4.4", "events": "^3.3.0", "fast-safe-stringify": "^2.1.1", @@ -4786,9 +4805,9 @@ } }, "node_modules/@toruslabs/openlogin-utils": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-utils/-/openlogin-utils-5.0.2.tgz", - "integrity": "sha512-iOYnbowda0kk1Wk7Ax6xwCg5kVG8HDyq9VBKJfiyQeZCnSwiWW03UHL+UTCtiXy8jhBtkd7OEwh2Np2Lm30Tgg==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-utils/-/openlogin-utils-5.3.0.tgz", + "integrity": "sha512-WfwadC7ZqKOTVqfI4rFANu7IzEgI7H4A/0TiIQihxHpFWdFM23yVuCCIm5zCzQ1QtA2mwBbBZYwOJ0YHVrV6HQ==", "dependencies": { "@toruslabs/constants": "^13.0.1", "base64url": "^3.0.1" @@ -5097,9 +5116,12 @@ "integrity": "sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==" }, "node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "version": "20.8.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.9.tgz", + "integrity": "sha512-UzykFsT3FhHb1h7yD4CA4YhBHq545JC0YnEz41xkipN88eKQtL6rSgocL5tbAP6Ola9Izm/Aw4Ora8He4x0BHg==", + "dependencies": { + "undici-types": "~5.26.4" + } }, "node_modules/@types/parse-json": { "version": "4.0.0", @@ -5636,9 +5658,9 @@ } }, "node_modules/@walletconnect/types": { - "version": "2.10.1", - "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.10.1.tgz", - "integrity": "sha512-7pccAhajQdiH2kYywjE1XI64IqRI+4ioyGy0wvz8d0UFQ/DSG3MLKR8jHf5aTOafQQ/HRLz6xvlzN4a7gIVkUQ==", + "version": "2.10.4", + "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.10.4.tgz", + "integrity": "sha512-eQpOElyiwJp3tepuOS3TS9dXTl9jVVlrC3iVA8bytnbLagkAUxmiv/s7PyDFx+ndXwQVh8PFBkWg1oxGwgCSBA==", "dependencies": { "@walletconnect/events": "^1.0.1", "@walletconnect/heartbeat": "1.2.1", @@ -5649,9 +5671,9 @@ } }, "node_modules/@walletconnect/utils": { - "version": "2.10.1", - "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.10.1.tgz", - "integrity": "sha512-DM0dKgm9O58l7VqJEyV2OVv16XRePhDAReI23let6WdW1dSpw/Y/A89Lp99ZJOjLm2FxyblMRF3YRaZtHwBffw==", + "version": "2.10.4", + "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.10.4.tgz", + "integrity": "sha512-XbrKgnQ0hC9DC9wjFb468MEYMoJxnCVmOj2gi01DA4FSr8fJi7wwNRUnlnZzLWrUWrHuaPReYe4PgBAgIv363g==", "dependencies": { "@stablelib/chacha20poly1305": "1.0.1", "@stablelib/hkdf": "1.0.1", @@ -5661,7 +5683,7 @@ "@walletconnect/relay-api": "^1.0.9", "@walletconnect/safe-json": "^1.0.2", "@walletconnect/time": "^1.0.2", - "@walletconnect/types": "2.10.1", + "@walletconnect/types": "2.10.4", "@walletconnect/window-getters": "^1.0.1", "@walletconnect/window-metadata": "^1.0.1", "detect-browser": "5.3.0", @@ -5687,14 +5709,14 @@ } }, "node_modules/@web3auth/base": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/@web3auth/base/-/base-7.0.1.tgz", - "integrity": "sha512-6ft4XAD37tobOxgkZhideiBMqoVJTpvAvYD0R99IDmpazpIrX8b4RBgwLQ/gIlNmGZhkU1UoTzub19xTWI9h6w==", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/@web3auth/base/-/base-7.0.4.tgz", + "integrity": "sha512-ufpJ0uqOp7k7uGqDS1DohOeIIrsTLUAdyiExM5D+SQYYIXri3M9wbFgyCeAqHbJbfBO6hI9PDcY82QvOGCMI3w==", "dependencies": { "@toruslabs/http-helpers": "^5.0.0", - "@toruslabs/openlogin": "^5.0.3", - "@toruslabs/openlogin-jrpc": "^5.0.2", - "@toruslabs/openlogin-utils": "^5.0.2", + "@toruslabs/openlogin": "^5.2.0", + "@toruslabs/openlogin-jrpc": "^5.2.0", + "@toruslabs/openlogin-utils": "^5.2.0", "jwt-decode": "^3.1.2", "loglevel": "^1.8.1", "ts-custom-error": "^3.3.1" @@ -5708,14 +5730,14 @@ } }, "node_modules/@web3auth/base-provider": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/@web3auth/base-provider/-/base-provider-7.0.1.tgz", - "integrity": "sha512-8ggJtsD/1MbpMEbe+uBSS3mrqE/nqEKpRLyIjuyfobPs4Zu/VI2Exdjz6wcUIzwEB1iYyjFt29/gyIXufMyCgA==", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/@web3auth/base-provider/-/base-provider-7.0.4.tgz", + "integrity": "sha512-DDE/K6AP2UBRQqBJUoFggGt7ylQ96pexVnaps9Yw8JOtx573yzVUPs2tYEjhxmAfRGgmDD1J8juokgvCEeKf4g==", "dependencies": { "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/base-controllers": "^4.0.1", - "@toruslabs/openlogin-jrpc": "^5.0.2", - "@web3auth/base": "^7.0.1", + "@toruslabs/base-controllers": "^4.2.0", + "@toruslabs/openlogin-jrpc": "^5.2.0", + "@web3auth/base": "^7.0.4", "json-rpc-random-id": "^1.0.1" }, "engines": { @@ -5727,22 +5749,22 @@ } }, "node_modules/@web3auth/ethereum-provider": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/@web3auth/ethereum-provider/-/ethereum-provider-7.0.2.tgz", - "integrity": "sha512-Yg1/ZB0eUugiTx5fvLtYeplSF0175PcsBOAhShl/Rd+rLlkycP5lRMGsBSnxdHGE9esRajYoH8xfGNwEUcItjw==", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/@web3auth/ethereum-provider/-/ethereum-provider-7.0.4.tgz", + "integrity": "sha512-A0r6O+Bwwx6k1qvB2p5zp3pVJtxxpad0Fv/lotGYh5OMFqi6Ggz1lnYnbQAc4PdznUNVV2zwsQGMi71a4c/JsQ==", "dependencies": { "@ethereumjs/common": "^4.0.0", "@ethereumjs/tx": "^5.0.0", "@ethereumjs/util": "^9.0.0", "@metamask/eth-sig-util": "^7.0.0", "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/base-controllers": "^4.0.1", + "@toruslabs/base-controllers": "^4.2.0", "@toruslabs/http-helpers": "^5.0.0", - "@toruslabs/openlogin-jrpc": "^5.0.2", + "@toruslabs/openlogin-jrpc": "^5.2.0", "@walletconnect/legacy-types": "2.0.0", - "@walletconnect/utils": "^2.10.1", - "@web3auth/base": "^7.0.1", - "@web3auth/base-provider": "^7.0.1", + "@walletconnect/utils": "^2.10.2", + "@web3auth/base": "^7.0.4", + "@web3auth/base-provider": "^7.0.4", "assert": "^2.1.0", "bignumber.js": "^9.1.2", "bn.js": "^5.2.1", @@ -9597,6 +9619,11 @@ } ] }, + "node_modules/ethers/node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", @@ -18623,6 +18650,11 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + }, "node_modules/unicode-canonical-property-names-ecmascript": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", @@ -22690,11 +22722,11 @@ } }, "@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==", "requires": { - "@metamask/utils": "^8.0.0", + "@metamask/utils": "^8.1.0", "fast-safe-stringify": "^2.0.6" } }, @@ -23259,15 +23291,15 @@ "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==" }, "@toruslabs/base-controllers": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-4.0.1.tgz", - "integrity": "sha512-6r9iUVdNsOR/oW2WSwrGZwPWDrMV4dt6lPOlzUbk+5vu+ijZ56jTlerUMHatcuHXuspISXXsJ9XhW64YoBTpRg==", + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-4.5.2.tgz", + "integrity": "sha512-DEaeKREzY8OJ74k6nuOP1x2a8Z1HeCfV2uQE835QhLKuCDgqRomDwCwRcrCGT3rqxT/AVhWmBj+ykO/XS/4lZw==", "requires": { "@ethereumjs/util": "^9.0.0", "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/broadcast-channel": "^8.0.0", + "@toruslabs/broadcast-channel": "^9.0.0", "@toruslabs/http-helpers": "^5.0.0", - "@toruslabs/openlogin-jrpc": "^5.0.2", + "@toruslabs/openlogin-jrpc": "^5.1.0", "async-mutex": "^0.4.0", "bignumber.js": "^9.1.2", "bowser": "^2.11.0", @@ -23288,6 +23320,21 @@ "@ethereumjs/rlp": "^5.0.0", "ethereum-cryptography": "^2.1.2" } + }, + "@toruslabs/broadcast-channel": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/@toruslabs/broadcast-channel/-/broadcast-channel-9.0.1.tgz", + "integrity": "sha512-xypCZwwD+cJ8fRCtMiJMWuuPg/9rf4P3AhWGkrTKL49GXFEx23akUjq/ti4n1o1uJdQok6E9MH9Z/JpLniyRaA==", + "requires": { + "@babel/runtime": "^7.22.10", + "@toruslabs/eccrypto": "^4.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" + } } } }, @@ -23374,15 +23421,15 @@ } }, "@toruslabs/openlogin": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin/-/openlogin-5.0.3.tgz", - "integrity": "sha512-a7wdW/n5UINk1Uxn/hU4majTyIdeCk9XlSnmdr/ob71Dozz2hqPbXm1PFJ+XOMdlIPwqg4fLaOff6AySM1fqHg==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin/-/openlogin-5.3.0.tgz", + "integrity": "sha512-I6bVBPDlqcnF/11+disyS0kUClJLavYcLi3dBEx2a1mEv18jOy1kuG+FSenDMzF733MCk1Y3Iikox0evPzhpvQ==", "requires": { "@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.0.2", + "@toruslabs/openlogin-utils": "^5.3.0", "bowser": "^2.11.0", "events": "^3.3.0", "loglevel": "^1.8.1", @@ -23390,12 +23437,12 @@ } }, "@toruslabs/openlogin-jrpc": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-jrpc/-/openlogin-jrpc-5.0.2.tgz", - "integrity": "sha512-ezpCrQ+oh0wfEuq3GTdjTpANVmfNjG7B/m03IGwnnSpg0NJRWUZBp/sB+z9Q1cOYtUl1Kg1+8mfqdX69eAn8bg==", + "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==", "requires": { "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/openlogin-utils": "^5.0.2", + "@toruslabs/openlogin-utils": "^5.3.0", "end-of-stream": "^1.4.4", "events": "^3.3.0", "fast-safe-stringify": "^2.1.1", @@ -23439,9 +23486,9 @@ } }, "@toruslabs/openlogin-utils": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-utils/-/openlogin-utils-5.0.2.tgz", - "integrity": "sha512-iOYnbowda0kk1Wk7Ax6xwCg5kVG8HDyq9VBKJfiyQeZCnSwiWW03UHL+UTCtiXy8jhBtkd7OEwh2Np2Lm30Tgg==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-utils/-/openlogin-utils-5.3.0.tgz", + "integrity": "sha512-WfwadC7ZqKOTVqfI4rFANu7IzEgI7H4A/0TiIQihxHpFWdFM23yVuCCIm5zCzQ1QtA2mwBbBZYwOJ0YHVrV6HQ==", "requires": { "@toruslabs/constants": "^13.0.1", "base64url": "^3.0.1" @@ -23726,9 +23773,12 @@ "integrity": "sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==" }, "@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "version": "20.8.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.9.tgz", + "integrity": "sha512-UzykFsT3FhHb1h7yD4CA4YhBHq545JC0YnEz41xkipN88eKQtL6rSgocL5tbAP6Ola9Izm/Aw4Ora8He4x0BHg==", + "requires": { + "undici-types": "~5.26.4" + } }, "@types/parse-json": { "version": "4.0.0", @@ -24127,9 +24177,9 @@ } }, "@walletconnect/types": { - "version": "2.10.1", - "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.10.1.tgz", - "integrity": "sha512-7pccAhajQdiH2kYywjE1XI64IqRI+4ioyGy0wvz8d0UFQ/DSG3MLKR8jHf5aTOafQQ/HRLz6xvlzN4a7gIVkUQ==", + "version": "2.10.4", + "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.10.4.tgz", + "integrity": "sha512-eQpOElyiwJp3tepuOS3TS9dXTl9jVVlrC3iVA8bytnbLagkAUxmiv/s7PyDFx+ndXwQVh8PFBkWg1oxGwgCSBA==", "requires": { "@walletconnect/events": "^1.0.1", "@walletconnect/heartbeat": "1.2.1", @@ -24140,9 +24190,9 @@ } }, "@walletconnect/utils": { - "version": "2.10.1", - "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.10.1.tgz", - "integrity": "sha512-DM0dKgm9O58l7VqJEyV2OVv16XRePhDAReI23let6WdW1dSpw/Y/A89Lp99ZJOjLm2FxyblMRF3YRaZtHwBffw==", + "version": "2.10.4", + "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.10.4.tgz", + "integrity": "sha512-XbrKgnQ0hC9DC9wjFb468MEYMoJxnCVmOj2gi01DA4FSr8fJi7wwNRUnlnZzLWrUWrHuaPReYe4PgBAgIv363g==", "requires": { "@stablelib/chacha20poly1305": "1.0.1", "@stablelib/hkdf": "1.0.1", @@ -24152,7 +24202,7 @@ "@walletconnect/relay-api": "^1.0.9", "@walletconnect/safe-json": "^1.0.2", "@walletconnect/time": "^1.0.2", - "@walletconnect/types": "2.10.1", + "@walletconnect/types": "2.10.4", "@walletconnect/window-getters": "^1.0.1", "@walletconnect/window-metadata": "^1.0.1", "detect-browser": "5.3.0", @@ -24178,48 +24228,48 @@ } }, "@web3auth/base": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/@web3auth/base/-/base-7.0.1.tgz", - "integrity": "sha512-6ft4XAD37tobOxgkZhideiBMqoVJTpvAvYD0R99IDmpazpIrX8b4RBgwLQ/gIlNmGZhkU1UoTzub19xTWI9h6w==", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/@web3auth/base/-/base-7.0.4.tgz", + "integrity": "sha512-ufpJ0uqOp7k7uGqDS1DohOeIIrsTLUAdyiExM5D+SQYYIXri3M9wbFgyCeAqHbJbfBO6hI9PDcY82QvOGCMI3w==", "requires": { "@toruslabs/http-helpers": "^5.0.0", - "@toruslabs/openlogin": "^5.0.3", - "@toruslabs/openlogin-jrpc": "^5.0.2", - "@toruslabs/openlogin-utils": "^5.0.2", + "@toruslabs/openlogin": "^5.2.0", + "@toruslabs/openlogin-jrpc": "^5.2.0", + "@toruslabs/openlogin-utils": "^5.2.0", "jwt-decode": "^3.1.2", "loglevel": "^1.8.1", "ts-custom-error": "^3.3.1" } }, "@web3auth/base-provider": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/@web3auth/base-provider/-/base-provider-7.0.1.tgz", - "integrity": "sha512-8ggJtsD/1MbpMEbe+uBSS3mrqE/nqEKpRLyIjuyfobPs4Zu/VI2Exdjz6wcUIzwEB1iYyjFt29/gyIXufMyCgA==", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/@web3auth/base-provider/-/base-provider-7.0.4.tgz", + "integrity": "sha512-DDE/K6AP2UBRQqBJUoFggGt7ylQ96pexVnaps9Yw8JOtx573yzVUPs2tYEjhxmAfRGgmDD1J8juokgvCEeKf4g==", "requires": { "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/base-controllers": "^4.0.1", - "@toruslabs/openlogin-jrpc": "^5.0.2", - "@web3auth/base": "^7.0.1", + "@toruslabs/base-controllers": "^4.2.0", + "@toruslabs/openlogin-jrpc": "^5.2.0", + "@web3auth/base": "^7.0.4", "json-rpc-random-id": "^1.0.1" } }, "@web3auth/ethereum-provider": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/@web3auth/ethereum-provider/-/ethereum-provider-7.0.2.tgz", - "integrity": "sha512-Yg1/ZB0eUugiTx5fvLtYeplSF0175PcsBOAhShl/Rd+rLlkycP5lRMGsBSnxdHGE9esRajYoH8xfGNwEUcItjw==", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/@web3auth/ethereum-provider/-/ethereum-provider-7.0.4.tgz", + "integrity": "sha512-A0r6O+Bwwx6k1qvB2p5zp3pVJtxxpad0Fv/lotGYh5OMFqi6Ggz1lnYnbQAc4PdznUNVV2zwsQGMi71a4c/JsQ==", "requires": { "@ethereumjs/common": "^4.0.0", "@ethereumjs/tx": "^5.0.0", "@ethereumjs/util": "^9.0.0", "@metamask/eth-sig-util": "^7.0.0", "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/base-controllers": "^4.0.1", + "@toruslabs/base-controllers": "^4.2.0", "@toruslabs/http-helpers": "^5.0.0", - "@toruslabs/openlogin-jrpc": "^5.0.2", + "@toruslabs/openlogin-jrpc": "^5.2.0", "@walletconnect/legacy-types": "2.0.0", - "@walletconnect/utils": "^2.10.1", - "@web3auth/base": "^7.0.1", - "@web3auth/base-provider": "^7.0.1", + "@walletconnect/utils": "^2.10.2", + "@web3auth/base": "^7.0.4", + "@web3auth/base-provider": "^7.0.4", "assert": "^2.1.0", "bignumber.js": "^9.1.2", "bn.js": "^5.2.1", @@ -27063,6 +27113,11 @@ "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.2.tgz", "integrity": "sha512-KYRCASVTv6aeUi1tsF8/vpyR7zpfs3FUzy2Jqm+MU+LmUKhQ0y2FpfwqkCcxSg2ua4GALJd8k2R76WxwZGbQpA==" }, + "@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + }, "tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", @@ -33593,6 +33648,11 @@ "which-boxed-primitive": "^1.0.2" } }, + "undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + }, "unicode-canonical-property-names-ecmascript": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", diff --git a/single-factor-auth-web/sfa-web-google-example/package.json b/single-factor-auth-web/sfa-web-google-example/package.json index 0c9b50eb..7d71935a 100644 --- a/single-factor-auth-web/sfa-web-google-example/package.json +++ b/single-factor-auth-web/sfa-web-google-example/package.json @@ -8,7 +8,7 @@ "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^14.4.3", "@types/jest": "^29.4.0", - "@types/node": "^18.13.0", + "@types/node": "^20.8.9", "@types/react": "^18.0.28", "@types/react-dom": "^18.0.10", "@web3auth/base": "^7.0.4", diff --git a/single-factor-auth-web/sfa-web-passwordless-example/package-lock.json b/single-factor-auth-web/sfa-web-passwordless-example/package-lock.json index c91de63b..e380d410 100644 --- a/single-factor-auth-web/sfa-web-passwordless-example/package-lock.json +++ b/single-factor-auth-web/sfa-web-passwordless-example/package-lock.json @@ -12,11 +12,11 @@ "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^14.4.3", "@types/jest": "^29.4.0", - "@types/node": "^18.13.0", + "@types/node": "^20.8.9", "@types/react": "^18.0.28", "@types/react-dom": "^18.0.10", - "@web3auth/base": "^7.0.1", - "@web3auth/ethereum-provider": "^7.0.2", + "@web3auth/base": "^7.0.4", + "@web3auth/ethereum-provider": "^7.0.4", "@web3auth/single-factor-auth": "^7.0.1", "ethers": "^6.7.0", "firebase": "^9.16.0", @@ -4471,11 +4471,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": { @@ -5325,15 +5325,15 @@ } }, "node_modules/@toruslabs/base-controllers": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-4.0.1.tgz", - "integrity": "sha512-6r9iUVdNsOR/oW2WSwrGZwPWDrMV4dt6lPOlzUbk+5vu+ijZ56jTlerUMHatcuHXuspISXXsJ9XhW64YoBTpRg==", + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-4.5.2.tgz", + "integrity": "sha512-DEaeKREzY8OJ74k6nuOP1x2a8Z1HeCfV2uQE835QhLKuCDgqRomDwCwRcrCGT3rqxT/AVhWmBj+ykO/XS/4lZw==", "dependencies": { "@ethereumjs/util": "^9.0.0", "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/broadcast-channel": "^8.0.0", + "@toruslabs/broadcast-channel": "^9.0.0", "@toruslabs/http-helpers": "^5.0.0", - "@toruslabs/openlogin-jrpc": "^5.0.2", + "@toruslabs/openlogin-jrpc": "^5.1.0", "async-mutex": "^0.4.0", "bignumber.js": "^9.1.2", "bowser": "^2.11.0", @@ -5379,6 +5379,25 @@ } } }, + "node_modules/@toruslabs/base-controllers/node_modules/@toruslabs/broadcast-channel": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/@toruslabs/broadcast-channel/-/broadcast-channel-9.0.1.tgz", + "integrity": "sha512-xypCZwwD+cJ8fRCtMiJMWuuPg/9rf4P3AhWGkrTKL49GXFEx23akUjq/ti4n1o1uJdQok6E9MH9Z/JpLniyRaA==", + "dependencies": { + "@babel/runtime": "^7.22.10", + "@toruslabs/eccrypto": "^4.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" + }, + "engines": { + "node": ">=18.x", + "npm": ">=9.x" + } + }, "node_modules/@toruslabs/base-session-manager": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@toruslabs/base-session-manager/-/base-session-manager-3.0.0.tgz", @@ -5521,15 +5540,15 @@ } }, "node_modules/@toruslabs/openlogin": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin/-/openlogin-5.0.3.tgz", - "integrity": "sha512-a7wdW/n5UINk1Uxn/hU4majTyIdeCk9XlSnmdr/ob71Dozz2hqPbXm1PFJ+XOMdlIPwqg4fLaOff6AySM1fqHg==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin/-/openlogin-5.3.0.tgz", + "integrity": "sha512-I6bVBPDlqcnF/11+disyS0kUClJLavYcLi3dBEx2a1mEv18jOy1kuG+FSenDMzF733MCk1Y3Iikox0evPzhpvQ==", "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.0.2", + "@toruslabs/openlogin-utils": "^5.3.0", "bowser": "^2.11.0", "events": "^3.3.0", "loglevel": "^1.8.1", @@ -5544,12 +5563,12 @@ } }, "node_modules/@toruslabs/openlogin-jrpc": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-jrpc/-/openlogin-jrpc-5.0.2.tgz", - "integrity": "sha512-ezpCrQ+oh0wfEuq3GTdjTpANVmfNjG7B/m03IGwnnSpg0NJRWUZBp/sB+z9Q1cOYtUl1Kg1+8mfqdX69eAn8bg==", + "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==", "dependencies": { "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/openlogin-utils": "^5.0.2", + "@toruslabs/openlogin-utils": "^5.3.0", "end-of-stream": "^1.4.4", "events": "^3.3.0", "fast-safe-stringify": "^2.1.1", @@ -5616,9 +5635,9 @@ } }, "node_modules/@toruslabs/openlogin-utils": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-utils/-/openlogin-utils-5.0.2.tgz", - "integrity": "sha512-iOYnbowda0kk1Wk7Ax6xwCg5kVG8HDyq9VBKJfiyQeZCnSwiWW03UHL+UTCtiXy8jhBtkd7OEwh2Np2Lm30Tgg==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-utils/-/openlogin-utils-5.3.0.tgz", + "integrity": "sha512-WfwadC7ZqKOTVqfI4rFANu7IzEgI7H4A/0TiIQihxHpFWdFM23yVuCCIm5zCzQ1QtA2mwBbBZYwOJ0YHVrV6HQ==", "dependencies": { "@toruslabs/constants": "^13.0.1", "base64url": "^3.0.1" @@ -5932,9 +5951,12 @@ "integrity": "sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==" }, "node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "version": "20.8.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.9.tgz", + "integrity": "sha512-UzykFsT3FhHb1h7yD4CA4YhBHq545JC0YnEz41xkipN88eKQtL6rSgocL5tbAP6Ola9Izm/Aw4Ora8He4x0BHg==", + "dependencies": { + "undici-types": "~5.26.4" + } }, "node_modules/@types/parse-json": { "version": "4.0.0", @@ -6471,9 +6493,9 @@ } }, "node_modules/@walletconnect/types": { - "version": "2.10.1", - "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.10.1.tgz", - "integrity": "sha512-7pccAhajQdiH2kYywjE1XI64IqRI+4ioyGy0wvz8d0UFQ/DSG3MLKR8jHf5aTOafQQ/HRLz6xvlzN4a7gIVkUQ==", + "version": "2.10.4", + "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.10.4.tgz", + "integrity": "sha512-eQpOElyiwJp3tepuOS3TS9dXTl9jVVlrC3iVA8bytnbLagkAUxmiv/s7PyDFx+ndXwQVh8PFBkWg1oxGwgCSBA==", "dependencies": { "@walletconnect/events": "^1.0.1", "@walletconnect/heartbeat": "1.2.1", @@ -6484,9 +6506,9 @@ } }, "node_modules/@walletconnect/utils": { - "version": "2.10.1", - "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.10.1.tgz", - "integrity": "sha512-DM0dKgm9O58l7VqJEyV2OVv16XRePhDAReI23let6WdW1dSpw/Y/A89Lp99ZJOjLm2FxyblMRF3YRaZtHwBffw==", + "version": "2.10.4", + "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.10.4.tgz", + "integrity": "sha512-XbrKgnQ0hC9DC9wjFb468MEYMoJxnCVmOj2gi01DA4FSr8fJi7wwNRUnlnZzLWrUWrHuaPReYe4PgBAgIv363g==", "dependencies": { "@stablelib/chacha20poly1305": "1.0.1", "@stablelib/hkdf": "1.0.1", @@ -6496,7 +6518,7 @@ "@walletconnect/relay-api": "^1.0.9", "@walletconnect/safe-json": "^1.0.2", "@walletconnect/time": "^1.0.2", - "@walletconnect/types": "2.10.1", + "@walletconnect/types": "2.10.4", "@walletconnect/window-getters": "^1.0.1", "@walletconnect/window-metadata": "^1.0.1", "detect-browser": "5.3.0", @@ -6522,14 +6544,14 @@ } }, "node_modules/@web3auth/base": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/@web3auth/base/-/base-7.0.1.tgz", - "integrity": "sha512-6ft4XAD37tobOxgkZhideiBMqoVJTpvAvYD0R99IDmpazpIrX8b4RBgwLQ/gIlNmGZhkU1UoTzub19xTWI9h6w==", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/@web3auth/base/-/base-7.0.4.tgz", + "integrity": "sha512-ufpJ0uqOp7k7uGqDS1DohOeIIrsTLUAdyiExM5D+SQYYIXri3M9wbFgyCeAqHbJbfBO6hI9PDcY82QvOGCMI3w==", "dependencies": { "@toruslabs/http-helpers": "^5.0.0", - "@toruslabs/openlogin": "^5.0.3", - "@toruslabs/openlogin-jrpc": "^5.0.2", - "@toruslabs/openlogin-utils": "^5.0.2", + "@toruslabs/openlogin": "^5.2.0", + "@toruslabs/openlogin-jrpc": "^5.2.0", + "@toruslabs/openlogin-utils": "^5.2.0", "jwt-decode": "^3.1.2", "loglevel": "^1.8.1", "ts-custom-error": "^3.3.1" @@ -6543,14 +6565,14 @@ } }, "node_modules/@web3auth/base-provider": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/@web3auth/base-provider/-/base-provider-7.0.1.tgz", - "integrity": "sha512-8ggJtsD/1MbpMEbe+uBSS3mrqE/nqEKpRLyIjuyfobPs4Zu/VI2Exdjz6wcUIzwEB1iYyjFt29/gyIXufMyCgA==", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/@web3auth/base-provider/-/base-provider-7.0.4.tgz", + "integrity": "sha512-DDE/K6AP2UBRQqBJUoFggGt7ylQ96pexVnaps9Yw8JOtx573yzVUPs2tYEjhxmAfRGgmDD1J8juokgvCEeKf4g==", "dependencies": { "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/base-controllers": "^4.0.1", - "@toruslabs/openlogin-jrpc": "^5.0.2", - "@web3auth/base": "^7.0.1", + "@toruslabs/base-controllers": "^4.2.0", + "@toruslabs/openlogin-jrpc": "^5.2.0", + "@web3auth/base": "^7.0.4", "json-rpc-random-id": "^1.0.1" }, "engines": { @@ -6562,22 +6584,22 @@ } }, "node_modules/@web3auth/ethereum-provider": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/@web3auth/ethereum-provider/-/ethereum-provider-7.0.2.tgz", - "integrity": "sha512-Yg1/ZB0eUugiTx5fvLtYeplSF0175PcsBOAhShl/Rd+rLlkycP5lRMGsBSnxdHGE9esRajYoH8xfGNwEUcItjw==", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/@web3auth/ethereum-provider/-/ethereum-provider-7.0.4.tgz", + "integrity": "sha512-A0r6O+Bwwx6k1qvB2p5zp3pVJtxxpad0Fv/lotGYh5OMFqi6Ggz1lnYnbQAc4PdznUNVV2zwsQGMi71a4c/JsQ==", "dependencies": { "@ethereumjs/common": "^4.0.0", "@ethereumjs/tx": "^5.0.0", "@ethereumjs/util": "^9.0.0", "@metamask/eth-sig-util": "^7.0.0", "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/base-controllers": "^4.0.1", + "@toruslabs/base-controllers": "^4.2.0", "@toruslabs/http-helpers": "^5.0.0", - "@toruslabs/openlogin-jrpc": "^5.0.2", + "@toruslabs/openlogin-jrpc": "^5.2.0", "@walletconnect/legacy-types": "2.0.0", - "@walletconnect/utils": "^2.10.1", - "@web3auth/base": "^7.0.1", - "@web3auth/base-provider": "^7.0.1", + "@walletconnect/utils": "^2.10.2", + "@web3auth/base": "^7.0.4", + "@web3auth/base-provider": "^7.0.4", "assert": "^2.1.0", "bignumber.js": "^9.1.2", "bn.js": "^5.2.1", @@ -10432,6 +10454,11 @@ } ] }, + "node_modules/ethers/node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + }, "node_modules/ethers/node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", @@ -19535,6 +19562,11 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + }, "node_modules/unicode-canonical-property-names-ecmascript": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", @@ -24296,11 +24328,11 @@ } }, "@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==", "requires": { - "@metamask/utils": "^8.0.0", + "@metamask/utils": "^8.1.0", "fast-safe-stringify": "^2.0.6" } }, @@ -24913,15 +24945,15 @@ "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==" }, "@toruslabs/base-controllers": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-4.0.1.tgz", - "integrity": "sha512-6r9iUVdNsOR/oW2WSwrGZwPWDrMV4dt6lPOlzUbk+5vu+ijZ56jTlerUMHatcuHXuspISXXsJ9XhW64YoBTpRg==", + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-4.5.2.tgz", + "integrity": "sha512-DEaeKREzY8OJ74k6nuOP1x2a8Z1HeCfV2uQE835QhLKuCDgqRomDwCwRcrCGT3rqxT/AVhWmBj+ykO/XS/4lZw==", "requires": { "@ethereumjs/util": "^9.0.0", "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/broadcast-channel": "^8.0.0", + "@toruslabs/broadcast-channel": "^9.0.0", "@toruslabs/http-helpers": "^5.0.0", - "@toruslabs/openlogin-jrpc": "^5.0.2", + "@toruslabs/openlogin-jrpc": "^5.1.0", "async-mutex": "^0.4.0", "bignumber.js": "^9.1.2", "bowser": "^2.11.0", @@ -24942,6 +24974,21 @@ "@ethereumjs/rlp": "^5.0.0", "ethereum-cryptography": "^2.1.2" } + }, + "@toruslabs/broadcast-channel": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/@toruslabs/broadcast-channel/-/broadcast-channel-9.0.1.tgz", + "integrity": "sha512-xypCZwwD+cJ8fRCtMiJMWuuPg/9rf4P3AhWGkrTKL49GXFEx23akUjq/ti4n1o1uJdQok6E9MH9Z/JpLniyRaA==", + "requires": { + "@babel/runtime": "^7.22.10", + "@toruslabs/eccrypto": "^4.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" + } } } }, @@ -25028,15 +25075,15 @@ } }, "@toruslabs/openlogin": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin/-/openlogin-5.0.3.tgz", - "integrity": "sha512-a7wdW/n5UINk1Uxn/hU4majTyIdeCk9XlSnmdr/ob71Dozz2hqPbXm1PFJ+XOMdlIPwqg4fLaOff6AySM1fqHg==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin/-/openlogin-5.3.0.tgz", + "integrity": "sha512-I6bVBPDlqcnF/11+disyS0kUClJLavYcLi3dBEx2a1mEv18jOy1kuG+FSenDMzF733MCk1Y3Iikox0evPzhpvQ==", "requires": { "@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.0.2", + "@toruslabs/openlogin-utils": "^5.3.0", "bowser": "^2.11.0", "events": "^3.3.0", "loglevel": "^1.8.1", @@ -25044,12 +25091,12 @@ } }, "@toruslabs/openlogin-jrpc": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-jrpc/-/openlogin-jrpc-5.0.2.tgz", - "integrity": "sha512-ezpCrQ+oh0wfEuq3GTdjTpANVmfNjG7B/m03IGwnnSpg0NJRWUZBp/sB+z9Q1cOYtUl1Kg1+8mfqdX69eAn8bg==", + "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==", "requires": { "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/openlogin-utils": "^5.0.2", + "@toruslabs/openlogin-utils": "^5.3.0", "end-of-stream": "^1.4.4", "events": "^3.3.0", "fast-safe-stringify": "^2.1.1", @@ -25093,9 +25140,9 @@ } }, "@toruslabs/openlogin-utils": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-utils/-/openlogin-utils-5.0.2.tgz", - "integrity": "sha512-iOYnbowda0kk1Wk7Ax6xwCg5kVG8HDyq9VBKJfiyQeZCnSwiWW03UHL+UTCtiXy8jhBtkd7OEwh2Np2Lm30Tgg==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-utils/-/openlogin-utils-5.3.0.tgz", + "integrity": "sha512-WfwadC7ZqKOTVqfI4rFANu7IzEgI7H4A/0TiIQihxHpFWdFM23yVuCCIm5zCzQ1QtA2mwBbBZYwOJ0YHVrV6HQ==", "requires": { "@toruslabs/constants": "^13.0.1", "base64url": "^3.0.1" @@ -25385,9 +25432,12 @@ "integrity": "sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==" }, "@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + "version": "20.8.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.9.tgz", + "integrity": "sha512-UzykFsT3FhHb1h7yD4CA4YhBHq545JC0YnEz41xkipN88eKQtL6rSgocL5tbAP6Ola9Izm/Aw4Ora8He4x0BHg==", + "requires": { + "undici-types": "~5.26.4" + } }, "@types/parse-json": { "version": "4.0.0", @@ -25786,9 +25836,9 @@ } }, "@walletconnect/types": { - "version": "2.10.1", - "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.10.1.tgz", - "integrity": "sha512-7pccAhajQdiH2kYywjE1XI64IqRI+4ioyGy0wvz8d0UFQ/DSG3MLKR8jHf5aTOafQQ/HRLz6xvlzN4a7gIVkUQ==", + "version": "2.10.4", + "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.10.4.tgz", + "integrity": "sha512-eQpOElyiwJp3tepuOS3TS9dXTl9jVVlrC3iVA8bytnbLagkAUxmiv/s7PyDFx+ndXwQVh8PFBkWg1oxGwgCSBA==", "requires": { "@walletconnect/events": "^1.0.1", "@walletconnect/heartbeat": "1.2.1", @@ -25799,9 +25849,9 @@ } }, "@walletconnect/utils": { - "version": "2.10.1", - "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.10.1.tgz", - "integrity": "sha512-DM0dKgm9O58l7VqJEyV2OVv16XRePhDAReI23let6WdW1dSpw/Y/A89Lp99ZJOjLm2FxyblMRF3YRaZtHwBffw==", + "version": "2.10.4", + "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.10.4.tgz", + "integrity": "sha512-XbrKgnQ0hC9DC9wjFb468MEYMoJxnCVmOj2gi01DA4FSr8fJi7wwNRUnlnZzLWrUWrHuaPReYe4PgBAgIv363g==", "requires": { "@stablelib/chacha20poly1305": "1.0.1", "@stablelib/hkdf": "1.0.1", @@ -25811,7 +25861,7 @@ "@walletconnect/relay-api": "^1.0.9", "@walletconnect/safe-json": "^1.0.2", "@walletconnect/time": "^1.0.2", - "@walletconnect/types": "2.10.1", + "@walletconnect/types": "2.10.4", "@walletconnect/window-getters": "^1.0.1", "@walletconnect/window-metadata": "^1.0.1", "detect-browser": "5.3.0", @@ -25837,48 +25887,48 @@ } }, "@web3auth/base": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/@web3auth/base/-/base-7.0.1.tgz", - "integrity": "sha512-6ft4XAD37tobOxgkZhideiBMqoVJTpvAvYD0R99IDmpazpIrX8b4RBgwLQ/gIlNmGZhkU1UoTzub19xTWI9h6w==", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/@web3auth/base/-/base-7.0.4.tgz", + "integrity": "sha512-ufpJ0uqOp7k7uGqDS1DohOeIIrsTLUAdyiExM5D+SQYYIXri3M9wbFgyCeAqHbJbfBO6hI9PDcY82QvOGCMI3w==", "requires": { "@toruslabs/http-helpers": "^5.0.0", - "@toruslabs/openlogin": "^5.0.3", - "@toruslabs/openlogin-jrpc": "^5.0.2", - "@toruslabs/openlogin-utils": "^5.0.2", + "@toruslabs/openlogin": "^5.2.0", + "@toruslabs/openlogin-jrpc": "^5.2.0", + "@toruslabs/openlogin-utils": "^5.2.0", "jwt-decode": "^3.1.2", "loglevel": "^1.8.1", "ts-custom-error": "^3.3.1" } }, "@web3auth/base-provider": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/@web3auth/base-provider/-/base-provider-7.0.1.tgz", - "integrity": "sha512-8ggJtsD/1MbpMEbe+uBSS3mrqE/nqEKpRLyIjuyfobPs4Zu/VI2Exdjz6wcUIzwEB1iYyjFt29/gyIXufMyCgA==", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/@web3auth/base-provider/-/base-provider-7.0.4.tgz", + "integrity": "sha512-DDE/K6AP2UBRQqBJUoFggGt7ylQ96pexVnaps9Yw8JOtx573yzVUPs2tYEjhxmAfRGgmDD1J8juokgvCEeKf4g==", "requires": { "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/base-controllers": "^4.0.1", - "@toruslabs/openlogin-jrpc": "^5.0.2", - "@web3auth/base": "^7.0.1", + "@toruslabs/base-controllers": "^4.2.0", + "@toruslabs/openlogin-jrpc": "^5.2.0", + "@web3auth/base": "^7.0.4", "json-rpc-random-id": "^1.0.1" } }, "@web3auth/ethereum-provider": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/@web3auth/ethereum-provider/-/ethereum-provider-7.0.2.tgz", - "integrity": "sha512-Yg1/ZB0eUugiTx5fvLtYeplSF0175PcsBOAhShl/Rd+rLlkycP5lRMGsBSnxdHGE9esRajYoH8xfGNwEUcItjw==", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/@web3auth/ethereum-provider/-/ethereum-provider-7.0.4.tgz", + "integrity": "sha512-A0r6O+Bwwx6k1qvB2p5zp3pVJtxxpad0Fv/lotGYh5OMFqi6Ggz1lnYnbQAc4PdznUNVV2zwsQGMi71a4c/JsQ==", "requires": { "@ethereumjs/common": "^4.0.0", "@ethereumjs/tx": "^5.0.0", "@ethereumjs/util": "^9.0.0", "@metamask/eth-sig-util": "^7.0.0", "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/base-controllers": "^4.0.1", + "@toruslabs/base-controllers": "^4.2.0", "@toruslabs/http-helpers": "^5.0.0", - "@toruslabs/openlogin-jrpc": "^5.0.2", + "@toruslabs/openlogin-jrpc": "^5.2.0", "@walletconnect/legacy-types": "2.0.0", - "@walletconnect/utils": "^2.10.1", - "@web3auth/base": "^7.0.1", - "@web3auth/base-provider": "^7.0.1", + "@walletconnect/utils": "^2.10.2", + "@web3auth/base": "^7.0.4", + "@web3auth/base-provider": "^7.0.4", "assert": "^2.1.0", "bignumber.js": "^9.1.2", "bn.js": "^5.2.1", @@ -28722,6 +28772,11 @@ "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.2.tgz", "integrity": "sha512-KYRCASVTv6aeUi1tsF8/vpyR7zpfs3FUzy2Jqm+MU+LmUKhQ0y2FpfwqkCcxSg2ua4GALJd8k2R76WxwZGbQpA==" }, + "@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + }, "tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", @@ -35321,6 +35376,11 @@ "which-boxed-primitive": "^1.0.2" } }, + "undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + }, "unicode-canonical-property-names-ecmascript": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", diff --git a/single-factor-auth-web/sfa-web-passwordless-example/package.json b/single-factor-auth-web/sfa-web-passwordless-example/package.json index 9d12e2f8..e4cbed92 100644 --- a/single-factor-auth-web/sfa-web-passwordless-example/package.json +++ b/single-factor-auth-web/sfa-web-passwordless-example/package.json @@ -7,7 +7,7 @@ "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^14.4.3", "@types/jest": "^29.4.0", - "@types/node": "^18.13.0", + "@types/node": "^20.8.9", "@types/react": "^18.0.28", "@types/react-dom": "^18.0.10", "@web3auth/base": "^7.0.4",