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..1077b1ce 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 @@ -11,8 +11,8 @@ "@types/node": "20.5.3", "@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", @@ -21,7 +21,7 @@ "ethers": "^6.7.1", "fs": "^0.0.1-security", "jsonwebtoken": "^9.0.1", - "next": "13.4.19", + "next": "13.5.0", "react": "18.2.0", "react-dom": "18.2.0", "typescript": "5.1.6", @@ -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": { @@ -615,9 +615,9 @@ } }, "node_modules/@next/env": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/@next/env/-/env-13.4.19.tgz", - "integrity": "sha512-FsAT5x0jF2kkhNkKkukhsyYOrRqtSxrEhfliniIq0bwWbuXLgyt3Gv0Ml+b91XwjwArmuP7NxCiGd++GGKdNMQ==" + "version": "13.5.0", + "resolved": "https://registry.npmjs.org/@next/env/-/env-13.5.0.tgz", + "integrity": "sha512-mxhf/BskjPURT+qEjNP7wBvqre2q6OXEIbydF8BrH+duSSJQnB4/vzzuJDoahYwTXiUaXpouAnMWHZdG0HU62g==" }, "node_modules/@next/eslint-plugin-next": { "version": "13.4.19", @@ -628,9 +628,9 @@ } }, "node_modules/@next/swc-darwin-arm64": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.4.19.tgz", - "integrity": "sha512-vv1qrjXeGbuF2mOkhkdxMDtv9np7W4mcBtaDnHU+yJG+bBwa6rYsYSCI/9Xm5+TuF5SbZbrWO6G1NfTh1TMjvQ==", + "version": "13.5.0", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.5.0.tgz", + "integrity": "sha512-DavPD8oRjSoCRJana5DCAWdRZ4nbS7/pPw13DlnukFfMPJUk5hCAC3+NbqEyekS/X1IBFdZWSV2lJIdzTn4s6w==", "cpu": [ "arm64" ], @@ -643,9 +643,9 @@ } }, "node_modules/@next/swc-darwin-x64": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-13.4.19.tgz", - "integrity": "sha512-jyzO6wwYhx6F+7gD8ddZfuqO4TtpJdw3wyOduR4fxTUCm3aLw7YmHGYNjS0xRSYGAkLpBkH1E0RcelyId6lNsw==", + "version": "13.5.0", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-13.5.0.tgz", + "integrity": "sha512-s5QSKKB0CTKFWp3CNMC5GH1YOipH1Jjr5P3w+RQTC4Aybo6xPqeWp/UyDW0fxmLRq0e1zgnOMgDQRdxAkoThrw==", "cpu": [ "x64" ], @@ -658,9 +658,9 @@ } }, "node_modules/@next/swc-linux-arm64-gnu": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.4.19.tgz", - "integrity": "sha512-vdlnIlaAEh6H+G6HrKZB9c2zJKnpPVKnA6LBwjwT2BTjxI7e0Hx30+FoWCgi50e+YO49p6oPOtesP9mXDRiiUg==", + "version": "13.5.0", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.5.0.tgz", + "integrity": "sha512-E0fCKA8F2vfgZWwcv4iq642No75EiACSNUBNGvc5lx/ylqAUdNwE/9+x2SHv+LPUXFhZ6hZLR0Qox/oKgZqFlg==", "cpu": [ "arm64" ], @@ -673,9 +673,9 @@ } }, "node_modules/@next/swc-linux-arm64-musl": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.4.19.tgz", - "integrity": "sha512-aU0HkH2XPgxqrbNRBFb3si9Ahu/CpaR5RPmN2s9GiM9qJCiBBlZtRTiEca+DC+xRPyCThTtWYgxjWHgU7ZkyvA==", + "version": "13.5.0", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.5.0.tgz", + "integrity": "sha512-jG/blDDLndFRUcafCQO4TOI3VuoIZh3jQriZ7JaVCgAEZe0D1EUrxKdbBarZ74isutHZ6DpNGRDi/0OHFZpJAA==", "cpu": [ "arm64" ], @@ -688,9 +688,9 @@ } }, "node_modules/@next/swc-linux-x64-gnu": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.4.19.tgz", - "integrity": "sha512-htwOEagMa/CXNykFFeAHHvMJeqZfNQEoQvHfsA4wgg5QqGNqD5soeCer4oGlCol6NGUxknrQO6VEustcv+Md+g==", + "version": "13.5.0", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.5.0.tgz", + "integrity": "sha512-6JWR7U41uNL6HGwNbGg3Oedt+FN4YuA126sHWKTq3ic5kkhEusIIdVo7+WcswVJl8nTMB1yT3gEPwygQbVYVUA==", "cpu": [ "x64" ], @@ -703,9 +703,9 @@ } }, "node_modules/@next/swc-linux-x64-musl": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.4.19.tgz", - "integrity": "sha512-4Gj4vvtbK1JH8ApWTT214b3GwUh9EKKQjY41hH/t+u55Knxi/0wesMzwQRhppK6Ddalhu0TEttbiJ+wRcoEj5Q==", + "version": "13.5.0", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.5.0.tgz", + "integrity": "sha512-uY+wrYfD5QUossqznwidOpJYmmcBwojToZx55shihtbTl6afVYzOxsUbRXLdWmZAa36ckxXpqkvuFNS8icQuug==", "cpu": [ "x64" ], @@ -718,9 +718,9 @@ } }, "node_modules/@next/swc-win32-arm64-msvc": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.4.19.tgz", - "integrity": "sha512-bUfDevQK4NsIAHXs3/JNgnvEY+LRyneDN788W2NYiRIIzmILjba7LaQTfihuFawZDhRtkYCv3JDC3B4TwnmRJw==", + "version": "13.5.0", + "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.5.0.tgz", + "integrity": "sha512-lWZ5vJTULxTOdLcRmrllNgAdDRSDwk8oqJMyDxpqS691NG5uhle9ZwRj3g1F1/vHNkDa+B7PmWhQgG0nmlbKZg==", "cpu": [ "arm64" ], @@ -733,9 +733,9 @@ } }, "node_modules/@next/swc-win32-ia32-msvc": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.4.19.tgz", - "integrity": "sha512-Y5kikILFAr81LYIFaw6j/NrOtmiM4Sf3GtOc0pn50ez2GCkr+oejYuKGcwAwq3jiTKuzF6OF4iT2INPoxRycEA==", + "version": "13.5.0", + "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.5.0.tgz", + "integrity": "sha512-jirQXnVCU9hi3cHzgd33d4qSBXn1/0gUT/KtXqy9Ux9OTcIcjJT3TcAzoLJLTdhRg7op3MZoSnuFeWl8kmGGNw==", "cpu": [ "ia32" ], @@ -748,9 +748,9 @@ } }, "node_modules/@next/swc-win32-x64-msvc": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.4.19.tgz", - "integrity": "sha512-YzA78jBDXMYiINdPdJJwGgPNT3YqBNNGhsthsDoWHL9p24tEJn9ViQf/ZqTbwSpX/RrkPupLfuuTH2sf73JBAw==", + "version": "13.5.0", + "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.5.0.tgz", + "integrity": "sha512-Q8QYLyWcMMUp3DohI04VyJbLNCfFMNTxYNhujvJD2lowuqnqApUBP2DxI/jCZRMFWgKi76n5u8UboLVeYXn6jA==", "cpu": [ "x64" ], @@ -1008,23 +1008,28 @@ } }, "node_modules/@swc/helpers": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.1.tgz", - "integrity": "sha512-sJ902EfIzn1Fa+qYmjdQqh8tPsoxyBz+8yBKC2HKUxyezKJFwPGOn7pv4WY6QuQW//ySQi5lJjA/ZT9sNWWNTg==", + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.2.tgz", + "integrity": "sha512-E4KcWTpoLHqwPHLxidpOqQbcrZVgi0rsmmZXUle1jXmJfuIf/UWpczUJ7MZZ5tlxytgJXyp0w4PGkkeLiuIdZw==", "dependencies": { "tslib": "^2.4.0" } }, + "node_modules/@swc/helpers/node_modules/tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" + }, "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.6.0", + "resolved": "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-4.6.0.tgz", + "integrity": "sha512-z6GBiKrlvXdIE5LPskf4Ck5DTnQEpmAW7Ngk/auvt5mw1qz+6RQKpGQgJ4arF2hGD7ahZYnbly9Rv5ttmkGDdQ==", "dependencies": { "@ethereumjs/util": "^9.0.0", - "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/broadcast-channel": "^8.0.0", + "@metamask/rpc-errors": "^6.1.0", + "@toruslabs/broadcast-channel": "^9.0.1", "@toruslabs/http-helpers": "^5.0.0", - "@toruslabs/openlogin-jrpc": "^5.0.2", + "@toruslabs/openlogin-jrpc": "^5.3.0", "async-mutex": "^0.4.0", "bignumber.js": "^9.1.2", "bowser": "^2.11.0", @@ -1070,6 +1075,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 +1236,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 +1259,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 +1316,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" @@ -1503,11 +1527,6 @@ "tslib": "1.14.1" } }, - "node_modules/@walletconnect/events/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, "node_modules/@walletconnect/heartbeat": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/@walletconnect/heartbeat/-/heartbeat-1.2.1.tgz", @@ -1518,11 +1537,6 @@ "tslib": "1.14.1" } }, - "node_modules/@walletconnect/heartbeat/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, "node_modules/@walletconnect/jsonrpc-types": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.3.tgz", @@ -1532,11 +1546,6 @@ "tslib": "1.14.1" } }, - "node_modules/@walletconnect/jsonrpc-types/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, "node_modules/@walletconnect/keyvaluestorage": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/@walletconnect/keyvaluestorage/-/keyvaluestorage-1.0.2.tgz", @@ -1558,11 +1567,6 @@ } } }, - "node_modules/@walletconnect/keyvaluestorage/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, "node_modules/@walletconnect/legacy-types": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@walletconnect/legacy-types/-/legacy-types-2.0.0.tgz", @@ -1580,11 +1584,6 @@ "tslib": "1.14.1" } }, - "node_modules/@walletconnect/logger/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, "node_modules/@walletconnect/relay-api": { "version": "1.0.9", "resolved": "https://registry.npmjs.org/@walletconnect/relay-api/-/relay-api-1.0.9.tgz", @@ -1594,11 +1593,6 @@ "tslib": "1.14.1" } }, - "node_modules/@walletconnect/relay-api/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, "node_modules/@walletconnect/safe-json": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/@walletconnect/safe-json/-/safe-json-1.0.2.tgz", @@ -1607,11 +1601,6 @@ "tslib": "1.14.1" } }, - "node_modules/@walletconnect/safe-json/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, "node_modules/@walletconnect/time": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/@walletconnect/time/-/time-1.0.2.tgz", @@ -1620,15 +1609,10 @@ "tslib": "1.14.1" } }, - "node_modules/@walletconnect/time/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "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 +1623,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 +1635,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", @@ -1667,11 +1651,6 @@ "tslib": "1.14.1" } }, - "node_modules/@walletconnect/window-getters/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, "node_modules/@walletconnect/window-metadata": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@walletconnect/window-metadata/-/window-metadata-1.0.1.tgz", @@ -1681,20 +1660,15 @@ "tslib": "1.14.1" } }, - "node_modules/@walletconnect/window-metadata/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "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 +1682,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 +1701,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", @@ -2086,6 +2060,11 @@ "tslib": "^2.4.0" } }, + "node_modules/async-mutex/node_modules/tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" + }, "node_modules/asynciterator.prototype": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/asynciterator.prototype/-/asynciterator.prototype-1.0.0.tgz", @@ -4730,12 +4709,12 @@ "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==" }, "node_modules/next": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/next/-/next-13.4.19.tgz", - "integrity": "sha512-HuPSzzAbJ1T4BD8e0bs6B9C1kWQ6gv8ykZoRWs5AQoiIuqbGHHdQO7Ljuvg05Q0Z24E2ABozHe6FxDvI6HfyAw==", + "version": "13.5.0", + "resolved": "https://registry.npmjs.org/next/-/next-13.5.0.tgz", + "integrity": "sha512-mhguN5JPZXhhrD/nNcezXgKoxN8GT8xZvvGhUQV2ETiaNm+KHRWT1rCbrF5FlbG2XCcLRKOmOe3D5YQgXmJrDQ==", "dependencies": { - "@next/env": "13.4.19", - "@swc/helpers": "0.5.1", + "@next/env": "13.5.0", + "@swc/helpers": "0.5.2", "busboy": "1.6.0", "caniuse-lite": "^1.0.30001406", "postcss": "8.4.14", @@ -4747,18 +4726,18 @@ "next": "dist/bin/next" }, "engines": { - "node": ">=16.8.0" + "node": ">=16.14.0" }, "optionalDependencies": { - "@next/swc-darwin-arm64": "13.4.19", - "@next/swc-darwin-x64": "13.4.19", - "@next/swc-linux-arm64-gnu": "13.4.19", - "@next/swc-linux-arm64-musl": "13.4.19", - "@next/swc-linux-x64-gnu": "13.4.19", - "@next/swc-linux-x64-musl": "13.4.19", - "@next/swc-win32-arm64-msvc": "13.4.19", - "@next/swc-win32-ia32-msvc": "13.4.19", - "@next/swc-win32-x64-msvc": "13.4.19" + "@next/swc-darwin-arm64": "13.5.0", + "@next/swc-darwin-x64": "13.5.0", + "@next/swc-linux-arm64-gnu": "13.5.0", + "@next/swc-linux-arm64-musl": "13.5.0", + "@next/swc-linux-x64-gnu": "13.5.0", + "@next/swc-linux-x64-musl": "13.5.0", + "@next/swc-win32-arm64-msvc": "13.5.0", + "@next/swc-win32-ia32-msvc": "13.5.0", + "@next/swc-win32-x64-msvc": "13.5.0" }, "peerDependencies": { "@opentelemetry/api": "^1.1.0", @@ -5827,9 +5806,9 @@ } }, "node_modules/tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" }, "node_modules/tweetnacl": { "version": "1.0.3", 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..0311e868 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 @@ -22,7 +22,7 @@ "ethers": "^6.7.1", "fs": "^0.0.1-security", "jsonwebtoken": "^9.0.1", - "next": "13.4.19", + "next": "13.5.0", "react": "18.2.0", "react-dom": "18.2.0", "typescript": "5.1.6",