diff --git a/apps/demo/CHANGELOG.md b/apps/demo/CHANGELOG.md index 6f81d4e9ac..d2388fae6a 100644 --- a/apps/demo/CHANGELOG.md +++ b/apps/demo/CHANGELOG.md @@ -1,5 +1,14 @@ # @apps/demo +## 5.0.3 + +### Patch Changes + +- fix: ethers5 coinbase issues. Turbo build issues. Upate cb connector. + +- Updated dependencies []: + - @web3modal/wagmi@5.0.3 + ## 5.0.2 ### Patch Changes diff --git a/apps/demo/package.json b/apps/demo/package.json index 632f0e2857..84c8c28629 100644 --- a/apps/demo/package.json +++ b/apps/demo/package.json @@ -1,6 +1,6 @@ { "name": "@apps/demo", - "version": "5.0.2", + "version": "5.0.3", "private": true, "scripts": { "dev:demo": "next dev", @@ -11,7 +11,7 @@ "dependencies": { "@radix-ui/react-switch": "1.0.3", "@tanstack/react-query": "5.24.8", - "@web3modal/wagmi": "5.0.2", + "@web3modal/wagmi": "5.0.3", "clsx": "2.1.0", "framer-motion": "11.0.8", "next": "14.2.3", diff --git a/apps/gallery/CHANGELOG.md b/apps/gallery/CHANGELOG.md index 2b10b46c74..5e77948568 100644 --- a/apps/gallery/CHANGELOG.md +++ b/apps/gallery/CHANGELOG.md @@ -1,5 +1,15 @@ # @apps/gallery +## 5.0.3 + +### Patch Changes + +- fix: ethers5 coinbase issues. Turbo build issues. Upate cb connector. + +- Updated dependencies []: + - @web3modal/common@5.0.3 + - @web3modal/ui@5.0.3 + ## 5.0.2 ### Patch Changes diff --git a/apps/gallery/package.json b/apps/gallery/package.json index 903836f117..7d4829083d 100644 --- a/apps/gallery/package.json +++ b/apps/gallery/package.json @@ -1,6 +1,6 @@ { "name": "@apps/gallery", - "version": "5.0.2", + "version": "5.0.3", "private": true, "main": "index.js", "scripts": { @@ -9,8 +9,8 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@web3modal/common": "5.0.2", - "@web3modal/ui": "5.0.2", + "@web3modal/common": "5.0.3", + "@web3modal/ui": "5.0.3", "lit": "3.1.0", "storybook": "7.6.7" }, diff --git a/apps/gallery/stories/composites/wui-onramp-activity-item.stories.ts b/apps/gallery/stories/composites/wui-onramp-activity-item.stories.ts deleted file mode 100644 index 9120ef5820..0000000000 --- a/apps/gallery/stories/composites/wui-onramp-activity-item.stories.ts +++ /dev/null @@ -1,35 +0,0 @@ -import type { Meta } from '@storybook/web-components' -import '@web3modal/ui/src/composites/wui-onramp-activity-item' -import type { WuiOnRampActivityItem } from '@web3modal/ui/src/composites/wui-onramp-activity-item' -import { html } from 'lit' -import '../../components/gallery-container' - -type Component = Meta - -export default { - title: 'Composites/wui-onramp-activity-item', - args: { - completed: true, - inProgress: false, - failed: false, - purchaseCurrency: 'USD', - purchaseValue: '1000', - date: '2 days ago' - } -} as Component - -export const Default: Component = { - render: args => html` - - - - ` -} diff --git a/apps/laboratory/CHANGELOG.md b/apps/laboratory/CHANGELOG.md index 49421f7f3d..bfbe7d6b64 100644 --- a/apps/laboratory/CHANGELOG.md +++ b/apps/laboratory/CHANGELOG.md @@ -1,5 +1,17 @@ # @apps/laboratory +## 5.0.3 + +### Patch Changes + +- fix: ethers5 coinbase issues. Turbo build issues. Upate cb connector. + +- Updated dependencies []: + - @web3modal/ethers@5.0.3 + - @web3modal/siwe@5.0.3 + - @web3modal/solana@5.0.3 + - @web3modal/wagmi@5.0.3 + ## 5.0.2 ### Patch Changes diff --git a/apps/laboratory/package.json b/apps/laboratory/package.json index 6510bb946c..9eb888cb09 100644 --- a/apps/laboratory/package.json +++ b/apps/laboratory/package.json @@ -1,6 +1,6 @@ { "name": "@apps/laboratory", - "version": "5.0.2", + "version": "5.0.3", "private": true, "scripts": { "dev:laboratory": "next dev", @@ -10,6 +10,7 @@ "playwright:start": "npm run start:laboratory", "playwright:install": "playwright install --with-deps", "playwright:test": "playwright test", + "playwright:test:basic": "playwright test --grep 'basic-tests.spec.ts'", "playwright:test:wallet": "playwright test --grep 'connect-qr.spec.ts|wallet.spec.ts'", "playwright:test:email": "playwright test --grep 'email.spec.ts'", "playwright:test:social": "playwright test --grep 'social.spec.ts'", @@ -19,6 +20,7 @@ "playwright:test:sa": "playwright test --grep smart-account.spec.ts", "playwright:test:canary": "playwright test --retries=0 --grep canary.spec.ts --project='Desktop Chrome/wagmi'", "playwright:debug": "npm run playwright:test -- --debug", + "playwright:debug:basic": "npm run playwright:test:basic -- --debug", "playwright:debug:wallet": "npm run playwright:test:wallet -- --debug", "playwright:debug:email": "npm run playwright:test:email -- --debug", "playwright:debug:social": "npm run playwright:test:social -- --debug", @@ -37,10 +39,10 @@ "@sentry/react": "7.92.0", "@solana/web3.js": "1.91.7", "@tanstack/react-query": "5.24.8", - "@web3modal/ethers": "5.0.2", - "@web3modal/siwe": "5.0.2", - "@web3modal/solana": "5.0.2", - "@web3modal/wagmi": "5.0.2", + "@web3modal/ethers": "5.0.3", + "@web3modal/siwe": "5.0.3", + "@web3modal/solana": "5.0.3", + "@web3modal/wagmi": "5.0.3", "ethers": "6.13.0", "framer-motion": "10.17.9", "next": "14.2.3", @@ -50,7 +52,8 @@ "valtio": "1.11.2", "viem": "2.10.3", "wagmi": "2.9.10", - "@wagmi/connectors": "5.0.8" + "@wagmi/connectors": "5.0.8", + "rpc-websockets": "7.11.0" }, "devDependencies": { "@aws-sdk/client-cloudwatch": "3.509.0", diff --git a/apps/laboratory/public/.well-known/apple-app-site-association b/apps/laboratory/public/.well-known/apple-app-site-association index 03424242ba..5916014cfd 100644 --- a/apps/laboratory/public/.well-known/apple-app-site-association +++ b/apps/laboratory/public/.well-known/apple-app-site-association @@ -4,15 +4,33 @@ "details": [ { "appID": "W5R8AG9K22.com.walletconnect.dapp", - "paths": ["/dapp*"] + "paths": [ + "/dapp*" + ] }, { "appID": "W5R8AG9K22.com.walletconnect.walletapp", - "paths": ["/wallet*"] + "paths": [ + "/wallet*" + ] }, { "appID": "W5R8AG9K22.com.walletconnect.web3modal.sample", - "paths": ["/web3modal_example*"] + "paths": [ + "/web3modal_example*" + ] + }, + { + "appID": "W5R8AG9K22.com.walletconnect.web3modal.rnsample.internal", + "paths": [ + "/appkit_rn*" + ] + }, + { + "appID": "W5R8AG9K22.com.walletconnect.web3wallet.rnsample.internal", + "paths": [ + "/walletkit_rn*" + ] } ] } diff --git a/apps/laboratory/src/pages/library/external.tsx b/apps/laboratory/src/pages/library/external.tsx new file mode 100644 index 0000000000..6314b6c494 --- /dev/null +++ b/apps/laboratory/src/pages/library/external.tsx @@ -0,0 +1,53 @@ +import { createWeb3Modal } from '@web3modal/wagmi/react' +import { QueryClient, QueryClientProvider } from '@tanstack/react-query' +import { useEffect, useState } from 'react' +import { WagmiProvider, createConfig, http } from 'wagmi' +import { Web3ModalButtons } from '../../components/Web3ModalButtons' +import { WagmiTests } from '../../components/Wagmi/WagmiTests' +import { ThemeStore } from '../../utils/StoreUtil' +import { ConstantsUtil } from '../../utils/ConstantsUtil' +import { WagmiModalInfo } from '../../components/Wagmi/WagmiModalInfo' +import { mainnet } from 'viem/chains' +import { externalTestConnector } from '../../utils/ConnectorUtil' + +const queryClient = new QueryClient() + +const connectors = [externalTestConnector()] + +const wagmiConfig = createConfig({ + chains: [mainnet], + connectors, + transports: { + 1: http() + }, + multiInjectedProviderDiscovery: false +}) + +const modal = createWeb3Modal({ + wagmiConfig, + projectId: ConstantsUtil.ProjectId, + enableAnalytics: true, + metadata: ConstantsUtil.Metadata, + termsConditionsUrl: 'https://walletconnect.com/terms', + privacyPolicyUrl: 'https://walletconnect.com/privacy' +}) + +ThemeStore.setModal(modal) + +export default function Wagmi() { + const [ready, setReady] = useState(false) + + useEffect(() => { + setReady(true) + }, []) + + return ready ? ( + + + + + + + + ) : null +} diff --git a/apps/laboratory/src/utils/ConnectorUtil.ts b/apps/laboratory/src/utils/ConnectorUtil.ts new file mode 100644 index 0000000000..8252133cb2 --- /dev/null +++ b/apps/laboratory/src/utils/ConnectorUtil.ts @@ -0,0 +1,77 @@ +import { createConnector } from '@wagmi/core' + +interface ConnectOptions { + chainId?: number +} + +// -- Connector ------------------------------------------------------------------------------------ +export function externalTestConnector() { + type Properties = { + provider?: () => Record + } + + return createConnector<() => Record, Properties>(() => ({ + id: 'externalTestConnector', + name: 'Web3Modal external', + type: 'externalTestConnector', + + async connect(options: ConnectOptions = {}) { + return Promise.resolve({ + options, + accounts: [], + account: '', + chainId: 0, + chain: { + id: 0, + unsuported: false + } + }) + }, + + async disconnect() { + return Promise.resolve() + }, + + async getAccounts() { + return Promise.resolve([]) + }, + + async getProvider() { + return Promise.resolve(() => ({})) + }, + + async getChainId() { + return Promise.resolve(0) + }, + + async isAuthorized() { + return Promise.resolve(false) + }, + + async switchChain({ chainId }) { + return Promise.resolve({ + chainId, + rpcUrls: { default: { http: [''] } }, + id: 0, + name: '', + nativeCurrency: { name: 'Test', symbol: '', decimals: 10 } + }) + }, + + onAccountsChanged(accounts) { + return accounts + }, + + onChainChanged(chain) { + return chain + }, + + async onConnect(connectInfo) { + return Promise.resolve(connectInfo) + }, + + async onDisconnect(_error) { + return Promise.resolve() + } + })) +} diff --git a/apps/laboratory/tests/basic-tests.spec.ts b/apps/laboratory/tests/basic-tests.spec.ts index 1dbdc68917..0a2fdc3b6b 100644 --- a/apps/laboratory/tests/basic-tests.spec.ts +++ b/apps/laboratory/tests/basic-tests.spec.ts @@ -1,3 +1,4 @@ +import { testMExternal } from './shared/fixtures/w3m-external-fixture' import { testM, expect } from './shared/fixtures/w3m-fixture' testM.describe('Modal only tests', () => { @@ -6,3 +7,10 @@ testM.describe('Modal only tests', () => { await expect(modalPage.page.getByTestId('all-wallets')).toBeVisible() }) }) + +testMExternal.describe('External connectors tests', () => { + testMExternal('Should show external connectors', async ({ modalPage, modalValidator }) => { + await modalPage.page.getByTestId('connect-button').click() + await modalValidator.expectExternalVisible() + }) +}) diff --git a/apps/laboratory/tests/shared/fixtures/w3m-external-fixture.ts b/apps/laboratory/tests/shared/fixtures/w3m-external-fixture.ts new file mode 100644 index 0000000000..d4f7730eb7 --- /dev/null +++ b/apps/laboratory/tests/shared/fixtures/w3m-external-fixture.ts @@ -0,0 +1,17 @@ +import type { ModalFixture } from './w3m-fixture' +import { ModalPage } from '../pages/ModalPage' +import { ModalValidator } from '../validators/ModalValidator' +import { timingFixture } from './timing-fixture' + +export const testMExternal = timingFixture.extend({ + library: ['wagmi', { option: true }], + modalPage: async ({ page, library }, use) => { + const modalPage = new ModalPage(page, library, 'external') + await modalPage.load() + await use(modalPage) + }, + modalValidator: async ({ modalPage }, use) => { + const modalValidator = new ModalValidator(modalPage.page) + await use(modalValidator) + } +}) diff --git a/apps/laboratory/tests/shared/pages/ModalPage.ts b/apps/laboratory/tests/shared/pages/ModalPage.ts index 5ef2c0211b..5c69e09a40 100644 --- a/apps/laboratory/tests/shared/pages/ModalPage.ts +++ b/apps/laboratory/tests/shared/pages/ModalPage.ts @@ -7,7 +7,16 @@ import { Email } from '../utils/email' import { DeviceRegistrationPage } from './DeviceRegistrationPage' import type { TimingRecords } from '../fixtures/timing-fixture' -export type ModalFlavor = 'default' | 'siwe' | 'email' | 'wallet' | 'all' +export type ModalFlavor = 'default' | 'siwe' | 'email' | 'wallet' | 'external' | 'all' + +function getUrlByFlavor(baseUrl: string, library: string, flavor: ModalFlavor) { + const urlsByFlavor: Partial> = { + default: `${baseUrl}library/${library}/`, + external: `${baseUrl}library/external/` + } + + return urlsByFlavor[flavor] || `${baseUrl}library/${library}-${flavor}/` +} export class ModalPage { private readonly baseURL = BASE_URL @@ -22,10 +31,7 @@ export class ModalPage { public readonly flavor: ModalFlavor ) { this.connectButton = this.page.getByTestId('connect-button') - this.url = - flavor === 'default' - ? `${this.baseURL}library/${this.library}/` - : `${this.baseURL}library/${this.library}-${this.flavor}/` + this.url = getUrlByFlavor(this.baseURL, library, flavor) } async load() { diff --git a/apps/laboratory/tests/shared/validators/ModalValidator.ts b/apps/laboratory/tests/shared/validators/ModalValidator.ts index b015ea6d07..59e4c1f09e 100644 --- a/apps/laboratory/tests/shared/validators/ModalValidator.ts +++ b/apps/laboratory/tests/shared/validators/ModalValidator.ts @@ -102,4 +102,9 @@ export class ModalValidator { expect(isVerified).toBe(true) } + + async expectExternalVisible() { + const externalConnector = this.page.getByTestId(/^wallet-selector-external/u) + await expect(externalConnector).toBeVisible() + } } diff --git a/examples/html-ethers5/CHANGELOG.md b/examples/html-ethers5/CHANGELOG.md index b09d5f4e88..4420ca2dbe 100644 --- a/examples/html-ethers5/CHANGELOG.md +++ b/examples/html-ethers5/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/html-ethers5 +## 5.0.3 + +### Patch Changes + +- fix: ethers5 coinbase issues. Turbo build issues. Upate cb connector. + +- Updated dependencies []: + - @web3modal/ethers5@5.0.3 + ## 5.0.2 ### Patch Changes diff --git a/examples/html-ethers5/package.json b/examples/html-ethers5/package.json index 2681542581..6917a12936 100644 --- a/examples/html-ethers5/package.json +++ b/examples/html-ethers5/package.json @@ -1,13 +1,13 @@ { "name": "@examples/html-ethers5", "private": true, - "version": "5.0.2", + "version": "5.0.3", "scripts": { "dev:example": "vite --port 3011", "build:examples": "vite build" }, "dependencies": { - "@web3modal/ethers5": "5.0.2", + "@web3modal/ethers5": "5.0.3", "ethers": "5.7.2" }, "devDependencies": { diff --git a/examples/html-wagmi/CHANGELOG.md b/examples/html-wagmi/CHANGELOG.md index 3dbfa017fc..54382b79f9 100644 --- a/examples/html-wagmi/CHANGELOG.md +++ b/examples/html-wagmi/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/html-wagmi +## 5.0.3 + +### Patch Changes + +- fix: ethers5 coinbase issues. Turbo build issues. Upate cb connector. + +- Updated dependencies []: + - @web3modal/wagmi@5.0.3 + ## 5.0.2 ### Patch Changes diff --git a/examples/html-wagmi/package.json b/examples/html-wagmi/package.json index a7f358bba7..8a97ad18b2 100644 --- a/examples/html-wagmi/package.json +++ b/examples/html-wagmi/package.json @@ -1,7 +1,7 @@ { "name": "@examples/html-wagmi", "private": true, - "version": "5.0.2", + "version": "5.0.3", "scripts": { "dev:example": "vite --port 3001", "build:examples": "vite build" @@ -9,7 +9,7 @@ "dependencies": { "@wagmi/connectors": "5.0.8", "@wagmi/core": "2.10.5", - "@web3modal/wagmi": "5.0.2", + "@web3modal/wagmi": "5.0.3", "react": "18.2.0", "react-dom": "18.2.0" }, diff --git a/examples/next-wagmi/CHANGELOG.md b/examples/next-wagmi/CHANGELOG.md index ea8baaa798..7a0d1af252 100644 --- a/examples/next-wagmi/CHANGELOG.md +++ b/examples/next-wagmi/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/next-wagmi +## 5.0.3 + +### Patch Changes + +- fix: ethers5 coinbase issues. Turbo build issues. Upate cb connector. + +- Updated dependencies []: + - @web3modal/wagmi@5.0.3 + ## 5.0.2 ### Patch Changes diff --git a/examples/next-wagmi/package.json b/examples/next-wagmi/package.json index b232c5f5b3..b5310a0c70 100644 --- a/examples/next-wagmi/package.json +++ b/examples/next-wagmi/package.json @@ -1,6 +1,6 @@ { "name": "@examples/next-wagmi", - "version": "5.0.2", + "version": "5.0.3", "private": true, "scripts": { "dev": "next dev", @@ -10,7 +10,7 @@ }, "dependencies": { "@tanstack/react-query": "5.24.8", - "@web3modal/wagmi": "5.0.2", + "@web3modal/wagmi": "5.0.3", "next": "14.2.3", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/examples/react-ethers/CHANGELOG.md b/examples/react-ethers/CHANGELOG.md index 598cf844a1..6bd6d9f0df 100644 --- a/examples/react-ethers/CHANGELOG.md +++ b/examples/react-ethers/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/react-ethers5 +## 5.0.3 + +### Patch Changes + +- fix: ethers5 coinbase issues. Turbo build issues. Upate cb connector. + +- Updated dependencies []: + - @web3modal/ethers@5.0.3 + ## 5.0.2 ### Patch Changes diff --git a/examples/react-ethers/package.json b/examples/react-ethers/package.json index f0ee72aed4..6babb0ef84 100644 --- a/examples/react-ethers/package.json +++ b/examples/react-ethers/package.json @@ -1,13 +1,13 @@ { "name": "@examples/react-ethers", "private": true, - "version": "5.0.2", + "version": "5.0.3", "scripts": { "dev:example": "vite --port 3012", "build:examples": "vite build" }, "dependencies": { - "@web3modal/ethers": "5.0.2", + "@web3modal/ethers": "5.0.3", "ethers": "6.9.0", "react": "18.2.0", "react-dom": "18.2.0" diff --git a/examples/react-ethers5/CHANGELOG.md b/examples/react-ethers5/CHANGELOG.md index e85efaf20d..bcc32f493e 100644 --- a/examples/react-ethers5/CHANGELOG.md +++ b/examples/react-ethers5/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/react-ethers5 +## 5.0.3 + +### Patch Changes + +- fix: ethers5 coinbase issues. Turbo build issues. Upate cb connector. + +- Updated dependencies []: + - @web3modal/ethers5@5.0.3 + ## 5.0.2 ### Patch Changes diff --git a/examples/react-ethers5/package.json b/examples/react-ethers5/package.json index 4f74458299..bed32c1819 100644 --- a/examples/react-ethers5/package.json +++ b/examples/react-ethers5/package.json @@ -1,13 +1,13 @@ { "name": "@examples/react-ethers5", "private": true, - "version": "5.0.2", + "version": "5.0.3", "scripts": { "dev:example": "vite --port 3012", "build:examples": "vite build" }, "dependencies": { - "@web3modal/ethers5": "5.0.2", + "@web3modal/ethers5": "5.0.3", "ethers": "5.7.2", "react": "18.2.0", "react-dom": "18.2.0" diff --git a/examples/react-wagmi/CHANGELOG.md b/examples/react-wagmi/CHANGELOG.md index f625b89481..abe560845b 100644 --- a/examples/react-wagmi/CHANGELOG.md +++ b/examples/react-wagmi/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/react-wagmi +## 5.0.3 + +### Patch Changes + +- fix: ethers5 coinbase issues. Turbo build issues. Upate cb connector. + +- Updated dependencies []: + - @web3modal/wagmi@5.0.3 + ## 5.0.2 ### Patch Changes diff --git a/examples/react-wagmi/package.json b/examples/react-wagmi/package.json index 1de52937d3..dff0ec2893 100644 --- a/examples/react-wagmi/package.json +++ b/examples/react-wagmi/package.json @@ -1,14 +1,14 @@ { "name": "@examples/react-wagmi", "private": true, - "version": "5.0.2", + "version": "5.0.3", "scripts": { "dev:example": "vite --port 3002", "build:examples": "vite build" }, "dependencies": { "@tanstack/react-query": "5.24.8", - "@web3modal/wagmi": "5.0.2", + "@web3modal/wagmi": "5.0.3", "react": "18.2.0", "react-dom": "18.2.0", "vite": "5.2.11", diff --git a/examples/vue-ethers5/CHANGELOG.md b/examples/vue-ethers5/CHANGELOG.md index 333890238f..4505712b10 100644 --- a/examples/vue-ethers5/CHANGELOG.md +++ b/examples/vue-ethers5/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/vue-ethers5 +## 5.0.3 + +### Patch Changes + +- fix: ethers5 coinbase issues. Turbo build issues. Upate cb connector. + +- Updated dependencies []: + - @web3modal/ethers5@5.0.3 + ## 5.0.2 ### Patch Changes diff --git a/examples/vue-ethers5/package.json b/examples/vue-ethers5/package.json index 063ff514a0..2b1c2dccad 100644 --- a/examples/vue-ethers5/package.json +++ b/examples/vue-ethers5/package.json @@ -1,13 +1,13 @@ { "name": "@examples/vue-ethers5", "private": true, - "version": "5.0.2", + "version": "5.0.3", "scripts": { "dev:example": "vite --port 3013", "build:examples": "vite build" }, "dependencies": { - "@web3modal/ethers5": "5.0.2", + "@web3modal/ethers5": "5.0.3", "ethers": "5.7.2" }, "devDependencies": { diff --git a/examples/vue-wagmi/CHANGELOG.md b/examples/vue-wagmi/CHANGELOG.md index 1bb1a9073f..bf1c577f88 100644 --- a/examples/vue-wagmi/CHANGELOG.md +++ b/examples/vue-wagmi/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/vue-wagmi +## 5.0.3 + +### Patch Changes + +- fix: ethers5 coinbase issues. Turbo build issues. Upate cb connector. + +- Updated dependencies []: + - @web3modal/wagmi@5.0.3 + ## 5.0.2 ### Patch Changes diff --git a/examples/vue-wagmi/package.json b/examples/vue-wagmi/package.json index 7e4dcfee08..04e6dfac04 100644 --- a/examples/vue-wagmi/package.json +++ b/examples/vue-wagmi/package.json @@ -1,7 +1,7 @@ { "name": "@examples/vue-wagmi", "private": true, - "version": "5.0.2", + "version": "5.0.3", "scripts": { "dev:example": "vite --port 3003", "build:examples": "vite build" @@ -9,7 +9,7 @@ "dependencies": { "@wagmi/connectors": "5.0.8", "@wagmi/core": "2.10.5", - "@web3modal/wagmi": "5.0.2" + "@web3modal/wagmi": "5.0.3" }, "devDependencies": { "@vitejs/plugin-vue": "5.0.2" diff --git a/package-lock.json b/package-lock.json index 84b89c3756..840d01a706 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,6 +13,7 @@ "packages/core", "packages/scaffold", "packages/scaffold-utils", + "packages/scaffold-ui", "packages/scaffold-react", "packages/scaffold-vue", "packages/polyfills", @@ -44,11 +45,11 @@ }, "apps/demo": { "name": "@apps/demo", - "version": "5.0.2", + "version": "5.0.3", "dependencies": { "@radix-ui/react-switch": "1.0.3", "@tanstack/react-query": "5.24.8", - "@web3modal/wagmi": "5.0.2", + "@web3modal/wagmi": "5.0.3", "clsx": "2.1.0", "framer-motion": "11.0.8", "next": "14.2.3", @@ -128,10 +129,10 @@ }, "apps/gallery": { "name": "@apps/gallery", - "version": "5.0.2", + "version": "5.0.3", "dependencies": { - "@web3modal/common": "5.0.2", - "@web3modal/ui": "5.0.2", + "@web3modal/common": "5.0.3", + "@web3modal/ui": "5.0.3", "lit": "3.1.0", "storybook": "7.6.7" }, @@ -147,7 +148,7 @@ }, "apps/laboratory": { "name": "@apps/laboratory", - "version": "5.0.2", + "version": "5.0.3", "dependencies": { "@chakra-ui/icons": "2.1.1", "@chakra-ui/react": "2.8.2", @@ -159,15 +160,16 @@ "@tanstack/react-query": "5.24.8", "@wagmi/connectors": "5.0.8", "@walletconnect/utils": "2.13.1", - "@web3modal/ethers": "5.0.2", - "@web3modal/siwe": "5.0.2", - "@web3modal/solana": "5.0.2", - "@web3modal/wagmi": "5.0.2", + "@web3modal/ethers": "5.0.3", + "@web3modal/siwe": "5.0.3", + "@web3modal/solana": "5.0.3", + "@web3modal/wagmi": "5.0.3", "ethers": "6.13.0", "framer-motion": "10.17.9", "next": "14.2.3", "next-auth": "4.24.5", "react-icons": "4.12.0", + "rpc-websockets": "7.11.0", "valtio": "1.11.2", "viem": "2.10.3", "wagmi": "2.9.10" @@ -219,9 +221,9 @@ }, "examples/html-ethers5": { "name": "@examples/html-ethers5", - "version": "5.0.2", + "version": "5.0.3", "dependencies": { - "@web3modal/ethers5": "5.0.2", + "@web3modal/ethers5": "5.0.3", "ethers": "5.7.2" }, "devDependencies": { @@ -277,11 +279,11 @@ }, "examples/html-wagmi": { "name": "@examples/html-wagmi", - "version": "5.0.2", + "version": "5.0.3", "dependencies": { "@wagmi/connectors": "5.0.8", "@wagmi/core": "2.10.5", - "@web3modal/wagmi": "5.0.2", + "@web3modal/wagmi": "5.0.3", "react": "18.2.0", "react-dom": "18.2.0" }, @@ -291,10 +293,10 @@ }, "examples/next-wagmi": { "name": "@examples/next-wagmi", - "version": "5.0.2", + "version": "5.0.3", "dependencies": { "@tanstack/react-query": "5.24.8", - "@web3modal/wagmi": "5.0.2", + "@web3modal/wagmi": "5.0.3", "next": "14.2.3", "react": "18.2.0", "react-dom": "18.2.0", @@ -337,9 +339,9 @@ }, "examples/react-ethers": { "name": "@examples/react-ethers", - "version": "5.0.2", + "version": "5.0.3", "dependencies": { - "@web3modal/ethers": "5.0.2", + "@web3modal/ethers": "5.0.3", "ethers": "6.9.0", "react": "18.2.0", "react-dom": "18.2.0" @@ -388,9 +390,9 @@ }, "examples/react-ethers5": { "name": "@examples/react-ethers5", - "version": "5.0.2", + "version": "5.0.3", "dependencies": { - "@web3modal/ethers5": "5.0.2", + "@web3modal/ethers5": "5.0.3", "ethers": "5.7.2", "react": "18.2.0", "react-dom": "18.2.0" @@ -449,10 +451,10 @@ }, "examples/react-wagmi": { "name": "@examples/react-wagmi", - "version": "5.0.2", + "version": "5.0.3", "dependencies": { "@tanstack/react-query": "5.24.8", - "@web3modal/wagmi": "5.0.2", + "@web3modal/wagmi": "5.0.3", "react": "18.2.0", "react-dom": "18.2.0", "viem": "2.10.3", @@ -466,9 +468,9 @@ }, "examples/vue-ethers5": { "name": "@examples/vue-ethers5", - "version": "5.0.2", + "version": "5.0.3", "dependencies": { - "@web3modal/ethers5": "5.0.2", + "@web3modal/ethers5": "5.0.3", "ethers": "5.7.2" }, "devDependencies": { @@ -524,11 +526,11 @@ }, "examples/vue-wagmi": { "name": "@examples/vue-wagmi", - "version": "5.0.2", + "version": "5.0.3", "dependencies": { "@wagmi/connectors": "5.0.8", "@wagmi/core": "2.10.5", - "@web3modal/wagmi": "5.0.2" + "@web3modal/wagmi": "5.0.3" }, "devDependencies": { "@vitejs/plugin-vue": "5.0.2" @@ -5093,9 +5095,9 @@ } }, "node_modules/@coinbase/wallet-sdk": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@coinbase/wallet-sdk/-/wallet-sdk-4.0.0.tgz", - "integrity": "sha512-7q8k39a2Iuz30dAEeh86AaSAbLgVPW3gfLa1UYh2IqP7gS+X9witoMEMM8o016K6vxP5N++PrM+Lgu/O1KByBA==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/@coinbase/wallet-sdk/-/wallet-sdk-4.0.3.tgz", + "integrity": "sha512-y/OGEjlvosikjfB+wk+4CVb9OxD1ob9cidEBLI5h8Hxaf/Qoob2XoVT1uvhtAzBx34KpGYSd+alKvh/GCRre4Q==", "dependencies": { "buffer": "^6.0.3", "clsx": "^1.2.1", @@ -7791,9 +7793,9 @@ } }, "node_modules/@panva/hkdf": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@panva/hkdf/-/hkdf-1.1.1.tgz", - "integrity": "sha512-dhPeilub1NuIG0X5Kvhh9lH4iW3ZsHlnzwgwbOlgwQ2wG1IqFzsgHqmKPk3WzsdWAeaxKJxgM0+W433RmN45GA==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@panva/hkdf/-/hkdf-1.2.0.tgz", + "integrity": "sha512-97ZQvZJ4gJhi24Io6zI+W7B67I82q1I8i3BSzQ4OyZj1z4OW87/ruF26lrMES58inTKLy2KgVIDcx8PU4AaANQ==", "funding": { "url": "https://github.com/sponsors/panva" } @@ -8272,31 +8274,30 @@ } }, "node_modules/@radix-ui/react-dialog": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@radix-ui/react-dialog/-/react-dialog-1.0.5.tgz", - "integrity": "sha512-GjWJX/AUpB703eEBanuBnIWdIXg6NvJFCXcNlSZk4xdszCdhrJgBoUd1cGk67vFO+WdA2pfI/plOpqz/5GUP6Q==", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/primitive": "1.0.1", - "@radix-ui/react-compose-refs": "1.0.1", - "@radix-ui/react-context": "1.0.1", - "@radix-ui/react-dismissable-layer": "1.0.5", - "@radix-ui/react-focus-guards": "1.0.1", - "@radix-ui/react-focus-scope": "1.0.4", - "@radix-ui/react-id": "1.0.1", - "@radix-ui/react-portal": "1.0.4", - "@radix-ui/react-presence": "1.0.1", - "@radix-ui/react-primitive": "1.0.3", - "@radix-ui/react-slot": "1.0.2", - "@radix-ui/react-use-controllable-state": "1.0.1", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-dialog/-/react-dialog-1.1.0.tgz", + "integrity": "sha512-oiSJcsjbdC8JqbXrOuhOd7oaEaPp3x2L2zn6V7ie6SSpEjrAha/WabDX4po6laGwbhAu9DT0XxHL0DmcIXrR0A==", + "dependencies": { + "@radix-ui/primitive": "1.1.0", + "@radix-ui/react-compose-refs": "1.1.0", + "@radix-ui/react-context": "1.1.0", + "@radix-ui/react-dismissable-layer": "1.1.0", + "@radix-ui/react-focus-guards": "1.1.0", + "@radix-ui/react-focus-scope": "1.1.0", + "@radix-ui/react-id": "1.1.0", + "@radix-ui/react-portal": "1.1.0", + "@radix-ui/react-presence": "1.1.0", + "@radix-ui/react-primitive": "2.0.0", + "@radix-ui/react-slot": "1.1.0", + "@radix-ui/react-use-controllable-state": "1.1.0", "aria-hidden": "^1.1.1", - "react-remove-scroll": "2.5.5" + "react-remove-scroll": "2.5.7" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0", - "react-dom": "^16.8 || ^17.0 || ^18.0" + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "peerDependenciesMeta": { "@types/react": { @@ -8307,12 +8308,115 @@ } } }, + "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/primitive": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.1.0.tgz", + "integrity": "sha512-4Z8dn6Upk0qk4P74xBhZ6Hd/w0mPEzOOLxy4xiPXOXqjF7jZS0VAKk7/x/H6FyY2zCkYJqePf1G5KmkmNJ4RBA==" + }, + "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-compose-refs": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.0.tgz", + "integrity": "sha512-b4inOtiaOnYf9KWyO3jAeeCG6FeyfY6ldiEPanbUjWd+xIk5wZeHa8yVwmrJ2vderhu/BQvzCrJI0lHd+wIiqw==", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-context": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.0.tgz", + "integrity": "sha512-OKrckBy+sMEgYM/sMmqmErVn0kZqrHPJze+Ql3DzYsDDp0hl0L62nx/2122/Bvps1qz645jlcu2tD9lrRSdf8A==", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.0.0.tgz", + "integrity": "sha512-ZSpFm0/uHa8zTvKBDjLFWLo8dkr4MBsiDLz0g3gMUwqgLHz9rTaRRGYDgvZPtBJgYCBKXkS9fzmoySgr8CO6Cw==", + "dependencies": { + "@radix-ui/react-slot": "1.1.0" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.1.0.tgz", + "integrity": "sha512-FUCf5XMfmW4dtYl69pdS4DbxKy8nj4M7SafBgPllysxmdachynNflAdp/gCsnYWNDnge6tI9onzMp5ARYc1KNw==", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.0" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-callback-ref": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.0.tgz", + "integrity": "sha512-CasTfvsy+frcFkbXtSJ2Zu9JHpN8TYKxkgJGWbjiZhFivxaeW7rMeZt7QELGVLaYVfFMsKHjb7Ak0nMEe+2Vfw==", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-controllable-state": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.1.0.tgz", + "integrity": "sha512-MtfMVJiSr2NjzS0Aa90NPTnvTSg6C/JLCV7ma0W6+OMV78vd8OyRpID+Ng9LxzsPbLeuBnWBA1Nq30AtBIDChw==", + "dependencies": { + "@radix-ui/react-use-callback-ref": "1.1.0" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, "node_modules/@radix-ui/react-dialog/node_modules/react-remove-scroll": { - "version": "2.5.5", - "resolved": "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.5.5.tgz", - "integrity": "sha512-ImKhrzJJsyXJfBZ4bzu8Bwpka14c/fQt0k+cyFp/PBhTfyDnU5hjOtM4AG/0AMyy8oKzOTR0lDgJIM7pYXI0kw==", + "version": "2.5.7", + "resolved": "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.5.7.tgz", + "integrity": "sha512-FnrTWO4L7/Bhhf3CYBNArEG/yROV0tKmTv7/3h9QCFvH6sndeFf1wPqOcbFVu5VAulS5dV1wGT3GZZ/1GawqiA==", "dependencies": { - "react-remove-scroll-bar": "^2.3.3", + "react-remove-scroll-bar": "^2.3.4", "react-style-singleton": "^2.2.1", "tslib": "^2.1.0", "use-callback-ref": "^1.3.0", @@ -8350,22 +8454,21 @@ } }, "node_modules/@radix-ui/react-dismissable-layer": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-1.0.5.tgz", - "integrity": "sha512-aJeDjQhywg9LBu2t/At58hCvr7pEm0o2Ke1x33B+MhjNmmZ17sy4KImo0KPLgsnc/zN7GPdce8Cnn0SWvwZO7g==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-1.1.0.tgz", + "integrity": "sha512-/UovfmmXGptwGcBQawLzvn2jOfM0t4z3/uKffoBlj724+n3FvBbZ7M0aaBOmkp6pqFYpO4yx8tSVJjx3Fl2jig==", "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/primitive": "1.0.1", - "@radix-ui/react-compose-refs": "1.0.1", - "@radix-ui/react-primitive": "1.0.3", - "@radix-ui/react-use-callback-ref": "1.0.1", - "@radix-ui/react-use-escape-keydown": "1.0.3" + "@radix-ui/primitive": "1.1.0", + "@radix-ui/react-compose-refs": "1.1.0", + "@radix-ui/react-primitive": "2.0.0", + "@radix-ui/react-use-callback-ref": "1.1.0", + "@radix-ui/react-use-escape-keydown": "1.1.0" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0", - "react-dom": "^16.8 || ^17.0 || ^18.0" + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "peerDependenciesMeta": { "@types/react": { @@ -8376,16 +8479,85 @@ } } }, - "node_modules/@radix-ui/react-focus-guards": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-guards/-/react-focus-guards-1.0.1.tgz", - "integrity": "sha512-Rect2dWbQ8waGzhMavsIbmSVCgYxkXLxxR3ZvCX79JOglzdEy4JXMb98lq4hPxUbLr77nP0UOGf4rcMU+s1pUA==", + "node_modules/@radix-ui/react-dismissable-layer/node_modules/@radix-ui/primitive": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.1.0.tgz", + "integrity": "sha512-4Z8dn6Upk0qk4P74xBhZ6Hd/w0mPEzOOLxy4xiPXOXqjF7jZS0VAKk7/x/H6FyY2zCkYJqePf1G5KmkmNJ4RBA==" + }, + "node_modules/@radix-ui/react-dismissable-layer/node_modules/@radix-ui/react-compose-refs": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.0.tgz", + "integrity": "sha512-b4inOtiaOnYf9KWyO3jAeeCG6FeyfY6ldiEPanbUjWd+xIk5wZeHa8yVwmrJ2vderhu/BQvzCrJI0lHd+wIiqw==", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-dismissable-layer/node_modules/@radix-ui/react-primitive": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.0.0.tgz", + "integrity": "sha512-ZSpFm0/uHa8zTvKBDjLFWLo8dkr4MBsiDLz0g3gMUwqgLHz9rTaRRGYDgvZPtBJgYCBKXkS9fzmoySgr8CO6Cw==", "dependencies": { - "@babel/runtime": "^7.13.10" + "@radix-ui/react-slot": "1.1.0" }, "peerDependencies": { "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0" + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-dismissable-layer/node_modules/@radix-ui/react-slot": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.1.0.tgz", + "integrity": "sha512-FUCf5XMfmW4dtYl69pdS4DbxKy8nj4M7SafBgPllysxmdachynNflAdp/gCsnYWNDnge6tI9onzMp5ARYc1KNw==", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.0" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-dismissable-layer/node_modules/@radix-ui/react-use-callback-ref": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.0.tgz", + "integrity": "sha512-CasTfvsy+frcFkbXtSJ2Zu9JHpN8TYKxkgJGWbjiZhFivxaeW7rMeZt7QELGVLaYVfFMsKHjb7Ak0nMEe+2Vfw==", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-focus-guards": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-guards/-/react-focus-guards-1.1.0.tgz", + "integrity": "sha512-w6XZNUPVv6xCpZUqb/yN9DL6auvpGX3C/ee6Hdi16v2UUy25HV2Q5bcflsiDyT/g5RwbPQ/GIT1vLkeRb+ITBw==", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "peerDependenciesMeta": { "@types/react": { @@ -8394,20 +8566,19 @@ } }, "node_modules/@radix-ui/react-focus-scope": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-scope/-/react-focus-scope-1.0.4.tgz", - "integrity": "sha512-sL04Mgvf+FmyvZeYfNu1EPAaaxD+aw7cYeIB9L9Fvq8+urhltTRaEo5ysKOpHuKPclsZcSUMKlN05x4u+CINpA==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-scope/-/react-focus-scope-1.1.0.tgz", + "integrity": "sha512-200UD8zylvEyL8Bx+z76RJnASR2gRMuxlgFCPAe/Q/679a/r0eK3MBVYMb7vZODZcffZBdob1EGnky78xmVvcA==", "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-compose-refs": "1.0.1", - "@radix-ui/react-primitive": "1.0.3", - "@radix-ui/react-use-callback-ref": "1.0.1" + "@radix-ui/react-compose-refs": "1.1.0", + "@radix-ui/react-primitive": "2.0.0", + "@radix-ui/react-use-callback-ref": "1.1.0" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0", - "react-dom": "^16.8 || ^17.0 || ^18.0" + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "peerDependenciesMeta": { "@types/react": { @@ -8418,17 +8589,97 @@ } } }, + "node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-compose-refs": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.0.tgz", + "integrity": "sha512-b4inOtiaOnYf9KWyO3jAeeCG6FeyfY6ldiEPanbUjWd+xIk5wZeHa8yVwmrJ2vderhu/BQvzCrJI0lHd+wIiqw==", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-primitive": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.0.0.tgz", + "integrity": "sha512-ZSpFm0/uHa8zTvKBDjLFWLo8dkr4MBsiDLz0g3gMUwqgLHz9rTaRRGYDgvZPtBJgYCBKXkS9fzmoySgr8CO6Cw==", + "dependencies": { + "@radix-ui/react-slot": "1.1.0" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-slot": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.1.0.tgz", + "integrity": "sha512-FUCf5XMfmW4dtYl69pdS4DbxKy8nj4M7SafBgPllysxmdachynNflAdp/gCsnYWNDnge6tI9onzMp5ARYc1KNw==", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.0" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-use-callback-ref": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.0.tgz", + "integrity": "sha512-CasTfvsy+frcFkbXtSJ2Zu9JHpN8TYKxkgJGWbjiZhFivxaeW7rMeZt7QELGVLaYVfFMsKHjb7Ak0nMEe+2Vfw==", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, "node_modules/@radix-ui/react-id": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.0.1.tgz", - "integrity": "sha512-tI7sT/kqYp8p96yGWY1OAnLHrqDgzHefRBKQ2YAkBS5ja7QLcZ9Z/uY7bEjPUatf8RomoXM8/1sMj1IJaE5UzQ==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.1.0.tgz", + "integrity": "sha512-EJUrI8yYh7WOjNOqpoJaf1jlFIH2LvtgAl+YcFqNCa+4hj64ZXmPkAKOFs/ukjz3byN6bdb/AVUqHkI8/uWWMA==", "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-use-layout-effect": "1.0.1" + "@radix-ui/react-use-layout-effect": "1.1.0" }, "peerDependencies": { "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0" + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-id/node_modules/@radix-ui/react-use-layout-effect": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.0.tgz", + "integrity": "sha512-+FPE0rOdziWSrH9athwI1R0HDVbWlEhd+FR+aSDk4uWGmSJ9Z54sdZVDQPZAinJhJXwfT+qnj969mCsT2gfm5w==", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "peerDependenciesMeta": { "@types/react": { @@ -8470,18 +8721,17 @@ } }, "node_modules/@radix-ui/react-portal": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.0.4.tgz", - "integrity": "sha512-Qki+C/EuGUVCQTOTD5vzJzJuMUlewbzuKyUy+/iHM2uwGiru9gZeBJtHAPKAEkB5KWGi9mP/CHKcY0wt1aW45Q==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.1.0.tgz", + "integrity": "sha512-0tXZ5O6qAVvuN9SWP0X+zadHf9hzHiMf/vxOU+kXO+fbtS8lS57MXa6EmikDxk9s/Bmkk80+dcxgbvisIyeqxg==", "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-primitive": "1.0.3" + "@radix-ui/react-primitive": "2.0.0" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0", - "react-dom": "^16.8 || ^17.0 || ^18.0" + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "peerDependenciesMeta": { "@types/react": { @@ -8492,20 +8742,72 @@ } } }, + "node_modules/@radix-ui/react-portal/node_modules/@radix-ui/react-compose-refs": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.0.tgz", + "integrity": "sha512-b4inOtiaOnYf9KWyO3jAeeCG6FeyfY6ldiEPanbUjWd+xIk5wZeHa8yVwmrJ2vderhu/BQvzCrJI0lHd+wIiqw==", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-portal/node_modules/@radix-ui/react-primitive": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.0.0.tgz", + "integrity": "sha512-ZSpFm0/uHa8zTvKBDjLFWLo8dkr4MBsiDLz0g3gMUwqgLHz9rTaRRGYDgvZPtBJgYCBKXkS9fzmoySgr8CO6Cw==", + "dependencies": { + "@radix-ui/react-slot": "1.1.0" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-portal/node_modules/@radix-ui/react-slot": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.1.0.tgz", + "integrity": "sha512-FUCf5XMfmW4dtYl69pdS4DbxKy8nj4M7SafBgPllysxmdachynNflAdp/gCsnYWNDnge6tI9onzMp5ARYc1KNw==", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.0" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, "node_modules/@radix-ui/react-presence": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.0.1.tgz", - "integrity": "sha512-UXLW4UAbIY5ZjcvzjfRFo5gxva8QirC9hF7wRE4U5gz+TP0DbRk+//qyuAQ1McDxBt1xNMBTaciFGvEmJvAZCg==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.1.0.tgz", + "integrity": "sha512-Gq6wuRN/asf9H/E/VzdKoUtT8GC9PQc9z40/vEr0VCJ4u5XvvhWIrSsCB6vD2/cH7ugTdSfYq9fLJCcM00acrQ==", "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-compose-refs": "1.0.1", - "@radix-ui/react-use-layout-effect": "1.0.1" + "@radix-ui/react-compose-refs": "1.1.0", + "@radix-ui/react-use-layout-effect": "1.1.0" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0", - "react-dom": "^16.8 || ^17.0 || ^18.0" + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "peerDependenciesMeta": { "@types/react": { @@ -8516,6 +8818,34 @@ } } }, + "node_modules/@radix-ui/react-presence/node_modules/@radix-ui/react-compose-refs": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.0.tgz", + "integrity": "sha512-b4inOtiaOnYf9KWyO3jAeeCG6FeyfY6ldiEPanbUjWd+xIk5wZeHa8yVwmrJ2vderhu/BQvzCrJI0lHd+wIiqw==", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-presence/node_modules/@radix-ui/react-use-layout-effect": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.0.tgz", + "integrity": "sha512-+FPE0rOdziWSrH9athwI1R0HDVbWlEhd+FR+aSDk4uWGmSJ9Z54sdZVDQPZAinJhJXwfT+qnj969mCsT2gfm5w==", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, "node_modules/@radix-ui/react-primitive": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-1.0.3.tgz", @@ -8540,27 +8870,26 @@ } }, "node_modules/@radix-ui/react-roving-focus": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@radix-ui/react-roving-focus/-/react-roving-focus-1.0.4.tgz", - "integrity": "sha512-2mUg5Mgcu001VkGy+FfzZyzbmuUWzgWkj3rvv4yu+mLw03+mTzbxZHvfcGyFp2b8EkQeMkpRQ5FiA2Vr2O6TeQ==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-roving-focus/-/react-roving-focus-1.1.0.tgz", + "integrity": "sha512-EA6AMGeq9AEeQDeSH0aZgG198qkfHSbvWTf1HvoDmOB5bBG/qTxjYMWUKMnYiV6J/iP/J8MEFSuB2zRU2n7ODA==", "dev": true, "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/primitive": "1.0.1", - "@radix-ui/react-collection": "1.0.3", - "@radix-ui/react-compose-refs": "1.0.1", - "@radix-ui/react-context": "1.0.1", - "@radix-ui/react-direction": "1.0.1", - "@radix-ui/react-id": "1.0.1", - "@radix-ui/react-primitive": "1.0.3", - "@radix-ui/react-use-callback-ref": "1.0.1", - "@radix-ui/react-use-controllable-state": "1.0.1" + "@radix-ui/primitive": "1.1.0", + "@radix-ui/react-collection": "1.1.0", + "@radix-ui/react-compose-refs": "1.1.0", + "@radix-ui/react-context": "1.1.0", + "@radix-ui/react-direction": "1.1.0", + "@radix-ui/react-id": "1.1.0", + "@radix-ui/react-primitive": "2.0.0", + "@radix-ui/react-use-callback-ref": "1.1.0", + "@radix-ui/react-use-controllable-state": "1.1.0" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0", - "react-dom": "^16.8 || ^17.0 || ^18.0" + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "peerDependenciesMeta": { "@types/react": { @@ -8571,6 +8900,157 @@ } } }, + "node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/primitive": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.1.0.tgz", + "integrity": "sha512-4Z8dn6Upk0qk4P74xBhZ6Hd/w0mPEzOOLxy4xiPXOXqjF7jZS0VAKk7/x/H6FyY2zCkYJqePf1G5KmkmNJ4RBA==", + "dev": true + }, + "node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-collection": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-collection/-/react-collection-1.1.0.tgz", + "integrity": "sha512-GZsZslMJEyo1VKm5L1ZJY8tGDxZNPAoUeQUIbKeJfoi7Q4kmig5AsgLMYYuyYbfjd8fBmFORAIwYAkXMnXZgZw==", + "dev": true, + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.0", + "@radix-ui/react-context": "1.1.0", + "@radix-ui/react-primitive": "2.0.0", + "@radix-ui/react-slot": "1.1.0" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-compose-refs": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.0.tgz", + "integrity": "sha512-b4inOtiaOnYf9KWyO3jAeeCG6FeyfY6ldiEPanbUjWd+xIk5wZeHa8yVwmrJ2vderhu/BQvzCrJI0lHd+wIiqw==", + "dev": true, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-context": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.0.tgz", + "integrity": "sha512-OKrckBy+sMEgYM/sMmqmErVn0kZqrHPJze+Ql3DzYsDDp0hl0L62nx/2122/Bvps1qz645jlcu2tD9lrRSdf8A==", + "dev": true, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-direction": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-direction/-/react-direction-1.1.0.tgz", + "integrity": "sha512-BUuBvgThEiAXh2DWu93XsT+a3aWrGqolGlqqw5VU1kG7p/ZH2cuDlM1sRLNnY3QcBS69UIz2mcKhMxDsdewhjg==", + "dev": true, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-primitive": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.0.0.tgz", + "integrity": "sha512-ZSpFm0/uHa8zTvKBDjLFWLo8dkr4MBsiDLz0g3gMUwqgLHz9rTaRRGYDgvZPtBJgYCBKXkS9fzmoySgr8CO6Cw==", + "dev": true, + "dependencies": { + "@radix-ui/react-slot": "1.1.0" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-slot": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.1.0.tgz", + "integrity": "sha512-FUCf5XMfmW4dtYl69pdS4DbxKy8nj4M7SafBgPllysxmdachynNflAdp/gCsnYWNDnge6tI9onzMp5ARYc1KNw==", + "dev": true, + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.0" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-use-callback-ref": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.0.tgz", + "integrity": "sha512-CasTfvsy+frcFkbXtSJ2Zu9JHpN8TYKxkgJGWbjiZhFivxaeW7rMeZt7QELGVLaYVfFMsKHjb7Ak0nMEe+2Vfw==", + "dev": true, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-use-controllable-state": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.1.0.tgz", + "integrity": "sha512-MtfMVJiSr2NjzS0Aa90NPTnvTSg6C/JLCV7ma0W6+OMV78vd8OyRpID+Ng9LxzsPbLeuBnWBA1Nq30AtBIDChw==", + "dev": true, + "dependencies": { + "@radix-ui/react-use-callback-ref": "1.1.0" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, "node_modules/@radix-ui/react-select": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/@radix-ui/react-select/-/react-select-1.2.2.tgz", @@ -8643,6 +9123,24 @@ } } }, + "node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-focus-guards": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-guards/-/react-focus-guards-1.0.1.tgz", + "integrity": "sha512-Rect2dWbQ8waGzhMavsIbmSVCgYxkXLxxR3ZvCX79JOglzdEy4JXMb98lq4hPxUbLr77nP0UOGf4rcMU+s1pUA==", + "dev": true, + "dependencies": { + "@babel/runtime": "^7.13.10" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, "node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-focus-scope": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-scope/-/react-focus-scope-1.0.3.tgz", @@ -8669,6 +9167,25 @@ } } }, + "node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-id": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.0.1.tgz", + "integrity": "sha512-tI7sT/kqYp8p96yGWY1OAnLHrqDgzHefRBKQ2YAkBS5ja7QLcZ9Z/uY7bEjPUatf8RomoXM8/1sMj1IJaE5UzQ==", + "dev": true, + "dependencies": { + "@babel/runtime": "^7.13.10", + "@radix-ui/react-use-layout-effect": "1.0.1" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, "node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-portal": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.0.3.tgz", @@ -8693,6 +9210,25 @@ } } }, + "node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-use-escape-keydown": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-escape-keydown/-/react-use-escape-keydown-1.0.3.tgz", + "integrity": "sha512-vyL82j40hcFicA+M4Ex7hVkB9vHgSse1ZWomAqV2Je3RleKGO5iM8KMOEtfoSB0PnIelMd2lATjTGMYqN5ylTg==", + "dev": true, + "dependencies": { + "@babel/runtime": "^7.13.10", + "@radix-ui/react-use-callback-ref": "1.0.1" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, "node_modules/@radix-ui/react-select/node_modules/react-remove-scroll": { "version": "2.5.5", "resolved": "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.5.5.tgz", @@ -8719,19 +9255,56 @@ } }, "node_modules/@radix-ui/react-separator": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@radix-ui/react-separator/-/react-separator-1.0.3.tgz", - "integrity": "sha512-itYmTy/kokS21aiV5+Z56MZB54KrhPgn6eHDKkFeOLR34HMN2s8PaN47qZZAGnvupcjxHaFZnW4pQEh0BvvVuw==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-separator/-/react-separator-1.1.0.tgz", + "integrity": "sha512-3uBAs+egzvJBDZAzvb/n4NxxOYpnspmWxO2u5NbZ8Y6FM/NdrGSF9bop3Cf6F6C71z1rTSn8KV0Fo2ZVd79lGA==", "dev": true, "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-primitive": "1.0.3" + "@radix-ui/react-primitive": "2.0.0" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0", - "react-dom": "^16.8 || ^17.0 || ^18.0" + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-compose-refs": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.0.tgz", + "integrity": "sha512-b4inOtiaOnYf9KWyO3jAeeCG6FeyfY6ldiEPanbUjWd+xIk5wZeHa8yVwmrJ2vderhu/BQvzCrJI0lHd+wIiqw==", + "dev": true, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-primitive": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.0.0.tgz", + "integrity": "sha512-ZSpFm0/uHa8zTvKBDjLFWLo8dkr4MBsiDLz0g3gMUwqgLHz9rTaRRGYDgvZPtBJgYCBKXkS9fzmoySgr8CO6Cw==", + "dev": true, + "dependencies": { + "@radix-ui/react-slot": "1.1.0" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "peerDependenciesMeta": { "@types/react": { @@ -8742,6 +9315,24 @@ } } }, + "node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-slot": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.1.0.tgz", + "integrity": "sha512-FUCf5XMfmW4dtYl69pdS4DbxKy8nj4M7SafBgPllysxmdachynNflAdp/gCsnYWNDnge6tI9onzMp5ARYc1KNw==", + "dev": true, + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.0" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, "node_modules/@radix-ui/react-slot": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.0.2.tgz", @@ -8790,21 +9381,20 @@ } }, "node_modules/@radix-ui/react-toggle": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@radix-ui/react-toggle/-/react-toggle-1.0.3.tgz", - "integrity": "sha512-Pkqg3+Bc98ftZGsl60CLANXQBBQ4W3mTFS9EJvNxKMZ7magklKV69/id1mlAlOFDDfHvlCms0fx8fA4CMKDJHg==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-toggle/-/react-toggle-1.1.0.tgz", + "integrity": "sha512-gwoxaKZ0oJ4vIgzsfESBuSgJNdc0rv12VhHgcqN0TEJmmZixXG/2XpsLK8kzNWYcnaoRIEEQc0bEi3dIvdUpjw==", "dev": true, "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/primitive": "1.0.1", - "@radix-ui/react-primitive": "1.0.3", - "@radix-ui/react-use-controllable-state": "1.0.1" + "@radix-ui/primitive": "1.1.0", + "@radix-ui/react-primitive": "2.0.0", + "@radix-ui/react-use-controllable-state": "1.1.0" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0", - "react-dom": "^16.8 || ^17.0 || ^18.0" + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "peerDependenciesMeta": { "@types/react": { @@ -8816,25 +9406,24 @@ } }, "node_modules/@radix-ui/react-toggle-group": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@radix-ui/react-toggle-group/-/react-toggle-group-1.0.4.tgz", - "integrity": "sha512-Uaj/M/cMyiyT9Bx6fOZO0SAG4Cls0GptBWiBmBxofmDbNVnYYoyRWj/2M/6VCi/7qcXFWnHhRUfdfZFvvkuu8A==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-toggle-group/-/react-toggle-group-1.1.0.tgz", + "integrity": "sha512-PpTJV68dZU2oqqgq75Uzto5o/XfOVgkrJ9rulVmfTKxWp3HfUjHE6CP/WLRR4AzPX9HWxw7vFow2me85Yu+Naw==", "dev": true, "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/primitive": "1.0.1", - "@radix-ui/react-context": "1.0.1", - "@radix-ui/react-direction": "1.0.1", - "@radix-ui/react-primitive": "1.0.3", - "@radix-ui/react-roving-focus": "1.0.4", - "@radix-ui/react-toggle": "1.0.3", - "@radix-ui/react-use-controllable-state": "1.0.1" + "@radix-ui/primitive": "1.1.0", + "@radix-ui/react-context": "1.1.0", + "@radix-ui/react-direction": "1.1.0", + "@radix-ui/react-primitive": "2.0.0", + "@radix-ui/react-roving-focus": "1.1.0", + "@radix-ui/react-toggle": "1.1.0", + "@radix-ui/react-use-controllable-state": "1.1.0" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0", - "react-dom": "^16.8 || ^17.0 || ^18.0" + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "peerDependenciesMeta": { "@types/react": { @@ -8845,26 +9434,245 @@ } } }, + "node_modules/@radix-ui/react-toggle-group/node_modules/@radix-ui/primitive": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.1.0.tgz", + "integrity": "sha512-4Z8dn6Upk0qk4P74xBhZ6Hd/w0mPEzOOLxy4xiPXOXqjF7jZS0VAKk7/x/H6FyY2zCkYJqePf1G5KmkmNJ4RBA==", + "dev": true + }, + "node_modules/@radix-ui/react-toggle-group/node_modules/@radix-ui/react-compose-refs": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.0.tgz", + "integrity": "sha512-b4inOtiaOnYf9KWyO3jAeeCG6FeyfY6ldiEPanbUjWd+xIk5wZeHa8yVwmrJ2vderhu/BQvzCrJI0lHd+wIiqw==", + "dev": true, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-toggle-group/node_modules/@radix-ui/react-context": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.0.tgz", + "integrity": "sha512-OKrckBy+sMEgYM/sMmqmErVn0kZqrHPJze+Ql3DzYsDDp0hl0L62nx/2122/Bvps1qz645jlcu2tD9lrRSdf8A==", + "dev": true, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-toggle-group/node_modules/@radix-ui/react-direction": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-direction/-/react-direction-1.1.0.tgz", + "integrity": "sha512-BUuBvgThEiAXh2DWu93XsT+a3aWrGqolGlqqw5VU1kG7p/ZH2cuDlM1sRLNnY3QcBS69UIz2mcKhMxDsdewhjg==", + "dev": true, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-toggle-group/node_modules/@radix-ui/react-primitive": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.0.0.tgz", + "integrity": "sha512-ZSpFm0/uHa8zTvKBDjLFWLo8dkr4MBsiDLz0g3gMUwqgLHz9rTaRRGYDgvZPtBJgYCBKXkS9fzmoySgr8CO6Cw==", + "dev": true, + "dependencies": { + "@radix-ui/react-slot": "1.1.0" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-toggle-group/node_modules/@radix-ui/react-slot": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.1.0.tgz", + "integrity": "sha512-FUCf5XMfmW4dtYl69pdS4DbxKy8nj4M7SafBgPllysxmdachynNflAdp/gCsnYWNDnge6tI9onzMp5ARYc1KNw==", + "dev": true, + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.0" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-toggle-group/node_modules/@radix-ui/react-use-callback-ref": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.0.tgz", + "integrity": "sha512-CasTfvsy+frcFkbXtSJ2Zu9JHpN8TYKxkgJGWbjiZhFivxaeW7rMeZt7QELGVLaYVfFMsKHjb7Ak0nMEe+2Vfw==", + "dev": true, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-toggle-group/node_modules/@radix-ui/react-use-controllable-state": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.1.0.tgz", + "integrity": "sha512-MtfMVJiSr2NjzS0Aa90NPTnvTSg6C/JLCV7ma0W6+OMV78vd8OyRpID+Ng9LxzsPbLeuBnWBA1Nq30AtBIDChw==", + "dev": true, + "dependencies": { + "@radix-ui/react-use-callback-ref": "1.1.0" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-toggle/node_modules/@radix-ui/primitive": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.1.0.tgz", + "integrity": "sha512-4Z8dn6Upk0qk4P74xBhZ6Hd/w0mPEzOOLxy4xiPXOXqjF7jZS0VAKk7/x/H6FyY2zCkYJqePf1G5KmkmNJ4RBA==", + "dev": true + }, + "node_modules/@radix-ui/react-toggle/node_modules/@radix-ui/react-compose-refs": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.0.tgz", + "integrity": "sha512-b4inOtiaOnYf9KWyO3jAeeCG6FeyfY6ldiEPanbUjWd+xIk5wZeHa8yVwmrJ2vderhu/BQvzCrJI0lHd+wIiqw==", + "dev": true, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-toggle/node_modules/@radix-ui/react-primitive": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.0.0.tgz", + "integrity": "sha512-ZSpFm0/uHa8zTvKBDjLFWLo8dkr4MBsiDLz0g3gMUwqgLHz9rTaRRGYDgvZPtBJgYCBKXkS9fzmoySgr8CO6Cw==", + "dev": true, + "dependencies": { + "@radix-ui/react-slot": "1.1.0" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-toggle/node_modules/@radix-ui/react-slot": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.1.0.tgz", + "integrity": "sha512-FUCf5XMfmW4dtYl69pdS4DbxKy8nj4M7SafBgPllysxmdachynNflAdp/gCsnYWNDnge6tI9onzMp5ARYc1KNw==", + "dev": true, + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.0" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-toggle/node_modules/@radix-ui/react-use-callback-ref": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.0.tgz", + "integrity": "sha512-CasTfvsy+frcFkbXtSJ2Zu9JHpN8TYKxkgJGWbjiZhFivxaeW7rMeZt7QELGVLaYVfFMsKHjb7Ak0nMEe+2Vfw==", + "dev": true, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-toggle/node_modules/@radix-ui/react-use-controllable-state": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.1.0.tgz", + "integrity": "sha512-MtfMVJiSr2NjzS0Aa90NPTnvTSg6C/JLCV7ma0W6+OMV78vd8OyRpID+Ng9LxzsPbLeuBnWBA1Nq30AtBIDChw==", + "dev": true, + "dependencies": { + "@radix-ui/react-use-callback-ref": "1.1.0" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, "node_modules/@radix-ui/react-toolbar": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@radix-ui/react-toolbar/-/react-toolbar-1.0.4.tgz", - "integrity": "sha512-tBgmM/O7a07xbaEkYJWYTXkIdU/1pW4/KZORR43toC/4XWyBCURK0ei9kMUdp+gTPPKBgYLxXmRSH1EVcIDp8Q==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-toolbar/-/react-toolbar-1.1.0.tgz", + "integrity": "sha512-ZUKknxhMTL/4hPh+4DuaTot9aO7UD6Kupj4gqXCsBTayX1pD1L+0C2/2VZKXb4tIifQklZ3pf2hG9T+ns+FclQ==", "dev": true, "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/primitive": "1.0.1", - "@radix-ui/react-context": "1.0.1", - "@radix-ui/react-direction": "1.0.1", - "@radix-ui/react-primitive": "1.0.3", - "@radix-ui/react-roving-focus": "1.0.4", - "@radix-ui/react-separator": "1.0.3", - "@radix-ui/react-toggle-group": "1.0.4" + "@radix-ui/primitive": "1.1.0", + "@radix-ui/react-context": "1.1.0", + "@radix-ui/react-direction": "1.1.0", + "@radix-ui/react-primitive": "2.0.0", + "@radix-ui/react-roving-focus": "1.1.0", + "@radix-ui/react-separator": "1.1.0", + "@radix-ui/react-toggle-group": "1.1.0" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0", - "react-dom": "^16.8 || ^17.0 || ^18.0" + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "peerDependenciesMeta": { "@types/react": { @@ -8875,6 +9683,98 @@ } } }, + "node_modules/@radix-ui/react-toolbar/node_modules/@radix-ui/primitive": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.1.0.tgz", + "integrity": "sha512-4Z8dn6Upk0qk4P74xBhZ6Hd/w0mPEzOOLxy4xiPXOXqjF7jZS0VAKk7/x/H6FyY2zCkYJqePf1G5KmkmNJ4RBA==", + "dev": true + }, + "node_modules/@radix-ui/react-toolbar/node_modules/@radix-ui/react-compose-refs": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.0.tgz", + "integrity": "sha512-b4inOtiaOnYf9KWyO3jAeeCG6FeyfY6ldiEPanbUjWd+xIk5wZeHa8yVwmrJ2vderhu/BQvzCrJI0lHd+wIiqw==", + "dev": true, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-toolbar/node_modules/@radix-ui/react-context": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.0.tgz", + "integrity": "sha512-OKrckBy+sMEgYM/sMmqmErVn0kZqrHPJze+Ql3DzYsDDp0hl0L62nx/2122/Bvps1qz645jlcu2tD9lrRSdf8A==", + "dev": true, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-toolbar/node_modules/@radix-ui/react-direction": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-direction/-/react-direction-1.1.0.tgz", + "integrity": "sha512-BUuBvgThEiAXh2DWu93XsT+a3aWrGqolGlqqw5VU1kG7p/ZH2cuDlM1sRLNnY3QcBS69UIz2mcKhMxDsdewhjg==", + "dev": true, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-toolbar/node_modules/@radix-ui/react-primitive": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.0.0.tgz", + "integrity": "sha512-ZSpFm0/uHa8zTvKBDjLFWLo8dkr4MBsiDLz0g3gMUwqgLHz9rTaRRGYDgvZPtBJgYCBKXkS9fzmoySgr8CO6Cw==", + "dev": true, + "dependencies": { + "@radix-ui/react-slot": "1.1.0" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-toolbar/node_modules/@radix-ui/react-slot": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.1.0.tgz", + "integrity": "sha512-FUCf5XMfmW4dtYl69pdS4DbxKy8nj4M7SafBgPllysxmdachynNflAdp/gCsnYWNDnge6tI9onzMp5ARYc1KNw==", + "dev": true, + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.0" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, "node_modules/@radix-ui/react-use-callback-ref": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.0.1.tgz", @@ -8911,16 +9811,29 @@ } }, "node_modules/@radix-ui/react-use-escape-keydown": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@radix-ui/react-use-escape-keydown/-/react-use-escape-keydown-1.0.3.tgz", - "integrity": "sha512-vyL82j40hcFicA+M4Ex7hVkB9vHgSse1ZWomAqV2Je3RleKGO5iM8KMOEtfoSB0PnIelMd2lATjTGMYqN5ylTg==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-escape-keydown/-/react-use-escape-keydown-1.1.0.tgz", + "integrity": "sha512-L7vwWlR1kTTQ3oh7g1O0CBF3YCyyTj8NmhLR+phShpyA50HCfBFKVJTpshm9PzLiKmehsrQzTYTpX9HvmC9rhw==", "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-use-callback-ref": "1.0.1" + "@radix-ui/react-use-callback-ref": "1.1.0" }, "peerDependencies": { "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0" + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-escape-keydown/node_modules/@radix-ui/react-use-callback-ref": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.0.tgz", + "integrity": "sha512-CasTfvsy+frcFkbXtSJ2Zu9JHpN8TYKxkgJGWbjiZhFivxaeW7rMeZt7QELGVLaYVfFMsKHjb7Ak0nMEe+2Vfw==", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "peerDependenciesMeta": { "@types/react": { @@ -9341,9 +10254,9 @@ "peer": true }, "node_modules/@react-native-community/cli-server-api/node_modules/ws": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.2.tgz", - "integrity": "sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw==", + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.3.tgz", + "integrity": "sha512-jmTjYU0j60B+vHey6TfR3Z7RD61z/hmxBS3VMSGIrroOWXQEneK1zNuotOUrGyBHQj0yrpsLHPWtigEFd13ndA==", "peer": true, "dependencies": { "async-limiter": "~1.0.0" @@ -9657,9 +10570,9 @@ } }, "node_modules/@react-native/dev-middleware/node_modules/ws": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.2.tgz", - "integrity": "sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw==", + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.3.tgz", + "integrity": "sha512-jmTjYU0j60B+vHey6TfR3Z7RD61z/hmxBS3VMSGIrroOWXQEneK1zNuotOUrGyBHQj0yrpsLHPWtigEFd13ndA==", "peer": true, "dependencies": { "async-limiter": "~1.0.0" @@ -9748,9 +10661,9 @@ } }, "node_modules/@rnx-kit/chromium-edge-launcher/node_modules/@types/node": { - "version": "18.19.34", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.34.tgz", - "integrity": "sha512-eXF4pfBNV5DAMKGbI02NnDtWrQ40hAN558/2vvS4gMpMIxaf6JmD7YjnZbq0Q9TDSSkKBamime8ewRoomHdt4g==", + "version": "18.19.37", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.37.tgz", + "integrity": "sha512-Pi53fdVMk7Ig5IfAMltQQMgtY7xLzHaEous8IQasYsdQbYK3v90FkxI3XYQCe/Qme58pqp14lXJIsFmGP8VoZQ==", "peer": true, "dependencies": { "undici-types": "~5.26.4" @@ -10138,17 +11051,17 @@ } }, "node_modules/@safe-global/safe-gateway-typescript-sdk": { - "version": "3.21.2", - "resolved": "https://registry.npmjs.org/@safe-global/safe-gateway-typescript-sdk/-/safe-gateway-typescript-sdk-3.21.2.tgz", - "integrity": "sha512-N9Y2CKPBVbc8FbOKzqepy8TJUY2VILX7bmxV4ruByLJvR9PBnGvGfnOhw975cDn6PmSziXL0RaUWHpSW23rsng==", + "version": "3.21.4", + "resolved": "https://registry.npmjs.org/@safe-global/safe-gateway-typescript-sdk/-/safe-gateway-typescript-sdk-3.21.4.tgz", + "integrity": "sha512-BCY+7RtCfjkGO8X6crBRqlXPqAGM/0Ki/k0PWLYxV3IGmwM6ah2qFGkpp1omWQsdILdiKWxsmIKiderAWOyLjA==", "engines": { "node": ">=16" } }, "node_modules/@scure/base": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.1.6.tgz", - "integrity": "sha512-ok9AWwhcgYuGG3Zfhyqg+zwl+Wn5uE+dwC0NV/2qQkx4dABbb/bx96vWu8NSj+BNjjSjno+JRYRjle1jV08k3g==", + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.1.7.tgz", + "integrity": "sha512-PPNYBslrLNNUQ/Yad37MHYsNQtK67EhWb6WtSvNLLPo7SdVZgkUjD6Dg+5On7zNwmskf8OX7I7Nx5oN+MIWE0g==", "funding": { "url": "https://paulmillr.com/funding/" } @@ -12917,9 +13830,9 @@ } }, "node_modules/@storybook/core-common/node_modules/@types/node": { - "version": "18.19.34", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.34.tgz", - "integrity": "sha512-eXF4pfBNV5DAMKGbI02NnDtWrQ40hAN558/2vvS4gMpMIxaf6JmD7YjnZbq0Q9TDSSkKBamime8ewRoomHdt4g==", + "version": "18.19.37", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.37.tgz", + "integrity": "sha512-Pi53fdVMk7Ig5IfAMltQQMgtY7xLzHaEous8IQasYsdQbYK3v90FkxI3XYQCe/Qme58pqp14lXJIsFmGP8VoZQ==", "dependencies": { "undici-types": "~5.26.4" } @@ -13173,9 +14086,9 @@ } }, "node_modules/@storybook/core-server/node_modules/@types/node": { - "version": "18.19.34", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.34.tgz", - "integrity": "sha512-eXF4pfBNV5DAMKGbI02NnDtWrQ40hAN558/2vvS4gMpMIxaf6JmD7YjnZbq0Q9TDSSkKBamime8ewRoomHdt4g==", + "version": "18.19.37", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.37.tgz", + "integrity": "sha512-Pi53fdVMk7Ig5IfAMltQQMgtY7xLzHaEous8IQasYsdQbYK3v90FkxI3XYQCe/Qme58pqp14lXJIsFmGP8VoZQ==", "dependencies": { "undici-types": "~5.26.4" } @@ -13867,9 +14780,9 @@ } }, "node_modules/@types/express-serve-static-core": { - "version": "4.19.3", - "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.19.3.tgz", - "integrity": "sha512-KOzM7MhcBFlmnlr/fzISFF5vGWVSvN6fTd4T+ExOt08bA/dA5kpSzY52nMsI1KDFmUREpJelPYyuslLRSjjgCg==", + "version": "4.19.5", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.19.5.tgz", + "integrity": "sha512-y6W03tvrACO72aijJ5uF02FRq5cgDR9lUxddQ8vyF+GvmjJQqbzDcJngEjURc+ZsG31VI3hODNZJ2URj86pzmg==", "dependencies": { "@types/node": "*", "@types/qs": "*", @@ -14608,14 +15521,14 @@ "dev": true }, "node_modules/@vue/compiler-core": { - "version": "3.4.27", - "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.4.27.tgz", - "integrity": "sha512-E+RyqY24KnyDXsCuQrI+mlcdW3ALND6U7Gqa/+bVwbcpcR3BRRIckFoz7Qyd4TTlnugtwuI7YgjbvsLmxb+yvg==", + "version": "3.4.29", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.4.29.tgz", + "integrity": "sha512-TFKiRkKKsRCKvg/jTSSKK7mYLJEQdUiUfykbG49rubC9SfDyvT2JrzTReopWlz2MxqeLyxh9UZhvxEIBgAhtrg==", "devOptional": true, "peer": true, "dependencies": { - "@babel/parser": "^7.24.4", - "@vue/shared": "3.4.27", + "@babel/parser": "^7.24.7", + "@vue/shared": "3.4.29", "entities": "^4.5.0", "estree-walker": "^2.0.2", "source-map-js": "^1.2.0" @@ -14629,28 +15542,28 @@ "peer": true }, "node_modules/@vue/compiler-dom": { - "version": "3.4.27", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.4.27.tgz", - "integrity": "sha512-kUTvochG/oVgE1w5ViSr3KUBh9X7CWirebA3bezTbB5ZKBQZwR2Mwj9uoSKRMFcz4gSMzzLXBPD6KpCLb9nvWw==", + "version": "3.4.29", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.4.29.tgz", + "integrity": "sha512-A6+iZ2fKIEGnfPJejdB7b1FlJzgiD+Y/sxxKwJWg1EbJu6ZPgzaPQQ51ESGNv0CP6jm6Z7/pO6Ia8Ze6IKrX7w==", "devOptional": true, "peer": true, "dependencies": { - "@vue/compiler-core": "3.4.27", - "@vue/shared": "3.4.27" + "@vue/compiler-core": "3.4.29", + "@vue/shared": "3.4.29" } }, "node_modules/@vue/compiler-sfc": { - "version": "3.4.27", - "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.4.27.tgz", - "integrity": "sha512-nDwntUEADssW8e0rrmE0+OrONwmRlegDA1pD6QhVeXxjIytV03yDqTey9SBDiALsvAd5U4ZrEKbMyVXhX6mCGA==", + "version": "3.4.29", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.4.29.tgz", + "integrity": "sha512-zygDcEtn8ZimDlrEQyLUovoWgKQic6aEQqRXce2WXBvSeHbEbcAsXyCk9oG33ZkyWH4sl9D3tkYc1idoOkdqZQ==", "devOptional": true, "peer": true, "dependencies": { - "@babel/parser": "^7.24.4", - "@vue/compiler-core": "3.4.27", - "@vue/compiler-dom": "3.4.27", - "@vue/compiler-ssr": "3.4.27", - "@vue/shared": "3.4.27", + "@babel/parser": "^7.24.7", + "@vue/compiler-core": "3.4.29", + "@vue/compiler-dom": "3.4.29", + "@vue/compiler-ssr": "3.4.29", + "@vue/shared": "3.4.29", "estree-walker": "^2.0.2", "magic-string": "^0.30.10", "postcss": "^8.4.38", @@ -14694,67 +15607,68 @@ } }, "node_modules/@vue/compiler-ssr": { - "version": "3.4.27", - "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.4.27.tgz", - "integrity": "sha512-CVRzSJIltzMG5FcidsW0jKNQnNRYC8bT21VegyMMtHmhW3UOI7knmUehzswXLrExDLE6lQCZdrhD4ogI7c+vuw==", + "version": "3.4.29", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.4.29.tgz", + "integrity": "sha512-rFbwCmxJ16tDp3N8XCx5xSQzjhidYjXllvEcqX/lopkoznlNPz3jyy0WGJCyhAaVQK677WWFt3YO/WUEkMMUFQ==", "devOptional": true, "peer": true, "dependencies": { - "@vue/compiler-dom": "3.4.27", - "@vue/shared": "3.4.27" + "@vue/compiler-dom": "3.4.29", + "@vue/shared": "3.4.29" } }, "node_modules/@vue/reactivity": { - "version": "3.4.27", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.4.27.tgz", - "integrity": "sha512-kK0g4NknW6JX2yySLpsm2jlunZJl2/RJGZ0H9ddHdfBVHcNzxmQ0sS0b09ipmBoQpY8JM2KmUw+a6sO8Zo+zIA==", + "version": "3.4.29", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.4.29.tgz", + "integrity": "sha512-w8+KV+mb1a8ornnGQitnMdLfE0kXmteaxLdccm2XwdFxXst4q/Z7SEboCV5SqJNpZbKFeaRBBJBhW24aJyGINg==", "devOptional": true, "peer": true, "dependencies": { - "@vue/shared": "3.4.27" + "@vue/shared": "3.4.29" } }, "node_modules/@vue/runtime-core": { - "version": "3.4.27", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.4.27.tgz", - "integrity": "sha512-7aYA9GEbOOdviqVvcuweTLe5Za4qBZkUY7SvET6vE8kyypxVgaT1ixHLg4urtOlrApdgcdgHoTZCUuTGap/5WA==", + "version": "3.4.29", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.4.29.tgz", + "integrity": "sha512-s8fmX3YVR/Rk5ig0ic0NuzTNjK2M7iLuVSZyMmCzN/+Mjuqqif1JasCtEtmtoJWF32pAtUjyuT2ljNKNLeOmnQ==", "devOptional": true, "peer": true, "dependencies": { - "@vue/reactivity": "3.4.27", - "@vue/shared": "3.4.27" + "@vue/reactivity": "3.4.29", + "@vue/shared": "3.4.29" } }, "node_modules/@vue/runtime-dom": { - "version": "3.4.27", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.4.27.tgz", - "integrity": "sha512-ScOmP70/3NPM+TW9hvVAz6VWWtZJqkbdf7w6ySsws+EsqtHvkhxaWLecrTorFxsawelM5Ys9FnDEMt6BPBDS0Q==", + "version": "3.4.29", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.4.29.tgz", + "integrity": "sha512-gI10atCrtOLf/2MPPMM+dpz3NGulo9ZZR9d1dWo4fYvm+xkfvRrw1ZmJ7mkWtiJVXSsdmPbcK1p5dZzOCKDN0g==", "devOptional": true, "peer": true, "dependencies": { - "@vue/runtime-core": "3.4.27", - "@vue/shared": "3.4.27", + "@vue/reactivity": "3.4.29", + "@vue/runtime-core": "3.4.29", + "@vue/shared": "3.4.29", "csstype": "^3.1.3" } }, "node_modules/@vue/server-renderer": { - "version": "3.4.27", - "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.4.27.tgz", - "integrity": "sha512-dlAMEuvmeA3rJsOMJ2J1kXU7o7pOxgsNHVr9K8hB3ImIkSuBrIdy0vF66h8gf8Tuinf1TK3mPAz2+2sqyf3KzA==", + "version": "3.4.29", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.4.29.tgz", + "integrity": "sha512-HMLCmPI2j/k8PVkSBysrA2RxcxC5DgBiCdj7n7H2QtR8bQQPqKAe8qoaxLcInzouBmzwJ+J0x20ygN/B5mYBng==", "devOptional": true, "peer": true, "dependencies": { - "@vue/compiler-ssr": "3.4.27", - "@vue/shared": "3.4.27" + "@vue/compiler-ssr": "3.4.29", + "@vue/shared": "3.4.29" }, "peerDependencies": { - "vue": "3.4.27" + "vue": "3.4.29" } }, "node_modules/@vue/shared": { - "version": "3.4.27", - "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.4.27.tgz", - "integrity": "sha512-DL3NmY2OFlqmYYrzp39yi3LDkKxa5vZVwxWdQ3rG0ekuWscHraeIbnI8t+aZK7qhYqEqWKTUdijadunb9pnrgA==", + "version": "3.4.29", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.4.29.tgz", + "integrity": "sha512-hQ2gAQcBO/CDpC82DCrinJNgOHI2v+FA7BDW4lMSPeBpQ7sRe2OLHWe5cph1s7D8DUQAwRt18dBDfJJ220APEA==", "devOptional": true, "peer": true }, @@ -14785,27 +15699,6 @@ } } }, - "node_modules/@wagmi/connectors/node_modules/@coinbase/wallet-sdk": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/@coinbase/wallet-sdk/-/wallet-sdk-4.0.3.tgz", - "integrity": "sha512-y/OGEjlvosikjfB+wk+4CVb9OxD1ob9cidEBLI5h8Hxaf/Qoob2XoVT1uvhtAzBx34KpGYSd+alKvh/GCRre4Q==", - "dependencies": { - "buffer": "^6.0.3", - "clsx": "^1.2.1", - "eventemitter3": "^5.0.1", - "keccak": "^3.0.3", - "preact": "^10.16.0", - "sha.js": "^2.4.11" - } - }, - "node_modules/@wagmi/connectors/node_modules/clsx": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/clsx/-/clsx-1.2.1.tgz", - "integrity": "sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==", - "engines": { - "node": ">=6" - } - }, "node_modules/@wagmi/core": { "version": "2.10.5", "resolved": "https://registry.npmjs.org/@wagmi/core/-/core-2.10.5.tgz", @@ -14918,9 +15811,9 @@ "integrity": "sha512-tr7XntDAu50BVENgQfajMLzacmSe34D+qZc4zjnniz0ZVuw/TZcLcyxHQjYpJTM36sGEkZZlYLnIM1hH7alTMA==" }, "node_modules/@walletconnect/core": { - "version": "2.13.2", - "resolved": "https://registry.npmjs.org/@walletconnect/core/-/core-2.13.2.tgz", - "integrity": "sha512-t1miHox71hh7tUrYFhLzNkm67wSS4kwVWO2jpwY5aHOoqkFpDSjb3A3nr+Adjrz4ZNxpObLJutQpApqkgwisjw==", + "version": "2.13.3", + "resolved": "https://registry.npmjs.org/@walletconnect/core/-/core-2.13.3.tgz", + "integrity": "sha512-TdF+rC6rONJGyOUtt/nLkbyQWjnkwbD3kXq3ZA0Q7+tYtmSjTDE4wbArlLbHIbtf69g+9/DpEVEQimWWcEOn2g==", "dependencies": { "@walletconnect/heartbeat": "1.2.2", "@walletconnect/jsonrpc-provider": "1.0.14", @@ -14933,8 +15826,8 @@ "@walletconnect/relay-auth": "1.0.4", "@walletconnect/safe-json": "1.0.2", "@walletconnect/time": "1.0.2", - "@walletconnect/types": "2.13.2", - "@walletconnect/utils": "2.13.2", + "@walletconnect/types": "2.13.3", + "@walletconnect/utils": "2.13.3", "events": "3.3.0", "isomorphic-unfetch": "3.1.0", "lodash.isequal": "4.5.0", @@ -14942,9 +15835,9 @@ } }, "node_modules/@walletconnect/core/node_modules/@walletconnect/types": { - "version": "2.13.2", - "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.13.2.tgz", - "integrity": "sha512-rcomCPp1dwslIZC/e01BLSWC6to2TFM4I1QbAo7kaqh6xTVN9rCtGfdaNi0RbtfBhCEULFvc18v33r/wR0iAPQ==", + "version": "2.13.3", + "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.13.3.tgz", + "integrity": "sha512-9UdtLoQqwGFfepCPprUAXeUbKg9zyDarPRmEJVco51OWXHCOpvRgroWk54fQHDhCUIfDELjObY6XNAzNrmNYUA==", "dependencies": { "@walletconnect/events": "1.0.1", "@walletconnect/heartbeat": "1.2.2", @@ -14955,9 +15848,9 @@ } }, "node_modules/@walletconnect/core/node_modules/@walletconnect/utils": { - "version": "2.13.2", - "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.13.2.tgz", - "integrity": "sha512-wDu+g/lWO93dVrntWgxwiX6XeuCHD9kxMWLEtyGZ7AmWHZv3U1Z8EWIU/e9kv4yBQxmHN3b0DhcrowfcMF3YOA==", + "version": "2.13.3", + "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.13.3.tgz", + "integrity": "sha512-hjyyNhnhTCezGNr6OCfKRzqRsiak+p+YP57iRo1Tsf222fsj/9JD++MP97YiDwc4e4xXaZp/boiLB+8hJHsCog==", "dependencies": { "@stablelib/chacha20poly1305": "1.0.1", "@stablelib/hkdf": "1.0.1", @@ -14967,7 +15860,7 @@ "@walletconnect/relay-api": "1.0.10", "@walletconnect/safe-json": "1.0.2", "@walletconnect/time": "1.0.2", - "@walletconnect/types": "2.13.2", + "@walletconnect/types": "2.13.3", "@walletconnect/window-getters": "1.0.1", "@walletconnect/window-metadata": "1.0.1", "detect-browser": "5.3.0", @@ -15207,9 +16100,9 @@ } }, "node_modules/@walletconnect/jsonrpc-ws-connection/node_modules/ws": { - "version": "7.5.9", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz", - "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==", + "version": "7.5.10", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz", + "integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==", "engines": { "node": ">=8.3.0" }, @@ -15595,25 +16488,25 @@ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" }, "node_modules/@walletconnect/sign-client": { - "version": "2.13.2", - "resolved": "https://registry.npmjs.org/@walletconnect/sign-client/-/sign-client-2.13.2.tgz", - "integrity": "sha512-KIjAYwEkjR55uy0eZTRbKKxiLpC/hZYmjZEQf2stcTVuTOes5q3aZDlHXFHrVWn8b0pl7k0BqcDDNGklU7Xaew==", + "version": "2.13.3", + "resolved": "https://registry.npmjs.org/@walletconnect/sign-client/-/sign-client-2.13.3.tgz", + "integrity": "sha512-3Pcq6trHWdBZn5X0VUFQ3zJaaqyEbMW9WNVKcZ2SakIpQAwySd08Mztvq48G98jfucdgP3tjGPbBvzHX9vJX7w==", "dependencies": { - "@walletconnect/core": "2.13.2", + "@walletconnect/core": "2.13.3", "@walletconnect/events": "1.0.1", "@walletconnect/heartbeat": "1.2.2", "@walletconnect/jsonrpc-utils": "1.0.8", "@walletconnect/logger": "2.1.2", "@walletconnect/time": "1.0.2", - "@walletconnect/types": "2.13.2", - "@walletconnect/utils": "2.13.2", + "@walletconnect/types": "2.13.3", + "@walletconnect/utils": "2.13.3", "events": "3.3.0" } }, "node_modules/@walletconnect/sign-client/node_modules/@walletconnect/types": { - "version": "2.13.2", - "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.13.2.tgz", - "integrity": "sha512-rcomCPp1dwslIZC/e01BLSWC6to2TFM4I1QbAo7kaqh6xTVN9rCtGfdaNi0RbtfBhCEULFvc18v33r/wR0iAPQ==", + "version": "2.13.3", + "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.13.3.tgz", + "integrity": "sha512-9UdtLoQqwGFfepCPprUAXeUbKg9zyDarPRmEJVco51OWXHCOpvRgroWk54fQHDhCUIfDELjObY6XNAzNrmNYUA==", "dependencies": { "@walletconnect/events": "1.0.1", "@walletconnect/heartbeat": "1.2.2", @@ -15624,9 +16517,9 @@ } }, "node_modules/@walletconnect/sign-client/node_modules/@walletconnect/utils": { - "version": "2.13.2", - "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.13.2.tgz", - "integrity": "sha512-wDu+g/lWO93dVrntWgxwiX6XeuCHD9kxMWLEtyGZ7AmWHZv3U1Z8EWIU/e9kv4yBQxmHN3b0DhcrowfcMF3YOA==", + "version": "2.13.3", + "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.13.3.tgz", + "integrity": "sha512-hjyyNhnhTCezGNr6OCfKRzqRsiak+p+YP57iRo1Tsf222fsj/9JD++MP97YiDwc4e4xXaZp/boiLB+8hJHsCog==", "dependencies": { "@stablelib/chacha20poly1305": "1.0.1", "@stablelib/hkdf": "1.0.1", @@ -15636,7 +16529,7 @@ "@walletconnect/relay-api": "1.0.10", "@walletconnect/safe-json": "1.0.2", "@walletconnect/time": "1.0.2", - "@walletconnect/types": "2.13.2", + "@walletconnect/types": "2.13.3", "@walletconnect/window-getters": "1.0.1", "@walletconnect/window-metadata": "1.0.1", "detect-browser": "5.3.0", @@ -15934,6 +16827,10 @@ "resolved": "packages/scaffold-react", "link": true }, + "node_modules/@web3modal/scaffold-ui": { + "resolved": "packages/scaffold-ui", + "link": true + }, "node_modules/@web3modal/scaffold-utils": { "resolved": "packages/scaffold-utils", "link": true @@ -16073,9 +16970,9 @@ } }, "node_modules/acorn": { - "version": "8.11.3", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", - "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.0.tgz", + "integrity": "sha512-RTvkC4w+KNXrM39/lWCUaG0IbRkWdCv7W/IOW9oU6SawyxulvkQy5HQPVTKxEjczcUvapcrw3cFx/60VN/NRNw==", "bin": { "acorn": "bin/acorn" }, @@ -16093,10 +16990,13 @@ } }, "node_modules/acorn-walk": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.2.tgz", - "integrity": "sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A==", + "version": "8.3.3", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.3.tgz", + "integrity": "sha512-MxXdReSRhGO7VlFe1bRG/oI7/mdLV9B9JJT0N8vZOhF7gFRR5l3M8W9G8JxmKV+JC5mGqJ0QvqfSOLsCPa4nUw==", "dev": true, + "dependencies": { + "acorn": "^8.11.0" + }, "engines": { "node": ">=0.4.0" } @@ -16287,12 +17187,12 @@ } }, "node_modules/aria-query": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.0.tgz", - "integrity": "sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==", + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.1.3.tgz", + "integrity": "sha512-R5iJ5lkuHybztUfuOAznmboyjWq8O6sqNqtK7CLOqdydi54VNbORp49mb14KbWgG1QD3JFO9hJdZ+y4KutfdOQ==", "dev": true, "dependencies": { - "dequal": "^2.0.3" + "deep-equal": "^2.0.5" } }, "node_modules/array-buffer-byte-length": { @@ -16643,9 +17543,9 @@ } }, "node_modules/axe-core": { - "version": "4.7.0", - "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.7.0.tgz", - "integrity": "sha512-M0JtH+hlOL5pLQwHOLNYZaXuhqmvS8oExsqB1SBYgA4Dk7u/xx+YdGHXaK5pyUfed5mYXdlYiphWq3G8cRi5JQ==", + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.9.1.tgz", + "integrity": "sha512-QbUdXJVTpvUTHU7871ppZkdOLBeGUKBQWHkHrvN2V9IQWGMt61zf3B45BtzjxEJzYuj0JBjBZP/hmYS/R9pmAw==", "dev": true, "engines": { "node": ">=4" @@ -16663,12 +17563,12 @@ } }, "node_modules/axobject-query": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-3.2.1.tgz", - "integrity": "sha512-jsyHu61e6N4Vbz/v18DHwWYKK0bSWLqn47eeDSKPB7m8tqMHF9YJ+mhIk2lVteyZrY8tnSj/jHOv4YiTCuCJgg==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-3.1.1.tgz", + "integrity": "sha512-goKlv8DZrK9hUh975fnHzhNIO4jUnFCfv/dszV5VwUGDFjI6vQ2VwoyjYjYNEbBE8AH87TduWP5uyDR1D+Iteg==", "dev": true, "dependencies": { - "dequal": "^2.0.3" + "deep-equal": "^2.0.5" } }, "node_modules/babel-core": { @@ -17501,9 +18401,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001632", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001632.tgz", - "integrity": "sha512-udx3o7yHJfUxMLkGohMlVHCvFvWmirKh9JAH/d7WOLPetlH+LTL5cocMZ0t7oZx/mdlOWXti97xLZWc8uURRHg==", + "version": "1.0.30001636", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001636.tgz", + "integrity": "sha512-bMg2vmr8XBsbL6Lr0UHXy/21m84FTxDLWn2FSqMd5PrlbMxwJlQnC2YWYxVgp66PZE+BBNF2jYQUBKCo1FDeZg==", "funding": [ { "type": "opencollective", @@ -18818,6 +19718,38 @@ "node": ">=6" } }, + "node_modules/deep-equal": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-2.2.3.tgz", + "integrity": "sha512-ZIwpnevOurS8bpT4192sqAowWM76JDKSHYzMLty3BZGSswgq6pBaH3DhCSW5xVAZICZyKdOBPjwww5wfgT/6PA==", + "dev": true, + "dependencies": { + "array-buffer-byte-length": "^1.0.0", + "call-bind": "^1.0.5", + "es-get-iterator": "^1.1.3", + "get-intrinsic": "^1.2.2", + "is-arguments": "^1.1.1", + "is-array-buffer": "^3.0.2", + "is-date-object": "^1.0.5", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.2", + "isarray": "^2.0.5", + "object-is": "^1.1.5", + "object-keys": "^1.1.1", + "object.assign": "^4.1.4", + "regexp.prototype.flags": "^1.5.1", + "side-channel": "^1.0.4", + "which-boxed-primitive": "^1.0.2", + "which-collection": "^1.0.1", + "which-typed-array": "^1.1.13" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/deep-is": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", @@ -19228,9 +20160,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.799", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.799.tgz", - "integrity": "sha512-3D3DwWkRTzrdEpntY0hMLYwj7SeBk1138CkPE8sBDSj3WzrzOiG2rHm3luw8jucpf+WiyLBCZyU9lMHyQI9M9Q==" + "version": "1.4.807", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.807.tgz", + "integrity": "sha512-kSmJl2ZwhNf/bcIuCH/imtNOKlpkLDn2jqT5FJ+/0CXjhnFaOa9cOe9gHKKy71eM49izwuQjZhKk+lWQ1JxB7A==" }, "node_modules/elliptic": { "version": "6.5.4", @@ -19278,27 +20210,27 @@ } }, "node_modules/engine.io-client": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-6.5.3.tgz", - "integrity": "sha512-9Z0qLB0NIisTRt1DZ/8U2k12RJn8yls/nXMZLn+/N8hANT3TcYjKFKcwbw5zFQiN4NTde3TSY9zb79e1ij6j9Q==", + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-6.5.4.tgz", + "integrity": "sha512-GeZeeRjpD2qf49cZQ0Wvh/8NJNfeXkXXcoGh+F77oEAgo9gUHwT1fCRxSNU+YEEaysOJTnsFHmM5oAcPy4ntvQ==", "dependencies": { "@socket.io/component-emitter": "~3.1.0", "debug": "~4.3.1", "engine.io-parser": "~5.2.1", - "ws": "~8.11.0", + "ws": "~8.17.1", "xmlhttprequest-ssl": "~2.0.0" } }, "node_modules/engine.io-client/node_modules/ws": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.11.0.tgz", - "integrity": "sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -19475,6 +20407,26 @@ "node": ">= 0.4" } }, + "node_modules/es-get-iterator": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/es-get-iterator/-/es-get-iterator-1.1.3.tgz", + "integrity": "sha512-sPZmqHBe6JIiTfN5q2pEi//TwxmAFHwj/XEuYjTuse78i8KxaqMTTzxPoFKuzRpDpTJ+0NAbpfenkmH2rePtuw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.3", + "has-symbols": "^1.0.3", + "is-arguments": "^1.1.1", + "is-map": "^2.0.2", + "is-set": "^2.0.2", + "is-string": "^1.0.7", + "isarray": "^2.0.5", + "stop-iteration-iterator": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/es-iterator-helpers": { "version": "1.0.19", "resolved": "https://registry.npmjs.org/es-iterator-helpers/-/es-iterator-helpers-1.0.19.tgz", @@ -19883,27 +20835,27 @@ } }, "node_modules/eslint-plugin-jsx-a11y": { - "version": "6.8.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.8.0.tgz", - "integrity": "sha512-Hdh937BS3KdwwbBaKd5+PLCOmYY6U4f2h9Z2ktwtNKvIdIEu137rjYbcb9ApSbVJfWxANNuiKTD/9tOKjK9qOA==", + "version": "6.9.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.9.0.tgz", + "integrity": "sha512-nOFOCaJG2pYqORjK19lqPqxMO/JpvdCZdPtNdxY3kvom3jTvkAbOvQvD8wuD0G8BYR0IGAGYDlzqWJOh/ybn2g==", "dev": true, "dependencies": { - "@babel/runtime": "^7.23.2", - "aria-query": "^5.3.0", - "array-includes": "^3.1.7", + "aria-query": "~5.1.3", + "array-includes": "^3.1.8", "array.prototype.flatmap": "^1.3.2", "ast-types-flow": "^0.0.8", - "axe-core": "=4.7.0", - "axobject-query": "^3.2.1", + "axe-core": "^4.9.1", + "axobject-query": "~3.1.1", "damerau-levenshtein": "^1.0.8", "emoji-regex": "^9.2.2", - "es-iterator-helpers": "^1.0.15", - "hasown": "^2.0.0", + "es-iterator-helpers": "^1.0.19", + "hasown": "^2.0.2", "jsx-ast-utils": "^3.3.5", "language-tags": "^1.0.9", "minimatch": "^3.1.2", - "object.entries": "^1.1.7", - "object.fromentries": "^2.0.7" + "object.fromentries": "^2.0.8", + "safe-regex-test": "^1.0.3", + "string.prototype.includes": "^2.0.0" }, "engines": { "node": ">=4.0" @@ -19960,16 +20912,16 @@ } }, "node_modules/eslint-plugin-react": { - "version": "7.34.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.34.2.tgz", - "integrity": "sha512-2HCmrU+/JNigDN6tg55cRDKCQWicYAPB38JGSFDQt95jDm8rrvSUo7YPkOIm5l6ts1j1zCvysNcasvfTMQzUOw==", + "version": "7.34.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.34.3.tgz", + "integrity": "sha512-aoW4MV891jkUulwDApQbPYTVZmeuSyFrudpbTAQuj5Fv8VL+o6df2xIGpw8B0hPjAaih1/Fb0om9grCdyFYemA==", "dev": true, "dependencies": { "array-includes": "^3.1.8", "array.prototype.findlast": "^1.2.5", "array.prototype.flatmap": "^1.3.2", "array.prototype.toreversed": "^1.1.2", - "array.prototype.tosorted": "^1.1.3", + "array.prototype.tosorted": "^1.1.4", "doctrine": "^2.1.0", "es-iterator-helpers": "^1.0.19", "estraverse": "^5.3.0", @@ -21019,9 +21971,9 @@ "peer": true }, "node_modules/flow-parser": { - "version": "0.237.2", - "resolved": "https://registry.npmjs.org/flow-parser/-/flow-parser-0.237.2.tgz", - "integrity": "sha512-mvI/kdfr3l1waaPbThPA8dJa77nHXrfZIun+SWvFwSwDjmeByU7mGJGRmv1+7guU6ccyLV8e1lqZA1lD4iMGnQ==", + "version": "0.238.0", + "resolved": "https://registry.npmjs.org/flow-parser/-/flow-parser-0.238.0.tgz", + "integrity": "sha512-VE7XSv1epljsIN2YeBnxCmGJihpNIAnLLu/pPOdA+Gkso7qDltJwUi6vfHjgxdBbjSdAuPGnhuOHJUQG+yYwIg==", "engines": { "node": ">=0.4.0" } @@ -21066,9 +22018,9 @@ } }, "node_modules/foreground-child": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.2.0.tgz", - "integrity": "sha512-CrWQNaEl1/6WeZoarcM9LHupTo3RpZO2Pdk1vktwzPiQTsJnAKJmm3TACKeG5UZbWDfaH2AbvYxzP96y0MT7fA==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.2.1.tgz", + "integrity": "sha512-PXUUyLqrR2XCWICfv6ukppP96sdFwWbNEnfEMt7jNsISjMsvaLNinAHNDYyvkyU+SZG2BTSbT5NjG+vZslfGTA==", "dependencies": { "cross-spawn": "^7.0.0", "signal-exit": "^4.0.1" @@ -21629,18 +22581,18 @@ } }, "node_modules/h3": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/h3/-/h3-1.11.1.tgz", - "integrity": "sha512-AbaH6IDnZN6nmbnJOH72y3c5Wwh9P97soSVdGSBbcDACRdkC0FEWf25pzx4f/NuOCK6quHmW18yF2Wx+G4Zi1A==", + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/h3/-/h3-1.12.0.tgz", + "integrity": "sha512-Zi/CcNeWBXDrFNlV0hUBJQR9F7a96RjMeAZweW/ZWkR9fuXrMcvKnSA63f/zZ9l0GgQOZDVHGvXivNN9PWOwhA==", "dependencies": { - "cookie-es": "^1.0.0", - "crossws": "^0.2.2", + "cookie-es": "^1.1.0", + "crossws": "^0.2.4", "defu": "^6.1.4", "destr": "^2.0.3", - "iron-webcrypto": "^1.0.0", + "iron-webcrypto": "^1.1.1", "ohash": "^1.1.3", - "radix3": "^1.1.0", - "ufo": "^1.4.0", + "radix3": "^1.1.2", + "ufo": "^1.5.3", "uncrypto": "^0.1.3", "unenv": "^1.9.0" } @@ -23014,9 +23966,9 @@ } }, "node_modules/jayson/node_modules/ws": { - "version": "7.5.9", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz", - "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==", + "version": "7.5.10", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz", + "integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==", "engines": { "node": ">=8.3.0" }, @@ -23273,9 +24225,9 @@ } }, "node_modules/joi": { - "version": "17.13.1", - "resolved": "https://registry.npmjs.org/joi/-/joi-17.13.1.tgz", - "integrity": "sha512-vaBlIKCyo4FCUtCm7Eu4QZd/q02bWcxfUO6YSXAZOWF6gzcLBeba8kwotUdYJjDLW8Cz8RywsSOqiNJZW0mNvg==", + "version": "17.13.3", + "resolved": "https://registry.npmjs.org/joi/-/joi-17.13.3.tgz", + "integrity": "sha512-otDA4ldcIx+ZXsKHWmp0YizCweVRZG96J10b0FevjfuncLO1oX59THoAmHkNubYJ+9gWsYsp5k8v4ib6oDv1fA==", "peer": true, "dependencies": { "@hapi/hoek": "^9.3.0", @@ -23286,9 +24238,9 @@ } }, "node_modules/jose": { - "version": "4.15.5", - "resolved": "https://registry.npmjs.org/jose/-/jose-4.15.5.tgz", - "integrity": "sha512-jc7BFxgKPKi94uOvEmzlSWFFe2+vASyXaKUpdQKatWAESU2MWjDfFf0fdfc83CDKcA5QecabZeNLyfhe3yKNkg==", + "version": "4.15.7", + "resolved": "https://registry.npmjs.org/jose/-/jose-4.15.7.tgz", + "integrity": "sha512-L7ioP+JAuZe8v+T5+zVI9Tx8LtU8BL7NxkyDFVMv+Qr3JW0jSoYDedLtodaXwfqMpeCyx4WXFNyu9tJt4WvC1A==", "funding": { "url": "https://github.com/sponsors/panva" } @@ -24669,9 +25621,9 @@ } }, "node_modules/metro/node_modules/ws": { - "version": "7.5.9", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz", - "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==", + "version": "7.5.10", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz", + "integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==", "peer": true, "engines": { "node": ">=8.3.0" @@ -27117,9 +28069,9 @@ } }, "node_modules/puppeteer-core/node_modules/ws": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.2.tgz", - "integrity": "sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw==", + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.3.tgz", + "integrity": "sha512-jmTjYU0j60B+vHey6TfR3Z7RD61z/hmxBS3VMSGIrroOWXQEneK1zNuotOUrGyBHQj0yrpsLHPWtigEFd13ndA==", "dependencies": { "async-limiter": "~1.0.0" } @@ -27363,9 +28315,9 @@ } }, "node_modules/react-devtools-core/node_modules/ws": { - "version": "7.5.9", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz", - "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==", + "version": "7.5.10", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz", + "integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==", "peer": true, "engines": { "node": ">=8.3.0" @@ -27660,9 +28612,9 @@ } }, "node_modules/react-native/node_modules/ws": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.2.tgz", - "integrity": "sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw==", + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.3.tgz", + "integrity": "sha512-jmTjYU0j60B+vHey6TfR3Z7RD61z/hmxBS3VMSGIrroOWXQEneK1zNuotOUrGyBHQj0yrpsLHPWtigEFd13ndA==", "peer": true, "dependencies": { "async-limiter": "~1.0.0" @@ -28489,11 +29441,11 @@ } }, "node_modules/rpc-websockets": { - "version": "7.10.0", - "resolved": "https://registry.npmjs.org/rpc-websockets/-/rpc-websockets-7.10.0.tgz", - "integrity": "sha512-cemZ6RiDtYZpPiBzYijdOrkQQzmBCmug0E9SdRH2gIUNT15ql4mwCYWIp0VnSZq6Qrw/JkGUygp4PrK1y9KfwQ==", + "version": "7.11.0", + "resolved": "https://registry.npmjs.org/rpc-websockets/-/rpc-websockets-7.11.0.tgz", + "integrity": "sha512-IkLYjayPv6Io8C/TdCL5gwgzd1hFz2vmBZrjMw/SPEXo51ETOhnzgS4Qy5GWi2JQN7HKHa66J3+2mv0fgNh/7w==", + "deprecated": "deprecate 7.11.0", "dependencies": { - "@babel/runtime": "^7.17.2", "eventemitter3": "^4.0.7", "uuid": "^8.3.2", "ws": "^8.5.0" @@ -29255,6 +30207,18 @@ "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.7.0.tgz", "integrity": "sha512-JPbdCEQLj1w5GilpiHAx3qJvFndqybBysA3qUOnznweH4QbNYUsW/ea8QzSrnh0vNsezMMw5bcVool8lM0gwzg==" }, + "node_modules/stop-iteration-iterator": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.0.0.tgz", + "integrity": "sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ==", + "dev": true, + "dependencies": { + "internal-slot": "^1.0.4" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/store2": { "version": "2.14.3", "resolved": "https://registry.npmjs.org/store2/-/store2-2.14.3.tgz", @@ -29405,6 +30369,16 @@ "url": "https://github.com/chalk/strip-ansi?sponsor=1" } }, + "node_modules/string.prototype.includes": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/string.prototype.includes/-/string.prototype.includes-2.0.0.tgz", + "integrity": "sha512-E34CkBgyeqNDcrbU76cDjL5JLcVrtSdYq0MEh/B10r17pRP4ciHLwTgnuLV8Ay6cgEMLkcBkFCKyFZ43YldYzg==", + "dev": true, + "dependencies": { + "define-properties": "^1.1.3", + "es-abstract": "^1.17.5" + } + }, "node_modules/string.prototype.matchall": { "version": "4.0.11", "resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.11.tgz", @@ -31990,17 +32964,17 @@ } }, "node_modules/vue": { - "version": "3.4.27", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.4.27.tgz", - "integrity": "sha512-8s/56uK6r01r1icG/aEOHqyMVxd1bkYcSe9j8HcKtr/xTOFWvnzIVTehNW+5Yt89f+DLBe4A569pnZLS5HzAMA==", + "version": "3.4.29", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.4.29.tgz", + "integrity": "sha512-8QUYfRcYzNlYuzKPfge1UWC6nF9ym0lx7mpGVPJYNhddxEf3DD0+kU07NTL0sXuiT2HuJuKr/iEO8WvXvT0RSQ==", "devOptional": true, "peer": true, "dependencies": { - "@vue/compiler-dom": "3.4.27", - "@vue/compiler-sfc": "3.4.27", - "@vue/runtime-dom": "3.4.27", - "@vue/server-renderer": "3.4.27", - "@vue/shared": "3.4.27" + "@vue/compiler-dom": "3.4.29", + "@vue/compiler-sfc": "3.4.29", + "@vue/runtime-dom": "3.4.29", + "@vue/server-renderer": "3.4.29", + "@vue/shared": "3.4.29" }, "peerDependencies": { "typescript": "*" @@ -32035,19 +33009,6 @@ } } }, - "node_modules/wagmi/node_modules/@coinbase/wallet-sdk": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/@coinbase/wallet-sdk/-/wallet-sdk-4.0.3.tgz", - "integrity": "sha512-y/OGEjlvosikjfB+wk+4CVb9OxD1ob9cidEBLI5h8Hxaf/Qoob2XoVT1uvhtAzBx34KpGYSd+alKvh/GCRre4Q==", - "dependencies": { - "buffer": "^6.0.3", - "clsx": "^1.2.1", - "eventemitter3": "^5.0.1", - "keccak": "^3.0.3", - "preact": "^10.16.0", - "sha.js": "^2.4.11" - } - }, "node_modules/wagmi/node_modules/@metamask/sdk-communication-layer": { "version": "0.20.5", "resolved": "https://registry.npmjs.org/@metamask/sdk-communication-layer/-/sdk-communication-layer-0.20.5.tgz", @@ -32161,14 +33122,6 @@ } } }, - "node_modules/wagmi/node_modules/clsx": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/clsx/-/clsx-1.2.1.tgz", - "integrity": "sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==", - "engines": { - "node": ">=6" - } - }, "node_modules/wagmi/node_modules/cross-fetch": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-4.0.0.tgz", @@ -32731,12 +33684,12 @@ }, "packages/cdn": { "name": "@web3modal/cdn", - "version": "5.0.2", + "version": "5.0.3", "dependencies": { "@wagmi/connectors": "5.0.8", "@wagmi/core": "2.10.5", - "@web3modal/ethers": "5.0.2", - "@web3modal/wagmi": "5.0.2", + "@web3modal/ethers": "5.0.3", + "@web3modal/wagmi": "5.0.3", "viem": "2.10.3", "vite": "5.2.11" }, @@ -32755,7 +33708,7 @@ }, "packages/common": { "name": "@web3modal/common", - "version": "5.0.2", + "version": "5.0.3", "license": "Apache-2.0", "dependencies": { "bignumber.js": "9.1.2", @@ -32769,11 +33722,11 @@ }, "packages/core": { "name": "@web3modal/core", - "version": "5.0.2", + "version": "5.0.3", "license": "Apache-2.0", "dependencies": { - "@web3modal/common": "5.0.2", - "@web3modal/wallet": "5.0.2", + "@web3modal/common": "5.0.3", + "@web3modal/wallet": "5.0.3", "valtio": "1.11.2" }, "devDependencies": { @@ -32782,17 +33735,17 @@ }, "packages/ethers": { "name": "@web3modal/ethers", - "version": "5.0.2", + "version": "5.0.3", "license": "Apache-2.0", "dependencies": { - "@coinbase/wallet-sdk": "4.0.0", + "@coinbase/wallet-sdk": "4.0.3", "@walletconnect/ethereum-provider": "2.13.0", - "@web3modal/polyfills": "5.0.2", - "@web3modal/scaffold": "5.0.2", - "@web3modal/scaffold-react": "5.0.2", - "@web3modal/scaffold-utils": "5.0.2", - "@web3modal/scaffold-vue": "5.0.2", - "@web3modal/siwe": "5.0.2", + "@web3modal/polyfills": "5.0.3", + "@web3modal/scaffold": "5.0.3", + "@web3modal/scaffold-react": "5.0.3", + "@web3modal/scaffold-utils": "5.0.3", + "@web3modal/scaffold-vue": "5.0.3", + "@web3modal/siwe": "5.0.3", "valtio": "1.11.2" }, "devDependencies": { @@ -32946,17 +33899,17 @@ }, "packages/ethers5": { "name": "@web3modal/ethers5", - "version": "5.0.2", + "version": "5.0.3", "license": "Apache-2.0", "dependencies": { - "@coinbase/wallet-sdk": "4.0.0", + "@coinbase/wallet-sdk": "4.0.3", "@walletconnect/ethereum-provider": "2.13.0", - "@web3modal/polyfills": "5.0.2", - "@web3modal/scaffold": "5.0.2", - "@web3modal/scaffold-react": "5.0.2", - "@web3modal/scaffold-utils": "5.0.2", - "@web3modal/scaffold-vue": "5.0.2", - "@web3modal/siwe": "5.0.2", + "@web3modal/polyfills": "5.0.3", + "@web3modal/scaffold": "5.0.3", + "@web3modal/scaffold-react": "5.0.3", + "@web3modal/scaffold-utils": "5.0.3", + "@web3modal/scaffold-vue": "5.0.3", + "@web3modal/siwe": "5.0.3", "valtio": "1.11.2" }, "devDependencies": { @@ -33159,7 +34112,7 @@ }, "packages/polyfills": { "name": "@web3modal/polyfills", - "version": "5.0.2", + "version": "5.0.3", "license": "Apache-2.0", "dependencies": { "buffer": "6.0.3" @@ -33167,24 +34120,25 @@ }, "packages/scaffold": { "name": "@web3modal/scaffold", - "version": "5.0.2", + "version": "5.0.3", "license": "Apache-2.0", "dependencies": { - "@web3modal/common": "5.0.2", - "@web3modal/core": "5.0.2", - "@web3modal/scaffold-utils": "5.0.2", - "@web3modal/siwe": "5.0.2", - "@web3modal/ui": "5.0.2", - "@web3modal/wallet": "5.0.2", + "@web3modal/common": "5.0.3", + "@web3modal/core": "5.0.3", + "@web3modal/scaffold-ui": "5.0.3", + "@web3modal/scaffold-utils": "5.0.3", + "@web3modal/siwe": "5.0.3", + "@web3modal/ui": "5.0.3", + "@web3modal/wallet": "5.0.3", "lit": "3.1.0" } }, "packages/scaffold-react": { "name": "@web3modal/scaffold-react", - "version": "5.0.2", + "version": "5.0.3", "license": "Apache-2.0", "dependencies": { - "@web3modal/scaffold": "5.0.2" + "@web3modal/scaffold": "5.0.3" }, "devDependencies": { "react": "18.2.0", @@ -33203,22 +34157,36 @@ } } }, + "packages/scaffold-ui": { + "name": "@web3modal/scaffold-ui", + "version": "5.0.3", + "license": "Apache-2.0", + "dependencies": { + "@web3modal/common": "5.0.3", + "@web3modal/core": "5.0.3", + "@web3modal/scaffold-utils": "5.0.3", + "@web3modal/siwe": "5.0.3", + "@web3modal/ui": "5.0.3", + "@web3modal/wallet": "5.0.3", + "lit": "3.1.0" + } + }, "packages/scaffold-utils": { "name": "@web3modal/scaffold-utils", - "version": "5.0.2", + "version": "5.0.3", "license": "Apache-2.0", "dependencies": { - "@web3modal/core": "5.0.2", - "@web3modal/polyfills": "5.0.2", + "@web3modal/core": "5.0.3", + "@web3modal/polyfills": "5.0.3", "valtio": "1.11.2" } }, "packages/scaffold-vue": { "name": "@web3modal/scaffold-vue", - "version": "5.0.2", + "version": "5.0.3", "license": "Apache-2.0", "dependencies": { - "@web3modal/scaffold": "5.0.2" + "@web3modal/scaffold": "5.0.3" }, "devDependencies": { "vue": "3.4.3" @@ -33360,12 +34328,12 @@ }, "packages/siwe": { "name": "@web3modal/siwe", - "version": "5.0.2", + "version": "5.0.3", "license": "Apache-2.0", "dependencies": { "@walletconnect/utils": "2.12.0", - "@web3modal/core": "5.0.2", - "@web3modal/scaffold-utils": "5.0.2", + "@web3modal/core": "5.0.3", + "@web3modal/scaffold-utils": "5.0.3", "lit": "3.1.0", "valtio": "1.11.2" } @@ -33447,7 +34415,7 @@ }, "packages/solana": { "name": "@web3modal/solana", - "version": "5.0.2", + "version": "5.0.3", "license": "Apache-2.0", "dependencies": { "@ethersproject/sha2": "5.7.0", @@ -33459,11 +34427,11 @@ "@solana/wallet-adapter-walletconnect": "0.1.16", "@solana/web3.js": "1.91.7", "@walletconnect/universal-provider": "2.11.2", - "@web3modal/polyfills": "5.0.2", - "@web3modal/scaffold": "5.0.2", - "@web3modal/scaffold-react": "5.0.2", - "@web3modal/scaffold-utils": "5.0.2", - "@web3modal/scaffold-vue": "5.0.2", + "@web3modal/polyfills": "5.0.3", + "@web3modal/scaffold": "5.0.3", + "@web3modal/scaffold-react": "5.0.3", + "@web3modal/scaffold-utils": "5.0.3", + "@web3modal/scaffold-vue": "5.0.3", "bn.js": "5.2.1", "bs58": "5.0.0" }, @@ -33502,7 +34470,7 @@ }, "packages/ui": { "name": "@web3modal/ui", - "version": "5.0.2", + "version": "5.0.3", "license": "Apache-2.0", "dependencies": { "lit": "3.1.0", @@ -33510,23 +34478,23 @@ }, "devDependencies": { "@types/qrcode": "1.5.5", - "@web3modal/common": "5.0.2", + "@web3modal/common": "5.0.3", "eslint-plugin-lit": "1.11.0", "eslint-plugin-wc": "2.0.4" } }, "packages/wagmi": { "name": "@web3modal/wagmi", - "version": "5.0.2", + "version": "5.0.3", "license": "Apache-2.0", "dependencies": { "@walletconnect/ethereum-provider": "2.13.0", - "@web3modal/polyfills": "5.0.2", - "@web3modal/scaffold": "5.0.2", - "@web3modal/scaffold-react": "5.0.2", - "@web3modal/scaffold-utils": "5.0.2", - "@web3modal/scaffold-vue": "5.0.2", - "@web3modal/siwe": "5.0.2" + "@web3modal/polyfills": "5.0.3", + "@web3modal/scaffold": "5.0.3", + "@web3modal/scaffold-react": "5.0.3", + "@web3modal/scaffold-utils": "5.0.3", + "@web3modal/scaffold-vue": "5.0.3", + "@web3modal/siwe": "5.0.3" }, "devDependencies": { "@wagmi/connectors": "5.0.8", @@ -33684,11 +34652,11 @@ }, "packages/wallet": { "name": "@web3modal/wallet", - "version": "5.0.2", + "version": "5.0.3", "license": "Apache-2.0", "dependencies": { "@walletconnect/logger": "2.1.2", - "@web3modal/polyfills": "5.0.2", + "@web3modal/polyfills": "5.0.3", "zod": "3.22.4" } } diff --git a/package.json b/package.json index d9f53f0367..710ebc33e3 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "demo": "turbo run dev:demo", "examples": "turbo run dev:example", "build:gallery": "turbo run build:clean; turbo run build:gallery", - "build:laboratory": "turbo run build:clean; turbo run build; turbo run build:laboratory", + "build:laboratory": "npm run build; turbo run build:laboratory", "build:demo": "turbo run build:clean; turbo run build:demo", "build:examples": "turbo run build:clean; turbo run build:examples", "test": "turbo run test", @@ -38,6 +38,7 @@ "packages/core", "packages/scaffold", "packages/scaffold-utils", + "packages/scaffold-ui", "packages/scaffold-react", "packages/scaffold-vue", "packages/polyfills", diff --git a/packages/cdn/CHANGELOG.md b/packages/cdn/CHANGELOG.md index fb2acf8c25..cb5871e606 100644 --- a/packages/cdn/CHANGELOG.md +++ b/packages/cdn/CHANGELOG.md @@ -1,5 +1,15 @@ # @web3modal/cdn +## 5.0.3 + +### Patch Changes + +- fix: ethers5 coinbase issues. Turbo build issues. Upate cb connector. + +- Updated dependencies []: + - @web3modal/ethers@5.0.3 + - @web3modal/wagmi@5.0.3 + ## 5.0.2 ### Patch Changes diff --git a/packages/cdn/package.json b/packages/cdn/package.json index 05e35c64c3..41077d146a 100644 --- a/packages/cdn/package.json +++ b/packages/cdn/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/cdn", - "version": "5.0.2", + "version": "5.0.3", "main": "dist/wagmi.js", "type": "module", "files": [ @@ -28,8 +28,8 @@ "dependencies": { "@wagmi/connectors": "5.0.8", "@wagmi/core": "2.10.5", - "@web3modal/wagmi": "5.0.2", - "@web3modal/ethers": "5.0.2", + "@web3modal/wagmi": "5.0.3", + "@web3modal/ethers": "5.0.3", "viem": "2.10.3", "vite": "5.2.11" } diff --git a/packages/common/CHANGELOG.md b/packages/common/CHANGELOG.md index 69bb564677..39935218d5 100644 --- a/packages/common/CHANGELOG.md +++ b/packages/common/CHANGELOG.md @@ -1,5 +1,11 @@ # @web3modal/common +## 5.0.3 + +### Patch Changes + +- fix: ethers5 coinbase issues. Turbo build issues. Upate cb connector. + ## 5.0.2 ### Patch Changes diff --git a/packages/common/package.json b/packages/common/package.json index a13882f7a5..e1362d9b1c 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/common", - "version": "5.0.2", + "version": "5.0.3", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", diff --git a/packages/common/src/utils/NetworkUtil.ts b/packages/common/src/utils/NetworkUtil.ts index 1e27aa3230..51d9018326 100644 --- a/packages/common/src/utils/NetworkUtil.ts +++ b/packages/common/src/utils/NetworkUtil.ts @@ -1,4 +1,4 @@ -import type { CaipNetworkId } from '@web3modal/core' +import type { CaipNetworkId } from './TypeUtil.js' export const NetworkUtil = { caipNetworkIdToNumber(caipnetworkId?: CaipNetworkId) { diff --git a/packages/common/src/utils/TypeUtil.ts b/packages/common/src/utils/TypeUtil.ts index a5fbead624..3c4683df65 100644 --- a/packages/common/src/utils/TypeUtil.ts +++ b/packages/common/src/utils/TypeUtil.ts @@ -1,3 +1,5 @@ +export type CaipNetworkId = `${string}:${string}` + export type CoinbaseTransactionStatus = | 'ONRAMP_TRANSACTION_STATUS_SUCCESS' | 'ONRAMP_TRANSACTION_STATUS_IN_PROGRESS' diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index e993b7d4a0..8b21ccf461 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,15 @@ # @web3modal/core +## 5.0.3 + +### Patch Changes + +- fix: ethers5 coinbase issues. Turbo build issues. Upate cb connector. + +- Updated dependencies []: + - @web3modal/common@5.0.3 + - @web3modal/wallet@5.0.3 + ## 5.0.2 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index 89a5438616..7d5732cb90 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/core", - "version": "5.0.2", + "version": "5.0.3", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", @@ -17,8 +17,8 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@web3modal/common": "5.0.2", - "@web3modal/wallet": "5.0.2", + "@web3modal/common": "5.0.3", + "@web3modal/wallet": "5.0.3", "valtio": "1.11.2" }, "devDependencies": { diff --git a/packages/core/src/controllers/OptionsController.ts b/packages/core/src/controllers/OptionsController.ts index 27ebda3004..eff3026752 100644 --- a/packages/core/src/controllers/OptionsController.ts +++ b/packages/core/src/controllers/OptionsController.ts @@ -21,6 +21,7 @@ export interface OptionsControllerState { metadata?: Metadata enableOnramp?: boolean disableAppend?: boolean + enableEIP6963?: boolean } type StateKey = keyof OptionsControllerState @@ -103,6 +104,10 @@ export const OptionsController = { state.disableAppend = disableAppend }, + setEIP6963Enabled(enableEIP6963: OptionsControllerState['enableEIP6963']) { + state.enableEIP6963 = enableEIP6963 + }, + getSnapshot() { return snapshot(state) } diff --git a/packages/ethers/CHANGELOG.md b/packages/ethers/CHANGELOG.md index f38fa359a0..4ef45b673c 100644 --- a/packages/ethers/CHANGELOG.md +++ b/packages/ethers/CHANGELOG.md @@ -1,5 +1,19 @@ # @web3modal/ethers +## 5.0.3 + +### Patch Changes + +- fix: ethers5 coinbase issues. Turbo build issues. Upate cb connector. + +- Updated dependencies []: + - @web3modal/polyfills@5.0.3 + - @web3modal/scaffold@5.0.3 + - @web3modal/scaffold-react@5.0.3 + - @web3modal/scaffold-utils@5.0.3 + - @web3modal/scaffold-vue@5.0.3 + - @web3modal/siwe@5.0.3 + ## 5.0.2 ### Patch Changes diff --git a/packages/ethers/package.json b/packages/ethers/package.json index def15f62d5..86a465c488 100644 --- a/packages/ethers/package.json +++ b/packages/ethers/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/ethers", - "version": "5.0.2", + "version": "5.0.3", "type": "module", "main": "./dist/esm/exports/index.js", "types": "./dist/types/exports/index.d.ts", @@ -43,14 +43,14 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@coinbase/wallet-sdk": "4.0.0", + "@coinbase/wallet-sdk": "4.0.3", "@walletconnect/ethereum-provider": "2.13.0", - "@web3modal/polyfills": "5.0.2", - "@web3modal/scaffold": "5.0.2", - "@web3modal/scaffold-react": "5.0.2", - "@web3modal/scaffold-utils": "5.0.2", - "@web3modal/scaffold-vue": "5.0.2", - "@web3modal/siwe": "5.0.2", + "@web3modal/polyfills": "5.0.3", + "@web3modal/scaffold": "5.0.3", + "@web3modal/scaffold-react": "5.0.3", + "@web3modal/scaffold-utils": "5.0.3", + "@web3modal/scaffold-vue": "5.0.3", + "@web3modal/siwe": "5.0.3", "valtio": "1.11.2" }, "peerDependencies": { diff --git a/packages/ethers/src/client.ts b/packages/ethers/src/client.ts index c72429ff57..c89abb79a4 100644 --- a/packages/ethers/src/client.ts +++ b/packages/ethers/src/client.ts @@ -502,13 +502,14 @@ export class Web3Modal extends Web3ModalScaffold { this.syncRequestedNetworks(chains, chainImages) this.syncConnectors(ethersConfig) - if (ethersConfig.EIP6963) { - if (typeof window !== 'undefined') { - this.listenConnectors(ethersConfig.EIP6963) - this.checkActive6963Provider() - } + // Setup EIP6963 providers + if (typeof window !== 'undefined') { + this.listenConnectors(true) + this.checkActive6963Provider() } + this.setEIP6963Enabled(ethersConfig.EIP6963) + if (ethersConfig.injected) { this.checkActiveInjectedProvider(ethersConfig) } @@ -1441,7 +1442,7 @@ export class Web3Modal extends Web3ModalScaffold { const isCoinbaseDuplicated = coinbaseConnector && event.detail.info.rdns === - ConstantsUtil.CONNECTOR_RDNS_MAP[ConstantsUtil.COINBASE_CONNECTOR_ID] + ConstantsUtil.CONNECTOR_RDNS_MAP[ConstantsUtil.COINBASE_SDK_CONNECTOR_ID] if (!existingConnector && !isCoinbaseDuplicated) { const type = PresetsUtil.ConnectorTypesMap[ConstantsUtil.EIP6963_CONNECTOR_ID] diff --git a/packages/ethers/src/utils/defaultConfig.ts b/packages/ethers/src/utils/defaultConfig.ts index 4c7da616b5..badb056acf 100644 --- a/packages/ethers/src/utils/defaultConfig.ts +++ b/packages/ethers/src/utils/defaultConfig.ts @@ -30,9 +30,7 @@ export function defaultConfig(options: ConfigOptions) { showWallets: true, walletFeatures: true }, - metadata, - rpcUrl, - defaultChainId + metadata } = options let injectedProvider: Provider | undefined = undefined @@ -95,7 +93,7 @@ export function defaultConfig(options: ConfigOptions) { providers.injected = getInjectedProvider() } - if (enableCoinbase && rpcUrl && defaultChainId) { + if (enableCoinbase) { providers.coinbase = getCoinbaseProvider() } diff --git a/packages/ethers5/CHANGELOG.md b/packages/ethers5/CHANGELOG.md index 7710a8754f..f1a58b3f2e 100644 --- a/packages/ethers5/CHANGELOG.md +++ b/packages/ethers5/CHANGELOG.md @@ -1,5 +1,19 @@ # @web3modal/ethers5 +## 5.0.3 + +### Patch Changes + +- fix: ethers5 coinbase issues. Turbo build issues. Upate cb connector. + +- Updated dependencies []: + - @web3modal/polyfills@5.0.3 + - @web3modal/scaffold@5.0.3 + - @web3modal/scaffold-react@5.0.3 + - @web3modal/scaffold-utils@5.0.3 + - @web3modal/scaffold-vue@5.0.3 + - @web3modal/siwe@5.0.3 + ## 5.0.2 ### Patch Changes diff --git a/packages/ethers5/package.json b/packages/ethers5/package.json index 5aec3734ad..33a9f0c051 100644 --- a/packages/ethers5/package.json +++ b/packages/ethers5/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/ethers5", - "version": "5.0.2", + "version": "5.0.3", "type": "module", "main": "./dist/esm/exports/index.js", "types": "./dist/types/exports/index.d.ts", @@ -43,14 +43,14 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@coinbase/wallet-sdk": "4.0.0", + "@coinbase/wallet-sdk": "4.0.3", "@walletconnect/ethereum-provider": "2.13.0", - "@web3modal/polyfills": "5.0.2", - "@web3modal/scaffold": "5.0.2", - "@web3modal/scaffold-react": "5.0.2", - "@web3modal/scaffold-utils": "5.0.2", - "@web3modal/scaffold-vue": "5.0.2", - "@web3modal/siwe": "5.0.2", + "@web3modal/polyfills": "5.0.3", + "@web3modal/scaffold": "5.0.3", + "@web3modal/scaffold-react": "5.0.3", + "@web3modal/scaffold-utils": "5.0.3", + "@web3modal/scaffold-vue": "5.0.3", + "@web3modal/siwe": "5.0.3", "valtio": "1.11.2" }, "devDependencies": { diff --git a/packages/ethers5/src/client.ts b/packages/ethers5/src/client.ts index 944e4c50d0..eb20786058 100644 --- a/packages/ethers5/src/client.ts +++ b/packages/ethers5/src/client.ts @@ -250,7 +250,7 @@ export class Web3Modal extends Web3ModalScaffold { EthersStoreUtil.setError(error) } this.setEIP6963Provider(provider, info.name) - } else if (id === ConstantsUtil.COINBASE_CONNECTOR_ID) { + } else if (id === ConstantsUtil.COINBASE_SDK_CONNECTOR_ID) { const CoinbaseProvider = ethersConfig.coinbase if (!CoinbaseProvider) { throw new Error('connectionControllerClient:connectCoinbase - connector is undefined') @@ -258,8 +258,8 @@ export class Web3Modal extends Web3ModalScaffold { try { EthersStoreUtil.setError(undefined) - this.setCoinbaseProvider(ethersConfig) await CoinbaseProvider.request({ method: 'eth_requestAccounts' }) + this.setCoinbaseProvider(ethersConfig) } catch (error) { EthersStoreUtil.setError(error) throw new Error((error as CoinbaseProviderError).message) @@ -384,16 +384,17 @@ export class Web3Modal extends Web3ModalScaffold { this.checkActiveInjectedProvider(ethersConfig) } - if (ethersConfig.EIP6963) { - if (typeof window !== 'undefined') { - this.listenConnectors(ethersConfig.EIP6963) - this.checkActive6963Provider() - } - } - if (ethersConfig.coinbase) { this.checkActiveCoinbaseProvider(ethersConfig) } + + // Setup EIP6963 providers + if (typeof window !== 'undefined') { + this.listenConnectors(true) + this.checkActive6963Provider() + } + + this.setEIP6963Enabled(ethersConfig.EIP6963) } // -- Public ------------------------------------------------------------------ @@ -563,7 +564,7 @@ export class Web3Modal extends Web3ModalScaffold { const walletId = localStorage.getItem(EthersConstantsUtil.WALLET_ID) if (CoinbaseProvider) { - if (walletId === ConstantsUtil.COINBASE_CONNECTOR_ID) { + if (walletId === ConstantsUtil.COINBASE_SDK_CONNECTOR_ID) { if (CoinbaseProvider._addresses && CoinbaseProvider._addresses?.length > 0) { this.setCoinbaseProvider(config) this.watchCoinbase(config) @@ -640,14 +641,16 @@ export class Web3Modal extends Web3ModalScaffold { } private async setCoinbaseProvider(config: ProviderType) { - window?.localStorage.setItem(EthersConstantsUtil.WALLET_ID, ConstantsUtil.COINBASE_CONNECTOR_ID) + window?.localStorage.setItem( + EthersConstantsUtil.WALLET_ID, + ConstantsUtil.COINBASE_SDK_CONNECTOR_ID + ) const CoinbaseProvider = config.coinbase - if (CoinbaseProvider) { const { address, chainId } = await EthersHelpersUtil.getUserInfo(CoinbaseProvider) if (address && chainId) { EthersStoreUtil.setChainId(chainId) - EthersStoreUtil.setProviderType('coinbaseWallet') + EthersStoreUtil.setProviderType('coinbaseWalletSDK') EthersStoreUtil.setProvider(config.coinbase) EthersStoreUtil.setStatus('connected') EthersStoreUtil.setIsConnected(true) @@ -786,7 +789,7 @@ export class Web3Modal extends Web3ModalScaffold { } function chainChangedHandler(chainId: string) { - if (chainId && walletId === ConstantsUtil.COINBASE_CONNECTOR_ID) { + if (chainId && walletId === ConstantsUtil.COINBASE_SDK_CONNECTOR_ID) { const chain = Number(chainId) EthersStoreUtil.setChainId(chain) } @@ -1002,7 +1005,7 @@ export class Web3Modal extends Web3ModalScaffold { } } } - } else if (providerType === ConstantsUtil.COINBASE_CONNECTOR_ID && chain) { + } else if (providerType === ConstantsUtil.COINBASE_SDK_CONNECTOR_ID && chain) { const CoinbaseProvider = provider if (CoinbaseProvider) { try { @@ -1059,11 +1062,11 @@ export class Web3Modal extends Web3ModalScaffold { if (config.coinbase) { w3mConnectors.push({ - id: ConstantsUtil.COINBASE_CONNECTOR_ID, - explorerId: PresetsUtil.ConnectorExplorerIds[ConstantsUtil.COINBASE_CONNECTOR_ID], - imageId: PresetsUtil.ConnectorImageIds[ConstantsUtil.COINBASE_CONNECTOR_ID], - imageUrl: this.options?.connectorImages?.[ConstantsUtil.COINBASE_CONNECTOR_ID], - name: PresetsUtil.ConnectorNamesMap[ConstantsUtil.COINBASE_CONNECTOR_ID], + id: ConstantsUtil.COINBASE_SDK_CONNECTOR_ID, + explorerId: PresetsUtil.ConnectorExplorerIds[ConstantsUtil.COINBASE_SDK_CONNECTOR_ID], + imageId: PresetsUtil.ConnectorImageIds[ConstantsUtil.COINBASE_SDK_CONNECTOR_ID], + imageUrl: this.options?.connectorImages?.[ConstantsUtil.COINBASE_SDK_CONNECTOR_ID], + name: PresetsUtil.ConnectorNamesMap[ConstantsUtil.COINBASE_SDK_CONNECTOR_ID], type: 'EXTERNAL' }) } @@ -1076,7 +1079,15 @@ export class Web3Modal extends Web3ModalScaffold { const { info, provider } = event.detail const connectors = this.getConnectors() const existingConnector = connectors.find(c => c.name === info.name) - if (!existingConnector) { + const coinbaseConnector = connectors.find( + c => c.id === ConstantsUtil.COINBASE_SDK_CONNECTOR_ID + ) + const isCoinbaseDuplicated = + coinbaseConnector && + event.detail.info.rdns === + ConstantsUtil.CONNECTOR_RDNS_MAP[ConstantsUtil.COINBASE_SDK_CONNECTOR_ID] + + if (!existingConnector && !isCoinbaseDuplicated) { const type = PresetsUtil.ConnectorTypesMap[ConstantsUtil.EIP6963_CONNECTOR_ID] if (type) { this.addConnector({ @@ -1090,8 +1101,8 @@ export class Web3Modal extends Web3ModalScaffold { }) const eip6963ProviderObj = { - info, - provider + provider, + info } this.EIP6963Providers.push(eip6963ProviderObj) diff --git a/packages/ethers5/src/utils/defaultConfig.ts b/packages/ethers5/src/utils/defaultConfig.ts index d002eb5f37..5c6c5e6250 100644 --- a/packages/ethers5/src/utils/defaultConfig.ts +++ b/packages/ethers5/src/utils/defaultConfig.ts @@ -14,14 +14,7 @@ export interface ConfigOptions { } export function defaultConfig(options: ConfigOptions) { - const { - enableEIP6963 = true, - enableInjected = true, - enableCoinbase = true, - metadata, - rpcUrl, - defaultChainId - } = options + const { enableEIP6963 = true, enableInjected = true, enableCoinbase = true, metadata } = options let injectedProvider: Provider | undefined = undefined // eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents @@ -78,7 +71,7 @@ export function defaultConfig(options: ConfigOptions) { return coinbaseProvider } - if (enableCoinbase && rpcUrl && defaultChainId) { + if (enableCoinbase) { providers.coinbase = getCoinbaseProvider() } diff --git a/packages/polyfills/CHANGELOG.md b/packages/polyfills/CHANGELOG.md index 083a783a1a..6335547a5f 100644 --- a/packages/polyfills/CHANGELOG.md +++ b/packages/polyfills/CHANGELOG.md @@ -1,5 +1,11 @@ # @web3modal/polyfills +## 5.0.3 + +### Patch Changes + +- fix: ethers5 coinbase issues. Turbo build issues. Upate cb connector. + ## 5.0.2 ### Patch Changes diff --git a/packages/polyfills/package.json b/packages/polyfills/package.json index 5c3088965f..3b2b615456 100644 --- a/packages/polyfills/package.json +++ b/packages/polyfills/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/polyfills", - "version": "5.0.2", + "version": "5.0.3", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", diff --git a/packages/scaffold-react/CHANGELOG.md b/packages/scaffold-react/CHANGELOG.md index 06c6c51600..9028e31773 100644 --- a/packages/scaffold-react/CHANGELOG.md +++ b/packages/scaffold-react/CHANGELOG.md @@ -1,5 +1,14 @@ # @web3modal/scaffold-react +## 5.0.3 + +### Patch Changes + +- fix: ethers5 coinbase issues. Turbo build issues. Upate cb connector. + +- Updated dependencies []: + - @web3modal/scaffold@5.0.3 + ## 5.0.2 ### Patch Changes diff --git a/packages/scaffold-react/package.json b/packages/scaffold-react/package.json index fa02c3f577..a437f70573 100644 --- a/packages/scaffold-react/package.json +++ b/packages/scaffold-react/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/scaffold-react", - "version": "5.0.2", + "version": "5.0.3", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", @@ -16,7 +16,7 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@web3modal/scaffold": "5.0.2" + "@web3modal/scaffold": "5.0.3" }, "peerDependencies": { "react": ">=17", diff --git a/packages/scaffold-ui/.eslintrc.json b/packages/scaffold-ui/.eslintrc.json new file mode 100644 index 0000000000..0f959f167e --- /dev/null +++ b/packages/scaffold-ui/.eslintrc.json @@ -0,0 +1,4 @@ +{ + "extends": ["plugin:require-extensions/recommended", "../../.eslintrc.json"], + "plugins": ["require-extensions"] +} diff --git a/packages/scaffold-ui/.npmignore b/packages/scaffold-ui/.npmignore new file mode 100644 index 0000000000..5ef895a063 --- /dev/null +++ b/packages/scaffold-ui/.npmignore @@ -0,0 +1,11 @@ +*.log +*.env +tests +src +exports +node_modules +.eslintrc.json +.turbo +package-lock.json +tsconfig.json +index.ts diff --git a/packages/scaffold-ui/CHANGELOG.md b/packages/scaffold-ui/CHANGELOG.md new file mode 100644 index 0000000000..117b64fa71 --- /dev/null +++ b/packages/scaffold-ui/CHANGELOG.md @@ -0,0 +1,620 @@ +# @web3modal/scaffold + +## 5.0.3 + +### Patch Changes + +- fix: ethers5 coinbase issues. Turbo build issues. Upate cb connector. + +- Updated dependencies []: + - @web3modal/common@5.0.3 + - @web3modal/core@5.0.3 + - @web3modal/scaffold-utils@5.0.3 + - @web3modal/siwe@5.0.3 + - @web3modal/ui@5.0.3 + - @web3modal/wallet@5.0.3 + +## 5.0.2 + +### Patch Changes + +- fix: siwe signOutOnNetwork change issue. fix: wallets filtered by rdns matched from explorer api. fix: solana network id issue + +- Updated dependencies []: + - @web3modal/common@5.0.2 + - @web3modal/core@5.0.2 + - @web3modal/scaffold-utils@5.0.2 + - @web3modal/siwe@5.0.2 + - @web3modal/ui@5.0.2 + - @web3modal/wallet@5.0.2 + +## 5.0.1 + +### Patch Changes + +- fix: remove walletconnect restriction on names + +- Updated dependencies []: + - @web3modal/scaffold-utils@5.0.1 + - @web3modal/common@5.0.1 + - @web3modal/wallet@5.0.1 + - @web3modal/core@5.0.1 + - @web3modal/siwe@5.0.1 + - @web3modal/ui@5.0.1 + +## 5.0.0 + +### Major Changes + +- Release V5 + +### Patch Changes + +- Updated dependencies []: + - @web3modal/common@5.0.0 + - @web3modal/core@5.0.0 + - @web3modal/scaffold-utils@5.0.0 + - @web3modal/siwe@5.0.0 + - @web3modal/ui@5.0.0 + - @web3modal/wallet@5.0.0 + +## 5.0.0-cn-v5.0 + +### Major Changes + +- Test V5 + +### Patch Changes + +- Updated dependencies []: + - @web3modal/common@5.0.0-cn-v5.0 + - @web3modal/core@5.0.0-cn-v5.0 + - @web3modal/scaffold-utils@5.0.0-cn-v5.0 + - @web3modal/siwe@5.0.0-cn-v5.0 + - @web3modal/ui@5.0.0-cn-v5.0 + - @web3modal/wallet@5.0.0-cn-v5.0 + +## 4.2.3 + +### Patch Changes + +- feat: - feat: restricted ens names. fix: iat set automatically if not present in messageParams. Adds siwe config handlers + +- Updated dependencies []: + - @web3modal/common@4.2.3 + - @web3modal/core@4.2.3 + - @web3modal/siwe@4.2.3 + - @web3modal/ui@4.2.3 + - @web3modal/wallet@4.2.3 + +## 4.2.3-alpha.0 + +### Patch Changes + +- feat: add support for coinbase smart accounts + +- Updated dependencies []: + - @web3modal/siwe@4.2.3-alpha.0 + - @web3modal/common@4.2.3-alpha.0 + - @web3modal/core@4.2.3-alpha.0 + - @web3modal/ui@4.2.3-alpha.0 + - @web3modal/wallet@4.2.3-alpha.0 + +## 4.2.2 + +### Patch Changes + +- feat: social login refactor. wagmi sendCalls support. refactor theme variables + +- Updated dependencies []: + - @web3modal/common@4.2.2 + - @web3modal/core@4.2.2 + - @web3modal/siwe@4.2.2 + - @web3modal/ui@4.2.2 + - @web3modal/wallet@4.2.2 + +## 4.2.1 + +### Patch Changes + +- Hotfix to support injected and announced wallets in in app browsers + +- Updated dependencies []: + - @web3modal/common@4.2.1 + - @web3modal/core@4.2.1 + - @web3modal/siwe@4.2.1 + - @web3modal/ui@4.2.1 + - @web3modal/wallet@4.2.1 + +## 4.2.0 + +### Patch Changes + +- release: 4.2.0 version release + +- Updated dependencies []: + - @web3modal/common@4.2.0 + - @web3modal/core@4.2.0 + - @web3modal/siwe@4.2.0 + - @web3modal/ui@4.2.0 + - @web3modal/wallet@4.2.0 + +## 4.2.0-alpha.0 + +### Patch Changes + +- feat: 4.2.0-alpha release + +- Updated dependencies []: + - @web3modal/common@4.2.0-alpha.0 + - @web3modal/wallet@4.2.0-alpha.0 + - @web3modal/core@4.2.0-alpha.0 + - @web3modal/siwe@4.2.0-alpha.0 + - @web3modal/ui@4.2.0-alpha.0 + +## 4.2.0-03e4f4a8.2 + +### Patch Changes + +- fix: Issue with SIWE + Wagmi sign out. Fixes issue where signature verification fail resulted in empty open modal' + +- Updated dependencies []: + - @web3modal/common@4.2.0-03e4f4a8.2 + - @web3modal/wallet@4.2.0-03e4f4a8.2 + - @web3modal/core@4.2.0-03e4f4a8.2 + - @web3modal/siwe@4.2.0-03e4f4a8.2 + - @web3modal/ui@4.2.0-03e4f4a8.2 + +## 4.2.0-448f7f4.1 + +### Minor Changes + +- refactor: improvements to all features (siwe, send, swaps, ui and ux) + +### Patch Changes + +- Updated dependencies []: + - @web3modal/common@4.2.0-448f7f4.1 + - @web3modal/core@4.2.0-448f7f4.1 + - @web3modal/siwe@4.2.0-448f7f4.1 + - @web3modal/ui@4.2.0-448f7f4.1 + - @web3modal/wallet@4.2.0-448f7f4.1 + +## 4.1.12-910a844.0 + +### Patch Changes + +- refactor: sync theme with secure site + +- Updated dependencies []: + - @web3modal/common@4.1.12-910a844.0 + - @web3modal/wallet@4.1.12-910a844.0 + - @web3modal/core@4.1.12-910a844.0 + - @web3modal/ui@4.1.12-910a844.0 + - @web3modal/siwe@4.1.12-910a844.0 + +## 4.1.11 + +### Patch Changes + +- refactor: Solana exported helper methods and proram instruction improvements +- refactor: email and smart account improvements +- refactor: unit test CI check improvements +- feat: convert + +- Updated dependencies []: + - @web3modal/common@4.1.11 + - @web3modal/core@4.1.11 + - @web3modal/siwe@4.1.11 + - @web3modal/ui@4.1.11 + - @web3modal/wallet@4.1.11 + +## 4.1.10 + +### Patch Changes + +- Fix activity list styling issue + +- Updated dependencies []: + - @web3modal/common@4.1.10 + - @web3modal/core@4.1.10 + - @web3modal/siwe@4.1.10 + - @web3modal/ui@4.1.10 + - @web3modal/wallet@4.1.10 + +## 4.1.9 + +### Patch Changes + +- Blockchain API fix + +- Updated dependencies []: + - @web3modal/common@4.1.9 + - @web3modal/core@4.1.9 + - @web3modal/siwe@4.1.9 + - @web3modal/ui@4.1.9 + - @web3modal/wallet@4.1.9 + +## 4.1.8 + +### Patch Changes + +- Hotfix for redundant tokenbalance calls + +- Updated dependencies []: + - @web3modal/common@4.1.8 + - @web3modal/core@4.1.8 + - @web3modal/siwe@4.1.8 + - @web3modal/ui@4.1.8 + - @web3modal/wallet@4.1.8 + +## 4.1.7 + +### Patch Changes + +- Hotfix for inccorect state of w3m-button when email is enabled + +- Updated dependencies []: + - @web3modal/common@4.1.7 + - @web3modal/core@4.1.7 + - @web3modal/siwe@4.1.7 + - @web3modal/ui@4.1.7 + - @web3modal/wallet@4.1.7 + +## 4.1.6 + +### Patch Changes + +- Fix modal default height. Fix ethers email connection lag. Fix ethers + rc relay disconnect issue. Adds new wui-components for secure site. + +- Updated dependencies []: + - @web3modal/common@4.1.6 + - @web3modal/core@4.1.6 + - @web3modal/siwe@4.1.6 + - @web3modal/ui@4.1.6 + - @web3modal/wallet@4.1.6 + +## 4.1.6-a0733f5.0 + +### Patch Changes + +- chore: canary release for siwe dependency + +- Updated dependencies []: + - @web3modal/ethers@4.1.6-a0733f5.0 + - @web3modal/siwe@4.1.6-a0733f5.0 + - @web3modal/solana@4.1.6-a0733f5.0 + - @web3modal/wagmi@4.1.6-a0733f5.0 + +## 4.1.5 + +### Patch Changes + +- release: v4.1.5 + +- Updated dependencies []: + - @web3modal/common@4.1.5 + - @web3modal/core@4.1.5 + - @web3modal/siwe@4.1.5 + - @web3modal/ui@4.1.5 + - @web3modal/wallet@4.1.5 + +## 4.1.5-93c81127.0 + +### Patch Changes + +- fix: polyfill process in wallet package + +- Updated dependencies []: + - @web3modal/wallet@4.1.5-93c81127.0 + - @web3modal/common@4.1.5-93c81127.0 + - @web3modal/core@4.1.5-93c81127.0 + - @web3modal/siwe@4.1.5-93c81127.0 + - @web3modal/ui@4.1.5-93c81127.0 + +## 4.1.4 + +### Patch Changes + +- feat: wallet info hook + +- Updated dependencies []: + - @web3modal/common@4.1.4 + - @web3modal/wallet@4.1.4 + - @web3modal/core@4.1.4 + - @web3modal/siwe@4.1.4 + - @web3modal/ui@4.1.4 + +## 4.1.3 + +### Patch Changes + +- feat: wallet info hook + +- feat: reset version to 4.1.3 + +- Updated dependencies []: + - @web3modal/common@4.1.3 + - @web3modal/core@4.1.3 + - @web3modal/siwe@4.1.3 + - @web3modal/ui@4.1.3 + - @web3modal/wallet@4.1.3 + +## 4.1.3-5f2ae345.1 + +### Patch Changes + +- canary: test imports + +- Updated dependencies []: + - @web3modal/common@4.1.3-5f2ae345.1 + - @web3modal/wallet@4.1.3-5f2ae345.1 + - @web3modal/core@4.1.3-5f2ae345.1 + - @web3modal/siwe@4.1.3-5f2ae345.1 + - @web3modal/ui@4.1.3-5f2ae345.1 + +## 4.1.3-8e039e.0 + +### Patch Changes + +- feat: update optional dependencies + +- Updated dependencies []: + - @web3modal/common@4.1.3-8e039e.0 + - @web3modal/wallet@4.1.3-8e039e.0 + - @web3modal/core@4.1.3-8e039e.0 + - @web3modal/siwe@4.1.3-8e039e.0 + - @web3modal/ui@4.1.3-8e039e.0 + +## 4.1.2 + +### Patch Changes + +- 4.1.2 release + +- Updated dependencies []: + - @web3modal/common@4.1.2 - @web3modal/core@4.1.2 - @web3modal/siwe@4.1.2 - @web3modal/ui@4.1.2 - @web3modal/wallet@4.1.2 + +## 4.2.0-4b5257b4.1 + +### Minor Changes + +- [#2052](https://github.com/WalletConnect/web3modal/pull/2052) [`1b90376`](https://github.com/WalletConnect/web3modal/commit/1b903765a675f0f1b9ea0a44bcf84e2dad6b4436) Thanks [@enesozturk](https://github.com/enesozturk)! - refactor: add missing extensions on imports + +- feat: export solana chains from the solana package + +- [#2052](https://github.com/WalletConnect/web3modal/pull/2052) [`729313f`](https://github.com/WalletConnect/web3modal/commit/729313fe9dfb402ca694cbd77f49cc61895e2d07) Thanks [@enesozturk](https://github.com/enesozturk)! - chore: new solana canary release + +### Patch Changes + +- Updated dependencies [[`1b90376`](https://github.com/WalletConnect/web3modal/commit/1b903765a675f0f1b9ea0a44bcf84e2dad6b4436), [`729313f`](https://github.com/WalletConnect/web3modal/commit/729313fe9dfb402ca694cbd77f49cc61895e2d07)]: + - @web3modal/wallet@4.2.0-4b5257b4.1 + - @web3modal/core@4.2.0-4b5257b4.1 + - @web3modal/ui@4.2.0-4b5257b4.1 + - @web3modal/common@4.2.0-4b5257b4.1 + - @web3modal/siwe@4.2.0-4b5257b4.1 + +## 4.2.0-dbbd8c44.0 + +### Minor Changes + +- refactor: add missing extensions on imports + +### Patch Changes + +- Updated dependencies []: + - @web3modal/ui@4.2.0-dbbd8c44.0 + - @web3modal/common@4.2.0-dbbd8c44.0 + +## 4.2.0-500a38.0 + +### Minor Changes + +- feat: solana integration + +### Patch Changes + +- Updated dependencies []: + - @web3modal/wallet@4.2.0-500a38.0 + - @web3modal/core@4.2.0-500a38.0 + - @web3modal/ui@4.2.0-500a38.0 + - @web3modal/common@4.2.0-500a38.0 + - @web3modal/siwe@4.2.0-500a38.0 + +## 4.1.1 + +### Patch Changes + +- Fix siwe version + +- Updated dependencies []: + - @web3modal/siwe@4.1.1 + - @web3modal/common@4.1.1 + - @web3modal/core@4.1.1 + - @web3modal/ui@4.1.1 + - @web3modal/wallet@4.1.1 + +## 4.1.0 + +### Minor Changes + +- Email Stable release + +### Patch Changes + +- Updated dependencies []: + - @web3modal/common@4.1.0 + - @web3modal/core@4.1.0 + - @web3modal/siwe@4.1.0 + - @web3modal/ui@4.1.0 + +## 4.0.13 + +### Patch Changes + +- Fix secure site url + +- Updated dependencies []: + - @web3modal/common@4.0.13 + - @web3modal/core@4.0.13 + - @web3modal/siwe@4.0.13 + - @web3modal/ui@4.0.13 + +## 4.0.12 + +### Patch Changes + +- [#2014](https://github.com/WalletConnect/web3modal/pull/2014) [`95b35e1`](https://github.com/WalletConnect/web3modal/commit/95b35e1ebaf261a56a29cd9254d85b7c1430bfc0) Thanks [@tomiir](https://github.com/tomiir)! - Smart Account RPC handler canary + +- Smart Account initialization and feature flag + +- Updated dependencies [[`95b35e1`](https://github.com/WalletConnect/web3modal/commit/95b35e1ebaf261a56a29cd9254d85b7c1430bfc0)]: + - @web3modal/core@4.0.12 + - @web3modal/ui@4.0.12 + - @web3modal/common@4.0.12 + - @web3modal/siwe@4.0.12 + +## 4.0.12-0c59f84f.0 + +### Patch Changes + +- Smart Account RPC handler canary + +- Updated dependencies []: + - @web3modal/core@4.0.12-0c59f84f.0 + - @web3modal/ui@4.0.12-0c59f84f.0 + - @web3modal/common@4.0.12-0c59f84f.0 + - @web3modal/siwe@4.0.12-0c59f84f.0 + +## 4.0.11 + +### Patch Changes + +- Analytics connection event improvements. Unsupported chain flag. Siwe package refactor. RPC improvements. UI improvements' + +- Updated dependencies []: + - @web3modal/common@4.0.11 + - @web3modal/core@4.0.11 + - @web3modal/siwe@4.0.11 + - @web3modal/ui@4.0.11 + +## 4.0.10 + +### Patch Changes + +- Add error state to wui-chip composite + +- Updated dependencies []: + - @web3modal/ui@4.0.10 + - @web3modal/common@4.0.10 + - @web3modal/core@4.0.10 + +## 4.0.9 + +### Patch Changes + +- Add all rpc methods + auto reject when modal closes + +- Updated dependencies []: + - @web3modal/common@4.0.9 + - @web3modal/core@4.0.9 + - @web3modal/ui@4.0.9 + +## 4.0.8 + +### Patch Changes + +- [#1954](https://github.com/WalletConnect/web3modal/pull/1954) [`c3366e7`](https://github.com/WalletConnect/web3modal/commit/c3366e7211dba2f5c6d3377c9d9a77da5a52c0d8) Thanks [@tomiir](https://github.com/tomiir)! - Add support for eth_getBlockByNumber + +- Updated dependencies [[`c3366e7`](https://github.com/WalletConnect/web3modal/commit/c3366e7211dba2f5c6d3377c9d9a77da5a52c0d8)]: + - @web3modal/common@4.0.8 + - @web3modal/core@4.0.8 + - @web3modal/ui@4.0.8 + +## 4.0.8-f1845392.0 + +### Patch Changes + +- [#1954](https://github.com/WalletConnect/web3modal/pull/1954) [`4755109`](https://github.com/WalletConnect/web3modal/commit/475510962a92ea9f4388db1d08c979d99da18e54) Thanks [@tomiir](https://github.com/tomiir)! - Add support for eth_getBlockByNumber + +- Updated dependencies [[`4755109`](https://github.com/WalletConnect/web3modal/commit/475510962a92ea9f4388db1d08c979d99da18e54)]: + - @web3modal/common@4.0.8-f1845392.0 + - @web3modal/core@4.0.8-f1845392.0 + - @web3modal/ui@4.0.8-f1845392.0 + +## 4.0.7 + +### Patch Changes + +- Add eth_getBalance to list of allowed methods + +- Updated dependencies []: + - @web3modal/common@4.0.7 + - @web3modal/core@4.0.7 + - @web3modal/ui@4.0.7 + +## 4.0.6 + +### Patch Changes + +- Email stability fixes + +- Updated dependencies []: + - @web3modal/common@4.0.6 + - @web3modal/core@4.0.6 + - @web3modal/ui@4.0.6 + +## 4.0.5 + +### Patch Changes + +- [#1917](https://github.com/WalletConnect/web3modal/pull/1917) [`f79566c`](https://github.com/WalletConnect/web3modal/commit/f79566ca5119fa12795dd49fce01aea8e1a05d97) Thanks [@tomiir](https://github.com/tomiir)! - Replaces public url with blockchain api for supported networks + +- Updated dependencies [[`f79566c`](https://github.com/WalletConnect/web3modal/commit/f79566ca5119fa12795dd49fce01aea8e1a05d97)]: + - @web3modal/common@4.0.5 + - @web3modal/core@4.0.5 + - @web3modal/ui@4.0.5 + +## 4.0.4 + +### Patch Changes + +- Fix theming issue for email + +- Updated dependencies []: + - @web3modal/core@4.0.4 + - @web3modal/common@4.0.4 + - @web3modal/ui@4.0.4 + +## 4.0.3 + +### Patch Changes + +- Tag email beta, Sync Theme For Secure Wallet, Use manual version in constants + +- Updated dependencies []: + - @web3modal/ui@4.0.3 + - @web3modal/common@4.0.3 + - @web3modal/core@4.0.3 + +## 4.0.2 + +### Patch Changes + +- [#1899](https://github.com/WalletConnect/web3modal/pull/1899) [`42e97a0`](https://github.com/WalletConnect/web3modal/commit/42e97a04eb60090a821019ae80d62acacf35fc66) Thanks [@xzilja](https://github.com/xzilja)! - Reverted change that removed email update flow from account view + +- Updated dependencies [[`42e97a0`](https://github.com/WalletConnect/web3modal/commit/42e97a04eb60090a821019ae80d62acacf35fc66)]: + - @web3modal/common@4.0.2 + - @web3modal/core@4.0.2 + - @web3modal/ui@4.0.2 + +## 4.0.1 + +### Patch Changes + +- [#1879](https://github.com/WalletConnect/web3modal/pull/1879) [`e3fa353`](https://github.com/WalletConnect/web3modal/commit/e3fa35396e3d2b1153d12bfaf92738bc67b46640) Thanks [@svenvoskamp](https://github.com/svenvoskamp)! - Fix various issues on ethers/ethers5 package + +- Updated dependencies [[`e3fa353`](https://github.com/WalletConnect/web3modal/commit/e3fa35396e3d2b1153d12bfaf92738bc67b46640)]: + - @web3modal/common@4.0.1 + - @web3modal/core@4.0.1 + - @web3modal/ui@4.0.1 diff --git a/packages/scaffold-ui/exports/index.ts b/packages/scaffold-ui/exports/index.ts new file mode 100644 index 0000000000..d455421c66 --- /dev/null +++ b/packages/scaffold-ui/exports/index.ts @@ -0,0 +1,109 @@ +/** + * WARNING + * The `w3m-modal` component will be imported dynamically in the Scaffold's client code. + * That's why it requires it's own path to be imported that separately. To do this, we are creating sub-exports for the `w3m-modal` component specifically. + * Make sure you're not exporting w3m-modal here. + */ + +// -- Modal Components ---------------------------------- // +export * from '../src/modal/w3m-account-button/index.js' +export * from '../src/modal/w3m-button/index.js' +export * from '../src/modal/w3m-connect-button/index.js' +export * from '../src/modal/w3m-network-button/index.js' +export * from '../src/modal/w3m-router/index.js' +export * from '../src/modal/w3m-onramp-widget/index.js' + +// -- Views --------------------------------------------- // +export * from '../src/views/w3m-account-settings-view/index.js' +export * from '../src/views/w3m-account-view/index.js' +export * from '../src/views/w3m-all-wallets-view/index.js' +export * from '../src/views/w3m-buy-in-progress-view/index.js' +export * from '../src/views/w3m-connect-view/index.js' +export * from '../src/views/w3m-connecting-external-view/index.js' +export * from '../src/views/w3m-connecting-wc-view/index.js' +export * from '../src/views/w3m-choose-account-name-view/index.js' +export * from '../src/views/w3m-downloads-view/index.js' +export * from '../src/views/w3m-get-wallet-view/index.js' +export * from '../src/views/w3m-register-account-name-view/index.js' +export * from '../src/views/w3m-register-account-name-success-view/index.js' +export * from '../src/views/w3m-network-switch-view/index.js' +export * from '../src/views/w3m-networks-view/index.js' +export * from '../src/views/w3m-onramp-activity-view/index.js' +export * from '../src/views/w3m-onramp-fiat-select-view/index.js' +export * from '../src/views/w3m-onramp-providers-view/index.js' +export * from '../src/views/w3m-onramp-tokens-select-view/index.js' +export * from '../src/views/w3m-swap-view/index.js' +export * from '../src/views/w3m-swap-preview-view/index.js' +export * from '../src/views/w3m-swap-select-token-view/index.js' +export * from '../src/views/w3m-swap-view/index.js' +export * from '../src/views/w3m-transactions-view/index.js' +export * from '../src/views/w3m-what-is-a-network-view/index.js' +export * from '../src/views/w3m-what-is-a-wallet-view/index.js' +export * from '../src/views/w3m-what-is-a-buy-view/index.js' +export * from '../src/views/w3m-email-verify-otp-view/index.js' +export * from '../src/views/w3m-email-verify-device-view/index.js' +export * from '../src/views/w3m-approve-transaction-view/index.js' +export * from '../src/views/w3m-upgrade-wallet-view/index.js' +export * from '../src/views/w3m-upgrade-to-smart-account-view/index.js' +export * from '../src/views/w3m-update-email-wallet-view/index.js' +export * from '../src/views/w3m-update-email-primary-otp-view/index.js' +export * from '../src/views/w3m-update-email-secondary-otp-view/index.js' +export * from '../src/views/w3m-unsupported-chain-view/index.js' +export * from '../src/views/w3m-wallet-receive-view/index.js' +export * from '../src/views/w3m-wallet-compatible-networks-view/index.js' +export * from '../src/views/w3m-wallet-send-view/index.js' +export * from '../src/views/w3m-wallet-send-select-token-view/index.js' +export * from '../src/views/w3m-wallet-send-preview-view/index.js' +export * from '../src/views/w3m-connect-wallets-view/index.js' +export * from '../src/views/w3m-connect-socials-view/index.js' +export * from '../src/views/w3m-connecting-social-view/index.js' + +// -- Partials ------------------------------------------ // +export * from '../src/partials/w3m-all-wallets-list/index.js' +export * from '../src/partials/w3m-all-wallets-search/index.js' +export * from '../src/partials/w3m-connecting-header/index.js' +export * from '../src/partials/w3m-connecting-wc-browser/index.js' +export * from '../src/partials/w3m-connecting-wc-desktop/index.js' +export * from '../src/partials/w3m-connecting-wc-mobile/index.js' +export * from '../src/partials/w3m-connecting-wc-qrcode/index.js' +export * from '../src/partials/w3m-connecting-wc-unsupported/index.js' +export * from '../src/partials/w3m-connecting-wc-web/index.js' +export * from '../src/partials/w3m-swap-details/index.js' +export * from '../src/partials/w3m-swap-input/index.js' +export * from '../src/partials/w3m-swap-input-skeleton/index.js' +export * from '../src/partials/w3m-header/index.js' +export * from '../src/partials/w3m-help-widget/index.js' +export * from '../src/partials/w3m-onramp-activity-item/index.js' +export * from '../src/partials/w3m-onramp-input/index.js' +export * from '../src/partials/w3m-onramp-provider-item/index.js' +export * from '../src/partials/w3m-legal-footer/index.js' +export * from '../src/partials/w3m-mobile-download-links/index.js' +export * from '../src/partials/w3m-onramp-providers-footer/index.js' +export * from '../src/partials/w3m-snackbar/index.js' +export * from '../src/partials/w3m-email-login-widget/index.js' +export * from '../src/partials/w3m-account-default-widget/index.js' +export * from '../src/partials/w3m-account-wallet-features-widget/index.js' +export * from '../src/partials/w3m-account-activity-widget/index.js' +export * from '../src/partials/w3m-account-nfts-widget/index.js' +export * from '../src/partials/w3m-account-tokens-widget/index.js' +export * from '../src/partials/w3m-activity-list/index.js' +export * from '../src/partials/w3m-input-token/index.js' +export * from '../src/partials/w3m-input-address/index.js' +export * from '../src/partials/w3m-wallet-send-details/index.js' +export * from '../src/partials/w3m-tooltip/index.js' +export * from '../src/partials/w3m-tooltip-trigger/index.js' +export * from '../src/partials/w3m-social-login-widget/index.js' +export * from '../src/partials/w3m-wallet-login-list/index.js' +export * from '../src/partials/w3m-social-login-list/index.js' +export * from '../src/partials/w3m-connect-announced-widget/index.js' +export * from '../src/partials/w3m-connect-custom-widget/index.js' +export * from '../src/partials/w3m-connect-featured-widget/index.js' +export * from '../src/partials/w3m-connect-injected-widget/index.js' +export * from '../src/partials/w3m-connect-coinbase-widget/index.js' +export * from '../src/partials/w3m-connect-external-widget/index.js' +export * from '../src/partials/w3m-connect-recent-widget/index.js' +export * from '../src/partials/w3m-connect-recommended-widget/index.js' +export * from '../src/partials/w3m-connect-walletconnect-widget/index.js' +export * from '../src/partials/w3m-connector-list/index.js' +export * from '../src/partials/w3m-all-wallets-widget/index.js' +export * from '../src/partials/w3m-account-auth-button/index.js' diff --git a/packages/scaffold-ui/exports/w3m-modal.ts b/packages/scaffold-ui/exports/w3m-modal.ts new file mode 100644 index 0000000000..4795cc894f --- /dev/null +++ b/packages/scaffold-ui/exports/w3m-modal.ts @@ -0,0 +1 @@ +export * from '../src/modal/w3m-modal/index.js' diff --git a/packages/scaffold-ui/package.json b/packages/scaffold-ui/package.json new file mode 100644 index 0000000000..48f9fd6161 --- /dev/null +++ b/packages/scaffold-ui/package.json @@ -0,0 +1,58 @@ +{ + "name": "@web3modal/scaffold-ui", + "version": "5.0.3", + "type": "module", + "main": "./dist/esm/exports/index.js", + "types": "./dist/types/exports/index.d.ts", + "files": [ + "dist", + "!tsconfig.tsbuildinfo" + ], + "exports": { + ".": { + "types": "./dist/types/exports/index.d.ts", + "import": "./dist/esm/exports/index.js", + "default": "./dist/esm/exports/index.js" + }, + "./w3m-modal": { + "types": "./dist/types/exports/w3m-modal.d.ts", + "import": "./dist/esm/exports/w3m-modal.js", + "default": "./dist/esm/exports/w3m-modal.js" + } + }, + "scripts": { + "build:clean": "rm -rf dist", + "build:scaffold-ui": "tsc --build", + "watch": "tsc --watch", + "typecheck": "tsc --noEmit", + "lint": "eslint . --ext .js,.jsx,.ts,.tsx" + }, + "dependencies": { + "@web3modal/common": "5.0.3", + "@web3modal/scaffold-utils": "5.0.3", + "@web3modal/core": "5.0.3", + "@web3modal/ui": "5.0.3", + "lit": "3.1.0", + "@web3modal/siwe": "5.0.3", + "@web3modal/wallet": "5.0.3" + }, + "keywords": [ + "web3", + "crypto", + "ethereum", + "web3modal", + "walletconnect", + "lit", + "webcomponents" + ], + "author": "WalletConnect ", + "license": "Apache-2.0", + "homepage": "https://github.com/web3modal/web3modal", + "repository": { + "type": "git", + "url": "git+https://github.com/web3modal/web3modal.git" + }, + "bugs": { + "url": "https://github.com/web3modal/web3modal/issues" + } +} diff --git a/packages/scaffold-ui/readme.md b/packages/scaffold-ui/readme.md new file mode 100644 index 0000000000..a2b8551feb --- /dev/null +++ b/packages/scaffold-ui/readme.md @@ -0,0 +1,11 @@ +#### 📚 [Documentation](https://docs.walletconnect.com/2.0/web3modal/about) + +#### 🔗 [Website](https://web3modal.com) + +# Web3Modal + +Your on-ramp to web3 multichain. Web3Modal is a versatile library that makes it super easy to connect users with your Dapp and start interacting with the blockchain. + +

