Skip to content

Commit

Permalink
fix @ckb-ccc/core imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Officeyutong committed Dec 2, 2024
1 parent 6d4b74f commit 6b18315
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 2 additions & 4 deletions light-client-js/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import { ClientFindCellsResponse, ClientFindTransactionsGroupedResponse, ClientFindTransactionsResponse, ClientIndexerSearchKeyLike, ClientIndexerSearchKeyTransactionLike, ClientTransactionResponse } from "@ckb-ccc/core/client";
import { FetchResponse, JsonRpcLocalNode, JsonRpcRemoteNode, JsonRpcScriptStatus, LocalNode, localNodeTo, RemoteNode, remoteNodeTo, ScriptStatus, scriptStatusFrom, scriptStatusTo, transformFetchResponse } from "./types";
import { JsonRpcTransformers } from "@ckb-ccc/core/client/jsonRpc/transformers";
import { Num, numFrom, NumLike, numToHex } from "@ckb-ccc/core/num";
import { ClientBlock, ClientBlockHeader, Hex, hexFrom, HexLike, TransactionLike } from "@ckb-ccc/core/barrel";
import { JsonRpcBlockHeader } from "@ckb-ccc/core/advancedBarrel";
import { ClientBlock, ClientBlockHeader, Hex, hexFrom, HexLike, Num, numFrom, NumLike, numToHex, TransactionLike } from "@ckb-ccc/core/barrel";
import { JsonRpcBlockHeader, JsonRpcTransformers } from "@ckb-ccc/core/advancedBarrel";
const DEFAULT_BUFFER_SIZE = 50 * (1 << 20);
/**
* A LightClient instance
Expand Down
3 changes: 1 addition & 2 deletions light-client-js/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { JsonRpcScript, JsonRpcTransformers } from "@ckb-ccc/core/advancedBarrel";
import { Script } from "@ckb-ccc/core/barrel";
import { Num } from "@ckb-ccc/core/num";
import { Num, Script } from "@ckb-ccc/core/barrel";

interface WorkerInitializeOptions {
inputBuffer: SharedArrayBuffer;
Expand Down

0 comments on commit 6b18315

Please sign in to comment.