From 1c096befc94135dd6dd13c5ae9e69977e097da52 Mon Sep 17 00:00:00 2001 From: Chris Maniewski Date: Mon, 13 Jan 2025 19:05:34 +0100 Subject: [PATCH] fix: wagmi plugin type naming --- packages/wagmi-plugin/.eslintrc | 2 +- packages/wagmi-plugin/package.json | 2 +- packages/wagmi-plugin/src/index.ts | 4 ++-- pnpm-lock.yaml | 12 ++++++------ 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/wagmi-plugin/.eslintrc b/packages/wagmi-plugin/.eslintrc index bbda39e7d..a3e30bf22 100644 --- a/packages/wagmi-plugin/.eslintrc +++ b/packages/wagmi-plugin/.eslintrc @@ -1,5 +1,5 @@ { "parserOptions": { - "project": "./tsconfig.json" + "project": "./packages/wagmi-plugin/tsconfig.json" } } diff --git a/packages/wagmi-plugin/package.json b/packages/wagmi-plugin/package.json index bd319ca10..0b2872c14 100644 --- a/packages/wagmi-plugin/package.json +++ b/packages/wagmi-plugin/package.json @@ -37,7 +37,7 @@ }, "homepage": "https://docs.colony.io/develop", "dependencies": { - "@colony/abis": "^1.8.1", + "@colony/abis": "^1.8.3", "@colony/core": "^3.0.0", "@typechain/ethers-v5": "^11.1.0", "@typechain/ethers-v6": "^0.4.2", diff --git a/packages/wagmi-plugin/src/index.ts b/packages/wagmi-plugin/src/index.ts index 3a9c2cb59..75bab42c2 100644 --- a/packages/wagmi-plugin/src/index.ts +++ b/packages/wagmi-plugin/src/index.ts @@ -3,14 +3,14 @@ import { join as joinPath } from 'node:path'; import { readFile } from 'node:fs/promises'; import { fetch } from 'cross-fetch'; import { type Address } from 'abitype'; -import { joinAbis, type NodeType } from '@colony/abis/utils'; +import { joinAbis, type MergeType } from '@colony/abis/utils'; import { nonNullable } from '@colony/core'; interface ContractConfig { name: string; path: string; address?: Address; - merge?: NodeType; + merge?: MergeType; } interface ColonyConfig { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1d4e6b406..b18b39d0e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -304,8 +304,8 @@ importers: packages/wagmi-plugin: dependencies: '@colony/abis': - specifier: ^1.8.1 - version: 1.8.1(typescript@5.1.6) + specifier: ^1.8.3 + version: 1.8.3(typescript@5.1.6) '@colony/core': specifier: ^3.0.0 version: link:../core @@ -877,8 +877,8 @@ packages: prettier: 2.8.8 dev: false - /@colony/abis@1.8.1(typescript@5.1.6): - resolution: {integrity: sha512-DNL5HnhVyptXusgahK4QJK4Djq8p0tWVdMZ23Gv310uPFDFsdn/Da/Ziq4+GGG7oV/+bguta/JykOg91Wme83A==} + /@colony/abis@1.8.2(typescript@5.1.6): + resolution: {integrity: sha512-tQIjbDwdQ1aTcF9iYidiep14tesdEY/t1qc55KE4mXyztOEXZ6KLf+XmtCmiVUGPQ3sNVOIJxujxXqrw/6SYYA==} engines: {node: ^18 || ^20 || ^22, npm: ^10} dependencies: abitype: 1.0.7(typescript@5.1.6) @@ -888,8 +888,8 @@ packages: - zod dev: false - /@colony/abis@1.8.2(typescript@5.1.6): - resolution: {integrity: sha512-tQIjbDwdQ1aTcF9iYidiep14tesdEY/t1qc55KE4mXyztOEXZ6KLf+XmtCmiVUGPQ3sNVOIJxujxXqrw/6SYYA==} + /@colony/abis@1.8.3(typescript@5.1.6): + resolution: {integrity: sha512-jszQfcHxTVEG4cGjyoXGtGfk9A2SnNvM9KHBunSaYdDTgN23SNmOd/LVRWd+QkRRPSEb8H78YRY4Y+vKtEeLKA==} engines: {node: ^18 || ^20 || ^22, npm: ^10} dependencies: abitype: 1.0.7(typescript@5.1.6)