+ +

diff --git a/packages/scaffold/src/modal/w3m-account-button/index.ts b/packages/scaffold-ui/src/modal/w3m-account-button/index.ts similarity index 100% rename from packages/scaffold/src/modal/w3m-account-button/index.ts rename to packages/scaffold-ui/src/modal/w3m-account-button/index.ts diff --git a/packages/scaffold/src/modal/w3m-button/index.ts b/packages/scaffold-ui/src/modal/w3m-button/index.ts similarity index 100% rename from packages/scaffold/src/modal/w3m-button/index.ts rename to packages/scaffold-ui/src/modal/w3m-button/index.ts diff --git a/packages/scaffold/src/modal/w3m-button/styles.ts b/packages/scaffold-ui/src/modal/w3m-button/styles.ts similarity index 100% rename from packages/scaffold/src/modal/w3m-button/styles.ts rename to packages/scaffold-ui/src/modal/w3m-button/styles.ts diff --git a/packages/scaffold/src/modal/w3m-connect-button/index.ts b/packages/scaffold-ui/src/modal/w3m-connect-button/index.ts similarity index 100% rename from packages/scaffold/src/modal/w3m-connect-button/index.ts rename to packages/scaffold-ui/src/modal/w3m-connect-button/index.ts diff --git a/packages/scaffold/src/modal/w3m-modal/index.ts b/packages/scaffold-ui/src/modal/w3m-modal/index.ts similarity index 100% rename from packages/scaffold/src/modal/w3m-modal/index.ts rename to packages/scaffold-ui/src/modal/w3m-modal/index.ts diff --git a/packages/scaffold/src/modal/w3m-modal/styles.ts b/packages/scaffold-ui/src/modal/w3m-modal/styles.ts similarity index 100% rename from packages/scaffold/src/modal/w3m-modal/styles.ts rename to packages/scaffold-ui/src/modal/w3m-modal/styles.ts diff --git a/packages/scaffold/src/modal/w3m-network-button/index.ts b/packages/scaffold-ui/src/modal/w3m-network-button/index.ts similarity index 100% rename from packages/scaffold/src/modal/w3m-network-button/index.ts rename to packages/scaffold-ui/src/modal/w3m-network-button/index.ts diff --git a/packages/scaffold/src/modal/w3m-network-button/styles.ts b/packages/scaffold-ui/src/modal/w3m-network-button/styles.ts similarity index 100% rename from packages/scaffold/src/modal/w3m-network-button/styles.ts rename to packages/scaffold-ui/src/modal/w3m-network-button/styles.ts diff --git a/packages/scaffold/src/modal/w3m-onramp-widget/index.ts b/packages/scaffold-ui/src/modal/w3m-onramp-widget/index.ts similarity index 100% rename from packages/scaffold/src/modal/w3m-onramp-widget/index.ts rename to packages/scaffold-ui/src/modal/w3m-onramp-widget/index.ts diff --git a/packages/scaffold/src/modal/w3m-onramp-widget/styles.ts b/packages/scaffold-ui/src/modal/w3m-onramp-widget/styles.ts similarity index 100% rename from packages/scaffold/src/modal/w3m-onramp-widget/styles.ts rename to packages/scaffold-ui/src/modal/w3m-onramp-widget/styles.ts diff --git a/packages/scaffold/src/modal/w3m-router/index.ts b/packages/scaffold-ui/src/modal/w3m-router/index.ts similarity index 100% rename from packages/scaffold/src/modal/w3m-router/index.ts rename to packages/scaffold-ui/src/modal/w3m-router/index.ts diff --git a/packages/scaffold/src/modal/w3m-router/styles.ts b/packages/scaffold-ui/src/modal/w3m-router/styles.ts similarity index 100% rename from packages/scaffold/src/modal/w3m-router/styles.ts rename to packages/scaffold-ui/src/modal/w3m-router/styles.ts diff --git a/packages/scaffold/src/partials/w3m-account-activity-widget/index.ts b/packages/scaffold-ui/src/partials/w3m-account-activity-widget/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-account-activity-widget/index.ts rename to packages/scaffold-ui/src/partials/w3m-account-activity-widget/index.ts diff --git a/packages/scaffold/src/partials/w3m-account-activity-widget/styles.ts b/packages/scaffold-ui/src/partials/w3m-account-activity-widget/styles.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-account-activity-widget/styles.ts rename to packages/scaffold-ui/src/partials/w3m-account-activity-widget/styles.ts diff --git a/packages/scaffold/src/partials/w3m-account-auth-button/index.ts b/packages/scaffold-ui/src/partials/w3m-account-auth-button/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-account-auth-button/index.ts rename to packages/scaffold-ui/src/partials/w3m-account-auth-button/index.ts diff --git a/packages/scaffold/src/partials/w3m-account-default-widget/index.ts b/packages/scaffold-ui/src/partials/w3m-account-default-widget/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-account-default-widget/index.ts rename to packages/scaffold-ui/src/partials/w3m-account-default-widget/index.ts diff --git a/packages/scaffold/src/partials/w3m-account-default-widget/styles.ts b/packages/scaffold-ui/src/partials/w3m-account-default-widget/styles.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-account-default-widget/styles.ts rename to packages/scaffold-ui/src/partials/w3m-account-default-widget/styles.ts diff --git a/packages/scaffold/src/partials/w3m-account-nfts-widget/index.ts b/packages/scaffold-ui/src/partials/w3m-account-nfts-widget/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-account-nfts-widget/index.ts rename to packages/scaffold-ui/src/partials/w3m-account-nfts-widget/index.ts diff --git a/packages/scaffold/src/partials/w3m-account-nfts-widget/styles.ts b/packages/scaffold-ui/src/partials/w3m-account-nfts-widget/styles.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-account-nfts-widget/styles.ts rename to packages/scaffold-ui/src/partials/w3m-account-nfts-widget/styles.ts diff --git a/packages/scaffold/src/partials/w3m-account-tokens-widget/index.ts b/packages/scaffold-ui/src/partials/w3m-account-tokens-widget/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-account-tokens-widget/index.ts rename to packages/scaffold-ui/src/partials/w3m-account-tokens-widget/index.ts diff --git a/packages/scaffold/src/partials/w3m-account-tokens-widget/styles.ts b/packages/scaffold-ui/src/partials/w3m-account-tokens-widget/styles.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-account-tokens-widget/styles.ts rename to packages/scaffold-ui/src/partials/w3m-account-tokens-widget/styles.ts diff --git a/packages/scaffold/src/partials/w3m-account-wallet-features-widget/index.ts b/packages/scaffold-ui/src/partials/w3m-account-wallet-features-widget/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-account-wallet-features-widget/index.ts rename to packages/scaffold-ui/src/partials/w3m-account-wallet-features-widget/index.ts diff --git a/packages/scaffold/src/partials/w3m-account-wallet-features-widget/styles.ts b/packages/scaffold-ui/src/partials/w3m-account-wallet-features-widget/styles.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-account-wallet-features-widget/styles.ts rename to packages/scaffold-ui/src/partials/w3m-account-wallet-features-widget/styles.ts diff --git a/packages/scaffold/src/partials/w3m-activity-list/index.ts b/packages/scaffold-ui/src/partials/w3m-activity-list/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-activity-list/index.ts rename to packages/scaffold-ui/src/partials/w3m-activity-list/index.ts diff --git a/packages/scaffold/src/partials/w3m-activity-list/styles.ts b/packages/scaffold-ui/src/partials/w3m-activity-list/styles.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-activity-list/styles.ts rename to packages/scaffold-ui/src/partials/w3m-activity-list/styles.ts diff --git a/packages/scaffold/src/partials/w3m-all-wallets-list/index.ts b/packages/scaffold-ui/src/partials/w3m-all-wallets-list/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-all-wallets-list/index.ts rename to packages/scaffold-ui/src/partials/w3m-all-wallets-list/index.ts diff --git a/packages/scaffold/src/partials/w3m-all-wallets-list/styles.ts b/packages/scaffold-ui/src/partials/w3m-all-wallets-list/styles.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-all-wallets-list/styles.ts rename to packages/scaffold-ui/src/partials/w3m-all-wallets-list/styles.ts diff --git a/packages/scaffold/src/partials/w3m-all-wallets-search/index.ts b/packages/scaffold-ui/src/partials/w3m-all-wallets-search/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-all-wallets-search/index.ts rename to packages/scaffold-ui/src/partials/w3m-all-wallets-search/index.ts diff --git a/packages/scaffold/src/partials/w3m-all-wallets-search/styles.ts b/packages/scaffold-ui/src/partials/w3m-all-wallets-search/styles.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-all-wallets-search/styles.ts rename to packages/scaffold-ui/src/partials/w3m-all-wallets-search/styles.ts diff --git a/packages/scaffold/src/partials/w3m-all-wallets-widget/index.ts b/packages/scaffold-ui/src/partials/w3m-all-wallets-widget/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-all-wallets-widget/index.ts rename to packages/scaffold-ui/src/partials/w3m-all-wallets-widget/index.ts diff --git a/packages/scaffold/src/partials/w3m-connect-announced-widget/index.ts b/packages/scaffold-ui/src/partials/w3m-connect-announced-widget/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-connect-announced-widget/index.ts rename to packages/scaffold-ui/src/partials/w3m-connect-announced-widget/index.ts diff --git a/packages/scaffold/src/partials/w3m-connect-coinbase-widget/index.ts b/packages/scaffold-ui/src/partials/w3m-connect-coinbase-widget/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-connect-coinbase-widget/index.ts rename to packages/scaffold-ui/src/partials/w3m-connect-coinbase-widget/index.ts diff --git a/packages/scaffold/src/partials/w3m-connect-custom-widget/index.ts b/packages/scaffold-ui/src/partials/w3m-connect-custom-widget/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-connect-custom-widget/index.ts rename to packages/scaffold-ui/src/partials/w3m-connect-custom-widget/index.ts diff --git a/packages/scaffold-ui/src/partials/w3m-connect-external-widget/index.ts b/packages/scaffold-ui/src/partials/w3m-connect-external-widget/index.ts new file mode 100644 index 0000000000..c7f08eab32 --- /dev/null +++ b/packages/scaffold-ui/src/partials/w3m-connect-external-widget/index.ts @@ -0,0 +1,70 @@ +import type { Connector } from '@web3modal/core' +import { AssetUtil, ConnectorController, RouterController } from '@web3modal/core' +import { customElement } from '@web3modal/ui' +import { LitElement, html } from 'lit' +import { state } from 'lit/decorators.js' +import { ifDefined } from 'lit/directives/if-defined.js' + +@customElement('w3m-connect-external-widget') +export class W3mConnectExternalWidget extends LitElement { + // -- Members ------------------------------------------- // + private unsubscribe: (() => void)[] = [] + + // -- State & Properties -------------------------------- // + @state() private connectors = ConnectorController.state.connectors + + public constructor() { + super() + this.unsubscribe.push( + ConnectorController.subscribeKey('connectors', val => (this.connectors = val)) + ) + } + + public override disconnectedCallback() { + this.unsubscribe.forEach(unsubscribe => unsubscribe()) + } + + // -- Render -------------------------------------------- // + public override render() { + const externalConnectors = this.connectors.filter(connector => connector.type === 'EXTERNAL') + + if (!externalConnectors?.length) { + this.style.cssText = `display: none` + + return null + } + + return html` + + ${externalConnectors.map(connector => { + // Coinbase connector is handled separately + if (connector.id === 'coinbaseWalletSDK') { + return null + } + + return html` + this.onConnector(connector)} + > + + ` + })} + + ` + } + + // -- Private Methods ----------------------------------- // + private onConnector(connector: Connector) { + RouterController.push('ConnectingExternal', { connector }) + } +} + +declare global { + interface HTMLElementTagNameMap { + 'w3m-connect-external-widget': W3mConnectExternalWidget + } +} diff --git a/packages/scaffold/src/partials/w3m-connect-featured-widget/index.ts b/packages/scaffold-ui/src/partials/w3m-connect-featured-widget/index.ts similarity index 52% rename from packages/scaffold/src/partials/w3m-connect-featured-widget/index.ts rename to packages/scaffold-ui/src/partials/w3m-connect-featured-widget/index.ts index 35946ee992..d8878de660 100644 --- a/packages/scaffold/src/partials/w3m-connect-featured-widget/index.ts +++ b/packages/scaffold-ui/src/partials/w3m-connect-featured-widget/index.ts @@ -1,32 +1,15 @@ import type { WcWallet } from '@web3modal/core' -import { - ApiController, - AssetUtil, - ConnectorController, - CoreHelperUtil, - RouterController, - StorageUtil -} from '@web3modal/core' +import { ApiController, AssetUtil, ConnectorController, RouterController } from '@web3modal/core' import { customElement } from '@web3modal/ui' import { LitElement, html } from 'lit' -import { state } from 'lit/decorators.js' import { ifDefined } from 'lit/directives/if-defined.js' +import { WalletUtil } from '../../utils/WalletUtil.js' @customElement('w3m-connect-featured-widget') export class W3mConnectFeaturedWidget extends LitElement { // -- Members ------------------------------------------- // private unsubscribe: (() => void)[] = [] - // -- State & Properties -------------------------------- // - @state() private connectors = ConnectorController.state.connectors - - public constructor() { - super() - this.unsubscribe.push( - ConnectorController.subscribeKey('connectors', val => (this.connectors = val)) - ) - } - public override disconnectedCallback() { this.unsubscribe.forEach(unsubscribe => unsubscribe()) } @@ -40,7 +23,7 @@ export class W3mConnectFeaturedWidget extends LitElement { return null } - const wallets = this.filterOutDuplicateWallets(featured) + const wallets = WalletUtil.filterOutDuplicateWallets(featured) return html` @@ -59,26 +42,13 @@ export class W3mConnectFeaturedWidget extends LitElement { } // -- Private Methods ----------------------------------- // - private filterOutDuplicateWallets(wallets: WcWallet[]) { - const recent = StorageUtil.getRecentWallets() - - const connectorRDNSs = this.connectors - .map(connector => connector.info?.rdns) - .filter(Boolean) as string[] - - const recentRDNSs = recent.map(wallet => wallet.rdns).filter(Boolean) as string[] - const allRDNSs = connectorRDNSs.concat(recentRDNSs) - if (allRDNSs.includes('io.metamask.mobile') && CoreHelperUtil.isMobile()) { - const index = allRDNSs.indexOf('io.metamask.mobile') - allRDNSs[index] = 'io.metamask' - } - const filtered = wallets.filter(wallet => !allRDNSs.includes(String(wallet?.rdns))) - - return filtered - } - private onConnectWallet(wallet: WcWallet) { - RouterController.push('ConnectingWalletConnect', { wallet }) + const connector = ConnectorController.getConnector(wallet.id, wallet.rdns) + if (connector) { + RouterController.push('ConnectingExternal', { connector }) + } else { + RouterController.push('ConnectingWalletConnect', { wallet }) + } } } diff --git a/packages/scaffold/src/partials/w3m-connect-injected-widget/index.ts b/packages/scaffold-ui/src/partials/w3m-connect-injected-widget/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-connect-injected-widget/index.ts rename to packages/scaffold-ui/src/partials/w3m-connect-injected-widget/index.ts diff --git a/packages/scaffold/src/partials/w3m-connect-recent-widget/index.ts b/packages/scaffold-ui/src/partials/w3m-connect-recent-widget/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-connect-recent-widget/index.ts rename to packages/scaffold-ui/src/partials/w3m-connect-recent-widget/index.ts diff --git a/packages/scaffold/src/partials/w3m-connect-recommended-widget/index.ts b/packages/scaffold-ui/src/partials/w3m-connect-recommended-widget/index.ts similarity index 75% rename from packages/scaffold/src/partials/w3m-connect-recommended-widget/index.ts rename to packages/scaffold-ui/src/partials/w3m-connect-recommended-widget/index.ts index ec7e20051e..986f401511 100644 --- a/packages/scaffold/src/partials/w3m-connect-recommended-widget/index.ts +++ b/packages/scaffold-ui/src/partials/w3m-connect-recommended-widget/index.ts @@ -3,7 +3,6 @@ import { ApiController, AssetUtil, ConnectorController, - CoreHelperUtil, OptionsController, RouterController, StorageUtil @@ -12,6 +11,7 @@ import { customElement } from '@web3modal/ui' import { LitElement, html } from 'lit' import { state } from 'lit/decorators.js' import { ifDefined } from 'lit/directives/if-defined.js' +import { WalletUtil } from '../../utils/WalletUtil.js' @customElement('w3m-connect-recommended-widget') export class W3mConnectRecommendedWidget extends LitElement { @@ -55,9 +55,7 @@ export class W3mConnectRecommendedWidget extends LitElement { const overrideLength = injectedWallets.length + recent.length const maxRecommended = Math.max(0, 2 - overrideLength) - - const wallets = this.filterOutDuplicateWallets(recommended).slice(0, maxRecommended) - + const wallets = WalletUtil.filterOutDuplicateWallets(recommended).slice(0, maxRecommended) if (!wallets.length) { this.style.cssText = `display: none` @@ -81,26 +79,13 @@ export class W3mConnectRecommendedWidget extends LitElement { } // -- Private Methods ----------------------------------- // - private filterOutDuplicateWallets(wallets: WcWallet[]) { - const recent = StorageUtil.getRecentWallets() - - const connectorRDNSs = this.connectors - .map(connector => connector.info?.rdns) - .filter(Boolean) as string[] - - const recentRDNSs = recent.map(wallet => wallet.rdns).filter(Boolean) as string[] - const allRDNSs = connectorRDNSs.concat(recentRDNSs) - if (allRDNSs.includes('io.metamask.mobile') && CoreHelperUtil.isMobile()) { - const index = allRDNSs.indexOf('io.metamask.mobile') - allRDNSs[index] = 'io.metamask' - } - const filtered = wallets.filter(wallet => !allRDNSs.includes(String(wallet?.rdns))) - - return filtered - } - private onConnectWallet(wallet: WcWallet) { - RouterController.push('ConnectingWalletConnect', { wallet }) + const connector = ConnectorController.getConnector(wallet.id, wallet.rdns) + if (connector) { + RouterController.push('ConnectingExternal', { connector }) + } else { + RouterController.push('ConnectingWalletConnect', { wallet }) + } } } diff --git a/packages/scaffold/src/partials/w3m-connect-walletconnect-widget/index.ts b/packages/scaffold-ui/src/partials/w3m-connect-walletconnect-widget/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-connect-walletconnect-widget/index.ts rename to packages/scaffold-ui/src/partials/w3m-connect-walletconnect-widget/index.ts diff --git a/packages/scaffold/src/partials/w3m-connecting-header/index.ts b/packages/scaffold-ui/src/partials/w3m-connecting-header/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-connecting-header/index.ts rename to packages/scaffold-ui/src/partials/w3m-connecting-header/index.ts diff --git a/packages/scaffold/src/partials/w3m-connecting-wc-browser/index.ts b/packages/scaffold-ui/src/partials/w3m-connecting-wc-browser/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-connecting-wc-browser/index.ts rename to packages/scaffold-ui/src/partials/w3m-connecting-wc-browser/index.ts diff --git a/packages/scaffold/src/partials/w3m-connecting-wc-desktop/index.ts b/packages/scaffold-ui/src/partials/w3m-connecting-wc-desktop/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-connecting-wc-desktop/index.ts rename to packages/scaffold-ui/src/partials/w3m-connecting-wc-desktop/index.ts diff --git a/packages/scaffold/src/partials/w3m-connecting-wc-mobile/index.ts b/packages/scaffold-ui/src/partials/w3m-connecting-wc-mobile/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-connecting-wc-mobile/index.ts rename to packages/scaffold-ui/src/partials/w3m-connecting-wc-mobile/index.ts diff --git a/packages/scaffold/src/partials/w3m-connecting-wc-qrcode/index.ts b/packages/scaffold-ui/src/partials/w3m-connecting-wc-qrcode/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-connecting-wc-qrcode/index.ts rename to packages/scaffold-ui/src/partials/w3m-connecting-wc-qrcode/index.ts diff --git a/packages/scaffold/src/partials/w3m-connecting-wc-qrcode/styles.ts b/packages/scaffold-ui/src/partials/w3m-connecting-wc-qrcode/styles.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-connecting-wc-qrcode/styles.ts rename to packages/scaffold-ui/src/partials/w3m-connecting-wc-qrcode/styles.ts diff --git a/packages/scaffold/src/partials/w3m-connecting-wc-unsupported/index.ts b/packages/scaffold-ui/src/partials/w3m-connecting-wc-unsupported/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-connecting-wc-unsupported/index.ts rename to packages/scaffold-ui/src/partials/w3m-connecting-wc-unsupported/index.ts diff --git a/packages/scaffold/src/partials/w3m-connecting-wc-web/index.ts b/packages/scaffold-ui/src/partials/w3m-connecting-wc-web/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-connecting-wc-web/index.ts rename to packages/scaffold-ui/src/partials/w3m-connecting-wc-web/index.ts diff --git a/packages/scaffold-ui/src/partials/w3m-connector-list/index.ts b/packages/scaffold-ui/src/partials/w3m-connector-list/index.ts new file mode 100644 index 0000000000..de648bac1c --- /dev/null +++ b/packages/scaffold-ui/src/partials/w3m-connector-list/index.ts @@ -0,0 +1,92 @@ +import { customElement } from '@web3modal/ui' +import { LitElement, html } from 'lit' + +import styles from './styles.js' +import { ApiController, ConnectorController, OptionsController, StorageUtil } from '@web3modal/core' +import { state } from 'lit/decorators.js' +import { ConstantsUtil } from '@web3modal/scaffold-utils' +import { WalletUtil } from '../../utils/WalletUtil.js' +@customElement('w3m-connector-list') +export class W3mConnectorList extends LitElement { + public static override styles = styles + + // -- Members ------------------------------------------- // + private unsubscribe: (() => void)[] = [] + + // -- State & Properties -------------------------------- // + @state() private connectors = ConnectorController.state.connectors + + public constructor() { + super() + this.unsubscribe.push( + ConnectorController.subscribeKey('connectors', val => (this.connectors = val)) + ) + } + + public override disconnectedCallback() { + this.unsubscribe.forEach(unsubscribe => unsubscribe()) + } + + // -- Render -------------------------------------------- // + public override render() { + const { custom, recent, announced, coinbase, injected, recommended, featured, external } = + this.getConnectorsByType() + + return html` + + + ${recent.length ? html`` : null} + ${announced.length + ? html`` + : null} + ${injected.length + ? html`` + : null} + ${featured.length + ? html`` + : null} + ${custom?.length ? html`` : null} + ${coinbase ? html`` : null} + ${external.length + ? html`` + : null} + ${recommended.length + ? html`` + : null} + + ` + } + + private getConnectorsByType() { + const { featured, recommended } = ApiController.state + const { customWallets: custom } = OptionsController.state + const recent = StorageUtil.getRecentWallets() + + const filteredRecommended = WalletUtil.filterOutDuplicateWallets(recommended) + const filteredFeatured = WalletUtil.filterOutDuplicateWallets(featured) + + const announced = this.connectors.filter(connector => connector.type === 'ANNOUNCED') + const injected = this.connectors.filter(connector => connector.type === 'INJECTED') + const external = this.connectors.filter(connector => connector.type === 'EXTERNAL') + const coinbase = this.connectors.find( + connector => connector.id === ConstantsUtil.COINBASE_SDK_CONNECTOR_ID + ) + + return { + custom, + recent, + coinbase, + external, + announced: OptionsController.state.enableEIP6963 ? announced : [], + injected: OptionsController.state.enableEIP6963 ? injected : [], + recommended: filteredRecommended, + featured: filteredFeatured + } + } +} + +declare global { + interface HTMLElementTagNameMap { + 'w3m-connector-list': W3mConnectorList + } +} diff --git a/packages/scaffold/src/partials/w3m-social-login-list/styles.ts b/packages/scaffold-ui/src/partials/w3m-connector-list/styles.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-social-login-list/styles.ts rename to packages/scaffold-ui/src/partials/w3m-connector-list/styles.ts diff --git a/packages/scaffold/src/partials/w3m-email-login-widget/index.ts b/packages/scaffold-ui/src/partials/w3m-email-login-widget/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-email-login-widget/index.ts rename to packages/scaffold-ui/src/partials/w3m-email-login-widget/index.ts diff --git a/packages/scaffold/src/partials/w3m-email-login-widget/styles.ts b/packages/scaffold-ui/src/partials/w3m-email-login-widget/styles.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-email-login-widget/styles.ts rename to packages/scaffold-ui/src/partials/w3m-email-login-widget/styles.ts diff --git a/packages/scaffold/src/partials/w3m-header/index.ts b/packages/scaffold-ui/src/partials/w3m-header/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-header/index.ts rename to packages/scaffold-ui/src/partials/w3m-header/index.ts diff --git a/packages/scaffold/src/partials/w3m-header/styles.ts b/packages/scaffold-ui/src/partials/w3m-header/styles.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-header/styles.ts rename to packages/scaffold-ui/src/partials/w3m-header/styles.ts diff --git a/packages/scaffold/src/partials/w3m-help-widget/index.ts b/packages/scaffold-ui/src/partials/w3m-help-widget/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-help-widget/index.ts rename to packages/scaffold-ui/src/partials/w3m-help-widget/index.ts diff --git a/packages/scaffold/src/partials/w3m-input-address/index.ts b/packages/scaffold-ui/src/partials/w3m-input-address/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-input-address/index.ts rename to packages/scaffold-ui/src/partials/w3m-input-address/index.ts diff --git a/packages/scaffold/src/partials/w3m-input-address/styles.ts b/packages/scaffold-ui/src/partials/w3m-input-address/styles.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-input-address/styles.ts rename to packages/scaffold-ui/src/partials/w3m-input-address/styles.ts diff --git a/packages/scaffold/src/partials/w3m-input-token/index.ts b/packages/scaffold-ui/src/partials/w3m-input-token/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-input-token/index.ts rename to packages/scaffold-ui/src/partials/w3m-input-token/index.ts diff --git a/packages/scaffold/src/partials/w3m-input-token/styles.ts b/packages/scaffold-ui/src/partials/w3m-input-token/styles.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-input-token/styles.ts rename to packages/scaffold-ui/src/partials/w3m-input-token/styles.ts diff --git a/packages/scaffold/src/partials/w3m-legal-footer/index.ts b/packages/scaffold-ui/src/partials/w3m-legal-footer/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-legal-footer/index.ts rename to packages/scaffold-ui/src/partials/w3m-legal-footer/index.ts diff --git a/packages/scaffold/src/partials/w3m-legal-footer/styles.ts b/packages/scaffold-ui/src/partials/w3m-legal-footer/styles.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-legal-footer/styles.ts rename to packages/scaffold-ui/src/partials/w3m-legal-footer/styles.ts diff --git a/packages/scaffold/src/partials/w3m-mobile-download-links/index.ts b/packages/scaffold-ui/src/partials/w3m-mobile-download-links/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-mobile-download-links/index.ts rename to packages/scaffold-ui/src/partials/w3m-mobile-download-links/index.ts diff --git a/packages/scaffold/src/partials/w3m-mobile-download-links/styles.ts b/packages/scaffold-ui/src/partials/w3m-mobile-download-links/styles.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-mobile-download-links/styles.ts rename to packages/scaffold-ui/src/partials/w3m-mobile-download-links/styles.ts diff --git a/packages/ui/src/composites/wui-onramp-activity-item/index.ts b/packages/scaffold-ui/src/partials/w3m-onramp-activity-item/index.ts similarity index 85% rename from packages/ui/src/composites/wui-onramp-activity-item/index.ts rename to packages/scaffold-ui/src/partials/w3m-onramp-activity-item/index.ts index 3e5bbb0f26..6463ef5932 100644 --- a/packages/ui/src/composites/wui-onramp-activity-item/index.ts +++ b/packages/scaffold-ui/src/partials/w3m-onramp-activity-item/index.ts @@ -1,16 +1,13 @@ import { html, LitElement } from 'lit' import { property } from 'lit/decorators.js' -import '../../components/wui-icon/index.js' -import '../../components/wui-text/index.js' -import { elementStyles, resetStyles } from '../../utils/ThemeUtil.js' -import type { ColorType } from '../../utils/TypeUtil.js' -import { customElement } from '../../utils/WebComponentsUtil.js' -import styles from './styles.js' +import { customElement } from '@web3modal/ui' +import type { ColorType } from '@web3modal/ui/src/utils/TypeUtil.js' import { ApiController } from '@web3modal/core' +import styles from './styles.js' -@customElement('wui-onramp-activity-item') -export class WuiOnRampActivityItem extends LitElement { - public static override styles = [resetStyles, elementStyles, styles] +@customElement('w3m-onramp-activity-item') +export class W3mOnRampActivityItem extends LitElement { + public static override styles = [styles] // -- State & Properties -------------------------------- // @property({ type: Boolean }) public disabled = false @@ -110,6 +107,6 @@ export class WuiOnRampActivityItem extends LitElement { declare global { interface HTMLElementTagNameMap { - 'wui-onramp-activity-item': WuiOnRampActivityItem + 'w3m-onramp-activity-item': W3mOnRampActivityItem } } diff --git a/packages/ui/src/composites/wui-onramp-activity-item/styles.ts b/packages/scaffold-ui/src/partials/w3m-onramp-activity-item/styles.ts similarity index 100% rename from packages/ui/src/composites/wui-onramp-activity-item/styles.ts rename to packages/scaffold-ui/src/partials/w3m-onramp-activity-item/styles.ts diff --git a/packages/scaffold/src/partials/w3m-onramp-input/index.ts b/packages/scaffold-ui/src/partials/w3m-onramp-input/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-onramp-input/index.ts rename to packages/scaffold-ui/src/partials/w3m-onramp-input/index.ts diff --git a/packages/scaffold/src/partials/w3m-onramp-input/styles.ts b/packages/scaffold-ui/src/partials/w3m-onramp-input/styles.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-onramp-input/styles.ts rename to packages/scaffold-ui/src/partials/w3m-onramp-input/styles.ts diff --git a/packages/ui/src/composites/wui-onramp-provider-item/index.ts b/packages/scaffold-ui/src/partials/w3m-onramp-provider-item/index.ts similarity index 82% rename from packages/ui/src/composites/wui-onramp-provider-item/index.ts rename to packages/scaffold-ui/src/partials/w3m-onramp-provider-item/index.ts index 6c4419649f..ff1b552299 100644 --- a/packages/ui/src/composites/wui-onramp-provider-item/index.ts +++ b/packages/scaffold-ui/src/partials/w3m-onramp-provider-item/index.ts @@ -1,17 +1,14 @@ import { html, LitElement } from 'lit' import { property } from 'lit/decorators.js' +import { ifDefined } from 'lit/directives/if-defined.js' +import { customElement } from '@web3modal/ui' +import type { ColorType } from '@web3modal/ui/src/utils/TypeUtil.js' import { AssetUtil, NetworkController, type OnRampProvider } from '@web3modal/core' -import '../../components/wui-icon/index.js' -import '../../components/wui-text/index.js' -import { elementStyles, resetStyles } from '../../utils/ThemeUtil.js' -import type { ColorType } from '../../utils/TypeUtil.js' -import { customElement } from '../../utils/WebComponentsUtil.js' import styles from './styles.js' -import { ifDefined } from 'lit/directives/if-defined.js' -@customElement('wui-onramp-provider-item') -export class WuiOnRampProviderItem extends LitElement { - public static override styles = [resetStyles, elementStyles, styles] +@customElement('w3m-onramp-provider-item') +export class W3mOnRampProviderItem extends LitElement { + public static override styles = [styles] // -- State & Properties -------------------------------- // @property({ type: Boolean }) public disabled = false @@ -75,6 +72,6 @@ export class WuiOnRampProviderItem extends LitElement { declare global { interface HTMLElementTagNameMap { - 'wui-onramp-provider-item': WuiOnRampProviderItem + 'w3m-onramp-provider-item': W3mOnRampProviderItem } } diff --git a/packages/ui/src/composites/wui-onramp-provider-item/styles.ts b/packages/scaffold-ui/src/partials/w3m-onramp-provider-item/styles.ts similarity index 97% rename from packages/ui/src/composites/wui-onramp-provider-item/styles.ts rename to packages/scaffold-ui/src/partials/w3m-onramp-provider-item/styles.ts index 80c576c386..eaaefd81b2 100644 --- a/packages/ui/src/composites/wui-onramp-provider-item/styles.ts +++ b/packages/scaffold-ui/src/partials/w3m-onramp-provider-item/styles.ts @@ -4,6 +4,8 @@ export default css` button { padding: var(--wui-spacing-s); border-radius: var(--wui-border-radius-xs); + border: none; + outline: none; background-color: var(--wui-color-gray-glass-002); width: 100%; display: flex; diff --git a/packages/scaffold/src/partials/w3m-onramp-providers-footer/index.ts b/packages/scaffold-ui/src/partials/w3m-onramp-providers-footer/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-onramp-providers-footer/index.ts rename to packages/scaffold-ui/src/partials/w3m-onramp-providers-footer/index.ts diff --git a/packages/scaffold/src/partials/w3m-onramp-providers-footer/styles.ts b/packages/scaffold-ui/src/partials/w3m-onramp-providers-footer/styles.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-onramp-providers-footer/styles.ts rename to packages/scaffold-ui/src/partials/w3m-onramp-providers-footer/styles.ts diff --git a/packages/scaffold/src/partials/w3m-snackbar/index.ts b/packages/scaffold-ui/src/partials/w3m-snackbar/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-snackbar/index.ts rename to packages/scaffold-ui/src/partials/w3m-snackbar/index.ts diff --git a/packages/scaffold/src/partials/w3m-snackbar/styles.ts b/packages/scaffold-ui/src/partials/w3m-snackbar/styles.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-snackbar/styles.ts rename to packages/scaffold-ui/src/partials/w3m-snackbar/styles.ts diff --git a/packages/scaffold/src/partials/w3m-social-login-list/index.ts b/packages/scaffold-ui/src/partials/w3m-social-login-list/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-social-login-list/index.ts rename to packages/scaffold-ui/src/partials/w3m-social-login-list/index.ts diff --git a/packages/scaffold/src/partials/w3m-wallet-login-list/styles.ts b/packages/scaffold-ui/src/partials/w3m-social-login-list/styles.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-wallet-login-list/styles.ts rename to packages/scaffold-ui/src/partials/w3m-social-login-list/styles.ts diff --git a/packages/scaffold/src/partials/w3m-social-login-widget/index.ts b/packages/scaffold-ui/src/partials/w3m-social-login-widget/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-social-login-widget/index.ts rename to packages/scaffold-ui/src/partials/w3m-social-login-widget/index.ts diff --git a/packages/scaffold/src/partials/w3m-social-login-widget/styles.ts b/packages/scaffold-ui/src/partials/w3m-social-login-widget/styles.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-social-login-widget/styles.ts rename to packages/scaffold-ui/src/partials/w3m-social-login-widget/styles.ts diff --git a/packages/scaffold/src/partials/w3m-swap-details/index.ts b/packages/scaffold-ui/src/partials/w3m-swap-details/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-swap-details/index.ts rename to packages/scaffold-ui/src/partials/w3m-swap-details/index.ts diff --git a/packages/scaffold/src/partials/w3m-swap-details/styles.ts b/packages/scaffold-ui/src/partials/w3m-swap-details/styles.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-swap-details/styles.ts rename to packages/scaffold-ui/src/partials/w3m-swap-details/styles.ts diff --git a/packages/scaffold/src/partials/w3m-swap-input-skeleton/index.ts b/packages/scaffold-ui/src/partials/w3m-swap-input-skeleton/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-swap-input-skeleton/index.ts rename to packages/scaffold-ui/src/partials/w3m-swap-input-skeleton/index.ts diff --git a/packages/scaffold/src/partials/w3m-swap-input-skeleton/styles.ts b/packages/scaffold-ui/src/partials/w3m-swap-input-skeleton/styles.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-swap-input-skeleton/styles.ts rename to packages/scaffold-ui/src/partials/w3m-swap-input-skeleton/styles.ts diff --git a/packages/scaffold/src/partials/w3m-swap-input/index.ts b/packages/scaffold-ui/src/partials/w3m-swap-input/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-swap-input/index.ts rename to packages/scaffold-ui/src/partials/w3m-swap-input/index.ts diff --git a/packages/scaffold/src/partials/w3m-swap-input/styles.ts b/packages/scaffold-ui/src/partials/w3m-swap-input/styles.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-swap-input/styles.ts rename to packages/scaffold-ui/src/partials/w3m-swap-input/styles.ts diff --git a/packages/scaffold/src/partials/w3m-tooltip-trigger/index.ts b/packages/scaffold-ui/src/partials/w3m-tooltip-trigger/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-tooltip-trigger/index.ts rename to packages/scaffold-ui/src/partials/w3m-tooltip-trigger/index.ts diff --git a/packages/scaffold/src/partials/w3m-tooltip-trigger/styles.ts b/packages/scaffold-ui/src/partials/w3m-tooltip-trigger/styles.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-tooltip-trigger/styles.ts rename to packages/scaffold-ui/src/partials/w3m-tooltip-trigger/styles.ts diff --git a/packages/scaffold/src/partials/w3m-tooltip/index.ts b/packages/scaffold-ui/src/partials/w3m-tooltip/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-tooltip/index.ts rename to packages/scaffold-ui/src/partials/w3m-tooltip/index.ts diff --git a/packages/scaffold/src/partials/w3m-tooltip/styles.ts b/packages/scaffold-ui/src/partials/w3m-tooltip/styles.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-tooltip/styles.ts rename to packages/scaffold-ui/src/partials/w3m-tooltip/styles.ts diff --git a/packages/scaffold-ui/src/partials/w3m-wallet-login-list/index.ts b/packages/scaffold-ui/src/partials/w3m-wallet-login-list/index.ts new file mode 100644 index 0000000000..b5ddd13e40 --- /dev/null +++ b/packages/scaffold-ui/src/partials/w3m-wallet-login-list/index.ts @@ -0,0 +1,21 @@ +import { customElement } from '@web3modal/ui' +import { LitElement, html } from 'lit' + +@customElement('w3m-wallet-login-list') +export class W3mWalletLoginList extends LitElement { + // -- Render -------------------------------------------- // + public override render() { + return html` + + + + + ` + } +} + +declare global { + interface HTMLElementTagNameMap { + 'w3m-wallet-login-list': W3mWalletLoginList + } +} diff --git a/packages/scaffold/src/partials/w3m-wallet-send-details/index.ts b/packages/scaffold-ui/src/partials/w3m-wallet-send-details/index.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-wallet-send-details/index.ts rename to packages/scaffold-ui/src/partials/w3m-wallet-send-details/index.ts diff --git a/packages/scaffold/src/partials/w3m-wallet-send-details/styles.ts b/packages/scaffold-ui/src/partials/w3m-wallet-send-details/styles.ts similarity index 100% rename from packages/scaffold/src/partials/w3m-wallet-send-details/styles.ts rename to packages/scaffold-ui/src/partials/w3m-wallet-send-details/styles.ts diff --git a/packages/scaffold/src/utils/ConstantsUtil.ts b/packages/scaffold-ui/src/utils/ConstantsUtil.ts similarity index 100% rename from packages/scaffold/src/utils/ConstantsUtil.ts rename to packages/scaffold-ui/src/utils/ConstantsUtil.ts diff --git a/packages/scaffold/src/utils/NetworkUtil.ts b/packages/scaffold-ui/src/utils/NetworkUtil.ts similarity index 100% rename from packages/scaffold/src/utils/NetworkUtil.ts rename to packages/scaffold-ui/src/utils/NetworkUtil.ts diff --git a/packages/scaffold-ui/src/utils/WalletUtil.ts b/packages/scaffold-ui/src/utils/WalletUtil.ts new file mode 100644 index 0000000000..a48f386bf7 --- /dev/null +++ b/packages/scaffold-ui/src/utils/WalletUtil.ts @@ -0,0 +1,52 @@ +import { + ConnectorController, + CoreHelperUtil, + OptionsController, + StorageUtil, + type WcWallet +} from '@web3modal/core' + +export const WalletUtil = { + filterOutDuplicatesByRDNS(wallets: WcWallet[]) { + const connectors = OptionsController.state.enableEIP6963 + ? ConnectorController.state.connectors + : [] + const recent = StorageUtil.getRecentWallets() + + const connectorRDNSs = connectors + .map(connector => connector.info?.rdns) + .filter(Boolean) as string[] + + const recentRDNSs = recent.map(wallet => wallet.rdns).filter(Boolean) as string[] + const allRDNSs = connectorRDNSs.concat(recentRDNSs) + if (allRDNSs.includes('io.metamask.mobile') && CoreHelperUtil.isMobile()) { + const index = allRDNSs.indexOf('io.metamask.mobile') + allRDNSs[index] = 'io.metamask' + } + const filtered = wallets.filter(wallet => !allRDNSs.includes(String(wallet?.rdns))) + + return filtered + }, + + filterOutDuplicatesByIds(wallets: WcWallet[]) { + const connectors = ConnectorController.state.connectors + const recent = StorageUtil.getRecentWallets() + + const connectorIds = connectors.map(connector => connector.explorerId) + + const recentIds = recent.map(wallet => wallet.id) + + const allIds = connectorIds.concat(recentIds) + + const filtered = wallets.filter(wallet => !allIds.includes(wallet?.id)) + + return filtered + }, + + filterOutDuplicateWallets(wallets: WcWallet[]) { + const uniqueByRDNS = this.filterOutDuplicatesByRDNS(wallets) + const uniqueWallets = this.filterOutDuplicatesByIds(uniqueByRDNS) + + return uniqueWallets + } +} diff --git a/packages/scaffold/src/utils/markWalletsAsInstalled.ts b/packages/scaffold-ui/src/utils/markWalletsAsInstalled.ts similarity index 100% rename from packages/scaffold/src/utils/markWalletsAsInstalled.ts rename to packages/scaffold-ui/src/utils/markWalletsAsInstalled.ts diff --git a/packages/scaffold/src/utils/w3m-connecting-widget/index.ts b/packages/scaffold-ui/src/utils/w3m-connecting-widget/index.ts similarity index 100% rename from packages/scaffold/src/utils/w3m-connecting-widget/index.ts rename to packages/scaffold-ui/src/utils/w3m-connecting-widget/index.ts diff --git a/packages/scaffold/src/utils/w3m-connecting-widget/styles.ts b/packages/scaffold-ui/src/utils/w3m-connecting-widget/styles.ts similarity index 100% rename from packages/scaffold/src/utils/w3m-connecting-widget/styles.ts rename to packages/scaffold-ui/src/utils/w3m-connecting-widget/styles.ts diff --git a/packages/scaffold/src/utils/w3m-email-otp-widget/index.ts b/packages/scaffold-ui/src/utils/w3m-email-otp-widget/index.ts similarity index 100% rename from packages/scaffold/src/utils/w3m-email-otp-widget/index.ts rename to packages/scaffold-ui/src/utils/w3m-email-otp-widget/index.ts diff --git a/packages/scaffold/src/utils/w3m-email-otp-widget/styles.ts b/packages/scaffold-ui/src/utils/w3m-email-otp-widget/styles.ts similarity index 100% rename from packages/scaffold/src/utils/w3m-email-otp-widget/styles.ts rename to packages/scaffold-ui/src/utils/w3m-email-otp-widget/styles.ts diff --git a/packages/scaffold/src/views/w3m-account-settings-view/index.ts b/packages/scaffold-ui/src/views/w3m-account-settings-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-account-settings-view/index.ts rename to packages/scaffold-ui/src/views/w3m-account-settings-view/index.ts diff --git a/packages/scaffold/src/views/w3m-account-settings-view/styles.ts b/packages/scaffold-ui/src/views/w3m-account-settings-view/styles.ts similarity index 100% rename from packages/scaffold/src/views/w3m-account-settings-view/styles.ts rename to packages/scaffold-ui/src/views/w3m-account-settings-view/styles.ts diff --git a/packages/scaffold/src/views/w3m-account-view/index.ts b/packages/scaffold-ui/src/views/w3m-account-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-account-view/index.ts rename to packages/scaffold-ui/src/views/w3m-account-view/index.ts diff --git a/packages/scaffold/src/views/w3m-all-wallets-view/index.ts b/packages/scaffold-ui/src/views/w3m-all-wallets-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-all-wallets-view/index.ts rename to packages/scaffold-ui/src/views/w3m-all-wallets-view/index.ts diff --git a/packages/scaffold/src/views/w3m-approve-transaction-view/index.ts b/packages/scaffold-ui/src/views/w3m-approve-transaction-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-approve-transaction-view/index.ts rename to packages/scaffold-ui/src/views/w3m-approve-transaction-view/index.ts diff --git a/packages/scaffold/src/views/w3m-approve-transaction-view/styles.ts b/packages/scaffold-ui/src/views/w3m-approve-transaction-view/styles.ts similarity index 100% rename from packages/scaffold/src/views/w3m-approve-transaction-view/styles.ts rename to packages/scaffold-ui/src/views/w3m-approve-transaction-view/styles.ts diff --git a/packages/scaffold/src/views/w3m-buy-in-progress-view/index.ts b/packages/scaffold-ui/src/views/w3m-buy-in-progress-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-buy-in-progress-view/index.ts rename to packages/scaffold-ui/src/views/w3m-buy-in-progress-view/index.ts diff --git a/packages/scaffold/src/views/w3m-buy-in-progress-view/styles.ts b/packages/scaffold-ui/src/views/w3m-buy-in-progress-view/styles.ts similarity index 100% rename from packages/scaffold/src/views/w3m-buy-in-progress-view/styles.ts rename to packages/scaffold-ui/src/views/w3m-buy-in-progress-view/styles.ts diff --git a/packages/scaffold/src/views/w3m-choose-account-name-view/index.ts b/packages/scaffold-ui/src/views/w3m-choose-account-name-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-choose-account-name-view/index.ts rename to packages/scaffold-ui/src/views/w3m-choose-account-name-view/index.ts diff --git a/packages/scaffold/src/views/w3m-choose-account-name-view/styles.ts b/packages/scaffold-ui/src/views/w3m-choose-account-name-view/styles.ts similarity index 100% rename from packages/scaffold/src/views/w3m-choose-account-name-view/styles.ts rename to packages/scaffold-ui/src/views/w3m-choose-account-name-view/styles.ts diff --git a/packages/scaffold/src/views/w3m-connect-socials-view/index.ts b/packages/scaffold-ui/src/views/w3m-connect-socials-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-connect-socials-view/index.ts rename to packages/scaffold-ui/src/views/w3m-connect-socials-view/index.ts diff --git a/packages/scaffold/src/views/w3m-connect-socials-view/styles.ts b/packages/scaffold-ui/src/views/w3m-connect-socials-view/styles.ts similarity index 100% rename from packages/scaffold/src/views/w3m-connect-socials-view/styles.ts rename to packages/scaffold-ui/src/views/w3m-connect-socials-view/styles.ts diff --git a/packages/scaffold/src/views/w3m-connect-view/index.ts b/packages/scaffold-ui/src/views/w3m-connect-view/index.ts similarity index 79% rename from packages/scaffold/src/views/w3m-connect-view/index.ts rename to packages/scaffold-ui/src/views/w3m-connect-view/index.ts index 96d46f50d3..5369796570 100644 --- a/packages/scaffold/src/views/w3m-connect-view/index.ts +++ b/packages/scaffold-ui/src/views/w3m-connect-view/index.ts @@ -45,14 +45,7 @@ export class W3mConnectView extends LitElement { if (authConnector?.showWallets) { return html` - - - - - - - - + diff --git a/packages/scaffold/src/views/w3m-connect-view/styles.ts b/packages/scaffold-ui/src/views/w3m-connect-view/styles.ts similarity index 100% rename from packages/scaffold/src/views/w3m-connect-view/styles.ts rename to packages/scaffold-ui/src/views/w3m-connect-view/styles.ts diff --git a/packages/scaffold/src/views/w3m-connect-wallets-view/index.ts b/packages/scaffold-ui/src/views/w3m-connect-wallets-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-connect-wallets-view/index.ts rename to packages/scaffold-ui/src/views/w3m-connect-wallets-view/index.ts diff --git a/packages/scaffold/src/views/w3m-connect-wallets-view/styles.ts b/packages/scaffold-ui/src/views/w3m-connect-wallets-view/styles.ts similarity index 100% rename from packages/scaffold/src/views/w3m-connect-wallets-view/styles.ts rename to packages/scaffold-ui/src/views/w3m-connect-wallets-view/styles.ts diff --git a/packages/scaffold/src/views/w3m-connecting-external-view/index.ts b/packages/scaffold-ui/src/views/w3m-connecting-external-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-connecting-external-view/index.ts rename to packages/scaffold-ui/src/views/w3m-connecting-external-view/index.ts diff --git a/packages/scaffold/src/views/w3m-connecting-social-view/index.ts b/packages/scaffold-ui/src/views/w3m-connecting-social-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-connecting-social-view/index.ts rename to packages/scaffold-ui/src/views/w3m-connecting-social-view/index.ts diff --git a/packages/scaffold/src/views/w3m-connecting-social-view/styles.ts b/packages/scaffold-ui/src/views/w3m-connecting-social-view/styles.ts similarity index 100% rename from packages/scaffold/src/views/w3m-connecting-social-view/styles.ts rename to packages/scaffold-ui/src/views/w3m-connecting-social-view/styles.ts diff --git a/packages/scaffold/src/views/w3m-connecting-wc-view/index.ts b/packages/scaffold-ui/src/views/w3m-connecting-wc-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-connecting-wc-view/index.ts rename to packages/scaffold-ui/src/views/w3m-connecting-wc-view/index.ts diff --git a/packages/scaffold/src/views/w3m-downloads-view/index.ts b/packages/scaffold-ui/src/views/w3m-downloads-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-downloads-view/index.ts rename to packages/scaffold-ui/src/views/w3m-downloads-view/index.ts diff --git a/packages/scaffold/src/views/w3m-email-verify-device-view/index.ts b/packages/scaffold-ui/src/views/w3m-email-verify-device-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-email-verify-device-view/index.ts rename to packages/scaffold-ui/src/views/w3m-email-verify-device-view/index.ts diff --git a/packages/scaffold/src/views/w3m-email-verify-device-view/styles.ts b/packages/scaffold-ui/src/views/w3m-email-verify-device-view/styles.ts similarity index 100% rename from packages/scaffold/src/views/w3m-email-verify-device-view/styles.ts rename to packages/scaffold-ui/src/views/w3m-email-verify-device-view/styles.ts diff --git a/packages/scaffold/src/views/w3m-email-verify-otp-view/index.ts b/packages/scaffold-ui/src/views/w3m-email-verify-otp-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-email-verify-otp-view/index.ts rename to packages/scaffold-ui/src/views/w3m-email-verify-otp-view/index.ts diff --git a/packages/scaffold/src/views/w3m-get-wallet-view/index.ts b/packages/scaffold-ui/src/views/w3m-get-wallet-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-get-wallet-view/index.ts rename to packages/scaffold-ui/src/views/w3m-get-wallet-view/index.ts diff --git a/packages/scaffold/src/views/w3m-network-switch-view/index.ts b/packages/scaffold-ui/src/views/w3m-network-switch-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-network-switch-view/index.ts rename to packages/scaffold-ui/src/views/w3m-network-switch-view/index.ts diff --git a/packages/scaffold/src/views/w3m-network-switch-view/styles.ts b/packages/scaffold-ui/src/views/w3m-network-switch-view/styles.ts similarity index 100% rename from packages/scaffold/src/views/w3m-network-switch-view/styles.ts rename to packages/scaffold-ui/src/views/w3m-network-switch-view/styles.ts diff --git a/packages/scaffold/src/views/w3m-networks-view/index.ts b/packages/scaffold-ui/src/views/w3m-networks-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-networks-view/index.ts rename to packages/scaffold-ui/src/views/w3m-networks-view/index.ts diff --git a/packages/scaffold/src/views/w3m-networks-view/styles.ts b/packages/scaffold-ui/src/views/w3m-networks-view/styles.ts similarity index 100% rename from packages/scaffold/src/views/w3m-networks-view/styles.ts rename to packages/scaffold-ui/src/views/w3m-networks-view/styles.ts diff --git a/packages/scaffold/src/views/w3m-onramp-activity-view/index.ts b/packages/scaffold-ui/src/views/w3m-onramp-activity-view/index.ts similarity index 98% rename from packages/scaffold/src/views/w3m-onramp-activity-view/index.ts rename to packages/scaffold-ui/src/views/w3m-onramp-activity-view/index.ts index 17682e8e54..f058d92200 100644 --- a/packages/scaffold/src/views/w3m-onramp-activity-view/index.ts +++ b/packages/scaffold-ui/src/views/w3m-onramp-activity-view/index.ts @@ -76,7 +76,7 @@ export class W3mOnRampActivityView extends LitElement { const icon = fungibleInfo?.icon?.url || this.tokenImages?.[fungibleInfo.symbol || ''] return html` - + > ` }) } diff --git a/packages/scaffold/src/views/w3m-onramp-activity-view/styles.ts b/packages/scaffold-ui/src/views/w3m-onramp-activity-view/styles.ts similarity index 100% rename from packages/scaffold/src/views/w3m-onramp-activity-view/styles.ts rename to packages/scaffold-ui/src/views/w3m-onramp-activity-view/styles.ts diff --git a/packages/scaffold/src/views/w3m-onramp-fiat-select-view/index.ts b/packages/scaffold-ui/src/views/w3m-onramp-fiat-select-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-onramp-fiat-select-view/index.ts rename to packages/scaffold-ui/src/views/w3m-onramp-fiat-select-view/index.ts diff --git a/packages/scaffold/src/views/w3m-onramp-fiat-select-view/styles.ts b/packages/scaffold-ui/src/views/w3m-onramp-fiat-select-view/styles.ts similarity index 100% rename from packages/scaffold/src/views/w3m-onramp-fiat-select-view/styles.ts rename to packages/scaffold-ui/src/views/w3m-onramp-fiat-select-view/styles.ts diff --git a/packages/scaffold/src/views/w3m-onramp-providers-view/index.ts b/packages/scaffold-ui/src/views/w3m-onramp-providers-view/index.ts similarity index 98% rename from packages/scaffold/src/views/w3m-onramp-providers-view/index.ts rename to packages/scaffold-ui/src/views/w3m-onramp-providers-view/index.ts index 1b11b330dc..25a96bfd6b 100644 --- a/packages/scaffold/src/views/w3m-onramp-providers-view/index.ts +++ b/packages/scaffold-ui/src/views/w3m-onramp-providers-view/index.ts @@ -63,7 +63,7 @@ export class W3mOnRampProvidersView extends LitElement { private onRampProvidersTemplate() { return this.providers.map( provider => html` - + > ` ) } diff --git a/packages/scaffold/src/views/w3m-onramp-tokens-select-view/index.ts b/packages/scaffold-ui/src/views/w3m-onramp-tokens-select-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-onramp-tokens-select-view/index.ts rename to packages/scaffold-ui/src/views/w3m-onramp-tokens-select-view/index.ts diff --git a/packages/scaffold/src/views/w3m-onramp-tokens-select-view/styles.ts b/packages/scaffold-ui/src/views/w3m-onramp-tokens-select-view/styles.ts similarity index 100% rename from packages/scaffold/src/views/w3m-onramp-tokens-select-view/styles.ts rename to packages/scaffold-ui/src/views/w3m-onramp-tokens-select-view/styles.ts diff --git a/packages/scaffold/src/views/w3m-register-account-name-success-view/index.ts b/packages/scaffold-ui/src/views/w3m-register-account-name-success-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-register-account-name-success-view/index.ts rename to packages/scaffold-ui/src/views/w3m-register-account-name-success-view/index.ts diff --git a/packages/scaffold/src/views/w3m-register-account-name-success-view/styles.ts b/packages/scaffold-ui/src/views/w3m-register-account-name-success-view/styles.ts similarity index 100% rename from packages/scaffold/src/views/w3m-register-account-name-success-view/styles.ts rename to packages/scaffold-ui/src/views/w3m-register-account-name-success-view/styles.ts diff --git a/packages/scaffold/src/views/w3m-register-account-name-view/index.ts b/packages/scaffold-ui/src/views/w3m-register-account-name-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-register-account-name-view/index.ts rename to packages/scaffold-ui/src/views/w3m-register-account-name-view/index.ts diff --git a/packages/scaffold/src/views/w3m-register-account-name-view/styles.ts b/packages/scaffold-ui/src/views/w3m-register-account-name-view/styles.ts similarity index 100% rename from packages/scaffold/src/views/w3m-register-account-name-view/styles.ts rename to packages/scaffold-ui/src/views/w3m-register-account-name-view/styles.ts diff --git a/packages/scaffold/src/views/w3m-swap-preview-view/index.ts b/packages/scaffold-ui/src/views/w3m-swap-preview-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-swap-preview-view/index.ts rename to packages/scaffold-ui/src/views/w3m-swap-preview-view/index.ts diff --git a/packages/scaffold/src/views/w3m-swap-preview-view/styles.ts b/packages/scaffold-ui/src/views/w3m-swap-preview-view/styles.ts similarity index 100% rename from packages/scaffold/src/views/w3m-swap-preview-view/styles.ts rename to packages/scaffold-ui/src/views/w3m-swap-preview-view/styles.ts diff --git a/packages/scaffold/src/views/w3m-swap-select-token-view/index.ts b/packages/scaffold-ui/src/views/w3m-swap-select-token-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-swap-select-token-view/index.ts rename to packages/scaffold-ui/src/views/w3m-swap-select-token-view/index.ts diff --git a/packages/scaffold/src/views/w3m-swap-select-token-view/styles.ts b/packages/scaffold-ui/src/views/w3m-swap-select-token-view/styles.ts similarity index 100% rename from packages/scaffold/src/views/w3m-swap-select-token-view/styles.ts rename to packages/scaffold-ui/src/views/w3m-swap-select-token-view/styles.ts diff --git a/packages/scaffold/src/views/w3m-swap-view/index.ts b/packages/scaffold-ui/src/views/w3m-swap-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-swap-view/index.ts rename to packages/scaffold-ui/src/views/w3m-swap-view/index.ts diff --git a/packages/scaffold/src/views/w3m-swap-view/styles.ts b/packages/scaffold-ui/src/views/w3m-swap-view/styles.ts similarity index 100% rename from packages/scaffold/src/views/w3m-swap-view/styles.ts rename to packages/scaffold-ui/src/views/w3m-swap-view/styles.ts diff --git a/packages/scaffold/src/views/w3m-transactions-view/index.ts b/packages/scaffold-ui/src/views/w3m-transactions-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-transactions-view/index.ts rename to packages/scaffold-ui/src/views/w3m-transactions-view/index.ts diff --git a/packages/scaffold/src/views/w3m-transactions-view/styles.ts b/packages/scaffold-ui/src/views/w3m-transactions-view/styles.ts similarity index 100% rename from packages/scaffold/src/views/w3m-transactions-view/styles.ts rename to packages/scaffold-ui/src/views/w3m-transactions-view/styles.ts diff --git a/packages/scaffold/src/views/w3m-unsupported-chain-view/index.ts b/packages/scaffold-ui/src/views/w3m-unsupported-chain-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-unsupported-chain-view/index.ts rename to packages/scaffold-ui/src/views/w3m-unsupported-chain-view/index.ts diff --git a/packages/scaffold/src/views/w3m-unsupported-chain-view/styles.ts b/packages/scaffold-ui/src/views/w3m-unsupported-chain-view/styles.ts similarity index 100% rename from packages/scaffold/src/views/w3m-unsupported-chain-view/styles.ts rename to packages/scaffold-ui/src/views/w3m-unsupported-chain-view/styles.ts diff --git a/packages/scaffold/src/views/w3m-update-email-primary-otp-view/index.ts b/packages/scaffold-ui/src/views/w3m-update-email-primary-otp-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-update-email-primary-otp-view/index.ts rename to packages/scaffold-ui/src/views/w3m-update-email-primary-otp-view/index.ts diff --git a/packages/scaffold/src/views/w3m-update-email-secondary-otp-view/index.ts b/packages/scaffold-ui/src/views/w3m-update-email-secondary-otp-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-update-email-secondary-otp-view/index.ts rename to packages/scaffold-ui/src/views/w3m-update-email-secondary-otp-view/index.ts diff --git a/packages/scaffold/src/views/w3m-update-email-wallet-view/index.ts b/packages/scaffold-ui/src/views/w3m-update-email-wallet-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-update-email-wallet-view/index.ts rename to packages/scaffold-ui/src/views/w3m-update-email-wallet-view/index.ts diff --git a/packages/scaffold/src/views/w3m-update-email-wallet-view/styles.ts b/packages/scaffold-ui/src/views/w3m-update-email-wallet-view/styles.ts similarity index 100% rename from packages/scaffold/src/views/w3m-update-email-wallet-view/styles.ts rename to packages/scaffold-ui/src/views/w3m-update-email-wallet-view/styles.ts diff --git a/packages/scaffold/src/views/w3m-upgrade-to-smart-account-view/index.ts b/packages/scaffold-ui/src/views/w3m-upgrade-to-smart-account-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-upgrade-to-smart-account-view/index.ts rename to packages/scaffold-ui/src/views/w3m-upgrade-to-smart-account-view/index.ts diff --git a/packages/scaffold/src/views/w3m-upgrade-wallet-view/index.ts b/packages/scaffold-ui/src/views/w3m-upgrade-wallet-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-upgrade-wallet-view/index.ts rename to packages/scaffold-ui/src/views/w3m-upgrade-wallet-view/index.ts diff --git a/packages/scaffold/src/views/w3m-wallet-compatible-networks-view/index.ts b/packages/scaffold-ui/src/views/w3m-wallet-compatible-networks-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-wallet-compatible-networks-view/index.ts rename to packages/scaffold-ui/src/views/w3m-wallet-compatible-networks-view/index.ts diff --git a/packages/scaffold/src/views/w3m-wallet-compatible-networks-view/styles.ts b/packages/scaffold-ui/src/views/w3m-wallet-compatible-networks-view/styles.ts similarity index 100% rename from packages/scaffold/src/views/w3m-wallet-compatible-networks-view/styles.ts rename to packages/scaffold-ui/src/views/w3m-wallet-compatible-networks-view/styles.ts diff --git a/packages/scaffold/src/views/w3m-wallet-receive-view/index.ts b/packages/scaffold-ui/src/views/w3m-wallet-receive-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-wallet-receive-view/index.ts rename to packages/scaffold-ui/src/views/w3m-wallet-receive-view/index.ts diff --git a/packages/scaffold/src/views/w3m-wallet-receive-view/styles.ts b/packages/scaffold-ui/src/views/w3m-wallet-receive-view/styles.ts similarity index 100% rename from packages/scaffold/src/views/w3m-wallet-receive-view/styles.ts rename to packages/scaffold-ui/src/views/w3m-wallet-receive-view/styles.ts diff --git a/packages/scaffold/src/views/w3m-wallet-send-preview-view/index.ts b/packages/scaffold-ui/src/views/w3m-wallet-send-preview-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-wallet-send-preview-view/index.ts rename to packages/scaffold-ui/src/views/w3m-wallet-send-preview-view/index.ts diff --git a/packages/scaffold/src/views/w3m-wallet-send-preview-view/styles.ts b/packages/scaffold-ui/src/views/w3m-wallet-send-preview-view/styles.ts similarity index 100% rename from packages/scaffold/src/views/w3m-wallet-send-preview-view/styles.ts rename to packages/scaffold-ui/src/views/w3m-wallet-send-preview-view/styles.ts diff --git a/packages/scaffold/src/views/w3m-wallet-send-select-token-view/index.ts b/packages/scaffold-ui/src/views/w3m-wallet-send-select-token-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-wallet-send-select-token-view/index.ts rename to packages/scaffold-ui/src/views/w3m-wallet-send-select-token-view/index.ts diff --git a/packages/scaffold/src/views/w3m-wallet-send-select-token-view/styles.ts b/packages/scaffold-ui/src/views/w3m-wallet-send-select-token-view/styles.ts similarity index 100% rename from packages/scaffold/src/views/w3m-wallet-send-select-token-view/styles.ts rename to packages/scaffold-ui/src/views/w3m-wallet-send-select-token-view/styles.ts diff --git a/packages/scaffold/src/views/w3m-wallet-send-view/index.ts b/packages/scaffold-ui/src/views/w3m-wallet-send-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-wallet-send-view/index.ts rename to packages/scaffold-ui/src/views/w3m-wallet-send-view/index.ts diff --git a/packages/scaffold/src/views/w3m-wallet-send-view/styles.ts b/packages/scaffold-ui/src/views/w3m-wallet-send-view/styles.ts similarity index 100% rename from packages/scaffold/src/views/w3m-wallet-send-view/styles.ts rename to packages/scaffold-ui/src/views/w3m-wallet-send-view/styles.ts diff --git a/packages/scaffold/src/views/w3m-what-is-a-buy-view/index.ts b/packages/scaffold-ui/src/views/w3m-what-is-a-buy-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-what-is-a-buy-view/index.ts rename to packages/scaffold-ui/src/views/w3m-what-is-a-buy-view/index.ts diff --git a/packages/scaffold/src/views/w3m-what-is-a-network-view/index.ts b/packages/scaffold-ui/src/views/w3m-what-is-a-network-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-what-is-a-network-view/index.ts rename to packages/scaffold-ui/src/views/w3m-what-is-a-network-view/index.ts diff --git a/packages/scaffold/src/views/w3m-what-is-a-wallet-view/index.ts b/packages/scaffold-ui/src/views/w3m-what-is-a-wallet-view/index.ts similarity index 100% rename from packages/scaffold/src/views/w3m-what-is-a-wallet-view/index.ts rename to packages/scaffold-ui/src/views/w3m-what-is-a-wallet-view/index.ts diff --git a/packages/scaffold-ui/tsconfig.json b/packages/scaffold-ui/tsconfig.json new file mode 100644 index 0000000000..3d47bfed70 --- /dev/null +++ b/packages/scaffold-ui/tsconfig.json @@ -0,0 +1,9 @@ +{ + "compilerOptions": { + "composite": true, + "outDir": "./dist/esm", + "declarationDir": "./dist/types" + }, + "extends": "../../tsconfig.json", + "include": ["exports", "src"] +} diff --git a/packages/scaffold-utils/CHANGELOG.md b/packages/scaffold-utils/CHANGELOG.md index 27948a713a..8afdfde03c 100644 --- a/packages/scaffold-utils/CHANGELOG.md +++ b/packages/scaffold-utils/CHANGELOG.md @@ -1,5 +1,15 @@ # @web3modal/scaffold-utils +## 5.0.3 + +### Patch Changes + +- fix: ethers5 coinbase issues. Turbo build issues. Upate cb connector. + +- Updated dependencies []: + - @web3modal/core@5.0.3 + - @web3modal/polyfills@5.0.3 + ## 5.0.2 ### Patch Changes diff --git a/packages/scaffold-utils/package.json b/packages/scaffold-utils/package.json index 7a4409c923..cb76df371f 100644 --- a/packages/scaffold-utils/package.json +++ b/packages/scaffold-utils/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/scaffold-utils", - "version": "5.0.2", + "version": "5.0.3", "type": "module", "main": "./dist/esm/exports/index.js", "types": "./dist/types/exports/index.d.ts", @@ -40,8 +40,8 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@web3modal/core": "5.0.2", - "@web3modal/polyfills": "5.0.2", + "@web3modal/core": "5.0.3", + "@web3modal/polyfills": "5.0.3", "valtio": "1.11.2" }, "keywords": [ diff --git a/packages/scaffold-utils/src/ConstantsUtil.ts b/packages/scaffold-utils/src/ConstantsUtil.ts index 2dc2c3b1f0..5ec6079acf 100644 --- a/packages/scaffold-utils/src/ConstantsUtil.ts +++ b/packages/scaffold-utils/src/ConstantsUtil.ts @@ -12,7 +12,8 @@ export const ConstantsUtil = { EIP6963_ANNOUNCE_EVENT: 'eip6963:announceProvider', EIP6963_REQUEST_EVENT: 'eip6963:requestProvider', CONNECTOR_RDNS_MAP: { - coinbaseWallet: 'com.coinbase.wallet' + coinbaseWallet: 'com.coinbase.wallet', + coinbaseWalletSDK: 'com.coinbase.wallet' } as Record, - VERSION: '5.0.2' + VERSION: '5.0.3' } diff --git a/packages/scaffold-vue/CHANGELOG.md b/packages/scaffold-vue/CHANGELOG.md index bb13a15ff5..770e82aa31 100644 --- a/packages/scaffold-vue/CHANGELOG.md +++ b/packages/scaffold-vue/CHANGELOG.md @@ -1,5 +1,14 @@ # @web3modal/scaffold-vue +## 5.0.3 + +### Patch Changes + +- fix: ethers5 coinbase issues. Turbo build issues. Upate cb connector. + +- Updated dependencies []: + - @web3modal/scaffold@5.0.3 + ## 5.0.2 ### Patch Changes diff --git a/packages/scaffold-vue/package.json b/packages/scaffold-vue/package.json index e60f63ce15..5bd33c15af 100644 --- a/packages/scaffold-vue/package.json +++ b/packages/scaffold-vue/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/scaffold-vue", - "version": "5.0.2", + "version": "5.0.3", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", @@ -16,7 +16,7 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@web3modal/scaffold": "5.0.2" + "@web3modal/scaffold": "5.0.3" }, "peerDependencies": { "vue": ">=3" diff --git a/packages/scaffold/CHANGELOG.md b/packages/scaffold/CHANGELOG.md index 257cb4e0d3..825229a939 100644 --- a/packages/scaffold/CHANGELOG.md +++ b/packages/scaffold/CHANGELOG.md @@ -1,5 +1,20 @@ # @web3modal/scaffold +## 5.0.3 + +### Patch Changes + +- fix: ethers5 coinbase issues. Turbo build issues. Upate cb connector. + +- Updated dependencies []: + - @web3modal/common@5.0.3 + - @web3modal/core@5.0.3 + - @web3modal/scaffold-ui@5.0.3 + - @web3modal/scaffold-utils@5.0.3 + - @web3modal/siwe@5.0.3 + - @web3modal/ui@5.0.3 + - @web3modal/wallet@5.0.3 + ## 5.0.2 ### Patch Changes diff --git a/packages/scaffold/index.ts b/packages/scaffold/index.ts index 3c8ad94c18..92791127e1 100644 --- a/packages/scaffold/index.ts +++ b/packages/scaffold/index.ts @@ -1,99 +1,4 @@ -export * from './src/modal/w3m-account-button/index.js' -export * from './src/modal/w3m-button/index.js' -export * from './src/modal/w3m-connect-button/index.js' -export * from './src/modal/w3m-modal/index.js' -export * from './src/modal/w3m-network-button/index.js' -export * from './src/modal/w3m-router/index.js' -export * from './src/modal/w3m-onramp-widget/index.js' - -export * from './src/views/w3m-account-settings-view/index.js' -export * from './src/views/w3m-account-view/index.js' -export * from './src/views/w3m-all-wallets-view/index.js' -export * from './src/views/w3m-buy-in-progress-view/index.js' -export * from './src/views/w3m-connect-view/index.js' -export * from './src/views/w3m-connecting-external-view/index.js' -export * from './src/views/w3m-connecting-wc-view/index.js' -export * from './src/views/w3m-choose-account-name-view/index.js' -export * from './src/views/w3m-downloads-view/index.js' -export * from './src/views/w3m-get-wallet-view/index.js' -export * from './src/views/w3m-register-account-name-view/index.js' -export * from './src/views/w3m-register-account-name-success-view/index.js' -export * from './src/views/w3m-network-switch-view/index.js' -export * from './src/views/w3m-networks-view/index.js' -export * from './src/views/w3m-onramp-activity-view/index.js' -export * from './src/views/w3m-onramp-fiat-select-view/index.js' -export * from './src/views/w3m-onramp-providers-view/index.js' -export * from './src/views/w3m-onramp-tokens-select-view/index.js' -export * from './src/views/w3m-swap-view/index.js' -export * from './src/views/w3m-swap-preview-view/index.js' -export * from './src/views/w3m-swap-select-token-view/index.js' -export * from './src/views/w3m-swap-view/index.js' -export * from './src/views/w3m-transactions-view/index.js' -export * from './src/views/w3m-what-is-a-network-view/index.js' -export * from './src/views/w3m-what-is-a-wallet-view/index.js' -export * from './src/views/w3m-what-is-a-buy-view/index.js' -export * from './src/views/w3m-email-verify-otp-view/index.js' -export * from './src/views/w3m-email-verify-device-view/index.js' -export * from './src/views/w3m-approve-transaction-view/index.js' -export * from './src/views/w3m-upgrade-wallet-view/index.js' -export * from './src/views/w3m-upgrade-to-smart-account-view/index.js' -export * from './src/views/w3m-update-email-wallet-view/index.js' -export * from './src/views/w3m-update-email-primary-otp-view/index.js' -export * from './src/views/w3m-update-email-secondary-otp-view/index.js' -export * from './src/views/w3m-unsupported-chain-view/index.js' -export * from './src/views/w3m-wallet-receive-view/index.js' -export * from './src/views/w3m-wallet-compatible-networks-view/index.js' -export * from './src/views/w3m-wallet-send-view/index.js' -export * from './src/views/w3m-wallet-send-select-token-view/index.js' -export * from './src/views/w3m-wallet-send-preview-view/index.js' -export * from './src/views/w3m-connect-wallets-view/index.js' -export * from './src/views/w3m-connect-socials-view/index.js' -export * from './src/views/w3m-connecting-social-view/index.js' - -export * from './src/partials/w3m-all-wallets-list/index.js' -export * from './src/partials/w3m-all-wallets-search/index.js' -export * from './src/partials/w3m-connecting-header/index.js' -export * from './src/partials/w3m-connecting-wc-browser/index.js' -export * from './src/partials/w3m-connecting-wc-desktop/index.js' -export * from './src/partials/w3m-connecting-wc-mobile/index.js' -export * from './src/partials/w3m-connecting-wc-qrcode/index.js' -export * from './src/partials/w3m-connecting-wc-unsupported/index.js' -export * from './src/partials/w3m-connecting-wc-web/index.js' -export * from './src/partials/w3m-swap-details/index.js' -export * from './src/partials/w3m-swap-input/index.js' -export * from './src/partials/w3m-swap-input-skeleton/index.js' -export * from './src/partials/w3m-header/index.js' -export * from './src/partials/w3m-help-widget/index.js' -export * from './src/partials/w3m-onramp-input/index.js' -export * from './src/partials/w3m-legal-footer/index.js' -export * from './src/partials/w3m-mobile-download-links/index.js' -export * from './src/partials/w3m-onramp-providers-footer/index.js' -export * from './src/partials/w3m-snackbar/index.js' -export * from './src/partials/w3m-email-login-widget/index.js' -export * from './src/partials/w3m-account-default-widget/index.js' -export * from './src/partials/w3m-account-wallet-features-widget/index.js' -export * from './src/partials/w3m-account-activity-widget/index.js' -export * from './src/partials/w3m-account-nfts-widget/index.js' -export * from './src/partials/w3m-account-tokens-widget/index.js' -export * from './src/partials/w3m-activity-list/index.js' -export * from './src/partials/w3m-input-token/index.js' -export * from './src/partials/w3m-input-address/index.js' -export * from './src/partials/w3m-wallet-send-details/index.js' -export * from './src/partials/w3m-tooltip/index.js' -export * from './src/partials/w3m-tooltip-trigger/index.js' -export * from './src/partials/w3m-social-login-widget/index.js' -export * from './src/partials/w3m-wallet-login-list/index.js' -export * from './src/partials/w3m-social-login-list/index.js' -export * from './src/partials/w3m-connect-announced-widget/index.js' -export * from './src/partials/w3m-connect-custom-widget/index.js' -export * from './src/partials/w3m-connect-featured-widget/index.js' -export * from './src/partials/w3m-connect-injected-widget/index.js' -export * from './src/partials/w3m-connect-coinbase-widget/index.js' -export * from './src/partials/w3m-connect-recent-widget/index.js' -export * from './src/partials/w3m-connect-recommended-widget/index.js' -export * from './src/partials/w3m-connect-walletconnect-widget/index.js' -export * from './src/partials/w3m-all-wallets-widget/index.js' -export * from './src/partials/w3m-account-auth-button/index.js' +export * from '@web3modal/scaffold-ui' export { Web3ModalScaffold } from './src/client.js' export type { LibraryOptions, ScaffoldOptions } from './src/client.js' diff --git a/packages/scaffold/package.json b/packages/scaffold/package.json index cff75ce4e0..efa02e36f1 100644 --- a/packages/scaffold/package.json +++ b/packages/scaffold/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/scaffold", - "version": "5.0.2", + "version": "5.0.3", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", @@ -16,13 +16,14 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@web3modal/common": "5.0.2", - "@web3modal/scaffold-utils": "5.0.2", - "@web3modal/core": "5.0.2", - "@web3modal/ui": "5.0.2", + "@web3modal/common": "5.0.3", + "@web3modal/scaffold-utils": "5.0.3", + "@web3modal/scaffold-ui": "5.0.3", + "@web3modal/core": "5.0.3", + "@web3modal/ui": "5.0.3", "lit": "3.1.0", - "@web3modal/siwe": "5.0.2", - "@web3modal/wallet": "5.0.2" + "@web3modal/siwe": "5.0.3", + "@web3modal/wallet": "5.0.3" }, "keywords": [ "web3", diff --git a/packages/scaffold/src/client.ts b/packages/scaffold/src/client.ts index 88fef169b2..38f13c9483 100644 --- a/packages/scaffold/src/client.ts +++ b/packages/scaffold/src/client.ts @@ -55,6 +55,7 @@ export interface LibraryOptions { disableAppend?: OptionsControllerState['disableAppend'] allowUnsupportedChain?: NetworkControllerState['allowUnsupportedChain'] _sdkVersion: OptionsControllerState['sdkVersion'] + enableEIP6963?: OptionsControllerState['enableEIP6963'] } export interface ScaffoldOptions extends LibraryOptions { @@ -270,6 +271,10 @@ export class Web3ModalScaffold { return networkNameAddresses[0]?.address || false } + protected setEIP6963Enabled: (typeof OptionsController)['setEIP6963Enabled'] = enabled => { + OptionsController.setEIP6963Enabled(enabled) + } + // -- Private ------------------------------------------------------------------ private async initControllers(options: ScaffoldOptions) { NetworkController.setClient(options.networkControllerClient) @@ -322,7 +327,7 @@ export class Web3ModalScaffold { if (!this.initPromise && !isInitialized && CoreHelperUtil.isClient()) { isInitialized = true this.initPromise = new Promise(async resolve => { - await Promise.all([import('@web3modal/ui'), import('./modal/w3m-modal/index.js')]) + await Promise.all([import('@web3modal/ui'), import('@web3modal/scaffold-ui/w3m-modal')]) const modal = document.createElement('w3m-modal') if (!OptionsController.state.disableAppend) { document.body.insertAdjacentElement('beforeend', modal) diff --git a/packages/scaffold/src/partials/w3m-wallet-login-list/index.ts b/packages/scaffold/src/partials/w3m-wallet-login-list/index.ts deleted file mode 100644 index 0321298dba..0000000000 --- a/packages/scaffold/src/partials/w3m-wallet-login-list/index.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { customElement } from '@web3modal/ui' -import { LitElement, html } from 'lit' - -import styles from './styles.js' -@customElement('w3m-wallet-login-list') -export class W3mWalletLoginList extends LitElement { - public static override styles = styles - - // -- Render -------------------------------------------- // - public override render() { - return html` - - - - - - - - - - - - ` - } -} - -declare global { - interface HTMLElementTagNameMap { - 'w3m-wallet-login-list': W3mWalletLoginList - } -} diff --git a/packages/siwe/CHANGELOG.md b/packages/siwe/CHANGELOG.md index c0ca5090f6..029e38c397 100644 --- a/packages/siwe/CHANGELOG.md +++ b/packages/siwe/CHANGELOG.md @@ -1,5 +1,15 @@ # @web3modal/siwe +## 5.0.3 + +### Patch Changes + +- fix: ethers5 coinbase issues. Turbo build issues. Upate cb connector. + +- Updated dependencies []: + - @web3modal/core@5.0.3 + - @web3modal/scaffold-utils@5.0.3 + ## 5.0.2 ### Patch Changes diff --git a/packages/siwe/package.json b/packages/siwe/package.json index 720fecd9a0..ab067718d6 100644 --- a/packages/siwe/package.json +++ b/packages/siwe/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/siwe", - "version": "5.0.2", + "version": "5.0.3", "type": "module", "main": "./dist/esm/exports/index.js", "types": "./dist/types/exports/index.d.ts", @@ -17,8 +17,8 @@ }, "dependencies": { "@walletconnect/utils": "2.12.0", - "@web3modal/core": "5.0.2", - "@web3modal/scaffold-utils": "5.0.2", + "@web3modal/core": "5.0.3", + "@web3modal/scaffold-utils": "5.0.3", "valtio": "1.11.2", "lit": "3.1.0" }, diff --git a/packages/solana/CHANGELOG.md b/packages/solana/CHANGELOG.md index 56f72382c1..e5bb01e8fd 100644 --- a/packages/solana/CHANGELOG.md +++ b/packages/solana/CHANGELOG.md @@ -1,5 +1,18 @@ # @web3modal/solana +## 5.0.3 + +### Patch Changes + +- fix: ethers5 coinbase issues. Turbo build issues. Upate cb connector. + +- Updated dependencies []: + - @web3modal/polyfills@5.0.3 + - @web3modal/scaffold@5.0.3 + - @web3modal/scaffold-react@5.0.3 + - @web3modal/scaffold-utils@5.0.3 + - @web3modal/scaffold-vue@5.0.3 + ## 5.0.2 ### Patch Changes diff --git a/packages/solana/package.json b/packages/solana/package.json index 997735eac8..d104dd3301 100644 --- a/packages/solana/package.json +++ b/packages/solana/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/solana", - "version": "5.0.2", + "version": "5.0.3", "type": "module", "main": "./dist/esm/exports/index.js", "types": "./dist/types/exports/index.d.ts", @@ -52,11 +52,11 @@ "@solana/wallet-adapter-trust": "0.1.13", "@solana/wallet-adapter-walletconnect": "0.1.16", "@walletconnect/universal-provider": "2.11.2", - "@web3modal/polyfills": "5.0.2", - "@web3modal/scaffold": "5.0.2", - "@web3modal/scaffold-react": "5.0.2", - "@web3modal/scaffold-utils": "5.0.2", - "@web3modal/scaffold-vue": "5.0.2", + "@web3modal/polyfills": "5.0.3", + "@web3modal/scaffold": "5.0.3", + "@web3modal/scaffold-react": "5.0.3", + "@web3modal/scaffold-utils": "5.0.3", + "@web3modal/scaffold-vue": "5.0.3", "bn.js": "5.2.1", "bs58": "5.0.0" }, diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md index 19328662b8..345b421d9d 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -1,5 +1,11 @@ # @web3modal/ui +## 5.0.3 + +### Patch Changes + +- fix: ethers5 coinbase issues. Turbo build issues. Upate cb connector. + ## 5.0.2 ### Patch Changes diff --git a/packages/ui/index.ts b/packages/ui/index.ts index 707c479cd8..864f305716 100644 --- a/packages/ui/index.ts +++ b/packages/ui/index.ts @@ -56,8 +56,6 @@ export * from './src/composites/wui-list-accordion/index.js' export * from './src/composites/wui-list-content/index.js' export * from './src/composites/wui-list-network/index.js' export * from './src/composites/wui-list-wallet-transaction/index.js' -export * from './src/composites/wui-onramp-activity-item/index.js' -export * from './src/composites/wui-onramp-provider-item/index.js' export * from './src/composites/wui-promo/index.js' export * from './src/composites/wui-balance/index.js' export * from './src/composites/wui-profile-button/index.js' diff --git a/packages/ui/package.json b/packages/ui/package.json index 11995fc7c6..9ad408b5e5 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/ui", - "version": "5.0.2", + "version": "5.0.3", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", @@ -22,7 +22,7 @@ }, "devDependencies": { "@types/qrcode": "1.5.5", - "@web3modal/common": "5.0.2", + "@web3modal/common": "5.0.3", "eslint-plugin-lit": "1.11.0", "eslint-plugin-wc": "2.0.4" }, diff --git a/packages/ui/src/utils/JSXTypeUtil.ts b/packages/ui/src/utils/JSXTypeUtil.ts index 26a4be9308..0a8c1977b8 100644 --- a/packages/ui/src/utils/JSXTypeUtil.ts +++ b/packages/ui/src/utils/JSXTypeUtil.ts @@ -47,8 +47,6 @@ import type { WuiLogoSelect } from '../composites/wui-logo-select/index.js' import type { WuiNetworkButton } from '../composites/wui-network-button/index.js' import type { WuiNetworkImage } from '../composites/wui-network-image/index.js' import type { WuiNoticeCard } from '../composites/wui-notice-card/index.js' -import type { WuiOnRampActivityItem } from '../composites/wui-onramp-activity-item/index.js' -import type { WuiOnRampProviderItem } from '../composites/wui-onramp-provider-item/index.js' import type { WuiOtp } from '../composites/wui-otp/index.js' import type { WuiPreviewItem } from '../composites/wui-preview-item/index.js' import type { WuiProfileButton } from '../composites/wui-profile-button/index.js' @@ -128,8 +126,6 @@ declare global { 'wui-network-button': CustomElement 'wui-network-image': CustomElement 'wui-notice-card': CustomElement - 'wui-onramp-activity-item': CustomElement - 'wui-onramp-provider-item': CustomElement 'wui-otp': CustomElement 'wui-preview-item': CustomElement 'wui-profile-button': CustomElement diff --git a/packages/wagmi/CHANGELOG.md b/packages/wagmi/CHANGELOG.md index 9d417152f3..3e2c6b14ae 100644 --- a/packages/wagmi/CHANGELOG.md +++ b/packages/wagmi/CHANGELOG.md @@ -1,5 +1,19 @@ # @web3modal/wagmi +## 5.0.3 + +### Patch Changes + +- fix: ethers5 coinbase issues. Turbo build issues. Upate cb connector. + +- Updated dependencies []: + - @web3modal/polyfills@5.0.3 + - @web3modal/scaffold@5.0.3 + - @web3modal/scaffold-react@5.0.3 + - @web3modal/scaffold-utils@5.0.3 + - @web3modal/scaffold-vue@5.0.3 + - @web3modal/siwe@5.0.3 + ## 5.0.2 ### Patch Changes diff --git a/packages/wagmi/package.json b/packages/wagmi/package.json index 406ba9e366..2f2341e9fc 100644 --- a/packages/wagmi/package.json +++ b/packages/wagmi/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/wagmi", - "version": "5.0.2", + "version": "5.0.3", "type": "module", "main": "./dist/esm/exports/index.js", "types": "./dist/types/exports/index.d.ts", @@ -52,12 +52,12 @@ }, "dependencies": { "@walletconnect/ethereum-provider": "2.13.0", - "@web3modal/polyfills": "5.0.2", - "@web3modal/scaffold": "5.0.2", - "@web3modal/scaffold-react": "5.0.2", - "@web3modal/scaffold-utils": "5.0.2", - "@web3modal/scaffold-vue": "5.0.2", - "@web3modal/siwe": "5.0.2" + "@web3modal/polyfills": "5.0.3", + "@web3modal/scaffold": "5.0.3", + "@web3modal/scaffold-react": "5.0.3", + "@web3modal/scaffold-utils": "5.0.3", + "@web3modal/scaffold-vue": "5.0.3", + "@web3modal/siwe": "5.0.3" }, "devDependencies": { "@wagmi/connectors": "5.0.8", diff --git a/packages/wagmi/src/client.ts b/packages/wagmi/src/client.ts index 51cf3ff669..2c6138585f 100644 --- a/packages/wagmi/src/client.ts +++ b/packages/wagmi/src/client.ts @@ -363,6 +363,8 @@ export class Web3Modal extends Web3ModalScaffold { watchAccount(this.wagmiConfig, { onChange: accountData => this.syncAccount({ ...accountData }) }) + + this.setEIP6963Enabled(w3mOptions.enableEIP6963 !== false) } // -- Public ------------------------------------------------------------------ diff --git a/packages/wallet/CHANGELOG.md b/packages/wallet/CHANGELOG.md index 57c2467b28..913453d466 100644 --- a/packages/wallet/CHANGELOG.md +++ b/packages/wallet/CHANGELOG.md @@ -1,5 +1,14 @@ # @web3modal/wallet +## 5.0.3 + +### Patch Changes + +- fix: ethers5 coinbase issues. Turbo build issues. Upate cb connector. + +- Updated dependencies []: + - @web3modal/polyfills@5.0.3 + ## 5.0.2 ### Patch Changes diff --git a/packages/wallet/package.json b/packages/wallet/package.json index e23b7ce326..fb8f95701f 100644 --- a/packages/wallet/package.json +++ b/packages/wallet/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/wallet", - "version": "5.0.2", + "version": "5.0.3", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", @@ -17,7 +17,7 @@ }, "dependencies": { "@walletconnect/logger": "2.1.2", - "@web3modal/polyfills": "5.0.2", + "@web3modal/polyfills": "5.0.3", "zod": "3.22.4" }, "keywords": [ diff --git a/turbo.json b/turbo.json index 55ff54a98b..744c44f32c 100644 --- a/turbo.json +++ b/turbo.json @@ -13,28 +13,18 @@ "outputs": ["dist/**"], "cache": false }, - "build:core": { + "build:wallet": { "outputs": ["dist/**"], "cache": false }, "build:ui": { "outputs": ["dist/**"], + "dependsOn": ["^build:common"], "cache": false }, - "build:wallet": { + "build:core": { "outputs": ["dist/**"], - "cache": false - }, - "build:scaffold": { - "outputs": ["dist/**"], - "dependsOn": [ - "^build:common", - "^build:core", - "^build:ui", - "^build:wallet", - "^build:siwe", - "^build:scaffold-utils" - ], + "dependsOn": ["^build:common", "^build:wallet"], "cache": false }, "build:scaffold-utils": { @@ -57,19 +47,30 @@ "dependsOn": ["^build:core", "^build:scaffold-utils"], "cache": false }, - "build:client": { + "build:scaffold-ui": { "outputs": ["dist/**"], "dependsOn": [ "^build:common", "^build:core", + "^build:ui", + "^build:wallet", + "^build:siwe", + "^build:scaffold-utils" + ], + "cache": false + }, + "build:scaffold": { + "outputs": ["dist/**"], + "dependsOn": ["^build:scaffold-ui"], + "cache": false + }, + "build:client": { + "outputs": ["dist/**"], + "dependsOn": [ "^build:polyfills", "^build:scaffold", - "^build:scaffold-utils", "^build:scaffold-react", - "^build:scaffold-vue", - "^build:siwe", - "^build:ui", - "^build:wallet" + "^build:scaffold-vue" ], "cache": false }, @@ -89,7 +90,7 @@ }, "build:gallery": { "outputs": ["out/**"], - "dependsOn": ["^build:client"], + "dependsOn": ["^build:client", "^build:ui"], "cache": false }, "build:laboratory": {