diff --git a/packages/indexer-agent/src/commands/start.ts b/packages/indexer-agent/src/commands/start.ts index 4ffc3bc8d..e581f5984 100644 --- a/packages/indexer-agent/src/commands/start.ts +++ b/packages/indexer-agent/src/commands/start.ts @@ -32,7 +32,7 @@ import { injectCommonStartupOptions } from './common-options' import pMap from 'p-map' import { NetworkSpecification } from '@graphprotocol/indexer-common/dist/network-specification' import { BigNumber } from 'ethers' -import { displayZodParsingError } from '@graphprotocol/indexer-common/src/parsers/error-handling' +import { displayZodParsingError } from '@graphprotocol/indexer-common' import { readFileSync } from 'fs' // eslint-disable-next-line @typescript-eslint/no-explicit-any diff --git a/packages/indexer-agent/tsconfig.json b/packages/indexer-agent/tsconfig.json index 304992e9b..5eb515341 100644 --- a/packages/indexer-agent/tsconfig.json +++ b/packages/indexer-agent/tsconfig.json @@ -12,7 +12,7 @@ "composite": true, "lib": ["es2015", "es6", "esnext.asynciterable", "dom", "ES2020.Promise"] }, - "include": ["src/**/*.ts", "src/**/*.d.ts", "../indexer-common/src/parsers/error-handling.ts"], + "include": ["src/**/*.ts", "src/**/*.d.ts"], "exclude": ["src/**/__tests__/*.ts"], "references": [{ "path": "../indexer-common" }] } diff --git a/packages/indexer-common/src/parsers/index.ts b/packages/indexer-common/src/parsers/index.ts index 5b4071748..c4000eb4e 100644 --- a/packages/indexer-common/src/parsers/index.ts +++ b/packages/indexer-common/src/parsers/index.ts @@ -1,2 +1,3 @@ export * from './validators' export * from './test-utils' +export * from './error-handling'