From c5698e9abf4f2299c8f6161d048356e04e6fda39 Mon Sep 17 00:00:00 2001 From: mehditorabiv Date: Sun, 1 Sep 2024 10:16:37 +0300 Subject: [PATCH 1/3] update snackbar --- src/components/shared/CustomSnackbar.tsx | 22 +++++++++++++++++----- src/pages/Dashboard/Dashboard.spec.tsx | 8 -------- src/pages/Dashboard/Dashboard.tsx | 3 --- src/pages/Dashboard/index.ts | 3 --- src/store/useSnackbarStore.ts | 3 +++ 5 files changed, 20 insertions(+), 19 deletions(-) delete mode 100644 src/pages/Dashboard/Dashboard.spec.tsx delete mode 100644 src/pages/Dashboard/Dashboard.tsx delete mode 100644 src/pages/Dashboard/index.ts diff --git a/src/components/shared/CustomSnackbar.tsx b/src/components/shared/CustomSnackbar.tsx index 800aea6..1bef586 100644 --- a/src/components/shared/CustomSnackbar.tsx +++ b/src/components/shared/CustomSnackbar.tsx @@ -1,5 +1,4 @@ -import { Snackbar, Alert } from '@mui/material'; - +import { Snackbar, Alert, AlertTitle, Link, Box } from '@mui/material'; import useSnackbarStore from '../../store/useSnackbarStore'; /** @@ -16,18 +15,31 @@ export const CustomSnackbar = (): JSX.Element => { anchorOrigin={ options?.position || { vertical: 'bottom', horizontal: 'right' } } - autoHideDuration={options?.duration} + autoHideDuration={options?.duration ?? 3000} open={open} onClose={closeSnackbar} > - {message} + + + {message} + {options?.linkText && options?.linkUrl && ( + + {options.linkText} + + )} + + ); }; + +export default CustomSnackbar; diff --git a/src/pages/Dashboard/Dashboard.spec.tsx b/src/pages/Dashboard/Dashboard.spec.tsx deleted file mode 100644 index 120b5b3..0000000 --- a/src/pages/Dashboard/Dashboard.spec.tsx +++ /dev/null @@ -1,8 +0,0 @@ -import { render, screen } from '@testing-library/react'; -import { Dashboard } from './Dashboard'; - -test('renders Dashboard text', () => { - render(); - const dashboardElement = screen.getByText(/Dashboard/i); - expect(dashboardElement).toBeInTheDocument(); -}); diff --git a/src/pages/Dashboard/Dashboard.tsx b/src/pages/Dashboard/Dashboard.tsx deleted file mode 100644 index 6bd3d90..0000000 --- a/src/pages/Dashboard/Dashboard.tsx +++ /dev/null @@ -1,3 +0,0 @@ -export function Dashboard() { - return
Dashboard
; -} diff --git a/src/pages/Dashboard/index.ts b/src/pages/Dashboard/index.ts deleted file mode 100644 index 6b95d8c..0000000 --- a/src/pages/Dashboard/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { Dashboard } from "./Dashboard"; - -export default Dashboard; diff --git a/src/store/useSnackbarStore.ts b/src/store/useSnackbarStore.ts index 5fd469b..5815113 100644 --- a/src/store/useSnackbarStore.ts +++ b/src/store/useSnackbarStore.ts @@ -13,6 +13,9 @@ interface SnackbarOptions { severity?: 'success' | 'error' | 'warning' | 'info'; duration?: number; position?: SnackbarOrigin; + icon?: React.ReactNode; + linkText?: string; + linkUrl?: string; } const useSnackbarStore = create((set) => ({ From 058c3654bf6f8b5fe48a4d8e0d58f3b3e25f5401 Mon Sep 17 00:00:00 2001 From: mehditorabiv Date: Sun, 1 Sep 2024 10:29:27 +0300 Subject: [PATCH 2/3] revert --- package-lock.json | 1431 ++++++++++++++++++++++++++--------------- package.json | 6 +- src/libs/oci/index.ts | 2 +- src/router/index.tsx | 65 -- 4 files changed, 900 insertions(+), 604 deletions(-) delete mode 100644 src/router/index.tsx diff --git a/package-lock.json b/package-lock.json index 7baff60..3a79d42 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,11 +10,11 @@ "dependencies": { "@emotion/react": "^11.11.4", "@emotion/styled": "^11.11.5", - "@ethereum-attestation-service/eas-sdk": "^2.5.0", + "@ethereum-attestation-service/eas-sdk": "^2.2.0", "@fontsource/inter": "^5.0.19", "@fontsource/roboto": "^5.0.13", - "@lit-protocol/lit-node-client": "^6.4.0", - "@lit-protocol/types": "^6.4.0", + "@lit-protocol/lit-node-client": "^5.1.0", + "@lit-protocol/types": "^2.2.39", "@mui/icons-material": "^5.16.0", "@mui/material": "^5.16.0", "@rainbow-me/rainbowkit": "^2.1.3", @@ -3046,13 +3046,12 @@ } }, "node_modules/@ethereum-attestation-service/eas-sdk": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@ethereum-attestation-service/eas-sdk/-/eas-sdk-2.5.0.tgz", - "integrity": "sha512-3Lt7mDmrIjJqfWcR2rMpwzOOcbcn39G02ziXJbkO9R9FNro4U9uZSyhh1iQsbXUgf0LLisd3LrcrmNg8Wo9rKA==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@ethereum-attestation-service/eas-sdk/-/eas-sdk-2.2.0.tgz", + "integrity": "sha512-G2t1kfKzSZA+QVymwFG/i+WkjBAtSrErrSi6Dn0IvmA74mqQ6afDxtPi5mPp5GOdjWd5atZXvUyYCZEb81nCFQ==", "license": "MIT", "dependencies": { "@ethereum-attestation-service/eas-contracts": "1.4.1", - "@openzeppelin/merkle-tree": "^1.0.6", "ethers": "^6.11.1", "js-base64": "^3.7.7", "lodash": "^4.17.21", @@ -4273,31 +4272,48 @@ "license": "BSD-3-Clause" }, "node_modules/@lit-protocol/access-control-conditions": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@lit-protocol/access-control-conditions/-/access-control-conditions-6.4.0.tgz", - "integrity": "sha512-1pzbCG1R7a1EIwFYA76u7/b082tFFZkQlNn2WsWmGURZzKDmDU8lZ4AGBslx0P7PKPia6BljRmDwaZ6UDf/F1A==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@lit-protocol/access-control-conditions/-/access-control-conditions-5.1.0.tgz", + "integrity": "sha512-CPL0vCtNCFDyBLIP1P7l9MiRLQkAiiI4Sz9fiAV7VYRn2jF/ylErXX+BnGaDuOwuH6nbXwj5exAxF+mebTJV4A==", "license": "MIT", "dependencies": { "@ethersproject/abstract-provider": "5.7.0", "@ethersproject/contracts": "5.7.0", "@ethersproject/providers": "5.7.2", "@lit-protocol/accs-schemas": "0.0.7", - "@lit-protocol/constants": "6.4.0", - "@lit-protocol/contracts": "^0.0.39", - "@lit-protocol/logger": "6.4.0", - "@lit-protocol/misc": "6.4.0", - "@lit-protocol/types": "6.4.0", - "@lit-protocol/uint8arrays": "6.4.0", + "@lit-protocol/auth-helpers": "5.1.0", + "@lit-protocol/constants": "5.1.0", + "@lit-protocol/logger": "5.1.0", + "@lit-protocol/misc": "5.1.0", + "@lit-protocol/types": "5.1.0", + "@lit-protocol/uint8arrays": "5.1.0", "ajv": "^8.12.0", "ethers": "^5.7.1", "jszip": "^3.10.1", "punycode": "2.3.1", "siwe": "^2.0.5", - "tslib": "1.14.1", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0", "uint8arrays": "^4.0.3", "util": "0.12.5" } }, + "node_modules/@lit-protocol/access-control-conditions/node_modules/@lit-protocol/types": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@lit-protocol/types/-/types-5.1.0.tgz", + "integrity": "sha512-VundTuMZZ5bRKeG5sWaX0e33H8BAka94XHYKTGXWJ81XmU0WBJ7YO+WDCeHsyix/SM9246klVzd8dwQsGcDzZw==", + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-provider": "5.7.0", + "@lit-protocol/accs-schemas": "0.0.7", + "@lit-protocol/auth-helpers": "5.1.0", + "ethers": "^5.7.1", + "jszip": "^3.10.1", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0" + } + }, "node_modules/@lit-protocol/access-control-conditions/node_modules/ajv": { "version": "8.17.1", "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", @@ -4369,20 +4385,28 @@ "license": "MIT" }, "node_modules/@lit-protocol/access-control-conditions/node_modules/multiformats": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", - "integrity": "sha512-eajQ/ZH7qXZQR2AgtfpmSMizQzmyYVmCql7pdhldPuYQi4atACekbJaQplk6dWyIi10jCaFnd6pqvcEFXjbaJw==", + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", "license": "Apache-2.0 OR MIT", "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" } }, - "node_modules/@lit-protocol/access-control-conditions/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "license": "0BSD" + "node_modules/@lit-protocol/access-control-conditions/node_modules/siwe-recap": { + "version": "0.0.2-alpha.0", + "resolved": "https://registry.npmjs.org/siwe-recap/-/siwe-recap-0.0.2-alpha.0.tgz", + "integrity": "sha512-xqFUnvrACWW/Q4s5HQ02avg8IyH2RcgkUzfvN4scYaaHErotLVtTGDZkSS0sn/oNK4MXRt83lTqredsvXgt8iA==", + "license": "MIT", + "dependencies": { + "canonicalize": "^2.0.0", + "multiformats": "^11.0.2", + "siwe": "^2.1.4" + }, + "peerDependencies": { + "ethers": "^5.5.1" + } }, "node_modules/@lit-protocol/access-control-conditions/node_modules/uint8arrays": { "version": "4.0.10", @@ -4393,6 +4417,16 @@ "multiformats": "^12.0.1" } }, + "node_modules/@lit-protocol/access-control-conditions/node_modules/uint8arrays/node_modules/multiformats": { + "version": "12.1.3", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", + "integrity": "sha512-eajQ/ZH7qXZQR2AgtfpmSMizQzmyYVmCql7pdhldPuYQi4atACekbJaQplk6dWyIi10jCaFnd6pqvcEFXjbaJw==", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@lit-protocol/accs-schemas": { "version": "0.0.7", "resolved": "https://registry.npmjs.org/@lit-protocol/accs-schemas/-/accs-schemas-0.0.7.tgz", @@ -4425,9 +4459,9 @@ "license": "MIT" }, "node_modules/@lit-protocol/auth-browser": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@lit-protocol/auth-browser/-/auth-browser-6.4.0.tgz", - "integrity": "sha512-lyFypEBQkAhZATczcsDf2isH5H3APN9rElgZaeUDVAyIBsX5jFr+RRep9SmePS23xuBVVc0g9FwBAroHV5UQpw==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@lit-protocol/auth-browser/-/auth-browser-5.1.0.tgz", + "integrity": "sha512-pyrc5uQv+gt3vTnyfom8g1vyD/fZPlNfuW6pfiYuicSoWB0hbnIos24/tuia6SUYmwnqIFSDNLYpbJ1lN+io3g==", "license": "MIT", "dependencies": { "@ethersproject/abstract-provider": "5.7.0", @@ -4437,21 +4471,39 @@ "@ethersproject/strings": "5.7.0", "@ethersproject/wallet": "5.7.0", "@lit-protocol/accs-schemas": "0.0.7", - "@lit-protocol/constants": "6.4.0", - "@lit-protocol/contracts": "^0.0.39", - "@lit-protocol/logger": "6.4.0", - "@lit-protocol/misc": "6.4.0", - "@lit-protocol/misc-browser": "6.4.0", - "@lit-protocol/types": "6.4.0", - "@lit-protocol/uint8arrays": "6.4.0", + "@lit-protocol/auth-helpers": "5.1.0", + "@lit-protocol/constants": "5.1.0", + "@lit-protocol/logger": "5.1.0", + "@lit-protocol/misc": "5.1.0", + "@lit-protocol/misc-browser": "5.1.0", + "@lit-protocol/types": "5.1.0", + "@lit-protocol/uint8arrays": "5.1.0", "ajv": "^8.12.0", + "buffer": "5.7.1", "ethers": "^5.7.1", "jszip": "^3.10.1", "punycode": "2.3.1", - "tslib": "1.14.1", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0", "uint8arrays": "^4.0.3" } }, + "node_modules/@lit-protocol/auth-browser/node_modules/@lit-protocol/types": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@lit-protocol/types/-/types-5.1.0.tgz", + "integrity": "sha512-VundTuMZZ5bRKeG5sWaX0e33H8BAka94XHYKTGXWJ81XmU0WBJ7YO+WDCeHsyix/SM9246klVzd8dwQsGcDzZw==", + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-provider": "5.7.0", + "@lit-protocol/accs-schemas": "0.0.7", + "@lit-protocol/auth-helpers": "5.1.0", + "ethers": "^5.7.1", + "jszip": "^3.10.1", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0" + } + }, "node_modules/@lit-protocol/auth-browser/node_modules/ajv": { "version": "8.17.1", "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", @@ -4468,6 +4520,30 @@ "url": "https://github.com/sponsors/epoberezkin" } }, + "node_modules/@lit-protocol/auth-browser/node_modules/buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, "node_modules/@lit-protocol/auth-browser/node_modules/ethers": { "version": "5.7.2", "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz", @@ -4523,20 +4599,28 @@ "license": "MIT" }, "node_modules/@lit-protocol/auth-browser/node_modules/multiformats": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", - "integrity": "sha512-eajQ/ZH7qXZQR2AgtfpmSMizQzmyYVmCql7pdhldPuYQi4atACekbJaQplk6dWyIi10jCaFnd6pqvcEFXjbaJw==", + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", "license": "Apache-2.0 OR MIT", "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" } }, - "node_modules/@lit-protocol/auth-browser/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "license": "0BSD" + "node_modules/@lit-protocol/auth-browser/node_modules/siwe-recap": { + "version": "0.0.2-alpha.0", + "resolved": "https://registry.npmjs.org/siwe-recap/-/siwe-recap-0.0.2-alpha.0.tgz", + "integrity": "sha512-xqFUnvrACWW/Q4s5HQ02avg8IyH2RcgkUzfvN4scYaaHErotLVtTGDZkSS0sn/oNK4MXRt83lTqredsvXgt8iA==", + "license": "MIT", + "dependencies": { + "canonicalize": "^2.0.0", + "multiformats": "^11.0.2", + "siwe": "^2.1.4" + }, + "peerDependencies": { + "ethers": "^5.5.1" + } }, "node_modules/@lit-protocol/auth-browser/node_modules/uint8arrays": { "version": "4.0.10", @@ -4547,48 +4631,24 @@ "multiformats": "^12.0.1" } }, - "node_modules/@lit-protocol/auth-helpers": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@lit-protocol/auth-helpers/-/auth-helpers-6.4.0.tgz", - "integrity": "sha512-LhsuERScfUWftbOSgf6bZOUlJaZztuIhA7m7d38MoeHtCdnqC63+Gf16xbbmgVcA8SXhf4+OmMEu42lwkwv4MQ==", - "license": "MIT", - "dependencies": { - "@ethersproject/abstract-provider": "5.7.0", - "@ethersproject/contracts": "5.7.0", - "@ethersproject/providers": "5.7.2", - "@lit-protocol/access-control-conditions": "6.4.0", - "@lit-protocol/accs-schemas": "0.0.7", - "@lit-protocol/constants": "6.4.0", - "@lit-protocol/contracts": "^0.0.39", - "@lit-protocol/logger": "6.4.0", - "@lit-protocol/misc": "6.4.0", - "@lit-protocol/types": "6.4.0", - "@lit-protocol/uint8arrays": "6.4.0", - "ajv": "^8.12.0", - "ethers": "^5.7.1", - "jszip": "^3.10.1", - "punycode": "2.3.1", - "siwe": "^2.0.5", - "siwe-recap": "0.0.2-alpha.0", - "tslib": "2.6.0", - "uint8arrays": "^4.0.3", - "util": "0.12.5" + "node_modules/@lit-protocol/auth-browser/node_modules/uint8arrays/node_modules/multiformats": { + "version": "12.1.3", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", + "integrity": "sha512-eajQ/ZH7qXZQR2AgtfpmSMizQzmyYVmCql7pdhldPuYQi4atACekbJaQplk6dWyIi10jCaFnd6pqvcEFXjbaJw==", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" } }, - "node_modules/@lit-protocol/auth-helpers/node_modules/ajv": { - "version": "8.17.1", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", - "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "node_modules/@lit-protocol/auth-helpers": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@lit-protocol/auth-helpers/-/auth-helpers-5.1.0.tgz", + "integrity": "sha512-rd+5TTpIZ1kjpsRKckihlpa43uKUa5HTdvxcO18maPuRW2cMJq/qfR8IY+JT9ji/wiet3LL/6395ULny28Bq6g==", "license": "MIT", "dependencies": { - "fast-deep-equal": "^3.1.3", - "fast-uri": "^3.0.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0" } }, "node_modules/@lit-protocol/auth-helpers/node_modules/ethers": { @@ -4606,6 +4666,7 @@ } ], "license": "MIT", + "peer": true, "dependencies": { "@ethersproject/abi": "5.7.0", "@ethersproject/abstract-provider": "5.7.0", @@ -4639,12 +4700,6 @@ "@ethersproject/wordlists": "5.7.0" } }, - "node_modules/@lit-protocol/auth-helpers/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "license": "MIT" - }, "node_modules/@lit-protocol/auth-helpers/node_modules/multiformats": { "version": "11.0.2", "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", @@ -4669,35 +4724,10 @@ "ethers": "^5.5.1" } }, - "node_modules/@lit-protocol/auth-helpers/node_modules/tslib": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.0.tgz", - "integrity": "sha512-7At1WUettjcSRHXCyYtTselblcHl9PJFFVKiCAy/bY97+BPZXSQ2wbq0P9s8tK2G7dFQfNnlJnPAiArVBVBsfA==", - "license": "0BSD" - }, - "node_modules/@lit-protocol/auth-helpers/node_modules/uint8arrays": { - "version": "4.0.10", - "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-4.0.10.tgz", - "integrity": "sha512-AnJNUGGDJAgFw/eWu/Xb9zrVKEGlwJJCaeInlf3BkecE/zcTobk5YXYIPNQJO1q5Hh1QZrQQHf0JvcHqz2hqoA==", - "license": "Apache-2.0 OR MIT", - "dependencies": { - "multiformats": "^12.0.1" - } - }, - "node_modules/@lit-protocol/auth-helpers/node_modules/uint8arrays/node_modules/multiformats": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", - "integrity": "sha512-eajQ/ZH7qXZQR2AgtfpmSMizQzmyYVmCql7pdhldPuYQi4atACekbJaQplk6dWyIi10jCaFnd6pqvcEFXjbaJw==", - "license": "Apache-2.0 OR MIT", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@lit-protocol/bls-sdk": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@lit-protocol/bls-sdk/-/bls-sdk-6.4.0.tgz", - "integrity": "sha512-blfauiCYX+zIIwcDkFVHlh29nFvJNMZQQmgwxUfCVUQD502ejb67IMqz02u43t9opzCVlFBYFxjXMtPVNyoI5A==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@lit-protocol/bls-sdk/-/bls-sdk-5.1.0.tgz", + "integrity": "sha512-ShTWVGLDb2IV2yWyGg/HQRREbYkdZeX8Lm4k4FRJbeC0agDOG96LwrmohT2W1obo3+RPnRMU5IybqMIsFv43RQ==", "license": "MIT", "dependencies": { "tslib": "1.14.1", @@ -4711,19 +4741,36 @@ "license": "0BSD" }, "node_modules/@lit-protocol/constants": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@lit-protocol/constants/-/constants-6.4.0.tgz", - "integrity": "sha512-lnCpxymWbuY2xsSlnmNsJkFY8LoSdj6JeqGD1fVfXUv/seMn0iEUfaZ1XNgw4TY5GnJsv0z9K2cwaKmQkLxGVQ==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@lit-protocol/constants/-/constants-5.1.0.tgz", + "integrity": "sha512-TB5QDY16OIrRyJ4UMMMrr0zZ+n64gnoi0+7hmXJZbvcEous0LODnPcuddIvPr8luaRDnAlmS8fzsDOnX0dDo9g==", "license": "MIT", "dependencies": { "@ethersproject/abstract-provider": "5.7.0", "@lit-protocol/accs-schemas": "0.0.7", - "@lit-protocol/contracts": "^0.0.39", - "@lit-protocol/types": "6.4.0", + "@lit-protocol/auth-helpers": "5.1.0", + "@lit-protocol/types": "5.1.0", "ethers": "^5.7.1", "jszip": "^3.10.1", "siwe": "^2.0.5", - "tslib": "1.14.1" + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0" + } + }, + "node_modules/@lit-protocol/constants/node_modules/@lit-protocol/types": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@lit-protocol/types/-/types-5.1.0.tgz", + "integrity": "sha512-VundTuMZZ5bRKeG5sWaX0e33H8BAka94XHYKTGXWJ81XmU0WBJ7YO+WDCeHsyix/SM9246klVzd8dwQsGcDzZw==", + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-provider": "5.7.0", + "@lit-protocol/accs-schemas": "0.0.7", + "@lit-protocol/auth-helpers": "5.1.0", + "ethers": "^5.7.1", + "jszip": "^3.10.1", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0" } }, "node_modules/@lit-protocol/constants/node_modules/ethers": { @@ -4774,24 +4821,34 @@ "@ethersproject/wordlists": "5.7.0" } }, - "node_modules/@lit-protocol/constants/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "license": "0BSD" + "node_modules/@lit-protocol/constants/node_modules/multiformats": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } }, - "node_modules/@lit-protocol/contracts": { - "version": "0.0.39", - "resolved": "https://registry.npmjs.org/@lit-protocol/contracts/-/contracts-0.0.39.tgz", - "integrity": "sha512-zz/TaKWUqFK2n7BqwKj9PeV0px89G7dnjkRJ9BM/eri356zodd/W5d5iGQUVdaFiCYKd/cibm4004BnuMlXLeg==", + "node_modules/@lit-protocol/constants/node_modules/siwe-recap": { + "version": "0.0.2-alpha.0", + "resolved": "https://registry.npmjs.org/siwe-recap/-/siwe-recap-0.0.2-alpha.0.tgz", + "integrity": "sha512-xqFUnvrACWW/Q4s5HQ02avg8IyH2RcgkUzfvN4scYaaHErotLVtTGDZkSS0sn/oNK4MXRt83lTqredsvXgt8iA==", + "license": "MIT", + "dependencies": { + "canonicalize": "^2.0.0", + "multiformats": "^11.0.2", + "siwe": "^2.1.4" + }, "peerDependencies": { - "typescript": "^5.0.0" + "ethers": "^5.5.1" } }, "node_modules/@lit-protocol/contracts-sdk": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@lit-protocol/contracts-sdk/-/contracts-sdk-6.4.0.tgz", - "integrity": "sha512-qZuFIiSjdWyBXmkhRRvb0FrKfGwXe4+3f0ARytPDFNL2g5mMwy5IQ9EQPm0HnAe0/HqrBX3oZ+DPsjRHJ4g7qQ==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@lit-protocol/contracts-sdk/-/contracts-sdk-5.1.0.tgz", + "integrity": "sha512-llKHR/lUNdTUucGvByJDhdESHz4RIHwWyIjQ5pD9jPcuNdHmgobQ0+AuN/0C0e+HZbXz/4CdUp3L3WZgwaX80w==", "license": "MIT", "dependencies": { "@cosmjs/amino": "0.30.1", @@ -4802,11 +4859,11 @@ "@ethersproject/contracts": "5.7.0", "@ethersproject/providers": "5.7.2", "@lit-protocol/accs-schemas": "0.0.7", - "@lit-protocol/constants": "6.4.0", - "@lit-protocol/contracts": "^0.0.39", - "@lit-protocol/logger": "6.4.0", - "@lit-protocol/misc": "6.4.0", - "@lit-protocol/types": "6.4.0", + "@lit-protocol/auth-helpers": "5.1.0", + "@lit-protocol/constants": "5.1.0", + "@lit-protocol/logger": "5.1.0", + "@lit-protocol/misc": "5.1.0", + "@lit-protocol/types": "5.1.0", "ajv": "^8.12.0", "bitcoinjs-lib": "^6.1.0", "ethers": "^5.7.1", @@ -4815,11 +4872,28 @@ "process": "0.11.10", "punycode": "2.3.1", "siwe": "^2.0.5", - "tslib": "1.14.1", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0", "uint8arrays": "^4.0.3", "util": "0.12.5" } }, + "node_modules/@lit-protocol/contracts-sdk/node_modules/@lit-protocol/types": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@lit-protocol/types/-/types-5.1.0.tgz", + "integrity": "sha512-VundTuMZZ5bRKeG5sWaX0e33H8BAka94XHYKTGXWJ81XmU0WBJ7YO+WDCeHsyix/SM9246klVzd8dwQsGcDzZw==", + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-provider": "5.7.0", + "@lit-protocol/accs-schemas": "0.0.7", + "@lit-protocol/auth-helpers": "5.1.0", + "ethers": "^5.7.1", + "jszip": "^3.10.1", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0" + } + }, "node_modules/@lit-protocol/contracts-sdk/node_modules/ajv": { "version": "8.17.1", "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", @@ -4891,20 +4965,28 @@ "license": "MIT" }, "node_modules/@lit-protocol/contracts-sdk/node_modules/multiformats": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", - "integrity": "sha512-eajQ/ZH7qXZQR2AgtfpmSMizQzmyYVmCql7pdhldPuYQi4atACekbJaQplk6dWyIi10jCaFnd6pqvcEFXjbaJw==", + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", "license": "Apache-2.0 OR MIT", "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" } }, - "node_modules/@lit-protocol/contracts-sdk/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "license": "0BSD" + "node_modules/@lit-protocol/contracts-sdk/node_modules/siwe-recap": { + "version": "0.0.2-alpha.0", + "resolved": "https://registry.npmjs.org/siwe-recap/-/siwe-recap-0.0.2-alpha.0.tgz", + "integrity": "sha512-xqFUnvrACWW/Q4s5HQ02avg8IyH2RcgkUzfvN4scYaaHErotLVtTGDZkSS0sn/oNK4MXRt83lTqredsvXgt8iA==", + "license": "MIT", + "dependencies": { + "canonicalize": "^2.0.0", + "multiformats": "^11.0.2", + "siwe": "^2.1.4" + }, + "peerDependencies": { + "ethers": "^5.5.1" + } }, "node_modules/@lit-protocol/contracts-sdk/node_modules/uint8arrays": { "version": "4.0.10", @@ -4915,37 +4997,47 @@ "multiformats": "^12.0.1" } }, - "node_modules/@lit-protocol/core": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@lit-protocol/core/-/core-6.4.0.tgz", - "integrity": "sha512-qp6NHl4RuBvflB0vIxgdBC4m7ZjgeeWySiOyFSkytXv5lb9xdkDGksv5UaTV4ReeKsr9+4eKd25BCBiXF/TBXA==", - "license": "MIT", - "dependencies": { - "@cosmjs/amino": "0.30.1", - "@cosmjs/crypto": "0.30.1", + "node_modules/@lit-protocol/contracts-sdk/node_modules/uint8arrays/node_modules/multiformats": { + "version": "12.1.3", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", + "integrity": "sha512-eajQ/ZH7qXZQR2AgtfpmSMizQzmyYVmCql7pdhldPuYQi4atACekbJaQplk6dWyIi10jCaFnd6pqvcEFXjbaJw==", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@lit-protocol/core": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@lit-protocol/core/-/core-5.1.0.tgz", + "integrity": "sha512-2agtSqLEBjkFkNynhdpY/EKezWNwfBMlLGNrRTk/WcYc1AURRFCDwH7wktyls6Dpzsqw4Ic/ZjKafBAzKcZTRg==", + "license": "MIT", + "dependencies": { + "@cosmjs/amino": "0.30.1", + "@cosmjs/crypto": "0.30.1", "@cosmjs/encoding": "0.30.1", "@ethersproject/abi": "5.7.0", "@ethersproject/abstract-provider": "5.7.0", "@ethersproject/contracts": "5.7.0", "@ethersproject/providers": "5.7.2", - "@lit-protocol/access-control-conditions": "6.4.0", + "@lit-protocol/access-control-conditions": "5.1.0", "@lit-protocol/accs-schemas": "0.0.7", - "@lit-protocol/bls-sdk": "6.4.0", - "@lit-protocol/constants": "6.4.0", - "@lit-protocol/contracts": "^0.0.39", - "@lit-protocol/contracts-sdk": "6.4.0", - "@lit-protocol/crypto": "6.4.0", - "@lit-protocol/ecdsa-sdk": "6.4.0", - "@lit-protocol/logger": "6.4.0", - "@lit-protocol/misc": "6.4.0", - "@lit-protocol/nacl": "6.4.0", - "@lit-protocol/sev-snp-utils-sdk": "6.4.0", - "@lit-protocol/types": "6.4.0", - "@lit-protocol/uint8arrays": "6.4.0", + "@lit-protocol/auth-helpers": "5.1.0", + "@lit-protocol/bls-sdk": "5.1.0", + "@lit-protocol/constants": "5.1.0", + "@lit-protocol/contracts-sdk": "5.1.0", + "@lit-protocol/crypto": "5.1.0", + "@lit-protocol/ecdsa-sdk": "5.1.0", + "@lit-protocol/logger": "5.1.0", + "@lit-protocol/misc": "5.1.0", + "@lit-protocol/nacl": "5.1.0", + "@lit-protocol/sev-snp-utils-sdk": "5.1.0", + "@lit-protocol/types": "5.1.0", + "@lit-protocol/uint8arrays": "5.1.0", "ajv": "^8.12.0", "bitcoinjs-lib": "^6.1.0", "bs58": "^5.0.0", - "cross-fetch": "3.1.4", + "cross-fetch": "^3.1.4", "date-and-time": "^2.4.1", "ethers": "^5.7.1", "jose": "^4.14.4", @@ -4955,11 +5047,28 @@ "process": "0.11.10", "punycode": "2.3.1", "siwe": "^2.0.5", - "tslib": "1.14.1", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0", "uint8arrays": "^4.0.3", "util": "0.12.5" } }, + "node_modules/@lit-protocol/core/node_modules/@lit-protocol/types": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@lit-protocol/types/-/types-5.1.0.tgz", + "integrity": "sha512-VundTuMZZ5bRKeG5sWaX0e33H8BAka94XHYKTGXWJ81XmU0WBJ7YO+WDCeHsyix/SM9246klVzd8dwQsGcDzZw==", + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-provider": "5.7.0", + "@lit-protocol/accs-schemas": "0.0.7", + "@lit-protocol/auth-helpers": "5.1.0", + "ethers": "^5.7.1", + "jszip": "^3.10.1", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0" + } + }, "node_modules/@lit-protocol/core/node_modules/ajv": { "version": "8.17.1", "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", @@ -4976,28 +5085,13 @@ "url": "https://github.com/sponsors/epoberezkin" } }, - "node_modules/@lit-protocol/core/node_modules/base-x": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/base-x/-/base-x-4.0.0.tgz", - "integrity": "sha512-FuwxlW4H5kh37X/oW59pwTzzTKRzfrrQwhmyspRM7swOEZcHtDZSCt45U6oKgtuFE+WYPblePMVIPR4RZrh/hw==", - "license": "MIT" - }, - "node_modules/@lit-protocol/core/node_modules/bs58": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/bs58/-/bs58-5.0.0.tgz", - "integrity": "sha512-r+ihvQJvahgYT50JD05dyJNKlmmSlMoOGwn1lCcEzanPglg7TxYjioQUYehQ9mAR/+hOSd2jRc/Z2y5UxBymvQ==", - "license": "MIT", - "dependencies": { - "base-x": "^4.0.0" - } - }, "node_modules/@lit-protocol/core/node_modules/cross-fetch": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.4.tgz", - "integrity": "sha512-1eAtFWdIubi6T4XPy6ei9iUFoKpUkIF971QLN8lIvvvwueI65+Nw5haMNKUwfJxabqlIIDODJKGrQ66gxC0PbQ==", + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.8.tgz", + "integrity": "sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==", "license": "MIT", "dependencies": { - "node-fetch": "2.6.1" + "node-fetch": "^2.6.12" } }, "node_modules/@lit-protocol/core/node_modules/ethers": { @@ -5054,26 +5148,35 @@ "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", "license": "MIT" }, - "node_modules/@lit-protocol/core/node_modules/node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==", - "license": "MIT", - "engines": { - "node": "4.x || >=6.0.0" - } - }, "node_modules/@lit-protocol/core/node_modules/pako": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==", "license": "(MIT AND Zlib)" }, - "node_modules/@lit-protocol/core/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "license": "0BSD" + "node_modules/@lit-protocol/core/node_modules/siwe-recap": { + "version": "0.0.2-alpha.0", + "resolved": "https://registry.npmjs.org/siwe-recap/-/siwe-recap-0.0.2-alpha.0.tgz", + "integrity": "sha512-xqFUnvrACWW/Q4s5HQ02avg8IyH2RcgkUzfvN4scYaaHErotLVtTGDZkSS0sn/oNK4MXRt83lTqredsvXgt8iA==", + "license": "MIT", + "dependencies": { + "canonicalize": "^2.0.0", + "multiformats": "^11.0.2", + "siwe": "^2.1.4" + }, + "peerDependencies": { + "ethers": "^5.5.1" + } + }, + "node_modules/@lit-protocol/core/node_modules/siwe-recap/node_modules/multiformats": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } }, "node_modules/@lit-protocol/core/node_modules/uint8arrays": { "version": "4.0.10", @@ -5095,37 +5198,54 @@ } }, "node_modules/@lit-protocol/crypto": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@lit-protocol/crypto/-/crypto-6.4.0.tgz", - "integrity": "sha512-h6fUzGGsUWNAG//qM3E9uTnbPi0Ne1QLlsxaunJEM4bU2JWmmjqKYveP0d1YPq1hXFGHf9U2FA44DzEkDSm21A==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@lit-protocol/crypto/-/crypto-5.1.0.tgz", + "integrity": "sha512-ED6POFrTkzJVYcur8ahMjHdB5kwEVy5z5v4Bb2KQg9ZQTpzbaK3ZoP/TnC2MPhHdHDNs1Z3C/NWMsZ4sxHpgaw==", "license": "MIT", "dependencies": { "@ethersproject/abstract-provider": "5.7.0", "@ethersproject/contracts": "5.7.0", "@ethersproject/providers": "5.7.2", "@lit-protocol/accs-schemas": "0.0.7", - "@lit-protocol/bls-sdk": "6.4.0", - "@lit-protocol/constants": "6.4.0", - "@lit-protocol/contracts": "^0.0.39", - "@lit-protocol/ecdsa-sdk": "6.4.0", - "@lit-protocol/logger": "6.4.0", - "@lit-protocol/misc": "6.4.0", - "@lit-protocol/nacl": "6.4.0", - "@lit-protocol/sev-snp-utils-sdk": "6.4.0", - "@lit-protocol/types": "6.4.0", - "@lit-protocol/uint8arrays": "6.4.0", + "@lit-protocol/auth-helpers": "5.1.0", + "@lit-protocol/bls-sdk": "5.1.0", + "@lit-protocol/constants": "5.1.0", + "@lit-protocol/ecdsa-sdk": "5.1.0", + "@lit-protocol/logger": "5.1.0", + "@lit-protocol/misc": "5.1.0", + "@lit-protocol/nacl": "5.1.0", + "@lit-protocol/sev-snp-utils-sdk": "5.1.0", + "@lit-protocol/types": "5.1.0", + "@lit-protocol/uint8arrays": "5.1.0", "ajv": "^8.12.0", - "cross-fetch": "3.1.4", + "cross-fetch": "^3.1.4", "ethers": "^5.7.1", "jszip": "^3.10.1", "pako": "1.0.11", "punycode": "2.3.1", "siwe": "^2.0.5", - "tslib": "1.14.1", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0", "uint8arrays": "^4.0.3", "util": "0.12.5" } }, + "node_modules/@lit-protocol/crypto/node_modules/@lit-protocol/types": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@lit-protocol/types/-/types-5.1.0.tgz", + "integrity": "sha512-VundTuMZZ5bRKeG5sWaX0e33H8BAka94XHYKTGXWJ81XmU0WBJ7YO+WDCeHsyix/SM9246klVzd8dwQsGcDzZw==", + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-provider": "5.7.0", + "@lit-protocol/accs-schemas": "0.0.7", + "@lit-protocol/auth-helpers": "5.1.0", + "ethers": "^5.7.1", + "jszip": "^3.10.1", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0" + } + }, "node_modules/@lit-protocol/crypto/node_modules/ajv": { "version": "8.17.1", "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", @@ -5143,12 +5263,12 @@ } }, "node_modules/@lit-protocol/crypto/node_modules/cross-fetch": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.4.tgz", - "integrity": "sha512-1eAtFWdIubi6T4XPy6ei9iUFoKpUkIF971QLN8lIvvvwueI65+Nw5haMNKUwfJxabqlIIDODJKGrQ66gxC0PbQ==", + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.8.tgz", + "integrity": "sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==", "license": "MIT", "dependencies": { - "node-fetch": "2.6.1" + "node-fetch": "^2.6.12" } }, "node_modules/@lit-protocol/crypto/node_modules/ethers": { @@ -5206,35 +5326,34 @@ "license": "MIT" }, "node_modules/@lit-protocol/crypto/node_modules/multiformats": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", - "integrity": "sha512-eajQ/ZH7qXZQR2AgtfpmSMizQzmyYVmCql7pdhldPuYQi4atACekbJaQplk6dWyIi10jCaFnd6pqvcEFXjbaJw==", + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", "license": "Apache-2.0 OR MIT", "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" } }, - "node_modules/@lit-protocol/crypto/node_modules/node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==", - "license": "MIT", - "engines": { - "node": "4.x || >=6.0.0" - } - }, "node_modules/@lit-protocol/crypto/node_modules/pako": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==", "license": "(MIT AND Zlib)" }, - "node_modules/@lit-protocol/crypto/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "license": "0BSD" + "node_modules/@lit-protocol/crypto/node_modules/siwe-recap": { + "version": "0.0.2-alpha.0", + "resolved": "https://registry.npmjs.org/siwe-recap/-/siwe-recap-0.0.2-alpha.0.tgz", + "integrity": "sha512-xqFUnvrACWW/Q4s5HQ02avg8IyH2RcgkUzfvN4scYaaHErotLVtTGDZkSS0sn/oNK4MXRt83lTqredsvXgt8iA==", + "license": "MIT", + "dependencies": { + "canonicalize": "^2.0.0", + "multiformats": "^11.0.2", + "siwe": "^2.1.4" + }, + "peerDependencies": { + "ethers": "^5.5.1" + } }, "node_modules/@lit-protocol/crypto/node_modules/uint8arrays": { "version": "4.0.10", @@ -5245,10 +5364,20 @@ "multiformats": "^12.0.1" } }, + "node_modules/@lit-protocol/crypto/node_modules/uint8arrays/node_modules/multiformats": { + "version": "12.1.3", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", + "integrity": "sha512-eajQ/ZH7qXZQR2AgtfpmSMizQzmyYVmCql7pdhldPuYQi4atACekbJaQplk6dWyIi10jCaFnd6pqvcEFXjbaJw==", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@lit-protocol/ecdsa-sdk": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@lit-protocol/ecdsa-sdk/-/ecdsa-sdk-6.4.0.tgz", - "integrity": "sha512-ooM4eDaqsDn4w6LqFO3QDKPVlyR2q39H83OLjTuKi2xVbnl2/YcjPJ+4quKzfi3hHqzOC2DtFLwGuA9WLRzCyQ==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@lit-protocol/ecdsa-sdk/-/ecdsa-sdk-5.1.0.tgz", + "integrity": "sha512-i/2rxcgqaR/+khhcXmm4R5ffO8IDeRfxEd+qLGZUD/LpN/PH5GyB8iV1Eyir0FTp6iy+q9w1FSfgBDhvS0JMpg==", "license": "MIT", "dependencies": { "tslib": "1.14.1", @@ -5262,38 +5391,55 @@ "license": "0BSD" }, "node_modules/@lit-protocol/encryption": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@lit-protocol/encryption/-/encryption-6.4.0.tgz", - "integrity": "sha512-S2M4Vg85Uy4JSGROB3ONmvTYGNQufr9G8K2ZE6gAaEHNIjmlqMplHVm/g/Vu9AY/oOtgGnKQRAFW4hyVPXTtuQ==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@lit-protocol/encryption/-/encryption-5.1.0.tgz", + "integrity": "sha512-PYqPzPqAm8+iDsYNmC+ZxQMoFfVhUk2T1K/we+hnNP4ZS3/XXGk6Hq6wVcyBHkGU/AXhVSzPO+jh7TU0Sod0Mw==", "license": "MIT", "dependencies": { "@ethersproject/abstract-provider": "5.7.0", "@ethersproject/contracts": "5.7.0", "@ethersproject/providers": "5.7.2", "@lit-protocol/accs-schemas": "0.0.7", - "@lit-protocol/bls-sdk": "6.4.0", - "@lit-protocol/constants": "6.4.0", - "@lit-protocol/contracts": "^0.0.39", - "@lit-protocol/crypto": "6.4.0", - "@lit-protocol/ecdsa-sdk": "6.4.0", - "@lit-protocol/logger": "6.4.0", - "@lit-protocol/misc": "6.4.0", - "@lit-protocol/nacl": "6.4.0", - "@lit-protocol/sev-snp-utils-sdk": "6.4.0", - "@lit-protocol/types": "6.4.0", - "@lit-protocol/uint8arrays": "6.4.0", + "@lit-protocol/auth-helpers": "5.1.0", + "@lit-protocol/bls-sdk": "5.1.0", + "@lit-protocol/constants": "5.1.0", + "@lit-protocol/crypto": "5.1.0", + "@lit-protocol/ecdsa-sdk": "5.1.0", + "@lit-protocol/logger": "5.1.0", + "@lit-protocol/misc": "5.1.0", + "@lit-protocol/nacl": "5.1.0", + "@lit-protocol/sev-snp-utils-sdk": "5.1.0", + "@lit-protocol/types": "5.1.0", + "@lit-protocol/uint8arrays": "5.1.0", "ajv": "^8.12.0", - "cross-fetch": "3.1.4", + "cross-fetch": "^3.1.4", "ethers": "^5.7.1", "jszip": "^3.10.1", "pako": "1.0.11", "punycode": "2.3.1", "siwe": "^2.0.5", - "tslib": "1.14.1", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0", "uint8arrays": "^4.0.3", "util": "0.12.5" } }, + "node_modules/@lit-protocol/encryption/node_modules/@lit-protocol/types": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@lit-protocol/types/-/types-5.1.0.tgz", + "integrity": "sha512-VundTuMZZ5bRKeG5sWaX0e33H8BAka94XHYKTGXWJ81XmU0WBJ7YO+WDCeHsyix/SM9246klVzd8dwQsGcDzZw==", + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-provider": "5.7.0", + "@lit-protocol/accs-schemas": "0.0.7", + "@lit-protocol/auth-helpers": "5.1.0", + "ethers": "^5.7.1", + "jszip": "^3.10.1", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0" + } + }, "node_modules/@lit-protocol/encryption/node_modules/ajv": { "version": "8.17.1", "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", @@ -5311,12 +5457,12 @@ } }, "node_modules/@lit-protocol/encryption/node_modules/cross-fetch": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.4.tgz", - "integrity": "sha512-1eAtFWdIubi6T4XPy6ei9iUFoKpUkIF971QLN8lIvvvwueI65+Nw5haMNKUwfJxabqlIIDODJKGrQ66gxC0PbQ==", + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.8.tgz", + "integrity": "sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==", "license": "MIT", "dependencies": { - "node-fetch": "2.6.1" + "node-fetch": "^2.6.12" } }, "node_modules/@lit-protocol/encryption/node_modules/ethers": { @@ -5374,35 +5520,34 @@ "license": "MIT" }, "node_modules/@lit-protocol/encryption/node_modules/multiformats": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", - "integrity": "sha512-eajQ/ZH7qXZQR2AgtfpmSMizQzmyYVmCql7pdhldPuYQi4atACekbJaQplk6dWyIi10jCaFnd6pqvcEFXjbaJw==", + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", "license": "Apache-2.0 OR MIT", "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" } }, - "node_modules/@lit-protocol/encryption/node_modules/node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==", - "license": "MIT", - "engines": { - "node": "4.x || >=6.0.0" - } - }, "node_modules/@lit-protocol/encryption/node_modules/pako": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==", "license": "(MIT AND Zlib)" }, - "node_modules/@lit-protocol/encryption/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "license": "0BSD" + "node_modules/@lit-protocol/encryption/node_modules/siwe-recap": { + "version": "0.0.2-alpha.0", + "resolved": "https://registry.npmjs.org/siwe-recap/-/siwe-recap-0.0.2-alpha.0.tgz", + "integrity": "sha512-xqFUnvrACWW/Q4s5HQ02avg8IyH2RcgkUzfvN4scYaaHErotLVtTGDZkSS0sn/oNK4MXRt83lTqredsvXgt8iA==", + "license": "MIT", + "dependencies": { + "canonicalize": "^2.0.0", + "multiformats": "^11.0.2", + "siwe": "^2.1.4" + }, + "peerDependencies": { + "ethers": "^5.5.1" + } }, "node_modules/@lit-protocol/encryption/node_modules/uint8arrays": { "version": "4.0.10", @@ -5413,10 +5558,20 @@ "multiformats": "^12.0.1" } }, + "node_modules/@lit-protocol/encryption/node_modules/uint8arrays/node_modules/multiformats": { + "version": "12.1.3", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", + "integrity": "sha512-eajQ/ZH7qXZQR2AgtfpmSMizQzmyYVmCql7pdhldPuYQi4atACekbJaQplk6dWyIi10jCaFnd6pqvcEFXjbaJw==", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@lit-protocol/lit-node-client": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@lit-protocol/lit-node-client/-/lit-node-client-6.4.0.tgz", - "integrity": "sha512-6biGHEuczL+tRPk1xbBTVWhnGq3lgXRR4ArKDhVUY1jQiNecGDXBWEZVEMPV+yFD9MXQtLWl4aLuw97zJyZnig==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@lit-protocol/lit-node-client/-/lit-node-client-5.1.0.tgz", + "integrity": "sha512-98QcYUk7m+yBHyIhzKPnkrLZW5TP0MyVq/GqIvWVVmm10YKmXWs0vxwAmiskLRZDkTGNZ+cD8+7aut7/YpiPIA==", "license": "MIT", "dependencies": { "@cosmjs/amino": "0.30.1", @@ -5430,32 +5585,32 @@ "@ethersproject/strings": "5.7.0", "@ethersproject/transactions": "5.7.0", "@ethersproject/wallet": "5.7.0", - "@lit-protocol/access-control-conditions": "6.4.0", + "@lit-protocol/access-control-conditions": "5.1.0", "@lit-protocol/accs-schemas": "0.0.7", - "@lit-protocol/auth-browser": "6.4.0", - "@lit-protocol/auth-helpers": "6.4.0", - "@lit-protocol/bls-sdk": "6.4.0", - "@lit-protocol/constants": "6.4.0", - "@lit-protocol/contracts": "^0.0.39", - "@lit-protocol/contracts-sdk": "6.4.0", - "@lit-protocol/core": "6.4.0", - "@lit-protocol/crypto": "6.4.0", - "@lit-protocol/ecdsa-sdk": "6.4.0", - "@lit-protocol/encryption": "6.4.0", - "@lit-protocol/lit-node-client-nodejs": "6.4.0", - "@lit-protocol/logger": "6.4.0", - "@lit-protocol/misc": "6.4.0", - "@lit-protocol/misc-browser": "6.4.0", - "@lit-protocol/nacl": "6.4.0", - "@lit-protocol/sev-snp-utils-sdk": "6.4.0", - "@lit-protocol/types": "6.4.0", - "@lit-protocol/uint8arrays": "6.4.0", + "@lit-protocol/auth-browser": "5.1.0", + "@lit-protocol/auth-helpers": "5.1.0", + "@lit-protocol/bls-sdk": "5.1.0", + "@lit-protocol/constants": "5.1.0", + "@lit-protocol/contracts-sdk": "5.1.0", + "@lit-protocol/core": "5.1.0", + "@lit-protocol/crypto": "5.1.0", + "@lit-protocol/ecdsa-sdk": "5.1.0", + "@lit-protocol/encryption": "5.1.0", + "@lit-protocol/lit-node-client-nodejs": "5.1.0", + "@lit-protocol/logger": "5.1.0", + "@lit-protocol/misc": "5.1.0", + "@lit-protocol/misc-browser": "5.1.0", + "@lit-protocol/nacl": "5.1.0", + "@lit-protocol/sev-snp-utils-sdk": "5.1.0", + "@lit-protocol/types": "5.1.0", + "@lit-protocol/uint8arrays": "5.1.0", "@walletconnect/ethereum-provider": "2.9.2", "@walletconnect/modal": "2.6.1", "ajv": "^8.12.0", "bitcoinjs-lib": "^6.1.0", "bs58": "^5.0.0", - "cross-fetch": "3.1.4", + "buffer": "5.7.1", + "cross-fetch": "^3.1.4", "date-and-time": "^2.4.1", "ethers": "^5.7.1", "jose": "^4.14.4", @@ -5466,6 +5621,7 @@ "punycode": "2.3.1", "siwe": "^2.0.5", "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0", "tweetnacl": "^1.0.3", "tweetnacl-util": "^0.15.1", "uint8arrays": "^4.0.3", @@ -5473,9 +5629,9 @@ } }, "node_modules/@lit-protocol/lit-node-client-nodejs": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@lit-protocol/lit-node-client-nodejs/-/lit-node-client-nodejs-6.4.0.tgz", - "integrity": "sha512-6rvyeqgzdkqk8yF9m+1Flg06f8SF4bM3U3jQ/FtZMC4S9n/Bw157B5153Tuzk6WD/xiNnPr+IvIL0xir7pZrOw==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@lit-protocol/lit-node-client-nodejs/-/lit-node-client-nodejs-5.1.0.tgz", + "integrity": "sha512-pT70YNMhF73paN2kCgbkE3sZ3h8KGWwqPr90m1yr+ox3v26Gpx2hudqmkR4vx0hHi6ubZZS53uRsJzjx1vdxBg==", "license": "MIT", "dependencies": { "@cosmjs/amino": "0.30.1", @@ -5486,28 +5642,27 @@ "@ethersproject/contracts": "5.7.0", "@ethersproject/providers": "5.7.2", "@ethersproject/transactions": "5.7.0", - "@lit-protocol/access-control-conditions": "6.4.0", + "@lit-protocol/access-control-conditions": "5.1.0", "@lit-protocol/accs-schemas": "0.0.7", - "@lit-protocol/auth-helpers": "6.4.0", - "@lit-protocol/bls-sdk": "6.4.0", - "@lit-protocol/constants": "6.4.0", - "@lit-protocol/contracts": "^0.0.39", - "@lit-protocol/contracts-sdk": "6.4.0", - "@lit-protocol/core": "6.4.0", - "@lit-protocol/crypto": "6.4.0", - "@lit-protocol/ecdsa-sdk": "6.4.0", - "@lit-protocol/encryption": "6.4.0", - "@lit-protocol/logger": "6.4.0", - "@lit-protocol/misc": "6.4.0", - "@lit-protocol/misc-browser": "6.4.0", - "@lit-protocol/nacl": "6.4.0", - "@lit-protocol/sev-snp-utils-sdk": "6.4.0", - "@lit-protocol/types": "6.4.0", - "@lit-protocol/uint8arrays": "6.4.0", + "@lit-protocol/auth-helpers": "5.1.0", + "@lit-protocol/bls-sdk": "5.1.0", + "@lit-protocol/constants": "5.1.0", + "@lit-protocol/contracts-sdk": "5.1.0", + "@lit-protocol/core": "5.1.0", + "@lit-protocol/crypto": "5.1.0", + "@lit-protocol/ecdsa-sdk": "5.1.0", + "@lit-protocol/encryption": "5.1.0", + "@lit-protocol/logger": "5.1.0", + "@lit-protocol/misc": "5.1.0", + "@lit-protocol/misc-browser": "5.1.0", + "@lit-protocol/nacl": "5.1.0", + "@lit-protocol/sev-snp-utils-sdk": "5.1.0", + "@lit-protocol/types": "5.1.0", + "@lit-protocol/uint8arrays": "5.1.0", "ajv": "^8.12.0", "bitcoinjs-lib": "^6.1.0", "bs58": "^5.0.0", - "cross-fetch": "3.1.4", + "cross-fetch": "^3.1.4", "date-and-time": "^2.4.1", "ethers": "^5.7.1", "jose": "^4.14.4", @@ -5523,6 +5678,22 @@ "util": "0.12.5" } }, + "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/@lit-protocol/types": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@lit-protocol/types/-/types-5.1.0.tgz", + "integrity": "sha512-VundTuMZZ5bRKeG5sWaX0e33H8BAka94XHYKTGXWJ81XmU0WBJ7YO+WDCeHsyix/SM9246klVzd8dwQsGcDzZw==", + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-provider": "5.7.0", + "@lit-protocol/accs-schemas": "0.0.7", + "@lit-protocol/auth-helpers": "5.1.0", + "ethers": "^5.7.1", + "jszip": "^3.10.1", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0" + } + }, "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/ajv": { "version": "8.17.1", "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", @@ -5539,28 +5710,13 @@ "url": "https://github.com/sponsors/epoberezkin" } }, - "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/base-x": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/base-x/-/base-x-4.0.0.tgz", - "integrity": "sha512-FuwxlW4H5kh37X/oW59pwTzzTKRzfrrQwhmyspRM7swOEZcHtDZSCt45U6oKgtuFE+WYPblePMVIPR4RZrh/hw==", - "license": "MIT" - }, - "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/bs58": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/bs58/-/bs58-5.0.0.tgz", - "integrity": "sha512-r+ihvQJvahgYT50JD05dyJNKlmmSlMoOGwn1lCcEzanPglg7TxYjioQUYehQ9mAR/+hOSd2jRc/Z2y5UxBymvQ==", - "license": "MIT", - "dependencies": { - "base-x": "^4.0.0" - } - }, "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/cross-fetch": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.4.tgz", - "integrity": "sha512-1eAtFWdIubi6T4XPy6ei9iUFoKpUkIF971QLN8lIvvvwueI65+Nw5haMNKUwfJxabqlIIDODJKGrQ66gxC0PbQ==", + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.8.tgz", + "integrity": "sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==", "license": "MIT", "dependencies": { - "node-fetch": "2.6.1" + "node-fetch": "^2.6.12" } }, "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/ethers": { @@ -5617,15 +5773,6 @@ "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", "license": "MIT" }, - "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==", - "license": "MIT", - "engines": { - "node": "4.x || >=6.0.0" - } - }, "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/pako": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", @@ -5675,6 +5822,28 @@ "npm": ">=7.0.0" } }, + "node_modules/@lit-protocol/lit-node-client/node_modules/@lit-protocol/types": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@lit-protocol/types/-/types-5.1.0.tgz", + "integrity": "sha512-VundTuMZZ5bRKeG5sWaX0e33H8BAka94XHYKTGXWJ81XmU0WBJ7YO+WDCeHsyix/SM9246klVzd8dwQsGcDzZw==", + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-provider": "5.7.0", + "@lit-protocol/accs-schemas": "0.0.7", + "@lit-protocol/auth-helpers": "5.1.0", + "ethers": "^5.7.1", + "jszip": "^3.10.1", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0" + } + }, + "node_modules/@lit-protocol/lit-node-client/node_modules/@lit-protocol/types/node_modules/tslib": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", + "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==", + "license": "0BSD" + }, "node_modules/@lit-protocol/lit-node-client/node_modules/@walletconnect/core": { "version": "2.9.2", "resolved": "https://registry.npmjs.org/@walletconnect/core/-/core-2.9.2.tgz", @@ -5905,28 +6074,37 @@ "url": "https://github.com/sponsors/epoberezkin" } }, - "node_modules/@lit-protocol/lit-node-client/node_modules/base-x": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/base-x/-/base-x-4.0.0.tgz", - "integrity": "sha512-FuwxlW4H5kh37X/oW59pwTzzTKRzfrrQwhmyspRM7swOEZcHtDZSCt45U6oKgtuFE+WYPblePMVIPR4RZrh/hw==", - "license": "MIT" - }, - "node_modules/@lit-protocol/lit-node-client/node_modules/bs58": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/bs58/-/bs58-5.0.0.tgz", - "integrity": "sha512-r+ihvQJvahgYT50JD05dyJNKlmmSlMoOGwn1lCcEzanPglg7TxYjioQUYehQ9mAR/+hOSd2jRc/Z2y5UxBymvQ==", + "node_modules/@lit-protocol/lit-node-client/node_modules/buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], "license": "MIT", "dependencies": { - "base-x": "^4.0.0" + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" } }, "node_modules/@lit-protocol/lit-node-client/node_modules/cross-fetch": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.4.tgz", - "integrity": "sha512-1eAtFWdIubi6T4XPy6ei9iUFoKpUkIF971QLN8lIvvvwueI65+Nw5haMNKUwfJxabqlIIDODJKGrQ66gxC0PbQ==", + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.8.tgz", + "integrity": "sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==", "license": "MIT", "dependencies": { - "node-fetch": "2.6.1" + "node-fetch": "^2.6.12" } }, "node_modules/@lit-protocol/lit-node-client/node_modules/ethers": { @@ -5994,15 +6172,6 @@ "lit-html": "^2.7.0" } }, - "node_modules/@lit-protocol/lit-node-client/node_modules/node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==", - "license": "MIT", - "engines": { - "node": "4.x || >=6.0.0" - } - }, "node_modules/@lit-protocol/lit-node-client/node_modules/pako": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", @@ -6101,23 +6270,40 @@ } }, "node_modules/@lit-protocol/logger": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@lit-protocol/logger/-/logger-6.4.0.tgz", - "integrity": "sha512-0+bBR79PfkASklFHXhZn5CDZMdoRPy43AOgUQVXCppXNpOqdhRuxUNXyDuoOJhmkFq21ns7XMtxkxcXDTCEWzw==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@lit-protocol/logger/-/logger-5.1.0.tgz", + "integrity": "sha512-RXds6cGk6ATO6ywj68w6cryamlcSSL6UFiyWaEnW3h8E/F0bQo2gNQECWd0I99tuaCQElTkouGZZOXuwAqANQg==", "dependencies": { "@ethersproject/abstract-provider": "5.7.0", "@lit-protocol/accs-schemas": "0.0.7", - "@lit-protocol/constants": "6.4.0", - "@lit-protocol/contracts": "^0.0.39", - "@lit-protocol/types": "6.4.0", + "@lit-protocol/auth-helpers": "5.1.0", + "@lit-protocol/constants": "5.1.0", + "@lit-protocol/types": "5.1.0", "ethers": "^5.7.1", "jszip": "^3.10.1", "punycode": "2.3.1", "siwe": "^2.0.5", - "tslib": "1.14.1", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0", "uint8arrays": "^4.0.3" } }, + "node_modules/@lit-protocol/logger/node_modules/@lit-protocol/types": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@lit-protocol/types/-/types-5.1.0.tgz", + "integrity": "sha512-VundTuMZZ5bRKeG5sWaX0e33H8BAka94XHYKTGXWJ81XmU0WBJ7YO+WDCeHsyix/SM9246klVzd8dwQsGcDzZw==", + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-provider": "5.7.0", + "@lit-protocol/accs-schemas": "0.0.7", + "@lit-protocol/auth-helpers": "5.1.0", + "ethers": "^5.7.1", + "jszip": "^3.10.1", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0" + } + }, "node_modules/@lit-protocol/logger/node_modules/ethers": { "version": "5.7.2", "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz", @@ -6167,20 +6353,28 @@ } }, "node_modules/@lit-protocol/logger/node_modules/multiformats": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", - "integrity": "sha512-eajQ/ZH7qXZQR2AgtfpmSMizQzmyYVmCql7pdhldPuYQi4atACekbJaQplk6dWyIi10jCaFnd6pqvcEFXjbaJw==", + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", "license": "Apache-2.0 OR MIT", "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" } }, - "node_modules/@lit-protocol/logger/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "license": "0BSD" + "node_modules/@lit-protocol/logger/node_modules/siwe-recap": { + "version": "0.0.2-alpha.0", + "resolved": "https://registry.npmjs.org/siwe-recap/-/siwe-recap-0.0.2-alpha.0.tgz", + "integrity": "sha512-xqFUnvrACWW/Q4s5HQ02avg8IyH2RcgkUzfvN4scYaaHErotLVtTGDZkSS0sn/oNK4MXRt83lTqredsvXgt8iA==", + "license": "MIT", + "dependencies": { + "canonicalize": "^2.0.0", + "multiformats": "^11.0.2", + "siwe": "^2.1.4" + }, + "peerDependencies": { + "ethers": "^5.5.1" + } }, "node_modules/@lit-protocol/logger/node_modules/uint8arrays": { "version": "4.0.10", @@ -6191,46 +6385,74 @@ "multiformats": "^12.0.1" } }, + "node_modules/@lit-protocol/logger/node_modules/uint8arrays/node_modules/multiformats": { + "version": "12.1.3", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", + "integrity": "sha512-eajQ/ZH7qXZQR2AgtfpmSMizQzmyYVmCql7pdhldPuYQi4atACekbJaQplk6dWyIi10jCaFnd6pqvcEFXjbaJw==", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@lit-protocol/misc": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@lit-protocol/misc/-/misc-6.4.0.tgz", - "integrity": "sha512-ek1DWsj2I5P95nGEdSbjyDHF4/gbD5bn6W8bCMy6DHZSnahh5ae6iY1CD0hDGRfbowCtLM3vaPydRhZwN6UuEg==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@lit-protocol/misc/-/misc-5.1.0.tgz", + "integrity": "sha512-N4LHZCLBTJGL3RS91OkVMigbjfdIFU01Ymh9HxWRtkaJXmOKk/9okQAcSHc+ylHNCgTn/2zf2dMbiWTqCPipRA==", "license": "MIT", "dependencies": { "@ethersproject/abstract-provider": "5.7.0", "@ethersproject/contracts": "5.7.0", "@ethersproject/providers": "5.7.2", "@lit-protocol/accs-schemas": "0.0.7", - "@lit-protocol/constants": "6.4.0", - "@lit-protocol/contracts": "^0.0.39", - "@lit-protocol/logger": "6.4.0", - "@lit-protocol/types": "6.4.0", + "@lit-protocol/auth-helpers": "5.1.0", + "@lit-protocol/constants": "5.1.0", + "@lit-protocol/logger": "5.1.0", + "@lit-protocol/types": "5.1.0", "ajv": "^8.12.0", "ethers": "^5.7.1", "jszip": "^3.10.1", "punycode": "2.3.1", "siwe": "^2.0.5", - "tslib": "1.14.1", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0", "uint8arrays": "^4.0.3", "util": "0.12.5" } }, "node_modules/@lit-protocol/misc-browser": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@lit-protocol/misc-browser/-/misc-browser-6.4.0.tgz", - "integrity": "sha512-RUki2ald8KllNJYbp6I6/oekuQVNCl+kw4U/C64NKP+EePiUwPqmuSJ5yAWWznKNaDDFPmSUyLy3Gz/dRYvfUQ==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@lit-protocol/misc-browser/-/misc-browser-5.1.0.tgz", + "integrity": "sha512-bG01X743eGxSW5maAlR1sY3aIOGmfzHlc3I31Ox+K2Omx4HEcrqEbAeOpXxbREaewaSRpQJNe2nJXrV5h/64CQ==", "license": "MIT", "dependencies": { "@ethersproject/abstract-provider": "5.7.0", "@lit-protocol/accs-schemas": "0.0.7", - "@lit-protocol/constants": "6.4.0", - "@lit-protocol/contracts": "^0.0.39", - "@lit-protocol/types": "6.4.0", - "@lit-protocol/uint8arrays": "6.4.0", + "@lit-protocol/auth-helpers": "5.1.0", + "@lit-protocol/constants": "5.1.0", + "@lit-protocol/types": "5.1.0", + "@lit-protocol/uint8arrays": "5.1.0", "ethers": "^5.7.1", "jszip": "^3.10.1", "siwe": "^2.0.5", - "tslib": "1.14.1" + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0" + } + }, + "node_modules/@lit-protocol/misc-browser/node_modules/@lit-protocol/types": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@lit-protocol/types/-/types-5.1.0.tgz", + "integrity": "sha512-VundTuMZZ5bRKeG5sWaX0e33H8BAka94XHYKTGXWJ81XmU0WBJ7YO+WDCeHsyix/SM9246klVzd8dwQsGcDzZw==", + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-provider": "5.7.0", + "@lit-protocol/accs-schemas": "0.0.7", + "@lit-protocol/auth-helpers": "5.1.0", + "ethers": "^5.7.1", + "jszip": "^3.10.1", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0" } }, "node_modules/@lit-protocol/misc-browser/node_modules/ethers": { @@ -6281,11 +6503,45 @@ "@ethersproject/wordlists": "5.7.0" } }, - "node_modules/@lit-protocol/misc-browser/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "license": "0BSD" + "node_modules/@lit-protocol/misc-browser/node_modules/multiformats": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@lit-protocol/misc-browser/node_modules/siwe-recap": { + "version": "0.0.2-alpha.0", + "resolved": "https://registry.npmjs.org/siwe-recap/-/siwe-recap-0.0.2-alpha.0.tgz", + "integrity": "sha512-xqFUnvrACWW/Q4s5HQ02avg8IyH2RcgkUzfvN4scYaaHErotLVtTGDZkSS0sn/oNK4MXRt83lTqredsvXgt8iA==", + "license": "MIT", + "dependencies": { + "canonicalize": "^2.0.0", + "multiformats": "^11.0.2", + "siwe": "^2.1.4" + }, + "peerDependencies": { + "ethers": "^5.5.1" + } + }, + "node_modules/@lit-protocol/misc/node_modules/@lit-protocol/types": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@lit-protocol/types/-/types-5.1.0.tgz", + "integrity": "sha512-VundTuMZZ5bRKeG5sWaX0e33H8BAka94XHYKTGXWJ81XmU0WBJ7YO+WDCeHsyix/SM9246klVzd8dwQsGcDzZw==", + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-provider": "5.7.0", + "@lit-protocol/accs-schemas": "0.0.7", + "@lit-protocol/auth-helpers": "5.1.0", + "ethers": "^5.7.1", + "jszip": "^3.10.1", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0" + } }, "node_modules/@lit-protocol/misc/node_modules/ajv": { "version": "8.17.1", @@ -6356,22 +6612,30 @@ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", "license": "MIT" - }, - "node_modules/@lit-protocol/misc/node_modules/multiformats": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", - "integrity": "sha512-eajQ/ZH7qXZQR2AgtfpmSMizQzmyYVmCql7pdhldPuYQi4atACekbJaQplk6dWyIi10jCaFnd6pqvcEFXjbaJw==", + }, + "node_modules/@lit-protocol/misc/node_modules/multiformats": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", "license": "Apache-2.0 OR MIT", "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" } }, - "node_modules/@lit-protocol/misc/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "license": "0BSD" + "node_modules/@lit-protocol/misc/node_modules/siwe-recap": { + "version": "0.0.2-alpha.0", + "resolved": "https://registry.npmjs.org/siwe-recap/-/siwe-recap-0.0.2-alpha.0.tgz", + "integrity": "sha512-xqFUnvrACWW/Q4s5HQ02avg8IyH2RcgkUzfvN4scYaaHErotLVtTGDZkSS0sn/oNK4MXRt83lTqredsvXgt8iA==", + "license": "MIT", + "dependencies": { + "canonicalize": "^2.0.0", + "multiformats": "^11.0.2", + "siwe": "^2.1.4" + }, + "peerDependencies": { + "ethers": "^5.5.1" + } }, "node_modules/@lit-protocol/misc/node_modules/uint8arrays": { "version": "4.0.10", @@ -6382,10 +6646,20 @@ "multiformats": "^12.0.1" } }, + "node_modules/@lit-protocol/misc/node_modules/uint8arrays/node_modules/multiformats": { + "version": "12.1.3", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", + "integrity": "sha512-eajQ/ZH7qXZQR2AgtfpmSMizQzmyYVmCql7pdhldPuYQi4atACekbJaQplk6dWyIi10jCaFnd6pqvcEFXjbaJw==", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@lit-protocol/nacl": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@lit-protocol/nacl/-/nacl-6.4.0.tgz", - "integrity": "sha512-gDCvW0up9YVe3V3bzEX2wmSzl9850K91098gXXUrprGq1ByXIjShfxP7Orlr0J5gXP1JcHLsXpVPXxNIpK4Fbg==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@lit-protocol/nacl/-/nacl-5.1.0.tgz", + "integrity": "sha512-TtW8vPdFjLBOUZHTNXUUdjTFtlhuguDbcMHr5XT0aeGeidS3vE2E7NbbEOdYP4KPRYDU7YBwn2r779C+wzH+AQ==", "license": "MIT", "dependencies": { "tslib": "1.14.1" @@ -6398,31 +6672,22 @@ "license": "0BSD" }, "node_modules/@lit-protocol/sev-snp-utils-sdk": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@lit-protocol/sev-snp-utils-sdk/-/sev-snp-utils-sdk-6.4.0.tgz", - "integrity": "sha512-bpGJF00YueR28Py825ckO5+kZO/lEg5VFz2jQ4clsugSXrvlKjtMgSQUB/Dx5hRbT/vOOQdI+ygy81vGp++tsw==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@lit-protocol/sev-snp-utils-sdk/-/sev-snp-utils-sdk-5.1.0.tgz", + "integrity": "sha512-DAF0INvlBBaVNAYqPqEx2FDPDoC0sXHzZ3GaEmPTMlEocucZi8rFX8xtRmUJYtAzBHbOnx9mX7QCyC7UMByUFg==", "license": "MIT", "dependencies": { - "cross-fetch": "3.1.4", + "cross-fetch": "^3.1.4", "tslib": "1.14.1" } }, "node_modules/@lit-protocol/sev-snp-utils-sdk/node_modules/cross-fetch": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.4.tgz", - "integrity": "sha512-1eAtFWdIubi6T4XPy6ei9iUFoKpUkIF971QLN8lIvvvwueI65+Nw5haMNKUwfJxabqlIIDODJKGrQ66gxC0PbQ==", + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.8.tgz", + "integrity": "sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==", "license": "MIT", "dependencies": { - "node-fetch": "2.6.1" - } - }, - "node_modules/@lit-protocol/sev-snp-utils-sdk/node_modules/node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==", - "license": "MIT", - "engines": { - "node": "4.x || >=6.0.0" + "node-fetch": "^2.6.12" } }, "node_modules/@lit-protocol/sev-snp-utils-sdk/node_modules/tslib": { @@ -6432,17 +6697,26 @@ "license": "0BSD" }, "node_modules/@lit-protocol/types": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@lit-protocol/types/-/types-6.4.0.tgz", - "integrity": "sha512-x1PGp5+c3eG/RezHSk2ucnxlxkLs1+Y9r2R4jBGmKQ8V1JyOsyrTaWz645nItSLZRKTQxdtU7EV1k25VeuAAnQ==", + "version": "2.2.39", + "resolved": "https://registry.npmjs.org/@lit-protocol/types/-/types-2.2.39.tgz", + "integrity": "sha512-JXGzpBk5mlA3CUkAkbuvWaQ3aTDc+l4v9pi0DU/RkWEcJD8CaLHM5oSv6t9ZlIZl3c2ibEN+sMr98LwbrxHExA==", "license": "MIT", "dependencies": { - "@ethersproject/abstract-provider": "5.7.0", - "@lit-protocol/accs-schemas": "0.0.7", - "ethers": "^5.7.1", - "jszip": "^3.10.1", + "@lit-protocol/auth-helpers": "2.2.39", "siwe": "^2.0.5", - "tslib": "1.14.1" + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0" + } + }, + "node_modules/@lit-protocol/types/node_modules/@lit-protocol/auth-helpers": { + "version": "2.2.39", + "resolved": "https://registry.npmjs.org/@lit-protocol/auth-helpers/-/auth-helpers-2.2.39.tgz", + "integrity": "sha512-a8wSm1FF8B3ikO7LtCKccg+iU6fEz8Q125ch4tXfxx2+ifb+jfkQPzSQB61iVwtDOMvkoNBptPYKf2A0IeZFkg==", + "license": "MIT", + "dependencies": { + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0" } }, "node_modules/@lit-protocol/types/node_modules/ethers": { @@ -6460,6 +6734,7 @@ } ], "license": "MIT", + "peer": true, "dependencies": { "@ethersproject/abi": "5.7.0", "@ethersproject/abstract-provider": "5.7.0", @@ -6493,25 +6768,43 @@ "@ethersproject/wordlists": "5.7.0" } }, - "node_modules/@lit-protocol/types/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "license": "0BSD" + "node_modules/@lit-protocol/types/node_modules/multiformats": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@lit-protocol/types/node_modules/siwe-recap": { + "version": "0.0.2-alpha.0", + "resolved": "https://registry.npmjs.org/siwe-recap/-/siwe-recap-0.0.2-alpha.0.tgz", + "integrity": "sha512-xqFUnvrACWW/Q4s5HQ02avg8IyH2RcgkUzfvN4scYaaHErotLVtTGDZkSS0sn/oNK4MXRt83lTqredsvXgt8iA==", + "license": "MIT", + "dependencies": { + "canonicalize": "^2.0.0", + "multiformats": "^11.0.2", + "siwe": "^2.1.4" + }, + "peerDependencies": { + "ethers": "^5.5.1" + } }, "node_modules/@lit-protocol/uint8arrays": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@lit-protocol/uint8arrays/-/uint8arrays-6.4.0.tgz", - "integrity": "sha512-Eio+Ar6E0ZzBlJ3mGrPk4iNvyRHbbRmjI/p/VftorjXbMBejNP3WA5x4hQVKoHYrdSLY4Do3zhGunCqF/n6/nA==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@lit-protocol/uint8arrays/-/uint8arrays-5.1.0.tgz", + "integrity": "sha512-dRZ0rprsWB8z441QGculhTHahwxMIH2/b7znWnN7s75MhNl4OLh7F/isq7rXq6Q2v/xNxgm/HN58++b5NWbWOQ==", "license": "MIT", "dependencies": { "@ethersproject/abstract-provider": "5.7.0", "@lit-protocol/accs-schemas": "0.0.7", - "@lit-protocol/contracts": "^0.0.39", "ethers": "^5.7.1", "jszip": "^3.10.1", "siwe": "^2.0.5", - "tslib": "1.14.1" + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0" } }, "node_modules/@lit-protocol/uint8arrays/node_modules/ethers": { @@ -6562,11 +6855,29 @@ "@ethersproject/wordlists": "5.7.0" } }, - "node_modules/@lit-protocol/uint8arrays/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "license": "0BSD" + "node_modules/@lit-protocol/uint8arrays/node_modules/multiformats": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@lit-protocol/uint8arrays/node_modules/siwe-recap": { + "version": "0.0.2-alpha.0", + "resolved": "https://registry.npmjs.org/siwe-recap/-/siwe-recap-0.0.2-alpha.0.tgz", + "integrity": "sha512-xqFUnvrACWW/Q4s5HQ02avg8IyH2RcgkUzfvN4scYaaHErotLVtTGDZkSS0sn/oNK4MXRt83lTqredsvXgt8iA==", + "license": "MIT", + "dependencies": { + "canonicalize": "^2.0.0", + "multiformats": "^11.0.2", + "siwe": "^2.1.4" + }, + "peerDependencies": { + "ethers": "^5.5.1" + } }, "node_modules/@lit/reactive-element": { "version": "1.6.3", @@ -7894,6 +8205,35 @@ } } }, + "node_modules/@nomicfoundation/ethereumjs-tx/node_modules/base-x": { + "version": "3.0.10", + "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.10.tgz", + "integrity": "sha512-7d0s06rR9rYaIWHkpfLIFICM/tkSVdoPC9qYAQRpxn9DdKNWNsKC0uk++akckyLq16Tx2WIinnZ6WRriAt6njQ==", + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "node_modules/@nomicfoundation/ethereumjs-tx/node_modules/bs58": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", + "integrity": "sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw==", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.2" + } + }, + "node_modules/@nomicfoundation/ethereumjs-tx/node_modules/bs58check": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz", + "integrity": "sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA==", + "license": "MIT", + "dependencies": { + "bs58": "^4.0.0", + "create-hash": "^1.1.0", + "safe-buffer": "^5.1.2" + } + }, "node_modules/@nomicfoundation/ethereumjs-tx/node_modules/ethereum-cryptography": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/ethereum-cryptography/-/ethereum-cryptography-0.1.3.tgz", @@ -7953,6 +8293,35 @@ } } }, + "node_modules/@nomicfoundation/ethereumjs-util/node_modules/base-x": { + "version": "3.0.10", + "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.10.tgz", + "integrity": "sha512-7d0s06rR9rYaIWHkpfLIFICM/tkSVdoPC9qYAQRpxn9DdKNWNsKC0uk++akckyLq16Tx2WIinnZ6WRriAt6njQ==", + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "node_modules/@nomicfoundation/ethereumjs-util/node_modules/bs58": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", + "integrity": "sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw==", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.2" + } + }, + "node_modules/@nomicfoundation/ethereumjs-util/node_modules/bs58check": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz", + "integrity": "sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA==", + "license": "MIT", + "dependencies": { + "bs58": "^4.0.0", + "create-hash": "^1.1.0", + "safe-buffer": "^5.1.2" + } + }, "node_modules/@nomicfoundation/ethereumjs-util/node_modules/ethereum-cryptography": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/ethereum-cryptography/-/ethereum-cryptography-0.1.3.tgz", @@ -8079,18 +8448,6 @@ "node": ">= 12" } }, - "node_modules/@openzeppelin/merkle-tree": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/@openzeppelin/merkle-tree/-/merkle-tree-1.0.7.tgz", - "integrity": "sha512-i93t0YYv6ZxTCYU3CdO5Q+DXK0JH10A4dCBOMlzYbX+ujTXm+k1lXiEyVqmf94t3sqmv8sm/XT5zTa0+efnPgQ==", - "license": "MIT", - "dependencies": { - "@ethersproject/abi": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/constants": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0" - } - }, "node_modules/@parcel/watcher": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.4.1.tgz", @@ -13645,9 +14002,10 @@ } }, "node_modules/axios": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.2.tgz", - "integrity": "sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw==", + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.7.tgz", + "integrity": "sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==", + "license": "MIT", "dependencies": { "follow-redirects": "^1.15.6", "form-data": "^4.0.0", @@ -13755,13 +14113,10 @@ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" }, "node_modules/base-x": { - "version": "3.0.10", - "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.10.tgz", - "integrity": "sha512-7d0s06rR9rYaIWHkpfLIFICM/tkSVdoPC9qYAQRpxn9DdKNWNsKC0uk++akckyLq16Tx2WIinnZ6WRriAt6njQ==", - "license": "MIT", - "dependencies": { - "safe-buffer": "^5.0.1" - } + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/base-x/-/base-x-4.0.0.tgz", + "integrity": "sha512-FuwxlW4H5kh37X/oW59pwTzzTKRzfrrQwhmyspRM7swOEZcHtDZSCt45U6oKgtuFE+WYPblePMVIPR4RZrh/hw==", + "license": "MIT" }, "node_modules/base64-js": { "version": "1.5.1", @@ -13826,37 +14181,12 @@ "node": ">=8.0.0" } }, - "node_modules/bitcoinjs-lib/node_modules/base-x": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/base-x/-/base-x-4.0.0.tgz", - "integrity": "sha512-FuwxlW4H5kh37X/oW59pwTzzTKRzfrrQwhmyspRM7swOEZcHtDZSCt45U6oKgtuFE+WYPblePMVIPR4RZrh/hw==", - "license": "MIT" - }, "node_modules/bitcoinjs-lib/node_modules/bech32": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/bech32/-/bech32-2.0.0.tgz", "integrity": "sha512-LcknSilhIGatDAsY1ak2I8VtGaHNhgMSYVxFrGLXv+xLHytaKZKcaUJJUE7qmBr7h33o5YQwP55pMI0xmkpJwg==", "license": "MIT" }, - "node_modules/bitcoinjs-lib/node_modules/bs58": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/bs58/-/bs58-5.0.0.tgz", - "integrity": "sha512-r+ihvQJvahgYT50JD05dyJNKlmmSlMoOGwn1lCcEzanPglg7TxYjioQUYehQ9mAR/+hOSd2jRc/Z2y5UxBymvQ==", - "license": "MIT", - "dependencies": { - "base-x": "^4.0.0" - } - }, - "node_modules/bitcoinjs-lib/node_modules/bs58check": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/bs58check/-/bs58check-3.0.1.tgz", - "integrity": "sha512-hjuuJvoWEybo7Hn/0xOrczQKKEKD63WguEjlhLExYs2wUBcebDC1jDNK17eEAD2lYfw82d5ASC1d7K3SWszjaQ==", - "license": "MIT", - "dependencies": { - "@noble/hashes": "^1.2.0", - "bs58": "^5.0.0" - } - }, "node_modules/bl": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", @@ -14263,23 +14593,22 @@ } }, "node_modules/bs58": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", - "integrity": "sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/bs58/-/bs58-5.0.0.tgz", + "integrity": "sha512-r+ihvQJvahgYT50JD05dyJNKlmmSlMoOGwn1lCcEzanPglg7TxYjioQUYehQ9mAR/+hOSd2jRc/Z2y5UxBymvQ==", "license": "MIT", "dependencies": { - "base-x": "^3.0.2" + "base-x": "^4.0.0" } }, "node_modules/bs58check": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz", - "integrity": "sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/bs58check/-/bs58check-3.0.1.tgz", + "integrity": "sha512-hjuuJvoWEybo7Hn/0xOrczQKKEKD63WguEjlhLExYs2wUBcebDC1jDNK17eEAD2lYfw82d5ASC1d7K3SWszjaQ==", "license": "MIT", "dependencies": { - "bs58": "^4.0.0", - "create-hash": "^1.1.0", - "safe-buffer": "^5.1.2" + "@noble/hashes": "^1.2.0", + "bs58": "^5.0.0" } }, "node_modules/bser": { @@ -15790,9 +16119,9 @@ "integrity": "sha512-eGvIk2V0dGImV9gWLq8fDfTTsCAeMDwZqEPMr+jMInxZdnp9Us8UpovYpRCf9NQ7VOFgrN2doNSgvISbsbNpxA==" }, "node_modules/elliptic": { - "version": "6.5.6", - "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.6.tgz", - "integrity": "sha512-mpzdtpeCLuS3BmE3pO3Cpp5bbjlOPY2Q0PgoF+Od1XZrHLYI28Xe3ossCmYCQt11FQKEYd9+PF8jymTvtWJSHQ==", + "version": "6.5.7", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.7.tgz", + "integrity": "sha512-ESVCtTwiA+XhY3wyh24QqRGBoP3rEdDUl3EDUUo9tft074fi19IrdpH7hLCMMP3CIj7jb3W96rn8lt/BqIlt5Q==", "license": "MIT", "dependencies": { "bn.js": "^4.11.9", @@ -17052,12 +17381,41 @@ "@types/node": "*" } }, + "node_modules/ethereumjs-util/node_modules/base-x": { + "version": "3.0.10", + "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.10.tgz", + "integrity": "sha512-7d0s06rR9rYaIWHkpfLIFICM/tkSVdoPC9qYAQRpxn9DdKNWNsKC0uk++akckyLq16Tx2WIinnZ6WRriAt6njQ==", + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, "node_modules/ethereumjs-util/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==", "license": "MIT" }, + "node_modules/ethereumjs-util/node_modules/bs58": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", + "integrity": "sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw==", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.2" + } + }, + "node_modules/ethereumjs-util/node_modules/bs58check": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz", + "integrity": "sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA==", + "license": "MIT", + "dependencies": { + "bs58": "^4.0.0", + "create-hash": "^1.1.0", + "safe-buffer": "^5.1.2" + } + }, "node_modules/ethereumjs-util/node_modules/ethereum-cryptography": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/ethereum-cryptography/-/ethereum-cryptography-0.1.3.tgz", @@ -21784,9 +22142,10 @@ "license": "MIT" }, "node_modules/micromatch": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz", - "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "license": "MIT", "dependencies": { "braces": "^3.0.3", "picomatch": "^2.3.1" @@ -25000,9 +25359,10 @@ } }, "node_modules/semver": { - "version": "7.6.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", - "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "license": "ISC", "bin": { "semver": "bin/semver.js" }, @@ -26579,6 +26939,7 @@ "version": "5.5.3", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.3.tgz", "integrity": "sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ==", + "devOptional": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -27100,9 +27461,9 @@ } }, "node_modules/viem": { - "version": "2.18.6", - "resolved": "https://registry.npmjs.org/viem/-/viem-2.18.6.tgz", - "integrity": "sha512-KughUodIEjzkC+KfQ4+259yRXYfo0VLkZQ7NVC3RGfCMMOiVWaOxHjmcaY0FnZzKX3pwrlMyTAZbwH9tVAN/Yw==", + "version": "2.21.1", + "resolved": "https://registry.npmjs.org/viem/-/viem-2.21.1.tgz", + "integrity": "sha512-nlIc2LLS6aqkngULS9UJ2Sg3nHKAgF9bbpDUwjUoAUBijd69mrCWPBXQ8jmbzcx12uZUfd9Nc//CHgSVZiMwyg==", "funding": [ { "type": "github", diff --git a/package.json b/package.json index e3a5fcd..78ceb10 100644 --- a/package.json +++ b/package.json @@ -18,11 +18,11 @@ "dependencies": { "@emotion/react": "^11.11.4", "@emotion/styled": "^11.11.5", - "@ethereum-attestation-service/eas-sdk": "^2.5.0", + "@ethereum-attestation-service/eas-sdk": "^2.2.0", "@fontsource/inter": "^5.0.19", "@fontsource/roboto": "^5.0.13", - "@lit-protocol/lit-node-client": "^6.4.0", - "@lit-protocol/types": "^6.4.0", + "@lit-protocol/lit-node-client": "^5.1.0", + "@lit-protocol/types": "^2.2.39", "@mui/icons-material": "^5.16.0", "@mui/material": "^5.16.0", "@rainbow-me/rainbowkit": "^2.1.3", diff --git a/src/libs/oci/index.ts b/src/libs/oci/index.ts index 49355a4..be1fda6 100644 --- a/src/libs/oci/index.ts +++ b/src/libs/oci/index.ts @@ -5,7 +5,7 @@ import { } from '@ethereum-attestation-service/eas-sdk'; import * as LitJsSdk from '@lit-protocol/lit-node-client'; -import { EncryptToJsonPayload, SessionSigsMap } from '@lit-protocol/types'; +import { SessionSigsMap } from '@lit-protocol/types'; import { publicClient } from './client'; import sepoliaChain from '../../utils/contracts/eas/sepoliaChain.json'; diff --git a/src/router/index.tsx b/src/router/index.tsx deleted file mode 100644 index c97f4b4..0000000 --- a/src/router/index.tsx +++ /dev/null @@ -1,65 +0,0 @@ -import { createBrowserRouter } from 'react-router-dom'; - -import Login from '../pages/Auth/Login'; -import Dashboard from '../pages/Dashboard'; -import Identifiers from '../pages/Identifiers'; -import Permissions from '../pages/Permissions'; -import Attestation from '../pages/Identifiers/Attestation'; -import Callback from '../pages/Callback'; - -import DefaultLayout from '../layouts/DefaultLayout'; -import ProtectedRoute from '../ProtectedRoute'; - -export const router = createBrowserRouter([ - { - path: '/auth/login', - element: , - }, - { - path: '/', - element: , - children: [ - { - path: '/', - element: ( - - - - ), - index: true, - }, - { - path: '/identifiers', - element: ( - - - - ), - }, - { - path: 'identifiers/:provider/attestation', - element: ( - - - - ), - }, - { - path: '/permissions', - element: ( - - - - ), - }, - ], - }, - { - path: '/callback', - element: , - }, - { - path: '*', - element:
Not found
, - }, -]); From 6c7ad29f99b1de4a9ae0c5f77bafe57333e76261 Mon Sep 17 00:00:00 2001 From: mehditorabiv Date: Sun, 1 Sep 2024 10:30:18 +0300 Subject: [PATCH 3/3] revert --- src/libs/oci/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/oci/index.ts b/src/libs/oci/index.ts index be1fda6..49355a4 100644 --- a/src/libs/oci/index.ts +++ b/src/libs/oci/index.ts @@ -5,7 +5,7 @@ import { } from '@ethereum-attestation-service/eas-sdk'; import * as LitJsSdk from '@lit-protocol/lit-node-client'; -import { SessionSigsMap } from '@lit-protocol/types'; +import { EncryptToJsonPayload, SessionSigsMap } from '@lit-protocol/types'; import { publicClient } from './client'; import sepoliaChain from '../../utils/contracts/eas/sepoliaChain.json';