diff --git a/commitlint.config.js b/commitlint.config.js index 986f6f8d..67fbadc3 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -14,6 +14,7 @@ module.exports = { 'hashicorp-vault-signing-manager', 'approval-signing-manager', 'fireblocks-signing-manager', + 'walletconnect-signing-manager', ], ], }, diff --git a/packages/walletconnect-signing-manager/.babelrc b/packages/walletconnect-signing-manager/.babelrc new file mode 100644 index 00000000..cf7ddd99 --- /dev/null +++ b/packages/walletconnect-signing-manager/.babelrc @@ -0,0 +1,3 @@ +{ + "presets": [["@nrwl/web/babel", { "useBuiltIns": "usage" }]] +} diff --git a/packages/walletconnect-signing-manager/.eslintrc.json b/packages/walletconnect-signing-manager/.eslintrc.json new file mode 100644 index 00000000..9d9c0db5 --- /dev/null +++ b/packages/walletconnect-signing-manager/.eslintrc.json @@ -0,0 +1,18 @@ +{ + "extends": ["../../.eslintrc.json"], + "ignorePatterns": ["!**/*"], + "overrides": [ + { + "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], + "rules": {} + }, + { + "files": ["*.ts", "*.tsx"], + "rules": {} + }, + { + "files": ["*.js", "*.jsx"], + "rules": {} + } + ] +} diff --git a/packages/walletconnect-signing-manager/CHANGELOG.md b/packages/walletconnect-signing-manager/CHANGELOG.md new file mode 100644 index 00000000..e69de29b diff --git a/packages/walletconnect-signing-manager/README.md b/packages/walletconnect-signing-manager/README.md new file mode 100644 index 00000000..6dd4e782 --- /dev/null +++ b/packages/walletconnect-signing-manager/README.md @@ -0,0 +1,142 @@ +# WalletConnect Signing Manager + +This library provides a Polymesh SDK-compatible signing manager that enables interaction with a WalletConnect-compatible wallet, such as a remote mobile wallet. + +The WalletConnect signing manager is designed to have a similar API to the Browser Extension Signing Manager to simplify the effort for an integration to support both options. + +## Creating a Signing Manager + +To use the `WalletConnectSigningManager`, follow these steps: + +### 1. Import the Necessary Modules + +- Import the `WalletConnectSigningManager` class from the `@polymeshassociation/walletconnect-signing-manager` package. +- Import the `Polymesh` class from the `@polymeshassociation/polymesh-sdk` package. + +```typescript +import { WalletConnectSigningManager } from '@polymeshassociation/walletconnect-signing-manager'; +import { Polymesh } from '@polymeshassociation/polymesh-sdk'; +``` + +### 2. Define WalletConnect Configuration + +Define the `walletConnectConfiguration` object with the necessary parameters. + +Provide details for each configuration parameter: + +- `projectId`: Obtain from [WalletConnect](https://cloud.walletconnect.com/). +- `relayUrl` (optional): Override the default relay endpoint. +- `metadata` (optional): Metadata displayed in the wallet connecting to your app. +- `chainIds`: CASA CAIP-2 representation of the chain. Polymesh instances begin with 'polkadot:' + first 32 bytes of the genesis hash. The connected wallet must support the provided chain ID. +- `optionalChainIds` (optional): Additional chain IDs. Not mandatory for wallet support. +- `modalOptions` (optional): WalletConnect modal configuration parameters. Refer to [WalletConnect documentation](https://docs.walletconnect.com/advanced/walletconnectmodal/options) for options. +- `handleConnectUri` (optional): Callback to handle the WalletConnect URI. Runs only once when the URI is generated. If provided, the WalletConnect modal will not be displayed. +- `onSessionDelete` (optional): Callback function to run when a WalletConnect session is deleted. + +```typescript +const walletConnectConfiguration = { + projectId: '427...', + relayUrl: 'wss://relay.walletconnect.org', + metadata: { + name: 'My App', + description: 'App for interacting with the Polymesh Blockchain', + url: 'https://example.com', + icons: ['https://walletconnect.com/walletconnect-logo.png'], + }, + chainIds: ['polkadot:6fbd74e5e1d0a61d52ccfe9d4adaed16'], + optionalChainIds: ['polkadot:2ace05e703aa50b48c0ccccfc8b424f7'], + modalOptions: { + // See WalletConnect documentation for options + }, + handleConnectUri: uri => { + // Code to handle the WalletConnect URI. + // Note: If provided, the WalletConnect modal will not be displayed. + }, + onSessionDelete: () => { + // Code to run on session delete. + }, +}; +``` + +### 3. Create a WalletConnect Connection + +- Use the `create()` method of the `WalletConnectSigningManager` class to create a connection. +- Pass the `walletConnectConfiguration` object and other optional parameters: + - `appName`: Name of the dApp attempting to connect to the extension. + - `ss58Format` (optional): SS58 prefix for encoding addresses. When the SDK connects to a node this gets set to the chain specific. + - `genesisHash` (optional): Genesis hash of the target chain. This is required only when signing raw data to configure the chainId for. When signing transactions prepared by the SDK the chainId will be derived from the genesisHash contained in the transaction payload. + +When called, the generated URI or QR code must be used to make the WalletConnect connection before the signing manager is returned. + +```typescript +const signingManager = await WalletConnectSigningManager.create({ + config: walletConnectConfiguration, + appName: 'My App', + ss58Format: 12, // (optional) + genesisHash: '0x6fbd74e5e1d0a61d52ccfe9d4adaed16dd3a7caa37c6bc4d0c2fa12e8b2f4063', // (optional) +}); +``` + +### 4. Attach the Signing Manager to the Polymesh SDK + +- Connect the `signingManager` instance to the Polymesh SDK using the `Polymesh.connect()` method. + +```typescript +const polymesh = await Polymesh.connect({ + nodeUrl, + signingManager, +}); +``` + +Now you have successfully created a `WalletConnectSigningManager` instance and attached it to the Polymesh SDK, allowing interaction with a WalletConnect-compatible wallet. + +## Additional Methods + +### Setting SS58 Format and Genesis Hash + +Use the `setSs58Format()` method and `setGenesisHash()` method to set the SS58 prefix and genesis hash, respectively. + +```typescript +signingManager.setSs58Format(42); +signingManager.setGenesisHash('0x123456789abcdef'); +``` + +### Getting Accounts + +To retrieve accounts from the connected wallet, use the `getAccounts()` or `getAccountsWithMeta()` methods. + +```typescript +const accounts = await signingManager.getAccounts(); +const accountsWithMeta = await signingManager.getAccountsWithMeta(); +``` + +### Getting External Signer + +Use the `getExternalSigner()` method to get a `WalletConnectSigner` object that uses connected walletConnect accounts for signing. + +```typescript +const externalSigner = signingManager.getExternalSigner(); +``` + +### Subscribing to Account Changes + +Subscribe to changes in the connected wallet's accounts using the `onAccountChange()` method. + +```typescript +const unsubscribe = signingManager.onAccountChange(accounts => { + // Handle account change event +}); +``` + +### Disconnecting and Checking Connection Status + +Use the `disconnect()` method to disconnect the connected WalletConnect session, and `isConnected()` method to check the connection status. + +```typescript +await signingManager.disconnect(); +const isConnected = signingManager.isConnected(); +``` + +## Info + +This library was generated with [Nx](https://nx.dev). diff --git a/packages/walletconnect-signing-manager/jest.config.js b/packages/walletconnect-signing-manager/jest.config.js new file mode 100644 index 00000000..797aa738 --- /dev/null +++ b/packages/walletconnect-signing-manager/jest.config.js @@ -0,0 +1,13 @@ +module.exports = { + displayName: 'walletconnect-signing-manager', + preset: '../../jest.preset.js', + globals: { + 'ts-jest': { + tsconfig: '/tsconfig.spec.json', + }, + }, + testEnvironment: 'node', + moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], + coverageDirectory: '../../coverage/packages/walletconnect-signing-manager', + restoreMocks: true, +}; diff --git a/packages/walletconnect-signing-manager/package.json b/packages/walletconnect-signing-manager/package.json new file mode 100644 index 00000000..8d565dfe --- /dev/null +++ b/packages/walletconnect-signing-manager/package.json @@ -0,0 +1,24 @@ +{ + "name": "@polymeshassociation/walletconnect-signing-manager", + "version": "0.1.0", + "main": "./index.js", + "typings": "./index.d.ts", + "repository": { + "type": "git", + "url": "https://github.com/PolymeshAssociation/signing-managers.git" + }, + "publishConfig": { + "access": "public" + }, + "dependencies": { + "@polymeshassociation/signing-manager-types": "^3.3.0", + "@walletconnect/modal": "^2.6.2", + "@walletconnect/sign-client": "2.13.0" + }, + "devDependencies": { + "@walletconnect/types": "2.13.0" + }, + "peerDependencies": { + "@polymeshassociation/polymesh-sdk": ">=15.0.0" + } +} diff --git a/packages/walletconnect-signing-manager/project.json b/packages/walletconnect-signing-manager/project.json new file mode 100644 index 00000000..d2bd5754 --- /dev/null +++ b/packages/walletconnect-signing-manager/project.json @@ -0,0 +1,51 @@ +{ + "root": "packages/walletconnect-signing-manager", + "sourceRoot": "packages/walletconnect-signing-manager/src", + "projectType": "library", + "targets": { + "build": { + "executor": "@nrwl/node:package", + "outputs": ["{options.outputPath}"], + "options": { + "outputPath": "dist/packages/walletconnect-signing-manager", + "tsConfig": "packages/walletconnect-signing-manager/tsconfig.lib.json", + "packageJson": "packages/walletconnect-signing-manager/package.json", + "main": "packages/walletconnect-signing-manager/src/index.ts", + "assets": ["packages/walletconnect-signing-manager/*.md"], + "srcRootForCompilationRoot": "packages/walletconnect-signing-manager/src" + } + }, + "lint": { + "executor": "@nrwl/linter:eslint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["packages/walletconnect-signing-manager/**/*.ts"] + } + }, + "test": { + "executor": "@nrwl/jest:jest", + "outputs": ["coverage/packages/walletconnect-signing-manager"], + "options": { + "jestConfig": "packages/walletconnect-signing-manager/jest.config.js", + "passWithNoTests": true + } + }, + "release": { + "executor": "@ng-easy/builders:semantic-release", + "configurations": { + "local": { + "force": true + } + } + }, + "run-local": { + "executor": "./tools/executors/run-local:run-local", + "options": { + "runInBrowser": false, + "path": "packages/walletconnect-signing-manager/sandbox/index.ts", + "port": 9000 + } + } + }, + "tags": [] +} diff --git a/packages/walletconnect-signing-manager/src/index.ts b/packages/walletconnect-signing-manager/src/index.ts new file mode 100644 index 00000000..a6e001e6 --- /dev/null +++ b/packages/walletconnect-signing-manager/src/index.ts @@ -0,0 +1,3 @@ +/* istanbul ignore file */ + +export { WalletConnectSigningManager } from './lib/walletconnect-signing-manager'; diff --git a/packages/walletconnect-signing-manager/src/lib/walletconnect-signing-manager.spec.ts b/packages/walletconnect-signing-manager/src/lib/walletconnect-signing-manager.spec.ts new file mode 100644 index 00000000..79f24f8e --- /dev/null +++ b/packages/walletconnect-signing-manager/src/lib/walletconnect-signing-manager.spec.ts @@ -0,0 +1,274 @@ +import type Client from '@walletconnect/sign-client'; +import type { SessionTypes } from '@walletconnect/types'; + +import { WalletConnect, WalletConnectConfiguration } from './walletconnect'; +import { WalletConnectSigner } from './walletconnect/signer'; +import { WalletConnectSigningManager } from './walletconnect-signing-manager'; + +jest.mock('./walletconnect'); + +describe('WalletConnectSigningManager Class', () => { + let config: WalletConnectConfiguration; + let walletConnectMock: jest.Mocked; + let walletConnectSignerMock: jest.Mocked; + let signingManager: WalletConnectSigningManager; + + const address12 = '2HFAAoz9ZGHnLL84ytDhVBXggYv4avQCiS5ajtKLudRhUFrh'; + const address42 = '5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY'; + + beforeAll(() => { + config = { + projectId: '4fae85e642724ee66587fa9f37b997e2', + metadata: { + name: 'Polymesh Signing Manager Demo', + description: 'Signing Manager Demo', + url: 'https://polymesh.network', + icons: [ + 'https://assets-global.website-files.com/61c0a31b90958801836efe1b/62d08014db27c031ec24b6f6_polymesh-symbol.svg', + ], + }, + chainIds: ['polkadot:6fbd74e5e1d0a61d52ccfe9d4adaed16'], + storageOptions: { database: 'testLocalDatabase' }, + handleConnectUri: jest.fn(), + onSessionDelete: jest.fn(), + } as WalletConnectConfiguration; + }); + + beforeEach(async () => { + // Mock client and session + const mockClient = {} as unknown as jest.Mocked; + const mockSession = { + peer: { metadata: { name: 'walletName' } }, + } as unknown as jest.Mocked; + + walletConnectSignerMock = new WalletConnectSigner( + mockClient, + mockSession + ) as jest.Mocked; + + walletConnectMock = { + appName: 'testDApp', + config: config, + metadata: config.metadata, + client: mockClient, + session: mockSession, + connect: jest.fn(), + getAccounts: jest.fn().mockResolvedValue([{ address: address12 }]), + signer: walletConnectSignerMock, + subscribeAccounts: jest.fn(), + disconnect: jest.fn(), + isConnected: jest.fn().mockReturnValue(true), + } as unknown as jest.Mocked; + + (WalletConnect as jest.Mock).mockImplementation(() => walletConnectMock); + + signingManager = await WalletConnectSigningManager.create({ + appName: 'testDApp', + config, + ss58Format: 42, + genesisHash: 'someHash', + }); + }); + + afterEach(() => { + jest.clearAllMocks(); + }); + + describe('method: create', () => { + it('should create an instance of WalletConnectSigningManager', async () => { + expect(walletConnectMock.connect).toHaveBeenCalled(); + expect(signingManager).toBeInstanceOf(WalletConnectSigningManager); + expect((signingManager as any)._ss58Format).toBe(42); + expect((signingManager as any)._genesisHash).toBe('someHash'); + }); + }); + + describe('method: setSs58Format', () => { + it('should set the SS58 format', () => { + signingManager.setSs58Format(12); + // eslint-disable-next-line @typescript-eslint/no-explicit-any + expect((signingManager as any)._ss58Format).toBe(12); + }); + }); + + describe('method: setGenesisHash', () => { + it('should set the genesis hash and update the chainId in signer', () => { + signingManager.setGenesisHash( + '0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef' + ); + // eslint-disable-next-line @typescript-eslint/no-explicit-any + expect((signingManager as any)._genesisHash).toBe( + '0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef' + ); + expect(walletConnectSignerMock.chainId).toBe('polkadot:1234567890abcdef1234567890abcdef'); + }); + }); + + describe('method: getAccounts', () => { + it('should return all accounts held in the wallet, respecting the SS58 format', async () => { + const result = await signingManager.getAccounts(); + expect(result).toEqual([address42]); + }); + + it("should throw an error if the Signing Manager doesn't have a SS58 format", async () => { + signingManager = await WalletConnectSigningManager.create({ + appName: 'testDApp', + config, + }); + + await expect(signingManager.getAccounts()).rejects.toThrow( + "Cannot call 'getAccounts' before calling 'setSs58Format'. Did you forget to use this Signing Manager to connect with the Polymesh SDK?" + ); + }); + }); + + describe('method: getAccountsWithMeta', () => { + it('should return all accounts with metadata, respecting the SS58 format', async () => { + signingManager = await WalletConnectSigningManager.create({ + appName: 'testDApp', + config, + ss58Format: 42, + }); + + const result = await signingManager.getAccountsWithMeta(); + + expect(result).toEqual([ + { + address: address42, + meta: { genesisHash: undefined, name: undefined, source: 'walletName' }, + type: undefined, + }, + ]); + }); + + it("should throw an error if the Signing Manager doesn't have a SS58 format", async () => { + const signingManager = await WalletConnectSigningManager.create({ + appName: 'testDApp', + config, + }); + + await expect(signingManager.getAccountsWithMeta()).rejects.toThrow( + "Cannot call 'getAccountsWithMeta' before calling 'setSs58Format'. Did you forget to use this Signing Manager to connect with the Polymesh SDK?" + ); + }); + }); + + describe('method: getExternalSigner', () => { + it('should return the signer object', () => { + const signer = signingManager.getExternalSigner(); + expect(signer).toBeInstanceOf(WalletConnectSigner); + }); + + it('should throw an error if the signer is not connected', () => { + walletConnectMock.signer = undefined; + expect(() => signingManager.getExternalSigner()).toThrow( + 'WalletConnect signer not connected' + ); + }); + }); + + describe('method: onAccountChange', () => { + it('should pass the new accounts to the callback, respecting the SS58 format', () => { + const accounts = [{ address: address12 }]; + (walletConnectMock.subscribeAccounts as jest.Mock).mockImplementation(cb => { + cb(accounts); + }); + + const callback = jest.fn(); + signingManager.onAccountChange(callback, false); + + expect(callback).toHaveBeenCalledWith([address42]); + }); + + it('should pass the new accountsWithMetadata to the callback, respecting the SS58 format', () => { + const accounts = [{ address: address12 }]; + (walletConnectMock.subscribeAccounts as jest.Mock).mockImplementation(cb => { + cb(accounts); + }); + + const callback = jest.fn(); + signingManager.onAccountChange(callback, true); + + expect(callback).toHaveBeenCalledWith([ + { + address: address42, + meta: { + genesisHash: undefined, + name: undefined, + source: 'walletName', + }, + type: undefined, + }, + ]); + }); + + it('should use default wallet name if a session is not provided', () => { + const accounts = [{ address: address12 }]; + walletConnectMock.session = undefined; + (walletConnectMock.subscribeAccounts as jest.Mock).mockImplementation(cb => { + cb(accounts); + }); + + const callback = jest.fn(); + signingManager.onAccountChange(callback, true); + + expect(callback).toHaveBeenCalledWith([ + { + address: address42, + meta: { + genesisHash: undefined, + name: undefined, + source: 'walletConnect', + }, + type: undefined, + }, + ]); + }); + + it("should throw an error if the Signing Manager doesn't have a SS58 format", async () => { + signingManager = await WalletConnectSigningManager.create({ + appName: 'testDApp', + config, + }); + const accounts = [{ address: address12 }]; + (walletConnectMock.subscribeAccounts as jest.Mock).mockImplementation(cb => { + cb(accounts); + }); + + expect(() => signingManager.onAccountChange(() => console.log('12345678'))).toThrow( + "Cannot call 'onAccountChange callback' before calling 'setSs58Format'. Did you forget to use this Signing Manager to connect with the Polymesh SDK?" + ); + }); + }); + + describe('method: getSs58Format', () => { + it('should throw an error if the SS58 format has not been set', () => { + const methodName = 'testMethod'; + signingManager = new (WalletConnectSigningManager as any)(walletConnectMock); + expect(() => (signingManager as any).getSs58Format(methodName)).toThrow( + `Cannot call '${methodName}' before calling 'setSs58Format'. Did you forget to use this Signing Manager to connect with the Polymesh SDK?` + ); + }); + + it('should return the SS58 format if it has been set', () => { + const methodName = 'testMethod'; + (signingManager as any).setSs58Format(42); + const ss58Format = (signingManager as any).getSs58Format(methodName); + expect(ss58Format).toBe(42); + }); + }); + + describe('method: disconnect', () => { + it('should disconnect the wallet session', async () => { + await signingManager.disconnect(); + expect(walletConnectMock.disconnect).toHaveBeenCalled(); + }); + }); + + describe('method: isConnected', () => { + it('should return the connection status', () => { + const isConnected = signingManager.isConnected(); + expect(isConnected).toBe(true); + }); + }); +}); diff --git a/packages/walletconnect-signing-manager/src/lib/walletconnect-signing-manager.ts b/packages/walletconnect-signing-manager/src/lib/walletconnect-signing-manager.ts new file mode 100644 index 00000000..d13bbdc5 --- /dev/null +++ b/packages/walletconnect-signing-manager/src/lib/walletconnect-signing-manager.ts @@ -0,0 +1,163 @@ +import type { InjectedAccountWithMeta } from '@polkadot/extension-inject/types'; +import type { SigningManager } from '@polymeshassociation/signing-manager-types'; + +import type { CreateParams, UnsubCallback } from '../types'; +import { changeAddressFormat, mapAccounts } from '../utils'; +import { WalletConnect } from './walletconnect'; +import { WalletConnectSigner } from './walletconnect/signer'; + +export class WalletConnectSigningManager implements SigningManager { + private _ss58Format?: number; + private _genesisHash?: string; + + private constructor(private readonly walletConnect: WalletConnect) {} + + /** + * Create a Signing Manager that connects to a browser extension + * + * @param args.config - walletConnect configuration parameters + * @param args.appName - name of the dApp attempting to connect to the extension + * @param args.ss58Format - SS58 format for the extension in which the returned addresses will be encoded(optional) + * @param args.genesisHash - genesis hash of the target chain(optional) + * + */ + public static async create(args: CreateParams): Promise { + const { appName, config, ss58Format, genesisHash } = args; + + const walletConnect = new WalletConnect(config, appName); + await walletConnect.connect(); + const signingManager = new WalletConnectSigningManager(walletConnect); + + if (ss58Format) { + signingManager.setSs58Format(ss58Format); + } + if (genesisHash) { + signingManager.setGenesisHash(genesisHash); + } + + return signingManager; + } + + /** + * Set the SS58 format in which returned addresses will be encoded + */ + public setSs58Format(ss58Format: number): void { + this._ss58Format = ss58Format; + } + + /** + * Set the genesis hash. + * Note: This is required to configure the chainId for signing raw data. When signing transaction payloads + * the chainId will be derived from the genesisHash contained in the transaction payload. + */ + public setGenesisHash(genesisHash: string): void { + this._genesisHash = genesisHash; + this.walletConnect.signer?.setChainIdFromGenesisHash(genesisHash); + } + + /** + * Return the addresses of all provided Accounts from the connected wallet + * + * @throws if called before calling `setSs58Format`. Normally, `setSs58Format` will be called by the SDK when instantiated + */ + public async getAccounts(): Promise { + const ss58Format = this.getSs58Format('getAccounts'); + + const accounts = await this.walletConnect.getAccounts(); + + // we make sure the addresses are returned in the correct SS58 format + return accounts.map(({ address }) => changeAddressFormat(address, ss58Format)); + } + + /** + * Return the addresses of all Accounts formatted as InjectedAccountWithMeta type. + * + * @throws if called before calling `setSs58Format`. Normally, `setSs58Format` will be called by the SDK when instantiated + */ + public async getAccountsWithMeta(): Promise { + const ss58Format = this.getSs58Format('getAccountsWithMeta'); + + const accounts = await this.walletConnect.getAccounts(); + + return mapAccounts( + this.walletConnect.session?.peer.metadata.name || 'walletConnect', + accounts, + ss58Format + ); + } + + /** + * Return a signer object that uses the connected Accounts to sign + */ + public getExternalSigner(): WalletConnectSigner { + if (!this.walletConnect.signer) throw new Error('WalletConnect signer not connected'); + return this.walletConnect.signer; + } + + /** + * Subscribes via callback to any change in the walletConnect Accounts. This can be either + * from an Account being added/removed from the session or the session disconnecting + * + * The callback will be called with the new array of Accounts + * + * @param callbackWithMeta pass this value as true if the callback parameter expects `InjectedAccountWithMeta[]` as param + * @throws if the callback is triggered before calling `setSs58Format`. Normally, `setSs58Format` will be called by the SDK when instantiated + */ + public onAccountChange( + cb: (accounts: string[] | InjectedAccountWithMeta[]) => void, + callbackWithMeta = false + ): UnsubCallback { + let ss58Format: number; + + return this.walletConnect.subscribeAccounts(accounts => { + if (!ss58Format) { + ss58Format = this.getSs58Format('onAccountChange callback'); + } + + let callbackAccounts; + if (callbackWithMeta) { + callbackAccounts = mapAccounts( + this.walletConnect.session?.peer.metadata.name || 'walletConnect', + accounts, + ss58Format + ); + } else { + callbackAccounts = accounts.map(({ address }) => changeAddressFormat(address, ss58Format)); + } + cb(callbackAccounts); + }); + } + + /** + * @hidden + * + * @throws if the SS58 format hasn't been set yet + */ + private getSs58Format(methodName: string): number { + const { _ss58Format: format } = this; + + if (format === undefined) { + throw new Error( + `Cannot call '${methodName}' before calling 'setSs58Format'. Did you forget to use this Signing Manager to connect with the Polymesh SDK?` + ); + } + + return format; + } + + /** + * disconnect a connected walletConnect session + */ + + public async disconnect(): Promise { + return this.walletConnect.disconnect(); + } + + /** + * check the wallet connect connection status + */ + + public isConnected(): boolean { + return this.walletConnect.isConnected(); + } +} diff --git a/packages/walletconnect-signing-manager/src/lib/walletconnect/index.ts b/packages/walletconnect-signing-manager/src/lib/walletconnect/index.ts new file mode 100644 index 00000000..3a15b200 --- /dev/null +++ b/packages/walletconnect-signing-manager/src/lib/walletconnect/index.ts @@ -0,0 +1,2 @@ +export * from './walletconnect'; +export * from './types'; diff --git a/packages/walletconnect-signing-manager/src/lib/walletconnect/signer.spec.ts b/packages/walletconnect-signing-manager/src/lib/walletconnect/signer.spec.ts new file mode 100644 index 00000000..0e3447e0 --- /dev/null +++ b/packages/walletconnect-signing-manager/src/lib/walletconnect/signer.spec.ts @@ -0,0 +1,199 @@ +import type { SignerPayloadJSON, SignerPayloadRaw } from '@polkadot/types/types'; +import SignClient from '@walletconnect/sign-client'; +import type { SessionTypes } from '@walletconnect/types'; + +import { WalletConnectSigner } from './signer'; + +// Mock the module before importing the class +jest.mock('@walletconnect/sign-client', () => { + const mockRequest = jest.fn(); + return jest.fn().mockImplementation(() => ({ + request: mockRequest, + })); +}); + +describe('WalletConnectSigner', () => { + let mockClient: jest.Mocked; + let mockSession: jest.Mocked; + let walletConnectSigner: WalletConnectSigner; + + beforeEach(() => { + mockClient = new SignClient() as jest.Mocked; + mockSession = { + topic: '59da30fdf6fe82db677a85155d10bbd9f6f5eec94d8e472568e14fd89a33c615', + relay: { + protocol: 'irn', + }, + expiry: 1716579042, + namespaces: { + polkadot: { + accounts: [ + 'polkadot:6fbd74e5e1d0a61d52ccfe9d4adaed16:5Ci1xTypyBSv1kN5kS5zzFbm1fcfyY6RCqNsDieeYhFjTtVj', + ], + methods: [ + 'polkadot_signTransaction', + 'polkadot_signMessage', + 'personal_sign', + 'eth_sign', + 'eth_sendTransaction', + ], + events: ['chainChanged', 'accountsChanged'], + chains: ['polkadot:6fbd74e5e1d0a61d52ccfe9d4adaed16'], + }, + }, + acknowledged: true, + pairingTopic: 'b9eab57c59c35c906a64c71b4a227c33cdf98cc2957e37331552d273ddc867d9', + requiredNamespaces: { + polkadot: { + chains: ['polkadot:6fbd74e5e1d0a61d52ccfe9d4adaed16'], + methods: ['polkadot_signTransaction', 'polkadot_signMessage'], + events: ['chainChanged', 'accountsChanged'], + }, + }, + optionalNamespaces: {}, + controller: 'ba91496933f592bf37d4eb796c084354b90d1bae7eea066d4be59da83f4d9600', + self: { + publicKey: '64f6d283a62bfad0231ca7fc6dded2d6c491850292bff2fbd47080cd50cc5f3b', + metadata: { + name: 'Polymesh Signing Manager Test', + description: 'Signing Manager Test', + url: 'https://example.com', + icons: [], + }, + }, + peer: { + publicKey: 'ba91496933f592bf37d4eb796c084354b90d1bae7eea066d4be59da83f4d9600', + metadata: { + name: 'SubWallet', + description: 'React Wallet for WalletConnect', + url: 'https://www.subwallet.app/', + icons: [ + 'https://raw.githubusercontent.com/Koniverse/SubWallet-Extension/master/packages/extension-koni/public/images/icon-128.png', + ], + }, + }, + } as jest.Mocked; + + walletConnectSigner = new WalletConnectSigner(mockClient, mockSession); + }); + + test('constructor initializes with provided client and session', () => { + expect(walletConnectSigner.client).toBe(mockClient); + expect(walletConnectSigner.session).toBe(mockSession); + }); + + test('setChainIdFromGenesisHash sets the chainId correctly', () => { + const genesisHash = '0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef'; + walletConnectSigner.setChainIdFromGenesisHash(genesisHash); + expect(walletConnectSigner.chainId).toBe('polkadot:1234567890abcdef1234567890abcdef'); + }); + + describe('signPayload', () => { + const payload: SignerPayloadJSON = { + address: 'test-address', + blockHash: '0xtest-blockHash', + blockNumber: '0x1', + era: '0xtest-era', + genesisHash: '0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef', + method: 'test-method', + nonce: '0x1', + specVersion: '0x1', + tip: '0x0', + transactionVersion: '0x1', + signedExtensions: [], + version: 4, + }; + + const signature = 'test-signature'; + + beforeEach(() => { + mockClient.request.mockResolvedValue({ signature }); + }); + + test('creates and sends a signing request', async () => { + const result = await walletConnectSigner.signPayload(payload); + + expect(mockClient.request).toHaveBeenCalledWith({ + topic: mockSession.topic, + chainId: 'polkadot:1234567890abcdef1234567890abcdef', + request: { + id: 1, + jsonrpc: '2.0', + method: 'polkadot_signTransaction', + params: { address: payload.address, transactionPayload: payload }, + }, + }); + + expect(result).toEqual({ id: 1, signature }); + }); + + test('returns incremental ID for each signed payload', async () => { + let result = await walletConnectSigner.signPayload(payload); + expect(result.id).toBe(1); + + result = await walletConnectSigner.signPayload(payload); + expect(result.id).toBe(2); + }); + }); + + describe('signRaw', () => { + const raw: SignerPayloadRaw = { + address: 'test-address', + data: '0x1234', + type: 'bytes', + }; + + const signature = 'test-signature'; + + beforeEach(() => { + mockClient.request.mockResolvedValue({ signature }); + }); + + test('throws error if chainId is not set', async () => { + await expect(walletConnectSigner.signRaw(raw)).rejects.toThrow( + 'chainId not found. Use setGenesisHash to configure the chainId' + ); + }); + + test('creates and sends a raw message signing request', async () => { + const genesisHash = '0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef'; + walletConnectSigner.setChainIdFromGenesisHash(genesisHash); + + const result = await walletConnectSigner.signRaw(raw); + + expect(mockClient.request).toHaveBeenCalledWith({ + topic: mockSession.topic, + chainId: 'polkadot:1234567890abcdef1234567890abcdef', + request: { + id: 1, + jsonrpc: '2.0', + method: 'polkadot_signMessage', + params: { address: raw.address, message: raw.data }, + }, + }); + + expect(result).toEqual({ id: 1, signature }); + }); + + test('returns incremental ID for each signed raw message', async () => { + const genesisHash = '0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef'; + walletConnectSigner.setChainIdFromGenesisHash(genesisHash); + + let result = await walletConnectSigner.signRaw(raw); + expect(result.id).toBe(1); + + result = await walletConnectSigner.signRaw(raw); + expect(result.id).toBe(2); + }); + + test('throws an error if the raw message address is not present in the session', async () => { + const invalidRaw = { ...raw, address: 'invalid-address' }; + walletConnectSigner.setChainIdFromGenesisHash( + '0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef' + ); + mockClient.request.mockRejectedValue(new Error('Invalid address')); + + await expect(walletConnectSigner.signRaw(invalidRaw)).rejects.toThrow('Invalid address'); + }); + }); +}); diff --git a/packages/walletconnect-signing-manager/src/lib/walletconnect/signer.ts b/packages/walletconnect-signing-manager/src/lib/walletconnect/signer.ts new file mode 100644 index 00000000..ed36ffe2 --- /dev/null +++ b/packages/walletconnect-signing-manager/src/lib/walletconnect/signer.ts @@ -0,0 +1,76 @@ +import type { SignerPayloadJSON, SignerPayloadRaw, SignerResult } from '@polkadot/types/types'; +import type { HexString } from '@polkadot/util/types'; +import { PolkadotSigner } from '@polymeshassociation/signing-manager-types'; +import SignClient from '@walletconnect/sign-client'; +import type { SessionTypes } from '@walletconnect/types'; + +interface Signature { + signature: HexString; +} + +export class WalletConnectSigner implements PolkadotSigner { + client: SignClient; + session: SessionTypes.Struct; + chainId?: string; + id = 0; + + public constructor(client: SignClient, session: SessionTypes.Struct) { + this.client = client; + this.session = session; + } + /** + * Sets the chainId used for signRaw + * + * @param genesisHash + */ + public setChainIdFromGenesisHash = (genesisHash: string) => { + this.chainId = `polkadot:${genesisHash.replace('0x', '').substring(0, 32)}`; + }; + + /** + * Creates and sends a wallet connect signing request + * @param payload The transaction payload for signing + * @returns Signed result + */ + public signPayload = async (payload: SignerPayloadJSON): Promise => { + const request = { + topic: this.session.topic, + chainId: `polkadot:${payload.genesisHash.replace('0x', '').substring(0, 32)}`, + request: { + id: 1, + jsonrpc: '2.0', + method: 'polkadot_signTransaction', + params: { address: payload.address, transactionPayload: payload }, + }, + }; + + const { signature } = await this.client.request(request); + + return { id: ++this.id, signature }; + }; + + /** + * Creates and sends a wallet connect raw message signing request + * @param raw The raw payload for signing + * @returns signed result + */ + public signRaw = async (raw: SignerPayloadRaw): Promise => { + if (!this.chainId) { + throw new Error('chainId not found. Use setGenesisHash to configure the chainId'); + } + const request = { + topic: this.session.topic, + chainId: this.chainId, + request: { + id: 1, + jsonrpc: '2.0', + method: 'polkadot_signMessage', + params: { address: raw.address, message: raw.data }, + }, + }; + + const { signature } = await this.client.request(request); + + return { id: ++this.id, signature }; + }; +} diff --git a/packages/walletconnect-signing-manager/src/lib/walletconnect/types.ts b/packages/walletconnect-signing-manager/src/lib/walletconnect/types.ts new file mode 100644 index 00000000..3e453c15 --- /dev/null +++ b/packages/walletconnect-signing-manager/src/lib/walletconnect/types.ts @@ -0,0 +1,50 @@ +import type { InjectedAccount } from '@polkadot/extension-inject/types'; +import type { WalletConnectModalConfig } from '@walletconnect/modal'; +import type { SignClientTypes } from '@walletconnect/types'; + +import type { WalletConnectSigner } from './signer'; + +export type WcAccount = `${string}:${string}:${string}`; + +export type PolkadotNamespaceChainId = `polkadot:${string}`; + +export interface WalletOptionsType { + id: string; + name: string; + links: { + native: string; + universal?: string; + }; +} + +export type WalletConnectModalOptions = Omit; + +export interface WalletConnectConfiguration extends SignClientTypes.Options { + projectId: string; + chainIds?: PolkadotNamespaceChainId[]; + optionalChainIds?: PolkadotNamespaceChainId[]; + onSessionDelete?: () => void; + handleConnectUri?: (uri: string) => void; + modalOptions?: WalletConnectModalOptions; +} + +export interface WalletMetadata { + id: string; + title: string; + description?: string; + urls?: { main?: string; browsers?: Record }; + iconUrl?: string; + version?: string; +} + +export type UnsubCallback = () => void; + +export interface BaseWallet { + metadata: WalletMetadata; + signer: WalletConnectSigner | undefined; + connect: () => Promise; + disconnect: () => Promise; + isConnected: () => boolean; + getAccounts: () => Promise; + subscribeAccounts: (cb: (accounts: InjectedAccount[]) => void) => UnsubCallback; +} diff --git a/packages/walletconnect-signing-manager/src/lib/walletconnect/walletconnect.spec.ts b/packages/walletconnect-signing-manager/src/lib/walletconnect/walletconnect.spec.ts new file mode 100644 index 00000000..bfa693e6 --- /dev/null +++ b/packages/walletconnect-signing-manager/src/lib/walletconnect/walletconnect.spec.ts @@ -0,0 +1,416 @@ +import Client, { SignClient } from '@walletconnect/sign-client'; +import type { SessionTypes } from '@walletconnect/types'; + +import { WalletConnectSigner } from './signer'; +import type { WalletConnectConfiguration } from './types'; +import { POLYMESH_CHAIN_ID, WalletConnect, WC_VERSION } from './walletconnect'; + +jest.mock('@walletconnect/sign-client'); + +describe('WalletConnect', () => { + let config: WalletConnectConfiguration; + let walletConnect: WalletConnect; + let clientMock: jest.Mocked; + let sessionMock: SessionTypes.Struct; + + beforeEach(() => { + config = { + projectId: '4fae85e642724ee66587fa9f37b997e2', + metadata: { + name: 'Polymesh Signing Manager Demo', + description: 'Signing Manager Demo', + url: 'https://polymesh.network', + icons: [ + 'https://assets-global.website-files.com/61c0a31b90958801836efe1b/62d08014db27c031ec24b6f6_polymesh-symbol.svg', + ], + }, + chainIds: [POLYMESH_CHAIN_ID], + storageOptions: { database: 'testLocalDatabase' }, + handleConnectUri: jest.fn(), + onSessionDelete: jest.fn(), + }; + + sessionMock = { + topic: '0fad0dec80bf1226eb1646defde76536a86f0a06e604bd28f98c08c564b0e035', + relay: { protocol: 'irn' }, + expiry: Math.floor(Date.now() / 1000) + 1000, + namespaces: { + polkadot: { + accounts: [ + 'polkadot:6fbd74e5e1d0a61d52ccfe9d4adaed16:5Ci1xTypyBSv1kN5kS5zzFbm1fcfyY6RCqNsDieeYhFjTtVj', + ], + methods: ['polkadot_signTransaction', 'polkadot_signMessage'], + events: ['chainChanged', 'accountsChanged'], + chains: ['polkadot:6fbd74e5e1d0a61d52ccfe9d4adaed16'], + }, + }, + acknowledged: true, + pairingTopic: '0bea69835975b2e1e9b0653557371572c7a9a435a4d99d00fc888f42b9982db9', + requiredNamespaces: { + polkadot: { + chains: ['polkadot:6fbd74e5e1d0a61d52ccfe9d4adaed16'], + methods: ['polkadot_signTransaction', 'polkadot_signMessage'], + events: ['chainChanged', 'accountsChanged'], + }, + }, + optionalNamespaces: {}, + controller: '886e9e42f7c650a21ec121a70f074a07d4f75937dead2a16de1d9ab0c0136d5b', + self: { + publicKey: '6c96551a13e944f472cf7b895fddbb00c9a7894c81988a837399f3c940510810', + metadata: { + name: 'Polymesh Signing Manager Demo', + description: 'Signing Manager Demo', + url: 'https://polymesh.network', + icons: [ + 'https://assets-global.website-files.com/61c0a31b90958801836efe1b/62d08014db27c031ec24b6f6_polymesh-symbol.svg', + ], + }, + }, + peer: { + publicKey: '886e9e42f7c650a21ec121a70f074a07d4f75937dead2a16de1d9ab0c0136d5b', + metadata: { + name: 'SubWallet', + description: 'React Wallet for WalletConnect', + url: 'https://www.subwallet.app/', + icons: [ + 'https://raw.githubusercontent.com/Koniverse/SubWallet-Extension/master/packages/extension-koni/public/images/icon-128.png', + ], + }, + }, + }; + + // Mock the client + clientMock = { + connect: jest.fn(), + session: { + // Mock getAll method of session + getAll: jest.fn(), + // Mock other methods and properties if needed + } as unknown as Client['session'], // Ensure session property matches expected type + on: jest.fn(), + off: jest.fn(), + disconnect: jest.fn(), + emit: jest.fn(), + } as unknown as jest.Mocked; + + // clientMock.connect = jest.fn(); + // clientMock.session = clientSessionMock; + + // Properly mock the session.getAll method + (clientMock.session.getAll as jest.Mock).mockReturnValue([]); + + // Mock the connect method of the client + clientMock.connect.mockResolvedValue({ + uri: 'test-uri', + approval: jest.fn().mockResolvedValue(sessionMock), + }); + + // Mock SignClient.init to return the mocked client + jest.spyOn(SignClient, 'init').mockResolvedValue(clientMock); + + walletConnect = new WalletConnect(config, 'TestApp'); + }); + afterEach(() => { + jest.clearAllMocks(); + }); + + describe('constructor', () => { + it('should initialize with given config and appName', () => { + expect(walletConnect.appName).toBe('TestApp'); + expect(walletConnect.config).toBe(config); + expect(walletConnect.metadata).toEqual({ + id: 'walletconnect', + title: 'Polymesh Signing Manager Demo', + description: 'Signing Manager Demo', + urls: { main: 'https://polymesh.network' }, + iconUrl: + 'https://assets-global.website-files.com/61c0a31b90958801836efe1b/62d08014db27c031ec24b6f6_polymesh-symbol.svg', + version: WC_VERSION, + }); + }); + + it('should set default chainIds if an empty array is provided', () => { + const configWithoutChainIds = { ...config, chainIds: [] }; + walletConnect = new WalletConnect(configWithoutChainIds, 'TestApp'); + expect(walletConnect.config.chainIds).toEqual([POLYMESH_CHAIN_ID]); + }); + + it('should set default chainIds if not provided', () => { + const configWithoutChainIds = { ...config, chainIds: undefined }; + walletConnect = new WalletConnect(configWithoutChainIds, 'TestApp'); + expect(walletConnect.config.chainIds).toEqual([POLYMESH_CHAIN_ID]); + }); + }); + + describe('reset', () => { + it('should reset client, session, and signer', () => { + walletConnect.client = clientMock; + walletConnect.session = sessionMock; + walletConnect.signer = new WalletConnectSigner(clientMock, sessionMock); + + (walletConnect as any).reset(); + + expect(walletConnect.client).toBeUndefined(); + expect(walletConnect.session).toBeUndefined(); + expect(walletConnect.signer).toBeUndefined(); + }); + }); + + describe('connect', () => { + beforeEach(() => { + jest.clearAllMocks(); + }); + + it('should initialize client and handle connect URI', async () => { + await walletConnect.connect(); + + expect(clientMock.connect).toHaveBeenCalled(); + expect(walletConnect.client).toBe(clientMock); + expect(config.handleConnectUri).toHaveBeenCalledWith('test-uri'); + }); + + it('should set session and signer if session approval is granted', async () => { + await walletConnect.connect(); + + expect(walletConnect.session).toBe(sessionMock); + expect(walletConnect.signer).toBeInstanceOf(WalletConnectSigner); + }); + + it('should throw an error if approval is rejected', async () => { + clientMock.connect.mockResolvedValueOnce({ + uri: 'test-uri', + approval: jest.fn().mockRejectedValue(new Error('User rejected.')), + }); + + await expect(walletConnect.connect()).rejects.toThrow('User rejected.'); + }); + + it('should handle existing sessions and set session and signer if valid', async () => { + const validSession = { ...sessionMock, expiry: Math.floor(Date.now() / 1000) + 1000 }; + (clientMock.session.getAll as jest.Mock).mockReturnValue([validSession]); + + await walletConnect.connect(); + + expect(walletConnect.session).toBe(validSession); + expect(walletConnect.signer).toBeInstanceOf(WalletConnectSigner); + expect(clientMock.connect).not.toHaveBeenCalled(); + }); + + it('should handle optionalNamespaces if optionalChainIds are provided', async () => { + config.optionalChainIds = ['polkadot:optional-chain-id']; + walletConnect = new WalletConnect(config, 'TestApp'); + + await walletConnect.connect(); + + expect(clientMock.connect).toHaveBeenCalledWith({ + requiredNamespaces: { + polkadot: { + chains: [POLYMESH_CHAIN_ID], + methods: ['polkadot_signTransaction', 'polkadot_signMessage'], + events: ['chainChanged', 'accountsChanged'], + }, + }, + optionalNamespaces: { + polkadot: { + chains: ['polkadot:optional-chain-id'], + methods: ['polkadot_signTransaction', 'polkadot_signMessage'], + events: ['chainChanged', 'accountsChanged'], + }, + }, + }); + }); + + it('should merge modal options and open/close modal if handleConnectUri is not provided', async () => { + config.handleConnectUri = undefined; + walletConnect = new WalletConnect(config, 'TestApp'); + + const walletConnectModalMock = { + openModal: jest.fn(), + closeModal: jest.fn(), + }; + + jest.spyOn(SignClient, 'init').mockResolvedValue(clientMock); + jest.spyOn(SignClient, 'init').mockResolvedValue(clientMock); + jest.mock('@walletconnect/modal', () => ({ + WalletConnectModal: jest.fn().mockImplementation(() => walletConnectModalMock), + })); + + await walletConnect.connect(); + + expect(walletConnectModalMock.openModal).toHaveBeenCalledWith({ uri: 'test-uri' }); + expect(walletConnect.session).toBe(sessionMock); + expect(walletConnect.signer).toBeInstanceOf(WalletConnectSigner); + expect(walletConnectModalMock.closeModal).toHaveBeenCalled(); + }); + + it('should call onSessionDelete callback on session_delete event', async () => { + await walletConnect.connect(); + const sessionDeleteListener = clientMock.on.mock.calls.find( + ([event]) => event === 'session_delete' + )?.[1]; + + if (sessionDeleteListener) { + sessionDeleteListener({ + id: 123456, + topic: '0fad0dec80bf1226eb1646defde76536a86f0a06e604bd28f98c08c564b0e035', + }); + } + + expect(walletConnect.session).toBeUndefined(); + expect(walletConnect.signer).toBeUndefined(); + expect(config.onSessionDelete).toHaveBeenCalled(); + }); + }); + + describe('getAccounts', () => { + it('should return accounts from session', async () => { + walletConnect.session = sessionMock; + + const accounts = await walletConnect.getAccounts(); + + expect(accounts).toEqual([{ address: '5Ci1xTypyBSv1kN5kS5zzFbm1fcfyY6RCqNsDieeYhFjTtVj' }]); + }); + + it('should return empty array if no session', async () => { + const accounts = await walletConnect.getAccounts(); + + expect(accounts).toEqual([]); + }); + }); + + describe('subscribeAccounts', () => { + it('should call callback with accounts and handle session events', async () => { + await walletConnect.connect(); + + const cb = jest.fn(); + + const unsub = walletConnect.subscribeAccounts(cb); + + await new Promise(process.nextTick); + // Initial callback check + expect(cb).toHaveBeenCalledTimes(1); + expect(cb).toHaveBeenNthCalledWith(1, [ + { address: '5Ci1xTypyBSv1kN5kS5zzFbm1fcfyY6RCqNsDieeYhFjTtVj' }, + ]); + + // Simulate session_delete event + clientMock.on.mock.calls + .filter(([event]) => event === 'session_delete') + .forEach( + ([, listener]) => + listener && + listener({ + id: 123456, + topic: '0fad0dec80bf1226eb1646defde76536a86f0a06e604bd28f98c08c564b0e035', + }) + ); + + await new Promise(process.nextTick); + // Verify session deletion + expect(walletConnect.session).toBe(undefined); + expect(cb).toHaveBeenCalledTimes(2); + expect(cb).toHaveBeenNthCalledWith(2, []); + + const validSession = { ...sessionMock, expiry: Math.floor(Date.now() / 1000) + 1000 }; + (clientMock.session.getAll as jest.Mock).mockReturnValue([validSession]); + + // Simulate session_update event + clientMock.on.mock.calls + .filter(([event]) => event === 'session_update') + .forEach(([, listener]) => { + listener && listener(sessionMock); + }); + + await new Promise(process.nextTick); + + expect(cb).toHaveBeenCalledTimes(3); + expect(cb).toHaveBeenNthCalledWith(3, [ + { address: '5Ci1xTypyBSv1kN5kS5zzFbm1fcfyY6RCqNsDieeYhFjTtVj' }, + ]); + + unsub(); + + // Ensure event listeners are removed + expect(clientMock.off).toHaveBeenCalledWith('session_delete', expect.any(Function)); + expect(clientMock.off).toHaveBeenCalledWith('session_update', expect.any(Function)); + expect(clientMock.off).toHaveBeenCalledWith('session_expire', expect.any(Function)); + }); + }); + + describe('disconnect', () => { + it('should disconnect client and reset wallet', async () => { + walletConnect.client = clientMock; + walletConnect.session = sessionMock; + walletConnect.signer = new WalletConnectSigner(clientMock, sessionMock); + + await walletConnect.disconnect(); + + expect(walletConnect.client).toBeUndefined(); + expect(walletConnect.session).toBeUndefined(); + expect(walletConnect.signer).toBeUndefined(); + }); + + it('should reset the wallet even if there is no active session', async () => { + walletConnect.client = clientMock; + + await walletConnect.disconnect(); + + expect(walletConnect.client).toBeUndefined(); + expect(walletConnect.session).toBeUndefined(); + expect(walletConnect.signer).toBeUndefined(); + + // Ensure event listeners are removed + expect(clientMock.off).toHaveBeenCalledWith('session_delete', expect.any(Function)); + expect(clientMock.off).toHaveBeenCalledWith('session_update', expect.any(Function)); + expect(clientMock.off).toHaveBeenCalledWith('session_expire', expect.any(Function)); + expect(clientMock.off).toHaveBeenCalledWith('session_extend', expect.any(Function)); + }); + }); + + describe('isConnected', () => { + it('should return true if client, signer, and session are defined', () => { + walletConnect.client = clientMock; + walletConnect.session = sessionMock; + walletConnect.signer = new WalletConnectSigner(clientMock, sessionMock); + + expect(walletConnect.isConnected()).toBe(true); + }); + + it('should return false if any of client, signer, or session are undefined', () => { + expect(walletConnect.isConnected()).toBe(false); + }); + }); + + describe('handleSessionDeleteOrExpire', () => { + it('should clear session and signer and call onSessionDelete if provided', () => { + (walletConnect as any).handleSessionDeleteOrExpire(); + + expect(walletConnect.session).toBeUndefined(); + expect(walletConnect.signer).toBeUndefined(); + expect(walletConnect.config.onSessionDelete).toHaveBeenCalled(); + }); + }); + + describe('handleSessionChange', () => { + it('should update session and signer if client and session data are available', () => { + walletConnect = new WalletConnect(config, 'TestApp'); + walletConnect.client = clientMock; + const sessionData = { ...sessionMock, expiry: Math.floor(Date.now() / 1000) + 1000 }; + (clientMock.session.getAll as jest.Mock).mockReturnValueOnce([sessionData]); + (walletConnect as any).handleSessionChange(); + + expect(walletConnect.session).toEqual(sessionData); + // Ensure signer creation logic is properly tested in WalletConnectSigner tests + expect(walletConnect.signer?.session).toEqual(sessionData); + }); + + it('should not update session and signer if no session data is available', () => { + walletConnect.client = clientMock; + (clientMock.session.getAll as jest.Mock).mockReturnValueOnce([]); + (walletConnect as any).handleSessionChange(); + + expect(walletConnect.session).toBeUndefined(); + expect(walletConnect.signer).toBeUndefined(); + }); + }); +}); diff --git a/packages/walletconnect-signing-manager/src/lib/walletconnect/walletconnect.ts b/packages/walletconnect-signing-manager/src/lib/walletconnect/walletconnect.ts new file mode 100644 index 00000000..e4993b7a --- /dev/null +++ b/packages/walletconnect-signing-manager/src/lib/walletconnect/walletconnect.ts @@ -0,0 +1,253 @@ +import type { InjectedAccount } from '@polkadot/extension-inject/types'; +import type Client from '@walletconnect/sign-client'; +import { SignClient } from '@walletconnect/sign-client'; +import type { SessionTypes } from '@walletconnect/types'; + +import { WalletConnectSigner } from './signer'; +import type { + BaseWallet, + UnsubCallback, + WalletConnectConfiguration, + WalletConnectModalOptions, + WalletMetadata, + WcAccount, +} from './types.js'; + +/** + * Chain ID for Polymesh mainnet. + */ +export const POLYMESH_CHAIN_ID = 'polkadot:6fbd74e5e1d0a61d52ccfe9d4adaed16'; + +/** + * Wallet Connect version. + */ +export const WC_VERSION = '2.0'; + +/** + * Converts Wallet Connect account to a public key. + * @param wcAccount - Wallet Connect account. + * @returns public key. + */ +const wcAccountToKey = (wcAccount: WcAccount) => ({ address: wcAccount.split(':')[2] }); + +/** + * Represents a Wallet Connect wallet. + */ +export class WalletConnect implements BaseWallet { + appName: string; + config: WalletConnectConfiguration; + metadata: WalletMetadata; + client: Client | undefined; + session: SessionTypes.Struct | undefined; + signer: WalletConnectSigner | undefined; + + /** + * Creates an instance of WalletConnectWallet. + * @param config - Configuration for Wallet Connect. + * @param appName - Name of the application. + */ + public constructor(config: WalletConnectConfiguration, appName: string) { + if (!config.chainIds || config.chainIds.length === 0) config.chainIds = [POLYMESH_CHAIN_ID]; + this.config = config; + this.appName = appName; + this.metadata = { + id: 'walletconnect', + title: config.metadata?.name || 'WalletConnect', + description: config.metadata?.description || '', + urls: { main: config.metadata?.url || '' }, + iconUrl: config.metadata?.icons[0] || '', + version: WC_VERSION, + }; + } + + /** + * Resets the wallet. + */ + private reset(): void { + this.client = undefined; + this.session = undefined; + this.signer = undefined; + } + + /** + * Connects to WalletConnect. + * @returns Promise. + */ + public async connect(): Promise { + this.reset(); + + this.client = await SignClient.init(this.config); + + this.client.on('session_delete', this.handleSessionDeleteOrExpire.bind(this)); + this.client.on('session_expire', this.handleSessionDeleteOrExpire.bind(this)); + this.client.on('session_update', this.handleSessionChange.bind(this)); + this.client.on('session_extend', this.handleSessionChange.bind(this)); + + const sessions = this.client.session.getAll(); + const lastKeyIndex = sessions.length - 1; + const lastSession = sessions[lastKeyIndex]; + + if (lastSession && lastSession.expiry * 1000 > Date.now()) { + this.session = lastSession; + this.signer = new WalletConnectSigner(this.client, lastSession); + return; + } + + const optionalNamespaces = + this.config.optionalChainIds && this.config.optionalChainIds.length + ? { + polkadot: { + chains: this.config.optionalChainIds, + methods: ['polkadot_signTransaction', 'polkadot_signMessage'], + events: ['chainChanged', 'accountsChanged'], + }, + } + : undefined; + + const namespaces = { + requiredNamespaces: { + polkadot: { + chains: this.config.chainIds, + methods: ['polkadot_signTransaction', 'polkadot_signMessage'], + events: ['chainChanged', 'accountsChanged'], + }, + }, + optionalNamespaces, + }; + + const { uri, approval } = await this.client.connect(namespaces); + + if (uri) { + if (this.config.handleConnectUri) { + this.config.handleConnectUri(uri); + + this.session = await approval(); + this.signer = new WalletConnectSigner(this.client, this.session); + } else { + // eslint-disable-next-line @typescript-eslint/naming-convention + const { WalletConnectModal } = await import('@walletconnect/modal'); + const defaultModalOptions: WalletConnectModalOptions = { + enableExplorer: true, + explorerExcludedWalletIds: 'ALL', + explorerRecommendedWalletIds: [ + '43fd1a0aeb90df53ade012cca36692a46d265f0b99b7561e645af42d752edb92', // Nova Wallet + '9ce87712b99b3eb57396cc8621db8900ac983c712236f48fb70ad28760be3f6a', // SubWallet + ], + }; + const mergedModalOptions = { ...defaultModalOptions, ...this.config.modalOptions }; + const walletConnectModal = new WalletConnectModal({ + projectId: this.config.projectId, + chains: [...(this.config.chainIds ?? []), ...(this.config.optionalChainIds ?? [])], + ...mergedModalOptions, + }); + walletConnectModal.openModal({ uri }); + try { + this.session = await approval(); + this.signer = new WalletConnectSigner(this.client, this.session); + } finally { + walletConnectModal.closeModal(); + } + } + } + } + + /** + * Gets accounts from the current session. + * @returns Array of accounts. + */ + public async getAccounts(): Promise { + let accounts: InjectedAccount[] = []; + + if (this.session) { + const wcAccounts = Object.values(this.session.namespaces) + .map(namespace => namespace.accounts) + .flat(); + + accounts = wcAccounts.map(wcAccount => wcAccountToKey(wcAccount as WcAccount)); + } + return accounts; + } + + /** + * Subscribes to account changes. + * @param cb - Callback function. + * @returns Unsubscribe function. + */ + public subscribeAccounts(cb: (accounts: InjectedAccount[]) => void): UnsubCallback { + const handler = async () => { + cb(await this.getAccounts()); + }; + + handler(); + + this.client?.on('session_delete', handler); + this.client?.on('session_expire', handler); + this.client?.on('session_update', handler); + + return () => { + this.client?.off('session_delete', handler); + this.client?.off('session_expire', handler); + this.client?.off('session_update', handler); + }; + } + + /** + * Disconnects from Wallet Connect. + */ + public async disconnect(): Promise { + if (this.session?.topic) { + this.client?.disconnect({ + topic: this.session?.topic, + reason: { + code: -1, + message: 'Disconnected by client!', + }, + }); + } + + this.client?.off('session_delete', this.handleSessionDeleteOrExpire.bind(this)); + this.client?.off('session_expire', this.handleSessionDeleteOrExpire.bind(this)); + this.client?.off('session_update', this.handleSessionChange.bind(this)); + this.client?.off('session_extend', this.handleSessionChange.bind(this)); + + this.reset(); + } + + /** + * Checks if connected to Wallet Connect. + * @returns Boolean indicating connection status. + */ + public isConnected(): boolean { + return !!(this.client && this.signer && this.session); + } + + /** + * Handles session_delete event. + */ + private handleSessionDeleteOrExpire() { + this.session = undefined; + this.signer = undefined; + if (this.config.onSessionDelete) { + this.config.onSessionDelete(); + } + } + + /** + * Handles session_update and session_extend events. + */ + private handleSessionChange() { + if (this.client) { + const sessions = this.client.session.getAll(); + const lastKeyIndex = sessions.length - 1; + const lastSession = sessions[lastKeyIndex]; + + if (lastSession) { + this.session = lastSession; + this.signer = new WalletConnectSigner(this.client, lastSession); + } else { + this.session = undefined; + this.signer = undefined; + } + } + } +} diff --git a/packages/walletconnect-signing-manager/src/types/index.ts b/packages/walletconnect-signing-manager/src/types/index.ts new file mode 100644 index 00000000..fee0530f --- /dev/null +++ b/packages/walletconnect-signing-manager/src/types/index.ts @@ -0,0 +1,10 @@ +import type { WalletConnectConfiguration } from '../lib/walletconnect'; + +export type UnsubCallback = () => void; + +export interface CreateParams { + config: WalletConnectConfiguration; + appName: string; + ss58Format?: number; + genesisHash?: string; +} diff --git a/packages/walletconnect-signing-manager/src/utils/index.ts b/packages/walletconnect-signing-manager/src/utils/index.ts new file mode 100644 index 00000000..c55dd851 --- /dev/null +++ b/packages/walletconnect-signing-manager/src/utils/index.ts @@ -0,0 +1,23 @@ +import type { InjectedAccount, InjectedAccountWithMeta } from '@polkadot/extension-inject/types'; +import { decodeAddress, encodeAddress } from '@polkadot/util-crypto'; + +export function changeAddressFormat(address: string, ss58Format: number): string { + return encodeAddress(decodeAddress(address), ss58Format); +} + +/** + * Maps Array -> Array + */ +export function mapAccounts( + source: string, + list: InjectedAccount[], + ss58Format: number +): InjectedAccountWithMeta[] { + return list.map( + ({ address, genesisHash, name, type }): InjectedAccountWithMeta => ({ + address: changeAddressFormat(address, ss58Format), + meta: { genesisHash, name, source }, + type, + }) + ); +} diff --git a/packages/walletconnect-signing-manager/tsconfig.json b/packages/walletconnect-signing-manager/tsconfig.json new file mode 100644 index 00000000..e258886f --- /dev/null +++ b/packages/walletconnect-signing-manager/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "../../tsconfig.base.json", + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.lib.json" + }, + { + "path": "./tsconfig.spec.json" + } + ], + "compilerOptions": { + "forceConsistentCasingInFileNames": true, + "strict": true, + "noImplicitReturns": true, + "noFallthroughCasesInSwitch": true + } +} diff --git a/packages/walletconnect-signing-manager/tsconfig.lib.json b/packages/walletconnect-signing-manager/tsconfig.lib.json new file mode 100644 index 00000000..2ad6b016 --- /dev/null +++ b/packages/walletconnect-signing-manager/tsconfig.lib.json @@ -0,0 +1,11 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "module": "commonjs", + "outDir": "../../dist/out-tsc", + "declaration": true, + "types": ["node"] + }, + "exclude": ["**/*.spec.ts", "**/*.test.ts", "**/mocks.ts", "**/*.example.ts", "sandbox"], + "include": ["**/*.ts"] +} diff --git a/packages/walletconnect-signing-manager/tsconfig.spec.json b/packages/walletconnect-signing-manager/tsconfig.spec.json new file mode 100644 index 00000000..231c208d --- /dev/null +++ b/packages/walletconnect-signing-manager/tsconfig.spec.json @@ -0,0 +1,22 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc", + "module": "commonjs", + "types": ["jest", "node"], + "allowJs": true, + "esModuleInterop": true + }, + "include": [ + "**/*.test.ts", + "**/*.spec.ts", + "**/*.test.tsx", + "**/*.spec.tsx", + "**/*.test.js", + "**/*.spec.js", + "**/*.test.jsx", + "**/*.spec.jsx", + "**/*.d.ts", + "**/mocks.ts" + ] +} diff --git a/tsconfig.base.json b/tsconfig.base.json index 63b885de..bcfd0e8b 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -19,12 +19,17 @@ "@polymeshassociation/browser-extension-signing-manager": [ "packages/browser-extension-signing-manager/src" ], - "@polymeshassociation/fireblocks-signing-manager": ["packages/fireblocks-signing-manager/src"], + "@polymeshassociation/fireblocks-signing-manager": [ + "packages/fireblocks-signing-manager/src" + ], "@polymeshassociation/hashicorp-vault-signing-manager": [ "packages/hashicorp-vault-signing-manager/src" ], "@polymeshassociation/local-signing-manager": ["packages/local-signing-manager/src"], - "@polymeshassociation/signing-manager-types": ["packages/types/src"] + "@polymeshassociation/signing-manager-types": ["packages/types/src"], + "@polymeshassociation/walletconnect-signing-mananger": [ + "packages/walletconnect-signing-manager/src" + ] }, "esModuleInterop": true }, diff --git a/workspace.json b/workspace.json index d2d10b03..cafa59ec 100644 --- a/workspace.json +++ b/workspace.json @@ -6,6 +6,7 @@ "fireblocks-signing-manager": "packages/fireblocks-signing-manager", "hashicorp-vault-signing-manager": "packages/hashicorp-vault-signing-manager", "local-signing-manager": "packages/local-signing-manager", + "walletconnect-signing-manager": "packages/walletconnect-signing-manager", "types": "packages/types" } } diff --git a/yarn.lock b/yarn.lock index 65b3eb0a..2ec14828 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1907,6 +1907,87 @@ "@jridgewell/resolve-uri" "^3.0.3" "@jridgewell/sourcemap-codec" "^1.4.10" +"@lit-labs/ssr-dom-shim@^1.0.0", "@lit-labs/ssr-dom-shim@^1.1.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@lit-labs/ssr-dom-shim/-/ssr-dom-shim-1.2.0.tgz#353ce4a76c83fadec272ea5674ede767650762fd" + integrity sha512-yWJKmpGE6lUURKAaIltoPIE/wrbY3TEkqQt+X0m+7fQNnAv0keydnYvbiJFP1PnMhizmIWRWOG5KLhYyc/xl+g== + +"@lit/reactive-element@^1.3.0", "@lit/reactive-element@^1.6.0": + version "1.6.3" + resolved "https://registry.yarnpkg.com/@lit/reactive-element/-/reactive-element-1.6.3.tgz#25b4eece2592132845d303e091bad9b04cdcfe03" + integrity sha512-QuTgnG52Poic7uM1AN5yJ09QMe0O28e10XzSvWDz02TJiiKee4stsiownEIadWm8nYzyDAyT+gKzUoZmiWQtsQ== + dependencies: + "@lit-labs/ssr-dom-shim" "^1.0.0" + +"@motionone/animation@^10.15.1", "@motionone/animation@^10.17.0": + version "10.17.0" + resolved "https://registry.yarnpkg.com/@motionone/animation/-/animation-10.17.0.tgz#7633c6f684b5fee2b61c405881b8c24662c68fca" + integrity sha512-ANfIN9+iq1kGgsZxs+Nz96uiNcPLGTXwfNo2Xz/fcJXniPYpaz/Uyrfa+7I5BPLxCP82sh7quVDudf1GABqHbg== + dependencies: + "@motionone/easing" "^10.17.0" + "@motionone/types" "^10.17.0" + "@motionone/utils" "^10.17.0" + tslib "^2.3.1" + +"@motionone/dom@^10.16.2", "@motionone/dom@^10.16.4": + version "10.17.0" + resolved "https://registry.yarnpkg.com/@motionone/dom/-/dom-10.17.0.tgz#519dd78aab0750a94614c69a82da5290cd617383" + integrity sha512-cMm33swRlCX/qOPHWGbIlCl0K9Uwi6X5RiL8Ma6OrlJ/TP7Q+Np5GE4xcZkFptysFjMTi4zcZzpnNQGQ5D6M0Q== + dependencies: + "@motionone/animation" "^10.17.0" + "@motionone/generators" "^10.17.0" + "@motionone/types" "^10.17.0" + "@motionone/utils" "^10.17.0" + hey-listen "^1.0.8" + tslib "^2.3.1" + +"@motionone/easing@^10.17.0": + version "10.17.0" + resolved "https://registry.yarnpkg.com/@motionone/easing/-/easing-10.17.0.tgz#d66cecf7e3ee30104ad00389fb3f0b2282d81aa9" + integrity sha512-Bxe2wSuLu/qxqW4rBFS5m9tMLOw+QBh8v5A7Z5k4Ul4sTj5jAOfZG5R0bn5ywmk+Fs92Ij1feZ5pmC4TeXA8Tg== + dependencies: + "@motionone/utils" "^10.17.0" + tslib "^2.3.1" + +"@motionone/generators@^10.17.0": + version "10.17.0" + resolved "https://registry.yarnpkg.com/@motionone/generators/-/generators-10.17.0.tgz#878d292539c41434c13310d5f863a87a94e6e689" + integrity sha512-T6Uo5bDHrZWhIfxG/2Aut7qyWQyJIWehk6OB4qNvr/jwA/SRmixwbd7SOrxZi1z5rH3LIeFFBKK1xHnSbGPZSQ== + dependencies: + "@motionone/types" "^10.17.0" + "@motionone/utils" "^10.17.0" + tslib "^2.3.1" + +"@motionone/svelte@^10.16.2": + version "10.16.4" + resolved "https://registry.yarnpkg.com/@motionone/svelte/-/svelte-10.16.4.tgz#5daf117cf5b2576fc6dd487c5e0500938a742470" + integrity sha512-zRVqk20lD1xqe+yEDZhMYgftsuHc25+9JSo+r0a0OWUJFocjSV9D/+UGhX4xgJsuwB9acPzXLr20w40VnY2PQA== + dependencies: + "@motionone/dom" "^10.16.4" + tslib "^2.3.1" + +"@motionone/types@^10.15.1", "@motionone/types@^10.17.0": + version "10.17.0" + resolved "https://registry.yarnpkg.com/@motionone/types/-/types-10.17.0.tgz#179571ce98851bac78e19a1c3974767227f08ba3" + integrity sha512-EgeeqOZVdRUTEHq95Z3t8Rsirc7chN5xFAPMYFobx8TPubkEfRSm5xihmMUkbaR2ErKJTUw3347QDPTHIW12IA== + +"@motionone/utils@^10.15.1", "@motionone/utils@^10.17.0": + version "10.17.0" + resolved "https://registry.yarnpkg.com/@motionone/utils/-/utils-10.17.0.tgz#cc0ba8acdc6848ff48d8c1f2d0d3e7602f4f942e" + integrity sha512-bGwrki4896apMWIj9yp5rAS2m0xyhxblg6gTB/leWDPt+pb410W8lYWsxyurX+DH+gO1zsQsfx2su/c1/LtTpg== + dependencies: + "@motionone/types" "^10.17.0" + hey-listen "^1.0.8" + tslib "^2.3.1" + +"@motionone/vue@^10.16.2": + version "10.16.4" + resolved "https://registry.yarnpkg.com/@motionone/vue/-/vue-10.16.4.tgz#07d09e3aa5115ca0bcc0076cb9e5322775277c09" + integrity sha512-z10PF9JV6SbjFq+/rYabM+8CVlMokgl8RFGvieSGNTmrkQanfHn+15XBrhG3BgUfvmTeSeyShfOHpG0i9zEdcg== + dependencies: + "@motionone/dom" "^10.16.4" + tslib "^2.3.1" + "@ng-easy/builders@^5.2.0": version "5.2.0" resolved "https://registry.yarnpkg.com/@ng-easy/builders/-/builders-5.2.0.tgz#511f64c6238dc9b574b6ab2b19fafa600bfbc5c8" @@ -2414,6 +2495,75 @@ resolved "https://registry.yarnpkg.com/@open-wc/webpack-import-meta-loader/-/webpack-import-meta-loader-0.4.7.tgz#d8212640a386a66bf06a2a4c101936467839b5a1" integrity sha512-F3d1EHRckk2+ZpgEEAgVITp8BU9DYLBhKOhNMREeQ1BwILRIhrt+V1bebpnd0Mz595jzd7Yh1wSibLsXibkCpg== +"@parcel/watcher-android-arm64@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.4.1.tgz#c2c19a3c442313ff007d2d7a9c2c1dd3e1c9ca84" + integrity sha512-LOi/WTbbh3aTn2RYddrO8pnapixAziFl6SMxHM69r3tvdSm94JtCenaKgk1GRg5FJ5wpMCpHeW+7yqPlvZv7kg== + +"@parcel/watcher-darwin-arm64@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.4.1.tgz#c817c7a3b4f3a79c1535bfe54a1c2818d9ffdc34" + integrity sha512-ln41eihm5YXIY043vBrrHfn94SIBlqOWmoROhsMVTSXGh0QahKGy77tfEywQ7v3NywyxBBkGIfrWRHm0hsKtzA== + +"@parcel/watcher-darwin-x64@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@parcel/watcher-darwin-x64/-/watcher-darwin-x64-2.4.1.tgz#1a3f69d9323eae4f1c61a5f480a59c478d2cb020" + integrity sha512-yrw81BRLjjtHyDu7J61oPuSoeYWR3lDElcPGJyOvIXmor6DEo7/G2u1o7I38cwlcoBHQFULqF6nesIX3tsEXMg== + +"@parcel/watcher-freebsd-x64@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@parcel/watcher-freebsd-x64/-/watcher-freebsd-x64-2.4.1.tgz#0d67fef1609f90ba6a8a662bc76a55fc93706fc8" + integrity sha512-TJa3Pex/gX3CWIx/Co8k+ykNdDCLx+TuZj3f3h7eOjgpdKM+Mnix37RYsYU4LHhiYJz3DK5nFCCra81p6g050w== + +"@parcel/watcher-linux-arm-glibc@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-arm-glibc/-/watcher-linux-arm-glibc-2.4.1.tgz#ce5b340da5829b8e546bd00f752ae5292e1c702d" + integrity sha512-4rVYDlsMEYfa537BRXxJ5UF4ddNwnr2/1O4MHM5PjI9cvV2qymvhwZSFgXqbS8YoTk5i/JR0L0JDs69BUn45YA== + +"@parcel/watcher-linux-arm64-glibc@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-arm64-glibc/-/watcher-linux-arm64-glibc-2.4.1.tgz#6d7c00dde6d40608f9554e73998db11b2b1ff7c7" + integrity sha512-BJ7mH985OADVLpbrzCLgrJ3TOpiZggE9FMblfO65PlOCdG++xJpKUJ0Aol74ZUIYfb8WsRlUdgrZxKkz3zXWYA== + +"@parcel/watcher-linux-arm64-musl@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-arm64-musl/-/watcher-linux-arm64-musl-2.4.1.tgz#bd39bc71015f08a4a31a47cd89c236b9d6a7f635" + integrity sha512-p4Xb7JGq3MLgAfYhslU2SjoV9G0kI0Xry0kuxeG/41UfpjHGOhv7UoUDAz/jb1u2elbhazy4rRBL8PegPJFBhA== + +"@parcel/watcher-linux-x64-glibc@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-x64-glibc/-/watcher-linux-x64-glibc-2.4.1.tgz#0ce29966b082fb6cdd3de44f2f74057eef2c9e39" + integrity sha512-s9O3fByZ/2pyYDPoLM6zt92yu6P4E39a03zvO0qCHOTjxmt3GHRMLuRZEWhWLASTMSrrnVNWdVI/+pUElJBBBg== + +"@parcel/watcher-linux-x64-musl@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-x64-musl/-/watcher-linux-x64-musl-2.4.1.tgz#d2ebbf60e407170bb647cd6e447f4f2bab19ad16" + integrity sha512-L2nZTYR1myLNST0O632g0Dx9LyMNHrn6TOt76sYxWLdff3cB22/GZX2UPtJnaqQPdCRoszoY5rcOj4oMTtp5fQ== + +"@parcel/watcher-wasm@^2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@parcel/watcher-wasm/-/watcher-wasm-2.4.1.tgz#c4353e4fdb96ee14389856f7f6f6d21b7dcef9e1" + integrity sha512-/ZR0RxqxU/xxDGzbzosMjh4W6NdYFMqq2nvo2b8SLi7rsl/4jkL8S5stIikorNkdR50oVDvqb/3JT05WM+CRRA== + dependencies: + is-glob "^4.0.3" + micromatch "^4.0.5" + napi-wasm "^1.1.0" + +"@parcel/watcher-win32-arm64@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@parcel/watcher-win32-arm64/-/watcher-win32-arm64-2.4.1.tgz#eb4deef37e80f0b5e2f215dd6d7a6d40a85f8adc" + integrity sha512-Uq2BPp5GWhrq/lcuItCHoqxjULU1QYEcyjSO5jqqOK8RNFDBQnenMMx4gAl3v8GiWa59E9+uDM7yZ6LxwUIfRg== + +"@parcel/watcher-win32-ia32@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@parcel/watcher-win32-ia32/-/watcher-win32-ia32-2.4.1.tgz#94fbd4b497be39fd5c8c71ba05436927842c9df7" + integrity sha512-maNRit5QQV2kgHFSYwftmPBxiuK5u4DXjbXx7q6eKjq5dsLXZ4FJiVvlcw35QXzk0KrUecJmuVFbj4uV9oYrcw== + +"@parcel/watcher-win32-x64@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.4.1.tgz#4bf920912f67cae5f2d264f58df81abfea68dadf" + integrity sha512-+DvS92F9ezicfswqrvIRM2njcYJbd5mb9CUgtrHCHmvn7pPPa+nMDRu1o1bYYz/l5IB2NVGNJWiH7h1E58IF2A== + "@parcel/watcher@2.0.4": version "2.0.4" resolved "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.0.4.tgz" @@ -2422,6 +2572,29 @@ node-addon-api "^3.2.1" node-gyp-build "^4.3.0" +"@parcel/watcher@^2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@parcel/watcher/-/watcher-2.4.1.tgz#a50275151a1bb110879c6123589dba90c19f1bf8" + integrity sha512-HNjmfLQEVRZmHRET336f20H/8kOozUGwk7yajvsonjNxbj2wBTK1WsQuHkD5yYh9RxFGL2EyDHryOihOwUoKDA== + dependencies: + detect-libc "^1.0.3" + is-glob "^4.0.3" + micromatch "^4.0.5" + node-addon-api "^7.0.0" + optionalDependencies: + "@parcel/watcher-android-arm64" "2.4.1" + "@parcel/watcher-darwin-arm64" "2.4.1" + "@parcel/watcher-darwin-x64" "2.4.1" + "@parcel/watcher-freebsd-x64" "2.4.1" + "@parcel/watcher-linux-arm-glibc" "2.4.1" + "@parcel/watcher-linux-arm64-glibc" "2.4.1" + "@parcel/watcher-linux-arm64-musl" "2.4.1" + "@parcel/watcher-linux-x64-glibc" "2.4.1" + "@parcel/watcher-linux-x64-musl" "2.4.1" + "@parcel/watcher-win32-arm64" "2.4.1" + "@parcel/watcher-win32-ia32" "2.4.1" + "@parcel/watcher-win32-x64" "2.4.1" + "@phenomnomnominal/tsquery@4.1.1": version "4.1.1" resolved "https://registry.npmjs.org/@phenomnomnominal/tsquery/-/tsquery-4.1.1.tgz" @@ -2965,6 +3138,140 @@ dependencies: "@sinonjs/commons" "^1.7.0" +"@stablelib/aead@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/aead/-/aead-1.0.1.tgz#c4b1106df9c23d1b867eb9b276d8f42d5fc4c0c3" + integrity sha512-q39ik6sxGHewqtO0nP4BuSe3db5G1fEJE8ukvngS2gLkBXyy6E7pLubhbYgnkDFv6V8cWaxcE4Xn0t6LWcJkyg== + +"@stablelib/binary@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/binary/-/binary-1.0.1.tgz#c5900b94368baf00f811da5bdb1610963dfddf7f" + integrity sha512-ClJWvmL6UBM/wjkvv/7m5VP3GMr9t0osr4yVgLZsLCOz4hGN9gIAFEqnJ0TsSMAN+n840nf2cHZnA5/KFqHC7Q== + dependencies: + "@stablelib/int" "^1.0.1" + +"@stablelib/bytes@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/bytes/-/bytes-1.0.1.tgz#0f4aa7b03df3080b878c7dea927d01f42d6a20d8" + integrity sha512-Kre4Y4kdwuqL8BR2E9hV/R5sOrUj6NanZaZis0V6lX5yzqC3hBuVSDXUIBqQv/sCpmuWRiHLwqiT1pqqjuBXoQ== + +"@stablelib/chacha20poly1305@1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/chacha20poly1305/-/chacha20poly1305-1.0.1.tgz#de6b18e283a9cb9b7530d8767f99cde1fec4c2ee" + integrity sha512-MmViqnqHd1ymwjOQfghRKw2R/jMIGT3wySN7cthjXCBdO+qErNPUBnRzqNpnvIwg7JBCg3LdeCZZO4de/yEhVA== + dependencies: + "@stablelib/aead" "^1.0.1" + "@stablelib/binary" "^1.0.1" + "@stablelib/chacha" "^1.0.1" + "@stablelib/constant-time" "^1.0.1" + "@stablelib/poly1305" "^1.0.1" + "@stablelib/wipe" "^1.0.1" + +"@stablelib/chacha@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/chacha/-/chacha-1.0.1.tgz#deccfac95083e30600c3f92803a3a1a4fa761371" + integrity sha512-Pmlrswzr0pBzDofdFuVe1q7KdsHKhhU24e8gkEwnTGOmlC7PADzLVxGdn2PoNVBBabdg0l/IfLKg6sHAbTQugg== + dependencies: + "@stablelib/binary" "^1.0.1" + "@stablelib/wipe" "^1.0.1" + +"@stablelib/constant-time@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/constant-time/-/constant-time-1.0.1.tgz#bde361465e1cf7b9753061b77e376b0ca4c77e35" + integrity sha512-tNOs3uD0vSJcK6z1fvef4Y+buN7DXhzHDPqRLSXUel1UfqMB1PWNsnnAezrKfEwTLpN0cGH2p9NNjs6IqeD0eg== + +"@stablelib/ed25519@^1.0.2": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@stablelib/ed25519/-/ed25519-1.0.3.tgz#f8fdeb6f77114897c887bb6a3138d659d3f35996" + integrity sha512-puIMWaX9QlRsbhxfDc5i+mNPMY+0TmQEskunY1rZEBPi1acBCVQAhnsk/1Hk50DGPtVsZtAWQg4NHGlVaO9Hqg== + dependencies: + "@stablelib/random" "^1.0.2" + "@stablelib/sha512" "^1.0.1" + "@stablelib/wipe" "^1.0.1" + +"@stablelib/hash@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/hash/-/hash-1.0.1.tgz#3c944403ff2239fad8ebb9015e33e98444058bc5" + integrity sha512-eTPJc/stDkdtOcrNMZ6mcMK1e6yBbqRBaNW55XA1jU8w/7QdnCF0CmMmOD1m7VSkBR44PWrMHU2l6r8YEQHMgg== + +"@stablelib/hkdf@1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/hkdf/-/hkdf-1.0.1.tgz#b4efd47fd56fb43c6a13e8775a54b354f028d98d" + integrity sha512-SBEHYE16ZXlHuaW5RcGk533YlBj4grMeg5TooN80W3NpcHRtLZLLXvKyX0qcRFxf+BGDobJLnwkvgEwHIDBR6g== + dependencies: + "@stablelib/hash" "^1.0.1" + "@stablelib/hmac" "^1.0.1" + "@stablelib/wipe" "^1.0.1" + +"@stablelib/hmac@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/hmac/-/hmac-1.0.1.tgz#3d4c1b8cf194cb05d28155f0eed8a299620a07ec" + integrity sha512-V2APD9NSnhVpV/QMYgCVMIYKiYG6LSqw1S65wxVoirhU/51ACio6D4yDVSwMzuTJXWZoVHbDdINioBwKy5kVmA== + dependencies: + "@stablelib/constant-time" "^1.0.1" + "@stablelib/hash" "^1.0.1" + "@stablelib/wipe" "^1.0.1" + +"@stablelib/int@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/int/-/int-1.0.1.tgz#75928cc25d59d73d75ae361f02128588c15fd008" + integrity sha512-byr69X/sDtDiIjIV6m4roLVWnNNlRGzsvxw+agj8CIEazqWGOQp2dTYgQhtyVXV9wpO6WyXRQUzLV/JRNumT2w== + +"@stablelib/keyagreement@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/keyagreement/-/keyagreement-1.0.1.tgz#4612efb0a30989deb437cd352cee637ca41fc50f" + integrity sha512-VKL6xBwgJnI6l1jKrBAfn265cspaWBPAPEc62VBQrWHLqVgNRE09gQ/AnOEyKUWrrqfD+xSQ3u42gJjLDdMDQg== + dependencies: + "@stablelib/bytes" "^1.0.1" + +"@stablelib/poly1305@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/poly1305/-/poly1305-1.0.1.tgz#93bfb836c9384685d33d70080718deae4ddef1dc" + integrity sha512-1HlG3oTSuQDOhSnLwJRKeTRSAdFNVB/1djy2ZbS35rBSJ/PFqx9cf9qatinWghC2UbfOYD8AcrtbUQl8WoxabA== + dependencies: + "@stablelib/constant-time" "^1.0.1" + "@stablelib/wipe" "^1.0.1" + +"@stablelib/random@1.0.2", "@stablelib/random@^1.0.1", "@stablelib/random@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@stablelib/random/-/random-1.0.2.tgz#2dece393636489bf7e19c51229dd7900eddf742c" + integrity sha512-rIsE83Xpb7clHPVRlBj8qNe5L8ISQOzjghYQm/dZ7VaM2KHYwMW5adjQjrzTZCchFnNCNhkwtnOBa9HTMJCI8w== + dependencies: + "@stablelib/binary" "^1.0.1" + "@stablelib/wipe" "^1.0.1" + +"@stablelib/sha256@1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/sha256/-/sha256-1.0.1.tgz#77b6675b67f9b0ea081d2e31bda4866297a3ae4f" + integrity sha512-GIIH3e6KH+91FqGV42Kcj71Uefd/QEe7Dy42sBTeqppXV95ggCcxLTk39bEr+lZfJmp+ghsR07J++ORkRELsBQ== + dependencies: + "@stablelib/binary" "^1.0.1" + "@stablelib/hash" "^1.0.1" + "@stablelib/wipe" "^1.0.1" + +"@stablelib/sha512@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/sha512/-/sha512-1.0.1.tgz#6da700c901c2c0ceacbd3ae122a38ac57c72145f" + integrity sha512-13gl/iawHV9zvDKciLo1fQ8Bgn2Pvf7OV6amaRVKiq3pjQ3UmEpXxWiAfV8tYjUpeZroBxtyrwtdooQT/i3hzw== + dependencies: + "@stablelib/binary" "^1.0.1" + "@stablelib/hash" "^1.0.1" + "@stablelib/wipe" "^1.0.1" + +"@stablelib/wipe@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/wipe/-/wipe-1.0.1.tgz#d21401f1d59ade56a62e139462a97f104ed19a36" + integrity sha512-WfqfX/eXGiAd3RJe4VU2snh/ZPwtSjLG4ynQ/vYzvghTh7dHFcI1wl+nrkWG6lGhukOxOsUHfv8dUXr58D0ayg== + +"@stablelib/x25519@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@stablelib/x25519/-/x25519-1.0.3.tgz#13c8174f774ea9f3e5e42213cbf9fc68a3c7b7fd" + integrity sha512-KnTbKmUhPhHavzobclVJQG5kuivH+qDLpe84iRqX3CLrKp881cF160JvXJ+hjn1aMyCwYOKeIZefIH/P5cJoRw== + dependencies: + "@stablelib/keyagreement" "^1.0.1" + "@stablelib/random" "^1.0.2" + "@stablelib/wipe" "^1.0.1" + "@substrate/connect-extension-protocol@^2.0.0": version "2.0.0" resolved "https://registry.yarnpkg.com/@substrate/connect-extension-protocol/-/connect-extension-protocol-2.0.0.tgz#badaa6e6b5f7c7d56987d778f4944ddb83cd9ea7" @@ -3407,6 +3714,11 @@ resolved "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.1.tgz" integrity sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw== +"@types/trusted-types@^2.0.2": + version "2.0.7" + resolved "https://registry.yarnpkg.com/@types/trusted-types/-/trusted-types-2.0.7.tgz#baccb07a970b91707df3a3e8ba6896c57ead2d11" + integrity sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw== + "@types/ws@^8.2.2": version "8.2.2" resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.2.2.tgz#7c5be4decb19500ae6b3d563043cd407bf366c21" @@ -3513,6 +3825,226 @@ "@typescript-eslint/types" "5.10.2" eslint-visitor-keys "^3.0.0" +"@walletconnect/core@2.13.0": + version "2.13.0" + resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.13.0.tgz#6b79b039930643e8ee85a0f512b143a35fdb8b52" + integrity sha512-blDuZxQenjeXcVJvHxPznTNl6c/2DO4VNrFnus+qHmO6OtT5lZRowdMtlCaCNb1q0OxzgrmBDcTOCbFcCpio/g== + dependencies: + "@walletconnect/heartbeat" "1.2.2" + "@walletconnect/jsonrpc-provider" "1.0.14" + "@walletconnect/jsonrpc-types" "1.0.4" + "@walletconnect/jsonrpc-utils" "1.0.8" + "@walletconnect/jsonrpc-ws-connection" "1.0.14" + "@walletconnect/keyvaluestorage" "1.1.1" + "@walletconnect/logger" "2.1.2" + "@walletconnect/relay-api" "1.0.10" + "@walletconnect/relay-auth" "1.0.4" + "@walletconnect/safe-json" "1.0.2" + "@walletconnect/time" "1.0.2" + "@walletconnect/types" "2.13.0" + "@walletconnect/utils" "2.13.0" + events "3.3.0" + isomorphic-unfetch "3.1.0" + lodash.isequal "4.5.0" + uint8arrays "3.1.0" + +"@walletconnect/environment@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@walletconnect/environment/-/environment-1.0.1.tgz#1d7f82f0009ab821a2ba5ad5e5a7b8ae3b214cd7" + integrity sha512-T426LLZtHj8e8rYnKfzsw1aG6+M0BT1ZxayMdv/p8yM0MU+eJDISqNY3/bccxRr4LrF9csq02Rhqt08Ibl0VRg== + dependencies: + tslib "1.14.1" + +"@walletconnect/events@1.0.1", "@walletconnect/events@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@walletconnect/events/-/events-1.0.1.tgz#2b5f9c7202019e229d7ccae1369a9e86bda7816c" + integrity sha512-NPTqaoi0oPBVNuLv7qPaJazmGHs5JGyO8eEAk5VGKmJzDR7AHzD4k6ilox5kxk1iwiOnFopBOOMLs86Oa76HpQ== + dependencies: + keyvaluestorage-interface "^1.0.0" + tslib "1.14.1" + +"@walletconnect/heartbeat@1.2.2": + version "1.2.2" + resolved "https://registry.yarnpkg.com/@walletconnect/heartbeat/-/heartbeat-1.2.2.tgz#e8dc5179db7769950c6f9cf59b23516d9b95227d" + integrity sha512-uASiRmC5MwhuRuf05vq4AT48Pq8RMi876zV8rr8cV969uTOzWdB/k+Lj5yI2PBtB1bGQisGen7MM1GcZlQTBXw== + dependencies: + "@walletconnect/events" "^1.0.1" + "@walletconnect/time" "^1.0.2" + events "^3.3.0" + +"@walletconnect/jsonrpc-provider@1.0.14": + version "1.0.14" + resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-provider/-/jsonrpc-provider-1.0.14.tgz#696f3e3b6d728b361f2e8b853cfc6afbdf2e4e3e" + integrity sha512-rtsNY1XqHvWj0EtITNeuf8PHMvlCLiS3EjQL+WOkxEOA4KPxsohFnBDeyPYiNm4ZvkQdLnece36opYidmtbmow== + dependencies: + "@walletconnect/jsonrpc-utils" "^1.0.8" + "@walletconnect/safe-json" "^1.0.2" + events "^3.3.0" + +"@walletconnect/jsonrpc-types@1.0.4", "@walletconnect/jsonrpc-types@^1.0.2", "@walletconnect/jsonrpc-types@^1.0.3": + version "1.0.4" + resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.4.tgz#ce1a667d79eadf2a2d9d002c152ceb68739c230c" + integrity sha512-P6679fG/M+wuWg9TY8mh6xFSdYnFyFjwFelxyISxMDrlbXokorEVXYOxiqEbrU3x1BmBoCAJJ+vtEaEoMlpCBQ== + dependencies: + events "^3.3.0" + keyvaluestorage-interface "^1.0.0" + +"@walletconnect/jsonrpc-utils@1.0.8", "@walletconnect/jsonrpc-utils@^1.0.6", "@walletconnect/jsonrpc-utils@^1.0.8": + version "1.0.8" + resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.8.tgz#82d0cc6a5d6ff0ecc277cb35f71402c91ad48d72" + integrity sha512-vdeb03bD8VzJUL6ZtzRYsFMq1eZQcM3EAzT0a3st59dyLfJ0wq+tKMpmGH7HlB7waD858UWgfIcudbPFsbzVdw== + dependencies: + "@walletconnect/environment" "^1.0.1" + "@walletconnect/jsonrpc-types" "^1.0.3" + tslib "1.14.1" + +"@walletconnect/jsonrpc-ws-connection@1.0.14": + version "1.0.14" + resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-ws-connection/-/jsonrpc-ws-connection-1.0.14.tgz#eec700e74766c7887de2bd76c91a0206628732aa" + integrity sha512-Jsl6fC55AYcbkNVkwNM6Jo+ufsuCQRqViOQ8ZBPH9pRREHH9welbBiszuTLqEJiQcO/6XfFDl6bzCJIkrEi8XA== + dependencies: + "@walletconnect/jsonrpc-utils" "^1.0.6" + "@walletconnect/safe-json" "^1.0.2" + events "^3.3.0" + ws "^7.5.1" + +"@walletconnect/keyvaluestorage@1.1.1": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@walletconnect/keyvaluestorage/-/keyvaluestorage-1.1.1.tgz#dd2caddabfbaf80f6b8993a0704d8b83115a1842" + integrity sha512-V7ZQq2+mSxAq7MrRqDxanTzu2RcElfK1PfNYiaVnJgJ7Q7G7hTVwF8voIBx92qsRyGHZihrwNPHuZd1aKkd0rA== + dependencies: + "@walletconnect/safe-json" "^1.0.1" + idb-keyval "^6.2.1" + unstorage "^1.9.0" + +"@walletconnect/logger@2.1.2": + version "2.1.2" + resolved "https://registry.yarnpkg.com/@walletconnect/logger/-/logger-2.1.2.tgz#813c9af61b96323a99f16c10089bfeb525e2a272" + integrity sha512-aAb28I3S6pYXZHQm5ESB+V6rDqIYfsnHaQyzFbwUUBFY4H0OXx/YtTl8lvhUNhMMfb9UxbwEBS253TlXUYJWSw== + dependencies: + "@walletconnect/safe-json" "^1.0.2" + pino "7.11.0" + +"@walletconnect/modal-core@2.6.2": + version "2.6.2" + resolved "https://registry.yarnpkg.com/@walletconnect/modal-core/-/modal-core-2.6.2.tgz#d73e45d96668764e0c8668ea07a45bb8b81119e9" + integrity sha512-cv8ibvdOJQv2B+nyxP9IIFdxvQznMz8OOr/oR/AaUZym4hjXNL/l1a2UlSQBXrVjo3xxbouMxLb3kBsHoYP2CA== + dependencies: + valtio "1.11.2" + +"@walletconnect/modal-ui@2.6.2": + version "2.6.2" + resolved "https://registry.yarnpkg.com/@walletconnect/modal-ui/-/modal-ui-2.6.2.tgz#fa57c087c57b7f76aaae93deab0f84bb68b59cf9" + integrity sha512-rbdstM1HPGvr7jprQkyPggX7rP4XiCG85ZA+zWBEX0dVQg8PpAgRUqpeub4xQKDgY7pY/xLRXSiCVdWGqvG2HA== + dependencies: + "@walletconnect/modal-core" "2.6.2" + lit "2.8.0" + motion "10.16.2" + qrcode "1.5.3" + +"@walletconnect/modal@^2.6.2": + version "2.6.2" + resolved "https://registry.yarnpkg.com/@walletconnect/modal/-/modal-2.6.2.tgz#4b534a836f5039eeb3268b80be7217a94dd12651" + integrity sha512-eFopgKi8AjKf/0U4SemvcYw9zlLpx9njVN8sf6DAkowC2Md0gPU/UNEbH1Wwj407pEKnEds98pKWib1NN1ACoA== + dependencies: + "@walletconnect/modal-core" "2.6.2" + "@walletconnect/modal-ui" "2.6.2" + +"@walletconnect/relay-api@1.0.10": + version "1.0.10" + resolved "https://registry.yarnpkg.com/@walletconnect/relay-api/-/relay-api-1.0.10.tgz#5aef3cd07c21582b968136179aa75849dcc65499" + integrity sha512-tqrdd4zU9VBNqUaXXQASaexklv6A54yEyQQEXYOCr+Jz8Ket0dmPBDyg19LVSNUN2cipAghQc45/KVmfFJ0cYw== + dependencies: + "@walletconnect/jsonrpc-types" "^1.0.2" + +"@walletconnect/relay-auth@1.0.4": + version "1.0.4" + resolved "https://registry.yarnpkg.com/@walletconnect/relay-auth/-/relay-auth-1.0.4.tgz#0b5c55c9aa3b0ef61f526ce679f3ff8a5c4c2c7c" + integrity sha512-kKJcS6+WxYq5kshpPaxGHdwf5y98ZwbfuS4EE/NkQzqrDFm5Cj+dP8LofzWvjrrLkZq7Afy7WrQMXdLy8Sx7HQ== + dependencies: + "@stablelib/ed25519" "^1.0.2" + "@stablelib/random" "^1.0.1" + "@walletconnect/safe-json" "^1.0.1" + "@walletconnect/time" "^1.0.2" + tslib "1.14.1" + uint8arrays "^3.0.0" + +"@walletconnect/safe-json@1.0.2", "@walletconnect/safe-json@^1.0.1", "@walletconnect/safe-json@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@walletconnect/safe-json/-/safe-json-1.0.2.tgz#7237e5ca48046e4476154e503c6d3c914126fa77" + integrity sha512-Ogb7I27kZ3LPC3ibn8ldyUr5544t3/STow9+lzz7Sfo808YD7SBWk7SAsdBFlYgP2zDRy2hS3sKRcuSRM0OTmA== + dependencies: + tslib "1.14.1" + +"@walletconnect/sign-client@2.13.0": + version "2.13.0" + resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.13.0.tgz#f59993f082aec1ca5498b9519027e764c1e6d28b" + integrity sha512-En7KSvNUlQFx20IsYGsFgkNJ2lpvDvRsSFOT5PTdGskwCkUfOpB33SQJ6nCrN19gyoKPNvWg80Cy6MJI0TjNYA== + dependencies: + "@walletconnect/core" "2.13.0" + "@walletconnect/events" "1.0.1" + "@walletconnect/heartbeat" "1.2.2" + "@walletconnect/jsonrpc-utils" "1.0.8" + "@walletconnect/logger" "2.1.2" + "@walletconnect/time" "1.0.2" + "@walletconnect/types" "2.13.0" + "@walletconnect/utils" "2.13.0" + events "3.3.0" + +"@walletconnect/time@1.0.2", "@walletconnect/time@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@walletconnect/time/-/time-1.0.2.tgz#6c5888b835750ecb4299d28eecc5e72c6d336523" + integrity sha512-uzdd9woDcJ1AaBZRhqy5rNC9laqWGErfc4dxA9a87mPdKOgWMD85mcFo9dIYIts/Jwocfwn07EC6EzclKubk/g== + dependencies: + tslib "1.14.1" + +"@walletconnect/types@2.13.0": + version "2.13.0" + resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.13.0.tgz#cdac083651f5897084fe9ed62779f11810335ac6" + integrity sha512-MWaVT0FkZwzYbD3tvk8F+2qpPlz1LUSWHuqbINUtMXnSzJtXN49Y99fR7FuBhNFtDalfuWsEK17GrNA+KnAsPQ== + dependencies: + "@walletconnect/events" "1.0.1" + "@walletconnect/heartbeat" "1.2.2" + "@walletconnect/jsonrpc-types" "1.0.4" + "@walletconnect/keyvaluestorage" "1.1.1" + "@walletconnect/logger" "2.1.2" + events "3.3.0" + +"@walletconnect/utils@2.13.0": + version "2.13.0" + resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.13.0.tgz#1fc1fbff0d26db0830e65d1ba8cfe1a13a0616ad" + integrity sha512-q1eDCsRHj5iLe7fF8RroGoPZpdo2CYMZzQSrw1iqL+2+GOeqapxxuJ1vaJkmDUkwgklfB22ufqG6KQnz78sD4w== + dependencies: + "@stablelib/chacha20poly1305" "1.0.1" + "@stablelib/hkdf" "1.0.1" + "@stablelib/random" "1.0.2" + "@stablelib/sha256" "1.0.1" + "@stablelib/x25519" "1.0.3" + "@walletconnect/relay-api" "1.0.10" + "@walletconnect/safe-json" "1.0.2" + "@walletconnect/time" "1.0.2" + "@walletconnect/types" "2.13.0" + "@walletconnect/window-getters" "1.0.1" + "@walletconnect/window-metadata" "1.0.1" + detect-browser "5.3.0" + query-string "7.1.3" + uint8arrays "3.1.0" + +"@walletconnect/window-getters@1.0.1", "@walletconnect/window-getters@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@walletconnect/window-getters/-/window-getters-1.0.1.tgz#f36d1c72558a7f6b87ecc4451fc8bd44f63cbbdc" + integrity sha512-vHp+HqzGxORPAN8gY03qnbTMnhqIwjeRJNOMOAzePRg4xVEEE2WvYsI9G2NMjOknA8hnuYbU3/hwLcKbjhc8+Q== + dependencies: + tslib "1.14.1" + +"@walletconnect/window-metadata@1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@walletconnect/window-metadata/-/window-metadata-1.0.1.tgz#2124f75447b7e989e4e4e1581d55d25bc75f7be5" + integrity sha512-9koTqyGrM2cqFRW517BPY/iEtUDx2r1+Pwwu5m7sJ7ka79wi3EyqhqcICk/yDmv6jAS1rjKgTKXlEhanYjijcA== + dependencies: + "@walletconnect/window-getters" "^1.0.1" + tslib "1.14.1" + "@webassemblyjs/ast@1.11.1": version "1.11.1" resolved "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.1.tgz" @@ -3703,6 +4235,11 @@ acorn@^7.1.1: resolved "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz" integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== +acorn@^8.11.3: + version "8.11.3" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.11.3.tgz#71e0b14e13a4ec160724b38fb7b0f233b1b81d7a" + integrity sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg== + acorn@^8.2.4, acorn@^8.4.1, acorn@^8.5.0, acorn@^8.7.0: version "8.7.0" resolved "https://registry.npmjs.org/acorn/-/acorn-8.7.0.tgz" @@ -3890,6 +4427,14 @@ anymatch@^3.0.3, anymatch@~3.1.2: normalize-path "^3.0.0" picomatch "^2.0.4" +anymatch@^3.1.3: + version "3.1.3" + resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e" + integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw== + dependencies: + normalize-path "^3.0.0" + picomatch "^2.0.4" + aproba@^1.0.3: version "1.2.0" resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" @@ -4054,6 +4599,11 @@ atob@^2.1.2: resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9" integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg== +atomic-sleep@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/atomic-sleep/-/atomic-sleep-1.0.0.tgz#eb85b77a601fc932cfe432c5acd364a9e2c9075b" + integrity sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ== + autoprefixer@^10.4.2: version "10.4.2" resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.4.2.tgz#25e1df09a31a9fba5c40b578936b90d35c9d4d3b" @@ -4392,7 +4942,7 @@ brace-expansion@^2.0.1: dependencies: balanced-match "^1.0.0" -braces@^3.0.1, braces@~3.0.2: +braces@^3.0.1, braces@^3.0.2, braces@~3.0.2: version "3.0.2" resolved "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz" integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== @@ -4806,6 +5356,21 @@ cheerio@^1.0.0-rc.10: optionalDependencies: fsevents "~2.3.2" +chokidar@^3.6.0: + version "3.6.0" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.6.0.tgz#197c6cc669ef2a8dc5e7b4d97ee4e092c3eb0d5b" + integrity sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw== + dependencies: + anymatch "~3.1.2" + braces "~3.0.2" + glob-parent "~5.1.2" + is-binary-path "~2.1.0" + is-glob "~4.0.1" + normalize-path "~3.0.0" + readdirp "~3.6.0" + optionalDependencies: + fsevents "~2.3.2" + chownr@^1.1.1: version "1.1.4" resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b" @@ -4846,6 +5411,13 @@ circular-dependency-plugin@5.2.2: resolved "https://registry.yarnpkg.com/circular-dependency-plugin/-/circular-dependency-plugin-5.2.2.tgz#39e836079db1d3cf2f988dc48c5188a44058b600" integrity sha512-g38K9Cm5WRwlaH6g03B9OEz/0qRizI+2I7n+Gz+L5DxXJAPAiWQvwlYNm1V1jkdpUv95bOe/ASm2vfi/G560jQ== +citty@^0.1.5, citty@^0.1.6: + version "0.1.6" + resolved "https://registry.yarnpkg.com/citty/-/citty-0.1.6.tgz#0f7904da1ed4625e1a9ea7e0fa780981aab7c5e4" + integrity sha512-tskPPKEs8D2KPafUypv2gxwJP8h/OaJmC82QQGGDQcHvXX43xF2VDACcJVmZ0EuSxkpO9Kc4MlrA3q0+FG58AQ== + dependencies: + consola "^3.2.3" + cjs-module-lexer@^1.0.0: version "1.2.2" resolved "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.2.2.tgz" @@ -4925,6 +5497,15 @@ cli-width@^3.0.0: resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-3.0.0.tgz#a2f48437a2caa9a22436e794bf071ec9e61cedf6" integrity sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw== +clipboardy@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/clipboardy/-/clipboardy-4.0.0.tgz#e73ced93a76d19dd379ebf1f297565426dffdca1" + integrity sha512-5mOlNS0mhX0707P2I0aZ2V/cmHUEO/fL7VFLqszkhUsxt7RwnmrInf/eEQKlf5GzvYeHIjT+Ov1HRfNmymlG0w== + dependencies: + execa "^8.0.1" + is-wsl "^3.1.0" + is64bit "^2.0.0" + cliui@^6.0.0: version "6.0.0" resolved "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz" @@ -5145,6 +5726,11 @@ concat-map@0.0.1: resolved "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz" integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= +confbox@^0.1.7: + version "0.1.7" + resolved "https://registry.yarnpkg.com/confbox/-/confbox-0.1.7.tgz#ccfc0a2bcae36a84838e83a3b7f770fb17d6c579" + integrity sha512-uJcB/FKZtBMCJpK8MQji6bJHgu1tixKPxRLeGkNzBoOZzpnZUJm0jm2/sBDWcuBx1dYgxV4JU+g5hmNxCyAmdA== + config-chain@^1.1.11: version "1.1.13" resolved "https://registry.yarnpkg.com/config-chain/-/config-chain-1.1.13.tgz#fad0795aa6a6cdaff9ed1b68e9dff94372c232f4" @@ -5163,6 +5749,11 @@ connect-history-api-fallback@^1.6.0: resolved "https://registry.yarnpkg.com/connect-history-api-fallback/-/connect-history-api-fallback-1.6.0.tgz#8b32089359308d111115d81cad3fceab888f97bc" integrity sha512-e54B99q/OUoH64zYYRf3HBP5z24G38h5D3qXu23JGRoigpX5Ss4r9ZnDk3g0Z8uQC2x2lPaJ+UlWBc1ZWBWdLg== +consola@^3.2.3: + version "3.2.3" + resolved "https://registry.yarnpkg.com/consola/-/consola-3.2.3.tgz#0741857aa88cfa0d6fd53f1cff0375136e98502f" + integrity sha512-I5qxpzLv+sJhTVEoLYNcTW+bThDCPsit0vLNKShZx6rLtpilNpmmeTPaeqJb9ZE9dV3DGaeby6Vuhrw38WjeyQ== + console-browserify@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/console-browserify/-/console-browserify-1.2.0.tgz#67063cef57ceb6cf4993a2ab3a55840ae8c49336" @@ -5263,6 +5854,11 @@ convert-source-map@^1.4.0, convert-source-map@^1.5.1, convert-source-map@^1.6.0, dependencies: safe-buffer "~5.1.1" +cookie-es@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/cookie-es/-/cookie-es-1.1.0.tgz#68f8d9f48aeb5a534f3896f80e792760d3d20def" + integrity sha512-L2rLOcK0wzWSfSDA33YR+PUHDG10a8px7rUHKWbGLP4YfbsMed2KFUw5fczvDPbT98DDe3LEzviswl810apTEw== + cookie-signature@1.0.6: version "1.0.6" resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" @@ -5446,6 +6042,11 @@ cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3: shebang-command "^2.0.0" which "^2.0.1" +crossws@^0.2.0, crossws@^0.2.2: + version "0.2.4" + resolved "https://registry.yarnpkg.com/crossws/-/crossws-0.2.4.tgz#82a8b518bff1018ab1d21ced9e35ffbe1681ad03" + integrity sha512-DAxroI2uSOgUKLz00NX6A8U/8EE3SZHmIND+10jkVSaypvyt57J5JEOxAQOL6lQxyzi/wZbTIwssU1uy69h5Vg== + crypto-browserify@^3.12.0: version "3.12.0" resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.12.0.tgz#396cf9f3137f03e4b8e532c58f698254e00f80ec" @@ -5806,6 +6407,11 @@ define-properties@^1.1.3: dependencies: object-keys "^1.0.12" +defu@^6.1.3, defu@^6.1.4: + version "6.1.4" + resolved "https://registry.yarnpkg.com/defu/-/defu-6.1.4.tgz#4e0c9cf9ff68fe5f3d7f2765cc1a012dfdcb0479" + integrity sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg== + del@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/del/-/del-6.0.0.tgz#0b40d0332cea743f1614f818be4feb717714c952" @@ -5853,11 +6459,21 @@ des.js@^1.0.0: inherits "^2.0.1" minimalistic-assert "^1.0.0" +destr@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/destr/-/destr-2.0.3.tgz#7f9e97cb3d16dbdca7be52aca1644ce402cfe449" + integrity sha512-2N3BOUU4gYMpTP24s5rF5iP7BDr7uNTCs4ozw3kf/eKfvWSIu93GEBi5m427YoyJoeOzQ5smuu4nNAPGb8idSQ== + destroy@~1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80" integrity sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA= +detect-browser@5.3.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/detect-browser/-/detect-browser-5.3.0.tgz#9705ef2bddf46072d0f7265a1fe300e36fe7ceca" + integrity sha512-53rsFbGdwMwlF7qvCt0ypLM5V5/Mbl0szB7GPN8y9NCcbknYOeVVXdrXEq+90IwAfrrzt6Hd+u2E2ntakICU8w== + detect-file@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz" @@ -5868,6 +6484,11 @@ detect-indent@6.0.0: resolved "https://registry.npmjs.org/detect-indent/-/detect-indent-6.0.0.tgz" integrity sha512-oSyFlqaTHCItVRGK5RmrmjB+CmaMOW7IaNA/kdxqhoa6d17j/5ce9O9eWXmV/KEdRwqpQA+Vqe8a8Bsybu4YnA== +detect-libc@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b" + integrity sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg== + detect-libc@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-2.0.1.tgz#e1897aa88fa6ad197862937fbc0441ef352ee0cd" @@ -5915,6 +6536,11 @@ diffie-hellman@^5.0.0: miller-rabin "^4.0.0" randombytes "^2.0.0" +dijkstrajs@^1.0.1: + version "1.0.3" + resolved "https://registry.yarnpkg.com/dijkstrajs/-/dijkstrajs-1.0.3.tgz#4c8dbdea1f0f6478bff94d9c49c784d623e4fc23" + integrity sha512-qiSlmBq9+BCdCA/L46dw8Uy93mloxsPSbwnm5yrKn2vMPiy8KyAskTF6zuV/j5BMsmOGZDPs7KjU+mjb670kfA== + dir-glob@^3.0.0, dir-glob@^3.0.1: version "3.0.1" resolved "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz" @@ -6070,6 +6696,16 @@ duplexer3@^0.1.4: resolved "https://registry.yarnpkg.com/duplexer3/-/duplexer3-0.1.4.tgz#ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2" integrity sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI= +duplexify@^4.1.2: + version "4.1.3" + resolved "https://registry.yarnpkg.com/duplexify/-/duplexify-4.1.3.tgz#a07e1c0d0a2c001158563d32592ba58bddb0236f" + integrity sha512-M3BmBhwJRZsSx38lZyhE53Csddgzl5R7xGJNk7CVddZD6CcmwMCH8J+7AprIrQKH7TonKxaCjcv27Qmf+sQ+oA== + dependencies: + end-of-stream "^1.4.1" + inherits "^2.0.3" + readable-stream "^3.1.1" + stream-shift "^1.0.2" + eastasianwidth@^0.2.0: version "0.2.0" resolved "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz" @@ -6140,6 +6776,11 @@ emojis-list@^3.0.0: resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-3.0.0.tgz#5570662046ad29e2e916e71aae260abdff4f6a78" integrity sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q== +encode-utf8@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/encode-utf8/-/encode-utf8-1.0.3.tgz#f30fdd31da07fb596f281beb2f6b027851994cda" + integrity sha512-ucAnuBEhUK4boH2HjVYG5Q2mQyPorvv0u/ocS+zhdw0S8AlHYY+GOFhP1Gio5z4icpP2ivFSvhtFjQi8+T9ppw== + encodeurl@~1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" @@ -6565,7 +7206,7 @@ eventemitter3@^5.0.1: resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-5.0.1.tgz#53f5ffd0a492ac800721bb42c66b841de96423c4" integrity sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA== -events@^3.2.0, events@^3.3.0: +events@3.3.0, events@^3.2.0, events@^3.3.0: version "3.3.0" resolved "https://registry.npmjs.org/events/-/events-3.3.0.tgz" integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== @@ -6634,6 +7275,21 @@ execa@^5.0.0, execa@^5.1.1: signal-exit "^3.0.3" strip-final-newline "^2.0.0" +execa@^8.0.1: + version "8.0.1" + resolved "https://registry.yarnpkg.com/execa/-/execa-8.0.1.tgz#51f6a5943b580f963c3ca9c6321796db8cc39b8c" + integrity sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg== + dependencies: + cross-spawn "^7.0.3" + get-stream "^8.0.1" + human-signals "^5.0.0" + is-stream "^3.0.0" + merge-stream "^2.0.0" + npm-run-path "^5.1.0" + onetime "^6.0.0" + signal-exit "^4.1.0" + strip-final-newline "^3.0.0" + executable@^4.1.0: version "4.1.1" resolved "https://registry.yarnpkg.com/executable/-/executable-4.1.1.tgz#41532bff361d3e57af4d763b70582db18f5d133c" @@ -6785,6 +7441,11 @@ fast-levenshtein@^2.0.6, fast-levenshtein@~2.0.6: resolved "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz" integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc= +fast-redact@^3.0.0: + version "3.5.0" + resolved "https://registry.yarnpkg.com/fast-redact/-/fast-redact-3.5.0.tgz#e9ea02f7e57d0cd8438180083e93077e496285e4" + integrity sha512-dwsoQlS7h9hMeYUq1W++23NDcBLV4KqONnITDV9DjfS3q1SgDGVrBdvvTLUotWtPSD7asWDV9/CmsZPy8Hf70A== + fastest-levenshtein@^1.0.12: version "1.0.12" resolved "https://registry.yarnpkg.com/fastest-levenshtein/-/fastest-levenshtein-1.0.12.tgz#9990f7d3a88cc5a9ffd1f1745745251700d497e2" @@ -7244,6 +7905,11 @@ get-package-type@^0.1.0: resolved "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz" integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q== +get-port-please@^3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/get-port-please/-/get-port-please-3.1.2.tgz#502795e56217128e4183025c89a48c71652f4e49" + integrity sha512-Gxc29eLs1fbn6LQ4jSU4vXjlwyZhF5HsGuMAa7gqBP4Rw4yxxltyDUuF5MBclFzDTXO+ACchGQoeela4DSfzdQ== + get-proxy@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/get-proxy/-/get-proxy-2.1.0.tgz#349f2b4d91d44c4d4d4e9cba2ad90143fac5ef93" @@ -7283,6 +7949,11 @@ get-stream@^6.0.0: resolved "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz" integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== +get-stream@^8.0.1: + version "8.0.1" + resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-8.0.1.tgz#def9dfd71742cd7754a7761ed43749a27d02eca2" + integrity sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA== + get-symbol-description@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.0.tgz#7fdb81c900101fbd564dd5f1a30af5aadc1e58d6" @@ -7496,6 +8167,22 @@ graceful-fs@^4.1.10, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.9.tgz" integrity sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ== +h3@^1.10.2, h3@^1.11.1: + version "1.11.1" + resolved "https://registry.yarnpkg.com/h3/-/h3-1.11.1.tgz#e9414ae6f2a076a345ea07256b320edb29bab9f7" + integrity sha512-AbaH6IDnZN6nmbnJOH72y3c5Wwh9P97soSVdGSBbcDACRdkC0FEWf25pzx4f/NuOCK6quHmW18yF2Wx+G4Zi1A== + dependencies: + cookie-es "^1.0.0" + crossws "^0.2.2" + defu "^6.1.4" + destr "^2.0.3" + iron-webcrypto "^1.0.0" + ohash "^1.1.3" + radix3 "^1.1.0" + ufo "^1.4.0" + uncrypto "^0.1.3" + unenv "^1.9.0" + handle-thing@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/handle-thing/-/handle-thing-2.0.1.tgz#857f79ce359580c340d43081cc648970d0bb234e" @@ -7631,6 +8318,11 @@ header-case@^2.0.4: capital-case "^1.0.4" tslib "^2.0.3" +hey-listen@^1.0.8: + version "1.0.8" + resolved "https://registry.yarnpkg.com/hey-listen/-/hey-listen-1.0.8.tgz#8e59561ff724908de1aa924ed6ecc84a56a9aa68" + integrity sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q== + hmac-drbg@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" @@ -7804,6 +8496,11 @@ http-proxy@^1.18.1: follow-redirects "^1.0.0" requires-port "^1.0.0" +http-shutdown@^1.2.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/http-shutdown/-/http-shutdown-1.2.2.tgz#41bc78fc767637c4c95179bc492f312c0ae64c5f" + integrity sha512-S9wWkJ/VSY9/k4qcjG318bqJNruzE4HySUhFYknwmu6LBP97KLLfwNf+n4V1BHurvFNkSKLFnK/RsuUnRTf9Vw== + http-signature@~1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1" @@ -7836,6 +8533,11 @@ human-signals@^2.1.0: resolved "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz" integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== +human-signals@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-5.0.0.tgz#42665a284f9ae0dade3ba41ebc37eb4b852f3a28" + integrity sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ== + humanize-ms@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/humanize-ms/-/humanize-ms-1.2.1.tgz#c46e3159a293f6b896da29316d8b6fe8bb79bbed" @@ -7867,6 +8569,11 @@ icss-utils@^5.0.0, icss-utils@^5.1.0: resolved "https://registry.yarnpkg.com/icss-utils/-/icss-utils-5.1.0.tgz#c6be6858abd013d768e98366ae47e25d5887b1ae" integrity sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA== +idb-keyval@^6.2.1: + version "6.2.1" + resolved "https://registry.yarnpkg.com/idb-keyval/-/idb-keyval-6.2.1.tgz#94516d625346d16f56f3b33855da11bfded2db33" + integrity sha512-8Sb3veuYCyrZL+VBt9LJfZjLUPWVvqn8tG28VqYNFCo43KHcKuq+b4EiXGeuaLAQWL2YmyDgMp2aSpH9JHsEQg== + identity-obj-proxy@3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/identity-obj-proxy/-/identity-obj-proxy-3.0.0.tgz" @@ -8106,6 +8813,11 @@ ipaddr.js@^2.0.1: resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-2.0.1.tgz#eca256a7a877e917aeb368b0a7497ddf42ef81c0" integrity sha512-1qTgH9NG+IIJ4yfKs2e6Pp1bZg8wbDbKHT21HrLIeYBTRLgMYKnMTPAuI3Lcs61nfx5h1xlXnbJtH1kX5/d/ng== +iron-webcrypto@^1.0.0: + version "1.2.1" + resolved "https://registry.yarnpkg.com/iron-webcrypto/-/iron-webcrypto-1.2.1.tgz#aa60ff2aa10550630f4c0b11fd2442becdb35a6f" + integrity sha512-feOM6FaSr6rEABp/eDfVseKyTMDt+KGpeB35SkVn9Tyn0CqvVsY3EwI0v5i8nMHyJnzCIQf7nsy3p41TPkJZhg== + is-arguments@^1.0.4: version "1.1.1" resolved "https://registry.yarnpkg.com/is-arguments/-/is-arguments-1.1.1.tgz#15b3f88fda01f2a97fec84ca761a560f123efa9b" @@ -8184,6 +8896,11 @@ is-docker@^2.0.0, is-docker@^2.1.1: resolved "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz" integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ== +is-docker@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-3.0.0.tgz#90093aa3106277d8a77a5910dbae71747e15a200" + integrity sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ== + is-extglob@^2.1.1: version "2.1.1" resolved "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz" @@ -8235,6 +8952,13 @@ is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3, is-glob@~4.0.1: dependencies: is-extglob "^2.1.1" +is-inside-container@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-inside-container/-/is-inside-container-1.0.0.tgz#e81fba699662eb31dbdaf26766a61d4814717ea4" + integrity sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA== + dependencies: + is-docker "^3.0.0" + is-interactive@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-interactive/-/is-interactive-1.0.0.tgz#cea6e6ae5c870a7b0a0004070b7b587e0252912e" @@ -8355,6 +9079,11 @@ is-stream@^2.0.0: resolved "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz" integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== +is-stream@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-3.0.0.tgz#e6bfd7aa6bef69f4f472ce9bb681e3e57b4319ac" + integrity sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA== + is-string@^1.0.5, is-string@^1.0.7: version "1.0.7" resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.0.7.tgz#0dd12bf2006f255bb58f695110eff7491eebc0fd" @@ -8426,6 +9155,20 @@ is-wsl@^2.2.0: dependencies: is-docker "^2.0.0" +is-wsl@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-3.1.0.tgz#e1c657e39c10090afcbedec61720f6b924c3cbd2" + integrity sha512-UcVfVfaK4Sc4m7X3dUSoHoozQGBEFeDC+zVo06t98xe8CzHSZZBekNXH+tu0NalHolcJ/QAGqS46Hef7QXBIMw== + dependencies: + is-inside-container "^1.0.0" + +is64bit@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/is64bit/-/is64bit-2.0.0.tgz#198c627cbcb198bbec402251f88e5e1a51236c07" + integrity sha512-jv+8jaWCl0g2lSBkNSVXdzfBA0npK1HGC2KtWM9FumFRoGS94g3NbCCLVnCYHLjp4GrW2KZeeSTMo5ddtznmGw== + dependencies: + system-architecture "^0.1.0" + isarray@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" @@ -8441,6 +9184,14 @@ isobject@^3.0.1: resolved "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz" integrity sha1-TkMekrEalzFjaqH5yNHMvP2reN8= +isomorphic-unfetch@3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/isomorphic-unfetch/-/isomorphic-unfetch-3.1.0.tgz#87341d5f4f7b63843d468438128cb087b7c3e98f" + integrity sha512-geDJjpoZ8N0kWexiwkX8F9NkTsXhetLPVbZFQ+JTW239QNOwvB0gniuR1Wc6f0AMTn7/mFGyXvHTifrCp/GH8Q== + dependencies: + node-fetch "^2.6.1" + unfetch "^4.2.0" + isstream@~0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" @@ -9025,6 +9776,11 @@ jimp@^0.2.21: tinycolor2 "^1.1.2" url-regex "^3.0.0" +jiti@^1.21.0: + version "1.21.0" + resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.21.0.tgz#7c97f8fe045724e136a397f7340475244156105d" + integrity sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q== + jpeg-js@0.4.2: version "0.4.2" resolved "https://registry.yarnpkg.com/jpeg-js/-/jpeg-js-0.4.2.tgz#8b345b1ae4abde64c2da2fe67ea216a114ac279d" @@ -9265,6 +10021,11 @@ keyv@3.0.0: dependencies: json-buffer "3.0.0" +keyvaluestorage-interface@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/keyvaluestorage-interface/-/keyvaluestorage-interface-1.0.0.tgz#13ebdf71f5284ad54be94bd1ad9ed79adad515ff" + integrity sha512-8t6Q3TclQ4uZynJY9IGr2+SsIGwK9JHcO6ootkHCGA0CrQCRy+VkouYNO2xicET6b9al7QKzpebNow+gkpCL8g== + kind-of@^6.0.2, kind-of@^6.0.3: version "6.0.3" resolved "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz" @@ -9478,6 +10239,30 @@ lint-staged@^12.3.4: supports-color "^9.2.1" yaml "^1.10.2" +listhen@^1.7.2: + version "1.7.2" + resolved "https://registry.yarnpkg.com/listhen/-/listhen-1.7.2.tgz#66b81740692269d5d8cafdc475020f2fc51afbae" + integrity sha512-7/HamOm5YD9Wb7CFgAZkKgVPA96WwhcTQoqtm2VTZGVbVVn3IWKRBTgrU7cchA3Q8k9iCsG8Osoi9GX4JsGM9g== + dependencies: + "@parcel/watcher" "^2.4.1" + "@parcel/watcher-wasm" "^2.4.1" + citty "^0.1.6" + clipboardy "^4.0.0" + consola "^3.2.3" + crossws "^0.2.0" + defu "^6.1.4" + get-port-please "^3.1.2" + h3 "^1.10.2" + http-shutdown "^1.2.2" + jiti "^1.21.0" + mlly "^1.6.1" + node-forge "^1.3.1" + pathe "^1.1.2" + std-env "^3.7.0" + ufo "^1.4.0" + untun "^0.1.3" + uqr "^0.1.2" + listr2@^4.0.1: version "4.0.4" resolved "https://registry.npmjs.org/listr2/-/listr2-4.0.4.tgz" @@ -9492,6 +10277,31 @@ listr2@^4.0.1: through "^2.3.8" wrap-ansi "^7.0.0" +lit-element@^3.3.0: + version "3.3.3" + resolved "https://registry.yarnpkg.com/lit-element/-/lit-element-3.3.3.tgz#10bc19702b96ef5416cf7a70177255bfb17b3209" + integrity sha512-XbeRxmTHubXENkV4h8RIPyr8lXc+Ff28rkcQzw3G6up2xg5E8Zu1IgOWIwBLEQsu3cOVFqdYwiVi0hv0SlpqUA== + dependencies: + "@lit-labs/ssr-dom-shim" "^1.1.0" + "@lit/reactive-element" "^1.3.0" + lit-html "^2.8.0" + +lit-html@^2.8.0: + version "2.8.0" + resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-2.8.0.tgz#96456a4bb4ee717b9a7d2f94562a16509d39bffa" + integrity sha512-o9t+MQM3P4y7M7yNzqAyjp7z+mQGa4NS4CxiyLqFPyFWyc4O+nodLrkrxSaCTrla6M5YOLaT3RpbbqjszB5g3Q== + dependencies: + "@types/trusted-types" "^2.0.2" + +lit@2.8.0: + version "2.8.0" + resolved "https://registry.yarnpkg.com/lit/-/lit-2.8.0.tgz#4d838ae03059bf9cafa06e5c61d8acc0081e974e" + integrity sha512-4Sc3OFX9QHOJaHbmTMk28SYgVxLN3ePDjg7hofEft2zWlehFL3LiAuapWc4U/kYwMYJSh2hTCPZ6/LIC7ii0MA== + dependencies: + "@lit/reactive-element" "^1.6.0" + lit-element "^3.3.0" + lit-html "^2.8.0" + load-bmfont@^1.2.3, load-bmfont@^1.3.1, load-bmfont@^1.4.0: version "1.4.1" resolved "https://registry.yarnpkg.com/load-bmfont/-/load-bmfont-1.4.1.tgz#c0f5f4711a1e2ccff725a7b6078087ccfcddd3e9" @@ -9591,6 +10401,11 @@ lodash.isboolean@^3.0.3: resolved "https://registry.yarnpkg.com/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz#6c2e171db2a257cd96802fd43b01b20d5f5870f6" integrity sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg== +lodash.isequal@4.5.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0" + integrity sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ== + lodash.isinteger@^4.0.4: version "4.0.4" resolved "https://registry.yarnpkg.com/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz#619c0af3d03f8b04c31f5882840b77b11cd68343" @@ -9681,6 +10496,11 @@ lowercase-keys@^1.0.0: resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-1.0.1.tgz#6f9e30b47084d971a7c820ff15a6c5167b74c26f" integrity sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA== +lru-cache@^10.2.0: + version "10.2.2" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.2.2.tgz#48206bc114c1252940c41b25b41af5b545aca878" + integrity sha512-9hp3Vp2/hFQUiIwKo8XCeFVnrg8Pk3TYNPIR7tJADKi5YfcF7vEaK7avFHTlSy3kOKYaJQaalfEo6YuXdceBOQ== + lru-cache@^4.0.1: version "4.1.5" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd" @@ -9889,6 +10709,14 @@ micromatch@^4.0.0, micromatch@^4.0.2, micromatch@^4.0.4: braces "^3.0.1" picomatch "^2.2.3" +micromatch@^4.0.5: + version "4.0.5" + resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" + integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== + dependencies: + braces "^3.0.2" + picomatch "^2.3.1" + miller-rabin@^4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/miller-rabin/-/miller-rabin-4.0.1.tgz#f080351c865b0dc562a8462966daa53543c78a4d" @@ -9929,6 +10757,11 @@ mimic-fn@^2.1.0: resolved "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz" integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== +mimic-fn@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-4.0.0.tgz#60a90550d5cb0b239cca65d893b1a53b29871ecc" + integrity sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw== + mimic-response@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-1.0.1.tgz#4923538878eef42063cb8a3e3b0798781487ab1b" @@ -10103,6 +10936,16 @@ mkdirp@^1.0.3, mkdirp@^1.0.4: resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== +mlly@^1.6.1, mlly@^1.7.0: + version "1.7.0" + resolved "https://registry.yarnpkg.com/mlly/-/mlly-1.7.0.tgz#587383ae40dda23cadb11c3c3cc972b277724271" + integrity sha512-U9SDaXGEREBYQgfejV97coK0UL1r+qnF2SyO9A3qcI8MzKnsIFKHNVEkrDyNncQTKQQumsasmeq84eNMdBfsNQ== + dependencies: + acorn "^8.11.3" + pathe "^1.1.2" + pkg-types "^1.1.0" + ufo "^1.5.3" + mock-socket@^9.3.1: version "9.3.1" resolved "https://registry.yarnpkg.com/mock-socket/-/mock-socket-9.3.1.tgz#24fb00c2f573c84812aa4a24181bb025de80cc8e" @@ -10113,6 +10956,23 @@ modify-values@^1.0.0: resolved "https://registry.yarnpkg.com/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022" integrity sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw== +motion@10.16.2: + version "10.16.2" + resolved "https://registry.yarnpkg.com/motion/-/motion-10.16.2.tgz#7dc173c6ad62210a7e9916caeeaf22c51e598d21" + integrity sha512-p+PurYqfUdcJZvtnmAqu5fJgV2kR0uLFQuBKtLeFVTrYEVllI99tiOTSefVNYuip9ELTEkepIIDftNdze76NAQ== + dependencies: + "@motionone/animation" "^10.15.1" + "@motionone/dom" "^10.16.2" + "@motionone/svelte" "^10.16.2" + "@motionone/types" "^10.15.1" + "@motionone/utils" "^10.15.1" + "@motionone/vue" "^10.16.2" + +mri@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/mri/-/mri-1.2.0.tgz#6721480fec2a11a4889861115a48b6cbe7cc8f0b" + integrity sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA== + ms@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" @@ -10141,6 +11001,11 @@ multicast-dns@^6.0.1: dns-packet "^1.3.1" thunky "^1.0.2" +multiformats@^9.4.2: + version "9.9.0" + resolved "https://registry.yarnpkg.com/multiformats/-/multiformats-9.9.0.tgz#c68354e7d21037a8f1f8833c8ccd68618e8f1d37" + integrity sha512-HoMUjhH9T8DDBNT+6xzkrd9ga/XiBI4xLr58LJACwK6G3HTOPeMz4nB4KJs33L2BelrIJa7P0VuNaVF3hMYfjg== + mute-stream@0.0.7: version "0.0.7" resolved "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz" @@ -10161,6 +11026,11 @@ napi-build-utils@^1.0.1: resolved "https://registry.yarnpkg.com/napi-build-utils/-/napi-build-utils-1.0.2.tgz#b1fddc0b2c46e380a0b7a76f984dd47c41a13806" integrity sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg== +napi-wasm@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/napi-wasm/-/napi-wasm-1.1.0.tgz#bbe617823765ae9c1bc12ff5942370eae7b2ba4e" + integrity sha512-lHwIAJbmLSjF9VDRm9GoVOy9AGp3aIvkjv+Kvz9h16QR3uSVYH78PNQUnT2U4X53mhlnV2M7wrhibQ3GHicDmg== + natural-compare@^1.4.0: version "1.4.0" resolved "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz" @@ -10237,6 +11107,11 @@ node-addon-api@^4.3.0: resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-4.3.0.tgz#52a1a0b475193e0928e98e0426a0d1254782b77f" integrity sha512-73sE9+3UaLYYFmDsFZnqCInzPyh3MqIwZO9cw58yIqAZhONrrabrYyYe3TuIqtIiOuTXVhsGau8hcrhhwSsDIQ== +node-addon-api@^7.0.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-7.1.0.tgz#71f609369379c08e251c558527a107107b5e0fdb" + integrity sha512-mNcltoe1R8o7STTegSOHdnJNN7s5EUvhoS7ShnTHDyOSd+8H+UdWODq6qSv67PjC8Zc5JRT8+oLAMCr0SIXw7g== + node-domexception@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/node-domexception/-/node-domexception-1.0.0.tgz#6888db46a1f71c0b76b3f7555016b63fe64766e5" @@ -10249,6 +11124,11 @@ node-emoji@^1.11.0: dependencies: lodash "^4.17.21" +node-fetch-native@^1.6.1, node-fetch-native@^1.6.2, node-fetch-native@^1.6.3: + version "1.6.4" + resolved "https://registry.yarnpkg.com/node-fetch-native/-/node-fetch-native-1.6.4.tgz#679fc8fd8111266d47d7e72c379f1bed9acff06e" + integrity sha512-IhOigYzAKHd244OC0JIMIUrjzctirCmPkaIfhDeGcEETWof5zKYUW7e7MYvChGWh/4CJeXEgsRyGzuF334rOOQ== + node-fetch@2.6.7, node-fetch@^2.6.7: version "2.6.7" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad" @@ -10256,6 +11136,13 @@ node-fetch@2.6.7, node-fetch@^2.6.7: dependencies: whatwg-url "^5.0.0" +node-fetch@^2.6.1: + version "2.7.0" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" + integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A== + dependencies: + whatwg-url "^5.0.0" + node-fetch@^3.3.2: version "3.3.2" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-3.3.2.tgz#d1e889bacdf733b4ff3b2b243eb7a12866a0b78b" @@ -10270,6 +11157,11 @@ node-forge@^1.2.0: resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-1.2.1.tgz#82794919071ef2eb5c509293325cec8afd0fd53c" integrity sha512-Fcvtbb+zBcZXbTTVwqGA5W+MKBj56UjVRevvchv5XrcyXbmNdesfZL37nlcWOfpgHhgmxApw3tQbTr4CqNmX4w== +node-forge@^1.3.1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-1.3.1.tgz#be8da2af243b2417d5f646a770663a92b7e9ded3" + integrity sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA== + node-gyp-build@^4.2.2, node-gyp-build@^4.3.0: version "4.3.0" resolved "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.3.0.tgz" @@ -10501,6 +11393,13 @@ npm-run-path@^4.0.0, npm-run-path@^4.0.1: dependencies: path-key "^3.0.0" +npm-run-path@^5.1.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-5.3.0.tgz#e23353d0ebb9317f174e93417e4a4d82d0249e9f" + integrity sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ== + dependencies: + path-key "^4.0.0" + npm-user-validate@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/npm-user-validate/-/npm-user-validate-1.0.1.tgz#31428fc5475fe8416023f178c0ab47935ad8c561" @@ -10670,11 +11569,30 @@ obuf@^1.0.0, obuf@^1.1.2: resolved "https://registry.yarnpkg.com/obuf/-/obuf-1.1.2.tgz#09bea3343d41859ebd446292d11c9d4db619084e" integrity sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg== +ofetch@^1.3.3: + version "1.3.4" + resolved "https://registry.yarnpkg.com/ofetch/-/ofetch-1.3.4.tgz#7ea65ced3c592ec2b9906975ae3fe1d26a56f635" + integrity sha512-KLIET85ik3vhEfS+3fDlc/BAZiAp+43QEC/yCo5zkNoY2YaKvNkOaFr/6wCFgFH1kuYQM5pMNi0Tg8koiIemtw== + dependencies: + destr "^2.0.3" + node-fetch-native "^1.6.3" + ufo "^1.5.3" + +ohash@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/ohash/-/ohash-1.1.3.tgz#f12c3c50bfe7271ce3fd1097d42568122ccdcf07" + integrity sha512-zuHHiGTYTA1sYJ/wZN+t5HKZaH23i4yI1HMwbuXm24Nid7Dv0KcuRlKoNKS9UNfAVSBlnGLcuQrnOKWOZoEGaw== + omggif@^1.0.10, omggif@^1.0.9: version "1.0.10" resolved "https://registry.yarnpkg.com/omggif/-/omggif-1.0.10.tgz#ddaaf90d4a42f532e9e7cb3a95ecdd47f17c7b19" integrity sha512-LMJTtvgc/nugXj0Vcrrs68Mn2D1r0zf630VNtqtpI1FEO7e+O9FP4gqs9AcnBaSEeoHIPm28u6qgPR0oyEpGSw== +on-exit-leak-free@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/on-exit-leak-free/-/on-exit-leak-free-0.2.0.tgz#b39c9e3bf7690d890f4861558b0d7b90a442d209" + integrity sha512-dqaz3u44QbRXQooZLTUKU41ZrzYrcvLISVgbrzbyCMxpmSLJvZ3ZamIJIZ29P6OhZIkNIQKosdeM6t1LYbA9hg== + on-finished@~2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947" @@ -10708,6 +11626,13 @@ onetime@^5.1.0, onetime@^5.1.2: dependencies: mimic-fn "^2.1.0" +onetime@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/onetime/-/onetime-6.0.0.tgz#7c24c18ed1fd2e9bca4bd26806a33613c77d34b4" + integrity sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ== + dependencies: + mimic-fn "^4.0.0" + open@8.4.0, open@^8.0.9, open@^8.4.0: version "8.4.0" resolved "https://registry.npmjs.org/open/-/open-8.4.0.tgz" @@ -11145,6 +12070,11 @@ path-key@^3.0.0, path-key@^3.1.0: resolved "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz" integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== +path-key@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-4.0.0.tgz#295588dc3aee64154f877adb9d780b81c554bf18" + integrity sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ== + path-parse@^1.0.7: version "1.0.7" resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz" @@ -11160,6 +12090,11 @@ path-type@^4.0.0: resolved "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz" integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== +pathe@^1.1.1, pathe@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/pathe/-/pathe-1.1.2.tgz#6c4cb47a945692e48a1ddd6e4094d170516437ec" + integrity sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ== + pbkdf2@^3.0.3: version "3.1.2" resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" @@ -11196,7 +12131,7 @@ picocolors@^1.0.0: resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz" integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== -picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3: +picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3, picomatch@^2.3.1: version "2.3.1" resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz" integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== @@ -11228,6 +12163,36 @@ pinkie@^2.0.0: resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" integrity sha1-clVrgM+g1IqXToDnckjoDtT3+HA= +pino-abstract-transport@v0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/pino-abstract-transport/-/pino-abstract-transport-0.5.0.tgz#4b54348d8f73713bfd14e3dc44228739aa13d9c0" + integrity sha512-+KAgmVeqXYbTtU2FScx1XS3kNyfZ5TrXY07V96QnUSFqo2gAqlvmaxH67Lj7SWazqsMabf+58ctdTcBgnOLUOQ== + dependencies: + duplexify "^4.1.2" + split2 "^4.0.0" + +pino-std-serializers@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/pino-std-serializers/-/pino-std-serializers-4.0.0.tgz#1791ccd2539c091ae49ce9993205e2cd5dbba1e2" + integrity sha512-cK0pekc1Kjy5w9V2/n+8MkZwusa6EyyxfeQCB799CQRhRt/CqYKiWs5adeu8Shve2ZNffvfC/7J64A2PJo1W/Q== + +pino@7.11.0: + version "7.11.0" + resolved "https://registry.yarnpkg.com/pino/-/pino-7.11.0.tgz#0f0ea5c4683dc91388081d44bff10c83125066f6" + integrity sha512-dMACeu63HtRLmCG8VKdy4cShCPKaYDR4youZqoSWLxl5Gu99HUw8bw75thbPv9Nip+H+QYX8o3ZJbTdVZZ2TVg== + dependencies: + atomic-sleep "^1.0.0" + fast-redact "^3.0.0" + on-exit-leak-free "^0.2.0" + pino-abstract-transport v0.5.0 + pino-std-serializers "^4.0.0" + process-warning "^1.0.0" + quick-format-unescaped "^4.0.3" + real-require "^0.1.0" + safe-stable-stringify "^2.1.0" + sonic-boom "^2.2.1" + thread-stream "^0.15.1" + pirates@^4.0.4: version "4.0.5" resolved "https://registry.npmjs.org/pirates/-/pirates-4.0.5.tgz" @@ -11266,11 +12231,25 @@ pkg-dir@^4.1.0, pkg-dir@^4.2.0: dependencies: find-up "^4.0.0" +pkg-types@^1.1.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/pkg-types/-/pkg-types-1.1.1.tgz#07b626880749beb607b0c817af63aac1845a73f2" + integrity sha512-ko14TjmDuQJ14zsotODv7dBlwxKhUKQEhuhmbqo1uCi9BB0Z2alo/wAXg6q1dTR5TyuqYyWhjtfe/Tsh+X28jQ== + dependencies: + confbox "^0.1.7" + mlly "^1.7.0" + pathe "^1.1.2" + pngjs@^3.0.0, pngjs@^3.2.0, pngjs@^3.3.3: version "3.4.0" resolved "https://registry.yarnpkg.com/pngjs/-/pngjs-3.4.0.tgz#99ca7d725965fb655814eaf65f38f12bbdbf555f" integrity sha512-NCrCHhWmnQklfH4MtJMRjZ2a8c80qXeMlQMv2uVp9ISJMTt562SbGd6n2oq0PaPgKm7Z6pL9E2UlLIhC+SHL3w== +pngjs@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/pngjs/-/pngjs-5.0.0.tgz#e79dd2b215767fd9c04561c01236df960bce7fbb" + integrity sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw== + pngquant-bin@^6.0.0: version "6.0.1" resolved "https://registry.yarnpkg.com/pngquant-bin/-/pngquant-bin-6.0.1.tgz#2b5789ca219eeb4d8509ab1ae082092801b7f07e" @@ -11652,6 +12631,11 @@ process-nextick-args@~2.0.0: resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== +process-warning@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/process-warning/-/process-warning-1.0.0.tgz#980a0b25dc38cd6034181be4b7726d89066b4616" + integrity sha512-du4wfLyj4yCZq1VupnVSZmRsPJsNuxoDQFdCFHLaYiEbFBD7QE0a+I4D7hOxrVnh78QE/YipFAj9lXHiXocV+Q== + process@^0.11.10: version "0.11.10" resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" @@ -11713,6 +12697,11 @@ proxy-addr@~2.0.7: forwarded "0.2.0" ipaddr.js "1.9.1" +proxy-compare@2.5.1: + version "2.5.1" + resolved "https://registry.yarnpkg.com/proxy-compare/-/proxy-compare-2.5.1.tgz#17818e33d1653fbac8c2ec31406bce8a2966f600" + integrity sha512-oyfc0Tx87Cpwva5ZXezSp5V9vht1c7dZBhvuV/y3ctkgMVUmiAGDVeeB0dKhGSyT0v1ZTEQYpe/RXlBVBNuCLA== + prr@~1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476" @@ -11768,6 +12757,16 @@ qrcode-terminal@^0.12.0: resolved "https://registry.yarnpkg.com/qrcode-terminal/-/qrcode-terminal-0.12.0.tgz#bb5b699ef7f9f0505092a3748be4464fe71b5819" integrity sha512-EXtzRZmC+YGmGlDFbXKxQiMZNwCLEO6BANKXG4iCtSIM0yqc/pappSx3RIKr4r0uh5JsBckOXeKrB3Iz7mdQpQ== +qrcode@1.5.3: + version "1.5.3" + resolved "https://registry.yarnpkg.com/qrcode/-/qrcode-1.5.3.tgz#03afa80912c0dccf12bc93f615a535aad1066170" + integrity sha512-puyri6ApkEHYiVl4CFzo1tDkAZ+ATcnbJrJ6RiBM1Fhctdn/ix9MTE3hRph33omisEbC/2fcfemsseiKgBPKZg== + dependencies: + dijkstrajs "^1.0.1" + encode-utf8 "^1.0.3" + pngjs "^5.0.0" + yargs "^15.3.1" + qs@6.9.7: version "6.9.7" resolved "https://registry.yarnpkg.com/qs/-/qs-6.9.7.tgz#4610846871485e1e048f44ae3b94033f0e675afe" @@ -11778,16 +12777,7 @@ qs@~6.5.2: resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.3.tgz#3aeeffc91967ef6e35c0e488ef46fb296ab76aad" integrity sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA== -query-string@^5.0.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/query-string/-/query-string-5.1.1.tgz#a78c012b71c17e05f2e3fa2319dd330682efb3cb" - integrity sha512-gjWOsm2SoGlgLEdAGt7a6slVOk9mGiXmPFMqrEhLQ68rhQuBnpfs3+EmlvqKyxnCo9/PPlF+9MtY02S1aFg+Jw== - dependencies: - decode-uri-component "^0.2.0" - object-assign "^4.1.0" - strict-uri-encode "^1.0.0" - -query-string@^7.1.3: +query-string@7.1.3, query-string@^7.1.3: version "7.1.3" resolved "https://registry.yarnpkg.com/query-string/-/query-string-7.1.3.tgz#a1cf90e994abb113a325804a972d98276fe02328" integrity sha512-hh2WYhq4fi8+b+/2Kg9CEge4fDPvHS534aOOvOZeQ3+Vf2mCFsaFBYj0i+iXcAq6I9Vzp5fjMFBlONvayDC1qg== @@ -11797,6 +12787,15 @@ query-string@^7.1.3: split-on-first "^1.0.0" strict-uri-encode "^2.0.0" +query-string@^5.0.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/query-string/-/query-string-5.1.1.tgz#a78c012b71c17e05f2e3fa2319dd330682efb3cb" + integrity sha512-gjWOsm2SoGlgLEdAGt7a6slVOk9mGiXmPFMqrEhLQ68rhQuBnpfs3+EmlvqKyxnCo9/PPlF+9MtY02S1aFg+Jw== + dependencies: + decode-uri-component "^0.2.0" + object-assign "^4.1.0" + strict-uri-encode "^1.0.0" + querystring-es3@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/querystring-es3/-/querystring-es3-0.2.1.tgz#9ec61f79049875707d69414596fd907a4d711e73" @@ -11812,11 +12811,21 @@ queue-microtask@^1.2.2: resolved "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz" integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== +quick-format-unescaped@^4.0.3: + version "4.0.4" + resolved "https://registry.yarnpkg.com/quick-format-unescaped/-/quick-format-unescaped-4.0.4.tgz#93ef6dd8d3453cbc7970dd614fad4c5954d6b5a7" + integrity sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg== + quick-lru@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz" integrity sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g== +radix3@^1.1.0: + version "1.1.2" + resolved "https://registry.yarnpkg.com/radix3/-/radix3-1.1.2.tgz#fd27d2af3896c6bf4bcdfab6427c69c2afc69ec0" + integrity sha512-b484I/7b8rDEdSDKckSSBA8knMpcdsXudlE/LNL639wFoHKwLbEkQFZHWEYwDC0wa0FKUcCY+GAF73Z7wxNVFA== + randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5, randombytes@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz" @@ -11969,6 +12978,11 @@ readdirp@~3.6.0: dependencies: picomatch "^2.2.1" +real-require@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/real-require/-/real-require-0.1.0.tgz#736ac214caa20632847b7ca8c1056a0767df9381" + integrity sha512-r/H9MzAWtrv8aSVjPCMFpDMl5q66GqtmmRkRjpHTsp4zBAa+snZyiQNlMONiUmEJcsnaw0wCauJ2GWODr/aFkg== + redent@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz" @@ -12304,6 +13318,11 @@ safe-buffer@5.2.1, safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== +safe-stable-stringify@^2.1.0: + version "2.4.3" + resolved "https://registry.yarnpkg.com/safe-stable-stringify/-/safe-stable-stringify-2.4.3.tgz#138c84b6f6edb3db5f8ef3ef7115b8f55ccbf886" + integrity sha512-e2bDA2WJT0wxseVd4lsDP4+3ONX6HpMXQa1ZhFQ7SU+GjvORCmShbCMltrtIDfkYhVHrOcPtj+KhmDBdPdZD1g== + "safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0", safer-buffer@^2.0.2, safer-buffer@^2.1.0, safer-buffer@^2.1.2, safer-buffer@~2.1.0: version "2.1.2" resolved "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz" @@ -12631,6 +13650,11 @@ signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3, signal-exit@^3.0.7: resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz" integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== +signal-exit@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-4.1.0.tgz#952188c1cbd546070e2dd20d0f41c0ae0530cb04" + integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw== + signale@^1.2.1: version "1.4.0" resolved "https://registry.yarnpkg.com/signale/-/signale-1.4.0.tgz#c4be58302fb0262ac00fc3d886a7c113759042f1" @@ -12748,6 +13772,13 @@ socks@^2.6.1: ip "^1.1.5" smart-buffer "^4.2.0" +sonic-boom@^2.2.1: + version "2.8.0" + resolved "https://registry.yarnpkg.com/sonic-boom/-/sonic-boom-2.8.0.tgz#c1def62a77425090e6ad7516aad8eb402e047611" + integrity sha512-kuonw1YOYYNOve5iHdSahXPOK49GqwA+LZhI6Wz/l0rP57iKyXXIHaRagOBHAPmGwJC6od2Z9zgvZ5loSgMlVg== + dependencies: + atomic-sleep "^1.0.0" + sort-keys-length@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/sort-keys-length/-/sort-keys-length-1.0.1.tgz#9cb6f4f4e9e48155a6aa0671edd336ff1479a188" @@ -12893,6 +13924,11 @@ split2@^3.0.0: dependencies: readable-stream "^3.0.0" +split2@^4.0.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/split2/-/split2-4.2.0.tgz#c9c5920904d148bab0b9f67145f245a86aadbfa4" + integrity sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg== + split2@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/split2/-/split2-1.0.0.tgz#52e2e221d88c75f9a73f90556e263ff96772b314" @@ -12951,6 +13987,11 @@ stack-utils@^2.0.3: resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" integrity sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow= +std-env@^3.7.0: + version "3.7.0" + resolved "https://registry.yarnpkg.com/std-env/-/std-env-3.7.0.tgz#c9f7386ced6ecf13360b6c6c55b8aaa4ef7481d2" + integrity sha512-JPbdCEQLj1w5GilpiHAx3qJvFndqybBysA3qUOnznweH4QbNYUsW/ea8QzSrnh0vNsezMMw5bcVool8lM0gwzg== + stream-browserify@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-3.0.0.tgz#22b0a2850cdf6503e73085da1fc7b7d0c2122f2f" @@ -12982,6 +14023,11 @@ stream-http@^3.2.0: readable-stream "^3.6.0" xtend "^4.0.2" +stream-shift@^1.0.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/stream-shift/-/stream-shift-1.0.3.tgz#85b8fab4d71010fc3ba8772e8046cc49b8a3864b" + integrity sha512-76ORR0DO1o1hlKwTbi/DM3EXWGf3ZJYO8cXX5RJwnul2DEg2oyoZyjLNoQM8WsvZiFKCRfC1O0J7iCvie3RZmQ== + stream-to-buffer@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/stream-to-buffer/-/stream-to-buffer-0.1.0.tgz#26799d903ab2025c9bd550ac47171b00f8dd80a9" @@ -13149,6 +14195,11 @@ strip-final-newline@^2.0.0: resolved "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz" integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== +strip-final-newline@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-3.0.0.tgz#52894c313fbff318835280aed60ff71ebf12b8fd" + integrity sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw== + strip-indent@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz" @@ -13264,6 +14315,11 @@ symbol-tree@^3.2.4: resolved "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz" integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== +system-architecture@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/system-architecture/-/system-architecture-0.1.0.tgz#71012b3ac141427d97c67c56bc7921af6bff122d" + integrity sha512-ulAk51I9UVUyJgxlv9M6lFot2WP3e7t8Kz9+IS6D4rVba1tR9kON+Ey69f+1R4Q8cd45Lod6a4IcJIxnzGc/zA== + tapable@^1.0.0: version "1.1.3" resolved "https://registry.npmjs.org/tapable/-/tapable-1.1.3.tgz" @@ -13406,6 +14462,13 @@ text-table@0.2.0, text-table@^0.2.0, text-table@~0.2.0: resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ= +thread-stream@^0.15.1: + version "0.15.2" + resolved "https://registry.yarnpkg.com/thread-stream/-/thread-stream-0.15.2.tgz#fb95ad87d2f1e28f07116eb23d85aba3bc0425f4" + integrity sha512-UkEhKIg2pD+fjkHQKyJO3yoIvAP3N6RlNFt2dUhcS1FGvCD1cQa1M/PGknCLFIyZdtJOWQjejp7bdNqmN7zwdA== + dependencies: + real-require "^0.1.0" + throat@^6.0.1: version "6.0.1" resolved "https://registry.npmjs.org/throat/-/throat-6.0.1.tgz" @@ -13653,16 +14716,16 @@ tsconfig-paths@^3.12.0, tsconfig-paths@^3.9.0: minimist "^1.2.0" strip-bom "^3.0.0" +tslib@1.14.1, tslib@^1.8.1, tslib@^1.9.0: + version "1.14.1" + resolved "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz" + integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== + tslib@2.3.1, tslib@^2.0.0, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.2.0, tslib@^2.3.0, tslib@^2.3.1: version "2.3.1" resolved "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz" integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw== -tslib@^1.8.1, tslib@^1.9.0: - version "1.14.1" - resolved "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz" - integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== - tslib@^2.6.2: version "2.6.2" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" @@ -13776,11 +14839,30 @@ typescript@^4.4.3, typescript@^4.5.3, typescript@~4.5.2: resolved "https://registry.npmjs.org/typescript/-/typescript-4.5.5.tgz" integrity sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA== +ufo@^1.4.0, ufo@^1.5.3: + version "1.5.3" + resolved "https://registry.yarnpkg.com/ufo/-/ufo-1.5.3.tgz#3325bd3c977b6c6cd3160bf4ff52989adc9d3344" + integrity sha512-Y7HYmWaFwPUmkoQCUIAYpKqkOf+SbVj/2fJJZ4RJMCfZp0rTGwRbzQD+HghfnhKOjL9E01okqz+ncJskGYfBNw== + uglify-js@^3.1.4: version "3.15.1" resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.15.1.tgz#9403dc6fa5695a6172a91bc983ea39f0f7c9086d" integrity sha512-FAGKF12fWdkpvNJZENacOH0e/83eG6JyVQyanIJaBXCN1J11TUQv1T1/z8S+Z0CG0ZPk1nPcreF/c7lrTd0TEQ== +uint8arrays@3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/uint8arrays/-/uint8arrays-3.1.0.tgz#8186b8eafce68f28bd29bd29d683a311778901e2" + integrity sha512-ei5rfKtoRO8OyOIor2Rz5fhzjThwIHJZ3uyDPnDHTXbP0aMQ1RN/6AI5B5d9dBxJOU+BvOAk7ZQ1xphsX8Lrog== + dependencies: + multiformats "^9.4.2" + +uint8arrays@^3.0.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/uint8arrays/-/uint8arrays-3.1.1.tgz#2d8762acce159ccd9936057572dade9459f65ae0" + integrity sha512-+QJa8QRnbdXVpHYjLoTpJIdCTiw9Ir62nocClWuXIq2JIh4Uta0cQsTSpFL678p2CN8B+XSApwcU+pQEqVpKWg== + dependencies: + multiformats "^9.4.2" + unbox-primitive@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.1.tgz#085e215625ec3162574dc8859abee78a59b14471" @@ -13799,6 +14881,27 @@ unbzip2-stream@^1.0.9: buffer "^5.2.1" through "^2.3.8" +uncrypto@^0.1.3: + version "0.1.3" + resolved "https://registry.yarnpkg.com/uncrypto/-/uncrypto-0.1.3.tgz#e1288d609226f2d02d8d69ee861fa20d8348ef2b" + integrity sha512-Ql87qFHB3s/De2ClA9e0gsnS6zXG27SkTiSJwjCc9MebbfapQfuPzumMIUMi38ezPZVNFcHI9sUIepeQfw8J8Q== + +unenv@^1.9.0: + version "1.9.0" + resolved "https://registry.yarnpkg.com/unenv/-/unenv-1.9.0.tgz#469502ae85be1bd3a6aa60f810972b1a904ca312" + integrity sha512-QKnFNznRxmbOF1hDgzpqrlIf6NC5sbZ2OJ+5Wl3OX8uM+LUJXbj4TXvLJCtwbPTmbMHCLIz6JLKNinNsMShK9g== + dependencies: + consola "^3.2.3" + defu "^6.1.3" + mime "^3.0.0" + node-fetch-native "^1.6.1" + pathe "^1.1.1" + +unfetch@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/unfetch/-/unfetch-4.2.0.tgz#7e21b0ef7d363d8d9af0fb929a5555f6ef97a3be" + integrity sha512-F9p7yYCn6cIW9El1zi0HI6vqpeIvBsr3dSuRO6Xuppb1u5rXpCPmMvLSyECLhybr9isec8Ohl0hPekMVrEinDA== + unicode-canonical-property-names-ecmascript@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz#301acdc525631670d39f6146e0e77ff6bbdebddc" @@ -13863,6 +14966,31 @@ unpipe@1.0.0, unpipe@~1.0.0: resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" integrity sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw= +unstorage@^1.9.0: + version "1.10.2" + resolved "https://registry.yarnpkg.com/unstorage/-/unstorage-1.10.2.tgz#fb7590ada8b30e83be9318f85100158b02a76dae" + integrity sha512-cULBcwDqrS8UhlIysUJs2Dk0Mmt8h7B0E6mtR+relW9nZvsf/u4SkAYyNliPiPW7XtFNb5u3IUMkxGxFTTRTgQ== + dependencies: + anymatch "^3.1.3" + chokidar "^3.6.0" + destr "^2.0.3" + h3 "^1.11.1" + listhen "^1.7.2" + lru-cache "^10.2.0" + mri "^1.2.0" + node-fetch-native "^1.6.2" + ofetch "^1.3.3" + ufo "^1.4.0" + +untun@^0.1.3: + version "0.1.3" + resolved "https://registry.yarnpkg.com/untun/-/untun-0.1.3.tgz#5d10dee37a3a5737ff03d158be877dae0a0e58a6" + integrity sha512-4luGP9LMYszMRZwsvyUd9MrxgEGZdZuZgpVQHEEX0lCYFESasVRvZd0EYpCkOIbJKHMuv0LskpXc/8Un+MJzEQ== + dependencies: + citty "^0.1.5" + consola "^3.2.3" + pathe "^1.1.1" + upper-case-first@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/upper-case-first/-/upper-case-first-2.0.2.tgz#992c3273f882abd19d1e02894cc147117f844324" @@ -13877,6 +15005,11 @@ upper-case@^2.0.2: dependencies: tslib "^2.0.3" +uqr@^0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/uqr/-/uqr-0.1.2.tgz#5c6cd5dcff9581f9bb35b982cb89e2c483a41d7d" + integrity sha512-MJu7ypHq6QasgF5YRTjqscSzQp/W11zoUk6kvmlH+fmWEs63Y0Eib13hYFwAzagRJcVY8WVnlV+eBDUGMJ5IbA== + uri-js@^4.2.2: version "4.4.1" resolved "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz" @@ -13923,6 +15056,11 @@ url@^0.11.0: punycode "1.3.2" querystring "0.2.0" +use-sync-external-store@1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz#7dbefd6ef3fe4e767a0cf5d7287aacfb5846928a" + integrity sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA== + utif@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/utif/-/utif-2.0.1.tgz#9e1582d9bbd20011a6588548ed3266298e711759" @@ -14001,6 +15139,14 @@ validate-npm-package-name@^3.0.0, validate-npm-package-name@~3.0.0: dependencies: builtins "^1.0.3" +valtio@1.11.2: + version "1.11.2" + resolved "https://registry.yarnpkg.com/valtio/-/valtio-1.11.2.tgz#b8049c02dfe65620635d23ebae9121a741bb6530" + integrity sha512-1XfIxnUXzyswPAPXo1P3Pdx2mq/pIqZICkWN60Hby0d9Iqb+MEIpqgYVlbflvHdrp2YR/q3jyKWRPJJ100yxaw== + dependencies: + proxy-compare "2.5.1" + use-sync-external-store "1.2.0" + vary@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" @@ -14419,6 +15565,11 @@ ws@^7.4.6: resolved "https://registry.npmjs.org/ws/-/ws-7.5.7.tgz" integrity sha512-KMvVuFzpKBuiIXW3E4u3mySRO2/mCHSyZDJQM5NQ9Q9KHWHWh0NHgfbRMLLrceUK5qAL4ytALJbpRMjixFZh8A== +ws@^7.5.1: + version "7.5.9" + resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" + integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== + ws@^8.1.0, ws@^8.4.2: version "8.5.0" resolved "https://registry.yarnpkg.com/ws/-/ws-8.5.0.tgz#bfb4be96600757fe5382de12c670dab984a1ed4f" @@ -14525,7 +15676,7 @@ yargs-parser@^21.0.0: resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.0.0.tgz" integrity sha512-z9kApYUOCwoeZ78rfRYYWdiU/iNL6mwwYlkkZfJoyMR1xps+NEBX5X7XmRpxkZHhXJ6+Ey00IwKxBBSW9FIjyA== -yargs@15.4.1: +yargs@15.4.1, yargs@^15.3.1: version "15.4.1" resolved "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz" integrity sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==