Skip to content

Commit

Permalink
chore(block-logs-stream): remove unnecessary abitype dep (#3351)
Browse files Browse the repository at this point in the history
  • Loading branch information
holic authored Oct 31, 2024
1 parent d9efd2b commit b56a50b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
1 change: 0 additions & 1 deletion packages/block-logs-stream/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
},
"dependencies": {
"@latticexyz/common": "workspace:*",
"abitype": "catalog:",
"debug": "^4.3.4",
"rxjs": "7.5.5",
"viem": "catalog:"
Expand Down
3 changes: 1 addition & 2 deletions packages/block-logs-stream/src/blockRangeToLogs.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { EMPTY, OperatorFunction, concatMap, from, pipe, tap } from "rxjs";
import { FetchLogsOptions, FetchLogsResult, fetchLogs } from "./fetchLogs";
import { AbiEvent } from "abitype";
import { BlockNumber, UnionOmit } from "viem";
import { AbiEvent, BlockNumber, UnionOmit } from "viem";
import { debug } from "./debug";

export type BlockRangeToLogsOptions<abiEvents extends readonly AbiEvent[]> = UnionOmit<
Expand Down
3 changes: 1 addition & 2 deletions packages/block-logs-stream/src/fetchLogs.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { AbiEvent } from "abitype";
import { Address, Client, BlockNumber, GetLogsReturnType, OneOf } from "viem";
import { Address, Client, BlockNumber, GetLogsReturnType, OneOf, AbiEvent } from "viem";
import { bigIntMax, bigIntMin, wait } from "@latticexyz/common/utils";
import { debug } from "./debug";
import { getAction } from "viem/utils";
Expand Down
3 changes: 0 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b56a50b

Please sign in to comment.