diff --git a/docs/resources/supported-chains.md b/docs/resources/supported-chains.md index e697a504..3d15f930 100644 --- a/docs/resources/supported-chains.md +++ b/docs/resources/supported-chains.md @@ -1,186 +1,26 @@ -import Tabs from '@theme/Tabs'; -import TabItem from '@theme/TabItem'; +import SupportedChainCard from '@site/src/components/SupportedChainCard'; # Supported Blockchains -Don't see a blockchain you want? Fill out this form for EVM chains and we'll add it: https://forms.gle/YQV5R7WoRyPk32xc7 +Lit extends its functionality across many blockchains, enabling the signing of data/transactions and setting up precise access control conditions using on-chain state. -## Access Control Protocol +## Signing Data -Our Access Control Protocol supports most EVM chains, the Cosmos ecosystem, and Solana. +Lit's [Programmable Key Pairs (PKPs)](../user-wallets/pkps/overview) support signing data/transactions with the ECDSA secp256k1 curve, commonly used in EVM based blockchains. For a shortlist of which blockchains use ECDSA, please visit [here](http://ethanfast.com/top-crypto.html). -## Programmable Key Pairs +Additionally, we accommodate the Solana ecosystem by supporting the Ed25519 curve with our [Wrapped Keys SDK](../user-wallets/wrapped-keys/overview). For those working with other cryptographic curves, Lit provides the flexibility to integrate custom signing functions using [Custom Wrapped Keys](../user-wallets/wrapped-keys/custom-wrapped-keys). -PKPs rely on the [ECDSA](https://blog.cloudflare.com/ecdsa-the-digital-signature-algorithm-of-a-better-internet/) for digital signatures. This makes them inherently "compatible" with chains that rely on this same cryptographic primitive. +If you require support beyond our existing implementations, please [contact us](https://forms.gle/YQV5R7WoRyPk32xc7); we are continually expanding our capabilities to meet developer needs. -You can learn more about compatible chains [here.](http://ethanfast.com/top-crypto.html) +## Access Control Conditions -:::note -To sign on any chain not currently supported by Programmable Key Pairs, see [Wrapped Keys](../user-wallets/wrapped-keys/overview) -::: - -## Supported Chains (Access Control & PKP) - - - - - -- ethereum -- polygon -- mumbai -- xdai -- chiado -- base -- baseGoerli -- bsc -- fantom -- arbitrum -- avalanche -- harmony -- goerli -- cronos -- optimism -- celo -- fuji -- aurora -- eluvio -- alfajores -- xdc -- evmos -- evmosTestnet -- litTestnet -- lit -- lukso -- luksoTestnet -- sepolia -- zkSync -- zksyncTestnet -- linea -- zkEvm -- zora -- zoraGoerli -- mantleTestnet -- mantle -- klaytn -- publicGoodsNetwork - - +Lit's [Access Control Conditions](../sdk/access-control/intro) allow you to specify fine-grained access control policies using on-chain state. Currently Lit supports reading state from most EVM based chains, the Cosmos ecosystem, and Solana. Below is an overview of the EVM based chains currently supported: - - -- ethereum -- polygon -- mumbai -- xdai -- chiado -- base -- baseGoerli -- bsc -- fantom -- arbitrum -- avalanche -- harmony -- goerli -- cronos -- optimism -- celo -- fuji -- aurora -- eluvio -- alfajores -- xdc -- evmos -- evmosTestnet -- litTestnet -- lit -- lukso -- luksoTestnet -- sepolia -- zkSync -- zksyncTestnet -- linea -- zkEvm -- zora -- zoraGoerli -- mantleTestnet -- mantle -- klaytn -- publicGoodsNetwork - - - - - -- alfajores -- anvil -- arbitrum -- aurora -- avalanche -- base -- baseGoerli -- baseSepolia -- bsc -- celo -- cheqdMainnet -- cheqdTestnet -- chiado -- chronicleTestnet -- cosmos -- cronos -- eluvio -- ethereum -- evmos -- evmosTestnet -- fantom -- filecoin -- hyperspace -- fuji -- goerli -- hardhat -- harmony -- juno -- kovan -- kyve -- lineaGoerli -- lit -- litTestnet -- lukso -- luksoTestnet -- moonbaseAlpha -- moonbeam -- moonriver -- mumbai -- optimism -- optimismGoerli -- polygon -- rinkeby -- ropsten -- sepolia -- scrollAlphaTestnet -- scroll -- solana -- solanaDevnet -- solanaTestnet -- verifyTestnet -- xdai -- xdc -- zkSync -- zksyncTestnet -- zkEvm -- zora -- zoraGoerli -- mantleTestnet -- mantle -- klaytn -- publicGoodsNetwork -- waevEclipseTestnet - - +:::info +Is your preferred blockchain not yet supported? Submit a request for its addition using [this form](https://forms.gle/YQV5R7WoRyPk32xc7). +::: - \ No newline at end of file + diff --git a/package-lock.json b/package-lock.json index f0c2e587..445612d1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@docusaurus/core": "2.1.0", "@docusaurus/plugin-google-analytics": "^2.1.0", "@docusaurus/preset-classic": "2.1.0", - "@lit-protocol/constants": "^5.0.0", + "@lit-protocol/constants": "^5.1.0", "@mdx-js/react": "^1.6.21", "@svgr/webpack": "^5.5.0", "clsx": "^1.1.1", @@ -5167,23 +5167,23 @@ } }, "node_modules/@lit-protocol/auth-helpers": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@lit-protocol/auth-helpers/-/auth-helpers-5.0.0.tgz", - "integrity": "sha512-uiTUwhxyzUe7h57i4KhJjL96XP0PcxSufpBq2Z2XjEzWD3ns6ruyy7fWpB7wseR0ePzW3kegEz8fuzhl/HtTfQ==", + "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==", "dependencies": { "siwe": "^2.0.5", "siwe-recap": "0.0.2-alpha.0" } }, "node_modules/@lit-protocol/constants": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@lit-protocol/constants/-/constants-5.0.0.tgz", - "integrity": "sha512-6zVezFFD/1DhcJn+0xsvEnV4Grpy6GFM3klD3TZInvue10WYJsrSqSfagNraaemfMwf1DDOpdC8jG2J/4Rl78g==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@lit-protocol/constants/-/constants-5.1.0.tgz", + "integrity": "sha512-TB5QDY16OIrRyJ4UMMMrr0zZ+n64gnoi0+7hmXJZbvcEous0LODnPcuddIvPr8luaRDnAlmS8fzsDOnX0dDo9g==", "dependencies": { "@ethersproject/abstract-provider": "5.7.0", "@lit-protocol/accs-schemas": "0.0.7", - "@lit-protocol/auth-helpers": "5.0.0", - "@lit-protocol/types": "5.0.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", @@ -5192,13 +5192,13 @@ } }, "node_modules/@lit-protocol/types": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@lit-protocol/types/-/types-5.0.0.tgz", - "integrity": "sha512-6r4LCxEe0QiZxFWYQHkTRwedypcEm98kcvBdiGmaoPj8pnbHtjuGOAveG9HumAUvs85rd8psmVh9cl3yLFQYkw==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@lit-protocol/types/-/types-5.1.0.tgz", + "integrity": "sha512-VundTuMZZ5bRKeG5sWaX0e33H8BAka94XHYKTGXWJ81XmU0WBJ7YO+WDCeHsyix/SM9246klVzd8dwQsGcDzZw==", "dependencies": { "@ethersproject/abstract-provider": "5.7.0", "@lit-protocol/accs-schemas": "0.0.7", - "@lit-protocol/auth-helpers": "5.0.0", + "@lit-protocol/auth-helpers": "5.1.0", "ethers": "^5.7.1", "jszip": "^3.10.1", "siwe": "^2.0.5", @@ -5337,11 +5337,11 @@ } }, "node_modules/@noble/hashes": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", - "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.5.0.tgz", + "integrity": "sha512-1j6kQFb7QRru7eKN3ZDvRcP13rugwdxZqCjbiAVZfIJwgj2A65UmT4TgARXGlXgnRkORLTDTrO19ZErt7+QXgA==", "engines": { - "node": ">= 16" + "node": "^14.21.3 || >=16" }, "funding": { "url": "https://paulmillr.com/funding/" @@ -5429,12 +5429,12 @@ } }, "node_modules/@spruceid/siwe-parser": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@spruceid/siwe-parser/-/siwe-parser-2.0.2.tgz", - "integrity": "sha512-9WuA0ios2537cWYu39MMeH0O2KdrMKgKlOBUTWRTXQjCYu5B+mHCA0JkCbFaJ/0EjxoVIcYCXIW/DoPEpw+PqA==", + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@spruceid/siwe-parser/-/siwe-parser-2.1.2.tgz", + "integrity": "sha512-d/r3S1LwJyMaRAKQ0awmo9whfXeE88Qt00vRj91q5uv5ATtWIQEGJ67Yr5eSZw5zp1/fZCXZYuEckt8lSkereQ==", "dependencies": { "@noble/hashes": "^1.1.2", - "apg-js": "^4.1.1", + "apg-js": "^4.3.0", "uri-js": "^4.4.1", "valid-url": "^1.0.9" } @@ -6389,9 +6389,9 @@ } }, "node_modules/apg-js": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/apg-js/-/apg-js-4.2.1.tgz", - "integrity": "sha512-S3unf9jb9XrhmZYC27L5yits1p/+HqN6lksrkqKEv1U0Ytu+ENkIkOMV5+iutFjBaY9JTUCDQFS1svHsy3uNZA==" + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/apg-js/-/apg-js-4.4.0.tgz", + "integrity": "sha512-fefmXFknJmtgtNEXfPwZKYkMFX4Fyeyz+fNF6JWp87biGOPslJbCBVU158zvKRZfHBKnJDy8CMM40oLFGkXT8Q==" }, "node_modules/arg": { "version": "5.0.2", @@ -14570,11 +14570,11 @@ "integrity": "sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==" }, "node_modules/siwe": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/siwe/-/siwe-2.1.4.tgz", - "integrity": "sha512-Dke1Qqa3mgiLm3vjqw/+SQ7dl8WV/Pfk3AlQBF94cBFydTYhztngqYrikzE3X5UTsJ6565dfVbQptszsuYZNYg==", + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/siwe/-/siwe-2.3.2.tgz", + "integrity": "sha512-aSf+6+Latyttbj5nMu6GF3doMfv2UYj83hhwZgUF20ky6fTS83uVhkQABdIVnEuS8y1bBdk7p6ltb9SmlhTTlA==", "dependencies": { - "@spruceid/siwe-parser": "*", + "@spruceid/siwe-parser": "^2.1.2", "@stablelib/random": "^1.0.1", "uri-js": "^4.4.1", "valid-url": "^1.0.9" diff --git a/package.json b/package.json index ae2d5cc3..911407a0 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "@docusaurus/core": "2.1.0", "@docusaurus/plugin-google-analytics": "^2.1.0", "@docusaurus/preset-classic": "2.1.0", - "@lit-protocol/constants": "^5.0.0", + "@lit-protocol/constants": "^5.1.0", "@mdx-js/react": "^1.6.21", "@svgr/webpack": "^5.5.0", "clsx": "^1.1.1", diff --git a/src/components/SupportedChainCard.jsx b/src/components/SupportedChainCard.jsx new file mode 100644 index 00000000..c608a547 --- /dev/null +++ b/src/components/SupportedChainCard.jsx @@ -0,0 +1,103 @@ +import React from 'react'; +import { LIT_CHAINS } from '@lit-protocol/constants'; +import { paramCase } from 'param-case'; + +export function Section({ + id, + title, + children, + description, + className, + hasSubSections = false, + HeadingTag = 'h3', +}) { + return ( +
+ {title && {title}} + {description && ( +

{description}

+ )} +
{children}
+
+ ); +} + +export function Card({ title, litIdentifier, chainId, to }) { + return ( +
+ +
+
{title}
+ + Chain ID: {chainId} + + + Lit Identifier: {litIdentifier} + +
+
+ ); +} + +const BlockchainCard = ({ chainName, symbol, chainId, litIdentifier }) => ( +
+ +
+); + +export default function SupportedBlockchainsSection({ title, className }) { + const chains = React.useMemo(() => { + return Object.entries(LIT_CHAINS) + .sort(([keyA], [keyB]) => + keyA.toLowerCase().localeCompare(keyB.toLowerCase()) + ) + .map(([key, chain]) => ({ + litIdentifier: key, + chainName: chain.name, + symbol: chain.symbol, + chainId: chain.chainId, + })); + }, []); + + const [searchTerm, setSearchTerm] = React.useState(''); + + const filteredChains = React.useMemo(() => { + return chains.filter(chain => + chain.chainName.toLowerCase().includes(searchTerm.toLowerCase()) + ); + }, [chains, searchTerm]); + + const handleSearchChange = event => { + setSearchTerm(event.target.value); + }; + + if (chains.length === 0) { + return
No chains to display
; + } + + return ( +
+
+ +
+ + {filteredChains.length === 0 ? ( +
No chains found
+ ) : ( + filteredChains.map(chain => ( + + )) + )} +
+ ); +} diff --git a/src/css/custom.css b/src/css/custom.css index 72c94102..e9defc53 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -300,7 +300,12 @@ html[data-theme='dark'] ::selection { --ifm-h1-font-size: var(--lit-h1-font-size); } -h1, h2, h3, h4, h5, h6 { +h1, +h2, +h3, +h4, +h5, +h6 { --ifm-code-font-size: 100%; } @@ -424,7 +429,8 @@ html[data-theme='dark'] .header-github-link::before { font-weight: 600; } -.menu__link:not(.menu__link--active):hover, .menu__list-item-collapsible .menu__link:hover { +.menu__link:not(.menu__link--active):hover, +.menu__list-item-collapsible .menu__link:hover { color: var(--ifm-menu-color-active); } @@ -432,10 +438,11 @@ html[data-theme='dark'] .header-github-link::before { color: var(--ifm-heading-color); } -.menu__caret::before, .menu__link--sublist-caret:after { +.menu__caret::before, +.menu__link--sublist-caret:after { background: var(--ifm-menu-link-sublist-icon) 50% / 1.5rem 1.5rem; height: 1.5rem; - width: 1.5rem + width: 1.5rem; } @media only screen and (min-width: 997px) { @@ -444,7 +451,8 @@ html[data-theme='dark'] .header-github-link::before { } } -.menu__link--sublist-caret:hover, .menu__list-item-collapsible--active { +.menu__link--sublist-caret:hover, +.menu__list-item-collapsible--active { --ifm-menu-link-sublist-icon: url('data:image/svg+xml;utf8,'); } @@ -546,7 +554,7 @@ html[data-theme] .DocSearch-Prefill { /* * ---------- Breadcrumbs ---------- */ -nav[aria-label="Breadcrumbs"] { +nav[aria-label='Breadcrumbs'] { margin-bottom: 1.5rem; } @@ -568,7 +576,6 @@ nav[aria-label="Breadcrumbs"] { white-space: nowrap; } - .markdown a:not(.hash-link, .homepage-card__link)::before, .markdown a:not(.hash-link, .homepage-card__link)::after { position: absolute; @@ -591,7 +598,6 @@ nav[aria-label="Breadcrumbs"] { text-decoration: none; } - .markdown a:not(.hash-link, .homepage-card__link):hover::before { transform-origin: 100% 50%; transform: scale3d(0, 1, 1); @@ -761,7 +767,9 @@ html[data-theme='dark'] .alert--danger { padding: 1rem 1.125rem; } -.testnet-networks-table tbody { color: white; } +.testnet-networks-table tbody { + color: white; +} .testnet-networks-table tbody tr:nth-child(1), .testnet-networks-table tbody tr:nth-child(2), .testnet-networks-table tbody tr:nth-child(3) { @@ -769,14 +777,117 @@ html[data-theme='dark'] .alert--danger { } .testnet-networks-table tbody tr:nth-child(4) { - background: green; + background: green; } .testnet-networks-table tbody tr:nth-child(5) { - background: green; + background: green; +} + +.mainnet-networks-table tbody { + color: white; +} +.mainnet-networks-table tbody tr:nth-child(1) { + background: #e22525; +} +.mainnet-networks-table tbody tr:nth-child(2) { + background: #e22525; +} +.mainnet-networks-table tbody tr:nth-child(3) { + background: green; +} + +.supported-chains-card { + position: relative; + border: 1px solid var(--lit-pagination-border-color); + border-radius: 0.375rem; + transition: border-color var(--ifm-transition-fast) + var(--ifm-transition-timing-default); +} + +.supported-chains-card:hover { + background-color: var(--support-chains-card-hover); + border-color: var(--ifm-link-hover-color); +} + +.supported-chains-card:hover .support-chains-card__title { + color: var(--ifm-link-hover-color); +} + +.supported-chains-card__link { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + content: ' '; } +.supported-chains-card__title { + font-weight: 600; + color: var(--ifm-heading-color); + margin-bottom: 0.5rem; +} -.mainnet-networks-table tbody { color: white; } -.mainnet-networks-table tbody tr:nth-child(1) { background: #e22525; } -.mainnet-networks-table tbody tr:nth-child(2) { background: #e22525; } -.mainnet-networks-table tbody tr:nth-child(3) { background: green; } +.supported-chains-card__description { + font-size: 0.875rem; + color: var(--ifm-font-color-base); +} + +.supported-chains-card__content { + display: flex; + flex-direction: column; + padding: 1rem 1.125rem; +} + +.chain-search-input-container { + grid-column: 1 / -1; +} + +.chain-search-input { + width: 100%; + padding: 0.75rem 1rem; + margin-bottom: 0.5rem; + border: 1px solid var(--ifm-color-gray-300); + border-radius: var(--ifm-global-radius); + font-size: var(--ifm-font-size-base); + line-height: 1.5; + color: var(--ifm-font-color-base); + background-color: var(--ifm-background-color); + transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; +} + +.chain-search-input:hover { + border-color: var(--ifm-link-hover-color); +} + +.chain-search-input:focus { + border-color: var(--ifm-color-primary); + outline: 0; + box-shadow: 0 0 0 0.2rem rgba(var(--ifm-color-primary-rgb), 0.25); +} + +html[data-theme='dark'] .chain-search-input { + border-color: var(--ifm-color-gray-700); + background-color: var(--ifm-background-color); +} + +/* New dark mode hover styles */ +html[data-theme='dark'] .chain-search-input:hover { + border-color: var(--ifm-link-hover-color); +} + +html[data-theme='dark'] .chain-search-input:focus { + border-color: var(--ifm-color-primary); + box-shadow: 0 0 0 0.2rem rgba(var(--ifm-color-primary-rgb), 0.25); +} + +.supported-chains-section-content { + display: grid; + gap: 12px; + grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); +} + +.supported-chains-section { + margin-top: 3rem; + margin-bottom: 3rem; +} diff --git a/yarn.lock b/yarn.lock index d6af0491..dc98e245 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2285,37 +2285,37 @@ dependencies: ajv "^8.12.0" -"@lit-protocol/auth-helpers@5.0.0": - version "5.0.0" - resolved "https://registry.npmjs.org/@lit-protocol/auth-helpers/-/auth-helpers-5.0.0.tgz" - integrity sha512-uiTUwhxyzUe7h57i4KhJjL96XP0PcxSufpBq2Z2XjEzWD3ns6ruyy7fWpB7wseR0ePzW3kegEz8fuzhl/HtTfQ== +"@lit-protocol/auth-helpers@5.1.0": + 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== dependencies: siwe "^2.0.5" siwe-recap "0.0.2-alpha.0" -"@lit-protocol/constants@^5.0.0": - version "5.0.0" - resolved "https://registry.npmjs.org/@lit-protocol/constants/-/constants-5.0.0.tgz" - integrity sha512-6zVezFFD/1DhcJn+0xsvEnV4Grpy6GFM3klD3TZInvue10WYJsrSqSfagNraaemfMwf1DDOpdC8jG2J/4Rl78g== +"@lit-protocol/constants@^5.1.0": + version "5.1.0" + resolved "https://registry.npmjs.org/@lit-protocol/constants/-/constants-5.1.0.tgz" + integrity sha512-TB5QDY16OIrRyJ4UMMMrr0zZ+n64gnoi0+7hmXJZbvcEous0LODnPcuddIvPr8luaRDnAlmS8fzsDOnX0dDo9g== dependencies: "@ethersproject/abstract-provider" "5.7.0" "@lit-protocol/accs-schemas" "0.0.7" - "@lit-protocol/auth-helpers" "5.0.0" - "@lit-protocol/types" "5.0.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" siwe-recap "0.0.2-alpha.0" tslib "^2.3.0" -"@lit-protocol/types@5.0.0": - version "5.0.0" - resolved "https://registry.npmjs.org/@lit-protocol/types/-/types-5.0.0.tgz" - integrity sha512-6r4LCxEe0QiZxFWYQHkTRwedypcEm98kcvBdiGmaoPj8pnbHtjuGOAveG9HumAUvs85rd8psmVh9cl3yLFQYkw== +"@lit-protocol/types@5.1.0": + version "5.1.0" + resolved "https://registry.npmjs.org/@lit-protocol/types/-/types-5.1.0.tgz" + integrity sha512-VundTuMZZ5bRKeG5sWaX0e33H8BAka94XHYKTGXWJ81XmU0WBJ7YO+WDCeHsyix/SM9246klVzd8dwQsGcDzZw== dependencies: "@ethersproject/abstract-provider" "5.7.0" "@lit-protocol/accs-schemas" "0.0.7" - "@lit-protocol/auth-helpers" "5.0.0" + "@lit-protocol/auth-helpers" "5.1.0" ethers "^5.7.1" jszip "^3.10.1" siwe "^2.0.5" @@ -2358,9 +2358,9 @@ integrity sha512-H1rQc1ZOHANWBvPcW+JpGwr+juXSxM8Q8YCkm3GhZd8REu1fHR3z99CErO1p9pkcfcxZnMdIZdIsXkOHY0NilA== "@noble/hashes@^1.1.2": - version "1.3.2" - resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz" - integrity sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ== + version "1.5.0" + resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.5.0.tgz" + integrity sha512-1j6kQFb7QRru7eKN3ZDvRcP13rugwdxZqCjbiAVZfIJwgj2A65UmT4TgARXGlXgnRkORLTDTrO19ZErt7+QXgA== "@nodelib/fs.scandir@2.1.5": version "2.1.5" @@ -2424,13 +2424,13 @@ p-map "^4.0.0" webpack-sources "^3.2.2" -"@spruceid/siwe-parser@*": - version "2.0.2" - resolved "https://registry.npmjs.org/@spruceid/siwe-parser/-/siwe-parser-2.0.2.tgz" - integrity sha512-9WuA0ios2537cWYu39MMeH0O2KdrMKgKlOBUTWRTXQjCYu5B+mHCA0JkCbFaJ/0EjxoVIcYCXIW/DoPEpw+PqA== +"@spruceid/siwe-parser@^2.1.2": + version "2.1.2" + resolved "https://registry.npmjs.org/@spruceid/siwe-parser/-/siwe-parser-2.1.2.tgz" + integrity sha512-d/r3S1LwJyMaRAKQ0awmo9whfXeE88Qt00vRj91q5uv5ATtWIQEGJ67Yr5eSZw5zp1/fZCXZYuEckt8lSkereQ== dependencies: "@noble/hashes" "^1.1.2" - apg-js "^4.1.1" + apg-js "^4.3.0" uri-js "^4.4.1" valid-url "^1.0.9" @@ -3238,10 +3238,10 @@ anymatch@~3.1.2: normalize-path "^3.0.0" picomatch "^2.0.4" -apg-js@^4.1.1: - version "4.2.1" - resolved "https://registry.npmjs.org/apg-js/-/apg-js-4.2.1.tgz" - integrity sha512-S3unf9jb9XrhmZYC27L5yits1p/+HqN6lksrkqKEv1U0Ytu+ENkIkOMV5+iutFjBaY9JTUCDQFS1svHsy3uNZA== +apg-js@^4.3.0: + version "4.4.0" + resolved "https://registry.npmjs.org/apg-js/-/apg-js-4.4.0.tgz" + integrity sha512-fefmXFknJmtgtNEXfPwZKYkMFX4Fyeyz+fNF6JWp87biGOPslJbCBVU158zvKRZfHBKnJDy8CMM40oLFGkXT8Q== arg@^5.0.0: version "5.0.2" @@ -5072,6 +5072,11 @@ fs.realpath@^1.0.0: resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz" integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== +fsevents@~2.3.2: + version "2.3.3" + resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz" + integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== + function-bind@^1.1.2: version "1.1.2" resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz" @@ -8235,11 +8240,11 @@ siwe-recap@0.0.2-alpha.0: siwe "^2.1.4" siwe@^2.0.5, siwe@^2.1.4: - version "2.1.4" - resolved "https://registry.npmjs.org/siwe/-/siwe-2.1.4.tgz" - integrity sha512-Dke1Qqa3mgiLm3vjqw/+SQ7dl8WV/Pfk3AlQBF94cBFydTYhztngqYrikzE3X5UTsJ6565dfVbQptszsuYZNYg== + version "2.3.2" + resolved "https://registry.npmjs.org/siwe/-/siwe-2.3.2.tgz" + integrity sha512-aSf+6+Latyttbj5nMu6GF3doMfv2UYj83hhwZgUF20ky6fTS83uVhkQABdIVnEuS8y1bBdk7p6ltb9SmlhTTlA== dependencies: - "@spruceid/siwe-parser" "*" + "@spruceid/siwe-parser" "^2.1.2" "@stablelib/random" "^1.0.1" uri-js "^4.4.1" valid-url "^1.0.9"