From a867f38110b9bec5db74e97b77fff9c10888e77c Mon Sep 17 00:00:00 2001 From: Chaitanya Date: Tue, 16 Jul 2024 10:14:47 +0530 Subject: [PATCH] fix: Change path of types import (#1531) --- src/strategies/delegate-registry-v2/index.ts | 2 +- src/strategies/split-delegation/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/strategies/delegate-registry-v2/index.ts b/src/strategies/delegate-registry-v2/index.ts index e22fb4805..7e4b8bfe7 100644 --- a/src/strategies/delegate-registry-v2/index.ts +++ b/src/strategies/delegate-registry-v2/index.ts @@ -1,6 +1,6 @@ import fetch from 'cross-fetch'; import { StaticJsonRpcProvider } from '@ethersproject/providers'; -import { Strategy } from '@snapshot-labs/snapshot.js/dist/voting/types'; +import { Strategy } from '@snapshot-labs/snapshot.js/dist/src/voting/types'; import { getScoresDirect } from '../../utils'; import { getAddress } from '@ethersproject/address'; diff --git a/src/strategies/split-delegation/index.ts b/src/strategies/split-delegation/index.ts index ecd2dd9ee..7db9bb2d4 100644 --- a/src/strategies/split-delegation/index.ts +++ b/src/strategies/split-delegation/index.ts @@ -1,6 +1,6 @@ import fetch from 'cross-fetch'; import { StaticJsonRpcProvider } from '@ethersproject/providers'; -import { Strategy } from '@snapshot-labs/snapshot.js/dist/voting/types'; +import { Strategy } from '@snapshot-labs/snapshot.js/dist/src/voting/types'; export const author = 'gnosisguild'; export const version = '1.0.0';