Skip to content

Commit

Permalink
fix: remove dist imports
Browse files Browse the repository at this point in the history
  • Loading branch information
0xyaco committed Sep 19, 2024
1 parent cae030f commit f0baf5d
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 20 deletions.
3 changes: 1 addition & 2 deletions apps/agent/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { inspect } from "util";
import { EboActorsManager, EboProcessor } from "@ebo-agent/automated-dispute";
import { ProtocolProvider } from "@ebo-agent/automated-dispute/dist/providers/protocolProvider.js";
import { EboActorsManager, EboProcessor, ProtocolProvider } from "@ebo-agent/automated-dispute";
import { BlockNumberService } from "@ebo-agent/blocknumber";
import { Logger } from "@ebo-agent/shared";

Expand Down
1 change: 1 addition & 0 deletions packages/automated-dispute/src/external.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export { EboProcessor, EboActorsManager } from "./services/index.js";
export { ProtocolProvider } from "./providers/index.js";
3 changes: 1 addition & 2 deletions packages/automated-dispute/src/providers/protocolProvider.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Caip2Utils, InvalidChainId } from "@ebo-agent/blocknumber";
import { Caip2ChainId } from "@ebo-agent/blocknumber/dist/types.js";
import { Caip2ChainId, Caip2Utils, InvalidChainId } from "@ebo-agent/blocknumber";
import {
Address,
BaseError,
Expand Down
3 changes: 1 addition & 2 deletions packages/automated-dispute/src/services/eboActor.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { BlockNumberService } from "@ebo-agent/blocknumber";
import { Caip2ChainId } from "@ebo-agent/blocknumber/dist/types.js";
import { BlockNumberService, Caip2ChainId } from "@ebo-agent/blocknumber";
import { Address, ILogger } from "@ebo-agent/shared";
import { Mutex } from "async-mutex";
import { Heap } from "heap-js";
Expand Down
3 changes: 1 addition & 2 deletions packages/automated-dispute/src/services/eboProcessor.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { isNativeError } from "util/types";
import { BlockNumberService } from "@ebo-agent/blocknumber";
import { Caip2ChainId } from "@ebo-agent/blocknumber/dist/types.js";
import { BlockNumberService, Caip2ChainId } from "@ebo-agent/blocknumber";
import { Address, EBO_SUPPORTED_CHAIN_IDS, ILogger } from "@ebo-agent/shared";

import { ProcessorAlreadyStarted } from "../exceptions/index.js";
Expand Down
2 changes: 1 addition & 1 deletion packages/automated-dispute/src/types/actorRequest.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Caip2ChainId } from "@ebo-agent/blocknumber/dist/types.js";
import { Caip2ChainId } from "@ebo-agent/blocknumber";

import { RequestId } from "./prophet.js";

Expand Down
2 changes: 1 addition & 1 deletion packages/automated-dispute/src/types/events.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Caip2ChainId } from "@ebo-agent/blocknumber/dist/types.js";
import { Caip2ChainId } from "@ebo-agent/blocknumber";
import { Address, Hex, Log } from "viem";

import {
Expand Down
2 changes: 1 addition & 1 deletion packages/automated-dispute/src/types/prophet.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Caip2ChainId } from "@ebo-agent/blocknumber/dist/types.js";
import { Caip2ChainId } from "@ebo-agent/blocknumber";
import { Brand, NormalizedAddress } from "@ebo-agent/shared";
import { Address, Hex } from "viem";

Expand Down
3 changes: 1 addition & 2 deletions packages/automated-dispute/tests/mocks/eboActor.mocks.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { BlockNumberService } from "@ebo-agent/blocknumber";
import { Caip2ChainId } from "@ebo-agent/blocknumber/dist/types";
import { BlockNumberService, Caip2ChainId } from "@ebo-agent/blocknumber";
import { ILogger } from "@ebo-agent/shared";
import { Mutex } from "async-mutex";

Expand Down
3 changes: 1 addition & 2 deletions packages/automated-dispute/tests/mocks/eboProcessor.mocks.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { BlockNumberService } from "@ebo-agent/blocknumber";
import { Caip2ChainId } from "@ebo-agent/blocknumber/dist/types";
import { BlockNumberService, Caip2ChainId } from "@ebo-agent/blocknumber";
import { ILogger } from "@ebo-agent/shared";

import { ProtocolProvider } from "../../src/providers/index.js";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Caip2ChainId } from "@ebo-agent/blocknumber/dist/types.js";
import { Caip2ChainId } from "@ebo-agent/blocknumber";
import { ILogger } from "@ebo-agent/shared";
import { Address } from "viem";
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { beforeEach } from "node:test";
import { BlockNumberService } from "@ebo-agent/blocknumber";
import { Caip2ChainId } from "@ebo-agent/blocknumber/dist/types.js";
import { BlockNumberService, Caip2ChainId } from "@ebo-agent/blocknumber";
import { ILogger } from "@ebo-agent/shared";
import { describe, expect, it } from "vitest";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { BlockNumberService } from "@ebo-agent/blocknumber";
import { Caip2ChainId } from "@ebo-agent/blocknumber/dist/types.js";
import { BlockNumberService, Caip2ChainId } from "@ebo-agent/blocknumber";
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";

import { ProcessorAlreadyStarted } from "../../src/exceptions/index.js";
Expand Down

0 comments on commit f0baf5d

Please sign in to comment.