diff --git a/package-lock.json b/package-lock.json index a163c2aa..3e0377e8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1852,9 +1852,9 @@ } }, "node_modules/@chaitanyapotti/register-service-worker": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/@chaitanyapotti/register-service-worker/-/register-service-worker-1.7.3.tgz", - "integrity": "sha512-ywnUSfwvqdHchO3ELFWP6hlnhzc2UUETbk+TaBT/vicuMnJbnBLuDCcoy3aWvUE9bjmzg4QQpssRLSz1iZ7XRA==" + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/@chaitanyapotti/register-service-worker/-/register-service-worker-1.7.4.tgz", + "integrity": "sha512-+u78X4ljCleLy1okQMtYLTXGLHdFQcwai822xu3oHRTviKEIVkQTMNhCmbYTCiP24thY6AbH9g+c6p2LNU0pnA==" }, "node_modules/@colors/colors": { "version": "1.5.0", @@ -4887,18 +4887,54 @@ "integrity": "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==", "dev": true }, + "node_modules/@toruslabs/base-session-manager": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@toruslabs/base-session-manager/-/base-session-manager-3.1.1.tgz", + "integrity": "sha512-/awg0VbJcfcdJTB2zYdnoFkNGOioODvBc7i3vfxR6lRpFvVwndYPwbD870bgRiSUt9hSee8pSfokejnjDZGpew==", + "dependencies": { + "@toruslabs/http-helpers": "^6.1.0" + }, + "engines": { + "node": ">=18.x", + "npm": ">=9.x" + }, + "peerDependencies": { + "@babel/runtime": "7.x" + } + }, + "node_modules/@toruslabs/base-session-manager/node_modules/@toruslabs/http-helpers": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/@toruslabs/http-helpers/-/http-helpers-6.1.1.tgz", + "integrity": "sha512-bJYOaltRzklzObhRdutT1wau17vXyrCCBKJOeN46F1t99MUXi5udQNeErFOcr9qBsvrq2q67eVBkU5XOeBMX5A==", + "dependencies": { + "lodash.merge": "^4.6.2", + "loglevel": "^1.9.1" + }, + "engines": { + "node": ">=18.x", + "npm": ">=9.x" + }, + "peerDependencies": { + "@babel/runtime": "^7.x", + "@sentry/types": "^7.x" + }, + "peerDependenciesMeta": { + "@sentry/types": { + "optional": true + } + } + }, "node_modules/@toruslabs/broadcast-channel": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/@toruslabs/broadcast-channel/-/broadcast-channel-8.0.0.tgz", - "integrity": "sha512-qCyWsHVL4Xtx1J6k1+acD7TJKCelJWyUy5Q5zyiWMPxMGFxTv1XdRyqpzV+VgwbcslIqgFN0GewOry2l1jlUQQ==", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@toruslabs/broadcast-channel/-/broadcast-channel-10.0.2.tgz", + "integrity": "sha512-aZbKNgV/OhiTKSdxBTGO86xRdeR7Ct1vkB8yeyXRX32moARhZ69uJQL49jKh4cWKV3VeijrL9XvKdn5bzgHQZg==", "dependencies": { - "@babel/runtime": "^7.22.10", + "@babel/runtime": "^7.24.0", "@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", + "@toruslabs/metadata-helpers": "^5.1.0", + "loglevel": "^1.9.1", + "oblivious-set": "1.4.0", + "socket.io-client": "^4.7.5", "unload": "^2.4.1" }, "engines": { @@ -4920,9 +4956,9 @@ } }, "node_modules/@toruslabs/constants": { - "version": "13.1.0", - "resolved": "https://registry.npmjs.org/@toruslabs/constants/-/constants-13.1.0.tgz", - "integrity": "sha512-W1LyRoM5xCTyNivGnxa+mOit4yWPZjyYHfM+whYBujP1nQVnJ09nSFCBn1ePm6ONxB5mp58jsI3TJugeY2KFSg==", + "version": "13.2.0", + "resolved": "https://registry.npmjs.org/@toruslabs/constants/-/constants-13.2.0.tgz", + "integrity": "sha512-n3nQxzsogjs76Zq3QqB9KbHfSFhlBtW4v6Z9zlVX6Pf8QraLd4OCHQFzZgrI2cDRz0oAix6Ihrzl0S7z18/J1g==", "engines": { "node": ">=18.x", "npm": ">=9.x" @@ -4932,24 +4968,25 @@ } }, "node_modules/@toruslabs/customauth": { - "version": "16.0.6", - "resolved": "https://registry.npmjs.org/@toruslabs/customauth/-/customauth-16.0.6.tgz", - "integrity": "sha512-4+Cxbxz3fxm750MMaMqMoJS0x8RZdD0y1tHLa/2T+b993cjRoQRixddTa3rWNYdbWsg2rgcmGkpXxywq3aLzwA==", + "version": "18.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/customauth/-/customauth-18.0.0.tgz", + "integrity": "sha512-iyeR8V9id58KQ9PJRTwAhFzRqmR6oQOqbFB3xBC13sBpI3e4XU07qzsLdlzX6N1HiFKi6Jmab2psiV4vsAf7WQ==", "dependencies": { - "@chaitanyapotti/register-service-worker": "^1.7.3", - "@toruslabs/broadcast-channel": "^8.0.0", - "@toruslabs/constants": "^13.0.1", + "@chaitanyapotti/register-service-worker": "^1.7.4", + "@toruslabs/broadcast-channel": "^10.0.2", + "@toruslabs/constants": "^13.2.0", "@toruslabs/eccrypto": "^4.0.0", - "@toruslabs/fetch-node-details": "^13.0.1", - "@toruslabs/http-helpers": "^5.0.0", - "@toruslabs/metadata-helpers": "^5.0.0", - "@toruslabs/torus.js": "^11.0.5", + "@toruslabs/fetch-node-details": "^13.2.0", + "@toruslabs/http-helpers": "^6.1.0", + "@toruslabs/metadata-helpers": "^5.1.0", + "@toruslabs/openlogin-session-manager": "^3.1.1", + "@toruslabs/torus.js": "^12.2.0", "base64url": "^3.0.1", "bowser": "^2.11.0", "events": "^3.3.0", - "jwt-decode": "^3.1.2", + "jwt-decode": "^4.0.0", "lodash.merge": "^4.6.2", - "loglevel": "^1.8.1" + "loglevel": "^1.9.1" }, "engines": { "node": ">=18.x", @@ -4965,6 +5002,69 @@ } } }, + "node_modules/@toruslabs/customauth/node_modules/@toruslabs/http-helpers": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/@toruslabs/http-helpers/-/http-helpers-6.1.1.tgz", + "integrity": "sha512-bJYOaltRzklzObhRdutT1wau17vXyrCCBKJOeN46F1t99MUXi5udQNeErFOcr9qBsvrq2q67eVBkU5XOeBMX5A==", + "dependencies": { + "lodash.merge": "^4.6.2", + "loglevel": "^1.9.1" + }, + "engines": { + "node": ">=18.x", + "npm": ">=9.x" + }, + "peerDependencies": { + "@babel/runtime": "^7.x", + "@sentry/types": "^7.x" + }, + "peerDependenciesMeta": { + "@sentry/types": { + "optional": true + } + } + }, + "node_modules/@toruslabs/customauth/node_modules/@toruslabs/torus.js": { + "version": "12.2.0", + "resolved": "https://registry.npmjs.org/@toruslabs/torus.js/-/torus.js-12.2.0.tgz", + "integrity": "sha512-XcpabndkplUDg6KGQqSdZQ/SmZBcpkqCTURkALIfkRkZw4uIa1LxRqflca+wjG58ulQxdS7u85B9LJW8FrDajg==", + "dependencies": { + "@toruslabs/constants": "^13.2.0", + "@toruslabs/eccrypto": "^4.0.0", + "@toruslabs/http-helpers": "^6.1.0", + "bn.js": "^5.2.1", + "elliptic": "^6.5.5", + "ethereum-cryptography": "^2.1.3", + "json-stable-stringify": "^1.1.1", + "loglevel": "^1.9.1" + }, + "engines": { + "node": ">=18.x", + "npm": ">=9.x" + }, + "peerDependencies": { + "@babel/runtime": "7.x" + } + }, + "node_modules/@toruslabs/customauth/node_modules/elliptic": { + "version": "6.5.5", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.5.tgz", + "integrity": "sha512-7EjbcmUm17NQFu4Pmgmq2olYMj8nwMnpcddByChSUjArp8F5DQWcIcpriwO4ZToLNAJig0yiyjswfyGNje/ixw==", + "dependencies": { + "bn.js": "^4.11.9", + "brorand": "^1.1.0", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.1", + "inherits": "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "node_modules/@toruslabs/customauth/node_modules/elliptic/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + }, "node_modules/@toruslabs/eccrypto": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/@toruslabs/eccrypto/-/eccrypto-4.0.0.tgz", @@ -5010,14 +5110,14 @@ } }, "node_modules/@toruslabs/fetch-node-details": { - "version": "13.1.1", - "resolved": "https://registry.npmjs.org/@toruslabs/fetch-node-details/-/fetch-node-details-13.1.1.tgz", - "integrity": "sha512-RjAPh+KAaXL406MaAJacyNhekIHojHJlgB5oU45o5l9rnCJrIEhcLVpWVeucdyDyq0L+btko1RYvIRUNqALPyQ==", + "version": "13.2.0", + "resolved": "https://registry.npmjs.org/@toruslabs/fetch-node-details/-/fetch-node-details-13.2.0.tgz", + "integrity": "sha512-RhrudJUeuEnrCgYn244Si8opBIrYccRJpG0THFtHhDVeeqGutHplAqG0WehkR+oIiXC9VOlVaCkNkn2cWW8/Mw==", "dependencies": { - "@toruslabs/constants": "^13.1.0", - "@toruslabs/fnd-base": "^13.1.1", - "@toruslabs/http-helpers": "^5.0.0", - "loglevel": "^1.8.1" + "@toruslabs/constants": "^13.2.0", + "@toruslabs/fnd-base": "^13.2.0", + "@toruslabs/http-helpers": "^6.1.0", + "loglevel": "^1.9.1" }, "engines": { "node": ">=18.x", @@ -5027,12 +5127,34 @@ "@babel/runtime": "7.x" } }, + "node_modules/@toruslabs/fetch-node-details/node_modules/@toruslabs/http-helpers": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/@toruslabs/http-helpers/-/http-helpers-6.1.1.tgz", + "integrity": "sha512-bJYOaltRzklzObhRdutT1wau17vXyrCCBKJOeN46F1t99MUXi5udQNeErFOcr9qBsvrq2q67eVBkU5XOeBMX5A==", + "dependencies": { + "lodash.merge": "^4.6.2", + "loglevel": "^1.9.1" + }, + "engines": { + "node": ">=18.x", + "npm": ">=9.x" + }, + "peerDependencies": { + "@babel/runtime": "^7.x", + "@sentry/types": "^7.x" + }, + "peerDependenciesMeta": { + "@sentry/types": { + "optional": true + } + } + }, "node_modules/@toruslabs/fnd-base": { - "version": "13.1.1", - "resolved": "https://registry.npmjs.org/@toruslabs/fnd-base/-/fnd-base-13.1.1.tgz", - "integrity": "sha512-tfEAtQVm8K4YOvF7NAc6qCBpXPz1vThYU5vD+7rxqFirnA/h7fUCKaSTLIE+9LWEHPJ1zBVybYU4S6kX87o+Kg==", + "version": "13.2.0", + "resolved": "https://registry.npmjs.org/@toruslabs/fnd-base/-/fnd-base-13.2.0.tgz", + "integrity": "sha512-GPrAztgh3FNPl0BrALFHgZbnGU4pmFAEJE8xkeLxV1GGmqA4YxzQfrpkPz9RsAv+HbYIS1DHKTEvvgOjmym+5A==", "dependencies": { - "@toruslabs/constants": "^13.1.0" + "@toruslabs/constants": "^13.2.0" }, "engines": { "node": ">=18.x", @@ -5065,15 +5187,73 @@ } }, "node_modules/@toruslabs/metadata-helpers": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/@toruslabs/metadata-helpers/-/metadata-helpers-5.0.1.tgz", - "integrity": "sha512-W3PcM8uluKDCJXKG/LdJ72irfTodOtU9dnES/rYfalhb0edaWwRb6SMULHpl2NxytY9ykrL6uPv+90BSMWH9VQ==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@toruslabs/metadata-helpers/-/metadata-helpers-5.1.0.tgz", + "integrity": "sha512-7fdqKuWUaJT/ng+PlqrA4XKkn8Dij4JJozfv/4gHTi0f/6JFncpzIces09jTV70hCf0JIsTCvIDlzKOdJ+aeZg==", "dependencies": { "@toruslabs/eccrypto": "^4.0.0", - "@toruslabs/http-helpers": "^5.0.0", - "elliptic": "^6.5.4", - "ethereum-cryptography": "^2.1.2", - "json-stable-stringify": "^1.0.2" + "@toruslabs/http-helpers": "^6.1.0", + "elliptic": "^6.5.5", + "ethereum-cryptography": "^2.1.3", + "json-stable-stringify": "^1.1.1" + }, + "engines": { + "node": ">=18.x", + "npm": ">=9.x" + }, + "peerDependencies": { + "@babel/runtime": "7.x" + } + }, + "node_modules/@toruslabs/metadata-helpers/node_modules/@toruslabs/http-helpers": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/@toruslabs/http-helpers/-/http-helpers-6.1.1.tgz", + "integrity": "sha512-bJYOaltRzklzObhRdutT1wau17vXyrCCBKJOeN46F1t99MUXi5udQNeErFOcr9qBsvrq2q67eVBkU5XOeBMX5A==", + "dependencies": { + "lodash.merge": "^4.6.2", + "loglevel": "^1.9.1" + }, + "engines": { + "node": ">=18.x", + "npm": ">=9.x" + }, + "peerDependencies": { + "@babel/runtime": "^7.x", + "@sentry/types": "^7.x" + }, + "peerDependenciesMeta": { + "@sentry/types": { + "optional": true + } + } + }, + "node_modules/@toruslabs/metadata-helpers/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + }, + "node_modules/@toruslabs/metadata-helpers/node_modules/elliptic": { + "version": "6.5.5", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.5.tgz", + "integrity": "sha512-7EjbcmUm17NQFu4Pmgmq2olYMj8nwMnpcddByChSUjArp8F5DQWcIcpriwO4ZToLNAJig0yiyjswfyGNje/ixw==", + "dependencies": { + "bn.js": "^4.11.9", + "brorand": "^1.1.0", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.1", + "inherits": "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "node_modules/@toruslabs/openlogin-session-manager": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-session-manager/-/openlogin-session-manager-3.1.1.tgz", + "integrity": "sha512-hikBX7CdiWCTNNfsiacPM9O+2Ysf6ULcn9E4og9BVSt4brduUQoa9ioNY6G5m0eH/xQCzRsLpSRGNuOPTBJm3w==", + "dependencies": { + "@toruslabs/base-session-manager": "^3.1.1", + "@toruslabs/eccrypto": "^4.0.0", + "@toruslabs/metadata-helpers": "5.1.0" }, "engines": { "node": ">=18.x", @@ -5212,6 +5392,7 @@ "version": "11.0.6", "resolved": "https://registry.npmjs.org/@toruslabs/torus.js/-/torus.js-11.0.6.tgz", "integrity": "sha512-l+Ba/DX1L2cLngiL08r8zZmRQ/A3MJ4pl20MaTzQuwxS2OfOXSReKld4YOWHwo5NEd36PHZdZ43qbh0NrzrwVQ==", + "dev": true, "dependencies": { "@toruslabs/constants": "^13.0.1", "@toruslabs/eccrypto": "^4.0.0", @@ -14145,9 +14326,12 @@ "dev": true }, "node_modules/jwt-decode": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-3.1.2.tgz", - "integrity": "sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A==" + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-4.0.0.tgz", + "integrity": "sha512-+KJGIyHgkGuIq3IEBNftfhW/LfWhXUIY6OmyVWjliu5KH1y0fw7VQ8YndE2O4qZdMSd9SqbnC8GOcZEy0Om7sA==", + "engines": { + "node": ">=18" + } }, "node_modules/karma": { "version": "6.4.3", @@ -18381,9 +18565,12 @@ } }, "node_modules/oblivious-set": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/oblivious-set/-/oblivious-set-1.1.1.tgz", - "integrity": "sha512-Oh+8fK09mgGmAshFdH6hSVco6KZmd1tTwNFWj35OvzdmJTMZtAkbn05zar2iG3v6sDs1JLEtOiBGNb6BHwkb2w==" + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/oblivious-set/-/oblivious-set-1.4.0.tgz", + "integrity": "sha512-szyd0ou0T8nsAqHtprRcP3WidfsN1TnAR5yWXf2mFCEr5ek3LEOkT6EZ/92Xfs74HIdyhG5WkGxIssMU0jBaeg==", + "engines": { + "node": ">=16" + } }, "node_modules/oboe": { "version": "2.1.5", @@ -22687,9 +22874,9 @@ } }, "node_modules/socket.io-client": { - "version": "4.7.4", - "resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-4.7.4.tgz", - "integrity": "sha512-wh+OkeF0rAVCrABWQBaEjLfb7DVPotMbu0cgWgyR0v6eA4EoVnAwcIeIbcdTE3GT/H3kbdLl7OoH2+asoDRIIg==", + "version": "4.7.5", + "resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-4.7.5.tgz", + "integrity": "sha512-sJ/tqHOCe7Z50JCBCXrsY3I2k03iOiUe+tj1OmKeD2lXPiGH/RUCdTZFoqVyN7l1MnpIzPrGtLcijffmeouNlQ==", "dependencies": { "@socket.io/component-emitter": "~3.1.0", "debug": "~4.3.2", @@ -25969,10 +26156,10 @@ "version": "9.1.0", "license": "MIT", "dependencies": { - "@toruslabs/customauth": "^16.0.6", + "@toruslabs/customauth": "^18.0.0", "@toruslabs/eccrypto": "^4.0.0", "@toruslabs/rss-client": "^1.5.0", - "@toruslabs/torus.js": "^11.0.6", + "@toruslabs/torus.js": "^12.2.0", "bn.js": "^5.2.1", "elliptic": "^6.5.4", "serialize-error": "^8.1.0", @@ -25989,6 +26176,69 @@ "@babel/runtime": "7.x" } }, + "packages/common-types/node_modules/@toruslabs/http-helpers": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/@toruslabs/http-helpers/-/http-helpers-6.1.1.tgz", + "integrity": "sha512-bJYOaltRzklzObhRdutT1wau17vXyrCCBKJOeN46F1t99MUXi5udQNeErFOcr9qBsvrq2q67eVBkU5XOeBMX5A==", + "dependencies": { + "lodash.merge": "^4.6.2", + "loglevel": "^1.9.1" + }, + "engines": { + "node": ">=18.x", + "npm": ">=9.x" + }, + "peerDependencies": { + "@babel/runtime": "^7.x", + "@sentry/types": "^7.x" + }, + "peerDependenciesMeta": { + "@sentry/types": { + "optional": true + } + } + }, + "packages/common-types/node_modules/@toruslabs/torus.js": { + "version": "12.2.0", + "resolved": "https://registry.npmjs.org/@toruslabs/torus.js/-/torus.js-12.2.0.tgz", + "integrity": "sha512-XcpabndkplUDg6KGQqSdZQ/SmZBcpkqCTURkALIfkRkZw4uIa1LxRqflca+wjG58ulQxdS7u85B9LJW8FrDajg==", + "dependencies": { + "@toruslabs/constants": "^13.2.0", + "@toruslabs/eccrypto": "^4.0.0", + "@toruslabs/http-helpers": "^6.1.0", + "bn.js": "^5.2.1", + "elliptic": "^6.5.5", + "ethereum-cryptography": "^2.1.3", + "json-stable-stringify": "^1.1.1", + "loglevel": "^1.9.1" + }, + "engines": { + "node": ">=18.x", + "npm": ">=9.x" + }, + "peerDependencies": { + "@babel/runtime": "7.x" + } + }, + "packages/common-types/node_modules/elliptic": { + "version": "6.5.5", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.5.tgz", + "integrity": "sha512-7EjbcmUm17NQFu4Pmgmq2olYMj8nwMnpcddByChSUjArp8F5DQWcIcpriwO4ZToLNAJig0yiyjswfyGNje/ixw==", + "dependencies": { + "bn.js": "^4.11.9", + "brorand": "^1.1.0", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.1", + "inherits": "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "packages/common-types/node_modules/elliptic/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + }, "packages/core": { "name": "@tkey-mpc/core", "version": "9.1.1", @@ -25998,7 +26248,7 @@ "@toruslabs/eccrypto": "^4.0.0", "@toruslabs/http-helpers": "^5.0.0", "@toruslabs/rss-client": "^1.5.0", - "@toruslabs/torus.js": "^11.0.6", + "@toruslabs/torus.js": "^12.2.0", "bn.js": "^5.2.1", "elliptic": "^6.5.4", "json-stable-stringify": "^1.0.2" @@ -26015,6 +26265,69 @@ "@babel/runtime": "7.x" } }, + "packages/core/node_modules/@toruslabs/torus.js": { + "version": "12.2.0", + "resolved": "https://registry.npmjs.org/@toruslabs/torus.js/-/torus.js-12.2.0.tgz", + "integrity": "sha512-XcpabndkplUDg6KGQqSdZQ/SmZBcpkqCTURkALIfkRkZw4uIa1LxRqflca+wjG58ulQxdS7u85B9LJW8FrDajg==", + "dependencies": { + "@toruslabs/constants": "^13.2.0", + "@toruslabs/eccrypto": "^4.0.0", + "@toruslabs/http-helpers": "^6.1.0", + "bn.js": "^5.2.1", + "elliptic": "^6.5.5", + "ethereum-cryptography": "^2.1.3", + "json-stable-stringify": "^1.1.1", + "loglevel": "^1.9.1" + }, + "engines": { + "node": ">=18.x", + "npm": ">=9.x" + }, + "peerDependencies": { + "@babel/runtime": "7.x" + } + }, + "packages/core/node_modules/@toruslabs/torus.js/node_modules/@toruslabs/http-helpers": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/@toruslabs/http-helpers/-/http-helpers-6.1.1.tgz", + "integrity": "sha512-bJYOaltRzklzObhRdutT1wau17vXyrCCBKJOeN46F1t99MUXi5udQNeErFOcr9qBsvrq2q67eVBkU5XOeBMX5A==", + "dependencies": { + "lodash.merge": "^4.6.2", + "loglevel": "^1.9.1" + }, + "engines": { + "node": ">=18.x", + "npm": ">=9.x" + }, + "peerDependencies": { + "@babel/runtime": "^7.x", + "@sentry/types": "^7.x" + }, + "peerDependenciesMeta": { + "@sentry/types": { + "optional": true + } + } + }, + "packages/core/node_modules/elliptic": { + "version": "6.5.5", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.5.tgz", + "integrity": "sha512-7EjbcmUm17NQFu4Pmgmq2olYMj8nwMnpcddByChSUjArp8F5DQWcIcpriwO4ZToLNAJig0yiyjswfyGNje/ixw==", + "dependencies": { + "bn.js": "^4.11.9", + "brorand": "^1.1.0", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.1", + "inherits": "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "packages/core/node_modules/elliptic/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + }, "packages/default": { "name": "@tkey-mpc/default", "version": "9.1.1", @@ -26128,8 +26441,8 @@ "dependencies": { "@tkey-mpc/common-types": "^9.1.0", "@tkey-mpc/service-provider-base": "^9.1.0", - "@toruslabs/customauth": "^16.0.6", - "@toruslabs/torus.js": "^11.0.6", + "@toruslabs/customauth": "^18.0.0", + "@toruslabs/torus.js": "^12.2.0", "bn.js": "^5.2.1", "elliptic": "^6.5.4" }, @@ -26144,6 +26457,69 @@ "@babel/runtime": "7.x" } }, + "packages/service-provider-torus/node_modules/@toruslabs/http-helpers": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/@toruslabs/http-helpers/-/http-helpers-6.1.1.tgz", + "integrity": "sha512-bJYOaltRzklzObhRdutT1wau17vXyrCCBKJOeN46F1t99MUXi5udQNeErFOcr9qBsvrq2q67eVBkU5XOeBMX5A==", + "dependencies": { + "lodash.merge": "^4.6.2", + "loglevel": "^1.9.1" + }, + "engines": { + "node": ">=18.x", + "npm": ">=9.x" + }, + "peerDependencies": { + "@babel/runtime": "^7.x", + "@sentry/types": "^7.x" + }, + "peerDependenciesMeta": { + "@sentry/types": { + "optional": true + } + } + }, + "packages/service-provider-torus/node_modules/@toruslabs/torus.js": { + "version": "12.2.0", + "resolved": "https://registry.npmjs.org/@toruslabs/torus.js/-/torus.js-12.2.0.tgz", + "integrity": "sha512-XcpabndkplUDg6KGQqSdZQ/SmZBcpkqCTURkALIfkRkZw4uIa1LxRqflca+wjG58ulQxdS7u85B9LJW8FrDajg==", + "dependencies": { + "@toruslabs/constants": "^13.2.0", + "@toruslabs/eccrypto": "^4.0.0", + "@toruslabs/http-helpers": "^6.1.0", + "bn.js": "^5.2.1", + "elliptic": "^6.5.5", + "ethereum-cryptography": "^2.1.3", + "json-stable-stringify": "^1.1.1", + "loglevel": "^1.9.1" + }, + "engines": { + "node": ">=18.x", + "npm": ">=9.x" + }, + "peerDependencies": { + "@babel/runtime": "7.x" + } + }, + "packages/service-provider-torus/node_modules/elliptic": { + "version": "6.5.5", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.5.tgz", + "integrity": "sha512-7EjbcmUm17NQFu4Pmgmq2olYMj8nwMnpcddByChSUjArp8F5DQWcIcpriwO4ZToLNAJig0yiyjswfyGNje/ixw==", + "dependencies": { + "bn.js": "^4.11.9", + "brorand": "^1.1.0", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.1", + "inherits": "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "packages/service-provider-torus/node_modules/elliptic/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + }, "packages/share-serialization": { "name": "@tkey-mpc/share-serialization", "version": "9.1.0", diff --git a/packages/common-types/package.json b/packages/common-types/package.json index d0e40c39..b6f6ba1c 100644 --- a/packages/common-types/package.json +++ b/packages/common-types/package.json @@ -43,10 +43,10 @@ "@babel/runtime": "7.x" }, "dependencies": { - "@toruslabs/customauth": "^16.0.6", + "@toruslabs/customauth": "^18.0.0", "@toruslabs/eccrypto": "^4.0.0", "@toruslabs/rss-client": "^1.5.0", - "@toruslabs/torus.js": "^11.0.6", + "@toruslabs/torus.js": "^12.2.0", "bn.js": "^5.2.1", "elliptic": "^6.5.4", "serialize-error": "^8.1.0", diff --git a/packages/core/package.json b/packages/core/package.json index 275e1c91..e30d6ec5 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -38,7 +38,7 @@ "@toruslabs/eccrypto": "^4.0.0", "@toruslabs/http-helpers": "^5.0.0", "@toruslabs/rss-client": "^1.5.0", - "@toruslabs/torus.js": "^11.0.6", + "@toruslabs/torus.js": "^12.2.0", "bn.js": "^5.2.1", "elliptic": "^6.5.4", "json-stable-stringify": "^1.0.2" diff --git a/packages/service-provider-torus/package.json b/packages/service-provider-torus/package.json index 1b98630b..be296320 100644 --- a/packages/service-provider-torus/package.json +++ b/packages/service-provider-torus/package.json @@ -40,8 +40,8 @@ "dependencies": { "@tkey-mpc/common-types": "^9.1.0", "@tkey-mpc/service-provider-base": "^9.1.0", - "@toruslabs/customauth": "^16.0.6", - "@toruslabs/torus.js": "^11.0.6", + "@toruslabs/customauth": "^18.0.0", + "@toruslabs/torus.js": "^12.2.0", "bn.js": "^5.2.1", "elliptic": "^6.5.4" },