From c5794bf44f0880c3068a81a5eeba581e7fb62617 Mon Sep 17 00:00:00 2001 From: Marin Petrunic Date: Tue, 30 Jan 2024 17:51:32 +0100 Subject: [PATCH 01/20] add basic evm wallet connecting Signed-off-by: Marin Petrunic --- packages/widget/package.json | 3 + packages/widget/src/assets/icons/plusIcon.ts | 40 + packages/widget/src/assets/icons/sygmaLogo.ts | 1 + .../buttons/connect-wallet.style.ts | 32 + .../src/components/buttons/connect-wallet.ts | 39 + .../widget/src/components/buttons/index.ts | 1 + packages/widget/src/components/index.ts | 1 + .../controllers/wallet-manager/controller.ts | 82 + packages/widget/src/styles.ts | 39 +- packages/widget/src/widget.ts | 115 +- yarn.lock | 2870 ++++++++++++++++- 11 files changed, 3104 insertions(+), 119 deletions(-) create mode 100644 packages/widget/src/assets/icons/plusIcon.ts create mode 100644 packages/widget/src/components/buttons/connect-wallet.style.ts create mode 100644 packages/widget/src/components/buttons/connect-wallet.ts create mode 100644 packages/widget/src/components/buttons/index.ts create mode 100644 packages/widget/src/controllers/wallet-manager/controller.ts diff --git a/packages/widget/package.json b/packages/widget/package.json index c1cfd32c..79dcb3df 100644 --- a/packages/widget/package.json +++ b/packages/widget/package.json @@ -36,6 +36,9 @@ "@lit/reactive-element": "^2.0.3", "@polkadot/api": "^10.11.2", "@polkadot/extension-dapp": "^0.46.6", + "@web3-onboard/core": "^2.21.2", + "@web3-onboard/injected-wallets": "^2.10.11", + "@web3-onboard/walletconnect": "^2.5.3", "ethers": "5.7.2", "events": "^3.3.0", "lit": "3.0.0" diff --git a/packages/widget/src/assets/icons/plusIcon.ts b/packages/widget/src/assets/icons/plusIcon.ts new file mode 100644 index 00000000..8e76012e --- /dev/null +++ b/packages/widget/src/assets/icons/plusIcon.ts @@ -0,0 +1,40 @@ +import { html } from 'lit'; + +const plusIcon = html` + + + + + + + + + + + +`; + +export default plusIcon; diff --git a/packages/widget/src/assets/icons/sygmaLogo.ts b/packages/widget/src/assets/icons/sygmaLogo.ts index 241c3a8e..7e86fb6e 100644 --- a/packages/widget/src/assets/icons/sygmaLogo.ts +++ b/packages/widget/src/assets/icons/sygmaLogo.ts @@ -1,4 +1,5 @@ import { html } from 'lit'; +import { html } from 'lit'; const sygmaLogo = html` { + if (this.sourceNetwork) { + this.walletController.connectWallet(this.sourceNetwork); + } + }; + + render(): HTMLTemplateResult { + return html`
+ ${ifDefined(this.walletController.evmWallet?.address)} + +
`; + } +} +declare global { + interface HTMLElementTagNameMap { + 'sygma-connect-wallet-btn': ConnectWalletButton; + } +} diff --git a/packages/widget/src/components/buttons/index.ts b/packages/widget/src/components/buttons/index.ts new file mode 100644 index 00000000..5b96c646 --- /dev/null +++ b/packages/widget/src/components/buttons/index.ts @@ -0,0 +1 @@ +export { ConnectWalletButton } from './connect-wallet'; diff --git a/packages/widget/src/components/index.ts b/packages/widget/src/components/index.ts index 35b47082..148c29e8 100644 --- a/packages/widget/src/components/index.ts +++ b/packages/widget/src/components/index.ts @@ -1,2 +1,3 @@ export { AmountSelector } from './amount-selector'; export { NetworkSelector } from './network-selector'; +export { ConnectWalletButton } from './buttons'; diff --git a/packages/widget/src/controllers/wallet-manager/controller.ts b/packages/widget/src/controllers/wallet-manager/controller.ts new file mode 100644 index 00000000..c7e33c5a --- /dev/null +++ b/packages/widget/src/controllers/wallet-manager/controller.ts @@ -0,0 +1,82 @@ +import type { Domain } from '@buildwithsygma/sygma-sdk-core'; +import { Network } from '@buildwithsygma/sygma-sdk-core'; +import type { EIP1193Provider } from '@web3-onboard/core'; +import Onboard from '@web3-onboard/core'; +import injectedModule from '@web3-onboard/injected-wallets'; +import type { ReactiveController, ReactiveControllerHost } from 'lit'; + +export class WalletController implements ReactiveController { + host: ReactiveControllerHost; + + public evmWallet?: { + provider: EIP1193Provider; + address: string; + }; + + constructor(host: ReactiveControllerHost) { + (this.host = host).addController(this); + } + + hostConnected(): void {} + + hostDisconnected(): void { + if (this.evmWallet) { + this.evmWallet.provider.removeListener( + 'accountsChanged', + this.onEvmAccountChange + ); + } + } + + connectWallet = (network: Domain): void => { + switch (network.type) { + case Network.EVM: + { + void this.connectEvmWallet(network); + } + break; + default: + throw new Error('Unsupported newtork type'); + } + }; + + connectEvmWallet = async (network: Domain): Promise => { + const injected = injectedModule(); + + const onboard = Onboard({ + wallets: [injected], + chains: [ + { + id: network.chainId + } + ], + accountCenter: { + desktop: { enabled: false }, + mobile: { enabled: false } + } + }); + + const wallets = await onboard.connectWallet(); + if (wallets[0]) { + console.log('ens', wallets[0].accounts[0].ens); + this.evmWallet = { + address: + wallets[0].accounts[0].ens?.name ?? wallets[0].accounts[0].address, + provider: wallets[0].provider + }; + this.host.requestUpdate(); + this.evmWallet.provider.on('accountsChanged', this.onEvmAccountChange); + void onboard.setChain({ + //TODO: we need more info in network object in case we are adding new chain to metamask + chainId: network.chainId + }); + } + }; + + private onEvmAccountChange = (accounts: string[]): void => { + if (this.evmWallet) { + this.evmWallet.address = accounts[0]; + this.host.requestUpdate(); + } + }; +} diff --git a/packages/widget/src/styles.ts b/packages/widget/src/styles.ts index 3b8120f7..8a40e25c 100644 --- a/packages/widget/src/styles.ts +++ b/packages/widget/src/styles.ts @@ -11,7 +11,7 @@ export const styles = css` .widgetContainer { display: flex; flex-direction: column; - align-items: center; + align-items: stretch; gap: 16px; padding: 24px; @@ -28,10 +28,43 @@ export const styles = css` font-family: Inter, sans-serif; } - .connectAccount { + .widgetHeader { display: flex; - justify-content: flex-end; + justify-content: space-between; + align-items: center; + gap: 4px; + } + + .widgetContainer .brandLogoContainer { + display: flex; + justify-content: center; + align-items: center; + } + + .widgetHeader .brandLogo { + display: flex; + justify-content: center; align-items: center; + } + + .widgetHeader .brandLogo svg { + height: 100%; + width: 100%; + } + + .widgetHeader .title { + color: var(--zinc-400, #a1a1aa); + font-family: Inter; + font-size: 14px; + font-style: normal; + font-weight: 500; + line-height: 20px; + } + + .widgetContent { + display: flex; + justify-content: flex-end; + align-items: stretch; gap: 4px; } diff --git a/packages/widget/src/widget.ts b/packages/widget/src/widget.ts index c2e5cd1c..8963b518 100644 --- a/packages/widget/src/widget.ts +++ b/packages/widget/src/widget.ts @@ -1,12 +1,11 @@ import type { HTMLTemplateResult } from 'lit'; import { LitElement, html } from 'lit'; import { customElement } from 'lit/decorators.js'; -import { styles } from './styles'; -import { switchNetworkIcon, sygmaLogo } from './assets'; -import { WidgetController } from './controllers/widget'; -import './components/network-selector'; -import './components/amount-selector'; +import { sygmaLogo } from './assets'; +import './components'; import { Directions } from './components/network-selector/network-selector'; +import { WidgetController } from './controllers/widget'; +import { styles } from './styles'; @customElement('sygmaprotocol-widget') class SygmaProtocolWidget extends LitElement { @@ -14,54 +13,70 @@ class SygmaProtocolWidget extends LitElement { private widgetController = new WidgetController(this, {}); + private renderConnect(): HTMLTemplateResult { + if (this.widgetController.sourceNetwork) { + return html` + + `; + } + return html``; + } + render(): HTMLTemplateResult { return html` -

${this.widgetController.isLoading ? 'Loading' : ''}

-
{}}> -
- ${switchNetworkIcon} Connect Wallet -
-
- - -
-
- - -
-
- - -
-
- -
-
+
+
+ + <Brand Name> Transfer +
+ ${this.renderConnect()} +
+
+
{}}> +
+ + +
+
+ + +
+
+ + +
+
+ +
+
+
${sygmaLogo} Powered by Sygma
`; diff --git a/yarn.lock b/yarn.lock index cd7ea558..34d085bd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -250,6 +250,9 @@ __metadata: "@open-wc/testing-helpers": "npm:^3.0.0" "@polkadot/api": "npm:^10.11.2" "@polkadot/extension-dapp": "npm:^0.46.6" + "@web3-onboard/core": "npm:^2.21.2" + "@web3-onboard/injected-wallets": "npm:^2.10.11" + "@web3-onboard/walletconnect": "npm:^2.5.3" eslint: "npm:^8.48.0" eslint-plugin-lit: "npm:^1.9.1" ethers: "npm:5.7.2" @@ -294,6 +297,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/aix-ppc64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/aix-ppc64@npm:0.19.12" + conditions: os=aix & cpu=ppc64 + languageName: node + linkType: hard + "@esbuild/android-arm64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/android-arm64@npm:0.18.20" @@ -308,6 +318,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/android-arm64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/android-arm64@npm:0.19.12" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/android-arm@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/android-arm@npm:0.18.20" @@ -322,6 +339,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/android-arm@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/android-arm@npm:0.19.12" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + "@esbuild/android-x64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/android-x64@npm:0.18.20" @@ -336,6 +360,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/android-x64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/android-x64@npm:0.19.12" + conditions: os=android & cpu=x64 + languageName: node + linkType: hard + "@esbuild/darwin-arm64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/darwin-arm64@npm:0.18.20" @@ -350,6 +381,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/darwin-arm64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/darwin-arm64@npm:0.19.12" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/darwin-x64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/darwin-x64@npm:0.18.20" @@ -364,6 +402,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/darwin-x64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/darwin-x64@npm:0.19.12" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + "@esbuild/freebsd-arm64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/freebsd-arm64@npm:0.18.20" @@ -378,6 +423,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/freebsd-arm64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/freebsd-arm64@npm:0.19.12" + conditions: os=freebsd & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/freebsd-x64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/freebsd-x64@npm:0.18.20" @@ -392,6 +444,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/freebsd-x64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/freebsd-x64@npm:0.19.12" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + "@esbuild/linux-arm64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/linux-arm64@npm:0.18.20" @@ -406,6 +465,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-arm64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/linux-arm64@npm:0.19.12" + conditions: os=linux & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/linux-arm@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/linux-arm@npm:0.18.20" @@ -420,6 +486,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-arm@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/linux-arm@npm:0.19.12" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + "@esbuild/linux-ia32@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/linux-ia32@npm:0.18.20" @@ -434,6 +507,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-ia32@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/linux-ia32@npm:0.19.12" + conditions: os=linux & cpu=ia32 + languageName: node + linkType: hard + "@esbuild/linux-loong64@npm:0.14.54": version: 0.14.54 resolution: "@esbuild/linux-loong64@npm:0.14.54" @@ -455,6 +535,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-loong64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/linux-loong64@npm:0.19.12" + conditions: os=linux & cpu=loong64 + languageName: node + linkType: hard + "@esbuild/linux-mips64el@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/linux-mips64el@npm:0.18.20" @@ -469,6 +556,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-mips64el@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/linux-mips64el@npm:0.19.12" + conditions: os=linux & cpu=mips64el + languageName: node + linkType: hard + "@esbuild/linux-ppc64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/linux-ppc64@npm:0.18.20" @@ -483,6 +577,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-ppc64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/linux-ppc64@npm:0.19.12" + conditions: os=linux & cpu=ppc64 + languageName: node + linkType: hard + "@esbuild/linux-riscv64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/linux-riscv64@npm:0.18.20" @@ -497,6 +598,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-riscv64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/linux-riscv64@npm:0.19.12" + conditions: os=linux & cpu=riscv64 + languageName: node + linkType: hard + "@esbuild/linux-s390x@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/linux-s390x@npm:0.18.20" @@ -511,6 +619,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-s390x@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/linux-s390x@npm:0.19.12" + conditions: os=linux & cpu=s390x + languageName: node + linkType: hard + "@esbuild/linux-x64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/linux-x64@npm:0.18.20" @@ -525,6 +640,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-x64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/linux-x64@npm:0.19.12" + conditions: os=linux & cpu=x64 + languageName: node + linkType: hard + "@esbuild/netbsd-x64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/netbsd-x64@npm:0.18.20" @@ -539,6 +661,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/netbsd-x64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/netbsd-x64@npm:0.19.12" + conditions: os=netbsd & cpu=x64 + languageName: node + linkType: hard + "@esbuild/openbsd-x64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/openbsd-x64@npm:0.18.20" @@ -553,6 +682,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/openbsd-x64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/openbsd-x64@npm:0.19.12" + conditions: os=openbsd & cpu=x64 + languageName: node + linkType: hard + "@esbuild/sunos-x64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/sunos-x64@npm:0.18.20" @@ -567,6 +703,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/sunos-x64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/sunos-x64@npm:0.19.12" + conditions: os=sunos & cpu=x64 + languageName: node + linkType: hard + "@esbuild/win32-arm64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/win32-arm64@npm:0.18.20" @@ -581,6 +724,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/win32-arm64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/win32-arm64@npm:0.19.12" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/win32-ia32@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/win32-ia32@npm:0.18.20" @@ -595,6 +745,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/win32-ia32@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/win32-ia32@npm:0.19.12" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + "@esbuild/win32-x64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/win32-x64@npm:0.18.20" @@ -609,6 +766,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/win32-x64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/win32-x64@npm:0.19.12" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@eslint-community/eslint-utils@npm:^4.2.0, @eslint-community/eslint-utils@npm:^4.4.0": version: 4.4.0 resolution: "@eslint-community/eslint-utils@npm:4.4.0" @@ -691,6 +855,23 @@ __metadata: languageName: node linkType: hard +"@ethersproject/abi@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/abi@npm:5.5.0" + dependencies: + "@ethersproject/address": "npm:^5.5.0" + "@ethersproject/bignumber": "npm:^5.5.0" + "@ethersproject/bytes": "npm:^5.5.0" + "@ethersproject/constants": "npm:^5.5.0" + "@ethersproject/hash": "npm:^5.5.0" + "@ethersproject/keccak256": "npm:^5.5.0" + "@ethersproject/logger": "npm:^5.5.0" + "@ethersproject/properties": "npm:^5.5.0" + "@ethersproject/strings": "npm:^5.5.0" + checksum: 8b38b4462c6599fb83f9cbadfff4aa2bdfdc5ff7796c896f45360ab8edbecaf9dab4eb15c719393c1e7b5f7269c5940c553c3d7d256972291920208c75648f33 + languageName: node + linkType: hard + "@ethersproject/abi@npm:5.6.0": version: 5.6.0 resolution: "@ethersproject/abi@npm:5.6.0" @@ -708,7 +889,7 @@ __metadata: languageName: node linkType: hard -"@ethersproject/abi@npm:5.7.0, @ethersproject/abi@npm:^5.6.0, @ethersproject/abi@npm:^5.6.3, @ethersproject/abi@npm:^5.7.0": +"@ethersproject/abi@npm:5.7.0, @ethersproject/abi@npm:^5.5.0, @ethersproject/abi@npm:^5.6.0, @ethersproject/abi@npm:^5.6.3, @ethersproject/abi@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/abi@npm:5.7.0" dependencies: @@ -725,6 +906,21 @@ __metadata: languageName: node linkType: hard +"@ethersproject/abstract-provider@npm:5.5.1": + version: 5.5.1 + resolution: "@ethersproject/abstract-provider@npm:5.5.1" + dependencies: + "@ethersproject/bignumber": "npm:^5.5.0" + "@ethersproject/bytes": "npm:^5.5.0" + "@ethersproject/logger": "npm:^5.5.0" + "@ethersproject/networks": "npm:^5.5.0" + "@ethersproject/properties": "npm:^5.5.0" + "@ethersproject/transactions": "npm:^5.5.0" + "@ethersproject/web": "npm:^5.5.0" + checksum: 4eceaa1c48d7d4662eb56e78aab837dfb58f74823fee138bb5715e48b475d34946d2b9bc9c347e9d2bdd70a1e4e2f5aa82a0a7c3f68881e1a4eba8a948c4b315 + languageName: node + linkType: hard + "@ethersproject/abstract-provider@npm:5.6.0": version: 5.6.0 resolution: "@ethersproject/abstract-provider@npm:5.6.0" @@ -740,7 +936,7 @@ __metadata: languageName: node linkType: hard -"@ethersproject/abstract-provider@npm:5.7.0, @ethersproject/abstract-provider@npm:^5.6.0, @ethersproject/abstract-provider@npm:^5.7.0": +"@ethersproject/abstract-provider@npm:5.7.0, @ethersproject/abstract-provider@npm:^5.5.0, @ethersproject/abstract-provider@npm:^5.6.0, @ethersproject/abstract-provider@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/abstract-provider@npm:5.7.0" dependencies: @@ -755,6 +951,19 @@ __metadata: languageName: node linkType: hard +"@ethersproject/abstract-signer@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/abstract-signer@npm:5.5.0" + dependencies: + "@ethersproject/abstract-provider": "npm:^5.5.0" + "@ethersproject/bignumber": "npm:^5.5.0" + "@ethersproject/bytes": "npm:^5.5.0" + "@ethersproject/logger": "npm:^5.5.0" + "@ethersproject/properties": "npm:^5.5.0" + checksum: 6fdc8ee7b0ccbc2ea2cb493578b5ea1e6c33a462f4681066edd68638ae9fa8f58608f835daa27c1da94739e8f23ccbcafd22329b9e6b220bfc8092a88ea10715 + languageName: node + linkType: hard + "@ethersproject/abstract-signer@npm:5.6.0": version: 5.6.0 resolution: "@ethersproject/abstract-signer@npm:5.6.0" @@ -768,7 +977,7 @@ __metadata: languageName: node linkType: hard -"@ethersproject/abstract-signer@npm:5.7.0, @ethersproject/abstract-signer@npm:^5.6.0, @ethersproject/abstract-signer@npm:^5.7.0": +"@ethersproject/abstract-signer@npm:5.7.0, @ethersproject/abstract-signer@npm:^5.5.0, @ethersproject/abstract-signer@npm:^5.6.0, @ethersproject/abstract-signer@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/abstract-signer@npm:5.7.0" dependencies: @@ -781,6 +990,19 @@ __metadata: languageName: node linkType: hard +"@ethersproject/address@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/address@npm:5.5.0" + dependencies: + "@ethersproject/bignumber": "npm:^5.5.0" + "@ethersproject/bytes": "npm:^5.5.0" + "@ethersproject/keccak256": "npm:^5.5.0" + "@ethersproject/logger": "npm:^5.5.0" + "@ethersproject/rlp": "npm:^5.5.0" + checksum: 55f358c1edf8c4f4951acab9ed4db9bc64cc65d6897ba4820a6dbff4eeb99bf49bbfe36447a6fff39f50e86bc3f089bf658f56db9b8c792f5b05bbc6fd99cc39 + languageName: node + linkType: hard + "@ethersproject/address@npm:5.6.0": version: 5.6.0 resolution: "@ethersproject/address@npm:5.6.0" @@ -794,7 +1016,7 @@ __metadata: languageName: node linkType: hard -"@ethersproject/address@npm:5.7.0, @ethersproject/address@npm:^5.6.0, @ethersproject/address@npm:^5.7.0": +"@ethersproject/address@npm:5.7.0, @ethersproject/address@npm:^5.5.0, @ethersproject/address@npm:^5.6.0, @ethersproject/address@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/address@npm:5.7.0" dependencies: @@ -807,6 +1029,15 @@ __metadata: languageName: node linkType: hard +"@ethersproject/base64@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/base64@npm:5.5.0" + dependencies: + "@ethersproject/bytes": "npm:^5.5.0" + checksum: 1c93c88420be379222021ad3b3e2dc775fa0ead584a308de31d01be87fbf9fe3d5eb982cdd68db2d3a4686510df1ad426a4f968b90fa0372abcf24b51a5d88fa + languageName: node + linkType: hard + "@ethersproject/base64@npm:5.6.0": version: 5.6.0 resolution: "@ethersproject/base64@npm:5.6.0" @@ -816,7 +1047,7 @@ __metadata: languageName: node linkType: hard -"@ethersproject/base64@npm:5.7.0, @ethersproject/base64@npm:^5.6.0, @ethersproject/base64@npm:^5.7.0": +"@ethersproject/base64@npm:5.7.0, @ethersproject/base64@npm:^5.5.0, @ethersproject/base64@npm:^5.6.0, @ethersproject/base64@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/base64@npm:5.7.0" dependencies: @@ -825,6 +1056,16 @@ __metadata: languageName: node linkType: hard +"@ethersproject/basex@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/basex@npm:5.5.0" + dependencies: + "@ethersproject/bytes": "npm:^5.5.0" + "@ethersproject/properties": "npm:^5.5.0" + checksum: ec08761b4df546406ccda432c92a32ab6ac6b4b36c73a129f0a5b262a3af31c94b6749973f26900c541ebead4586d6551120644a0e2557c7bb107f4a3000ef0e + languageName: node + linkType: hard + "@ethersproject/basex@npm:5.6.0": version: 5.6.0 resolution: "@ethersproject/basex@npm:5.6.0" @@ -835,7 +1076,7 @@ __metadata: languageName: node linkType: hard -"@ethersproject/basex@npm:5.7.0, @ethersproject/basex@npm:^5.6.0, @ethersproject/basex@npm:^5.7.0": +"@ethersproject/basex@npm:5.7.0, @ethersproject/basex@npm:^5.5.0, @ethersproject/basex@npm:^5.6.0, @ethersproject/basex@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/basex@npm:5.7.0" dependencies: @@ -845,6 +1086,17 @@ __metadata: languageName: node linkType: hard +"@ethersproject/bignumber@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/bignumber@npm:5.5.0" + dependencies: + "@ethersproject/bytes": "npm:^5.5.0" + "@ethersproject/logger": "npm:^5.5.0" + bn.js: "npm:^4.11.9" + checksum: 9d0e827e0575b0e852c709b7fe56766f10edb04afb31ad7e18776eca837fcc08778458867dc23f8f02f773c37b2591f52dc14b6e329aff077feacc8f2dae0ed8 + languageName: node + linkType: hard + "@ethersproject/bignumber@npm:5.6.0": version: 5.6.0 resolution: "@ethersproject/bignumber@npm:5.6.0" @@ -856,7 +1108,7 @@ __metadata: languageName: node linkType: hard -"@ethersproject/bignumber@npm:5.7.0, @ethersproject/bignumber@npm:^5.6.0, @ethersproject/bignumber@npm:^5.7.0": +"@ethersproject/bignumber@npm:5.7.0, @ethersproject/bignumber@npm:^5.5.0, @ethersproject/bignumber@npm:^5.6.0, @ethersproject/bignumber@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/bignumber@npm:5.7.0" dependencies: @@ -867,6 +1119,15 @@ __metadata: languageName: node linkType: hard +"@ethersproject/bytes@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/bytes@npm:5.5.0" + dependencies: + "@ethersproject/logger": "npm:^5.5.0" + checksum: 4964aace98f17c9d8a4c13decdcc9b5a6362bf6ea9647aabeae0e834faa470ea80ce5ae0e4c4d08697102aafe5b97e5fb29a58623a4fb4d5a06e19bedc5de779 + languageName: node + linkType: hard + "@ethersproject/bytes@npm:5.6.1": version: 5.6.1 resolution: "@ethersproject/bytes@npm:5.6.1" @@ -876,7 +1137,7 @@ __metadata: languageName: node linkType: hard -"@ethersproject/bytes@npm:5.7.0, @ethersproject/bytes@npm:^5.6.0, @ethersproject/bytes@npm:^5.7.0": +"@ethersproject/bytes@npm:5.7.0, @ethersproject/bytes@npm:^5.5.0, @ethersproject/bytes@npm:^5.6.0, @ethersproject/bytes@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/bytes@npm:5.7.0" dependencies: @@ -885,6 +1146,15 @@ __metadata: languageName: node linkType: hard +"@ethersproject/constants@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/constants@npm:5.5.0" + dependencies: + "@ethersproject/bignumber": "npm:^5.5.0" + checksum: 68ea669b79e6e2735561a32fc1d1237d8cc940c2a986885a6ba1dcd067ce23e2659103ce90e804a24533262da5231c81b374370b1fb4a838dae625254341e84b + languageName: node + linkType: hard + "@ethersproject/constants@npm:5.6.0": version: 5.6.0 resolution: "@ethersproject/constants@npm:5.6.0" @@ -894,7 +1164,7 @@ __metadata: languageName: node linkType: hard -"@ethersproject/constants@npm:5.7.0, @ethersproject/constants@npm:^5.6.0, @ethersproject/constants@npm:^5.7.0": +"@ethersproject/constants@npm:5.7.0, @ethersproject/constants@npm:^5.5.0, @ethersproject/constants@npm:^5.6.0, @ethersproject/constants@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/constants@npm:5.7.0" dependencies: @@ -903,6 +1173,24 @@ __metadata: languageName: node linkType: hard +"@ethersproject/contracts@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/contracts@npm:5.5.0" + dependencies: + "@ethersproject/abi": "npm:^5.5.0" + "@ethersproject/abstract-provider": "npm:^5.5.0" + "@ethersproject/abstract-signer": "npm:^5.5.0" + "@ethersproject/address": "npm:^5.5.0" + "@ethersproject/bignumber": "npm:^5.5.0" + "@ethersproject/bytes": "npm:^5.5.0" + "@ethersproject/constants": "npm:^5.5.0" + "@ethersproject/logger": "npm:^5.5.0" + "@ethersproject/properties": "npm:^5.5.0" + "@ethersproject/transactions": "npm:^5.5.0" + checksum: 53904d7a76b930812dd70ad9b8fd3544821a8bec77aa62b01a2039706fb09d3461737ec1c68d95b3d1b7ebe458e36d2d9af4ad093caa110c43177f0962aab86b + languageName: node + linkType: hard + "@ethersproject/contracts@npm:5.6.0": version: 5.6.0 resolution: "@ethersproject/contracts@npm:5.6.0" @@ -939,6 +1227,22 @@ __metadata: languageName: node linkType: hard +"@ethersproject/hash@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/hash@npm:5.5.0" + dependencies: + "@ethersproject/abstract-signer": "npm:^5.5.0" + "@ethersproject/address": "npm:^5.5.0" + "@ethersproject/bignumber": "npm:^5.5.0" + "@ethersproject/bytes": "npm:^5.5.0" + "@ethersproject/keccak256": "npm:^5.5.0" + "@ethersproject/logger": "npm:^5.5.0" + "@ethersproject/properties": "npm:^5.5.0" + "@ethersproject/strings": "npm:^5.5.0" + checksum: ac1abdb4e76b3537bd989d42aac0fda55a8c647141c87ccd03691f4922d3cb29ced4d50f5bbfd09560c178471121d6e68a67b570d1cb476481ea1ab9242effb3 + languageName: node + linkType: hard + "@ethersproject/hash@npm:5.6.0": version: 5.6.0 resolution: "@ethersproject/hash@npm:5.6.0" @@ -955,7 +1259,7 @@ __metadata: languageName: node linkType: hard -"@ethersproject/hash@npm:5.7.0, @ethersproject/hash@npm:^5.6.0, @ethersproject/hash@npm:^5.7.0": +"@ethersproject/hash@npm:5.7.0, @ethersproject/hash@npm:^5.5.0, @ethersproject/hash@npm:^5.6.0, @ethersproject/hash@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/hash@npm:5.7.0" dependencies: @@ -972,6 +1276,26 @@ __metadata: languageName: node linkType: hard +"@ethersproject/hdnode@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/hdnode@npm:5.5.0" + dependencies: + "@ethersproject/abstract-signer": "npm:^5.5.0" + "@ethersproject/basex": "npm:^5.5.0" + "@ethersproject/bignumber": "npm:^5.5.0" + "@ethersproject/bytes": "npm:^5.5.0" + "@ethersproject/logger": "npm:^5.5.0" + "@ethersproject/pbkdf2": "npm:^5.5.0" + "@ethersproject/properties": "npm:^5.5.0" + "@ethersproject/sha2": "npm:^5.5.0" + "@ethersproject/signing-key": "npm:^5.5.0" + "@ethersproject/strings": "npm:^5.5.0" + "@ethersproject/transactions": "npm:^5.5.0" + "@ethersproject/wordlists": "npm:^5.5.0" + checksum: b0e3b55c954fb366ba60fb060ee04d15ac9fe0125587cc911e119086d807b9a5ea13e38b96dafc826f9c018e3342b306777251094dd903e6f459bb172e2f2be1 + languageName: node + linkType: hard + "@ethersproject/hdnode@npm:5.6.0": version: 5.6.0 resolution: "@ethersproject/hdnode@npm:5.6.0" @@ -992,7 +1316,7 @@ __metadata: languageName: node linkType: hard -"@ethersproject/hdnode@npm:5.7.0, @ethersproject/hdnode@npm:^5.6.0, @ethersproject/hdnode@npm:^5.7.0": +"@ethersproject/hdnode@npm:5.7.0, @ethersproject/hdnode@npm:^5.5.0, @ethersproject/hdnode@npm:^5.6.0, @ethersproject/hdnode@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/hdnode@npm:5.7.0" dependencies: @@ -1012,6 +1336,27 @@ __metadata: languageName: node linkType: hard +"@ethersproject/json-wallets@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/json-wallets@npm:5.5.0" + dependencies: + "@ethersproject/abstract-signer": "npm:^5.5.0" + "@ethersproject/address": "npm:^5.5.0" + "@ethersproject/bytes": "npm:^5.5.0" + "@ethersproject/hdnode": "npm:^5.5.0" + "@ethersproject/keccak256": "npm:^5.5.0" + "@ethersproject/logger": "npm:^5.5.0" + "@ethersproject/pbkdf2": "npm:^5.5.0" + "@ethersproject/properties": "npm:^5.5.0" + "@ethersproject/random": "npm:^5.5.0" + "@ethersproject/strings": "npm:^5.5.0" + "@ethersproject/transactions": "npm:^5.5.0" + aes-js: "npm:3.0.0" + scrypt-js: "npm:3.0.1" + checksum: 383a982701a04312bfccbc99633b24b7ff5b070f7a220d071e6b8e2f1d7c4c9038ca0e76177ff741ab26b40c12e8341217481b5c6aaee91979bac9b9158acbcc + languageName: node + linkType: hard + "@ethersproject/json-wallets@npm:5.6.0": version: 5.6.0 resolution: "@ethersproject/json-wallets@npm:5.6.0" @@ -1033,7 +1378,7 @@ __metadata: languageName: node linkType: hard -"@ethersproject/json-wallets@npm:5.7.0, @ethersproject/json-wallets@npm:^5.6.0, @ethersproject/json-wallets@npm:^5.7.0": +"@ethersproject/json-wallets@npm:5.7.0, @ethersproject/json-wallets@npm:^5.5.0, @ethersproject/json-wallets@npm:^5.6.0, @ethersproject/json-wallets@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/json-wallets@npm:5.7.0" dependencies: @@ -1054,6 +1399,16 @@ __metadata: languageName: node linkType: hard +"@ethersproject/keccak256@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/keccak256@npm:5.5.0" + dependencies: + "@ethersproject/bytes": "npm:^5.5.0" + js-sha3: "npm:0.8.0" + checksum: e88d9db6f84227dc8216677fc692a10289c383bf63d207da7ad8beb0d8b112650dc3fbacadb6cc864304d9fe5243235bc6a49de6a37321ab05793717cedcaaac + languageName: node + linkType: hard + "@ethersproject/keccak256@npm:5.6.0": version: 5.6.0 resolution: "@ethersproject/keccak256@npm:5.6.0" @@ -1064,7 +1419,7 @@ __metadata: languageName: node linkType: hard -"@ethersproject/keccak256@npm:5.7.0, @ethersproject/keccak256@npm:^5.6.0, @ethersproject/keccak256@npm:^5.7.0": +"@ethersproject/keccak256@npm:5.7.0, @ethersproject/keccak256@npm:^5.5.0, @ethersproject/keccak256@npm:^5.6.0, @ethersproject/keccak256@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/keccak256@npm:5.7.0" dependencies: @@ -1074,6 +1429,13 @@ __metadata: languageName: node linkType: hard +"@ethersproject/logger@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/logger@npm:5.5.0" + checksum: e8f83396ee505f8556dfc04aad252ddab4cdc40636cb186e420977e498864312d9b32f336843ab666b30730893bd972b57658518eefacc425ca469adaa8f385e + languageName: node + linkType: hard + "@ethersproject/logger@npm:5.6.0": version: 5.6.0 resolution: "@ethersproject/logger@npm:5.6.0" @@ -1081,13 +1443,22 @@ __metadata: languageName: node linkType: hard -"@ethersproject/logger@npm:5.7.0, @ethersproject/logger@npm:^5.6.0, @ethersproject/logger@npm:^5.7.0": +"@ethersproject/logger@npm:5.7.0, @ethersproject/logger@npm:^5.5.0, @ethersproject/logger@npm:^5.6.0, @ethersproject/logger@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/logger@npm:5.7.0" checksum: d03d460fb2d4a5e71c627b7986fb9e50e1b59a6f55e8b42a545b8b92398b961e7fd294bd9c3d8f92b35d0f6ff9d15aa14c95eab378f8ea194e943c8ace343501 languageName: node linkType: hard +"@ethersproject/networks@npm:5.5.2": + version: 5.5.2 + resolution: "@ethersproject/networks@npm:5.5.2" + dependencies: + "@ethersproject/logger": "npm:^5.5.0" + checksum: 46b65590f33f1221fbed1d3fc7fe3ff8e5d431e9137ec725dd505ededbcbecfd40f89f71dfdf754fc1168a3ee7c1e0adf2ff888ac500c5ab4fefa146d6a89d8d + languageName: node + linkType: hard + "@ethersproject/networks@npm:5.6.1": version: 5.6.1 resolution: "@ethersproject/networks@npm:5.6.1" @@ -1097,7 +1468,7 @@ __metadata: languageName: node linkType: hard -"@ethersproject/networks@npm:5.7.1, @ethersproject/networks@npm:^5.6.0, @ethersproject/networks@npm:^5.7.0": +"@ethersproject/networks@npm:5.7.1, @ethersproject/networks@npm:^5.5.0, @ethersproject/networks@npm:^5.6.0, @ethersproject/networks@npm:^5.7.0": version: 5.7.1 resolution: "@ethersproject/networks@npm:5.7.1" dependencies: @@ -1106,6 +1477,16 @@ __metadata: languageName: node linkType: hard +"@ethersproject/pbkdf2@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/pbkdf2@npm:5.5.0" + dependencies: + "@ethersproject/bytes": "npm:^5.5.0" + "@ethersproject/sha2": "npm:^5.5.0" + checksum: ac761fa8286463dafd4531be3de8f0f0421fc4b6fe008226e828b5a7c0369fe965fc6985539b0f1facaa80e332f25e52d4fc460ab082486d079255da9e570f7a + languageName: node + linkType: hard + "@ethersproject/pbkdf2@npm:5.6.0": version: 5.6.0 resolution: "@ethersproject/pbkdf2@npm:5.6.0" @@ -1116,7 +1497,7 @@ __metadata: languageName: node linkType: hard -"@ethersproject/pbkdf2@npm:5.7.0, @ethersproject/pbkdf2@npm:^5.6.0, @ethersproject/pbkdf2@npm:^5.7.0": +"@ethersproject/pbkdf2@npm:5.7.0, @ethersproject/pbkdf2@npm:^5.5.0, @ethersproject/pbkdf2@npm:^5.6.0, @ethersproject/pbkdf2@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/pbkdf2@npm:5.7.0" dependencies: @@ -1126,6 +1507,15 @@ __metadata: languageName: node linkType: hard +"@ethersproject/properties@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/properties@npm:5.5.0" + dependencies: + "@ethersproject/logger": "npm:^5.5.0" + checksum: bc5521fe27f648d90def99333f579852902d7ee0842401c9e76fe60c96f905b0e3f06aa0f2581befa61107ec9b5e36106dab7af293896a474389efef61bdd1be + languageName: node + linkType: hard + "@ethersproject/properties@npm:5.6.0": version: 5.6.0 resolution: "@ethersproject/properties@npm:5.6.0" @@ -1135,7 +1525,7 @@ __metadata: languageName: node linkType: hard -"@ethersproject/properties@npm:5.7.0, @ethersproject/properties@npm:^5.6.0, @ethersproject/properties@npm:^5.7.0": +"@ethersproject/properties@npm:5.7.0, @ethersproject/properties@npm:^5.5.0, @ethersproject/properties@npm:^5.6.0, @ethersproject/properties@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/properties@npm:5.7.0" dependencies: @@ -1144,6 +1534,60 @@ __metadata: languageName: node linkType: hard +"@ethersproject/providers@npm:5.5.2": + version: 5.5.2 + resolution: "@ethersproject/providers@npm:5.5.2" + dependencies: + "@ethersproject/abstract-provider": "npm:^5.5.0" + "@ethersproject/abstract-signer": "npm:^5.5.0" + "@ethersproject/address": "npm:^5.5.0" + "@ethersproject/basex": "npm:^5.5.0" + "@ethersproject/bignumber": "npm:^5.5.0" + "@ethersproject/bytes": "npm:^5.5.0" + "@ethersproject/constants": "npm:^5.5.0" + "@ethersproject/hash": "npm:^5.5.0" + "@ethersproject/logger": "npm:^5.5.0" + "@ethersproject/networks": "npm:^5.5.0" + "@ethersproject/properties": "npm:^5.5.0" + "@ethersproject/random": "npm:^5.5.0" + "@ethersproject/rlp": "npm:^5.5.0" + "@ethersproject/sha2": "npm:^5.5.0" + "@ethersproject/strings": "npm:^5.5.0" + "@ethersproject/transactions": "npm:^5.5.0" + "@ethersproject/web": "npm:^5.5.0" + bech32: "npm:1.1.4" + ws: "npm:7.4.6" + checksum: a65b0d1a6e2a85c1ce4f07bea6ee7d7ce4d24c168a8a49cd115ead6df13d4f08a5d637612c9475a43a9e31cb8861f699a8221f9dc05077b1c040368d3c1cf7ef + languageName: node + linkType: hard + +"@ethersproject/providers@npm:5.5.3": + version: 5.5.3 + resolution: "@ethersproject/providers@npm:5.5.3" + dependencies: + "@ethersproject/abstract-provider": "npm:^5.5.0" + "@ethersproject/abstract-signer": "npm:^5.5.0" + "@ethersproject/address": "npm:^5.5.0" + "@ethersproject/basex": "npm:^5.5.0" + "@ethersproject/bignumber": "npm:^5.5.0" + "@ethersproject/bytes": "npm:^5.5.0" + "@ethersproject/constants": "npm:^5.5.0" + "@ethersproject/hash": "npm:^5.5.0" + "@ethersproject/logger": "npm:^5.5.0" + "@ethersproject/networks": "npm:^5.5.0" + "@ethersproject/properties": "npm:^5.5.0" + "@ethersproject/random": "npm:^5.5.0" + "@ethersproject/rlp": "npm:^5.5.0" + "@ethersproject/sha2": "npm:^5.5.0" + "@ethersproject/strings": "npm:^5.5.0" + "@ethersproject/transactions": "npm:^5.5.0" + "@ethersproject/web": "npm:^5.5.0" + bech32: "npm:1.1.4" + ws: "npm:7.4.6" + checksum: e8719307af72f38cd5353752a4928c68272edd62c81ef225fd0aa58195f6d6406739614fa4b3e2c5a6eabe9ed1ed6e4d0ce0c26d44593b4d5c2fa7b8b4ce8cd5 + languageName: node + linkType: hard + "@ethersproject/providers@npm:5.6.2": version: 5.6.2 resolution: "@ethersproject/providers@npm:5.6.2" @@ -1199,6 +1643,16 @@ __metadata: languageName: node linkType: hard +"@ethersproject/random@npm:5.5.1": + version: 5.5.1 + resolution: "@ethersproject/random@npm:5.5.1" + dependencies: + "@ethersproject/bytes": "npm:^5.5.0" + "@ethersproject/logger": "npm:^5.5.0" + checksum: 241f7b60b6983a17b698f8f9a67bbcac98b1f6eed8ea1f96577279a6ecc5dc457f41d1c8e8d2f534bade3e4bfbed7d0d8b89be1b0b01a16a4584abbd58cb55cc + languageName: node + linkType: hard + "@ethersproject/random@npm:5.6.0": version: 5.6.0 resolution: "@ethersproject/random@npm:5.6.0" @@ -1209,7 +1663,7 @@ __metadata: languageName: node linkType: hard -"@ethersproject/random@npm:5.7.0, @ethersproject/random@npm:^5.6.0, @ethersproject/random@npm:^5.7.0": +"@ethersproject/random@npm:5.7.0, @ethersproject/random@npm:^5.5.0, @ethersproject/random@npm:^5.6.0, @ethersproject/random@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/random@npm:5.7.0" dependencies: @@ -1219,6 +1673,16 @@ __metadata: languageName: node linkType: hard +"@ethersproject/rlp@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/rlp@npm:5.5.0" + dependencies: + "@ethersproject/bytes": "npm:^5.5.0" + "@ethersproject/logger": "npm:^5.5.0" + checksum: 0e3a3297843531aa572ce5eae6ec9ef0c9b3aecc4829d970f370e6a1cda58b71a8340378618f0e4e9b52b830f99081b3b4ec02c3cdf5a50cec3bb2cf25745ece + languageName: node + linkType: hard + "@ethersproject/rlp@npm:5.6.0": version: 5.6.0 resolution: "@ethersproject/rlp@npm:5.6.0" @@ -1229,7 +1693,7 @@ __metadata: languageName: node linkType: hard -"@ethersproject/rlp@npm:5.7.0, @ethersproject/rlp@npm:^5.6.0, @ethersproject/rlp@npm:^5.7.0": +"@ethersproject/rlp@npm:5.7.0, @ethersproject/rlp@npm:^5.5.0, @ethersproject/rlp@npm:^5.6.0, @ethersproject/rlp@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/rlp@npm:5.7.0" dependencies: @@ -1239,6 +1703,17 @@ __metadata: languageName: node linkType: hard +"@ethersproject/sha2@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/sha2@npm:5.5.0" + dependencies: + "@ethersproject/bytes": "npm:^5.5.0" + "@ethersproject/logger": "npm:^5.5.0" + hash.js: "npm:1.1.7" + checksum: fef85ce64f285773580d5a9903557d6b356109745267314b8b94f0976dbce48295f56668a01b175adcaaa0820f9567e4fce56febd1f93539619214183069d48e + languageName: node + linkType: hard + "@ethersproject/sha2@npm:5.6.0": version: 5.6.0 resolution: "@ethersproject/sha2@npm:5.6.0" @@ -1250,7 +1725,7 @@ __metadata: languageName: node linkType: hard -"@ethersproject/sha2@npm:5.7.0, @ethersproject/sha2@npm:^5.6.0, @ethersproject/sha2@npm:^5.7.0": +"@ethersproject/sha2@npm:5.7.0, @ethersproject/sha2@npm:^5.5.0, @ethersproject/sha2@npm:^5.6.0, @ethersproject/sha2@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/sha2@npm:5.7.0" dependencies: @@ -1261,6 +1736,20 @@ __metadata: languageName: node linkType: hard +"@ethersproject/signing-key@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/signing-key@npm:5.5.0" + dependencies: + "@ethersproject/bytes": "npm:^5.5.0" + "@ethersproject/logger": "npm:^5.5.0" + "@ethersproject/properties": "npm:^5.5.0" + bn.js: "npm:^4.11.9" + elliptic: "npm:6.5.4" + hash.js: "npm:1.1.7" + checksum: ab99a8477780bb92183cbd8b591668c7a58c15db3cee85ea522e081dfaf379a009995a6df390586bb9bf6d41b5c96d320e898b5c326c0db2b06bc823efb3fe5e + languageName: node + linkType: hard + "@ethersproject/signing-key@npm:5.6.0": version: 5.6.0 resolution: "@ethersproject/signing-key@npm:5.6.0" @@ -1275,7 +1764,7 @@ __metadata: languageName: node linkType: hard -"@ethersproject/signing-key@npm:5.7.0, @ethersproject/signing-key@npm:^5.6.0, @ethersproject/signing-key@npm:^5.7.0": +"@ethersproject/signing-key@npm:5.7.0, @ethersproject/signing-key@npm:^5.5.0, @ethersproject/signing-key@npm:^5.6.0, @ethersproject/signing-key@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/signing-key@npm:5.7.0" dependencies: @@ -1289,6 +1778,20 @@ __metadata: languageName: node linkType: hard +"@ethersproject/solidity@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/solidity@npm:5.5.0" + dependencies: + "@ethersproject/bignumber": "npm:^5.5.0" + "@ethersproject/bytes": "npm:^5.5.0" + "@ethersproject/keccak256": "npm:^5.5.0" + "@ethersproject/logger": "npm:^5.5.0" + "@ethersproject/sha2": "npm:^5.5.0" + "@ethersproject/strings": "npm:^5.5.0" + checksum: 1953cb73f2f7fb1f20165ad501dfaac2c65b921ae32c5b1acd3de7ff6d6236eca4ba22ec1db67392d22dc5d90680d0a18c12c9fcea33c7c67a0d5f5a40d4ab02 + languageName: node + linkType: hard + "@ethersproject/solidity@npm:5.6.0": version: 5.6.0 resolution: "@ethersproject/solidity@npm:5.6.0" @@ -1317,6 +1820,17 @@ __metadata: languageName: node linkType: hard +"@ethersproject/strings@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/strings@npm:5.5.0" + dependencies: + "@ethersproject/bytes": "npm:^5.5.0" + "@ethersproject/constants": "npm:^5.5.0" + "@ethersproject/logger": "npm:^5.5.0" + checksum: b1893dbfaeff931ca6193b06e58a4929b527922154372c07877340ed744b3dce2cc529efdaa01e59a98fc2a8703ea17aacbb4f9581df284fdf0f8a30eb99cb32 + languageName: node + linkType: hard + "@ethersproject/strings@npm:5.6.0": version: 5.6.0 resolution: "@ethersproject/strings@npm:5.6.0" @@ -1328,7 +1842,7 @@ __metadata: languageName: node linkType: hard -"@ethersproject/strings@npm:5.7.0, @ethersproject/strings@npm:^5.6.0, @ethersproject/strings@npm:^5.7.0": +"@ethersproject/strings@npm:5.7.0, @ethersproject/strings@npm:^5.5.0, @ethersproject/strings@npm:^5.6.0, @ethersproject/strings@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/strings@npm:5.7.0" dependencies: @@ -1339,6 +1853,23 @@ __metadata: languageName: node linkType: hard +"@ethersproject/transactions@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/transactions@npm:5.5.0" + dependencies: + "@ethersproject/address": "npm:^5.5.0" + "@ethersproject/bignumber": "npm:^5.5.0" + "@ethersproject/bytes": "npm:^5.5.0" + "@ethersproject/constants": "npm:^5.5.0" + "@ethersproject/keccak256": "npm:^5.5.0" + "@ethersproject/logger": "npm:^5.5.0" + "@ethersproject/properties": "npm:^5.5.0" + "@ethersproject/rlp": "npm:^5.5.0" + "@ethersproject/signing-key": "npm:^5.5.0" + checksum: 7dc61ad8bc8e7542b7034d37ee0b896b192a8610084111eaa70eb495c3d3a4e282407a568fcf40baae1cc9db87bb7345bfd2c15512ae7ac9036b8227525f02e1 + languageName: node + linkType: hard + "@ethersproject/transactions@npm:5.6.0": version: 5.6.0 resolution: "@ethersproject/transactions@npm:5.6.0" @@ -1356,7 +1887,7 @@ __metadata: languageName: node linkType: hard -"@ethersproject/transactions@npm:5.7.0, @ethersproject/transactions@npm:^5.6.0, @ethersproject/transactions@npm:^5.6.2, @ethersproject/transactions@npm:^5.7.0": +"@ethersproject/transactions@npm:5.7.0, @ethersproject/transactions@npm:^5.5.0, @ethersproject/transactions@npm:^5.6.0, @ethersproject/transactions@npm:^5.6.2, @ethersproject/transactions@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/transactions@npm:5.7.0" dependencies: @@ -1373,6 +1904,17 @@ __metadata: languageName: node linkType: hard +"@ethersproject/units@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/units@npm:5.5.0" + dependencies: + "@ethersproject/bignumber": "npm:^5.5.0" + "@ethersproject/constants": "npm:^5.5.0" + "@ethersproject/logger": "npm:^5.5.0" + checksum: dc24228ef7c3336087494ceb3fc0b274a5c57fba8e39e6f960c085e1661908d68670790c15953c440ebf590850045572578a4bec947549d77b0134280aab8e00 + languageName: node + linkType: hard + "@ethersproject/units@npm:5.6.0": version: 5.6.0 resolution: "@ethersproject/units@npm:5.6.0" @@ -1395,6 +1937,29 @@ __metadata: languageName: node linkType: hard +"@ethersproject/wallet@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/wallet@npm:5.5.0" + dependencies: + "@ethersproject/abstract-provider": "npm:^5.5.0" + "@ethersproject/abstract-signer": "npm:^5.5.0" + "@ethersproject/address": "npm:^5.5.0" + "@ethersproject/bignumber": "npm:^5.5.0" + "@ethersproject/bytes": "npm:^5.5.0" + "@ethersproject/hash": "npm:^5.5.0" + "@ethersproject/hdnode": "npm:^5.5.0" + "@ethersproject/json-wallets": "npm:^5.5.0" + "@ethersproject/keccak256": "npm:^5.5.0" + "@ethersproject/logger": "npm:^5.5.0" + "@ethersproject/properties": "npm:^5.5.0" + "@ethersproject/random": "npm:^5.5.0" + "@ethersproject/signing-key": "npm:^5.5.0" + "@ethersproject/transactions": "npm:^5.5.0" + "@ethersproject/wordlists": "npm:^5.5.0" + checksum: b824957e482b3df43a9b09d589157ee89bf8d2e7d40e74dc5dbc3b65f861c0d7d9b8ff44392b878a9cb6c8e91e494da7a4b189dade343f08dd5d21043010221a + languageName: node + linkType: hard + "@ethersproject/wallet@npm:5.6.0": version: 5.6.0 resolution: "@ethersproject/wallet@npm:5.6.0" @@ -1441,6 +2006,19 @@ __metadata: languageName: node linkType: hard +"@ethersproject/web@npm:5.5.1": + version: 5.5.1 + resolution: "@ethersproject/web@npm:5.5.1" + dependencies: + "@ethersproject/base64": "npm:^5.5.0" + "@ethersproject/bytes": "npm:^5.5.0" + "@ethersproject/logger": "npm:^5.5.0" + "@ethersproject/properties": "npm:^5.5.0" + "@ethersproject/strings": "npm:^5.5.0" + checksum: 6933c952a1638fdff949babc37c7eb47c1fcb2245ae2accb67f4fb03e5b00ee099c5f80bd2d1dc93f2b4fb9f3e2d3f3b4d7a8ac4eb46d3adbf1081611968bb52 + languageName: node + linkType: hard + "@ethersproject/web@npm:5.6.0": version: 5.6.0 resolution: "@ethersproject/web@npm:5.6.0" @@ -1454,7 +2032,7 @@ __metadata: languageName: node linkType: hard -"@ethersproject/web@npm:5.7.1, @ethersproject/web@npm:^5.6.0, @ethersproject/web@npm:^5.7.0": +"@ethersproject/web@npm:5.7.1, @ethersproject/web@npm:^5.5.0, @ethersproject/web@npm:^5.6.0, @ethersproject/web@npm:^5.7.0": version: 5.7.1 resolution: "@ethersproject/web@npm:5.7.1" dependencies: @@ -1467,6 +2045,19 @@ __metadata: languageName: node linkType: hard +"@ethersproject/wordlists@npm:5.5.0": + version: 5.5.0 + resolution: "@ethersproject/wordlists@npm:5.5.0" + dependencies: + "@ethersproject/bytes": "npm:^5.5.0" + "@ethersproject/hash": "npm:^5.5.0" + "@ethersproject/logger": "npm:^5.5.0" + "@ethersproject/properties": "npm:^5.5.0" + "@ethersproject/strings": "npm:^5.5.0" + checksum: 6f690525f787d177354e2ac49c607ea885c688505aba6666893cfa75ece216904e91581c8b88f48991b9662976fd130fc37f273067e89a29d4917603d91518cc + languageName: node + linkType: hard + "@ethersproject/wordlists@npm:5.6.0": version: 5.6.0 resolution: "@ethersproject/wordlists@npm:5.6.0" @@ -1480,7 +2071,7 @@ __metadata: languageName: node linkType: hard -"@ethersproject/wordlists@npm:5.7.0, @ethersproject/wordlists@npm:^5.6.0, @ethersproject/wordlists@npm:^5.7.0": +"@ethersproject/wordlists@npm:5.7.0, @ethersproject/wordlists@npm:^5.5.0, @ethersproject/wordlists@npm:^5.6.0, @ethersproject/wordlists@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/wordlists@npm:5.7.0" dependencies: @@ -1500,6 +2091,71 @@ __metadata: languageName: node linkType: hard +"@formatjs/ecma402-abstract@npm:1.11.4": + version: 1.11.4 + resolution: "@formatjs/ecma402-abstract@npm:1.11.4" + dependencies: + "@formatjs/intl-localematcher": "npm:0.2.25" + tslib: "npm:^2.1.0" + checksum: c25d56a54f7c6a356c8475ba76ba5357bbf8cb035ab1da5a6b3b75b41a49dae6e1790271bb619e8d09aca52f1daa3e28d5fa2297297fdef5e986e213be4c84b7 + languageName: node + linkType: hard + +"@formatjs/fast-memoize@npm:1.2.1": + version: 1.2.1 + resolution: "@formatjs/fast-memoize@npm:1.2.1" + dependencies: + tslib: "npm:^2.1.0" + checksum: ec3d5f256ab5c889d7061f58a6c178908b3cec43831d26efdbf79db7f31a6045ab7d4448cf1829de213fa05bec144b795a632249d6a6cd566f7eb7f98daec574 + languageName: node + linkType: hard + +"@formatjs/icu-messageformat-parser@npm:2.1.0": + version: 2.1.0 + resolution: "@formatjs/icu-messageformat-parser@npm:2.1.0" + dependencies: + "@formatjs/ecma402-abstract": "npm:1.11.4" + "@formatjs/icu-skeleton-parser": "npm:1.3.6" + tslib: "npm:^2.1.0" + checksum: d4d432df5232143e343a613a691abf4253f3e97a1fc0edc04b8dcdf2a88628f52fe5a47ed3e4c90ab20d843b6b4ac4c84cb883d040487d576181bfcae7f760f1 + languageName: node + linkType: hard + +"@formatjs/icu-skeleton-parser@npm:1.3.6": + version: 1.3.6 + resolution: "@formatjs/icu-skeleton-parser@npm:1.3.6" + dependencies: + "@formatjs/ecma402-abstract": "npm:1.11.4" + tslib: "npm:^2.1.0" + checksum: 47aed8193fb632e005a361c229725e2cd9e21844ef1c73995f2e64c67a15dd6c35897760a63af2345f1cbc1807d9ff8b3d90bc9d8c5d985ebfe877e079fdba27 + languageName: node + linkType: hard + +"@formatjs/intl-localematcher@npm:0.2.25": + version: 0.2.25 + resolution: "@formatjs/intl-localematcher@npm:0.2.25" + dependencies: + tslib: "npm:^2.1.0" + checksum: a49d5d1a09ff5d02b3c14176783f0e26978895878a35b986fafdf8ecbaa474d669eb1ee1b7a257167cb8df54d5001011d6abde691bc7f75fd123e070e87c194a + languageName: node + linkType: hard + +"@hapi/hoek@npm:^9.0.0": + version: 9.3.0 + resolution: "@hapi/hoek@npm:9.3.0" + checksum: a096063805051fb8bba4c947e293c664b05a32b47e13bc654c0dd43813a1cec993bdd8f29ceb838020299e1d0f89f68dc0d62a603c13c9cc8541963f0beca055 + languageName: node + linkType: hard + +"@hapi/topo@npm:^5.0.0": + version: 5.1.0 + resolution: "@hapi/topo@npm:5.1.0" + dependencies: + "@hapi/hoek": "npm:^9.0.0" + checksum: b16b06d9357947149e032bdf10151eb71aea8057c79c4046bf32393cb89d0d0f7ca501c40c0f7534a5ceca078de0700d2257ac855c15e59fe4e00bba2f25c86f + languageName: node + linkType: hard + "@humanwhocodes/config-array@npm:^0.11.13": version: 0.11.13 resolution: "@humanwhocodes/config-array@npm:0.11.13" @@ -1525,6 +2181,13 @@ __metadata: languageName: node linkType: hard +"@ioredis/commands@npm:^1.1.1": + version: 1.2.0 + resolution: "@ioredis/commands@npm:1.2.0" + checksum: a5d3c29dd84d8a28b7c67a441ac1715cbd7337a7b88649c0f17c345d89aa218578d2b360760017c48149ef8a70f44b051af9ac0921a0622c2b479614c4f65b36 + languageName: node + linkType: hard + "@isaacs/cliui@npm:^8.0.2": version: 8.0.2 resolution: "@isaacs/cliui@npm:8.0.2" @@ -1564,7 +2227,7 @@ __metadata: languageName: node linkType: hard -"@lit-labs/ssr-dom-shim@npm:^1.1.2, @lit-labs/ssr-dom-shim@npm:^1.1.2-pre.0": +"@lit-labs/ssr-dom-shim@npm:^1.0.0, @lit-labs/ssr-dom-shim@npm:^1.1.0, @lit-labs/ssr-dom-shim@npm:^1.1.2, @lit-labs/ssr-dom-shim@npm:^1.1.2-pre.0": version: 1.1.2 resolution: "@lit-labs/ssr-dom-shim@npm:1.1.2" checksum: e51c7c156317ac95cac8d534d8608ac2a9dda7441f14f73e9e66a995d277851a90315324fe74690d1169a66dce645ed9674a8f5a9a467d183156de1c87549b23 @@ -1589,6 +2252,15 @@ __metadata: languageName: node linkType: hard +"@lit/reactive-element@npm:^1.3.0, @lit/reactive-element@npm:^1.6.0": + version: 1.6.3 + resolution: "@lit/reactive-element@npm:1.6.3" + dependencies: + "@lit-labs/ssr-dom-shim": "npm:^1.0.0" + checksum: 10f1d25e24e32feb21c4c6f9e11d062901241602e12c4ecf746b3138f87fed4d8394194645514d5c1bfd5f33f3fd56ee8ef41344e2cb4413c40fe4961ec9d419 + languageName: node + linkType: hard + "@lit/reactive-element@npm:^1.6.2 || ^2.0.0, @lit/reactive-element@npm:^2.0.0": version: 2.0.0 resolution: "@lit/reactive-element@npm:2.0.0" @@ -1679,6 +2351,91 @@ __metadata: languageName: node linkType: hard +"@motionone/animation@npm:^10.15.1, @motionone/animation@npm:^10.17.0": + version: 10.17.0 + resolution: "@motionone/animation@npm:10.17.0" + dependencies: + "@motionone/easing": "npm:^10.17.0" + "@motionone/types": "npm:^10.17.0" + "@motionone/utils": "npm:^10.17.0" + tslib: "npm:^2.3.1" + checksum: 51873c9532ccb9f2b8475e871ba3eeebff2171bb2bd88e76bcf1fdb5bc1a7150f319c148063d17c16597038a8993c68033d918cc73a9fec40bb1f78ee8a52764 + languageName: node + linkType: hard + +"@motionone/dom@npm:^10.16.2, @motionone/dom@npm:^10.16.4": + version: 10.17.0 + resolution: "@motionone/dom@npm:10.17.0" + dependencies: + "@motionone/animation": "npm:^10.17.0" + "@motionone/generators": "npm:^10.17.0" + "@motionone/types": "npm:^10.17.0" + "@motionone/utils": "npm:^10.17.0" + hey-listen: "npm:^1.0.8" + tslib: "npm:^2.3.1" + checksum: bca972f6d60aa1462993ea1b36f0ba702c8c4644b602e460834d3a4ce88f3c7c1dcfec8810c6598e9cf502ad6d3af718a889ab1661c97ec162979fe9a0ff36ab + languageName: node + linkType: hard + +"@motionone/easing@npm:^10.17.0": + version: 10.17.0 + resolution: "@motionone/easing@npm:10.17.0" + dependencies: + "@motionone/utils": "npm:^10.17.0" + tslib: "npm:^2.3.1" + checksum: 9e82cf970cb754c44bc8226fd660c4a546aa06bb6eabb0b8be3a1466fc07920da13195e76d09d81704d059411584ba66de3bfc0192acc585a6fe352bf3e3fe22 + languageName: node + linkType: hard + +"@motionone/generators@npm:^10.17.0": + version: 10.17.0 + resolution: "@motionone/generators@npm:10.17.0" + dependencies: + "@motionone/types": "npm:^10.17.0" + "@motionone/utils": "npm:^10.17.0" + tslib: "npm:^2.3.1" + checksum: b1a951d7c20474b34d31cb199907a3ee4ae5074ff2ab49e18e54a63f5eacba6662e179a76f9b64ed7eaac5922ae934eaeca567f2a48c5a1a3ebf59cc5a43fc9f + languageName: node + linkType: hard + +"@motionone/svelte@npm:^10.16.2": + version: 10.16.4 + resolution: "@motionone/svelte@npm:10.16.4" + dependencies: + "@motionone/dom": "npm:^10.16.4" + tslib: "npm:^2.3.1" + checksum: a3f91d3ac5617ac8a2847abc0c8fad417cdc2cd9d814d60f7de2c909e4beeaf834b45a4288c8af6d26f62958a6c69714313b37ea6cd5aa2a9d1ad5198ec5881f + languageName: node + linkType: hard + +"@motionone/types@npm:^10.15.1, @motionone/types@npm:^10.17.0": + version: 10.17.0 + resolution: "@motionone/types@npm:10.17.0" + checksum: 9c91d887b368c93e860c1ff4b245d60d33966ec5bd2525ce91c4e2904c223f79333013fe06140feeab23f27ad9e8546a151e8357c5dc5218c5b658486bac3f82 + languageName: node + linkType: hard + +"@motionone/utils@npm:^10.15.1, @motionone/utils@npm:^10.17.0": + version: 10.17.0 + resolution: "@motionone/utils@npm:10.17.0" + dependencies: + "@motionone/types": "npm:^10.17.0" + hey-listen: "npm:^1.0.8" + tslib: "npm:^2.3.1" + checksum: a90dc772245fa379d522d752dcbe80b02b1fcb17da6a3f3ebc725ac0e99b7847d39f1f4a29f10cbf5e8b6157766191ba03e96c75b0fa8378e3a1c4cc8cad728a + languageName: node + linkType: hard + +"@motionone/vue@npm:^10.16.2": + version: 10.16.4 + resolution: "@motionone/vue@npm:10.16.4" + dependencies: + "@motionone/dom": "npm:^10.16.4" + tslib: "npm:^2.3.1" + checksum: 0f3096c0956848cb67c4926e65b7034d854cf704573a277679713c5a8045347c3c043f50adad0c84ee3e88c046d35ab88ec4380e5acd729f81900381e0b1fd0d + languageName: node + linkType: hard + "@noble/curves@npm:^1.2.0": version: 1.2.0 resolution: "@noble/curves@npm:1.2.0" @@ -1810,6 +2567,151 @@ __metadata: languageName: node linkType: hard +"@parcel/watcher-android-arm64@npm:2.4.0": + version: 2.4.0 + resolution: "@parcel/watcher-android-arm64@npm:2.4.0" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + +"@parcel/watcher-darwin-arm64@npm:2.4.0": + version: 2.4.0 + resolution: "@parcel/watcher-darwin-arm64@npm:2.4.0" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@parcel/watcher-darwin-x64@npm:2.4.0": + version: 2.4.0 + resolution: "@parcel/watcher-darwin-x64@npm:2.4.0" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@parcel/watcher-freebsd-x64@npm:2.4.0": + version: 2.4.0 + resolution: "@parcel/watcher-freebsd-x64@npm:2.4.0" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + +"@parcel/watcher-linux-arm-glibc@npm:2.4.0": + version: 2.4.0 + resolution: "@parcel/watcher-linux-arm-glibc@npm:2.4.0" + conditions: os=linux & cpu=arm & libc=glibc + languageName: node + linkType: hard + +"@parcel/watcher-linux-arm64-glibc@npm:2.4.0": + version: 2.4.0 + resolution: "@parcel/watcher-linux-arm64-glibc@npm:2.4.0" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@parcel/watcher-linux-arm64-musl@npm:2.4.0": + version: 2.4.0 + resolution: "@parcel/watcher-linux-arm64-musl@npm:2.4.0" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@parcel/watcher-linux-x64-glibc@npm:2.4.0": + version: 2.4.0 + resolution: "@parcel/watcher-linux-x64-glibc@npm:2.4.0" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@parcel/watcher-linux-x64-musl@npm:2.4.0": + version: 2.4.0 + resolution: "@parcel/watcher-linux-x64-musl@npm:2.4.0" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@parcel/watcher-wasm@npm:2.4.0": + version: 2.4.0 + resolution: "@parcel/watcher-wasm@npm:2.4.0" + dependencies: + is-glob: "npm:^4.0.3" + micromatch: "npm:^4.0.5" + napi-wasm: "npm:^1.1.0" + checksum: 0ede1c68fa897d97ce813b327d5039d0eb5660fd5689e3f9b95576de8dc1b7a20dedd982588bde20f73ff157a6e332f3b640a0c2b67088731a8d896ea5a1fabd + languageName: node + linkType: hard + +"@parcel/watcher-win32-arm64@npm:2.4.0": + version: 2.4.0 + resolution: "@parcel/watcher-win32-arm64@npm:2.4.0" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@parcel/watcher-win32-ia32@npm:2.4.0": + version: 2.4.0 + resolution: "@parcel/watcher-win32-ia32@npm:2.4.0" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@parcel/watcher-win32-x64@npm:2.4.0": + version: 2.4.0 + resolution: "@parcel/watcher-win32-x64@npm:2.4.0" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + +"@parcel/watcher@npm:^2.4.0": + version: 2.4.0 + resolution: "@parcel/watcher@npm:2.4.0" + dependencies: + "@parcel/watcher-android-arm64": "npm:2.4.0" + "@parcel/watcher-darwin-arm64": "npm:2.4.0" + "@parcel/watcher-darwin-x64": "npm:2.4.0" + "@parcel/watcher-freebsd-x64": "npm:2.4.0" + "@parcel/watcher-linux-arm-glibc": "npm:2.4.0" + "@parcel/watcher-linux-arm64-glibc": "npm:2.4.0" + "@parcel/watcher-linux-arm64-musl": "npm:2.4.0" + "@parcel/watcher-linux-x64-glibc": "npm:2.4.0" + "@parcel/watcher-linux-x64-musl": "npm:2.4.0" + "@parcel/watcher-win32-arm64": "npm:2.4.0" + "@parcel/watcher-win32-ia32": "npm:2.4.0" + "@parcel/watcher-win32-x64": "npm:2.4.0" + detect-libc: "npm:^1.0.3" + is-glob: "npm:^4.0.3" + micromatch: "npm:^4.0.5" + node-addon-api: "npm:^7.0.0" + node-gyp: "npm:latest" + dependenciesMeta: + "@parcel/watcher-android-arm64": + optional: true + "@parcel/watcher-darwin-arm64": + optional: true + "@parcel/watcher-darwin-x64": + optional: true + "@parcel/watcher-freebsd-x64": + optional: true + "@parcel/watcher-linux-arm-glibc": + optional: true + "@parcel/watcher-linux-arm64-glibc": + optional: true + "@parcel/watcher-linux-arm64-musl": + optional: true + "@parcel/watcher-linux-x64-glibc": + optional: true + "@parcel/watcher-linux-x64-musl": + optional: true + "@parcel/watcher-win32-arm64": + optional: true + "@parcel/watcher-win32-ia32": + optional: true + "@parcel/watcher-win32-x64": + optional: true + checksum: f8a7103d8402dceaeed6e7ceef5592ceed6c3ceed7bd747590dbf7b51ca56fd4cb26a6322d1952b4bca52acb41e9d4a13468035b371ef5d264230c4286bf4d0a + languageName: node + linkType: hard + "@pkgjs/parseargs@npm:^0.11.0": version: 0.11.0 resolution: "@pkgjs/parseargs@npm:0.11.0" @@ -2702,38 +3604,231 @@ __metadata: languageName: node linkType: hard -"@scure/bip32@npm:1.1.0": - version: 1.1.0 - resolution: "@scure/bip32@npm:1.1.0" +"@scure/bip32@npm:1.1.0": + version: 1.1.0 + resolution: "@scure/bip32@npm:1.1.0" + dependencies: + "@noble/hashes": "npm:~1.1.1" + "@noble/secp256k1": "npm:~1.6.0" + "@scure/base": "npm:~1.1.0" + checksum: 2eee4940db66b926cd0f7961bbd1d5201da1ad718aaca75e4651feb846f94bf89d71d64fb3dab6a88aef40514e57bb98779494cc4a3b3f1b7bdf41e36a1d4118 + languageName: node + linkType: hard + +"@scure/bip39@npm:1.1.0": + version: 1.1.0 + resolution: "@scure/bip39@npm:1.1.0" + dependencies: + "@noble/hashes": "npm:~1.1.1" + "@scure/base": "npm:~1.1.0" + checksum: f6fc291b03155742daf9861482a13d9108ee6e9a32cb4cec34f7e424b8bf2a21cee73e4e4ef464911c4c0fa3906fefcf1bf0208127a878b5f02b6e50647fbbe8 + languageName: node + linkType: hard + +"@sideway/address@npm:^4.1.3": + version: 4.1.5 + resolution: "@sideway/address@npm:4.1.5" + dependencies: + "@hapi/hoek": "npm:^9.0.0" + checksum: 638eb6f7e7dba209053dd6c8da74d7cc995e2b791b97644d0303a7dd3119263bcb7225a4f6804d4db2bc4f96e5a9d262975a014f58eae4d1753c27cbc96ef959 + languageName: node + linkType: hard + +"@sideway/formula@npm:^3.0.1": + version: 3.0.1 + resolution: "@sideway/formula@npm:3.0.1" + checksum: 3fe81fa9662efc076bf41612b060eb9b02e846ea4bea5bd114f1662b7f1541e9dedcf98aff0d24400bcb92f113964a50e0290b86e284edbdf6346fa9b7e2bf2c + languageName: node + linkType: hard + +"@sideway/pinpoint@npm:^2.0.0": + version: 2.0.0 + resolution: "@sideway/pinpoint@npm:2.0.0" + checksum: d2ca75dacaf69b8fc0bb8916a204e01def3105ee44d8be16c355e5f58189eb94039e15ce831f3d544f229889ccfa35562a0ce2516179f3a7ee1bbe0b71e55b36 + languageName: node + linkType: hard + +"@sinclair/typebox@npm:^0.27.8": + version: 0.27.8 + resolution: "@sinclair/typebox@npm:0.27.8" + checksum: ef6351ae073c45c2ac89494dbb3e1f87cc60a93ce4cde797b782812b6f97da0d620ae81973f104b43c9b7eaa789ad20ba4f6a1359f1cc62f63729a55a7d22d4e + languageName: node + linkType: hard + +"@sindresorhus/is@npm:^4.0.0, @sindresorhus/is@npm:^4.6.0": + version: 4.6.0 + resolution: "@sindresorhus/is@npm:4.6.0" + checksum: 33b6fb1d0834ec8dd7689ddc0e2781c2bfd8b9c4e4bacbcb14111e0ae00621f2c264b8a7d36541799d74888b5dccdf422a891a5cb5a709ace26325eedc81e22e + languageName: node + linkType: hard + +"@stablelib/aead@npm:^1.0.1": + version: 1.0.1 + resolution: "@stablelib/aead@npm:1.0.1" + checksum: 8ec16795a6f94264f93514661e024c5b0434d75000ea133923c57f0db30eab8ddc74fa35f5ff1ae4886803a8b92e169b828512c9e6bc02c818688d0f5b9f5aef + languageName: node + linkType: hard + +"@stablelib/binary@npm:^1.0.1": + version: 1.0.1 + resolution: "@stablelib/binary@npm:1.0.1" + dependencies: + "@stablelib/int": "npm:^1.0.1" + checksum: 154cb558d8b7c20ca5dc2e38abca2a3716ce36429bf1b9c298939cea0929766ed954feb8a9c59245ac64c923d5d3466bb7d99f281debd3a9d561e1279b11cd35 + languageName: node + linkType: hard + +"@stablelib/bytes@npm:^1.0.1": + version: 1.0.1 + resolution: "@stablelib/bytes@npm:1.0.1" + checksum: ee99bb15dac2f4ae1aa4e7a571e76483617a441feff422442f293993bc8b2c7ef021285c98f91a043bc05fb70502457799e28ffd43a8564a17913ee5ce889237 + languageName: node + linkType: hard + +"@stablelib/chacha20poly1305@npm:1.0.1": + version: 1.0.1 + resolution: "@stablelib/chacha20poly1305@npm:1.0.1" + dependencies: + "@stablelib/aead": "npm:^1.0.1" + "@stablelib/binary": "npm:^1.0.1" + "@stablelib/chacha": "npm:^1.0.1" + "@stablelib/constant-time": "npm:^1.0.1" + "@stablelib/poly1305": "npm:^1.0.1" + "@stablelib/wipe": "npm:^1.0.1" + checksum: fe202aa8aface111c72bc9ec099f9c36a7b1470eda9834e436bb228618a704929f095b937f04e867fe4d5c40216ff089cbfeb2eeb092ab33af39ff333eb2c1e6 + languageName: node + linkType: hard + +"@stablelib/chacha@npm:^1.0.1": + version: 1.0.1 + resolution: "@stablelib/chacha@npm:1.0.1" + dependencies: + "@stablelib/binary": "npm:^1.0.1" + "@stablelib/wipe": "npm:^1.0.1" + checksum: 4d70b484ae89416d21504024f977f5517bf16b344b10fb98382c9e3e52fe8ca77ac65f5d6a358d8b152f2c9ffed101a1eb15ed1707cdf906e1b6624db78d2d16 + languageName: node + linkType: hard + +"@stablelib/constant-time@npm:^1.0.1": + version: 1.0.1 + resolution: "@stablelib/constant-time@npm:1.0.1" + checksum: 694a282441215735a1fdfa3d06db5a28ba92423890967a154514ef28e0d0298ce7b6a2bc65ebc4273573d6669a6b601d330614747aa2e69078c1d523d7069e12 + languageName: node + linkType: hard + +"@stablelib/ed25519@npm:^1.0.2": + version: 1.0.3 + resolution: "@stablelib/ed25519@npm:1.0.3" + dependencies: + "@stablelib/random": "npm:^1.0.2" + "@stablelib/sha512": "npm:^1.0.1" + "@stablelib/wipe": "npm:^1.0.1" + checksum: b4a05e3c24dabd8a9e0b5bd72dea761bfb4b5c66404308e9f0529ef898e75d6f588234920762d5372cb920d9d47811250160109f02d04b6eed53835fb6916eb9 + languageName: node + linkType: hard + +"@stablelib/hash@npm:^1.0.1": + version: 1.0.1 + resolution: "@stablelib/hash@npm:1.0.1" + checksum: 58b5572a4067820b77a1606ed2d4a6dc4068c5475f68ba0918860a5f45adf60b33024a0cea9532dcd8b7345c53b3c9636a23723f5f8ae83e0c3648f91fb5b5cc + languageName: node + linkType: hard + +"@stablelib/hkdf@npm:1.0.1": + version: 1.0.1 + resolution: "@stablelib/hkdf@npm:1.0.1" + dependencies: + "@stablelib/hash": "npm:^1.0.1" + "@stablelib/hmac": "npm:^1.0.1" + "@stablelib/wipe": "npm:^1.0.1" + checksum: 722d30e36afa8029fda2a9e8c65ad753deff92a234e708820f9fd39309d2494e1c035a4185f29ae8d7fbf8a74862b27128c66a1fb4bd7a792bd300190080dbe9 + languageName: node + linkType: hard + +"@stablelib/hmac@npm:^1.0.1": + version: 1.0.1 + resolution: "@stablelib/hmac@npm:1.0.1" + dependencies: + "@stablelib/constant-time": "npm:^1.0.1" + "@stablelib/hash": "npm:^1.0.1" + "@stablelib/wipe": "npm:^1.0.1" + checksum: a111d5e687966b62c81f7dbd390f13582b027edee9bd39df6474a6472e5ad89d705e735af32bae2c9280a205806649f54b5ff8c4e8c8a7b484083a35b257e9e6 + languageName: node + linkType: hard + +"@stablelib/int@npm:^1.0.1": + version: 1.0.1 + resolution: "@stablelib/int@npm:1.0.1" + checksum: e1a6a7792fc2146d65de56e4ef42e8bc385dd5157eff27019b84476f564a1a6c43413235ed0e9f7c9bb8907dbdab24679467aeb10f44c92e6b944bcd864a7ee0 + languageName: node + linkType: hard + +"@stablelib/keyagreement@npm:^1.0.1": + version: 1.0.1 + resolution: "@stablelib/keyagreement@npm:1.0.1" + dependencies: + "@stablelib/bytes": "npm:^1.0.1" + checksum: 18c9e09772a058edee265c65992ec37abe4ab5118171958972e28f3bbac7f2a0afa6aaf152ec1d785452477bdab5366b3f5b750e8982ae9ad090f5fa2e5269ba + languageName: node + linkType: hard + +"@stablelib/poly1305@npm:^1.0.1": + version: 1.0.1 + resolution: "@stablelib/poly1305@npm:1.0.1" + dependencies: + "@stablelib/constant-time": "npm:^1.0.1" + "@stablelib/wipe": "npm:^1.0.1" + checksum: 080185ffa92f5111e6ecfeab7919368b9984c26d048b9c09a111fbc657ea62bb5dfe6b56245e1804ce692a445cc93ab6625936515fa0e7518b8f2d86feda9630 + languageName: node + linkType: hard + +"@stablelib/random@npm:^1.0.1, @stablelib/random@npm:^1.0.2": + version: 1.0.2 + resolution: "@stablelib/random@npm:1.0.2" + dependencies: + "@stablelib/binary": "npm:^1.0.1" + "@stablelib/wipe": "npm:^1.0.1" + checksum: ebb217cfb76db97d98ec07bd7ce03a650fa194b91f0cb12382738161adff1830f405de0e9bad22bbc352422339ff85f531873b6a874c26ea9b59cfcc7ea787e0 + languageName: node + linkType: hard + +"@stablelib/sha256@npm:1.0.1": + version: 1.0.1 + resolution: "@stablelib/sha256@npm:1.0.1" dependencies: - "@noble/hashes": "npm:~1.1.1" - "@noble/secp256k1": "npm:~1.6.0" - "@scure/base": "npm:~1.1.0" - checksum: 2eee4940db66b926cd0f7961bbd1d5201da1ad718aaca75e4651feb846f94bf89d71d64fb3dab6a88aef40514e57bb98779494cc4a3b3f1b7bdf41e36a1d4118 + "@stablelib/binary": "npm:^1.0.1" + "@stablelib/hash": "npm:^1.0.1" + "@stablelib/wipe": "npm:^1.0.1" + checksum: e29ee9bc76eece4345e9155ce4bdeeb1df8652296be72bd2760523ad565e3b99dca85b81db3b75ee20b34837077eb8542ca88f153f162154c62ba1f75aecc24a languageName: node linkType: hard -"@scure/bip39@npm:1.1.0": - version: 1.1.0 - resolution: "@scure/bip39@npm:1.1.0" +"@stablelib/sha512@npm:^1.0.1": + version: 1.0.1 + resolution: "@stablelib/sha512@npm:1.0.1" dependencies: - "@noble/hashes": "npm:~1.1.1" - "@scure/base": "npm:~1.1.0" - checksum: f6fc291b03155742daf9861482a13d9108ee6e9a32cb4cec34f7e424b8bf2a21cee73e4e4ef464911c4c0fa3906fefcf1bf0208127a878b5f02b6e50647fbbe8 + "@stablelib/binary": "npm:^1.0.1" + "@stablelib/hash": "npm:^1.0.1" + "@stablelib/wipe": "npm:^1.0.1" + checksum: 84549070a383f4daf23d9065230eb81bc8f590c68bf5f7968f1b78901236b3bb387c14f63773dc6c3dc78e823b1c15470d2a04d398a2506391f466c16ba29b58 languageName: node linkType: hard -"@sinclair/typebox@npm:^0.27.8": - version: 0.27.8 - resolution: "@sinclair/typebox@npm:0.27.8" - checksum: ef6351ae073c45c2ac89494dbb3e1f87cc60a93ce4cde797b782812b6f97da0d620ae81973f104b43c9b7eaa789ad20ba4f6a1359f1cc62f63729a55a7d22d4e +"@stablelib/wipe@npm:^1.0.1": + version: 1.0.1 + resolution: "@stablelib/wipe@npm:1.0.1" + checksum: c5a54f769c286a5b3ecff979471dfccd4311f2e84a959908e8c0e3aa4eed1364bd9707f7b69d1384b757e62cc295c221fa27286c7f782410eb8a690f30cfd796 languageName: node linkType: hard -"@sindresorhus/is@npm:^4.0.0, @sindresorhus/is@npm:^4.6.0": - version: 4.6.0 - resolution: "@sindresorhus/is@npm:4.6.0" - checksum: 33b6fb1d0834ec8dd7689ddc0e2781c2bfd8b9c4e4bacbcb14111e0ae00621f2c264b8a7d36541799d74888b5dccdf422a891a5cb5a709ace26325eedc81e22e +"@stablelib/x25519@npm:^1.0.3": + version: 1.0.3 + resolution: "@stablelib/x25519@npm:1.0.3" + dependencies: + "@stablelib/keyagreement": "npm:^1.0.1" + "@stablelib/random": "npm:^1.0.2" + "@stablelib/wipe": "npm:^1.0.1" + checksum: d8afe8a120923a434359d7d1c6759780426fed117a84a6c0f84d1a4878834cb4c2d7da78a1fa7cf227ce3924fdc300cd6ed6e46cf2508bf17b1545c319ab8418 languageName: node linkType: hard @@ -3513,6 +4608,323 @@ __metadata: languageName: node linkType: hard +"@walletconnect/core@npm:2.11.0": + version: 2.11.0 + resolution: "@walletconnect/core@npm:2.11.0" + dependencies: + "@walletconnect/heartbeat": "npm:1.2.1" + "@walletconnect/jsonrpc-provider": "npm:1.0.13" + "@walletconnect/jsonrpc-types": "npm:1.0.3" + "@walletconnect/jsonrpc-utils": "npm:1.0.8" + "@walletconnect/jsonrpc-ws-connection": "npm:1.0.14" + "@walletconnect/keyvaluestorage": "npm:^1.1.1" + "@walletconnect/logger": "npm:^2.0.1" + "@walletconnect/relay-api": "npm:^1.0.9" + "@walletconnect/relay-auth": "npm:^1.0.4" + "@walletconnect/safe-json": "npm:^1.0.2" + "@walletconnect/time": "npm:^1.0.2" + "@walletconnect/types": "npm:2.11.0" + "@walletconnect/utils": "npm:2.11.0" + events: "npm:^3.3.0" + isomorphic-unfetch: "npm:3.1.0" + lodash.isequal: "npm:4.5.0" + uint8arrays: "npm:^3.1.0" + checksum: 673a9f3127a69a03de8de9626365b157ad6ce272b9ee04d3f67802685861f9f3ee748686662122d27212223f66054c49f0bf392f97e2fd18fab74789d0a87246 + languageName: node + linkType: hard + +"@walletconnect/environment@npm:^1.0.1": + version: 1.0.1 + resolution: "@walletconnect/environment@npm:1.0.1" + dependencies: + tslib: "npm:1.14.1" + checksum: 08eacce6452950a17f4209c443bd4db6bf7bddfc860593bdbd49edda9d08821696dee79e5617a954fbe90ff32c1d1f1691ef0c77455ed3e4201b328856a5e2f7 + languageName: node + linkType: hard + +"@walletconnect/ethereum-provider@npm:^2.11.0": + version: 2.11.0 + resolution: "@walletconnect/ethereum-provider@npm:2.11.0" + dependencies: + "@walletconnect/jsonrpc-http-connection": "npm:^1.0.7" + "@walletconnect/jsonrpc-provider": "npm:^1.0.13" + "@walletconnect/jsonrpc-types": "npm:^1.0.3" + "@walletconnect/jsonrpc-utils": "npm:^1.0.8" + "@walletconnect/modal": "npm:^2.6.2" + "@walletconnect/sign-client": "npm:2.11.0" + "@walletconnect/types": "npm:2.11.0" + "@walletconnect/universal-provider": "npm:2.11.0" + "@walletconnect/utils": "npm:2.11.0" + events: "npm:^3.3.0" + checksum: 7aaa416dfd96de32d0e44baba411c61c518a31bd067f8070b253da2adf9905bc0bd6589a75eb9b5cc12877027798f1e084d1782c26e831221fdbe8013b625a63 + languageName: node + linkType: hard + +"@walletconnect/events@npm:^1.0.1": + version: 1.0.1 + resolution: "@walletconnect/events@npm:1.0.1" + dependencies: + keyvaluestorage-interface: "npm:^1.0.0" + tslib: "npm:1.14.1" + checksum: 919a97e1dacf7096aefe07af810362cfc190533a576dcfa21387295d825a3c3d5f90bedee73235b1b343f5c696f242d7bffc5ea3359d3833541349ca23f50df8 + languageName: node + linkType: hard + +"@walletconnect/heartbeat@npm:1.2.1": + version: 1.2.1 + resolution: "@walletconnect/heartbeat@npm:1.2.1" + dependencies: + "@walletconnect/events": "npm:^1.0.1" + "@walletconnect/time": "npm:^1.0.2" + tslib: "npm:1.14.1" + checksum: 5ad46f26dcb7b9b3227f004cd74b18741d4cd32c21825a036eb03985c67a0cf859c285bc5635401966a99129e854d72de3458ff592370575ef7e52f5dd12ebbc + languageName: node + linkType: hard + +"@walletconnect/jsonrpc-http-connection@npm:^1.0.7": + version: 1.0.7 + resolution: "@walletconnect/jsonrpc-http-connection@npm:1.0.7" + dependencies: + "@walletconnect/jsonrpc-utils": "npm:^1.0.6" + "@walletconnect/safe-json": "npm:^1.0.1" + cross-fetch: "npm:^3.1.4" + tslib: "npm:1.14.1" + checksum: 24272eca0d2b20397b2c83ecaac324cbc857fab4a4c2699332ea5c8b81096b1cf4a3c60f51c82ca9e98ab87a213c04bf047037478b089effabe0139005c71867 + languageName: node + linkType: hard + +"@walletconnect/jsonrpc-provider@npm:1.0.13, @walletconnect/jsonrpc-provider@npm:^1.0.13": + version: 1.0.13 + resolution: "@walletconnect/jsonrpc-provider@npm:1.0.13" + dependencies: + "@walletconnect/jsonrpc-utils": "npm:^1.0.8" + "@walletconnect/safe-json": "npm:^1.0.2" + tslib: "npm:1.14.1" + checksum: 9b5b2f0ce516d2ddebe2cd1a2c8ea18a6b765b0d068162caf39745c18534e264a0cc6198adb869ba8684d0efa563be30956a3b9a7cc82b80b9e263f6211e30ab + languageName: node + linkType: hard + +"@walletconnect/jsonrpc-types@npm:1.0.3, @walletconnect/jsonrpc-types@npm:^1.0.2, @walletconnect/jsonrpc-types@npm:^1.0.3": + version: 1.0.3 + resolution: "@walletconnect/jsonrpc-types@npm:1.0.3" + dependencies: + keyvaluestorage-interface: "npm:^1.0.0" + tslib: "npm:1.14.1" + checksum: a0fc8a88c62795bf4bf83d4e98a4e2cdd659ef70c73642582089fdf0994c54fd8050aa6cca85cfdcca6b77994e71334895e7a19649c325a8c822b059c2003884 + languageName: node + linkType: hard + +"@walletconnect/jsonrpc-utils@npm:1.0.8, @walletconnect/jsonrpc-utils@npm:^1.0.6, @walletconnect/jsonrpc-utils@npm:^1.0.7, @walletconnect/jsonrpc-utils@npm:^1.0.8": + version: 1.0.8 + resolution: "@walletconnect/jsonrpc-utils@npm:1.0.8" + dependencies: + "@walletconnect/environment": "npm:^1.0.1" + "@walletconnect/jsonrpc-types": "npm:^1.0.3" + tslib: "npm:1.14.1" + checksum: e4a6bd801cf555bca775e03d961d1fe5ad0a22838e3496adda43ab4020a73d1b38de7096c06940e51f00fccccc734cd422fe4f1f7a8682302467b9c4d2a93d5d + languageName: node + linkType: hard + +"@walletconnect/jsonrpc-ws-connection@npm:1.0.14": + version: 1.0.14 + resolution: "@walletconnect/jsonrpc-ws-connection@npm:1.0.14" + dependencies: + "@walletconnect/jsonrpc-utils": "npm:^1.0.6" + "@walletconnect/safe-json": "npm:^1.0.2" + events: "npm:^3.3.0" + ws: "npm:^7.5.1" + checksum: a710ecc51f8d3ed819ba6d6e53151ef274473aa8746ffdeaffaa3d4c020405bc694b0d179649fc2510a556eb4daf02f4a9e3dacef69ff95f673939bd67be649e + languageName: node + linkType: hard + +"@walletconnect/keyvaluestorage@npm:^1.1.1": + version: 1.1.1 + resolution: "@walletconnect/keyvaluestorage@npm:1.1.1" + dependencies: + "@walletconnect/safe-json": "npm:^1.0.1" + idb-keyval: "npm:^6.2.1" + unstorage: "npm:^1.9.0" + peerDependencies: + "@react-native-async-storage/async-storage": 1.x + peerDependenciesMeta: + "@react-native-async-storage/async-storage": + optional: true + checksum: de2ec39d09ce99370865f7d7235b93c42b3e4fd3406bdbc644329eff7faea2722618aa88ffc4ee7d20b1d6806a8331261b65568187494cbbcceeedbe79dc30e8 + languageName: node + linkType: hard + +"@walletconnect/logger@npm:^2.0.1": + version: 2.0.1 + resolution: "@walletconnect/logger@npm:2.0.1" + dependencies: + pino: "npm:7.11.0" + tslib: "npm:1.14.1" + checksum: 1778686f608f03bc8a67fb560a2694e8aef74b392811508e98cc158d1839a1bb0a0256eb2ed719c4ee17e65a11543ddc4f9059d3bdd5dddcca6359ba1bab18bd + languageName: node + linkType: hard + +"@walletconnect/modal-core@npm:2.6.2": + version: 2.6.2 + resolution: "@walletconnect/modal-core@npm:2.6.2" + dependencies: + valtio: "npm:1.11.2" + checksum: 5e3fb21a1fc923ec0d2a3e33cc360e3d56278a211609d5fd4cc4d6e3b4f1acb40b9783fcc771b259b78c7e731af3862def096aa1da2e210e7859729808304c94 + languageName: node + linkType: hard + +"@walletconnect/modal-ui@npm:2.6.2": + version: 2.6.2 + resolution: "@walletconnect/modal-ui@npm:2.6.2" + dependencies: + "@walletconnect/modal-core": "npm:2.6.2" + lit: "npm:2.8.0" + motion: "npm:10.16.2" + qrcode: "npm:1.5.3" + checksum: 5d8f0a2703b9757dfa48ad3e48a40e64608f6a28db31ec93a2f10e942dcc5ee986c03ffdab94018e905836d339131fc928bc14614a94943011868cdddc36a32a + languageName: node + linkType: hard + +"@walletconnect/modal@npm:^2.6.2": + version: 2.6.2 + resolution: "@walletconnect/modal@npm:2.6.2" + dependencies: + "@walletconnect/modal-core": "npm:2.6.2" + "@walletconnect/modal-ui": "npm:2.6.2" + checksum: 1cc309f63d061e49fdf7b10d28093d7ef1a47f4624f717f8fd3bf6097ac3b00cea4acc45c50e8bd386d4bcfdf10f4dcba960f7129c557b9dc42ef7d05b970807 + languageName: node + linkType: hard + +"@walletconnect/relay-api@npm:^1.0.9": + version: 1.0.9 + resolution: "@walletconnect/relay-api@npm:1.0.9" + dependencies: + "@walletconnect/jsonrpc-types": "npm:^1.0.2" + tslib: "npm:1.14.1" + checksum: e5994c63619b89cae45428108857389536f3c7e43a92f324a8ef305f351cf125dcfafeb9c480f23798c162ca2cad7b8f91828bae28a84cf869c3e7ee1dcca9dd + languageName: node + linkType: hard + +"@walletconnect/relay-auth@npm:^1.0.4": + version: 1.0.4 + resolution: "@walletconnect/relay-auth@npm:1.0.4" + dependencies: + "@stablelib/ed25519": "npm:^1.0.2" + "@stablelib/random": "npm:^1.0.1" + "@walletconnect/safe-json": "npm:^1.0.1" + "@walletconnect/time": "npm:^1.0.2" + tslib: "npm:1.14.1" + uint8arrays: "npm:^3.0.0" + checksum: e90294ff718c5c1e49751a28916aaac45dd07d694f117052506309eb05b68cc2c72d9b302366e40d79ef952c22bd0bbea731d09633a6663b0ab8e18b4804a832 + languageName: node + linkType: hard + +"@walletconnect/safe-json@npm:^1.0.1, @walletconnect/safe-json@npm:^1.0.2": + version: 1.0.2 + resolution: "@walletconnect/safe-json@npm:1.0.2" + dependencies: + tslib: "npm:1.14.1" + checksum: 8689072018c1ff7ab58eca67bd6f06b53702738d8183d67bfe6ed220aeac804e41901b8ee0fb14299e83c70093fafb90a90992202d128d53b2832bb01b591752 + languageName: node + linkType: hard + +"@walletconnect/sign-client@npm:2.11.0": + version: 2.11.0 + resolution: "@walletconnect/sign-client@npm:2.11.0" + dependencies: + "@walletconnect/core": "npm:2.11.0" + "@walletconnect/events": "npm:^1.0.1" + "@walletconnect/heartbeat": "npm:1.2.1" + "@walletconnect/jsonrpc-utils": "npm:1.0.8" + "@walletconnect/logger": "npm:^2.0.1" + "@walletconnect/time": "npm:^1.0.2" + "@walletconnect/types": "npm:2.11.0" + "@walletconnect/utils": "npm:2.11.0" + events: "npm:^3.3.0" + checksum: 92b8d66248b805849b70f35adc7f55bd7c9d6f35f5e980b1e90d71a86b008e43527b2dd8e47860d080cf296dcdf9ecfecb604b75ea0a1164c715dce4f66dadd0 + languageName: node + linkType: hard + +"@walletconnect/time@npm:^1.0.2": + version: 1.0.2 + resolution: "@walletconnect/time@npm:1.0.2" + dependencies: + tslib: "npm:1.14.1" + checksum: 6317f93086e36daa3383cab4a8579c7d0bed665fb0f8e9016575200314e9ba5e61468f66142a7bb5b8489bb4c9250196576d90a60b6b00e0e856b5d0ab6ba474 + languageName: node + linkType: hard + +"@walletconnect/types@npm:2.11.0": + version: 2.11.0 + resolution: "@walletconnect/types@npm:2.11.0" + dependencies: + "@walletconnect/events": "npm:^1.0.1" + "@walletconnect/heartbeat": "npm:1.2.1" + "@walletconnect/jsonrpc-types": "npm:1.0.3" + "@walletconnect/keyvaluestorage": "npm:^1.1.1" + "@walletconnect/logger": "npm:^2.0.1" + events: "npm:^3.3.0" + checksum: 7fa2493d8a9c938821f5234b4d2a087f903359875925a7abea3a0640aa765886c01b4846bbe5e39923b48883f7fd92c3f4ff8e643c4c894c50e9f715b3a881d8 + languageName: node + linkType: hard + +"@walletconnect/universal-provider@npm:2.11.0": + version: 2.11.0 + resolution: "@walletconnect/universal-provider@npm:2.11.0" + dependencies: + "@walletconnect/jsonrpc-http-connection": "npm:^1.0.7" + "@walletconnect/jsonrpc-provider": "npm:1.0.13" + "@walletconnect/jsonrpc-types": "npm:^1.0.2" + "@walletconnect/jsonrpc-utils": "npm:^1.0.7" + "@walletconnect/logger": "npm:^2.0.1" + "@walletconnect/sign-client": "npm:2.11.0" + "@walletconnect/types": "npm:2.11.0" + "@walletconnect/utils": "npm:2.11.0" + events: "npm:^3.3.0" + checksum: 78a3a16ef7a539caae0796745d80b211a918570bb2476ae064a56537e6aa1d038f53ed86588afd7f62cb833b2c690d9da3fee859a4a1926a79df79dd1f5176a9 + languageName: node + linkType: hard + +"@walletconnect/utils@npm:2.11.0": + version: 2.11.0 + resolution: "@walletconnect/utils@npm:2.11.0" + dependencies: + "@stablelib/chacha20poly1305": "npm:1.0.1" + "@stablelib/hkdf": "npm:1.0.1" + "@stablelib/random": "npm:^1.0.2" + "@stablelib/sha256": "npm:1.0.1" + "@stablelib/x25519": "npm:^1.0.3" + "@walletconnect/relay-api": "npm:^1.0.9" + "@walletconnect/safe-json": "npm:^1.0.2" + "@walletconnect/time": "npm:^1.0.2" + "@walletconnect/types": "npm:2.11.0" + "@walletconnect/window-getters": "npm:^1.0.1" + "@walletconnect/window-metadata": "npm:^1.0.1" + detect-browser: "npm:5.3.0" + query-string: "npm:7.1.3" + uint8arrays: "npm:^3.1.0" + checksum: 2219408f2a9bbca8d263a89dd54ae3e466f6d4b32b6b25f253d7f84f7e58c5836f4a08ab287c2d9ab5446c727624821597fa16d64d8c5ca748f8e1cba729a929 + languageName: node + linkType: hard + +"@walletconnect/window-getters@npm:^1.0.1": + version: 1.0.1 + resolution: "@walletconnect/window-getters@npm:1.0.1" + dependencies: + tslib: "npm:1.14.1" + checksum: c3aedba77aa9274b8277c4189ec992a0a6000377e95656443b3872ca5b5fe77dd91170b1695027fc524dc20362ce89605d277569a0d9a5bedc841cdaf14c95df + languageName: node + linkType: hard + +"@walletconnect/window-metadata@npm:^1.0.1": + version: 1.0.1 + resolution: "@walletconnect/window-metadata@npm:1.0.1" + dependencies: + "@walletconnect/window-getters": "npm:^1.0.1" + tslib: "npm:1.14.1" + checksum: f190e9bed77282d8ba868a4895f4d813e135f9bbecb8dd4aed988ab1b06992f78128ac19d7d073cf41d8a6a74d0c055cd725908ce0a894649fd25443ad934cf4 + languageName: node + linkType: hard + "@web/browser-logs@npm:^0.4.0": version: 0.4.0 resolution: "@web/browser-logs@npm:0.4.0" @@ -3602,6 +5014,61 @@ __metadata: languageName: node linkType: hard +"@web3-onboard/common@npm:^2.3.3": + version: 2.3.3 + resolution: "@web3-onboard/common@npm:2.3.3" + dependencies: + bignumber.js: "npm:^9.1.0" + ethers: "npm:5.5.4" + joi: "npm:17.9.1" + checksum: 6122ea5fa02f5e6665d9ed8e6d11692b49efb185eedc6db6c3ebfc0b4404efa331c777f42a223e40bd3dd266659d0305a88af2ce394889cee14486618e0c1b5f + languageName: node + linkType: hard + +"@web3-onboard/core@npm:^2.21.2": + version: 2.21.2 + resolution: "@web3-onboard/core@npm:2.21.2" + dependencies: + "@web3-onboard/common": "npm:^2.3.3" + bignumber.js: "npm:^9.0.0" + bnc-sdk: "npm:^4.6.7" + bowser: "npm:^2.11.0" + ethers: "npm:5.5.3" + eventemitter3: "npm:^4.0.7" + joi: "npm:17.9.1" + lodash.merge: "npm:^4.6.2" + lodash.partition: "npm:^4.6.0" + nanoid: "npm:^4.0.0" + rxjs: "npm:^7.5.5" + svelte: "npm:^3.49.0" + svelte-i18n: "npm:^3.3.13" + checksum: fbbc1ca9b6744f694a2383a5d2caa20c695040388e7ecfa4fbff4cb1eb1ad38637a3d2af6202b199ae0e4c320875b344f0997ee67fa64a892a0f3d91c0c0a7fc + languageName: node + linkType: hard + +"@web3-onboard/injected-wallets@npm:^2.10.11": + version: 2.10.11 + resolution: "@web3-onboard/injected-wallets@npm:2.10.11" + dependencies: + "@web3-onboard/common": "npm:^2.3.3" + joi: "npm:17.9.1" + lodash.uniqby: "npm:^4.7.0" + checksum: 1f2f95573893898c74c89263ffa3083ec0dd7e6a52b5efa506b523c7d287529aa2dc426e7ffc610d059bfbbb24f6da4c4cc610714b83de04a59474023d93f7f9 + languageName: node + linkType: hard + +"@web3-onboard/walletconnect@npm:^2.5.3": + version: 2.5.3 + resolution: "@web3-onboard/walletconnect@npm:2.5.3" + dependencies: + "@walletconnect/ethereum-provider": "npm:^2.11.0" + "@web3-onboard/common": "npm:^2.3.3" + joi: "npm:17.9.1" + rxjs: "npm:^7.5.2" + checksum: 81d9ee0c91253540c66117f34d053e35a8c9ce956efe8465ae8bd0475fb4de7a7c65fdd1c038578f642d39b428d9b1ac1592fbc70b32e10950837198285db5ff + languageName: node + linkType: hard + "abbrev@npm:^2.0.0": version: 2.0.0 resolution: "abbrev@npm:2.0.0" @@ -3771,7 +5238,7 @@ __metadata: languageName: node linkType: hard -"anymatch@npm:~3.1.2": +"anymatch@npm:^3.1.3, anymatch@npm:~3.1.2": version: 3.1.3 resolution: "anymatch@npm:3.1.3" dependencies: @@ -3964,6 +5431,13 @@ __metadata: languageName: node linkType: hard +"atomic-sleep@npm:^1.0.0": + version: 1.0.0 + resolution: "atomic-sleep@npm:1.0.0" + checksum: e329a6665512736a9bbb073e1761b4ec102f7926cce35037753146a9db9c8104f5044c1662e4a863576ce544fb8be27cd2be6bc8c1a40147d03f31eb1cfb6e8a + languageName: node + linkType: hard + "available-typed-arrays@npm:^1.0.5": version: 1.0.5 resolution: "available-typed-arrays@npm:1.0.5" @@ -4103,7 +5577,7 @@ __metadata: languageName: node linkType: hard -"bignumber.js@npm:^9.0.0": +"bignumber.js@npm:^9.0.0, bignumber.js@npm:^9.1.0": version: 9.1.2 resolution: "bignumber.js@npm:9.1.2" checksum: e17786545433f3110b868725c449fa9625366a6e675cd70eb39b60938d6adbd0158cb4b3ad4f306ce817165d37e63f4aa3098ba4110db1d9a3b9f66abfbaf10d @@ -4152,6 +5626,18 @@ __metadata: languageName: node linkType: hard +"bnc-sdk@npm:^4.6.7": + version: 4.6.7 + resolution: "bnc-sdk@npm:4.6.7" + dependencies: + crypto-es: "npm:^1.2.2" + nanoid: "npm:^3.3.1" + rxjs: "npm:^6.6.3" + sturdy-websocket: "npm:^0.1.12" + checksum: 9be69c782cef196a550e1d69bf7c62302a2928de30dce83a7083940415e27ebc8279932ef0608fd3597b946afad3b70149ab6b2fd97772cd9e51213b32d78084 + languageName: node + linkType: hard + "body-parser@npm:1.20.1": version: 1.20.1 resolution: "body-parser@npm:1.20.1" @@ -4192,6 +5678,13 @@ __metadata: languageName: node linkType: hard +"bowser@npm:^2.11.0": + version: 2.11.0 + resolution: "bowser@npm:2.11.0" + checksum: 04efeecc7927a9ec33c667fa0965dea19f4ac60b3fea60793c2e6cf06c1dcd2f7ae1dbc656f450c5f50783b1c75cf9dc173ba6f3b7db2feee01f8c4b793e1bd3 + languageName: node + linkType: hard + "bplist-parser@npm:^0.2.0": version: 0.2.0 resolution: "bplist-parser@npm:0.2.0" @@ -4427,6 +5920,13 @@ __metadata: languageName: node linkType: hard +"camelcase@npm:^5.0.0": + version: 5.3.1 + resolution: "camelcase@npm:5.3.1" + checksum: 92ff9b443bfe8abb15f2b1513ca182d16126359ad4f955ebc83dc4ddcc4ef3fdd2c078bc223f2673dc223488e75c99b16cc4d056624374b799e6a1555cf61b23 + languageName: node + linkType: hard + "caniuse-lite@npm:^1.0.30001541": version: 1.0.30001553 resolution: "caniuse-lite@npm:1.0.30001553" @@ -4495,7 +5995,7 @@ __metadata: languageName: node linkType: hard -"chokidar@npm:^3.4.3": +"chokidar@npm:^3.4.3, chokidar@npm:^3.5.3": version: 3.5.3 resolution: "chokidar@npm:3.5.3" dependencies: @@ -4551,6 +6051,15 @@ __metadata: languageName: node linkType: hard +"citty@npm:^0.1.5": + version: 0.1.5 + resolution: "citty@npm:0.1.5" + dependencies: + consola: "npm:^3.2.3" + checksum: 58b5eea5f45f8711de7ddf4d0514d90e8c8b4ad16837e1c4e3f31224306baa638467acadad011d760abae4753b598402ed3651256bed063d02a76f949efa7b42 + languageName: node + linkType: hard + "class-is@npm:^1.1.0": version: 1.1.0 resolution: "class-is@npm:1.1.0" @@ -4565,6 +6074,19 @@ __metadata: languageName: node linkType: hard +"cli-color@npm:^2.0.3": + version: 2.0.3 + resolution: "cli-color@npm:2.0.3" + dependencies: + d: "npm:^1.0.1" + es5-ext: "npm:^0.10.61" + es6-iterator: "npm:^2.0.3" + memoizee: "npm:^0.4.15" + timers-ext: "npm:^0.1.7" + checksum: 9a14c2dbb352cee99e93f27ab6f105b55a57fa48b0704d39091df5ec155766e5a66a53c5384434d3dcaaab9f9258cb12d20eabbc9c39ec5f61034a681c449fc6 + languageName: node + linkType: hard + "cli-cursor@npm:^3.1.0": version: 3.1.0 resolution: "cli-cursor@npm:3.1.0" @@ -4574,6 +6096,28 @@ __metadata: languageName: node linkType: hard +"clipboardy@npm:^4.0.0": + version: 4.0.0 + resolution: "clipboardy@npm:4.0.0" + dependencies: + execa: "npm:^8.0.1" + is-wsl: "npm:^3.1.0" + is64bit: "npm:^2.0.0" + checksum: 02bb5f3d0a772bd84ec26a3566c72c2319a9f3b4cb8338370c3bffcf0073c80b834abe1a6945bea4f2cbea28e1627a975aaac577e3f61a868d924ce79138b041 + languageName: node + linkType: hard + +"cliui@npm:^6.0.0": + version: 6.0.0 + resolution: "cliui@npm:6.0.0" + dependencies: + string-width: "npm:^4.2.0" + strip-ansi: "npm:^6.0.0" + wrap-ansi: "npm:^6.2.0" + checksum: 35229b1bb48647e882104cac374c9a18e34bbf0bace0e2cf03000326b6ca3050d6b59545d91e17bfe3705f4a0e2988787aa5cde6331bf5cbbf0164732cef6492 + languageName: node + linkType: hard + "cliui@npm:^8.0.1": version: 8.0.1 resolution: "cliui@npm:8.0.1" @@ -4601,6 +6145,13 @@ __metadata: languageName: node linkType: hard +"cluster-key-slot@npm:^1.1.0": + version: 1.1.2 + resolution: "cluster-key-slot@npm:1.1.2" + checksum: d7d39ca28a8786e9e801eeb8c770e3c3236a566625d7299a47bb71113fb2298ce1039596acb82590e598c52dbc9b1f088c8f587803e697cb58e1867a95ff94d3 + languageName: node + linkType: hard + "co-body@npm:^6.1.0": version: 6.1.0 resolution: "co-body@npm:6.1.0" @@ -4689,6 +6240,13 @@ __metadata: languageName: node linkType: hard +"consola@npm:^3.2.3": + version: 3.2.3 + resolution: "consola@npm:3.2.3" + checksum: c606220524ec88a05bb1baf557e9e0e04a0c08a9c35d7a08652d99de195c4ddcb6572040a7df57a18ff38bbc13ce9880ad032d56630cef27bef72768ef0ac078 + languageName: node + linkType: hard + "content-disposition@npm:0.5.4, content-disposition@npm:~0.5.2": version: 0.5.4 resolution: "content-disposition@npm:0.5.4" @@ -4723,6 +6281,13 @@ __metadata: languageName: node linkType: hard +"cookie-es@npm:^1.0.0": + version: 1.0.0 + resolution: "cookie-es@npm:1.0.0" + checksum: 49fb5d5d050e34b5b5f6e31b47d28364d149a31322994568a826a8d137f36792f0365cedc587ab880a1826db41f644d349930523d980f2a0ac3608d63db9263b + languageName: node + linkType: hard + "cookie-signature@npm:1.0.6": version: 1.0.6 resolution: "cookie-signature@npm:1.0.6" @@ -4846,6 +6411,20 @@ __metadata: languageName: node linkType: hard +"crossws@npm:^0.1.0": + version: 0.1.1 + resolution: "crossws@npm:0.1.1" + checksum: 87a98b4af1b09f7ad5d180e1eff3caddc76289cc21aa9d7b6160846cc060ba4962dfc0dc7687aee2dec12cea13abfbfdc05f44bcbf6a6f662b3bbd0df1774d37 + languageName: node + linkType: hard + +"crypto-es@npm:^1.2.2": + version: 1.2.7 + resolution: "crypto-es@npm:1.2.7" + checksum: 03b2c488e159255b6ebc8d6a41fd41bb5d54d821821f6cfba7f9b4d603403cbccca567af89a91e9da1d95049131d9d25b30427b3e1cd90df83575924af09bdf3 + languageName: node + linkType: hard + "css-tree@npm:^2.3.1": version: 2.3.1 resolution: "css-tree@npm:2.3.1" @@ -4945,6 +6524,13 @@ __metadata: languageName: node linkType: hard +"decamelize@npm:^1.2.0": + version: 1.2.0 + resolution: "decamelize@npm:1.2.0" + checksum: 85c39fe8fbf0482d4a1e224ef0119db5c1897f8503bcef8b826adff7a1b11414972f6fef2d7dec2ee0b4be3863cf64ac1439137ae9e6af23a3d8dcbe26a5b4b2 + languageName: node + linkType: hard + "decimal.js@npm:^10.4.3": version: 10.4.3 resolution: "decimal.js@npm:10.4.3" @@ -4952,7 +6538,7 @@ __metadata: languageName: node linkType: hard -"decode-uri-component@npm:^0.2.0": +"decode-uri-component@npm:^0.2.0, decode-uri-component@npm:^0.2.2": version: 0.2.2 resolution: "decode-uri-component@npm:0.2.2" checksum: 1f4fa54eb740414a816b3f6c24818fbfcabd74ac478391e9f4e2282c994127db02010ce804f3d08e38255493cfe68608b3f5c8e09fd6efc4ae46c807691f7a31 @@ -5000,6 +6586,13 @@ __metadata: languageName: node linkType: hard +"deepmerge@npm:^4.2.2": + version: 4.3.1 + resolution: "deepmerge@npm:4.3.1" + checksum: e53481aaf1aa2c4082b5342be6b6d8ad9dfe387bc92ce197a66dea08bd4265904a087e75e464f14d1347cf2ac8afe1e4c16b266e0561cc5df29382d3c5f80044 + languageName: node + linkType: hard + "default-browser-id@npm:^3.0.0": version: 3.0.0 resolution: "default-browser-id@npm:3.0.0" @@ -5074,6 +6667,13 @@ __metadata: languageName: node linkType: hard +"defu@npm:^6.1.3, defu@npm:^6.1.4": + version: 6.1.4 + resolution: "defu@npm:6.1.4" + checksum: 2d6cc366262dc0cb8096e429368e44052fdf43ed48e53ad84cc7c9407f890301aa5fcb80d0995abaaf842b3949f154d060be4160f7a46cb2bc2f7726c81526f5 + languageName: node + linkType: hard + "delayed-stream@npm:~1.0.0": version: 1.0.0 resolution: "delayed-stream@npm:1.0.0" @@ -5088,6 +6688,13 @@ __metadata: languageName: node linkType: hard +"denque@npm:^2.1.0": + version: 2.1.0 + resolution: "denque@npm:2.1.0" + checksum: f9ef81aa0af9c6c614a727cb3bd13c5d7db2af1abf9e6352045b86e85873e629690f6222f4edd49d10e4ccf8f078bbeec0794fafaf61b659c0589d0c511ec363 + languageName: node + linkType: hard + "depd@npm:2.0.0, depd@npm:^2.0.0, depd@npm:~2.0.0": version: 2.0.0 resolution: "depd@npm:2.0.0" @@ -5109,6 +6716,13 @@ __metadata: languageName: node linkType: hard +"destr@npm:^2.0.1, destr@npm:^2.0.2": + version: 2.0.2 + resolution: "destr@npm:2.0.2" + checksum: 28bd8793c0507489efeb4b86c471fe9578e25439c1f7e4a4e4db9b69fe37689b68b9b205b7c317ca31590120e9c5364a31fec2eb6ec73bb425ede8f993c771d6 + languageName: node + linkType: hard + "destroy@npm:1.2.0, destroy@npm:^1.0.4": version: 1.2.0 resolution: "destroy@npm:1.2.0" @@ -5116,6 +6730,22 @@ __metadata: languageName: node linkType: hard +"detect-browser@npm:5.3.0": + version: 5.3.0 + resolution: "detect-browser@npm:5.3.0" + checksum: 88d49b70ce3836e7971345b2ebdd486ad0d457d1e4f066540d0c12f9210c8f731ccbed955fcc9af2f048f5d4629702a8e46bedf5bcad42ad49a3a0927bfd5a76 + languageName: node + linkType: hard + +"detect-libc@npm:^1.0.3": + version: 1.0.3 + resolution: "detect-libc@npm:1.0.3" + bin: + detect-libc: ./bin/detect-libc.js + checksum: 4da0deae9f69e13bc37a0902d78bf7169480004b1fed3c19722d56cff578d16f0e11633b7fbf5fb6249181236c72e90024cbd68f0b9558ae06e281f47326d50d + languageName: node + linkType: hard + "didyoumean2@npm:4.1.0": version: 4.1.0 resolution: "didyoumean2@npm:4.1.0" @@ -5134,6 +6764,13 @@ __metadata: languageName: node linkType: hard +"dijkstrajs@npm:^1.0.1": + version: 1.0.3 + resolution: "dijkstrajs@npm:1.0.3" + checksum: 2183d61ac1f25062f3c3773f3ea8d9f45ba164a00e77e07faf8cc5750da966222d1e2ce6299c875a80f969190c71a0973042192c5624d5223e4ed196ff584c99 + languageName: node + linkType: hard + "dir-glob@npm:^3.0.1": version: 3.0.1 resolution: "dir-glob@npm:3.0.1" @@ -5168,6 +6805,18 @@ __metadata: languageName: node linkType: hard +"duplexify@npm:^4.1.2": + version: 4.1.2 + resolution: "duplexify@npm:4.1.2" + dependencies: + end-of-stream: "npm:^1.4.1" + inherits: "npm:^2.0.3" + readable-stream: "npm:^3.1.1" + stream-shift: "npm:^1.0.0" + checksum: cacd09d8f1c58f92f83e17dffc14ece50415b32753446ed92046236a27a9e73cb914cda495d955ea12e0e615381082a511f20e219f48a06e84675c9d6950675b + languageName: node + linkType: hard + "eastasianwidth@npm:^0.2.0": version: 0.2.0 resolution: "eastasianwidth@npm:0.2.0" @@ -5228,6 +6877,13 @@ __metadata: languageName: node linkType: hard +"encode-utf8@npm:^1.0.3": + version: 1.0.3 + resolution: "encode-utf8@npm:1.0.3" + checksum: 6b3458b73e868113d31099d7508514a5c627d8e16d1e0542d1b4e3652299b8f1f590c468e2b9dcdf1b4021ee961f31839d0be9d70a7f2a8a043c63b63c9b3a88 + languageName: node + linkType: hard + "encodeurl@npm:^1.0.2, encodeurl@npm:~1.0.2": version: 1.0.2 resolution: "encodeurl@npm:1.0.2" @@ -5244,7 +6900,7 @@ __metadata: languageName: node linkType: hard -"end-of-stream@npm:^1.1.0": +"end-of-stream@npm:^1.1.0, end-of-stream@npm:^1.4.1": version: 1.4.4 resolution: "end-of-stream@npm:1.4.4" dependencies: @@ -5377,7 +7033,7 @@ __metadata: languageName: node linkType: hard -"es5-ext@npm:^0.10.35, es5-ext@npm:^0.10.50": +"es5-ext@npm:^0.10.35, es5-ext@npm:^0.10.46, es5-ext@npm:^0.10.50, es5-ext@npm:^0.10.53, es5-ext@npm:^0.10.61, es5-ext@npm:~0.10.14, es5-ext@npm:~0.10.2, es5-ext@npm:~0.10.46": version: 0.10.62 resolution: "es5-ext@npm:0.10.62" dependencies: @@ -5416,6 +7072,18 @@ __metadata: languageName: node linkType: hard +"es6-weak-map@npm:^2.0.3": + version: 2.0.3 + resolution: "es6-weak-map@npm:2.0.3" + dependencies: + d: "npm:1" + es5-ext: "npm:^0.10.46" + es6-iterator: "npm:^2.0.3" + es6-symbol: "npm:^3.1.1" + checksum: 460932be9542473dbbddd183e21c15a66cfec1b2c17dae2b514e190d6fb2896b7eb683783d4b36da036609d2e1c93d2815f21b374dfccaf02a8978694c2f7b67 + languageName: node + linkType: hard + "esbuild-android-64@npm:0.14.54": version: 0.14.54 resolution: "esbuild-android-64@npm:0.14.54" @@ -5707,6 +7375,86 @@ __metadata: languageName: node linkType: hard +"esbuild@npm:^0.19.2": + version: 0.19.12 + resolution: "esbuild@npm:0.19.12" + dependencies: + "@esbuild/aix-ppc64": "npm:0.19.12" + "@esbuild/android-arm": "npm:0.19.12" + "@esbuild/android-arm64": "npm:0.19.12" + "@esbuild/android-x64": "npm:0.19.12" + "@esbuild/darwin-arm64": "npm:0.19.12" + "@esbuild/darwin-x64": "npm:0.19.12" + "@esbuild/freebsd-arm64": "npm:0.19.12" + "@esbuild/freebsd-x64": "npm:0.19.12" + "@esbuild/linux-arm": "npm:0.19.12" + "@esbuild/linux-arm64": "npm:0.19.12" + "@esbuild/linux-ia32": "npm:0.19.12" + "@esbuild/linux-loong64": "npm:0.19.12" + "@esbuild/linux-mips64el": "npm:0.19.12" + "@esbuild/linux-ppc64": "npm:0.19.12" + "@esbuild/linux-riscv64": "npm:0.19.12" + "@esbuild/linux-s390x": "npm:0.19.12" + "@esbuild/linux-x64": "npm:0.19.12" + "@esbuild/netbsd-x64": "npm:0.19.12" + "@esbuild/openbsd-x64": "npm:0.19.12" + "@esbuild/sunos-x64": "npm:0.19.12" + "@esbuild/win32-arm64": "npm:0.19.12" + "@esbuild/win32-ia32": "npm:0.19.12" + "@esbuild/win32-x64": "npm:0.19.12" + dependenciesMeta: + "@esbuild/aix-ppc64": + optional: true + "@esbuild/android-arm": + optional: true + "@esbuild/android-arm64": + optional: true + "@esbuild/android-x64": + optional: true + "@esbuild/darwin-arm64": + optional: true + "@esbuild/darwin-x64": + optional: true + "@esbuild/freebsd-arm64": + optional: true + "@esbuild/freebsd-x64": + optional: true + "@esbuild/linux-arm": + optional: true + "@esbuild/linux-arm64": + optional: true + "@esbuild/linux-ia32": + optional: true + "@esbuild/linux-loong64": + optional: true + "@esbuild/linux-mips64el": + optional: true + "@esbuild/linux-ppc64": + optional: true + "@esbuild/linux-riscv64": + optional: true + "@esbuild/linux-s390x": + optional: true + "@esbuild/linux-x64": + optional: true + "@esbuild/netbsd-x64": + optional: true + "@esbuild/openbsd-x64": + optional: true + "@esbuild/sunos-x64": + optional: true + "@esbuild/win32-arm64": + optional: true + "@esbuild/win32-ia32": + optional: true + "@esbuild/win32-x64": + optional: true + bin: + esbuild: bin/esbuild + checksum: 0f2d21ffe24ebead64843f87c3aebe2e703a5ed9feb086a0728b24907fac2eb9923e4a79857d3df9059c915739bd7a870dd667972eae325c67f478b592b8582d + languageName: node + linkType: hard + "esbuild@npm:^0.19.3": version: 0.19.11 resolution: "esbuild@npm:0.19.11" @@ -6060,7 +7808,7 @@ __metadata: languageName: node linkType: hard -"estree-walker@npm:^2.0.1, estree-walker@npm:^2.0.2": +"estree-walker@npm:^2, estree-walker@npm:^2.0.1, estree-walker@npm:^2.0.2": version: 2.0.2 resolution: "estree-walker@npm:2.0.2" checksum: 53a6c54e2019b8c914dc395890153ffdc2322781acf4bd7d1a32d7aedc1710807bdcd866ac133903d5629ec601fbb50abe8c2e5553c7f5a0afdd9b6af6c945af @@ -6433,6 +8181,82 @@ __metadata: languageName: node linkType: hard +"ethers@npm:5.5.3": + version: 5.5.3 + resolution: "ethers@npm:5.5.3" + dependencies: + "@ethersproject/abi": "npm:5.5.0" + "@ethersproject/abstract-provider": "npm:5.5.1" + "@ethersproject/abstract-signer": "npm:5.5.0" + "@ethersproject/address": "npm:5.5.0" + "@ethersproject/base64": "npm:5.5.0" + "@ethersproject/basex": "npm:5.5.0" + "@ethersproject/bignumber": "npm:5.5.0" + "@ethersproject/bytes": "npm:5.5.0" + "@ethersproject/constants": "npm:5.5.0" + "@ethersproject/contracts": "npm:5.5.0" + "@ethersproject/hash": "npm:5.5.0" + "@ethersproject/hdnode": "npm:5.5.0" + "@ethersproject/json-wallets": "npm:5.5.0" + "@ethersproject/keccak256": "npm:5.5.0" + "@ethersproject/logger": "npm:5.5.0" + "@ethersproject/networks": "npm:5.5.2" + "@ethersproject/pbkdf2": "npm:5.5.0" + "@ethersproject/properties": "npm:5.5.0" + "@ethersproject/providers": "npm:5.5.2" + "@ethersproject/random": "npm:5.5.1" + "@ethersproject/rlp": "npm:5.5.0" + "@ethersproject/sha2": "npm:5.5.0" + "@ethersproject/signing-key": "npm:5.5.0" + "@ethersproject/solidity": "npm:5.5.0" + "@ethersproject/strings": "npm:5.5.0" + "@ethersproject/transactions": "npm:5.5.0" + "@ethersproject/units": "npm:5.5.0" + "@ethersproject/wallet": "npm:5.5.0" + "@ethersproject/web": "npm:5.5.1" + "@ethersproject/wordlists": "npm:5.5.0" + checksum: 9ba7d7a06e536e7374ec0aa769dc8a9bb38b42c18a1a486d8e2f5bf04573b3cc5c9149c8467f17af16db14acfe86f04b20432b9afa4cf541108f1223552e65c9 + languageName: node + linkType: hard + +"ethers@npm:5.5.4": + version: 5.5.4 + resolution: "ethers@npm:5.5.4" + dependencies: + "@ethersproject/abi": "npm:5.5.0" + "@ethersproject/abstract-provider": "npm:5.5.1" + "@ethersproject/abstract-signer": "npm:5.5.0" + "@ethersproject/address": "npm:5.5.0" + "@ethersproject/base64": "npm:5.5.0" + "@ethersproject/basex": "npm:5.5.0" + "@ethersproject/bignumber": "npm:5.5.0" + "@ethersproject/bytes": "npm:5.5.0" + "@ethersproject/constants": "npm:5.5.0" + "@ethersproject/contracts": "npm:5.5.0" + "@ethersproject/hash": "npm:5.5.0" + "@ethersproject/hdnode": "npm:5.5.0" + "@ethersproject/json-wallets": "npm:5.5.0" + "@ethersproject/keccak256": "npm:5.5.0" + "@ethersproject/logger": "npm:5.5.0" + "@ethersproject/networks": "npm:5.5.2" + "@ethersproject/pbkdf2": "npm:5.5.0" + "@ethersproject/properties": "npm:5.5.0" + "@ethersproject/providers": "npm:5.5.3" + "@ethersproject/random": "npm:5.5.1" + "@ethersproject/rlp": "npm:5.5.0" + "@ethersproject/sha2": "npm:5.5.0" + "@ethersproject/signing-key": "npm:5.5.0" + "@ethersproject/solidity": "npm:5.5.0" + "@ethersproject/strings": "npm:5.5.0" + "@ethersproject/transactions": "npm:5.5.0" + "@ethersproject/units": "npm:5.5.0" + "@ethersproject/wallet": "npm:5.5.0" + "@ethersproject/web": "npm:5.5.1" + "@ethersproject/wordlists": "npm:5.5.0" + checksum: c109807411429af55780616971e36abe82a04de05cbf154f1cb9e6cafcb488ffc1d4abdce57dfdd8d7ec5885cf7da54a31ac0eb7d683409c8886ee8b114bf02c + languageName: node + linkType: hard + "ethers@npm:5.6.2": version: 5.6.2 resolution: "ethers@npm:5.6.2" @@ -6529,6 +8353,16 @@ __metadata: languageName: node linkType: hard +"event-emitter@npm:^0.3.5": + version: 0.3.5 + resolution: "event-emitter@npm:0.3.5" + dependencies: + d: "npm:1" + es5-ext: "npm:~0.10.14" + checksum: 75082fa8ffb3929766d0f0a063bfd6046bd2a80bea2666ebaa0cfd6f4a9116be6647c15667bea77222afc12f5b4071b68d393cf39fdaa0e8e81eda006160aff0 + languageName: node + linkType: hard + "eventemitter3@npm:4.0.4": version: 4.0.4 resolution: "eventemitter3@npm:4.0.4" @@ -6758,6 +8592,13 @@ __metadata: languageName: node linkType: hard +"fast-redact@npm:^3.0.0": + version: 3.3.0 + resolution: "fast-redact@npm:3.3.0" + checksum: d81562510681e9ba6404ee5d3838ff5257a44d2f80937f5024c099049ff805437d0fae0124458a7e87535cc9dcf4de305bb075cab8f08d6c720bbc3447861b4e + languageName: node + linkType: hard + "fast-safe-stringify@npm:^2.0.6": version: 2.1.1 resolution: "fast-safe-stringify@npm:2.1.1" @@ -6802,6 +8643,13 @@ __metadata: languageName: node linkType: hard +"filter-obj@npm:^1.1.0": + version: 1.1.0 + resolution: "filter-obj@npm:1.1.0" + checksum: 071e0886b2b50238ca5026c5bbf58c26a7c1a1f720773b8c7813d16ba93d0200de977af14ac143c5ac18f666b2cfc83073f3a5fe6a4e996c49e0863d5500fccf + languageName: node + linkType: hard + "finalhandler@npm:1.2.0": version: 1.2.0 resolution: "finalhandler@npm:1.2.0" @@ -6817,6 +8665,16 @@ __metadata: languageName: node linkType: hard +"find-up@npm:^4.1.0": + version: 4.1.0 + resolution: "find-up@npm:4.1.0" + dependencies: + locate-path: "npm:^5.0.0" + path-exists: "npm:^4.0.0" + checksum: 0406ee89ebeefa2d507feb07ec366bebd8a6167ae74aa4e34fb4c4abd06cf782a3ce26ae4194d70706f72182841733f00551c209fe575cb00bd92104056e78c1 + languageName: node + linkType: hard + "find-up@npm:^5.0.0": version: 5.0.0 resolution: "find-up@npm:5.0.0" @@ -7041,7 +8899,7 @@ __metadata: languageName: node linkType: hard -"get-caller-file@npm:^2.0.5": +"get-caller-file@npm:^2.0.1, get-caller-file@npm:^2.0.5": version: 2.0.5 resolution: "get-caller-file@npm:2.0.5" checksum: c6c7b60271931fa752aeb92f2b47e355eac1af3a2673f47c9589e8f8a41adc74d45551c1bc57b5e66a80609f10ffb72b6f575e4370d61cc3f7f3aaff01757cde @@ -7067,6 +8925,13 @@ __metadata: languageName: node linkType: hard +"get-port-please@npm:^3.1.2": + version: 3.1.2 + resolution: "get-port-please@npm:3.1.2" + checksum: 61237342fe035967e5ad1b67a2dee347a64de093bf1222b7cd50072568d73c48dad5cc5cd4fa44635b7cfdcd14d6c47554edb9891c2ec70ab33ecb831683e257 + languageName: node + linkType: hard + "get-stream@npm:^5.1.0": version: 5.2.0 resolution: "get-stream@npm:5.2.0" @@ -7184,6 +9049,13 @@ __metadata: languageName: node linkType: hard +"globalyzer@npm:0.1.0": + version: 0.1.0 + resolution: "globalyzer@npm:0.1.0" + checksum: e16e47a5835cbe8a021423d4c7fcd9f5f85815b4190a7f50c1fdb95fc559d72e4fb30be96f106c66a99413f36d72da0f8323d19d27f60a8feec9d936139ec5a8 + languageName: node + linkType: hard + "globby@npm:^11.0.1, globby@npm:^11.1.0": version: 11.1.0 resolution: "globby@npm:11.1.0" @@ -7198,6 +9070,13 @@ __metadata: languageName: node linkType: hard +"globrex@npm:^0.1.2": + version: 0.1.2 + resolution: "globrex@npm:0.1.2" + checksum: a54c029520cf58bda1d8884f72bd49b4cd74e977883268d931fd83bcbd1a9eb96d57c7dbd4ad80148fb9247467ebfb9b215630b2ed7563b2a8de02e1ff7f89d1 + languageName: node + linkType: hard + "gopd@npm:^1.0.1": version: 1.0.1 resolution: "gopd@npm:1.0.1" @@ -7261,6 +9140,23 @@ __metadata: languageName: node linkType: hard +"h3@npm:^1.10.1, h3@npm:^1.8.2": + version: 1.10.1 + resolution: "h3@npm:1.10.1" + dependencies: + cookie-es: "npm:^1.0.0" + defu: "npm:^6.1.4" + destr: "npm:^2.0.2" + iron-webcrypto: "npm:^1.0.0" + ohash: "npm:^1.1.3" + radix3: "npm:^1.1.0" + ufo: "npm:^1.3.2" + uncrypto: "npm:^0.1.3" + unenv: "npm:^1.9.0" + checksum: 8c55d194461ab3098d7a638bc3695a3a98fb92c1caca127a083610989ee418cbba1409aacda912ac526c72a86de4e446cb604ab5a63daa1f93373f138c240894 + languageName: node + linkType: hard + "har-schema@npm:^2.0.0": version: 2.0.0 resolution: "har-schema@npm:2.0.0" @@ -7370,6 +9266,13 @@ __metadata: languageName: node linkType: hard +"hey-listen@npm:^1.0.8": + version: 1.0.8 + resolution: "hey-listen@npm:1.0.8" + checksum: 38db3028b4756f3d536c0f6a92da53bad577ab649b06dddfd0a4d953f9a46bbc6a7f693c8c5b466a538d6d23dbc469260c848427f0de14198a2bbecbac37b39e + languageName: node + linkType: hard + "hmac-drbg@npm:^1.0.1": version: 1.0.1 resolution: "hmac-drbg@npm:1.0.1" @@ -7469,6 +9372,13 @@ __metadata: languageName: node linkType: hard +"http-shutdown@npm:^1.2.2": + version: 1.2.2 + resolution: "http-shutdown@npm:1.2.2" + checksum: 1ea04d50d9a84ad6e7d9ee621160ce9515936e32e7f5ba445db48a5d72681858002c934c7f3ae5f474b301c1cd6b418aee3f6a2f109822109e606cc1a6c17c03 + languageName: node + linkType: hard + "http-signature@npm:~1.2.0": version: 1.2.0 resolution: "http-signature@npm:1.2.0" @@ -7549,6 +9459,13 @@ __metadata: languageName: node linkType: hard +"idb-keyval@npm:^6.2.1": + version: 6.2.1 + resolution: "idb-keyval@npm:6.2.1" + checksum: 9f0c83703a365e00bd0b4ed6380ce509a06dedfc6ec39b2ba5740085069fd2f2ff5c14ba19356488e3612a2f9c49985971982d836460a982a5d0b4019eeba48a + languageName: node + linkType: hard + "idna-uts46-hx@npm:^2.3.1": version: 2.3.1 resolution: "idna-uts46-hx@npm:2.3.1" @@ -7659,6 +9576,35 @@ __metadata: languageName: node linkType: hard +"intl-messageformat@npm:^9.13.0": + version: 9.13.0 + resolution: "intl-messageformat@npm:9.13.0" + dependencies: + "@formatjs/ecma402-abstract": "npm:1.11.4" + "@formatjs/fast-memoize": "npm:1.2.1" + "@formatjs/icu-messageformat-parser": "npm:2.1.0" + tslib: "npm:^2.1.0" + checksum: d50b220ae943278a4403cb004e3776f288b5c2a2673b0dc11347d9b9d4e0361c3c33288cea54189a69b42c64a35171608c9c25ed55d6a9a6ec7f7af5e7782541 + languageName: node + linkType: hard + +"ioredis@npm:^5.3.2": + version: 5.3.2 + resolution: "ioredis@npm:5.3.2" + dependencies: + "@ioredis/commands": "npm:^1.1.1" + cluster-key-slot: "npm:^1.1.0" + debug: "npm:^4.3.4" + denque: "npm:^2.1.0" + lodash.defaults: "npm:^4.2.0" + lodash.isarguments: "npm:^3.1.0" + redis-errors: "npm:^1.2.0" + redis-parser: "npm:^3.0.0" + standard-as-callback: "npm:^2.1.0" + checksum: 0dd2b5b8004e891f5b62edf18ac223194f1f5204698ec827c903e789ea05b0b36f73395491749ec63c66470485bdfb228ccdf1714fbf631a0f78f33211f2c883 + languageName: node + linkType: hard + "ip@npm:^1.1.5": version: 1.1.8 resolution: "ip@npm:1.1.8" @@ -7680,6 +9626,13 @@ __metadata: languageName: node linkType: hard +"iron-webcrypto@npm:^1.0.0": + version: 1.0.0 + resolution: "iron-webcrypto@npm:1.0.0" + checksum: 7e9305a7d792c275cba33c770695327c8ad3f7c8021e03f7148a8b92b559ad09468f337433090eb48e195d5fda0fd2e0611afcad843eb917cffcc1c6392e8037 + languageName: node + linkType: hard + "is-arguments@npm:^1.0.4": version: 1.1.1 resolution: "is-arguments@npm:1.1.1" @@ -7880,6 +9833,13 @@ __metadata: languageName: node linkType: hard +"is-promise@npm:^2.2.2": + version: 2.2.2 + resolution: "is-promise@npm:2.2.2" + checksum: 2dba959812380e45b3df0fb12e7cb4d4528c989c7abb03ececb1d1fd6ab1cbfee956ca9daa587b9db1d8ac3c1e5738cf217bdb3dfd99df8c691be4c00ae09069 + languageName: node + linkType: hard + "is-regex@npm:^1.1.4": version: 1.1.4 resolution: "is-regex@npm:1.1.4" @@ -7965,6 +9925,24 @@ __metadata: languageName: node linkType: hard +"is-wsl@npm:^3.1.0": + version: 3.1.0 + resolution: "is-wsl@npm:3.1.0" + dependencies: + is-inside-container: "npm:^1.0.0" + checksum: d3317c11995690a32c362100225e22ba793678fe8732660c6de511ae71a0ff05b06980cf21f98a6bf40d7be0e9e9506f859abe00a1118287d63e53d0a3d06947 + languageName: node + linkType: hard + +"is64bit@npm:^2.0.0": + version: 2.0.0 + resolution: "is64bit@npm:2.0.0" + dependencies: + system-architecture: "npm:^0.1.0" + checksum: 9f3741d4b7560e2a30b9ce0c79bb30c7bdcc5df77c897bd59bb68f0fd882ae698015e8da81d48331def66c778d430c1ae3cb8c1fcc34e96c576b66198395faa7 + languageName: node + linkType: hard + "isarray@npm:0.0.1": version: 0.0.1 resolution: "isarray@npm:0.0.1" @@ -8007,6 +9985,16 @@ __metadata: languageName: node linkType: hard +"isomorphic-unfetch@npm:3.1.0": + version: 3.1.0 + resolution: "isomorphic-unfetch@npm:3.1.0" + dependencies: + node-fetch: "npm:^2.6.1" + unfetch: "npm:^4.2.0" + checksum: d3b61fca06304db692b7f76bdfd3a00f410e42cfa7403c3b250546bf71589d18cf2f355922f57198e4cc4a9872d3647b20397a5c3edf1a347c90d57c83cf2a89 + languageName: node + linkType: hard + "isstream@npm:~0.1.2": version: 0.1.2 resolution: "isstream@npm:0.1.2" @@ -8055,6 +10043,15 @@ __metadata: languageName: node linkType: hard +"jiti@npm:^1.21.0": + version: 1.21.0 + resolution: "jiti@npm:1.21.0" + bin: + jiti: bin/jiti.js + checksum: 7f361219fe6c7a5e440d5f1dba4ab763a5538d2df8708cdc22561cf25ea3e44b837687931fca7cdd8cdd9f567300e90be989dd1321650045012d8f9ed6aab07f + languageName: node + linkType: hard + "jju@npm:~1.4.0": version: 1.4.0 resolution: "jju@npm:1.4.0" @@ -8062,6 +10059,19 @@ __metadata: languageName: node linkType: hard +"joi@npm:17.9.1": + version: 17.9.1 + resolution: "joi@npm:17.9.1" + dependencies: + "@hapi/hoek": "npm:^9.0.0" + "@hapi/topo": "npm:^5.0.0" + "@sideway/address": "npm:^4.1.3" + "@sideway/formula": "npm:^3.0.1" + "@sideway/pinpoint": "npm:^2.0.0" + checksum: 27bae524494f42db55a5a5e5e794c2616ad3524695af8f92f6c122dd5e65b12f2c0b76960cf0f1da7b01e5eb06d4b0579f96edf6b4df890c3fd6517f43dee6be + languageName: node + linkType: hard + "js-sha3@npm:0.8.0, js-sha3@npm:^0.8.0": version: 0.8.0 resolution: "js-sha3@npm:0.8.0" @@ -8297,6 +10307,13 @@ __metadata: languageName: node linkType: hard +"keyvaluestorage-interface@npm:^1.0.0": + version: 1.0.0 + resolution: "keyvaluestorage-interface@npm:1.0.0" + checksum: 0e028ebeda79a4e48c7e36708dbe7ced233c7a1f1bc925e506f150dd2ce43178bee8d20361c445bd915569709d9dc9ea80063b4d3c3cf5d615ab43aa31d3ec3d + languageName: node + linkType: hard + "koa-compose@npm:^4.1.0": version: 4.1.0 resolution: "koa-compose@npm:4.1.0" @@ -8461,6 +10478,35 @@ __metadata: languageName: node linkType: hard +"listhen@npm:^1.5.5": + version: 1.6.0 + resolution: "listhen@npm:1.6.0" + dependencies: + "@parcel/watcher": "npm:^2.4.0" + "@parcel/watcher-wasm": "npm:2.4.0" + citty: "npm:^0.1.5" + clipboardy: "npm:^4.0.0" + consola: "npm:^3.2.3" + crossws: "npm:^0.1.0" + defu: "npm:^6.1.4" + get-port-please: "npm:^3.1.2" + h3: "npm:^1.10.1" + http-shutdown: "npm:^1.2.2" + jiti: "npm:^1.21.0" + mlly: "npm:^1.5.0" + node-forge: "npm:^1.3.1" + pathe: "npm:^1.1.2" + std-env: "npm:^3.7.0" + ufo: "npm:^1.3.2" + untun: "npm:^0.1.3" + uqr: "npm:^0.1.2" + bin: + listen: bin/listhen.mjs + listhen: bin/listhen.mjs + checksum: e5c35d52a2743207f626d1ba35e02af30a67e21c61c620bc535df1bbfe72b0a15eb6f11ddb5dbd65052a03fc118f3eee4b0ab1bf0be40182936b5b2e66d09ec1 + languageName: node + linkType: hard + "lit-analyzer@npm:^2.0.3": version: 2.0.3 resolution: "lit-analyzer@npm:2.0.3" @@ -8480,6 +10526,17 @@ __metadata: languageName: node linkType: hard +"lit-element@npm:^3.3.0": + version: 3.3.3 + resolution: "lit-element@npm:3.3.3" + dependencies: + "@lit-labs/ssr-dom-shim": "npm:^1.1.0" + "@lit/reactive-element": "npm:^1.3.0" + lit-html: "npm:^2.8.0" + checksum: f44c12fa3423a4e9ca5b84651410687e14646bb270ac258325e6905affac64a575f041f8440377e7ebaefa3910b6f0d6b8b1e902cb1aa5d0849b3fdfbf4fb3b6 + languageName: node + linkType: hard + "lit-element@npm:^4.0.0": version: 4.0.1 resolution: "lit-element@npm:4.0.1" @@ -8500,6 +10557,15 @@ __metadata: languageName: node linkType: hard +"lit-html@npm:^2.8.0": + version: 2.8.0 + resolution: "lit-html@npm:2.8.0" + dependencies: + "@types/trusted-types": "npm:^2.0.2" + checksum: 90057dee050803823ac884c1355b0213ab8c05fbe2ec63943c694b61aade5d36272068f3925f45a312835e504f9c9784738ef797009f0a756a750351eafb52d5 + languageName: node + linkType: hard + "lit-html@npm:^3.0.0": version: 3.0.0 resolution: "lit-html@npm:3.0.0" @@ -8509,6 +10575,17 @@ __metadata: languageName: node linkType: hard +"lit@npm:2.8.0": + version: 2.8.0 + resolution: "lit@npm:2.8.0" + dependencies: + "@lit/reactive-element": "npm:^1.6.0" + lit-element: "npm:^3.3.0" + lit-html: "npm:^2.8.0" + checksum: bf33c26b1937ee204aed1adbfa4b3d43a284e85aad8ea9763c7865365917426eded4e5888158b4136095ea42054812561fe272862b61775f1198fad3588b071f + languageName: node + linkType: hard + "lit@npm:3.0.0": version: 3.0.0 resolution: "lit@npm:3.0.0" @@ -8541,6 +10618,15 @@ __metadata: languageName: node linkType: hard +"locate-path@npm:^5.0.0": + version: 5.0.0 + resolution: "locate-path@npm:5.0.0" + dependencies: + p-locate: "npm:^4.1.0" + checksum: 33a1c5247e87e022f9713e6213a744557a3e9ec32c5d0b5efb10aa3a38177615bf90221a5592674857039c1a0fd2063b82f285702d37b792d973e9e72ace6c59 + languageName: node + linkType: hard + "locate-path@npm:^6.0.0": version: 6.0.0 resolution: "locate-path@npm:6.0.0" @@ -8564,6 +10650,13 @@ __metadata: languageName: node linkType: hard +"lodash.defaults@npm:^4.2.0": + version: 4.2.0 + resolution: "lodash.defaults@npm:4.2.0" + checksum: d5b77aeb702caa69b17be1358faece33a84497bcca814897383c58b28a2f8dfc381b1d9edbec239f8b425126a3bbe4916223da2a576bb0411c2cefd67df80707 + languageName: node + linkType: hard + "lodash.get@npm:^4.4.2": version: 4.4.2 resolution: "lodash.get@npm:4.4.2" @@ -8571,7 +10664,14 @@ __metadata: languageName: node linkType: hard -"lodash.isequal@npm:^4.5.0": +"lodash.isarguments@npm:^3.1.0": + version: 3.1.0 + resolution: "lodash.isarguments@npm:3.1.0" + checksum: 5e8f95ba10975900a3920fb039a3f89a5a79359a1b5565e4e5b4310ed6ebe64011e31d402e34f577eca983a1fc01ff86c926e3cbe602e1ddfc858fdd353e62d8 + languageName: node + linkType: hard + +"lodash.isequal@npm:4.5.0, lodash.isequal@npm:^4.5.0": version: 4.5.0 resolution: "lodash.isequal@npm:4.5.0" checksum: dfdb2356db19631a4b445d5f37868a095e2402292d59539a987f134a8778c62a2810c2452d11ae9e6dcac71fc9de40a6fedcb20e2952a15b431ad8b29e50e28f @@ -8585,6 +10685,20 @@ __metadata: languageName: node linkType: hard +"lodash.partition@npm:^4.6.0": + version: 4.6.0 + resolution: "lodash.partition@npm:4.6.0" + checksum: a65f48f5f11a009656b3441a063948316923a48f7bfc9454064ba81f75e72ac038c61450c263f4874d8413052a20aacfc18a46dd6d8a9a287221a46e78733f45 + languageName: node + linkType: hard + +"lodash.uniqby@npm:^4.7.0": + version: 4.7.0 + resolution: "lodash.uniqby@npm:4.7.0" + checksum: c505c0de20ca759599a2ba38710e8fb95ff2d2028e24d86c901ef2c74be8056518571b9b754bfb75053b2818d30dd02243e4a4621a6940c206bbb3f7626db656 + languageName: node + linkType: hard + "lodash@npm:^4.17.14, lodash@npm:~4.17.15": version: 4.17.21 resolution: "lodash@npm:4.17.21" @@ -8634,6 +10748,13 @@ __metadata: languageName: node linkType: hard +"lru-cache@npm:^10.0.2": + version: 10.2.0 + resolution: "lru-cache@npm:10.2.0" + checksum: c9847612aa2daaef102d30542a8d6d9b2c2bb36581c1bf0dc3ebf5e5f3352c772a749e604afae2e46873b930a9e9523743faac4e5b937c576ab29196774712ee + languageName: node + linkType: hard + "lru-cache@npm:^5.1.1": version: 5.1.1 resolution: "lru-cache@npm:5.1.1" @@ -8666,6 +10787,15 @@ __metadata: languageName: node linkType: hard +"lru-queue@npm:^0.1.0": + version: 0.1.0 + resolution: "lru-queue@npm:0.1.0" + dependencies: + es5-ext: "npm:~0.10.2" + checksum: 83517032b46843601c4528be65e8aaf85f5a7860a9cfa3e4f2b5591da436e7cd748d95b450c91434c4ffb75d3ae4c069ddbdd9f71ada56a99a00c03088c51b4d + languageName: node + linkType: hard + "ltgt@npm:~2.2.0": version: 2.2.1 resolution: "ltgt@npm:2.2.1" @@ -8749,6 +10879,22 @@ __metadata: languageName: node linkType: hard +"memoizee@npm:^0.4.15": + version: 0.4.15 + resolution: "memoizee@npm:0.4.15" + dependencies: + d: "npm:^1.0.1" + es5-ext: "npm:^0.10.53" + es6-weak-map: "npm:^2.0.3" + event-emitter: "npm:^0.3.5" + is-promise: "npm:^2.2.2" + lru-queue: "npm:^0.1.0" + next-tick: "npm:^1.1.0" + timers-ext: "npm:^0.1.7" + checksum: 297e65cd8256bdf24c48f5e158da80d4c9688db0d6e65c5dcc13fa768e782ddeb71aec36925359931b5efef0efc6666b5bb2af6deb3de63d4258a3821ed16fce + languageName: node + linkType: hard + "merge-descriptors@npm:1.0.1": version: 1.0.1 resolution: "merge-descriptors@npm:1.0.1" @@ -8793,7 +10939,7 @@ __metadata: languageName: node linkType: hard -"micromatch@npm:^4.0.4": +"micromatch@npm:^4.0.4, micromatch@npm:^4.0.5": version: 4.0.5 resolution: "micromatch@npm:4.0.5" dependencies: @@ -8828,6 +10974,15 @@ __metadata: languageName: node linkType: hard +"mime@npm:^3.0.0": + version: 3.0.0 + resolution: "mime@npm:3.0.0" + bin: + mime: cli.js + checksum: 402e792a8df1b2cc41cb77f0dcc46472b7944b7ec29cb5bbcd398624b6b97096728f1239766d3fdeb20551dd8d94738344c195a6ea10c4f906eb0356323b0531 + languageName: node + linkType: hard + "mimic-fn@npm:^2.1.0": version: 2.1.0 resolution: "mimic-fn@npm:2.1.0" @@ -9045,7 +11200,7 @@ __metadata: languageName: node linkType: hard -"mlly@npm:^1.2.0, mlly@npm:^1.4.2": +"mlly@npm:^1.2.0, mlly@npm:^1.4.2, mlly@npm:^1.5.0": version: 1.5.0 resolution: "mlly@npm:1.5.0" dependencies: @@ -9071,6 +11226,27 @@ __metadata: languageName: node linkType: hard +"motion@npm:10.16.2": + version: 10.16.2 + resolution: "motion@npm:10.16.2" + dependencies: + "@motionone/animation": "npm:^10.15.1" + "@motionone/dom": "npm:^10.16.2" + "@motionone/svelte": "npm:^10.16.2" + "@motionone/types": "npm:^10.15.1" + "@motionone/utils": "npm:^10.15.1" + "@motionone/vue": "npm:^10.16.2" + checksum: ea3fa2c7ce881824bcefa39b96b5e2b802d4b664b8a64644cded11197c9262e2a5b14b2e9516940e06cec37d3c39e4c79b26825c447f71ba1cfd7e3370efbe61 + languageName: node + linkType: hard + +"mri@npm:^1.1.0, mri@npm:^1.2.0": + version: 1.2.0 + resolution: "mri@npm:1.2.0" + checksum: a3d32379c2554cf7351db6237ddc18dc9e54e4214953f3da105b97dc3babe0deb3ffe99cf409b38ea47cc29f9430561ba6b53b24ab8f9ce97a4b50409e4a50e7 + languageName: node + linkType: hard + "ms@npm:2.0.0": version: 2.0.0 resolution: "ms@npm:2.0.0" @@ -9138,6 +11314,13 @@ __metadata: languageName: node linkType: hard +"multiformats@npm:^9.4.2": + version: 9.9.0 + resolution: "multiformats@npm:9.9.0" + checksum: 1fdb34fd2fb085142665e8bd402570659b50a5fae5994027e1df3add9e1ce1283ed1e0c2584a5c63ac0a58e871b8ee9665c4a99ca36ce71032617449d48aa975 + languageName: node + linkType: hard + "multihashes@npm:^0.4.15, multihashes@npm:~0.4.15": version: 0.4.21 resolution: "multihashes@npm:0.4.21" @@ -9163,7 +11346,7 @@ __metadata: languageName: node linkType: hard -"nanoid@npm:^3.1.25, nanoid@npm:^3.3.7": +"nanoid@npm:^3.1.25, nanoid@npm:^3.3.1, nanoid@npm:^3.3.7": version: 3.3.7 resolution: "nanoid@npm:3.3.7" bin: @@ -9181,6 +11364,22 @@ __metadata: languageName: node linkType: hard +"nanoid@npm:^4.0.0": + version: 4.0.2 + resolution: "nanoid@npm:4.0.2" + bin: + nanoid: bin/nanoid.js + checksum: 3fec62f422bc4727918eda0e7aa43e9cbb2e759be72813a0587b9dac99727d3c7ad972efce7f4f1d4cb5c7c554136a1ec3b1043d1d91d28d818d6acbe98200e5 + languageName: node + linkType: hard + +"napi-wasm@npm:^1.1.0": + version: 1.1.0 + resolution: "napi-wasm@npm:1.1.0" + checksum: 074df6b5b72698f07b39ca3c448a3fcbaf8e6e78521f0cb3aefd8c2f059d69eae0e3bfe367b4aa3df1976c25e351e4e52a359f22fb2c379eb6781bfa042f582b + languageName: node + linkType: hard + "natural-compare@npm:^1.4.0": version: 1.4.0 resolution: "natural-compare@npm:1.4.0" @@ -9195,7 +11394,7 @@ __metadata: languageName: node linkType: hard -"next-tick@npm:^1.1.0": +"next-tick@npm:1, next-tick@npm:^1.1.0": version: 1.1.0 resolution: "next-tick@npm:1.1.0" checksum: 3ba80dd805fcb336b4f52e010992f3e6175869c8d88bf4ff0a81d5d66e6049f89993463b28211613e58a6b7fe93ff5ccbba0da18d4fa574b96289e8f0b577f28 @@ -9233,6 +11432,15 @@ __metadata: languageName: node linkType: hard +"node-addon-api@npm:^7.0.0": + version: 7.1.0 + resolution: "node-addon-api@npm:7.1.0" + dependencies: + node-gyp: "npm:latest" + checksum: 2e096ab079e3c46d33b0e252386e9c239c352f7cc6d75363d9a3c00bdff34c1a5da170da861917512843f213c32d024ced9dc9552b968029786480d18727ec66 + languageName: node + linkType: hard + "node-domexception@npm:^1.0.0": version: 1.0.0 resolution: "node-domexception@npm:1.0.0" @@ -9240,6 +11448,13 @@ __metadata: languageName: node linkType: hard +"node-fetch-native@npm:^1.4.0, node-fetch-native@npm:^1.4.1, node-fetch-native@npm:^1.6.1": + version: 1.6.1 + resolution: "node-fetch-native@npm:1.6.1" + checksum: 5df52cd7fb18a51b7e3ec65420b04cd5c01ce6a15ca853b6112a3ae17eb071970a15e7099f3bd258006ab8a0cecac3c7c212800a680466c5bb1a679eab14338f + languageName: node + linkType: hard + "node-fetch@npm:^2.6.0, node-fetch@npm:^2.6.1, node-fetch@npm:^2.6.12, node-fetch@npm:^2.6.7": version: 2.7.0 resolution: "node-fetch@npm:2.7.0" @@ -9265,6 +11480,13 @@ __metadata: languageName: node linkType: hard +"node-forge@npm:^1.3.1": + version: 1.3.1 + resolution: "node-forge@npm:1.3.1" + checksum: e882819b251a4321f9fc1d67c85d1501d3004b4ee889af822fd07f64de3d1a8e272ff00b689570af0465d65d6bf5074df9c76e900e0aff23e60b847f2a46fbe8 + languageName: node + linkType: hard + "node-gyp-build@npm:^4.2.0, node-gyp-build@npm:^4.3.0": version: 4.6.1 resolution: "node-gyp-build@npm:4.6.1" @@ -9446,6 +11668,31 @@ __metadata: languageName: node linkType: hard +"ofetch@npm:^1.3.3": + version: 1.3.3 + resolution: "ofetch@npm:1.3.3" + dependencies: + destr: "npm:^2.0.1" + node-fetch-native: "npm:^1.4.0" + ufo: "npm:^1.3.0" + checksum: ac4d2519841c6ffcbb3f5dee6db7f29dc273e15d8fd6ee89d9dbfae7c0542cd72a2424e8527ae7147b36eec35667066754aeb69dc7c02e6c8dcb943579e9764e + languageName: node + linkType: hard + +"ohash@npm:^1.1.3": + version: 1.1.3 + resolution: "ohash@npm:1.1.3" + checksum: 928f5bdbd8cd73f90cf544c0533dbda8e0a42d9b8c7454ab89e64e4d11bc85f85242830b4e107426ce13dc4dd3013286f8f5e0c84abd8942a014b907d9692540 + languageName: node + linkType: hard + +"on-exit-leak-free@npm:^0.2.0": + version: 0.2.0 + resolution: "on-exit-leak-free@npm:0.2.0" + checksum: d4e1f0bea59f39aa435baaee7d76955527e245538cffc1d7bb0c165ae85e37f67690aa9272247ced17bad76052afdb45faf5ea304a2248e070202d4554c4e30c + languageName: node + linkType: hard + "on-finished@npm:2.4.1, on-finished@npm:^2.3.0": version: 2.4.1 resolution: "on-finished@npm:2.4.1" @@ -9540,6 +11787,15 @@ __metadata: languageName: node linkType: hard +"p-limit@npm:^2.2.0": + version: 2.3.0 + resolution: "p-limit@npm:2.3.0" + dependencies: + p-try: "npm:^2.0.0" + checksum: 8da01ac53efe6a627080fafc127c873da40c18d87b3f5d5492d465bb85ec7207e153948df6b9cbaeb130be70152f874229b8242ee2be84c0794082510af97f12 + languageName: node + linkType: hard + "p-limit@npm:^3.0.2": version: 3.1.0 resolution: "p-limit@npm:3.1.0" @@ -9558,6 +11814,15 @@ __metadata: languageName: node linkType: hard +"p-locate@npm:^4.1.0": + version: 4.1.0 + resolution: "p-locate@npm:4.1.0" + dependencies: + p-limit: "npm:^2.2.0" + checksum: 1b476ad69ad7f6059744f343b26d51ce091508935c1dbb80c4e0a2f397ffce0ca3a1f9f5cd3c7ce19d7929a09719d5c65fe70d8ee289c3f267cd36f2881813e9 + languageName: node + linkType: hard + "p-locate@npm:^5.0.0": version: 5.0.0 resolution: "p-locate@npm:5.0.0" @@ -9576,6 +11841,13 @@ __metadata: languageName: node linkType: hard +"p-try@npm:^2.0.0": + version: 2.2.0 + resolution: "p-try@npm:2.2.0" + checksum: c36c19907734c904b16994e6535b02c36c2224d433e01a2f1ab777237f4d86e6289fd5fd464850491e940379d4606ed850c03e0f9ab600b0ebddb511312e177f + languageName: node + linkType: hard + "pako@npm:^2.0.4": version: 2.1.0 resolution: "pako@npm:2.1.0" @@ -9766,6 +12038,44 @@ __metadata: languageName: node linkType: hard +"pino-abstract-transport@npm:v0.5.0": + version: 0.5.0 + resolution: "pino-abstract-transport@npm:0.5.0" + dependencies: + duplexify: "npm:^4.1.2" + split2: "npm:^4.0.0" + checksum: 0d0e30399028ec156642b4cdfe1a040b9022befdc38e8f85935d1837c3da6050691888038433f88190d1a1eff5d90abe17ff7e6edffc09baa2f96e51b6808183 + languageName: node + linkType: hard + +"pino-std-serializers@npm:^4.0.0": + version: 4.0.0 + resolution: "pino-std-serializers@npm:4.0.0" + checksum: 9e8ccac9ce04a27ccc7aa26481d431b9e037d866b101b89d895c60b925baffb82685e84d5c29b05d8e3d7c146d766a9b08949cb24ab1ec526a16134c9962d649 + languageName: node + linkType: hard + +"pino@npm:7.11.0": + version: 7.11.0 + resolution: "pino@npm:7.11.0" + dependencies: + atomic-sleep: "npm:^1.0.0" + fast-redact: "npm:^3.0.0" + on-exit-leak-free: "npm:^0.2.0" + pino-abstract-transport: "npm:v0.5.0" + pino-std-serializers: "npm:^4.0.0" + process-warning: "npm:^1.0.0" + quick-format-unescaped: "npm:^4.0.3" + real-require: "npm:^0.1.0" + safe-stable-stringify: "npm:^2.1.0" + sonic-boom: "npm:^2.2.1" + thread-stream: "npm:^0.15.1" + bin: + pino: bin.js + checksum: 4cc1ed9d25a4bc5d61c836a861279fa0039159b8f2f37ec337e50b0a61f3980dab5d2b1393daec26f68a19c423262649f0818654c9ad102c35310544a202c62c + languageName: node + linkType: hard + "pkg-types@npm:^1.0.3": version: 1.0.3 resolution: "pkg-types@npm:1.0.3" @@ -9777,6 +12087,13 @@ __metadata: languageName: node linkType: hard +"pngjs@npm:^5.0.0": + version: 5.0.0 + resolution: "pngjs@npm:5.0.0" + checksum: c074d8a94fb75e2defa8021e85356bf7849688af7d8ce9995b7394d57cd1a777b272cfb7c4bce08b8d10e71e708e7717c81fd553a413f21840c548ec9d4893c6 + languageName: node + linkType: hard + "postcss@npm:^8.4.13, postcss@npm:^8.4.32": version: 8.4.33 resolution: "postcss@npm:8.4.33" @@ -9856,6 +12173,13 @@ __metadata: languageName: node linkType: hard +"process-warning@npm:^1.0.0": + version: 1.0.0 + resolution: "process-warning@npm:1.0.0" + checksum: 43ec4229d64eb5c58340c8aacade49eb5f6fd513eae54140abf365929ca20987f0a35c5868125e2b583cad4de8cd257beb5667d9cc539d9190a7a4c3014adf22 + languageName: node + linkType: hard + "process@npm:^0.11.10": version: 0.11.10 resolution: "process@npm:0.11.10" @@ -9900,6 +12224,13 @@ __metadata: languageName: node linkType: hard +"proxy-compare@npm:2.5.1": + version: 2.5.1 + resolution: "proxy-compare@npm:2.5.1" + checksum: 116fc69ae9a6bb3654e6907fb09b73e84aa47c89275ca52648fc1d2ac8b35dbf54daa8bab078d7a735337c928e87eb52059e705434adf14989bbe6c5dcdd08fa + languageName: node + linkType: hard + "proxy-from-env@npm:^1.1.0": version: 1.1.0 resolution: "proxy-from-env@npm:1.1.0" @@ -9952,6 +12283,20 @@ __metadata: languageName: node linkType: hard +"qrcode@npm:1.5.3": + version: 1.5.3 + resolution: "qrcode@npm:1.5.3" + dependencies: + dijkstrajs: "npm:^1.0.1" + encode-utf8: "npm:^1.0.3" + pngjs: "npm:^5.0.0" + yargs: "npm:^15.3.1" + bin: + qrcode: bin/qrcode + checksum: eb961cd8246e00ae338b6d4a3a28574174456db42cec7070aa2b315fb6576b7f040b0e4347be290032e447359a145c68cb60ef884d55ca3e1076294fed46f719 + languageName: node + linkType: hard + "qs@npm:6.11.0": version: 6.11.0 resolution: "qs@npm:6.11.0" @@ -9977,6 +12322,18 @@ __metadata: languageName: node linkType: hard +"query-string@npm:7.1.3": + version: 7.1.3 + resolution: "query-string@npm:7.1.3" + dependencies: + decode-uri-component: "npm:^0.2.2" + filter-obj: "npm:^1.1.0" + split-on-first: "npm:^1.0.0" + strict-uri-encode: "npm:^2.0.0" + checksum: a896c08e9e0d4f8ffd89a572d11f668c8d0f7df9c27c6f49b92ab31366d3ba0e9c331b9a620ee747893436cd1f2f821a6327e2bc9776bde2402ac6c270b801b2 + languageName: node + linkType: hard + "query-string@npm:^5.0.1": version: 5.1.1 resolution: "query-string@npm:5.1.1" @@ -10002,6 +12359,13 @@ __metadata: languageName: node linkType: hard +"quick-format-unescaped@npm:^4.0.3": + version: 4.0.4 + resolution: "quick-format-unescaped@npm:4.0.4" + checksum: fe5acc6f775b172ca5b4373df26f7e4fd347975578199e7d74b2ae4077f0af05baa27d231de1e80e8f72d88275ccc6028568a7a8c9ee5e7368ace0e18eff93a4 + languageName: node + linkType: hard + "quick-lru@npm:^5.1.1": version: 5.1.1 resolution: "quick-lru@npm:5.1.1" @@ -10009,6 +12373,13 @@ __metadata: languageName: node linkType: hard +"radix3@npm:^1.1.0": + version: 1.1.0 + resolution: "radix3@npm:1.1.0" + checksum: a0c3b2c698e365cf6ff8dd01d4651d5e79042c55dc008871247aa5e0d60951d86a00457ce0c75e3a71adc52992aa4c33ab060a63771d2dfb6a0c1502b97a644c + languageName: node + linkType: hard + "rambda@npm:^7.4.0": version: 7.5.0 resolution: "rambda@npm:7.5.0" @@ -10090,7 +12461,7 @@ __metadata: languageName: node linkType: hard -"readable-stream@npm:^3.6.0": +"readable-stream@npm:^3.1.1, readable-stream@npm:^3.6.0": version: 3.6.2 resolution: "readable-stream@npm:3.6.2" dependencies: @@ -10122,6 +12493,29 @@ __metadata: languageName: node linkType: hard +"real-require@npm:^0.1.0": + version: 0.1.0 + resolution: "real-require@npm:0.1.0" + checksum: c0f8ae531d1f51fe6343d47a2a1e5756e19b65a81b4a9642b9ebb4874e0d8b5f3799bc600bf4592838242477edc6f57778593f21b71d90f8ad0d8a317bbfae1c + languageName: node + linkType: hard + +"redis-errors@npm:^1.0.0, redis-errors@npm:^1.2.0": + version: 1.2.0 + resolution: "redis-errors@npm:1.2.0" + checksum: 5b316736e9f532d91a35bff631335137a4f974927bb2fb42bf8c2f18879173a211787db8ac4c3fde8f75ed6233eb0888e55d52510b5620e30d69d7d719c8b8a7 + languageName: node + linkType: hard + +"redis-parser@npm:^3.0.0": + version: 3.0.0 + resolution: "redis-parser@npm:3.0.0" + dependencies: + redis-errors: "npm:^1.0.0" + checksum: ee16ac4c7b2a60b1f42a2cdaee22b005bd4453eb2d0588b8a4939718997ae269da717434da5d570fe0b05030466eeb3f902a58cf2e8e1ca058bf6c9c596f632f + languageName: node + linkType: hard + "regenerator-runtime@npm:^0.14.0": version: 0.14.0 resolution: "regenerator-runtime@npm:0.14.0" @@ -10182,6 +12576,13 @@ __metadata: languageName: node linkType: hard +"require-main-filename@npm:^2.0.0": + version: 2.0.0 + resolution: "require-main-filename@npm:2.0.0" + checksum: db91467d9ead311b4111cbd73a4e67fa7820daed2989a32f7023785a2659008c6d119752d9c4ac011ae07e537eb86523adff99804c5fdb39cd3a017f9b401bb6 + languageName: node + linkType: hard + "requireindex@npm:^1.2.0": version: 1.2.0 resolution: "requireindex@npm:1.2.0" @@ -10475,7 +12876,16 @@ __metadata: languageName: node linkType: hard -"rxjs@npm:^7.8.1": +"rxjs@npm:^6.6.3": + version: 6.6.7 + resolution: "rxjs@npm:6.6.7" + dependencies: + tslib: "npm:^1.9.0" + checksum: e556a13a9aa89395e5c9d825eabcfa325568d9c9990af720f3f29f04a888a3b854f25845c2b55875d875381abcae2d8100af9cacdc57576e7ed6be030a01d2fe + languageName: node + linkType: hard + +"rxjs@npm:^7.5.2, rxjs@npm:^7.5.5, rxjs@npm:^7.8.1": version: 7.8.1 resolution: "rxjs@npm:7.8.1" dependencies: @@ -10484,6 +12894,15 @@ __metadata: languageName: node linkType: hard +"sade@npm:^1.8.1": + version: 1.8.1 + resolution: "sade@npm:1.8.1" + dependencies: + mri: "npm:^1.1.0" + checksum: da8a3a5d667ad5ce3bf6d4f054bbb9f711103e5df21003c5a5c1a8a77ce12b640ed4017dd423b13c2307ea7e645adee7c2ae3afe8051b9db16a6f6d3da3f90b1 + languageName: node + linkType: hard + "safe-array-concat@npm:^1.0.1": version: 1.0.1 resolution: "safe-array-concat@npm:1.0.1" @@ -10530,6 +12949,13 @@ __metadata: languageName: node linkType: hard +"safe-stable-stringify@npm:^2.1.0": + version: 2.4.3 + resolution: "safe-stable-stringify@npm:2.4.3" + checksum: 81dede06b8f2ae794efd868b1e281e3c9000e57b39801c6c162267eb9efda17bd7a9eafa7379e1f1cacd528d4ced7c80d7460ad26f62ada7c9e01dec61b2e768 + languageName: node + linkType: hard + "safer-buffer@npm:>= 2.1.2 < 3, safer-buffer@npm:>= 2.1.2 < 3.0.0, safer-buffer@npm:^2.0.2, safer-buffer@npm:^2.1.0, safer-buffer@npm:~2.1.0": version: 2.1.2 resolution: "safer-buffer@npm:2.1.2" @@ -10647,6 +13073,13 @@ __metadata: languageName: node linkType: hard +"set-blocking@npm:^2.0.0": + version: 2.0.0 + resolution: "set-blocking@npm:2.0.0" + checksum: 9f8c1b2d800800d0b589de1477c753492de5c1548d4ade52f57f1d1f5e04af5481554d75ce5e5c43d4004b80a3eb714398d6907027dc0534177b7539119f4454 + languageName: node + linkType: hard + "set-function-length@npm:^1.1.1": version: 1.1.1 resolution: "set-function-length@npm:1.1.1" @@ -10850,6 +13283,15 @@ __metadata: languageName: node linkType: hard +"sonic-boom@npm:^2.2.1": + version: 2.8.0 + resolution: "sonic-boom@npm:2.8.0" + dependencies: + atomic-sleep: "npm:^1.0.0" + checksum: 6b40f2e91a999819b1dc24018a5d1c8b74e66e5d019eabad17d5b43fc309b32255b7c405ed6ec885693c8f2b969099ce96aeefde027180928bc58c034234a86d + languageName: node + linkType: hard + "source-map-js@npm:^1.0.1, source-map-js@npm:^1.0.2": version: 1.0.2 resolution: "source-map-js@npm:1.0.2" @@ -10871,6 +13313,20 @@ __metadata: languageName: node linkType: hard +"split-on-first@npm:^1.0.0": + version: 1.1.0 + resolution: "split-on-first@npm:1.1.0" + checksum: 56df8344f5a5de8521898a5c090023df1d8b8c75be6228f56c52491e0fc1617a5236f2ac3a066adb67a73231eac216ccea7b5b4a2423a543c277cb2f48d24c29 + languageName: node + linkType: hard + +"split2@npm:^4.0.0": + version: 4.2.0 + resolution: "split2@npm:4.2.0" + checksum: b292beb8ce9215f8c642bb68be6249c5a4c7f332fc8ecadae7be5cbdf1ea95addc95f0459ef2e7ad9d45fd1064698a097e4eb211c83e772b49bc0ee423e91534 + languageName: node + linkType: hard + "sprintf-js@npm:~1.0.2": version: 1.0.3 resolution: "sprintf-js@npm:1.0.3" @@ -10915,6 +13371,13 @@ __metadata: languageName: node linkType: hard +"standard-as-callback@npm:^2.1.0": + version: 2.1.0 + resolution: "standard-as-callback@npm:2.1.0" + checksum: 012677236e3d3fdc5689d29e64ea8a599331c4babe86956bf92fc5e127d53f85411c5536ee0079c52c43beb0026b5ce7aa1d834dd35dd026e82a15d1bcaead1f + languageName: node + linkType: hard + "statuses@npm:2.0.1": version: 2.0.1 resolution: "statuses@npm:2.0.1" @@ -10929,7 +13392,7 @@ __metadata: languageName: node linkType: hard -"std-env@npm:^3.5.0": +"std-env@npm:^3.5.0, std-env@npm:^3.7.0": version: 3.7.0 resolution: "std-env@npm:3.7.0" checksum: 60edf2d130a4feb7002974af3d5a5f3343558d1ccf8d9b9934d225c638606884db4a20d2fe6440a09605bca282af6b042ae8070a10490c0800d69e82e478f41e @@ -10943,6 +13406,13 @@ __metadata: languageName: node linkType: hard +"stream-shift@npm:^1.0.0": + version: 1.0.3 + resolution: "stream-shift@npm:1.0.3" + checksum: 939cd1051ca750d240a0625b106a2b988c45fb5a3be0cebe9a9858cb01bc1955e8c7b9fac17a9462976bea4a7b704e317c5c2200c70f0ca715a3363b9aa4fd3b + languageName: node + linkType: hard + "strict-uri-encode@npm:^1.0.0": version: 1.1.0 resolution: "strict-uri-encode@npm:1.1.0" @@ -10950,6 +13420,13 @@ __metadata: languageName: node linkType: hard +"strict-uri-encode@npm:^2.0.0": + version: 2.0.0 + resolution: "strict-uri-encode@npm:2.0.0" + checksum: 010cbc78da0e2cf833b0f5dc769e21ae74cdc5d5f5bd555f14a4a4876c8ad2c85ab8b5bdf9a722dc71a11dcd3184085e1c3c0bd50ec6bb85fffc0f28cf82597d + languageName: node + linkType: hard + "string-argv@npm:~0.3.1": version: 0.3.2 resolution: "string-argv@npm:0.3.2" @@ -11101,6 +13578,15 @@ __metadata: languageName: node linkType: hard +"sturdy-websocket@npm:^0.1.12": + version: 0.1.12 + resolution: "sturdy-websocket@npm:0.1.12" + dependencies: + lodash.defaults: "npm:^4.2.0" + checksum: 8aa0a1273f4d9bf546645e4ad43d3b47c2d986260e092fc1778ec7cb2a56f0876de5eaf4f79d56880701b5a8b1ceaa017a0769103c070a502ae9758f8d075881 + languageName: node + linkType: hard + "supports-color@npm:^5.3.0": version: 5.5.0 resolution: "supports-color@npm:5.5.0" @@ -11126,6 +13612,32 @@ __metadata: languageName: node linkType: hard +"svelte-i18n@npm:^3.3.13": + version: 3.7.4 + resolution: "svelte-i18n@npm:3.7.4" + dependencies: + cli-color: "npm:^2.0.3" + deepmerge: "npm:^4.2.2" + esbuild: "npm:^0.19.2" + estree-walker: "npm:^2" + intl-messageformat: "npm:^9.13.0" + sade: "npm:^1.8.1" + tiny-glob: "npm:^0.2.9" + peerDependencies: + svelte: ^3 || ^4 + bin: + svelte-i18n: dist/cli.js + checksum: c018c021a267b1a54143971bde6adc39f0d2793eb50cfc0a50f6c8cac2cd5771811e733f21f2938a0d73860819d9ccf8cec71a1bb923085fbbf01ad2fb23a668 + languageName: node + linkType: hard + +"svelte@npm:^3.49.0": + version: 3.59.2 + resolution: "svelte@npm:3.59.2" + checksum: 3482d020b291c6784e372315d63e3ab5530b8389adbd739a369d69ec995929276ebbc1cbdf8e5382c9dd887a55ec655702769de85836270e1a4a0ab3e0247b34 + languageName: node + linkType: hard + "swarm-js@npm:^0.1.40": version: 0.1.42 resolution: "swarm-js@npm:0.1.42" @@ -11162,6 +13674,13 @@ __metadata: languageName: node linkType: hard +"system-architecture@npm:^0.1.0": + version: 0.1.0 + resolution: "system-architecture@npm:0.1.0" + checksum: 1969974ea5d31a9ac7c38f2657cfe8255b36f9e1d5ba3c58cb84c24fbeedf562778b8511f18a0abe6d70ae90148cfcaf145ecf26e37c0a53a3829076f3238cbb + languageName: node + linkType: hard + "tar@npm:^4.0.2": version: 4.4.19 resolution: "tar@npm:4.4.19" @@ -11198,6 +13717,15 @@ __metadata: languageName: node linkType: hard +"thread-stream@npm:^0.15.1": + version: 0.15.2 + resolution: "thread-stream@npm:0.15.2" + dependencies: + real-require: "npm:^0.1.0" + checksum: f92f1b5a9f3f35a72c374e3fecbde6f14d69d5325ad9ce88930af6ed9c7c1ec814367716b712205fa4f06242ae5dd97321ae2c00b43586590ed4fa861f3c29ae + languageName: node + linkType: hard + "timed-out@npm:^4.0.1": version: 4.0.1 resolution: "timed-out@npm:4.0.1" @@ -11205,6 +13733,26 @@ __metadata: languageName: node linkType: hard +"timers-ext@npm:^0.1.7": + version: 0.1.7 + resolution: "timers-ext@npm:0.1.7" + dependencies: + es5-ext: "npm:~0.10.46" + next-tick: "npm:1" + checksum: fc43c6a01f52875e57d301ae9ec47b3021c6d9b96de5bc6e4e5fc4a3d2b25ebaab69faf6fe85520efbef0ad784537748f88f7efd7b6b2bf0a177c8bc7a66ca7c + languageName: node + linkType: hard + +"tiny-glob@npm:^0.2.9": + version: 0.2.9 + resolution: "tiny-glob@npm:0.2.9" + dependencies: + globalyzer: "npm:0.1.0" + globrex: "npm:^0.1.2" + checksum: cbe072f0d213a1395d30aa94845a051d4af18fe8ffb79c8e99ac1787cd25df69083f17791a53997cb65f469f48950cb61426ccc0683cc9df170ac2430e883702 + languageName: node + linkType: hard + "tinybench@npm:^2.5.1": version: 2.6.0 resolution: "tinybench@npm:2.6.0" @@ -11322,7 +13870,14 @@ __metadata: languageName: node linkType: hard -"tslib@npm:^2.0.0, tslib@npm:^2.1.0, tslib@npm:^2.5.0, tslib@npm:^2.5.2, tslib@npm:^2.6.0, tslib@npm:^2.6.1, tslib@npm:^2.6.2": +"tslib@npm:1.14.1, tslib@npm:^1.9.0": + version: 1.14.1 + resolution: "tslib@npm:1.14.1" + checksum: 69ae09c49eea644bc5ebe1bca4fa4cc2c82b7b3e02f43b84bd891504edf66dbc6b2ec0eef31a957042de2269139e4acff911e6d186a258fb14069cd7f6febce2 + languageName: node + linkType: hard + +"tslib@npm:^2.0.0, tslib@npm:^2.1.0, tslib@npm:^2.3.1, tslib@npm:^2.5.0, tslib@npm:^2.5.2, tslib@npm:^2.6.0, tslib@npm:^2.6.1, tslib@npm:^2.6.2": version: 2.6.2 resolution: "tslib@npm:2.6.2" checksum: e03a8a4271152c8b26604ed45535954c0a45296e32445b4b87f8a5abdb2421f40b59b4ca437c4346af0f28179780d604094eb64546bee2019d903d01c6c19bdb @@ -11516,13 +14071,22 @@ __metadata: languageName: node linkType: hard -"ufo@npm:^1.3.2": +"ufo@npm:^1.3.0, ufo@npm:^1.3.1, ufo@npm:^1.3.2": version: 1.3.2 resolution: "ufo@npm:1.3.2" checksum: 180f3dfcdf319b54fe0272780841c93cb08a024fc2ee5f95e63285c2a3c42d8b671cd3641e9a53aafccf100cf8466aa8c040ddfa0efea1fc1968c9bfb250a661 languageName: node linkType: hard +"uint8arrays@npm:^3.0.0, uint8arrays@npm:^3.1.0": + version: 3.1.1 + resolution: "uint8arrays@npm:3.1.1" + dependencies: + multiformats: "npm:^9.4.2" + checksum: 9946668e04f29b46bbb73cca3d190f63a2fbfe5452f8e6551ef4257d9d597b72da48fa895c15ef2ef772808a5335b3305f69da5f13a09f8c2924896b409565ff + languageName: node + linkType: hard + "ultron@npm:~1.1.0": version: 1.1.1 resolution: "ultron@npm:1.1.1" @@ -11542,6 +14106,13 @@ __metadata: languageName: node linkType: hard +"uncrypto@npm:^0.1.3": + version: 0.1.3 + resolution: "uncrypto@npm:0.1.3" + checksum: 74a29afefd76d5b77bedc983559ceb33f5bbc8dada84ff33755d1e3355da55a4e03a10e7ce717918c436b4dfafde1782e799ebaf2aadd775612b49f7b5b2998e + languageName: node + linkType: hard + "undici-types@npm:~5.25.1": version: 5.25.3 resolution: "undici-types@npm:5.25.3" @@ -11549,6 +14120,26 @@ __metadata: languageName: node linkType: hard +"unenv@npm:^1.9.0": + version: 1.9.0 + resolution: "unenv@npm:1.9.0" + dependencies: + consola: "npm:^3.2.3" + defu: "npm:^6.1.3" + mime: "npm:^3.0.0" + node-fetch-native: "npm:^1.6.1" + pathe: "npm:^1.1.1" + checksum: d00012badc83731c07f08d5129c702c49c0212375eb3732b27aae89ace3c67162dbaea4496965676f18fc06b0ec445d91385e283f5fd3e4540dda8b0b5424f81 + languageName: node + linkType: hard + +"unfetch@npm:^4.2.0": + version: 4.2.0 + resolution: "unfetch@npm:4.2.0" + checksum: a5c0a896a6f09f278b868075aea65652ad185db30e827cb7df45826fe5ab850124bf9c44c4dafca4bf0c55a0844b17031e8243467fcc38dd7a7d435007151f1b + languageName: node + linkType: hard + "unique-filename@npm:^3.0.0": version: 3.0.0 resolution: "unique-filename@npm:3.0.0" @@ -11588,6 +14179,63 @@ __metadata: languageName: node linkType: hard +"unstorage@npm:^1.9.0": + version: 1.10.1 + resolution: "unstorage@npm:1.10.1" + dependencies: + anymatch: "npm:^3.1.3" + chokidar: "npm:^3.5.3" + destr: "npm:^2.0.2" + h3: "npm:^1.8.2" + ioredis: "npm:^5.3.2" + listhen: "npm:^1.5.5" + lru-cache: "npm:^10.0.2" + mri: "npm:^1.2.0" + node-fetch-native: "npm:^1.4.1" + ofetch: "npm:^1.3.3" + ufo: "npm:^1.3.1" + peerDependencies: + "@azure/app-configuration": ^1.4.1 + "@azure/cosmos": ^4.0.0 + "@azure/data-tables": ^13.2.2 + "@azure/identity": ^3.3.2 + "@azure/keyvault-secrets": ^4.7.0 + "@azure/storage-blob": ^12.16.0 + "@capacitor/preferences": ^5.0.6 + "@netlify/blobs": ^6.2.0 + "@planetscale/database": ^1.11.0 + "@upstash/redis": ^1.23.4 + "@vercel/kv": ^0.2.3 + idb-keyval: ^6.2.1 + peerDependenciesMeta: + "@azure/app-configuration": + optional: true + "@azure/cosmos": + optional: true + "@azure/data-tables": + optional: true + "@azure/identity": + optional: true + "@azure/keyvault-secrets": + optional: true + "@azure/storage-blob": + optional: true + "@capacitor/preferences": + optional: true + "@netlify/blobs": + optional: true + "@planetscale/database": + optional: true + "@upstash/redis": + optional: true + "@vercel/kv": + optional: true + idb-keyval: + optional: true + checksum: c73c8c45c8f061aff46c1b0634fa2d8cf10bc77aa71512ec77c561cd43cd870efdbbc07379dda8abafafda740762ee1aedb977413341bb05f5b9e221a26df130 + languageName: node + linkType: hard + "untildify@npm:^4.0.0": version: 4.0.0 resolution: "untildify@npm:4.0.0" @@ -11595,6 +14243,19 @@ __metadata: languageName: node linkType: hard +"untun@npm:^0.1.3": + version: 0.1.3 + resolution: "untun@npm:0.1.3" + dependencies: + citty: "npm:^0.1.5" + consola: "npm:^3.2.3" + pathe: "npm:^1.1.1" + bin: + untun: bin/untun.mjs + checksum: 2b44a4cc84a5c21994f43b9f55348e5a8d9dd5fd0ad8fb5cd091b6f6b53d506b1cdb90e89cc238d61b46d488f7a89ab0d1a5c735bfc835581c7b22a236381295 + languageName: node + linkType: hard + "update-browserslist-db@npm:^1.0.13": version: 1.0.13 resolution: "update-browserslist-db@npm:1.0.13" @@ -11609,6 +14270,13 @@ __metadata: languageName: node linkType: hard +"uqr@npm:^0.1.2": + version: 0.1.2 + resolution: "uqr@npm:0.1.2" + checksum: 40cd81b4c13f1764d52ec28da2d58e60816e6fae54d4eb75b32fbf3137937f438eff16c766139fb0faec5d248a5314591f5a0dbd694e569d419eed6f3bd80242 + languageName: node + linkType: hard + "uri-js@npm:^4.2.2": version: 4.4.1 resolution: "uri-js@npm:4.4.1" @@ -11635,6 +14303,15 @@ __metadata: languageName: node linkType: hard +"use-sync-external-store@npm:1.2.0": + version: 1.2.0 + resolution: "use-sync-external-store@npm:1.2.0" + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + checksum: ac4814e5592524f242921157e791b022efe36e451fe0d4fd4d204322d5433a4fc300d63b0ade5185f8e0735ded044c70bcf6d2352db0f74d097a238cebd2da02 + languageName: node + linkType: hard + "utf-8-validate@npm:^5.0.2": version: 5.0.10 resolution: "utf-8-validate@npm:5.0.10" @@ -11704,6 +14381,24 @@ __metadata: languageName: node linkType: hard +"valtio@npm:1.11.2": + version: 1.11.2 + resolution: "valtio@npm:1.11.2" + dependencies: + proxy-compare: "npm:2.5.1" + use-sync-external-store: "npm:1.2.0" + peerDependencies: + "@types/react": ">=16.8" + react: ">=16.8" + peerDependenciesMeta: + "@types/react": + optional: true + react: + optional: true + checksum: 9ed337d1da4a3730d429b3415c2cb63340998000e62fb3e545e2fc05d27f55fc510abc89046d6719b4cae02742cdb733fe235bade90bfae50a0e13ece2287106 + languageName: node + linkType: hard + "varint@npm:^5.0.0": version: 5.0.2 resolution: "varint@npm:5.0.2" @@ -12427,6 +15122,13 @@ __metadata: languageName: node linkType: hard +"which-module@npm:^2.0.0": + version: 2.0.1 + resolution: "which-module@npm:2.0.1" + checksum: 087038e7992649eaffa6c7a4f3158d5b53b14cf5b6c1f0e043dccfacb1ba179d12f17545d5b85ebd94a42ce280a6fe65d0cbcab70f4fc6daad1dfae85e0e6a3e + languageName: node + linkType: hard + "which-typed-array@npm:^1.1.11, which-typed-array@npm:^1.1.13, which-typed-array@npm:^1.1.2": version: 1.1.13 resolution: "which-typed-array@npm:1.1.13" @@ -12549,7 +15251,7 @@ __metadata: languageName: node linkType: hard -"ws@npm:^7.4.2": +"ws@npm:^7.4.2, ws@npm:^7.5.1": version: 7.5.9 resolution: "ws@npm:7.5.9" peerDependencies: @@ -12660,6 +15362,13 @@ __metadata: languageName: node linkType: hard +"y18n@npm:^4.0.0": + version: 4.0.3 + resolution: "y18n@npm:4.0.3" + checksum: 308a2efd7cc296ab2c0f3b9284fd4827be01cfeb647b3ba18230e3a416eb1bc887ac050de9f8c4fd9e7856b2e8246e05d190b53c96c5ad8d8cb56dffb6f81024 + languageName: node + linkType: hard + "y18n@npm:^5.0.5": version: 5.0.8 resolution: "y18n@npm:5.0.8" @@ -12688,6 +15397,16 @@ __metadata: languageName: node linkType: hard +"yargs-parser@npm:^18.1.2": + version: 18.1.3 + resolution: "yargs-parser@npm:18.1.3" + dependencies: + camelcase: "npm:^5.0.0" + decamelize: "npm:^1.2.0" + checksum: 25df918833592a83f52e7e4f91ba7d7bfaa2b891ebf7fe901923c2ee797534f23a176913ff6ff7ebbc1cc1725a044cc6a6539fed8bfd4e13b5b16376875f9499 + languageName: node + linkType: hard + "yargs-parser@npm:^21.1.1": version: 21.1.1 resolution: "yargs-parser@npm:21.1.1" @@ -12695,6 +15414,25 @@ __metadata: languageName: node linkType: hard +"yargs@npm:^15.3.1": + version: 15.4.1 + resolution: "yargs@npm:15.4.1" + dependencies: + cliui: "npm:^6.0.0" + decamelize: "npm:^1.2.0" + find-up: "npm:^4.1.0" + get-caller-file: "npm:^2.0.1" + require-directory: "npm:^2.1.1" + require-main-filename: "npm:^2.0.0" + set-blocking: "npm:^2.0.0" + string-width: "npm:^4.2.0" + which-module: "npm:^2.0.0" + y18n: "npm:^4.0.0" + yargs-parser: "npm:^18.1.2" + checksum: f1ca680c974333a5822732825cca7e95306c5a1e7750eb7b973ce6dc4f97a6b0a8837203c8b194f461969bfe1fb1176d1d423036635285f6010b392fa498ab2d + languageName: node + linkType: hard + "yargs@npm:^17.5.1, yargs@npm:^17.7.2": version: 17.7.2 resolution: "yargs@npm:17.7.2" From 59684a15f2df5e33c9cc65955797f16201841b04 Mon Sep 17 00:00:00 2001 From: Marin Petrunic Date: Mon, 5 Feb 2024 11:18:29 +0100 Subject: [PATCH 02/20] add wallet context Signed-off-by: Marin Petrunic --- packages/widget/package.json | 2 +- .../src/components/buttons/connect-wallet.ts | 67 +++++++--- packages/widget/src/context/index.ts | 6 + packages/widget/src/context/wallet.ts | 58 +++++++++ .../src/controllers/wallet-manager/context.ts | 9 -- .../controllers/wallet-manager/controller.ts | 116 ++++++++++++------ packages/widget/src/controllers/widget.ts | 14 ++- packages/widget/src/widget.ts | 110 +++++++++-------- .../widget/tests/unit/context/wallet.test.ts | 57 +++++++++ .../wallet-manager/EvmWallet.test.ts | 27 ---- .../wallet-manager/Substrate.test.ts | 38 ------ yarn.lock | 10 +- 12 files changed, 322 insertions(+), 192 deletions(-) create mode 100644 packages/widget/src/context/index.ts create mode 100644 packages/widget/src/context/wallet.ts delete mode 100644 packages/widget/src/controllers/wallet-manager/context.ts create mode 100644 packages/widget/tests/unit/context/wallet.test.ts delete mode 100644 packages/widget/tests/unit/controllers/wallet-manager/EvmWallet.test.ts delete mode 100644 packages/widget/tests/unit/controllers/wallet-manager/Substrate.test.ts diff --git a/packages/widget/package.json b/packages/widget/package.json index 79dcb3df..2480e8ec 100644 --- a/packages/widget/package.json +++ b/packages/widget/package.json @@ -27,7 +27,7 @@ }, "author": "Sygmaprotocol Product Team", "dependencies": { - "@buildwithsygma/sygma-sdk-core": "^2.6.0", + "@buildwithsygma/sygma-sdk-core": "^2.6.2", "@ethersproject/abstract-signer": "^5.7.0", "@ethersproject/contracts": "^5.7.0", "@ethersproject/providers": "^5.7.2", diff --git a/packages/widget/src/components/buttons/connect-wallet.ts b/packages/widget/src/components/buttons/connect-wallet.ts index ac4d9ab8..0e680681 100644 --- a/packages/widget/src/components/buttons/connect-wallet.ts +++ b/packages/widget/src/components/buttons/connect-wallet.ts @@ -1,10 +1,14 @@ -import { LitElement, html, type HTMLTemplateResult } from 'lit'; -import { customElement, property, state } from 'lit/decorators.js'; import type { Domain } from '@buildwithsygma/sygma-sdk-core'; -import { ifDefined } from 'lit/directives/if-defined.js'; +import { consume } from '@lit/context'; +import { LitElement, html } from 'lit'; +import type { PropertyValues, type HTMLTemplateResult } from 'lit'; +import { customElement, property, state } from 'lit/decorators.js'; import { when } from 'lit/directives/when.js'; +import type { EIP1193Provider } from '@web3-onboard/core'; import plusIcon from '../../assets/icons/plusIcon'; -import { WalletController } from '../../controllers/wallet-manager/controller'; +import type { WalletContext } from '../../context'; +import { walletContext } from '../../context'; +import { WalletController } from '../../controllers'; import { shortAddress } from '../../utils'; import { styles } from './connect-wallet.style'; @@ -12,38 +16,69 @@ import { styles } from './connect-wallet.style'; export class ConnectWalletButton extends LitElement { static styles = styles; - private walletController = new WalletController(this); + @property({ + type: Object, + attribute: true, + hasChanged: (value: Domain, old: Domain) => { + return value?.id !== old?.id; + } + }) + sourceNetwork?: Domain; @property({ type: Object }) - sourceNetwork?: Domain; + evmProvider?: EIP1193Provider; + + @property({ + type: String + }) + dappUrl?: string; + + @consume({ context: walletContext, subscribe: true }) + @state() + private wallets!: WalletContext; + + private walletController = new WalletController(this); + + connectedCallback(): void { + super.connectedCallback(); + if (this.evmProvider) { + this.walletController.useEvmProvider(this.evmProvider); + } + } + + updated(changedProperties: PropertyValues): void { + super.updated(changedProperties); + if (changedProperties.has('sourceNetwork')) { + this.walletController.sourceNetworkUpdated(this.sourceNetwork); + } + } private onConnectClicked = (): void => { if (this.sourceNetwork) { - this.walletController.connectWallet(this.sourceNetwork); + this.walletController.connectWallet(this.sourceNetwork, { + dappUrl: this.dappUrl + }); } }; private onDisconnectClicked = (): void => { - this.walletController.disconnectWallet(); + this.walletController.disconnectEvmWallet(); }; private isWalletConnected(): boolean { - return !!this.walletController.evmWallet; + return !!this.wallets.evmWallet; } render(): HTMLTemplateResult { + const evmWallet = this.wallets.evmWallet; return html`
${when( - this.walletController.evmWallet?.address !== undefined, + evmWallet?.address !== undefined, () => - html`${shortAddress( - this.walletController.evmWallet?.address ?? '' - )}${shortAddress(evmWallet?.address ?? '')}` )} ${when( diff --git a/packages/widget/src/context/index.ts b/packages/widget/src/context/index.ts new file mode 100644 index 00000000..f63065ba --- /dev/null +++ b/packages/widget/src/context/index.ts @@ -0,0 +1,6 @@ +export { + walletContext, + WalletUpdateEvent, + WalletContextProvider +} from './wallet'; +export type { EvmWallet, WalletContext } from './wallet'; diff --git a/packages/widget/src/context/wallet.ts b/packages/widget/src/context/wallet.ts new file mode 100644 index 00000000..ff12219e --- /dev/null +++ b/packages/widget/src/context/wallet.ts @@ -0,0 +1,58 @@ +import { createContext, provide } from '@lit/context'; +import type { EIP1193Provider } from '@web3-onboard/core'; +import type { HTMLTemplateResult } from 'lit'; +import { LitElement, html } from 'lit'; +import { customElement } from 'lit/decorators.js'; + +export interface EvmWallet { + address: string; + provider: EIP1193Provider; +} + +export interface WalletContext { + evmWallet?: EvmWallet; +} + +declare global { + interface HTMLElementEventMap { + walletUpdate: WalletUpdateEvent; + } +} + +export const walletContext = createContext( + Symbol('sygma-wallet-context') +); + +export class WalletUpdateEvent extends CustomEvent { + constructor(update: Partial) { + super('walletUpdate', { detail: update, composed: true, bubbles: true }); + } +} + +@customElement('sygma-wallet-context-provider') +export class WalletContextProvider extends LitElement { + //TODO: add properties to allow widget to pass external provider/signers. + + @provide({ context: walletContext }) + private walletContext: WalletContext = {}; + + connectedCallback(): void { + super.connectedCallback(); + this.addEventListener('walletUpdate', (event: WalletUpdateEvent) => { + this.walletContext = { + ...this.walletContext, + ...event.detail + }; + }); + } + + protected render(): HTMLTemplateResult { + return html``; + } +} + +declare global { + interface HTMLElementTagNameMap { + 'sygma-wallet-context-provider': WalletContextProvider; + } +} diff --git a/packages/widget/src/controllers/wallet-manager/context.ts b/packages/widget/src/controllers/wallet-manager/context.ts deleted file mode 100644 index 1bd23842..00000000 --- a/packages/widget/src/controllers/wallet-manager/context.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { createContext } from '@lit/context'; -import type { EIP1193Provider } from '@web3-onboard/core'; - -export interface EvmWallet { - provider: EIP1193Provider; - address: string; -} - -export const evmWalletContext = createContext('sygmaEvmWallet'); diff --git a/packages/widget/src/controllers/wallet-manager/controller.ts b/packages/widget/src/controllers/wallet-manager/controller.ts index a2192222..524fad9a 100644 --- a/packages/widget/src/controllers/wallet-manager/controller.ts +++ b/packages/widget/src/controllers/wallet-manager/controller.ts @@ -1,45 +1,45 @@ import type { Domain } from '@buildwithsygma/sygma-sdk-core'; import { Network } from '@buildwithsygma/sygma-sdk-core'; -import type { ContextProvider } from '@lit/context'; +import { ContextConsumer } from '@lit/context'; +import type { EIP1193Provider } from '@web3-onboard/core'; import Onboard from '@web3-onboard/core'; import injectedModule from '@web3-onboard/injected-wallets'; import walletConnectModule from '@web3-onboard/walletconnect'; -import type { ReactiveController, ReactiveControllerHost } from 'lit'; -import type { evmWalletContext } from './context'; +import type { ReactiveController, ReactiveElement } from 'lit'; +import type { WalletContext } from '../../context'; +import { WalletUpdateEvent, walletContext } from '../../context'; export class WalletController implements ReactiveController { - host: ReactiveControllerHost; + host: ReactiveElement; - private evmWallet: ContextProvider; + walletContext: ContextConsumer; - constructor( - host: ReactiveControllerHost, - evmWallet: ContextProvider - ) { + constructor(host: ReactiveElement) { (this.host = host).addController(this); - this.evmWallet = evmWallet; + this.walletContext = new ContextConsumer(host, { + context: walletContext, + subscribe: true + }); } hostConnected(): void {} hostDisconnected(): void { - if (this.evmWallet) { - this.evmWallet.value.provider.removeListener( + const evmWallet = this.walletContext.value?.evmWallet; + if (evmWallet) { + evmWallet.provider.removeListener( 'accountsChanged', this.onEvmAccountChange ); - this.evmWallet.value.provider.removeListener( - 'disconnect', - this.onEvmDisconnect - ); + evmWallet.provider.removeListener('disconnect', this.onEvmDisconnect); } } - connectWallet = (network: Domain): void => { + connectWallet = (network: Domain, options?: { dappUrl?: string }): void => { switch (network.type) { case Network.EVM: { - void this.connectEvmWallet(network); + void this.connectEvmWallet(network, options); } break; default: @@ -47,20 +47,27 @@ export class WalletController implements ReactiveController { } }; - disconnectWallet = (): void => { - if (this.evmWallet) { - this.evmWallet.value.provider.disconnect?.(); + disconnectEvmWallet = (): void => { + const evmWallet = this.walletContext.value?.evmWallet; + if (evmWallet) { + evmWallet?.provider.disconnect?.(); this.onEvmDisconnect(); } }; - connectEvmWallet = async (network: Domain): Promise => { + connectEvmWallet = async ( + network: Domain, + options?: { dappUrl?: string } + ): Promise => { const injected = injectedModule(); const onboard = Onboard({ wallets: [ injected, - walletConnectModule({ projectId: '2f5a3439ef861e2a3959d85afcd32d06' }) + walletConnectModule({ + projectId: '2f5a3439ef861e2a3959d85afcd32d06', + dappUrl: options?.dappUrl + }) ], chains: [ { @@ -75,16 +82,19 @@ export class WalletController implements ReactiveController { const wallets = await onboard.connectWallet(); if (wallets[0]) { - this.evmWallet.setValue({ - address: - wallets[0].accounts[0].ens?.name ?? wallets[0].accounts[0].address, - provider: wallets[0].provider - }); - this.evmWallet.value.provider.on( - 'accountsChanged', - this.onEvmAccountChange + this.host.dispatchEvent( + new WalletUpdateEvent({ + evmWallet: { + address: + wallets[0].accounts[0].ens?.name ?? + wallets[0].accounts[0].address, + provider: wallets[0].provider + } + }) ); - this.evmWallet.value.provider.on('disconnect', this.onEvmDisconnect); + + wallets[0].provider.on('accountsChanged', this.onEvmAccountChange); + wallets[0].provider.on('disconnect', this.onEvmDisconnect); void onboard.setChain({ //TODO: we need more info in network object in case we are adding new chain to metamask chainId: network.chainId @@ -92,12 +102,37 @@ export class WalletController implements ReactiveController { } }; + // eslint-disable-next-line @typescript-eslint/no-unused-vars + useEvmProvider(_evmProvider: EIP1193Provider): void { + throw new Error('Method not implemented.'); + //TODO: fetch connected address, dispatch WalletUpdateEvent, switchChain, subscribe to accountsChanged and disconnect events + } + + sourceNetworkUpdated(sourceNetwork: Domain | undefined): void { + if (!sourceNetwork) { + this.disconnectEvmWallet(); + } + switch (sourceNetwork?.type) { + case Network.SUBSTRATE: + { + this.disconnectEvmWallet(); + } + break; + default: + return; + } + } + private onEvmAccountChange = (accounts: string[]): void => { - if (this.evmWallet && accounts.length !== 0) { - this.evmWallet.setValue({ - address: accounts[0], - provider: this.evmWallet.value.provider - }); + if (this.walletContext.value?.evmWallet && accounts.length !== 0) { + this.host.dispatchEvent( + new WalletUpdateEvent({ + evmWallet: { + address: accounts[0], + provider: this.walletContext.value.evmWallet.provider + } + }) + ); } if (accounts.length === 0) { this.onEvmDisconnect(); @@ -105,7 +140,10 @@ export class WalletController implements ReactiveController { }; private onEvmDisconnect = (): void => { - this.evmWallet.setValue(undefined); - this.host.requestUpdate(); + this.host.dispatchEvent( + new WalletUpdateEvent({ + evmWallet: undefined + }) + ); }; } diff --git a/packages/widget/src/controllers/widget.ts b/packages/widget/src/controllers/widget.ts index ca9a119b..ae8d6e7b 100644 --- a/packages/widget/src/controllers/widget.ts +++ b/packages/widget/src/controllers/widget.ts @@ -6,7 +6,8 @@ import { Network } from '@buildwithsygma/sygma-sdk-core'; import { SubstrateAssetTransfer } from '@buildwithsygma/sygma-sdk-core/substrate'; -import type { ReactiveController, ReactiveControllerHost } from 'lit'; +import type { ContextProvider } from '@lit/context'; +import type { ReactiveController, ReactiveElement } from 'lit'; export class WidgetController implements ReactiveController { public isLoading: boolean = false; @@ -25,9 +26,14 @@ export class WidgetController implements ReactiveController { private env: Environment; private config: Config; - host: ReactiveControllerHost; + host: ReactiveElement; - constructor(host: ReactiveControllerHost, options: { env?: Environment }) { + constructor( + host: ReactiveElement, + options: { + env?: Environment; + } + ) { (this.host = host).addController(this); this.env = options.env ?? Environment.MAINNET; this.config = new Config(); @@ -79,7 +85,6 @@ export class WidgetController implements ReactiveController { }; onSourceNetworkSelected = (network: Domain | undefined): void => { - console.log('source', network); //TODO: filter out supported destination networks this.sourceNetwork = network; if (!network) { @@ -109,7 +114,6 @@ export class WidgetController implements ReactiveController { }; onDestinationNetworkSelected = (network: Domain | undefined): void => { - console.log('destination', network); if (!this.sourceNetwork) { //TODO: filter out supported source networks } diff --git a/packages/widget/src/widget.ts b/packages/widget/src/widget.ts index e432b023..57f239f7 100644 --- a/packages/widget/src/widget.ts +++ b/packages/widget/src/widget.ts @@ -3,6 +3,7 @@ import { LitElement, html } from 'lit'; import { customElement } from 'lit/decorators.js'; import { sygmaLogo } from './assets'; import './components'; +import './context/wallet'; import { Directions } from './components/network-selector/network-selector'; import { WidgetController } from './controllers/widget'; import { styles } from './styles'; @@ -26,59 +27,64 @@ class SygmaProtocolWidget extends LitElement { render(): HTMLTemplateResult { return html` -
-
-
- - <Brand Name> Transfer -
- ${this.renderConnect()} + +
+
+
+ + <Brand Name> Transfer +
+ ${this.renderConnect()} +
+
+
{}}> +
+ + +
+
+ + +
+
+ + +
+
+ +
+
+
+
${sygmaLogo} Powered by Sygma
-
-
{}}> -
- - -
-
- - -
-
- - -
-
- -
-
-
-
${sygmaLogo} Powered by Sygma
-
+ `; } } diff --git a/packages/widget/tests/unit/context/wallet.test.ts b/packages/widget/tests/unit/context/wallet.test.ts new file mode 100644 index 00000000..e2682896 --- /dev/null +++ b/packages/widget/tests/unit/context/wallet.test.ts @@ -0,0 +1,57 @@ +import { ContextConsumer } from '@lit/context'; +import { fixture, fixtureCleanup } from '@open-wc/testing-helpers'; +import type { ReactiveElement } from 'lit'; +import { LitElement, html } from 'lit'; +import { afterEach, assert, describe, it } from 'vitest'; +import { customElement } from 'lit/decorators.js'; +import { + WalletContextProvider, + WalletUpdateEvent, + walletContext +} from '../../../src/context'; +import type { EvmWallet } from '../../../src/context'; + +@customElement('my-element') +export class MyElement extends LitElement {} + +declare global { + interface HTMLElementTagNameMap { + 'my-element': MyElement; + } +} + +describe('wallet context provider', function () { + afterEach(() => { + fixtureCleanup(); + }); + + it('is defined', () => { + const el = document.createElement('sygma-wallet-context-provider'); + assert.instanceOf(el, WalletContextProvider); + }); + + it('handles and provides wallet updates', async () => { + const contextProvider = await fixture(html` + + `); + const child = await fixture(html` `, { + parentNode: contextProvider + }); + const context = new ContextConsumer(child, { + context: walletContext, + subscribe: true + }); + assert.deepEqual(context.value, {}); + + const fakeEvmWallet: EvmWallet = { + address: '0x1123123123123', + // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-explicit-any + provider: {} as any + }; + contextProvider.dispatchEvent( + new WalletUpdateEvent({ evmWallet: fakeEvmWallet }) + ); + + assert.deepEqual(context.value, { evmWallet: fakeEvmWallet }); + }); +}); diff --git a/packages/widget/tests/unit/controllers/wallet-manager/EvmWallet.test.ts b/packages/widget/tests/unit/controllers/wallet-manager/EvmWallet.test.ts deleted file mode 100644 index ad52ac5d..00000000 --- a/packages/widget/tests/unit/controllers/wallet-manager/EvmWallet.test.ts +++ /dev/null @@ -1,27 +0,0 @@ -import type { ExternalProvider } from '@ethersproject/providers'; -import { ethers } from 'ethers'; -import { beforeEach, describe, expect, it, vi } from 'vitest'; -import { EvmWallet } from '../../../../src/controllers/wallet-manager'; - -describe('EvmWallet', () => { - describe('EvmWallet + provider on window', () => { - beforeEach(() => { - window.ethereum = { - request: () => Promise.resolve(true), - on: vi.fn() - } as ExternalProvider & { on: () => void }; - }); - it('should be able to create an instance of EvmWallet passing a web3Provider', () => { - const w3Provider = new ethers.providers.Web3Provider(window.ethereum); - const evmWallet = new EvmWallet(w3Provider); - - expect(evmWallet).toBeInstanceOf(EvmWallet); - }); - - it('should be able to create an instance of EvmWallet without passing a web3Provider', () => { - const evmWallet = new EvmWallet(); - - expect(evmWallet).toBeInstanceOf(EvmWallet); - }); - }); -}); diff --git a/packages/widget/tests/unit/controllers/wallet-manager/Substrate.test.ts b/packages/widget/tests/unit/controllers/wallet-manager/Substrate.test.ts deleted file mode 100644 index 7a787d62..00000000 --- a/packages/widget/tests/unit/controllers/wallet-manager/Substrate.test.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { ApiPromise, WsProvider } from '@polkadot/api'; -import { describe, it, expect, vi, afterEach } from 'vitest'; -import { SubstrateWallet } from '../../../../src/controllers/wallet-manager/wallets'; - -vi.mock('@polkadot/api', async () => { - const mod = - // eslint-disable-next-line @typescript-eslint/consistent-type-imports - await vi.importActual('@polkadot/api'); - const WsProviderMock = vi.fn(); - const ApiPromiseMock = { - create: async () => {} - }; - return { - ...mod, - WsProvider: WsProviderMock, - ApiPromise: ApiPromiseMock - }; -}); - -describe('SubstrateWallet', () => { - afterEach(() => { - vi.clearAllMocks(); - }); - - it('should be able to create an instance of SubstrateWallet passing an ApiPromise', async () => { - const wsProvider = new WsProvider('wss:someurl'); - const apiPromise = await ApiPromise.create({ provider: wsProvider }); - - const substrateWallet = SubstrateWallet.initFromApiPromise(apiPromise); - expect(substrateWallet).toBeInstanceOf(SubstrateWallet); - }); - - it('should be able to create an instance of SubstrateWallet passing a wssProvider', async () => { - const substrateWallet = - await SubstrateWallet.initFromWssProvider('wss:someurl'); - expect(substrateWallet).toBeInstanceOf(SubstrateWallet); - }); -}); diff --git a/yarn.lock b/yarn.lock index 34d085bd..c30c25cd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -200,9 +200,9 @@ __metadata: languageName: node linkType: hard -"@buildwithsygma/sygma-sdk-core@npm:^2.6.0": - version: 2.6.0 - resolution: "@buildwithsygma/sygma-sdk-core@npm:2.6.0" +"@buildwithsygma/sygma-sdk-core@npm:^2.6.2": + version: 2.6.2 + resolution: "@buildwithsygma/sygma-sdk-core@npm:2.6.2" dependencies: "@buildwithsygma/sygma-contracts": "npm:2.4.1" "@ethersproject/abi": "npm:^5.7.0" @@ -220,7 +220,7 @@ __metadata: axios: "npm:^1.4.0" cross-fetch: "npm:^3.1.5" ethers: "npm:5.6.2" - checksum: c18a45829759e3a9db7bb8e274f22350d969d0d0c71eb91aba824a2b82496811cde41a9b65635d9d2c6e34277ec7216e426a1aa86fdf5fb068039a0c356c0dac + checksum: 705bbd76fb71da7b530ac49668d5f2811dc97c38625558e7ac34ea041fd10d688ebc080dd26fccfb5b8188200a6156a52e70410cb9d64b918db808fab94e482a languageName: node linkType: hard @@ -239,7 +239,7 @@ __metadata: version: 0.0.0-use.local resolution: "@buildwithsygma/sygmaprotocol-widget@workspace:packages/widget" dependencies: - "@buildwithsygma/sygma-sdk-core": "npm:^2.6.0" + "@buildwithsygma/sygma-sdk-core": "npm:^2.6.2" "@ethersproject/abstract-signer": "npm:^5.7.0" "@ethersproject/contracts": "npm:^5.7.0" "@ethersproject/providers": "npm:^5.7.2" From da20dadd942b86010f1ee2da8cdb5cd0bae9a6b4 Mon Sep 17 00:00:00 2001 From: Marin Petrunic Date: Mon, 5 Feb 2024 12:02:52 +0100 Subject: [PATCH 03/20] add connect wallet tests Signed-off-by: Marin Petrunic --- .../src/components/buttons/connect-wallet.ts | 11 +- .../controllers/wallet-manager/controller.ts | 8 - .../components/buttons/connect-wallet.test.ts | 253 ++++++++++++++++++ 3 files changed, 254 insertions(+), 18 deletions(-) create mode 100644 packages/widget/tests/unit/components/buttons/connect-wallet.test.ts diff --git a/packages/widget/src/components/buttons/connect-wallet.ts b/packages/widget/src/components/buttons/connect-wallet.ts index 0e680681..5c3a82b8 100644 --- a/packages/widget/src/components/buttons/connect-wallet.ts +++ b/packages/widget/src/components/buttons/connect-wallet.ts @@ -1,10 +1,9 @@ import type { Domain } from '@buildwithsygma/sygma-sdk-core'; import { consume } from '@lit/context'; +import type { HTMLTemplateResult, PropertyValues } from 'lit'; import { LitElement, html } from 'lit'; -import type { PropertyValues, type HTMLTemplateResult } from 'lit'; import { customElement, property, state } from 'lit/decorators.js'; import { when } from 'lit/directives/when.js'; -import type { EIP1193Provider } from '@web3-onboard/core'; import plusIcon from '../../assets/icons/plusIcon'; import type { WalletContext } from '../../context'; import { walletContext } from '../../context'; @@ -25,11 +24,6 @@ export class ConnectWalletButton extends LitElement { }) sourceNetwork?: Domain; - @property({ - type: Object - }) - evmProvider?: EIP1193Provider; - @property({ type: String }) @@ -43,9 +37,6 @@ export class ConnectWalletButton extends LitElement { connectedCallback(): void { super.connectedCallback(); - if (this.evmProvider) { - this.walletController.useEvmProvider(this.evmProvider); - } } updated(changedProperties: PropertyValues): void { diff --git a/packages/widget/src/controllers/wallet-manager/controller.ts b/packages/widget/src/controllers/wallet-manager/controller.ts index 524fad9a..9956c513 100644 --- a/packages/widget/src/controllers/wallet-manager/controller.ts +++ b/packages/widget/src/controllers/wallet-manager/controller.ts @@ -1,12 +1,10 @@ import type { Domain } from '@buildwithsygma/sygma-sdk-core'; import { Network } from '@buildwithsygma/sygma-sdk-core'; import { ContextConsumer } from '@lit/context'; -import type { EIP1193Provider } from '@web3-onboard/core'; import Onboard from '@web3-onboard/core'; import injectedModule from '@web3-onboard/injected-wallets'; import walletConnectModule from '@web3-onboard/walletconnect'; import type { ReactiveController, ReactiveElement } from 'lit'; -import type { WalletContext } from '../../context'; import { WalletUpdateEvent, walletContext } from '../../context'; export class WalletController implements ReactiveController { @@ -102,12 +100,6 @@ export class WalletController implements ReactiveController { } }; - // eslint-disable-next-line @typescript-eslint/no-unused-vars - useEvmProvider(_evmProvider: EIP1193Provider): void { - throw new Error('Method not implemented.'); - //TODO: fetch connected address, dispatch WalletUpdateEvent, switchChain, subscribe to accountsChanged and disconnect events - } - sourceNetworkUpdated(sourceNetwork: Domain | undefined): void { if (!sourceNetwork) { this.disconnectEvmWallet(); diff --git a/packages/widget/tests/unit/components/buttons/connect-wallet.test.ts b/packages/widget/tests/unit/components/buttons/connect-wallet.test.ts new file mode 100644 index 00000000..da536c90 --- /dev/null +++ b/packages/widget/tests/unit/components/buttons/connect-wallet.test.ts @@ -0,0 +1,253 @@ +import type { Domain } from '@buildwithsygma/sygma-sdk-core'; +import { Network } from '@buildwithsygma/sygma-sdk-core'; +import { + elementUpdated, + fixture, + fixtureCleanup +} from '@open-wc/testing-helpers'; +import type { EIP1193Provider } from '@web3-onboard/core'; +import { html } from 'lit'; +import type { MockInstance, Mocked } from 'vitest'; +import { afterEach, assert, describe, it, vi } from 'vitest'; +import { ConnectWalletButton } from '../../../../src/components'; +import { + WalletUpdateEvent, + type WalletContextProvider +} from '../../../../src/context'; + +describe('connect-wallet button', function () { + afterEach(() => { + fixtureCleanup(); + }); + + it('is defined', () => { + const el = document.createElement('sygma-connect-wallet-btn'); + assert.instanceOf(el, ConnectWalletButton); + }); + + it('does nothing when source network isnt selected', async () => { + const walletContext = await fixture(html` + + `); + const el = await fixture( + html` `, + { parentNode: walletContext } + ); + + const connectBtn = el.shadowRoot!.querySelector( + '.connectWalletButton' + ) as HTMLButtonElement; + + assert.isDefined(connectBtn, 'Connect button missing'); + + connectBtn.click(); + + const connectBtn2 = el.shadowRoot!.querySelector( + '.connectWalletButton' + ) as HTMLButtonElement; + + assert.isDefined(connectBtn2, 'Connect button missing'); + }); + + it('displays connected evm wallet', async () => { + const walletContext = await fixture(html` + + `); + + const walletProvider: Mocked = { + //@ts-expect-error stubbed type + on: vi.fn(), + removeListener: vi.fn(), + //@ts-expect-error stubbed type + request: vi.fn() + }; + walletContext.dispatchEvent( + new WalletUpdateEvent({ + evmWallet: { + address: '0x95222290DD7278Aa3Ddd389Cc1E1d165CC4BAfe5', + provider: walletProvider + } + }) + ); + const connectComponent = await fixture( + html` `, + { parentNode: walletContext } + ); + + const walletAddressEl = + connectComponent.shadowRoot!.querySelector( + '.walletAddress' + ); + + assert.isDefined( + walletAddressEl, + 'Connected wallet address is not displayed' + ); + + assert.equal( + walletAddressEl?.title, + '0x95222290DD7278Aa3Ddd389Cc1E1d165CC4BAfe5' + ); + assert.equal(walletAddressEl?.textContent, '0x9522...BAfe5'); + + const disconnectButton = connectComponent.shadowRoot!.querySelector( + '.connectWalletButton' + ) as HTMLButtonElement; + + assert.isDefined(disconnectButton, 'Button missing'); + assert.equal(disconnectButton.textContent?.trim(), 'Disconnect'); + }); + + it('updates connected evm wallet', async () => { + const walletContext = await fixture(html` + + `); + + const walletProvider: Mocked = { + //@ts-expect-error stubbed type + on: vi.fn(), + removeListener: vi.fn(), + //@ts-expect-error stubbed type + request: vi.fn() + }; + walletContext.dispatchEvent( + new WalletUpdateEvent({ + evmWallet: { + address: '0x95222290DD7278Aa3Ddd389Cc1E1d165CC4BAfe5', + provider: walletProvider + } + }) + ); + const connectComponent = await fixture( + html` `, + { parentNode: walletContext } + ); + + const walletAddressEl = + connectComponent.shadowRoot!.querySelector( + '.walletAddress' + ); + + assert.isDefined( + walletAddressEl, + 'Connected wallet address is not displayed' + ); + + assert.equal( + walletAddressEl?.title, + '0x95222290DD7278Aa3Ddd389Cc1E1d165CC4BAfe5' + ); + + walletContext.dispatchEvent( + new WalletUpdateEvent({ + evmWallet: { + address: '0x758b8178A9A4B7206D1f648c4a77C515CbaC7000', + provider: walletProvider + } + }) + ); + + await connectComponent.updateComplete; + + assert.equal( + walletAddressEl?.title, + '0x758b8178A9A4B7206D1f648c4a77C515CbaC7000' + ); + }); + + it('disconnects connected wallet', async () => { + const walletContext = await fixture(html` + + `); + + const walletProvider: Mocked = { + //@ts-expect-error stubbed type + on: vi.fn(), + removeListener: vi.fn(), + //@ts-expect-error stubbed type + request: vi.fn(), + disconnect: vi.fn() + }; + walletContext.dispatchEvent( + new WalletUpdateEvent({ + evmWallet: { + address: '0x95222290DD7278Aa3Ddd389Cc1E1d165CC4BAfe5', + provider: walletProvider + } + }) + ); + const connectComponent = await fixture( + html` `, + { parentNode: walletContext } + ); + + const disconnectButton = + connectComponent.shadowRoot!.querySelector( + '.connectWalletButton' + ); + + assert.isDefined(disconnectButton, 'Button missing'); + disconnectButton?.click(); + await connectComponent.updateComplete; + const walletAddressEl = + connectComponent.shadowRoot!.querySelector( + '.walletAddress' + ); + + assert.isNull(walletAddressEl, 'Connected wallet still displayed'); + + assert.equal( + (walletProvider.disconnect as unknown as MockInstance).mock.calls.length, + 1 + ); + }); + + it('disconnects connected evm wallet on network switch to substrate', async () => { + const walletContext = await fixture(html` + + `); + + const walletProvider: Mocked = { + //@ts-expect-error stubbed type + on: vi.fn(), + removeListener: vi.fn(), + //@ts-expect-error stubbed type + request: vi.fn(), + disconnect: vi.fn() + }; + walletContext.dispatchEvent( + new WalletUpdateEvent({ + evmWallet: { + address: '0x95222290DD7278Aa3Ddd389Cc1E1d165CC4BAfe5', + provider: walletProvider + } + }) + ); + const connectComponent = await fixture( + html` + + `, + { parentNode: walletContext } + ); + + connectComponent.sourceNetwork = { + id: 2, + type: Network.SUBSTRATE + } as unknown as Domain; + + await elementUpdated(connectComponent); + await connectComponent.updateComplete; + const walletAddressEl = + connectComponent.shadowRoot!.querySelector( + '.walletAddress' + ); + + assert.isNull(walletAddressEl, 'Connected wallet still displayed'); + assert.equal( + (walletProvider.disconnect as unknown as MockInstance).mock.calls.length, + 1 + ); + }); +}); From 007a9d51a1ab1c50174c8e9ec2128b6521d86550 Mon Sep 17 00:00:00 2001 From: Marin Petrunic Date: Mon, 5 Feb 2024 13:33:39 +0100 Subject: [PATCH 04/20] add substrate wallet connection Signed-off-by: Marin Petrunic --- packages/widget/package.json | 2 + .../src/components/buttons/connect-wallet.ts | 16 ++- packages/widget/src/context/wallet.ts | 10 ++ .../controllers/wallet-manager/controller.ts | 107 +++++++++++++-- .../components/buttons/connect-wallet.test.ts | 127 +++++++++++++++++- yarn.lock | 45 ++++++- 6 files changed, 289 insertions(+), 18 deletions(-) diff --git a/packages/widget/package.json b/packages/widget/package.json index 2480e8ec..08bd861b 100644 --- a/packages/widget/package.json +++ b/packages/widget/package.json @@ -34,6 +34,8 @@ "@ethersproject/transactions": "^5.7.0", "@lit/context": "^1.1.0", "@lit/reactive-element": "^2.0.3", + "@polkadot-onboard/core": "^1.1.0", + "@polkadot-onboard/injected-wallets": "^1.1.0", "@polkadot/api": "^10.11.2", "@polkadot/extension-dapp": "^0.46.6", "@web3-onboard/core": "^2.21.2", diff --git a/packages/widget/src/components/buttons/connect-wallet.ts b/packages/widget/src/components/buttons/connect-wallet.ts index 5c3a82b8..ee6c3f1c 100644 --- a/packages/widget/src/components/buttons/connect-wallet.ts +++ b/packages/widget/src/components/buttons/connect-wallet.ts @@ -55,15 +55,17 @@ export class ConnectWalletButton extends LitElement { }; private onDisconnectClicked = (): void => { - this.walletController.disconnectEvmWallet(); + this.walletController.disconnectWallet(); }; private isWalletConnected(): boolean { - return !!this.wallets.evmWallet; + return !!this.wallets.evmWallet || !!this.wallets.substrateWallet; } render(): HTMLTemplateResult { const evmWallet = this.wallets.evmWallet; + const substrateWallet = this.wallets.substrateWallet; + const substrateAccount = substrateWallet?.accounts[0]; return html`
${when( evmWallet?.address !== undefined, @@ -72,6 +74,16 @@ export class ConnectWalletButton extends LitElement { >${shortAddress(evmWallet?.address ?? '')}` )} + ${when( + substrateAccount !== undefined, + () => + html`${substrateAccount?.name} + ${shortAddress(substrateAccount?.address ?? '')}` + )} ${when( this.isWalletConnected(), () => diff --git a/packages/widget/src/context/wallet.ts b/packages/widget/src/context/wallet.ts index ff12219e..4fae686c 100644 --- a/packages/widget/src/context/wallet.ts +++ b/packages/widget/src/context/wallet.ts @@ -1,4 +1,6 @@ import { createContext, provide } from '@lit/context'; +import type { Account, UnsubscribeFn } from '@polkadot-onboard/core'; +import type { Signer } from '@polkadot/api/types'; import type { EIP1193Provider } from '@web3-onboard/core'; import type { HTMLTemplateResult } from 'lit'; import { LitElement, html } from 'lit'; @@ -9,8 +11,16 @@ export interface EvmWallet { provider: EIP1193Provider; } +export interface SubstrateWallet { + signer: Signer; + accounts: Account[]; + unsubscribeSubstrateAccounts?: UnsubscribeFn; + disconnect?: () => Promise; +} + export interface WalletContext { evmWallet?: EvmWallet; + substrateWallet?: SubstrateWallet; } declare global { diff --git a/packages/widget/src/controllers/wallet-manager/controller.ts b/packages/widget/src/controllers/wallet-manager/controller.ts index 9956c513..abfb6018 100644 --- a/packages/widget/src/controllers/wallet-manager/controller.ts +++ b/packages/widget/src/controllers/wallet-manager/controller.ts @@ -1,6 +1,8 @@ import type { Domain } from '@buildwithsygma/sygma-sdk-core'; import { Network } from '@buildwithsygma/sygma-sdk-core'; import { ContextConsumer } from '@lit/context'; +import type { Account } from '@polkadot-onboard/core'; +import { InjectedWalletProvider } from '@polkadot-onboard/injected-wallets'; import Onboard from '@web3-onboard/core'; import injectedModule from '@web3-onboard/injected-wallets'; import walletConnectModule from '@web3-onboard/walletconnect'; @@ -29,7 +31,10 @@ export class WalletController implements ReactiveController { 'accountsChanged', this.onEvmAccountChange ); - evmWallet.provider.removeListener('disconnect', this.onEvmDisconnect); + } + const substrateWallet = this.walletContext.value?.substrateWallet; + if (substrateWallet) { + substrateWallet.unsubscribeSubstrateAccounts?.(); } } @@ -40,16 +45,47 @@ export class WalletController implements ReactiveController { void this.connectEvmWallet(network, options); } break; + case Network.SUBSTRATE: + { + void this.connectSubstrateWallet(network, options); + } + break; default: throw new Error('Unsupported newtork type'); } }; + disconnectWallet = (): void => { + this.disconnectEvmWallet(); + this.disconnectSubstrateWallet(); + }; + disconnectEvmWallet = (): void => { const evmWallet = this.walletContext.value?.evmWallet; if (evmWallet) { - evmWallet?.provider.disconnect?.(); - this.onEvmDisconnect(); + evmWallet.provider.removeListener( + 'accountsChanged', + this.onEvmAccountChange + ); + evmWallet.provider.disconnect?.(); + this.host.dispatchEvent( + new WalletUpdateEvent({ + evmWallet: undefined + }) + ); + } + }; + + disconnectSubstrateWallet = (): void => { + const substrateWallet = this.walletContext.value?.substrateWallet; + if (substrateWallet) { + substrateWallet.unsubscribeSubstrateAccounts?.(); + void substrateWallet.disconnect?.(); + this.host.dispatchEvent( + new WalletUpdateEvent({ + substrateWallet: undefined + }) + ); } }; @@ -92,17 +128,48 @@ export class WalletController implements ReactiveController { ); wallets[0].provider.on('accountsChanged', this.onEvmAccountChange); - wallets[0].provider.on('disconnect', this.onEvmDisconnect); void onboard.setChain({ //TODO: we need more info in network object in case we are adding new chain to metamask chainId: network.chainId }); } }; + connectSubstrateWallet = async ( + network: Domain, + options?: { dappUrl?: string; dappName?: string } + ): Promise => { + const injectedWalletProvider = new InjectedWalletProvider( + { disallowed: [] }, + options?.dappName ?? 'Sygma Widget' + ); + const wallets = await injectedWalletProvider.getWallets(); + + //TODO: UI for selecting substrate wallet + + const wallet = wallets[0]; + await wallet.connect(); + if (wallet.signer) { + const accounts = await wallet.getAccounts(); + const unsub = await wallet.subscribeAccounts( + this.onSubstrateAccountChange + ); + this.host.dispatchEvent( + new WalletUpdateEvent({ + substrateWallet: { + signer: wallet.signer, + accounts, + unsubscribeSubstrateAccounts: unsub, + disconnect: wallet.disconnect + } + }) + ); + } + }; sourceNetworkUpdated(sourceNetwork: Domain | undefined): void { if (!sourceNetwork) { this.disconnectEvmWallet(); + this.disconnectSubstrateWallet(); } switch (sourceNetwork?.type) { case Network.SUBSTRATE: @@ -110,6 +177,11 @@ export class WalletController implements ReactiveController { this.disconnectEvmWallet(); } break; + case Network.EVM: + { + this.disconnectSubstrateWallet(); + } + break; default: return; } @@ -127,15 +199,28 @@ export class WalletController implements ReactiveController { ); } if (accounts.length === 0) { - this.onEvmDisconnect(); + this.disconnectEvmWallet(); } }; - private onEvmDisconnect = (): void => { - this.host.dispatchEvent( - new WalletUpdateEvent({ - evmWallet: undefined - }) - ); + private onSubstrateAccountChange = (accounts: Account[]): void => { + if (this.walletContext.value?.substrateWallet && accounts.length !== 0) { + this.host.dispatchEvent( + new WalletUpdateEvent({ + substrateWallet: { + signer: this.walletContext.value.substrateWallet.signer, + disconnect: this.walletContext.value.substrateWallet.disconnect, + unsubscribeSubstrateAccounts: + this.walletContext.value.substrateWallet + .unsubscribeSubstrateAccounts, + //TODO: convert address to network format + accounts + } + }) + ); + } + if (accounts.length === 0) { + this.disconnectSubstrateWallet(); + } }; } diff --git a/packages/widget/tests/unit/components/buttons/connect-wallet.test.ts b/packages/widget/tests/unit/components/buttons/connect-wallet.test.ts index da536c90..176df3c2 100644 --- a/packages/widget/tests/unit/components/buttons/connect-wallet.test.ts +++ b/packages/widget/tests/unit/components/buttons/connect-wallet.test.ts @@ -98,6 +98,51 @@ describe('connect-wallet button', function () { assert.equal(disconnectButton.textContent?.trim(), 'Disconnect'); }); + it('displays connected substrate wallet', async () => { + const walletContext = await fixture(html` + + `); + walletContext.dispatchEvent( + new WalletUpdateEvent({ + substrateWallet: { + accounts: [ + { + address: '155EekKo19tWKAPonRFywNVsVduDegYChrDVsLE8HKhXzjqe' + } + ], + signer: {} + } + }) + ); + const connectComponent = await fixture( + html` `, + { parentNode: walletContext } + ); + + const walletAddressEl = + connectComponent.shadowRoot!.querySelector( + '.walletAddress' + ); + + assert.isDefined( + walletAddressEl, + 'Connected wallet address is not displayed' + ); + + assert.equal( + walletAddressEl?.title, + '155EekKo19tWKAPonRFywNVsVduDegYChrDVsLE8HKhXzjqe' + ); + assert.equal(walletAddressEl?.textContent?.trim(), '155Eek...Xzjqe'); + + const disconnectButton = connectComponent.shadowRoot!.querySelector( + '.connectWalletButton' + ) as HTMLButtonElement; + + assert.isDefined(disconnectButton, 'Button missing'); + assert.equal(disconnectButton.textContent?.trim(), 'Disconnect'); + }); + it('updates connected evm wallet', async () => { const walletContext = await fixture(html` @@ -155,7 +200,7 @@ describe('connect-wallet button', function () { ); }); - it('disconnects connected wallet', async () => { + it('disconnects connected evm wallet', async () => { const walletContext = await fixture(html` `); @@ -202,6 +247,43 @@ describe('connect-wallet button', function () { ); }); + it('disconnects connected substrate wallet', async () => { + const walletContext = await fixture(html` + + `); + walletContext.dispatchEvent( + new WalletUpdateEvent({ + substrateWallet: { + accounts: [ + { + address: '155EekKo19tWKAPonRFywNVsVduDegYChrDVsLE8HKhXzjqe' + } + ], + signer: {} + } + }) + ); + const connectComponent = await fixture( + html` `, + { parentNode: walletContext } + ); + + const disconnectButton = + connectComponent.shadowRoot!.querySelector( + '.connectWalletButton' + ); + + assert.isDefined(disconnectButton, 'Button missing'); + disconnectButton?.click(); + await connectComponent.updateComplete; + const walletAddressEl = + connectComponent.shadowRoot!.querySelector( + '.walletAddress' + ); + + assert.isNull(walletAddressEl, 'Connected wallet still displayed'); + }); + it('disconnects connected evm wallet on network switch to substrate', async () => { const walletContext = await fixture(html` @@ -250,4 +332,47 @@ describe('connect-wallet button', function () { 1 ); }); + + it('disconnects connected substrate wallet on network switch to ethereum', async () => { + const walletContext = await fixture(html` + + `); + const disconnectFn = vi.fn(); + walletContext.dispatchEvent( + new WalletUpdateEvent({ + substrateWallet: { + accounts: [ + { + address: '155EekKo19tWKAPonRFywNVsVduDegYChrDVsLE8HKhXzjqe' + } + ], + signer: {}, + disconnect: disconnectFn + } + }) + ); + const connectComponent = await fixture( + html` + + `, + { parentNode: walletContext } + ); + + connectComponent.sourceNetwork = { + id: 2, + type: Network.EVM + } as unknown as Domain; + + await elementUpdated(connectComponent); + await connectComponent.updateComplete; + const walletAddressEl = + connectComponent.shadowRoot!.querySelector( + '.walletAddress' + ); + + assert.isNull(walletAddressEl, 'Connected wallet still displayed'); + assert.equal(disconnectFn.mock.calls.length, 1); + }); }); diff --git a/yarn.lock b/yarn.lock index c30c25cd..b097a1f8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -248,6 +248,8 @@ __metadata: "@lit/reactive-element": "npm:^2.0.3" "@open-wc/semantic-dom-diff": "npm:^0.20.1" "@open-wc/testing-helpers": "npm:^3.0.0" + "@polkadot-onboard/core": "npm:^1.1.0" + "@polkadot-onboard/injected-wallets": "npm:^1.1.0" "@polkadot/api": "npm:^10.11.2" "@polkadot/extension-dapp": "npm:^0.46.6" "@web3-onboard/core": "npm:^2.21.2" @@ -2733,6 +2735,23 @@ __metadata: languageName: node linkType: hard +"@polkadot-onboard/core@npm:1.1.0, @polkadot-onboard/core@npm:^1.1.0": + version: 1.1.0 + resolution: "@polkadot-onboard/core@npm:1.1.0" + checksum: e51e2c1279296949a29c7b12c6bde43927db0199a356c7897cb9eafa46aa5b14f7ccfa7a823ec5e05fd0449f33994b15028104de92d2fcd7ea7e589010dfa322 + languageName: node + linkType: hard + +"@polkadot-onboard/injected-wallets@npm:^1.1.0": + version: 1.1.0 + resolution: "@polkadot-onboard/injected-wallets@npm:1.1.0" + dependencies: + "@polkadot-onboard/core": "npm:1.1.0" + "@polkadot/extension-inject": "npm:0.46.5" + checksum: fa1ff9a446d4fb7ea0b591f9abec1fd267243e1486c66d775b9bd7a5b7f7bb79c308696599526f74e72662d6dddce13c0f3d3340d94cf8edcf2f11729eb9c654 + languageName: node + linkType: hard + "@polkadot/api-augment@npm:10.7.2": version: 10.7.2 resolution: "@polkadot/api-augment@npm:10.7.2" @@ -2836,6 +2855,24 @@ __metadata: languageName: node linkType: hard +"@polkadot/extension-inject@npm:0.46.5": + version: 0.46.5 + resolution: "@polkadot/extension-inject@npm:0.46.5" + dependencies: + "@polkadot/api": "npm:^10.9.1" + "@polkadot/rpc-provider": "npm:^10.9.1" + "@polkadot/types": "npm:^10.9.1" + "@polkadot/util": "npm:^12.3.2" + "@polkadot/util-crypto": "npm:^12.3.2" + "@polkadot/x-global": "npm:^12.3.2" + tslib: "npm:^2.5.3" + peerDependencies: + "@polkadot/api": "*" + "@polkadot/util": "*" + checksum: 1ae3880f66473f6debe8268f5266e6beddb24799596904c523cd17ceee8cff8a02d73c6ac4ae586ff088ee87b9414cf4e616feee13dd47017a2f9aaea25923aa + languageName: node + linkType: hard + "@polkadot/extension-inject@npm:0.46.6": version: 0.46.6 resolution: "@polkadot/extension-inject@npm:0.46.6" @@ -2930,7 +2967,7 @@ __metadata: languageName: node linkType: hard -"@polkadot/rpc-provider@npm:^10.11.1": +"@polkadot/rpc-provider@npm:^10.11.1, @polkadot/rpc-provider@npm:^10.9.1": version: 10.11.2 resolution: "@polkadot/rpc-provider@npm:10.11.2" dependencies: @@ -3140,7 +3177,7 @@ __metadata: languageName: node linkType: hard -"@polkadot/types@npm:10.11.2, @polkadot/types@npm:^10.11.1": +"@polkadot/types@npm:10.11.2, @polkadot/types@npm:^10.11.1, @polkadot/types@npm:^10.9.1": version: 10.11.2 resolution: "@polkadot/types@npm:10.11.2" dependencies: @@ -3374,7 +3411,7 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-global@npm:12.6.2, @polkadot/x-global@npm:^12.6.1, @polkadot/x-global@npm:^12.6.2": +"@polkadot/x-global@npm:12.6.2, @polkadot/x-global@npm:^12.3.2, @polkadot/x-global@npm:^12.6.1, @polkadot/x-global@npm:^12.6.2": version: 12.6.2 resolution: "@polkadot/x-global@npm:12.6.2" dependencies: @@ -13877,7 +13914,7 @@ __metadata: languageName: node linkType: hard -"tslib@npm:^2.0.0, tslib@npm:^2.1.0, tslib@npm:^2.3.1, tslib@npm:^2.5.0, tslib@npm:^2.5.2, tslib@npm:^2.6.0, tslib@npm:^2.6.1, tslib@npm:^2.6.2": +"tslib@npm:^2.0.0, tslib@npm:^2.1.0, tslib@npm:^2.3.1, tslib@npm:^2.5.0, tslib@npm:^2.5.2, tslib@npm:^2.5.3, tslib@npm:^2.6.0, tslib@npm:^2.6.1, tslib@npm:^2.6.2": version: 2.6.2 resolution: "tslib@npm:2.6.2" checksum: e03a8a4271152c8b26604ed45535954c0a45296e32445b4b87f8a5abdb2421f40b59b4ca437c4346af0f28179780d604094eb64546bee2019d903d01c6c19bdb From af2fbfa3628d01922d4436ab47941849c877956d Mon Sep 17 00:00:00 2001 From: Marin Petrunic Date: Mon, 5 Feb 2024 13:33:44 +0100 Subject: [PATCH 05/20] add todo Signed-off-by: Marin Petrunic --- packages/widget/src/components/buttons/connect-wallet.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/widget/src/components/buttons/connect-wallet.ts b/packages/widget/src/components/buttons/connect-wallet.ts index ee6c3f1c..2dc345c2 100644 --- a/packages/widget/src/components/buttons/connect-wallet.ts +++ b/packages/widget/src/components/buttons/connect-wallet.ts @@ -65,6 +65,7 @@ export class ConnectWalletButton extends LitElement { render(): HTMLTemplateResult { const evmWallet = this.wallets.evmWallet; const substrateWallet = this.wallets.substrateWallet; + //TODO: this is wrong we need to enable user to select account const substrateAccount = substrateWallet?.accounts[0]; return html`
${when( From 9326febf3290aea739a6833580ad4fdf771726c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20S=CC=8Ctokovic=CC=81?= Date: Mon, 5 Feb 2024 15:07:44 +0100 Subject: [PATCH 06/20] chore: remove double import --- packages/widget/src/assets/icons/sygmaLogo.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/widget/src/assets/icons/sygmaLogo.ts b/packages/widget/src/assets/icons/sygmaLogo.ts index 7e86fb6e..241c3a8e 100644 --- a/packages/widget/src/assets/icons/sygmaLogo.ts +++ b/packages/widget/src/assets/icons/sygmaLogo.ts @@ -1,5 +1,4 @@ import { html } from 'lit'; -import { html } from 'lit'; const sygmaLogo = html` Date: Mon, 5 Feb 2024 15:08:33 +0100 Subject: [PATCH 07/20] chore: remove redundant method (wraps super method) --- packages/widget/src/components/buttons/connect-wallet.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/widget/src/components/buttons/connect-wallet.ts b/packages/widget/src/components/buttons/connect-wallet.ts index 2dc345c2..132e1c79 100644 --- a/packages/widget/src/components/buttons/connect-wallet.ts +++ b/packages/widget/src/components/buttons/connect-wallet.ts @@ -35,10 +35,6 @@ export class ConnectWalletButton extends LitElement { private walletController = new WalletController(this); - connectedCallback(): void { - super.connectedCallback(); - } - updated(changedProperties: PropertyValues): void { super.updated(changedProperties); if (changedProperties.has('sourceNetwork')) { From 3b2ba4da24ee0a4127c19c4ff293414b78c649ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20S=CC=8Ctokovic=CC=81?= Date: Mon, 5 Feb 2024 15:28:32 +0100 Subject: [PATCH 08/20] chore: update components to use `BaseComponent` --- packages/widget/src/components/buttons/connect-wallet.ts | 5 +++-- packages/widget/src/context/wallet.ts | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/widget/src/components/buttons/connect-wallet.ts b/packages/widget/src/components/buttons/connect-wallet.ts index 132e1c79..db731160 100644 --- a/packages/widget/src/components/buttons/connect-wallet.ts +++ b/packages/widget/src/components/buttons/connect-wallet.ts @@ -1,7 +1,7 @@ import type { Domain } from '@buildwithsygma/sygma-sdk-core'; import { consume } from '@lit/context'; import type { HTMLTemplateResult, PropertyValues } from 'lit'; -import { LitElement, html } from 'lit'; +import { html } from 'lit'; import { customElement, property, state } from 'lit/decorators.js'; import { when } from 'lit/directives/when.js'; import plusIcon from '../../assets/icons/plusIcon'; @@ -9,10 +9,11 @@ import type { WalletContext } from '../../context'; import { walletContext } from '../../context'; import { WalletController } from '../../controllers'; import { shortAddress } from '../../utils'; +import { BaseComponent } from '../base-component/base-component'; import { styles } from './connect-wallet.style'; @customElement('sygma-connect-wallet-btn') -export class ConnectWalletButton extends LitElement { +export class ConnectWalletButton extends BaseComponent { static styles = styles; @property({ diff --git a/packages/widget/src/context/wallet.ts b/packages/widget/src/context/wallet.ts index 4fae686c..bf13a774 100644 --- a/packages/widget/src/context/wallet.ts +++ b/packages/widget/src/context/wallet.ts @@ -3,8 +3,9 @@ import type { Account, UnsubscribeFn } from '@polkadot-onboard/core'; import type { Signer } from '@polkadot/api/types'; import type { EIP1193Provider } from '@web3-onboard/core'; import type { HTMLTemplateResult } from 'lit'; -import { LitElement, html } from 'lit'; +import { html } from 'lit'; import { customElement } from 'lit/decorators.js'; +import { BaseComponent } from '../components/base-component/base-component'; export interface EvmWallet { address: string; @@ -40,7 +41,7 @@ export class WalletUpdateEvent extends CustomEvent { } @customElement('sygma-wallet-context-provider') -export class WalletContextProvider extends LitElement { +export class WalletContextProvider extends BaseComponent { //TODO: add properties to allow widget to pass external provider/signers. @provide({ context: walletContext }) From c1a339e6bd7109da8f388363944c0fa18c5927b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20S=CC=8Ctokovic=CC=81?= Date: Mon, 5 Feb 2024 15:28:50 +0100 Subject: [PATCH 09/20] chore: remove unused import --- packages/widget/tests/unit/context/wallet.test.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/widget/tests/unit/context/wallet.test.ts b/packages/widget/tests/unit/context/wallet.test.ts index e2682896..fee49873 100644 --- a/packages/widget/tests/unit/context/wallet.test.ts +++ b/packages/widget/tests/unit/context/wallet.test.ts @@ -1,6 +1,5 @@ import { ContextConsumer } from '@lit/context'; import { fixture, fixtureCleanup } from '@open-wc/testing-helpers'; -import type { ReactiveElement } from 'lit'; import { LitElement, html } from 'lit'; import { afterEach, assert, describe, it } from 'vitest'; import { customElement } from 'lit/decorators.js'; From 520def9d60a42ae8a5fe9636c2e8f430a07396a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20S=CC=8Ctokovic=CC=81?= Date: Mon, 5 Feb 2024 16:26:06 +0100 Subject: [PATCH 10/20] chore: add green circle icon --- .../widget/src/assets/icons/greenCircleIcon.ts | 15 +++++++++++++++ .../src/components/buttons/connect-wallet.ts | 5 +++-- 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 packages/widget/src/assets/icons/greenCircleIcon.ts diff --git a/packages/widget/src/assets/icons/greenCircleIcon.ts b/packages/widget/src/assets/icons/greenCircleIcon.ts new file mode 100644 index 00000000..37b912d0 --- /dev/null +++ b/packages/widget/src/assets/icons/greenCircleIcon.ts @@ -0,0 +1,15 @@ +import { html } from 'lit'; + +const greenCircleIcon = html` + + + +`; + +export default greenCircleIcon; diff --git a/packages/widget/src/components/buttons/connect-wallet.ts b/packages/widget/src/components/buttons/connect-wallet.ts index db731160..93d976cf 100644 --- a/packages/widget/src/components/buttons/connect-wallet.ts +++ b/packages/widget/src/components/buttons/connect-wallet.ts @@ -10,6 +10,7 @@ import { walletContext } from '../../context'; import { WalletController } from '../../controllers'; import { shortAddress } from '../../utils'; import { BaseComponent } from '../base-component/base-component'; +import greenCircleIcon from '../../assets/icons/greenCircleIcon'; import { styles } from './connect-wallet.style'; @customElement('sygma-connect-wallet-btn') @@ -69,7 +70,7 @@ export class ConnectWalletButton extends BaseComponent { evmWallet?.address !== undefined, () => html`${shortAddress(evmWallet?.address ?? '')}${greenCircleIcon} ${shortAddress(evmWallet?.address ?? '')}` )} ${when( @@ -78,7 +79,7 @@ export class ConnectWalletButton extends BaseComponent { html`${substrateAccount?.name} + >${greenCircleIcon} ${substrateAccount?.name} ${shortAddress(substrateAccount?.address ?? '')}` )} From e7ead0eb31c6ee41e3f9ecf3150f7d867cd6a110 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20S=CC=8Ctokovic=CC=81?= Date: Mon, 5 Feb 2024 16:26:23 +0100 Subject: [PATCH 11/20] chore: typo --- packages/widget/src/controllers/wallet-manager/controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/widget/src/controllers/wallet-manager/controller.ts b/packages/widget/src/controllers/wallet-manager/controller.ts index abfb6018..7b486abf 100644 --- a/packages/widget/src/controllers/wallet-manager/controller.ts +++ b/packages/widget/src/controllers/wallet-manager/controller.ts @@ -51,7 +51,7 @@ export class WalletController implements ReactiveController { } break; default: - throw new Error('Unsupported newtork type'); + throw new Error('Unsupported network type'); } }; From 1465cde1355aa5281190504ff87ea66d0e967bb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20S=CC=8Ctokovic=CC=81?= Date: Mon, 5 Feb 2024 16:26:34 +0100 Subject: [PATCH 12/20] chore: fix plus icon alignment --- packages/widget/src/assets/icons/plusIcon.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/widget/src/assets/icons/plusIcon.ts b/packages/widget/src/assets/icons/plusIcon.ts index 8e76012e..dacab1e9 100644 --- a/packages/widget/src/assets/icons/plusIcon.ts +++ b/packages/widget/src/assets/icons/plusIcon.ts @@ -4,8 +4,8 @@ const plusIcon = html` From 0419998e5203536de39377568d3d4f5c3e6614f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20S=CC=8Ctokovic=CC=81?= Date: Mon, 5 Feb 2024 16:26:44 +0100 Subject: [PATCH 13/20] chore: add color variables --- packages/widget/src/styles.ts | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/packages/widget/src/styles.ts b/packages/widget/src/styles.ts index 43f946a8..f5ac17d1 100644 --- a/packages/widget/src/styles.ts +++ b/packages/widget/src/styles.ts @@ -2,8 +2,10 @@ import { css } from 'lit'; export const styles = css` :host { + --zinc-100: #f4f4f5; --zinc-200: #e4e4e7; --zinc-400: #a1a1aa; + --zinc-700: #3f3f46; --white: #fff; --gray-100: #f3f4f6; --neutral-600: #525252; @@ -51,22 +53,9 @@ export const styles = css` align-items: center; } - .widgetHeader .brandLogo { - display: flex; - justify-content: center; - align-items: center; - } - - .widgetHeader .brandLogo svg { - height: 100%; - width: 100%; - } - .widgetHeader .title { - color: var(--zinc-400, #a1a1aa); - font-family: Inter; + color: var(--zinc-400); font-size: 14px; - font-style: normal; font-weight: 500; line-height: 20px; } From 84f664dc7fc56646a4f84f7a228f0575962719db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20S=CC=8Ctokovic=CC=81?= Date: Mon, 5 Feb 2024 16:29:09 +0100 Subject: [PATCH 14/20] chore: remove logo from header --- packages/widget/src/widget.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/widget/src/widget.ts b/packages/widget/src/widget.ts index 66f767ca..cc15a830 100644 --- a/packages/widget/src/widget.ts +++ b/packages/widget/src/widget.ts @@ -31,10 +31,7 @@ class SygmaProtocolWidget extends BaseComponent {
-
- - <Brand Name> Transfer -
+
[Brand] Transfer
${this.renderConnect()}
From cca3d232d7507dece002b6dc45450c617d71784f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20S=CC=8Ctokovic=CC=81?= Date: Mon, 5 Feb 2024 16:29:46 +0100 Subject: [PATCH 15/20] chore: shorter conditions + use function declaration instad of arrow (as everywhere else) --- packages/widget/src/components/buttons/connect-wallet.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/widget/src/components/buttons/connect-wallet.ts b/packages/widget/src/components/buttons/connect-wallet.ts index 93d976cf..b982a774 100644 --- a/packages/widget/src/components/buttons/connect-wallet.ts +++ b/packages/widget/src/components/buttons/connect-wallet.ts @@ -52,9 +52,9 @@ export class ConnectWalletButton extends BaseComponent { } }; - private onDisconnectClicked = (): void => { + private onDisconnectClicked(): void { this.walletController.disconnectWallet(); - }; + } private isWalletConnected(): boolean { return !!this.wallets.evmWallet || !!this.wallets.substrateWallet; @@ -67,14 +67,14 @@ export class ConnectWalletButton extends BaseComponent { const substrateAccount = substrateWallet?.accounts[0]; return html`
${when( - evmWallet?.address !== undefined, + !!evmWallet?.address, () => html`${greenCircleIcon} ${shortAddress(evmWallet?.address ?? '')}` )} ${when( - substrateAccount !== undefined, + !!substrateAccount, () => html` Date: Mon, 5 Feb 2024 16:30:00 +0100 Subject: [PATCH 16/20] chore: update wallet connect button styles --- .../buttons/connect-wallet.style.ts | 34 ++++++++----------- 1 file changed, 15 insertions(+), 19 deletions(-) diff --git a/packages/widget/src/components/buttons/connect-wallet.style.ts b/packages/widget/src/components/buttons/connect-wallet.style.ts index 36ba5bce..b1bf2301 100644 --- a/packages/widget/src/components/buttons/connect-wallet.style.ts +++ b/packages/widget/src/components/buttons/connect-wallet.style.ts @@ -4,7 +4,9 @@ export const styles = css` :host { display: flex; justify-content: flex-end; + align-items: center; } + .connectWalletContainer { display: flex; flex-direction: row; @@ -12,28 +14,22 @@ export const styles = css` align-items: center; } - .walletAddress { - font-family: Inter; - font-size: 12px; + .walletAddress, + .connectWalletButton { + font-size: 0.875rem; + font-weight: 500; + color: var(--zinc-700); + line-height: 0.9375rem; + display: flex; + align-items: center; + gap: 0.25rem; } .connectWalletButton { - padding: 6px 8px; - border-radius: 40px; - background: var(--zinc-100, #f4f4f5); - color: var(--zinc-700, #3f3f46); - border-radius: 12px; - border: 1px solid var(--gray-100, #f3f4f6); - background: #fff; - /* Shadow (SM) */ - box-shadow: - 0px 2px 3px -1px rgba(0, 0, 0, 0.1), - 0px 1px 2px -1px rgba(0, 0, 0, 0.06); - font-family: Inter; - font-size: 14px; - font-style: normal; - font-weight: 500; - line-height: normal; + padding: 0.375rem 0.5rem; + border-radius: 2.5rem; + background-color: var(--zinc-100); + border: 1px solid var(--gray-100); cursor: pointer; } From e86b3906b1c0571f4eb0c52082bffade868d91c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20S=CC=8Ctokovic=CC=81?= Date: Mon, 5 Feb 2024 16:35:26 +0100 Subject: [PATCH 17/20] chore: remove unused import --- packages/widget/src/controllers/widget.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/widget/src/controllers/widget.ts b/packages/widget/src/controllers/widget.ts index cbe1d4d9..e6a80536 100644 --- a/packages/widget/src/controllers/widget.ts +++ b/packages/widget/src/controllers/widget.ts @@ -6,7 +6,6 @@ import { Network } from '@buildwithsygma/sygma-sdk-core'; import { SubstrateAssetTransfer } from '@buildwithsygma/sygma-sdk-core/substrate'; -import type { ContextProvider } from '@lit/context'; import type { ReactiveController, ReactiveElement } from 'lit'; export class WidgetController implements ReactiveController { From 4185b822ac01f938922ed58905d15d21c9150f0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20S=CC=8Ctokovic=CC=81?= Date: Mon, 5 Feb 2024 16:40:53 +0100 Subject: [PATCH 18/20] chore: fix lint errors --- packages/widget/src/components/buttons/connect-wallet.ts | 4 ++-- packages/widget/src/controllers/wallet-manager/controller.ts | 2 +- packages/widget/src/controllers/widget.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/widget/src/components/buttons/connect-wallet.ts b/packages/widget/src/components/buttons/connect-wallet.ts index b982a774..4da50860 100644 --- a/packages/widget/src/components/buttons/connect-wallet.ts +++ b/packages/widget/src/components/buttons/connect-wallet.ts @@ -52,9 +52,9 @@ export class ConnectWalletButton extends BaseComponent { } }; - private onDisconnectClicked(): void { + private onDisconnectClicked = (): void => { this.walletController.disconnectWallet(); - } + }; private isWalletConnected(): boolean { return !!this.wallets.evmWallet || !!this.wallets.substrateWallet; diff --git a/packages/widget/src/controllers/wallet-manager/controller.ts b/packages/widget/src/controllers/wallet-manager/controller.ts index 7b486abf..c8d3e966 100644 --- a/packages/widget/src/controllers/wallet-manager/controller.ts +++ b/packages/widget/src/controllers/wallet-manager/controller.ts @@ -135,7 +135,7 @@ export class WalletController implements ReactiveController { } }; connectSubstrateWallet = async ( - network: Domain, + _network: Domain, // TODO: remove underscore prefix once arg usage is added options?: { dappUrl?: string; dappName?: string } ): Promise => { const injectedWalletProvider = new InjectedWalletProvider( diff --git a/packages/widget/src/controllers/widget.ts b/packages/widget/src/controllers/widget.ts index e6a80536..cacdc0a8 100644 --- a/packages/widget/src/controllers/widget.ts +++ b/packages/widget/src/controllers/widget.ts @@ -18,7 +18,7 @@ export class WidgetController implements ReactiveController { public supportedSourceNetworks: Domain[] = []; public supportedDestinationNetworks: Domain[] = []; public supportedResources: Resource[] = []; - public destinatonAddress?: string = ''; + public destinatonAddress: string = ''; //@ts-expect-error it will be used private assetTransfer?: EVMAssetTransfer | SubstrateAssetTransfer; From 6c6b230398b7d65615203d01d8f7abca4d588ae8 Mon Sep 17 00:00:00 2001 From: Marin Petrunic Date: Mon, 5 Feb 2024 17:25:03 +0100 Subject: [PATCH 19/20] fix test Signed-off-by: Marin Petrunic --- .../widget/tests/unit/components/buttons/connect-wallet.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/widget/tests/unit/components/buttons/connect-wallet.test.ts b/packages/widget/tests/unit/components/buttons/connect-wallet.test.ts index 176df3c2..c99fe04c 100644 --- a/packages/widget/tests/unit/components/buttons/connect-wallet.test.ts +++ b/packages/widget/tests/unit/components/buttons/connect-wallet.test.ts @@ -88,7 +88,7 @@ describe('connect-wallet button', function () { walletAddressEl?.title, '0x95222290DD7278Aa3Ddd389Cc1E1d165CC4BAfe5' ); - assert.equal(walletAddressEl?.textContent, '0x9522...BAfe5'); + assert.equal(walletAddressEl?.textContent?.trim(), '0x9522...BAfe5'); const disconnectButton = connectComponent.shadowRoot!.querySelector( '.connectWalletButton' From 4a0aa88947fa9dc5fc5b0cecac158393372b6f0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Riquelme=20Guzm=C3=A1n?= Date: Mon, 5 Feb 2024 23:11:29 -0300 Subject: [PATCH 20/20] chore: rename connect-wallet-styles to styles --- packages/widget/src/components/buttons/connect-wallet.ts | 2 +- .../components/buttons/{connect-wallet.style.ts => styles.ts} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename packages/widget/src/components/buttons/{connect-wallet.style.ts => styles.ts} (100%) diff --git a/packages/widget/src/components/buttons/connect-wallet.ts b/packages/widget/src/components/buttons/connect-wallet.ts index 4da50860..8b89225b 100644 --- a/packages/widget/src/components/buttons/connect-wallet.ts +++ b/packages/widget/src/components/buttons/connect-wallet.ts @@ -11,7 +11,7 @@ import { WalletController } from '../../controllers'; import { shortAddress } from '../../utils'; import { BaseComponent } from '../base-component/base-component'; import greenCircleIcon from '../../assets/icons/greenCircleIcon'; -import { styles } from './connect-wallet.style'; +import { styles } from './styles'; @customElement('sygma-connect-wallet-btn') export class ConnectWalletButton extends BaseComponent { diff --git a/packages/widget/src/components/buttons/connect-wallet.style.ts b/packages/widget/src/components/buttons/styles.ts similarity index 100% rename from packages/widget/src/components/buttons/connect-wallet.style.ts rename to packages/widget/src/components/buttons/styles.ts