From a392d1fd0cc967d7897c53be22033890a1b4caee Mon Sep 17 00:00:00 2001 From: Korbinian Date: Thu, 11 Apr 2024 21:58:30 +0200 Subject: [PATCH 1/2] update deps and abi --- .../package.json | 12 +- .../src/abi/guardianProver.ts | 1046 +++++++++-------- .../fetchGuardianProversFromContract.ts | 2 +- pnpm-lock.yaml | 436 ++++++- 4 files changed, 960 insertions(+), 536 deletions(-) diff --git a/packages/guardian-prover-health-check-ui/package.json b/packages/guardian-prover-health-check-ui/package.json index 90d52e3e48..37d57b498a 100644 --- a/packages/guardian-prover-health-check-ui/package.json +++ b/packages/guardian-prover-health-check-ui/package.json @@ -18,13 +18,13 @@ "devDependencies": { "@playwright/test": "^1.42.1", "@sveltejs/adapter-auto": "^3.1.1", - "@sveltejs/kit": "^2.5.0", - "@sveltejs/vite-plugin-svelte": "^3.0.2", + "@sveltejs/kit": "^2.5.5", + "@sveltejs/vite-plugin-svelte": "^3.1.0", "@tailwindcss/nesting": "0.0.0-insiders.565cd3e", "@typescript-eslint/eslint-plugin": "^7.4.0", "@typescript-eslint/parser": "^7.0.2", "autoprefixer": "^10.4.18", - "daisyui": "^4.7.2", + "daisyui": "^4.10.1", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-svelte": "^2.35.1", @@ -33,20 +33,20 @@ "postcss-nesting": "^12.1.0", "prettier": "^3.2.5", "prettier-plugin-svelte": "^3.2.2", - "svelte": "^4.2.12", + "svelte": "^4.2.13", "svelte-check": "^3.6.6", "tailwindcss": "^3.4.3", "tslib": "^2.6.2", "typescript": "^5.4.3", "vite": "^5.1.3", "vite-tsconfig-paths": "^4.3.2", - "vitest": "^0.32.4" + "vitest": "^1.5.0" }, "type": "module", "dependencies": { "@wagmi/core": "^2.6.9", "axios": "^1.6.7", "svelte-i18n": "^4.0.0", - "viem": "^1.21.4" + "viem": "^2.9.16" } } diff --git a/packages/guardian-prover-health-check-ui/src/abi/guardianProver.ts b/packages/guardian-prover-health-check-ui/src/abi/guardianProver.ts index 6e65bdecaa..602b2ac7d9 100644 --- a/packages/guardian-prover-health-check-ui/src/abi/guardianProver.ts +++ b/packages/guardian-prover-health-check-ui/src/abi/guardianProver.ts @@ -1,665 +1,741 @@ export const guardianProverABI = [ { - inputs: [], - name: 'INVALID_GUARDIAN', - type: 'error' + "type": "function", + "name": "acceptOwnership", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" }, { - inputs: [], - name: 'INVALID_GUARDIAN_SET', - type: 'error' - }, - { - inputs: [], - name: 'INVALID_MIN_GUARDIANS', - type: 'error' - }, - { - inputs: [], - name: 'INVALID_PAUSE_STATUS', - type: 'error' - }, - { - inputs: [], - name: 'INVALID_PROOF', - type: 'error' - }, - { - inputs: [], - name: 'PROVING_FAILED', - type: 'error' - }, - { - inputs: [], - name: 'REENTRANT_CALL', - type: 'error' - }, - { - inputs: [], - name: 'RESOLVER_DENIED', - type: 'error' - }, - { - inputs: [], - name: 'RESOLVER_INVALID_MANAGER', - type: 'error' - }, - { - inputs: [], - name: 'RESOLVER_UNEXPECTED_CHAINID', - type: 'error' + "type": "function", + "name": "addressManager", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" }, { - inputs: [ + "type": "function", + "name": "approve", + "inputs": [ + { + "name": "_meta", + "type": "tuple", + "internalType": "struct TaikoData.BlockMetadata", + "components": [ + { + "name": "l1Hash", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "difficulty", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "blobHash", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "extraData", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "depositsHash", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "coinbase", + "type": "address", + "internalType": "address" + }, + { + "name": "id", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "gasLimit", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "timestamp", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "l1Height", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "minTier", + "type": "uint16", + "internalType": "uint16" + }, + { + "name": "blobUsed", + "type": "bool", + "internalType": "bool" + }, + { + "name": "parentMetaHash", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "sender", + "type": "address", + "internalType": "address" + } + ] + }, { - internalType: 'uint64', - name: 'chainId', - type: 'uint64' + "name": "_tran", + "type": "tuple", + "internalType": "struct TaikoData.Transition", + "components": [ + { + "name": "parentHash", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "blockHash", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "stateRoot", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "graffiti", + "type": "bytes32", + "internalType": "bytes32" + } + ] }, { - internalType: 'string', - name: 'name', - type: 'string' + "name": "_proof", + "type": "tuple", + "internalType": "struct TaikoData.TierProof", + "components": [ + { + "name": "tier", + "type": "uint16", + "internalType": "uint16" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ], + "outputs": [ + { + "name": "approved_", + "type": "bool", + "internalType": "bool" } ], - name: 'RESOLVER_ZERO_ADDR', - type: 'error' + "stateMutability": "nonpayable" }, { - anonymous: false, - inputs: [ + "type": "function", + "name": "guardianIds", + "inputs": [ { - indexed: false, - internalType: 'address', - name: 'previousAdmin', - type: 'address' - }, + "name": "guardian", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ { - indexed: false, - internalType: 'address', - name: 'newAdmin', - type: 'address' + "name": "id", + "type": "uint256", + "internalType": "uint256" } ], - name: 'AdminChanged', - type: 'event' + "stateMutability": "view" }, { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: 'uint256', - name: 'operationId', - type: 'uint256' - }, + "type": "function", + "name": "guardians", + "inputs": [ { - indexed: false, - internalType: 'uint256', - name: 'approvalBits', - type: 'uint256' - }, + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ { - indexed: false, - internalType: 'bool', - name: 'proofSubmitted', - type: 'bool' + "name": "", + "type": "address", + "internalType": "address" } ], - name: 'Approved', - type: 'event' + "stateMutability": "view" }, { - anonymous: false, - inputs: [ + "type": "function", + "name": "init", + "inputs": [ { - indexed: true, - internalType: 'address', - name: 'beacon', - type: 'address' + "name": "_owner", + "type": "address", + "internalType": "address" + }, + { + "name": "_addressManager", + "type": "address", + "internalType": "address" } ], - name: 'BeaconUpgraded', - type: 'event' + "outputs": [], + "stateMutability": "nonpayable" }, { - anonymous: false, - inputs: [ + "type": "function", + "name": "isApproved", + "inputs": [ { - indexed: false, - internalType: 'uint32', - name: 'version', - type: 'uint32' - }, + "name": "_hash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ { - indexed: false, - internalType: 'address[]', - name: 'guardians', - type: 'address[]' + "name": "", + "type": "bool", + "internalType": "bool" } ], - name: 'GuardiansUpdated', - type: 'event' + "stateMutability": "view" }, { - anonymous: false, - inputs: [ + "type": "function", + "name": "lastUnpausedAt", + "inputs": [], + "outputs": [ { - indexed: false, - internalType: 'uint8', - name: 'version', - type: 'uint8' + "name": "", + "type": "uint64", + "internalType": "uint64" } ], - name: 'Initialized', - type: 'event' + "stateMutability": "view" }, { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: 'address', - name: 'previousOwner', - type: 'address' - }, + "type": "function", + "name": "minGuardians", + "inputs": [], + "outputs": [ { - indexed: true, - internalType: 'address', - name: 'newOwner', - type: 'address' + "name": "", + "type": "uint32", + "internalType": "uint32" } ], - name: 'OwnershipTransferred', - type: 'event' + "stateMutability": "view" }, { - anonymous: false, - inputs: [ + "type": "function", + "name": "numGuardians", + "inputs": [], + "outputs": [ { - indexed: false, - internalType: 'address', - name: 'account', - type: 'address' + "name": "", + "type": "uint256", + "internalType": "uint256" } ], - name: 'Paused', - type: 'event' + "stateMutability": "view" }, { - anonymous: false, - inputs: [ + "type": "function", + "name": "owner", + "inputs": [], + "outputs": [ { - indexed: false, - internalType: 'address', - name: 'account', - type: 'address' + "name": "", + "type": "address", + "internalType": "address" } ], - name: 'Unpaused', - type: 'event' + "stateMutability": "view" + }, + { + "type": "function", + "name": "pause", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" }, { - anonymous: false, - inputs: [ + "type": "function", + "name": "paused", + "inputs": [], + "outputs": [ { - indexed: true, - internalType: 'address', - name: 'implementation', - type: 'address' + "name": "", + "type": "bool", + "internalType": "bool" } ], - name: 'Upgraded', - type: 'event' + "stateMutability": "view" }, { - inputs: [], - name: 'MIN_NUM_GUARDIANS', - outputs: [ + "type": "function", + "name": "pendingOwner", + "inputs": [], + "outputs": [ { - internalType: 'uint256', - name: '', - type: 'uint256' + "name": "", + "type": "address", + "internalType": "address" } ], - stateMutability: 'view', - type: 'function' + "stateMutability": "view" }, { - inputs: [], - name: 'addressManager', - outputs: [ + "type": "function", + "name": "proxiableUUID", + "inputs": [], + "outputs": [ { - internalType: 'address', - name: '', - type: 'address' + "name": "", + "type": "bytes32", + "internalType": "bytes32" } ], - stateMutability: 'view', - type: 'function' + "stateMutability": "view" }, { - inputs: [ + "type": "function", + "name": "renounceOwnership", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "resolve", + "inputs": [ { - components: [ - { - internalType: 'bytes32', - name: 'l1Hash', - type: 'bytes32' - }, - { - internalType: 'bytes32', - name: 'difficulty', - type: 'bytes32' - }, - { - internalType: 'bytes32', - name: 'blobHash', - type: 'bytes32' - }, - { - internalType: 'bytes32', - name: 'extraData', - type: 'bytes32' - }, - { - internalType: 'bytes32', - name: 'depositsHash', - type: 'bytes32' - }, - { - internalType: 'address', - name: 'coinbase', - type: 'address' - }, - { - internalType: 'uint64', - name: 'id', - type: 'uint64' - }, - { - internalType: 'uint32', - name: 'gasLimit', - type: 'uint32' - }, - { - internalType: 'uint64', - name: 'timestamp', - type: 'uint64' - }, - { - internalType: 'uint64', - name: 'l1Height', - type: 'uint64' - }, - { - internalType: 'uint24', - name: 'txListByteOffset', - type: 'uint24' - }, - { - internalType: 'uint24', - name: 'txListByteSize', - type: 'uint24' - }, - { - internalType: 'uint16', - name: 'minTier', - type: 'uint16' - }, - { - internalType: 'bool', - name: 'blobUsed', - type: 'bool' - }, - { - internalType: 'bytes32', - name: 'parentMetaHash', - type: 'bytes32' - } - ], - internalType: 'struct TaikoData.BlockMetadata', - name: 'meta', - type: 'tuple' + "name": "_chainId", + "type": "uint64", + "internalType": "uint64" }, { - components: [ - { - internalType: 'bytes32', - name: 'parentHash', - type: 'bytes32' - }, - { - internalType: 'bytes32', - name: 'blockHash', - type: 'bytes32' - }, - { - internalType: 'bytes32', - name: 'signalRoot', - type: 'bytes32' - }, - { - internalType: 'bytes32', - name: 'graffiti', - type: 'bytes32' - } - ], - internalType: 'struct TaikoData.Transition', - name: 'tran', - type: 'tuple' + "name": "_name", + "type": "bytes32", + "internalType": "bytes32" }, { - components: [ - { - internalType: 'uint16', - name: 'tier', - type: 'uint16' - }, - { - internalType: 'bytes', - name: 'data', - type: 'bytes' - } - ], - internalType: 'struct TaikoData.TierProof', - name: 'proof', - type: 'tuple' + "name": "_allowZeroAddress", + "type": "bool", + "internalType": "bool" } ], - name: 'approve', - outputs: [ + "outputs": [ { - internalType: 'bool', - name: 'approved', - type: 'bool' + "name": "", + "type": "address", + "internalType": "address payable" } ], - stateMutability: 'nonpayable', - type: 'function' + "stateMutability": "view" }, { - inputs: [ + "type": "function", + "name": "resolve", + "inputs": [ + { + "name": "_name", + "type": "bytes32", + "internalType": "bytes32" + }, { - internalType: 'address', - name: 'guardian', - type: 'address' + "name": "_allowZeroAddress", + "type": "bool", + "internalType": "bool" } ], - name: 'guardianIds', - outputs: [ + "outputs": [ { - internalType: 'uint256', - name: 'id', - type: 'uint256' + "name": "", + "type": "address", + "internalType": "address payable" } ], - stateMutability: 'view', - type: 'function' + "stateMutability": "view" }, { - inputs: [ + "type": "function", + "name": "setGuardians", + "inputs": [ { - internalType: 'uint256', - name: '', - type: 'uint256' - } - ], - name: 'guardians', - outputs: [ + "name": "_newGuardians", + "type": "address[]", + "internalType": "address[]" + }, { - internalType: 'address', - name: '', - type: 'address' + "name": "_minGuardians", + "type": "uint8", + "internalType": "uint8" } ], - stateMutability: 'view', - type: 'function' + "outputs": [], + "stateMutability": "nonpayable" }, { - inputs: [ + "type": "function", + "name": "transferOwnership", + "inputs": [ { - internalType: 'address', - name: '_addressManager', - type: 'address' + "name": "newOwner", + "type": "address", + "internalType": "address" } ], - name: 'init', - outputs: [], - stateMutability: 'nonpayable', - type: 'function' + "outputs": [], + "stateMutability": "nonpayable" }, { - inputs: [ - { - internalType: 'bytes32', - name: 'hash', - type: 'bytes32' - } - ], - name: 'isApproved', - outputs: [ + "type": "function", + "name": "unpause", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "upgradeTo", + "inputs": [ { - internalType: 'bool', - name: '', - type: 'bool' + "name": "newImplementation", + "type": "address", + "internalType": "address" } ], - stateMutability: 'view', - type: 'function' + "outputs": [], + "stateMutability": "nonpayable" }, { - inputs: [], - name: 'minGuardians', - outputs: [ + "type": "function", + "name": "upgradeToAndCall", + "inputs": [ { - internalType: 'uint32', - name: '', - type: 'uint32' + "name": "newImplementation", + "type": "address", + "internalType": "address" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" } ], - stateMutability: 'view', - type: 'function' + "outputs": [], + "stateMutability": "payable" }, { - inputs: [], - name: 'numGuardians', - outputs: [ + "type": "function", + "name": "version", + "inputs": [], + "outputs": [ { - internalType: 'uint256', - name: '', - type: 'uint256' + "name": "", + "type": "uint32", + "internalType": "uint32" } ], - stateMutability: 'view', - type: 'function' + "stateMutability": "view" }, { - inputs: [], - name: 'owner', - outputs: [ + "type": "event", + "name": "AdminChanged", + "inputs": [ + { + "name": "previousAdmin", + "type": "address", + "indexed": false, + "internalType": "address" + }, { - internalType: 'address', - name: '', - type: 'address' + "name": "newAdmin", + "type": "address", + "indexed": false, + "internalType": "address" } ], - stateMutability: 'view', - type: 'function' - }, - { - inputs: [], - name: 'pause', - outputs: [], - stateMutability: 'nonpayable', - type: 'function' + "anonymous": false }, { - inputs: [], - name: 'paused', - outputs: [ + "type": "event", + "name": "Approved", + "inputs": [ + { + "name": "operationId", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + }, + { + "name": "approvalBits", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, { - internalType: 'bool', - name: '', - type: 'bool' + "name": "minGuardiansReached", + "type": "bool", + "indexed": false, + "internalType": "bool" } ], - stateMutability: 'view', - type: 'function' + "anonymous": false }, { - inputs: [], - name: 'proxiableUUID', - outputs: [ + "type": "event", + "name": "BeaconUpgraded", + "inputs": [ { - internalType: 'bytes32', - name: '', - type: 'bytes32' + "name": "beacon", + "type": "address", + "indexed": true, + "internalType": "address" } ], - stateMutability: 'view', - type: 'function' - }, - { - inputs: [], - name: 'renounceOwnership', - outputs: [], - stateMutability: 'nonpayable', - type: 'function' + "anonymous": false }, { - inputs: [ + "type": "event", + "name": "GuardianApproval", + "inputs": [ { - internalType: 'uint64', - name: 'chainId', - type: 'uint64' + "name": "addr", + "type": "address", + "indexed": true, + "internalType": "address" }, { - internalType: 'bytes32', - name: 'name', - type: 'bytes32' + "name": "blockId", + "type": "uint256", + "indexed": true, + "internalType": "uint256" }, { - internalType: 'bool', - name: 'allowZeroAddress', - type: 'bool' - } - ], - name: 'resolve', - outputs: [ + "name": "blockHash", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, { - internalType: 'address payable', - name: 'addr', - type: 'address' + "name": "approved", + "type": "bool", + "indexed": false, + "internalType": "bool" + }, + { + "name": "proofData", + "type": "bytes", + "indexed": false, + "internalType": "bytes" } ], - stateMutability: 'view', - type: 'function' + "anonymous": false }, { - inputs: [ + "type": "event", + "name": "GuardiansUpdated", + "inputs": [ { - internalType: 'bytes32', - name: 'name', - type: 'bytes32' + "name": "version", + "type": "uint32", + "indexed": false, + "internalType": "uint32" }, { - internalType: 'bool', - name: 'allowZeroAddress', - type: 'bool' + "name": "guardians", + "type": "address[]", + "indexed": false, + "internalType": "address[]" } ], - name: 'resolve', - outputs: [ + "anonymous": false + }, + { + "type": "event", + "name": "Initialized", + "inputs": [ { - internalType: 'address payable', - name: 'addr', - type: 'address' + "name": "version", + "type": "uint8", + "indexed": false, + "internalType": "uint8" } ], - stateMutability: 'view', - type: 'function' + "anonymous": false }, { - inputs: [ + "type": "event", + "name": "OwnershipTransferStarted", + "inputs": [ { - internalType: 'address[]', - name: '_guardians', - type: 'address[]' + "name": "previousOwner", + "type": "address", + "indexed": true, + "internalType": "address" }, { - internalType: 'uint8', - name: '_minGuardians', - type: 'uint8' + "name": "newOwner", + "type": "address", + "indexed": true, + "internalType": "address" } ], - name: 'setGuardians', - outputs: [], - stateMutability: 'nonpayable', - type: 'function' + "anonymous": false }, { - inputs: [ + "type": "event", + "name": "OwnershipTransferred", + "inputs": [ + { + "name": "previousOwner", + "type": "address", + "indexed": true, + "internalType": "address" + }, { - internalType: 'address', - name: 'newOwner', - type: 'address' + "name": "newOwner", + "type": "address", + "indexed": true, + "internalType": "address" } ], - name: 'transferOwnership', - outputs: [], - stateMutability: 'nonpayable', - type: 'function' + "anonymous": false }, { - inputs: [], - name: 'unpause', - outputs: [], - stateMutability: 'nonpayable', - type: 'function' + "type": "event", + "name": "Paused", + "inputs": [ + { + "name": "account", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false }, { - inputs: [ + "type": "event", + "name": "Unpaused", + "inputs": [ { - internalType: 'address', - name: 'newImplementation', - type: 'address' + "name": "account", + "type": "address", + "indexed": false, + "internalType": "address" } ], - name: 'upgradeTo', - outputs: [], - stateMutability: 'nonpayable', - type: 'function' + "anonymous": false }, { - inputs: [ - { - internalType: 'address', - name: 'newImplementation', - type: 'address' - }, + "type": "event", + "name": "Upgraded", + "inputs": [ { - internalType: 'bytes', - name: 'data', - type: 'bytes' + "name": "implementation", + "type": "address", + "indexed": true, + "internalType": "address" } ], - name: 'upgradeToAndCall', - outputs: [], - stateMutability: 'payable', - type: 'function' + "anonymous": false }, { - inputs: [], - name: 'version', - outputs: [ + "type": "error", + "name": "INVALID_GUARDIAN", + "inputs": [] + }, + { + "type": "error", + "name": "INVALID_GUARDIAN_SET", + "inputs": [] + }, + { + "type": "error", + "name": "INVALID_MIN_GUARDIANS", + "inputs": [] + }, + { + "type": "error", + "name": "INVALID_PAUSE_STATUS", + "inputs": [] + }, + { + "type": "error", + "name": "INVALID_PROOF", + "inputs": [] + }, + { + "type": "error", + "name": "REENTRANT_CALL", + "inputs": [] + }, + { + "type": "error", + "name": "RESOLVER_DENIED", + "inputs": [] + }, + { + "type": "error", + "name": "RESOLVER_INVALID_MANAGER", + "inputs": [] + }, + { + "type": "error", + "name": "RESOLVER_UNEXPECTED_CHAINID", + "inputs": [] + }, + { + "type": "error", + "name": "RESOLVER_ZERO_ADDR", + "inputs": [ { - internalType: 'uint32', - name: '', - type: 'uint32' + "name": "chainId", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "name", + "type": "bytes32", + "internalType": "bytes32" } - ], - stateMutability: 'view', - type: 'function' + ] + }, + { + "type": "error", + "name": "ZERO_ADDR_MANAGER", + "inputs": [] } ]; diff --git a/packages/guardian-prover-health-check-ui/src/lib/guardianProver/fetchGuardianProversFromContract.ts b/packages/guardian-prover-health-check-ui/src/lib/guardianProver/fetchGuardianProversFromContract.ts index 9369b867ea..ac4cb149d7 100644 --- a/packages/guardian-prover-health-check-ui/src/lib/guardianProver/fetchGuardianProversFromContract.ts +++ b/packages/guardian-prover-health-check-ui/src/lib/guardianProver/fetchGuardianProversFromContract.ts @@ -1,7 +1,7 @@ import { guardianProverABI } from '$abi'; import { GuardianProverStatus, type Guardian } from '$lib/types'; import { publicClient } from '$lib/wagmi/publicClient'; -import type { Address } from '@wagmi/core'; +import type { Address } from 'viem'; const contractAddress = import.meta.env.VITE_GUARDIAN_PROVER_CONTRACT_ADDRESS; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bdfe5ca6db..4ccdc710fd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -59,7 +59,7 @@ importers: version: 3.7.4(svelte@4.2.12) viem: specifier: ^2.7.11 - version: 2.7.11(typescript@5.4.3)(zod@3.22.4) + version: 2.7.11(typescript@5.4.3) devDependencies: '@playwright/test': specifier: ^1.42.1 @@ -180,29 +180,29 @@ importers: dependencies: '@wagmi/core': specifier: ^2.6.9 - version: 2.6.9(react@18.2.0)(typescript@5.4.3)(viem@1.21.4) + version: 2.6.9(react@18.2.0)(typescript@5.4.3)(viem@2.9.16) axios: specifier: ^1.6.7 version: 1.6.7(debug@4.3.4) svelte-i18n: specifier: ^4.0.0 - version: 4.0.0(svelte@4.2.12) + version: 4.0.0(svelte@4.2.13) viem: - specifier: ^1.21.4 - version: 1.21.4(typescript@5.4.3) + specifier: ^2.9.16 + version: 2.9.16(typescript@5.4.3)(zod@3.22.4) devDependencies: '@playwright/test': specifier: ^1.42.1 version: 1.42.1 '@sveltejs/adapter-auto': specifier: ^3.1.1 - version: 3.1.1(@sveltejs/kit@2.5.0) + version: 3.1.1(@sveltejs/kit@2.5.5) '@sveltejs/kit': - specifier: ^2.5.0 - version: 2.5.0(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.12)(vite@5.1.3) + specifier: ^2.5.5 + version: 2.5.5(@sveltejs/vite-plugin-svelte@3.1.0)(svelte@4.2.13)(vite@5.1.3) '@sveltejs/vite-plugin-svelte': - specifier: ^3.0.2 - version: 3.0.2(svelte@4.2.12)(vite@5.1.3) + specifier: ^3.1.0 + version: 3.1.0(svelte@4.2.13)(vite@5.1.3) '@tailwindcss/nesting': specifier: 0.0.0-insiders.565cd3e version: 0.0.0-insiders.565cd3e(postcss@8.4.35) @@ -216,8 +216,8 @@ importers: specifier: ^10.4.18 version: 10.4.18(postcss@8.4.35) daisyui: - specifier: ^4.7.2 - version: 4.7.2(postcss@8.4.35) + specifier: ^4.10.1 + version: 4.10.1(postcss@8.4.35) eslint: specifier: ^8.56.0 version: 8.56.0 @@ -226,7 +226,7 @@ importers: version: 9.1.0(eslint@8.56.0) eslint-plugin-svelte: specifier: ^2.35.1 - version: 2.35.1(eslint@8.56.0)(svelte@4.2.12) + version: 2.35.1(eslint@8.56.0)(svelte@4.2.13) postcss: specifier: ^8.4.35 version: 8.4.35 @@ -241,13 +241,13 @@ importers: version: 3.2.5 prettier-plugin-svelte: specifier: ^3.2.2 - version: 3.2.2(prettier@3.2.5)(svelte@4.2.12) + version: 3.2.2(prettier@3.2.5)(svelte@4.2.13) svelte: - specifier: ^4.2.12 - version: 4.2.12 + specifier: ^4.2.13 + version: 4.2.13 svelte-check: specifier: ^3.6.6 - version: 3.6.6(@babel/core@7.23.9)(postcss@8.4.35)(svelte@4.2.12) + version: 3.6.6(postcss@8.4.35)(svelte@4.2.13) tailwindcss: specifier: ^3.4.3 version: 3.4.3 @@ -264,8 +264,8 @@ importers: specifier: ^4.3.2 version: 4.3.2(typescript@5.4.3)(vite@5.1.3) vitest: - specifier: ^0.32.4 - version: 0.32.4(jsdom@24.0.0) + specifier: ^1.5.0 + version: 1.5.0 packages/protocol: dependencies: @@ -4174,12 +4174,12 @@ packages: import-meta-resolve: 4.0.0 dev: true - /@sveltejs/adapter-auto@3.1.1(@sveltejs/kit@2.5.0): + /@sveltejs/adapter-auto@3.1.1(@sveltejs/kit@2.5.5): resolution: {integrity: sha512-6LeZft2Fo/4HfmLBi5CucMYmgRxgcETweQl/yQoZo/895K3S9YWYN4Sfm/IhwlIpbJp3QNvhKmwCHbsqQNYQpw==} peerDependencies: '@sveltejs/kit': ^2.0.0 dependencies: - '@sveltejs/kit': 2.5.0(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.12)(vite@5.1.3) + '@sveltejs/kit': 2.5.5(@sveltejs/vite-plugin-svelte@3.1.0)(svelte@4.2.13)(vite@5.1.3) import-meta-resolve: 4.0.0 dev: true @@ -4219,8 +4219,8 @@ packages: - supports-color dev: true - /@sveltejs/kit@2.5.0(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.12)(vite@5.1.3): - resolution: {integrity: sha512-1uyXvzC2Lu1FZa30T4y5jUAC21R309ZMRG0TPt+PPPbNUoDpy8zSmSNVWYaBWxYDqLGQ5oPNWvjvvF2IjJ1jmA==} + /@sveltejs/kit@2.5.5(@sveltejs/vite-plugin-svelte@3.1.0)(svelte@4.2.13)(vite@5.1.3): + resolution: {integrity: sha512-ULe3PB00q4+wYRL+IS5FDPsCEVnhEITofm7b9Yz8malcH3r1SAnW/JJ6T13hIMeu8QNRIuVQWo+P4+2VklbnLQ==} engines: {node: '>=18.13'} hasBin: true requiresBuild: true @@ -4229,7 +4229,7 @@ packages: svelte: ^4.0.0 || ^5.0.0-next.0 vite: ^5.0.3 dependencies: - '@sveltejs/vite-plugin-svelte': 3.0.2(svelte@4.2.12)(vite@5.1.3) + '@sveltejs/vite-plugin-svelte': 3.1.0(svelte@4.2.13)(vite@5.1.3) '@types/cookie': 0.6.0 cookie: 0.6.0 devalue: 4.3.2 @@ -4241,7 +4241,7 @@ packages: sade: 1.8.1 set-cookie-parser: 2.6.0 sirv: 2.0.4 - svelte: 4.2.12 + svelte: 4.2.13 tiny-glob: 0.2.9 vite: 5.1.3 dev: true @@ -4262,7 +4262,7 @@ packages: - supports-color dev: true - /@sveltejs/vite-plugin-svelte-inspector@2.0.0(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.12)(vite@5.1.3): + /@sveltejs/vite-plugin-svelte-inspector@2.0.0(@sveltejs/vite-plugin-svelte@3.1.0)(svelte@4.2.13)(vite@5.1.3): resolution: {integrity: sha512-gjr9ZFg1BSlIpfZ4PRewigrvYmHWbDrq2uvvPB1AmTWKuM+dI1JXQSUu2pIrYLb/QncyiIGkFDFKTwJ0XqQZZg==} engines: {node: ^18.0.0 || >=20} peerDependencies: @@ -4270,9 +4270,9 @@ packages: svelte: ^4.0.0 || ^5.0.0-next.0 vite: ^5.0.0 dependencies: - '@sveltejs/vite-plugin-svelte': 3.0.2(svelte@4.2.12)(vite@5.1.3) + '@sveltejs/vite-plugin-svelte': 3.1.0(svelte@4.2.13)(vite@5.1.3) debug: 4.3.4 - svelte: 4.2.12 + svelte: 4.2.13 vite: 5.1.3 transitivePeerDependencies: - supports-color @@ -4298,20 +4298,20 @@ packages: - supports-color dev: true - /@sveltejs/vite-plugin-svelte@3.0.2(svelte@4.2.12)(vite@5.1.3): - resolution: {integrity: sha512-MpmF/cju2HqUls50WyTHQBZUV3ovV/Uk8k66AN2gwHogNAG8wnW8xtZDhzNBsFJJuvmq1qnzA5kE7YfMJNFv2Q==} + /@sveltejs/vite-plugin-svelte@3.1.0(svelte@4.2.13)(vite@5.1.3): + resolution: {integrity: sha512-sY6ncCvg+O3njnzbZexcVtUqOBE3iYmQPJ9y+yXSkOwG576QI/xJrBnQSRXFLGwJNBa0T78JEKg5cIR0WOAuUw==} engines: {node: ^18.0.0 || >=20} peerDependencies: svelte: ^4.0.0 || ^5.0.0-next.0 vite: ^5.0.0 dependencies: - '@sveltejs/vite-plugin-svelte-inspector': 2.0.0(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.12)(vite@5.1.3) + '@sveltejs/vite-plugin-svelte-inspector': 2.0.0(@sveltejs/vite-plugin-svelte@3.1.0)(svelte@4.2.13)(vite@5.1.3) debug: 4.3.4 deepmerge: 4.3.1 kleur: 4.1.5 - magic-string: 0.30.7 - svelte: 4.2.12 - svelte-hmr: 0.15.3(svelte@4.2.12) + magic-string: 0.30.9 + svelte: 4.2.13 + svelte-hmr: 0.16.0(svelte@4.2.13) vite: 5.1.3 vitefu: 0.2.5(vite@5.1.3) transitivePeerDependencies: @@ -4791,6 +4791,14 @@ packages: chai: 4.4.1 dev: true + /@vitest/expect@1.5.0: + resolution: {integrity: sha512-0pzuCI6KYi2SIC3LQezmxujU9RK/vwC1U9R0rLuGlNGcOuDWxqWKu6nUdFsX9tH1WU0SXtAxToOsEjeUn1s3hA==} + dependencies: + '@vitest/spy': 1.5.0 + '@vitest/utils': 1.5.0 + chai: 4.4.1 + dev: true + /@vitest/runner@0.32.4: resolution: {integrity: sha512-cHOVCkiRazobgdKLnczmz2oaKK9GJOw6ZyRcaPdssO1ej+wzHVIkWiCiNacb3TTYPdzMddYkCgMjZ4r8C0JFCw==} dependencies: @@ -4799,6 +4807,14 @@ packages: pathe: 1.1.2 dev: true + /@vitest/runner@1.5.0: + resolution: {integrity: sha512-7HWwdxXP5yDoe7DTpbif9l6ZmDwCzcSIK38kTSIt6CFEpMjX4EpCgT6wUmS0xTXqMI6E/ONmfgRKmaujpabjZQ==} + dependencies: + '@vitest/utils': 1.5.0 + p-limit: 5.0.0 + pathe: 1.1.2 + dev: true + /@vitest/snapshot@0.32.4: resolution: {integrity: sha512-IRpyqn9t14uqsFlVI2d7DFMImGMs1Q9218of40bdQQgMePwVdmix33yMNnebXcTzDU5eiV3eUsoxxH5v0x/IQA==} dependencies: @@ -4807,12 +4823,26 @@ packages: pretty-format: 29.7.0 dev: true + /@vitest/snapshot@1.5.0: + resolution: {integrity: sha512-qpv3fSEuNrhAO3FpH6YYRdaECnnRjg9VxbhdtPwPRnzSfHVXnNzzrpX4cJxqiwgRMo7uRMWDFBlsBq4Cr+rO3A==} + dependencies: + magic-string: 0.30.7 + pathe: 1.1.2 + pretty-format: 29.7.0 + dev: true + /@vitest/spy@0.32.4: resolution: {integrity: sha512-oA7rCOqVOOpE6rEoXuCOADX7Lla1LIa4hljI2MSccbpec54q+oifhziZIJXxlE/CvI2E+ElhBHzVu0VEvJGQKQ==} dependencies: tinyspy: 2.2.0 dev: true + /@vitest/spy@1.5.0: + resolution: {integrity: sha512-vu6vi6ew5N5MMHJjD5PoakMRKYdmIrNJmyfkhRpQt5d9Ewhw9nZ5Aqynbi3N61bvk9UvZ5UysMT6ayIrZ8GA9w==} + dependencies: + tinyspy: 2.2.0 + dev: true + /@vitest/utils@0.32.4: resolution: {integrity: sha512-Gwnl8dhd1uJ+HXrYyV0eRqfmk9ek1ASE/LWfTCuWMw+d07ogHqp4hEAV28NiecimK6UY9DpSEPh+pXBA5gtTBg==} dependencies: @@ -4821,6 +4851,15 @@ packages: pretty-format: 29.7.0 dev: true + /@vitest/utils@1.5.0: + resolution: {integrity: sha512-BDU0GNL8MWkRkSRdNFvCUCAVOeHaUlVJ9Tx0TYBZyXaaOTmGtUFObzchCivIBrIwKzvZA7A9sCejVhXM2aY98A==} + dependencies: + diff-sequences: 29.6.3 + estree-walker: 3.0.3 + loupe: 2.3.7 + pretty-format: 29.7.0 + dev: true + /@vue/compiler-core@3.4.19: resolution: {integrity: sha512-gj81785z0JNzRcU0Mq98E56e4ltO1yf8k5PQ+tV/7YHnbZkrM0fyFyuttnN8ngJZjbpofWE/m4qjKBiLl8Ju4w==} requiresBuild: true @@ -4930,7 +4969,7 @@ packages: picocolors: 1.0.0 prettier: 3.2.5 typescript: 5.4.3 - viem: 2.7.11(typescript@5.4.3)(zod@3.22.4) + viem: 2.9.16(typescript@5.4.3)(zod@3.22.4) zod: 3.22.4 transitivePeerDependencies: - bufferutil @@ -4955,7 +4994,7 @@ packages: '@walletconnect/ethereum-provider': 2.11.2(react@18.2.0) '@walletconnect/modal': 2.6.2(react@18.2.0) typescript: 5.4.3 - viem: 2.7.11(typescript@5.4.3)(zod@3.22.4) + viem: 2.7.11(typescript@5.4.3) transitivePeerDependencies: - '@azure/app-configuration' - '@azure/cosmos' @@ -4981,7 +5020,7 @@ packages: - zod dev: false - /@wagmi/core@2.6.9(react@18.2.0)(typescript@5.4.3)(viem@1.21.4): + /@wagmi/core@2.6.9(react@18.2.0)(typescript@5.4.3)(viem@2.7.11): resolution: {integrity: sha512-AbNbHK+m60mfMTds0flv5YYJGp+JSz8O8ikzX+T7MdemFrYA9tZr6G+iSEnf+JLtcgiaCgQqUwac/WmmTkDiMA==} peerDependencies: '@tanstack/query-core': '>=5.0.0' @@ -4996,7 +5035,7 @@ packages: eventemitter3: 5.0.1 mipd: 0.0.5(typescript@5.4.3) typescript: 5.4.3 - viem: 1.21.4(typescript@5.4.3) + viem: 2.7.11(typescript@5.4.3) zustand: 4.4.1(react@18.2.0) transitivePeerDependencies: - '@types/react' @@ -5007,7 +5046,7 @@ packages: - zod dev: false - /@wagmi/core@2.6.9(react@18.2.0)(typescript@5.4.3)(viem@2.7.11): + /@wagmi/core@2.6.9(react@18.2.0)(typescript@5.4.3)(viem@2.9.16): resolution: {integrity: sha512-AbNbHK+m60mfMTds0flv5YYJGp+JSz8O8ikzX+T7MdemFrYA9tZr6G+iSEnf+JLtcgiaCgQqUwac/WmmTkDiMA==} peerDependencies: '@tanstack/query-core': '>=5.0.0' @@ -5022,7 +5061,7 @@ packages: eventemitter3: 5.0.1 mipd: 0.0.5(typescript@5.4.3) typescript: 5.4.3 - viem: 2.7.11(typescript@5.4.3)(zod@3.22.4) + viem: 2.9.16(typescript@5.4.3)(zod@3.22.4) zustand: 4.4.1(react@18.2.0) transitivePeerDependencies: - '@types/react' @@ -5658,6 +5697,9 @@ packages: resolution: {integrity: sha512-GBryCiyl+taz5DPq0expxzfMVcrpKjWvEBSAqT1tPUSthnzOWnVF77XlUAYgFZqzPsEu9lQ1dHCdqZx7WWMCXA==} peerDependencies: '@web3modal/wallet': 4.1.1 + peerDependenciesMeta: + '@web3modal/siwe': + optional: true dependencies: '@web3modal/common': 4.1.1 '@web3modal/core': 4.1.1(react@18.2.0) @@ -5698,6 +5740,15 @@ packages: '@wagmi/connectors': '>=4.0.0' '@wagmi/core': '>=2.0.0' viem: '>=2.0.0' + peerDependenciesMeta: + '@web3modal/siwe': + optional: true + react: + optional: true + react-dom: + optional: true + vue: + optional: true dependencies: '@wagmi/connectors': 4.1.18(@wagmi/core@2.6.9)(react-dom@18.2.0)(react-native@0.73.4)(react@18.2.0)(typescript@5.4.3)(viem@2.7.11) '@wagmi/core': 2.6.9(react@18.2.0)(typescript@5.4.3)(viem@2.7.11) @@ -5706,7 +5757,7 @@ packages: '@web3modal/scaffold-react': 4.1.1(@web3modal/wallet@4.1.1)(react-dom@18.2.0)(react@18.2.0) '@web3modal/scaffold-utils': 4.1.1(react@18.2.0) '@web3modal/scaffold-vue': 4.1.1(@web3modal/wallet@4.1.1)(react@18.2.0)(vue@3.4.19) - viem: 2.7.11(typescript@5.4.3)(zod@3.22.4) + viem: 2.7.11(typescript@5.4.3) optionalDependencies: '@web3modal/siwe': 4.1.1(react@18.2.0) react: 18.2.0 @@ -6897,6 +6948,18 @@ packages: type: 1.2.0 dev: false + /daisyui@4.10.1(postcss@8.4.35): + resolution: {integrity: sha512-Ds0Z0Fv+Xf6ZEqV4Q5JIOeKfg83xxnww0Lzid0V94vPtlQ0yYmucEa33zSctsX2VEgBALtmk5zVEqd59pnUbuQ==} + engines: {node: '>=16.9.0'} + dependencies: + css-selector-tokenizer: 0.8.0 + culori: 3.3.0 + picocolors: 1.0.0 + postcss-js: 4.0.1(postcss@8.4.35) + transitivePeerDependencies: + - postcss + dev: true + /daisyui@4.7.2(postcss@8.4.35): resolution: {integrity: sha512-9UCss12Zmyk/22u+JbkVrHHxOzFOyY17HuqP5LeswI4hclbj6qbjJTovdj2zRy8cCH6/n6Wh0lTLjriGnyGh0g==} engines: {node: '>=16.9.0'} @@ -7741,6 +7804,35 @@ packages: - ts-node dev: true + /eslint-plugin-svelte@2.35.1(eslint@8.56.0)(svelte@4.2.13): + resolution: {integrity: sha512-IF8TpLnROSGy98Z3NrsKXWDSCbNY2ReHDcrYTuXZMbfX7VmESISR78TWgO9zdg4Dht1X8coub5jKwHzP0ExRug==} + engines: {node: ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: ^7.0.0 || ^8.0.0-0 + svelte: ^3.37.0 || ^4.0.0 + peerDependenciesMeta: + svelte: + optional: true + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) + '@jridgewell/sourcemap-codec': 1.4.15 + debug: 4.3.4 + eslint: 8.56.0 + eslint-compat-utils: 0.1.2(eslint@8.56.0) + esutils: 2.0.3 + known-css-properties: 0.29.0 + postcss: 8.4.35 + postcss-load-config: 3.1.4(postcss@8.4.35) + postcss-safe-parser: 6.0.0(postcss@8.4.35) + postcss-selector-parser: 6.0.15 + semver: 7.6.0 + svelte: 4.2.13 + svelte-eslint-parser: 0.33.1(svelte@4.2.13) + transitivePeerDependencies: + - supports-color + - ts-node + dev: true + /eslint-scope@7.2.2: resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -9759,6 +9851,14 @@ packages: engines: {node: '>=14'} dev: true + /local-pkg@0.5.0: + resolution: {integrity: sha512-ok6z3qlYyCDS4ZEU27HaU6x/xZa9Whf8jD4ptH5UZTQYZVYeb9bnZ3ojVhiJNLiXK1Hfc0GNbLXcmZ5plLDDBg==} + engines: {node: '>=14'} + dependencies: + mlly: 1.5.0 + pkg-types: 1.0.3 + dev: true + /locate-character@3.0.0: resolution: {integrity: sha512-SW13ws7BjaeJ6p7Q6CO2nchbYEc3X3J6WrmTTDto7yMPqVSZTUyY5Tjbid+Ab8gLnATtygYtiDIJGQRRn2ZOiA==} @@ -9902,6 +10002,13 @@ packages: dependencies: '@jridgewell/sourcemap-codec': 1.4.15 + /magic-string@0.30.9: + resolution: {integrity: sha512-S1+hd+dIrC8EZqKyT9DstTH/0Z+f76kmmvZnkfQVmOpDEF9iVgdYif3Q/pIWHmCoo59bQVGW0kVL3e2nl+9+Sw==} + engines: {node: '>=12'} + dependencies: + '@jridgewell/sourcemap-codec': 1.4.15 + dev: true + /magicast@0.3.3: resolution: {integrity: sha512-ZbrP1Qxnpoes8sz47AM0z08U+jW6TyRgZzcWy3Ma3vDhJttwMwAFDMMQFobwdBxByBD46JYmxRzeF7w2+wJEuw==} dependencies: @@ -10758,6 +10865,13 @@ packages: yocto-queue: 1.0.0 dev: true + /p-limit@5.0.0: + resolution: {integrity: sha512-/Eaoq+QyLSiXQ4lyYV23f14mZRQcXnxfHrN0vCai+ak9G0pp9iEQukIIZq5NccEvwRB8PUnZT0KsOoDCINS1qQ==} + engines: {node: '>=18'} + dependencies: + yocto-queue: 1.0.0 + dev: true + /p-locate@3.0.0: resolution: {integrity: sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==} engines: {node: '>=6'} @@ -11182,6 +11296,16 @@ packages: svelte: 4.2.12 dev: true + /prettier-plugin-svelte@3.2.2(prettier@3.2.5)(svelte@4.2.13): + resolution: {integrity: sha512-ZzzE/wMuf48/1+Lf2Ffko0uDa6pyCfgHV6+uAhtg2U0AAXGrhCSW88vEJNAkAxW5qyrFY1y1zZ4J8TgHrjW++Q==} + peerDependencies: + prettier: ^3.0.0 + svelte: ^3.2.0 || ^4.0.0-next.0 || ^5.0.0-next.0 + dependencies: + prettier: 3.2.5 + svelte: 4.2.13 + dev: true + /prettier@2.8.8: resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==} engines: {node: '>=10.13.0'} @@ -12466,6 +12590,33 @@ packages: - sugarss dev: true + /svelte-check@3.6.6(postcss@8.4.35)(svelte@4.2.13): + resolution: {integrity: sha512-b9q9rOHOMYF3U8XllK7LmXTq1LeWQ98waGfEJzrFutViadkNl1tgdEtxIQ8yuPx+VQ4l7YrknYol+0lfZocaZw==} + hasBin: true + peerDependencies: + svelte: ^3.55.0 || ^4.0.0-next.0 || ^4.0.0 || ^5.0.0-next.0 + dependencies: + '@jridgewell/trace-mapping': 0.3.22 + chokidar: 3.6.0 + fast-glob: 3.3.2 + import-fresh: 3.3.0 + picocolors: 1.0.0 + sade: 1.8.1 + svelte: 4.2.13 + svelte-preprocess: 5.1.3(postcss@8.4.35)(svelte@4.2.13)(typescript@5.4.3) + typescript: 5.4.3 + transitivePeerDependencies: + - '@babel/core' + - coffeescript + - less + - postcss + - postcss-load-config + - pug + - sass + - stylus + - sugarss + dev: true + /svelte-eslint-parser@0.33.1(svelte@4.2.12): resolution: {integrity: sha512-vo7xPGTlKBGdLH8T5L64FipvTrqv3OQRx9d2z5X05KKZDlF4rQk8KViZO4flKERY+5BiVdOh7zZ7JGJWo5P0uA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -12483,6 +12634,23 @@ packages: svelte: 4.2.12 dev: true + /svelte-eslint-parser@0.33.1(svelte@4.2.13): + resolution: {integrity: sha512-vo7xPGTlKBGdLH8T5L64FipvTrqv3OQRx9d2z5X05KKZDlF4rQk8KViZO4flKERY+5BiVdOh7zZ7JGJWo5P0uA==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + svelte: ^3.37.0 || ^4.0.0 + peerDependenciesMeta: + svelte: + optional: true + dependencies: + eslint-scope: 7.2.2 + eslint-visitor-keys: 3.4.3 + espree: 9.6.1 + postcss: 8.4.35 + postcss-scss: 4.0.9(postcss@8.4.35) + svelte: 4.2.13 + dev: true + /svelte-hmr@0.15.3(svelte@4.2.12): resolution: {integrity: sha512-41snaPswvSf8TJUhlkoJBekRrABDXDMdpNpT2tfHIv4JuhgvHqLMhEPGtaQn0BmbNSTkuz2Ed20DF2eHw0SmBQ==} engines: {node: ^12.20 || ^14.13.1 || >= 16} @@ -12492,6 +12660,15 @@ packages: svelte: 4.2.12 dev: true + /svelte-hmr@0.16.0(svelte@4.2.13): + resolution: {integrity: sha512-Gyc7cOS3VJzLlfj7wKS0ZnzDVdv3Pn2IuVeJPk9m2skfhcu5bq3wtIZyQGggr7/Iim5rH5cncyQft/kRLupcnA==} + engines: {node: ^12.20 || ^14.13.1 || >= 16} + peerDependencies: + svelte: ^3.19.0 || ^4.0.0 + dependencies: + svelte: 4.2.13 + dev: true + /svelte-i18n@3.7.4(svelte@4.2.12): resolution: {integrity: sha512-yGRCNo+eBT4cPuU7IVsYTYjxB7I2V8qgUZPlHnNctJj5IgbJgV78flsRzpjZ/8iUYZrS49oCt7uxlU3AZv/N5Q==} engines: {node: '>= 16'} @@ -12509,7 +12686,7 @@ packages: tiny-glob: 0.2.9 dev: false - /svelte-i18n@4.0.0(svelte@4.2.12): + /svelte-i18n@4.0.0(svelte@4.2.13): resolution: {integrity: sha512-4vivjKZADUMRIhTs38JuBNy3unbnh9AFRxWFLxq62P4NHic+/BaIZZlAsvqsCdnp7IdJf5EoSiH6TNdItcjA6g==} engines: {node: '>= 16'} hasBin: true @@ -12522,7 +12699,7 @@ packages: estree-walker: 2.0.2 intl-messageformat: 10.5.11 sade: 1.8.1 - svelte: 4.2.12 + svelte: 4.2.13 tiny-glob: 0.2.9 dev: false @@ -12575,6 +12752,54 @@ packages: typescript: 5.4.3 dev: true + /svelte-preprocess@5.1.3(postcss@8.4.35)(svelte@4.2.13)(typescript@5.4.3): + resolution: {integrity: sha512-xxAkmxGHT+J/GourS5mVJeOXZzne1FR5ljeOUAMXUkfEhkLEllRreXpbl3dIYJlcJRfL1LO1uIAPpBpBfiqGPw==} + engines: {node: '>= 16.0.0', pnpm: ^8.0.0} + requiresBuild: true + peerDependencies: + '@babel/core': ^7.10.2 + coffeescript: ^2.5.1 + less: ^3.11.3 || ^4.0.0 + postcss: ^7 || ^8 + postcss-load-config: ^2.1.0 || ^3.0.0 || ^4.0.0 || ^5.0.0 + pug: ^3.0.0 + sass: ^1.26.8 + stylus: ^0.55.0 + sugarss: ^2.0.0 || ^3.0.0 || ^4.0.0 + svelte: ^3.23.0 || ^4.0.0-next.0 || ^4.0.0 || ^5.0.0-next.0 + typescript: '>=3.9.5 || ^4.0.0 || ^5.0.0' + peerDependenciesMeta: + '@babel/core': + optional: true + coffeescript: + optional: true + less: + optional: true + postcss: + optional: true + postcss-load-config: + optional: true + pug: + optional: true + sass: + optional: true + stylus: + optional: true + sugarss: + optional: true + typescript: + optional: true + dependencies: + '@types/pug': 2.0.10 + detect-indent: 6.1.0 + magic-string: 0.30.7 + postcss: 8.4.35 + sorcery: 0.11.0 + strip-indent: 3.0.0 + svelte: 4.2.13 + typescript: 5.4.3 + dev: true + /svelte@4.2.12: resolution: {integrity: sha512-d8+wsh5TfPwqVzbm4/HCXC783/KPHV60NvwitJnyTA5lWn1elhXMNWhXGCJ7PwPa8qFUnyJNIyuIRt2mT0WMug==} engines: {node: '>=16'} @@ -12594,6 +12819,25 @@ packages: magic-string: 0.30.7 periscopic: 3.1.0 + /svelte@4.2.13: + resolution: {integrity: sha512-jtVt2KXLbQnsWN93Zd7EVboNh8Tqexes4rZfXNP7nYRjd9+JjubTD8BXloUmU1OUYpc6pdd1aKBhCV+b2ZKoMg==} + engines: {node: '>=16'} + dependencies: + '@ampproject/remapping': 2.2.1 + '@jridgewell/sourcemap-codec': 1.4.15 + '@jridgewell/trace-mapping': 0.3.25 + '@types/estree': 1.0.5 + acorn: 8.11.3 + aria-query: 5.3.0 + axobject-query: 4.0.0 + code-red: 1.0.4 + css-tree: 2.3.1 + estree-walker: 3.0.3 + is-reference: 3.0.2 + locate-character: 3.0.0 + magic-string: 0.30.7 + periscopic: 3.1.0 + /symbol-tree@3.2.4: resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==} dev: true @@ -12741,6 +12985,11 @@ packages: engines: {node: '>=14.0.0'} dev: true + /tinypool@0.8.3: + resolution: {integrity: sha512-Ud7uepAklqRH1bvwy22ynrliC7Dljz7Tm8M/0RBUW+YRa4YHhZ6e4PpgE+fu1zr/WqB1kbeuVrdfeuyIBpy4tw==} + engines: {node: '>=14.0.0'} + dev: true + /tinyspy@2.2.0: resolution: {integrity: sha512-d2eda04AN/cPOR89F7Xv5bK/jrQEhmcLFe6HFldoeO9AJtps+fqEnh486vnT/8y4bw38pSyxDcTCAq+Ks2aJTg==} engines: {node: '>=14.0.0'} @@ -13271,7 +13520,7 @@ packages: - zod dev: false - /viem@2.7.11(typescript@5.4.3)(zod@3.22.4): + /viem@2.7.11(typescript@5.4.3): resolution: {integrity: sha512-qlEPF9YOgPVqjTyom73TVAekAYrIe68megO07u55p7pKWgLt0i9KD6Mrmiw7pd7oHh86vIppcygwQMDNGX1YAw==} peerDependencies: typescript: '>=5.0.4' @@ -13292,6 +13541,29 @@ packages: - bufferutil - utf-8-validate - zod + dev: false + + /viem@2.9.16(typescript@5.4.3)(zod@3.22.4): + resolution: {integrity: sha512-FQRfN4G7uKEUs5DYvVrH/kZmTkwcSDpTBxnadpwG1EEP8nHm57WDpSaGN7PwSPVgJ6rMo5MENT5hgnqaNTlb2w==} + peerDependencies: + typescript: '>=5.0.4' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@adraffy/ens-normalize': 1.10.0 + '@noble/curves': 1.2.0 + '@noble/hashes': 1.3.2 + '@scure/bip32': 1.3.2 + '@scure/bip39': 1.2.1 + abitype: 1.0.0(typescript@5.4.3)(zod@3.22.4) + isows: 1.0.3(ws@8.13.0) + typescript: 5.4.3 + ws: 8.13.0 + transitivePeerDependencies: + - bufferutil + - utf-8-validate + - zod /vite-node@0.32.4(@types/node@20.11.20): resolution: {integrity: sha512-L2gIw+dCxO0LK14QnUMoqSYpa9XRGnTTTDjW2h19Mr+GR0EFj4vx52W41gFXfMLqpA00eK4ZjOVYo1Xk//LFEw==} @@ -13315,6 +13587,27 @@ packages: - terser dev: true + /vite-node@1.5.0: + resolution: {integrity: sha512-tV8h6gMj6vPzVCa7l+VGq9lwoJjW8Y79vst8QZZGiuRAfijU+EEWuc0kFpmndQrWhMMhet1jdSF+40KSZUqIIw==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + dependencies: + cac: 6.7.14 + debug: 4.3.4 + pathe: 1.1.2 + picocolors: 1.0.0 + vite: 5.1.3 + transitivePeerDependencies: + - '@types/node' + - less + - lightningcss + - sass + - stylus + - sugarss + - supports-color + - terser + dev: true + /vite-tsconfig-paths@4.3.2(typescript@5.4.3)(vite@4.5.2): resolution: {integrity: sha512-0Vd/a6po6Q+86rPlntHye7F31zA2URZMbH8M3saAZ/xR9QoGN/L21bxEGfXdWmFdNkqPpRdxFT7nmNe12e9/uA==} peerDependencies: @@ -13531,6 +13824,61 @@ packages: - terser dev: true + /vitest@1.5.0: + resolution: {integrity: sha512-d8UKgR0m2kjdxDWX6911uwxout6GHS0XaGH1cksSIVVG8kRlE7G7aBw7myKQCvDI5dT4j7ZMa+l706BIORMDLw==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + peerDependencies: + '@edge-runtime/vm': '*' + '@types/node': ^18.0.0 || >=20.0.0 + '@vitest/browser': 1.5.0 + '@vitest/ui': 1.5.0 + happy-dom: '*' + jsdom: '*' + peerDependenciesMeta: + '@edge-runtime/vm': + optional: true + '@types/node': + optional: true + '@vitest/browser': + optional: true + '@vitest/ui': + optional: true + happy-dom: + optional: true + jsdom: + optional: true + dependencies: + '@vitest/expect': 1.5.0 + '@vitest/runner': 1.5.0 + '@vitest/snapshot': 1.5.0 + '@vitest/spy': 1.5.0 + '@vitest/utils': 1.5.0 + acorn-walk: 8.3.2 + chai: 4.4.1 + debug: 4.3.4 + execa: 8.0.1 + local-pkg: 0.5.0 + magic-string: 0.30.7 + pathe: 1.1.2 + picocolors: 1.0.0 + std-env: 3.7.0 + strip-literal: 2.0.0 + tinybench: 2.6.0 + tinypool: 0.8.3 + vite: 5.1.3 + vite-node: 1.5.0 + why-is-node-running: 2.2.2 + transitivePeerDependencies: + - less + - lightningcss + - sass + - stylus + - sugarss + - supports-color + - terser + dev: true + /vlq@1.0.1: resolution: {integrity: sha512-gQpnTgkubC6hQgdIcRdYGDSDc+SaujOdyesZQMv6JlfQee/9Mp0Qhnys6WxDWvQnL5WZdT7o2Ul187aSt0Rq+w==} dev: false From 5e8cd14df9cecc8a8204aee6622ca78bbb3254aa Mon Sep 17 00:00:00 2001 From: Korbinian Date: Thu, 11 Apr 2024 22:59:44 +0200 Subject: [PATCH 2/2] fix vercel --- packages/guardian-prover-health-check-ui/package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/guardian-prover-health-check-ui/package.json b/packages/guardian-prover-health-check-ui/package.json index 37d57b498a..8f89f3305e 100644 --- a/packages/guardian-prover-health-check-ui/package.json +++ b/packages/guardian-prover-health-check-ui/package.json @@ -2,6 +2,9 @@ "name": "guardian-prover-health-check-ui", "version": "0.1.0", "private": true, + "engines": { + "node": ">=18.18.0 <19.0.0" + }, "scripts": { "dev": "vite dev", "build": "vite build",