@ckb-lumos/rpc
Advanced tools
Comparing version 0.18.0-rc6 to 0.18.0-rc7
@@ -16,3 +16,3 @@ import { Alert, BannedAddr, Block, BlockEconomicState, CellWithStatus, ChainInfo, Consensus, DryRunResult, Epoch, Hash, Header, HexNumber, HexString, Indexer, LocalNode, OutPoint, RemoteNode, SyncState, Transaction, TransactionProof, TransactionWithStatus, TxPoolIds, TxPoolInfo, TxPoolVerbosity } from "@ckb-lumos/base"; | ||
blockDifference?: number; | ||
rpcOptions?: object; | ||
rpcOptions?: Record<string, unknown>; | ||
}); | ||
@@ -19,0 +19,0 @@ /** |
@@ -17,3 +17,5 @@ "use strict"; | ||
const handler = { | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
get: (target, method) => { | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
return async (...params) => { | ||
@@ -77,2 +79,4 @@ const result = await target.rpc[method](...params); | ||
class RPC { | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
/** | ||
@@ -79,0 +83,0 @@ * |
{ | ||
"name": "@ckb-lumos/rpc", | ||
"version": "0.18.0-rc6", | ||
"version": "0.18.0-rc7", | ||
"description": "RPC module for CKB", | ||
@@ -13,7 +13,2 @@ "author": "Xuejie Xiao <xxuejie@gmail.com>", | ||
}, | ||
"os": [ | ||
"win32", | ||
"darwin", | ||
"linux" | ||
], | ||
"directories": { | ||
@@ -46,5 +41,5 @@ "lib": "lib", | ||
"dependencies": { | ||
"@ckb-lumos/base": "0.18.0-rc6", | ||
"@ckb-lumos/bi": "0.18.0-rc6", | ||
"@ckb-lumos/toolkit": "0.18.0-rc6" | ||
"@ckb-lumos/base": "0.18.0-rc7", | ||
"@ckb-lumos/bi": "0.18.0-rc7", | ||
"@ckb-lumos/toolkit": "0.18.0-rc7" | ||
}, | ||
@@ -59,3 +54,6 @@ "ava": { | ||
}, | ||
"gitHead": "fd33f15dcd7e5d5d69d9ebd49290e9f90ab688fb" | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"gitHead": "438e4bfce8f6ccd0866eb36a6aa679b0c3e1332a" | ||
} |
@@ -40,3 +40,5 @@ import { RPC as ToolkitRPC } from "@ckb-lumos/toolkit"; | ||
const handler = { | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
get: (target: any, method: string) => { | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
return async (...params: any) => { | ||
@@ -68,3 +70,3 @@ const result = await target.rpc[method](...params); | ||
blockDifference?: number; | ||
rpcOptions?: object; | ||
rpcOptions?: Record<string, unknown>; | ||
} = {} | ||
@@ -106,2 +108,3 @@ ) { | ||
export class RPC { | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
private rpcProxy: any; | ||
@@ -125,3 +128,3 @@ | ||
blockDifference?: number; | ||
rpcOptions?: object; | ||
rpcOptions?: Record<string, unknown>; | ||
} = {} | ||
@@ -128,0 +131,0 @@ ) { |
Sorry, the diff of this file is not supported yet
39261
579
+ Added@ckb-lumos/base@0.18.0-rc7(transitive)
+ Added@ckb-lumos/bi@0.18.0-rc7(transitive)
+ Added@ckb-lumos/toolkit@0.18.0-rc7(transitive)
- Removed@ckb-lumos/base@0.18.0-rc6(transitive)
- Removed@ckb-lumos/bi@0.18.0-rc6(transitive)
- Removed@ckb-lumos/toolkit@0.18.0-rc6(transitive)
Updated@ckb-lumos/base@0.18.0-rc7
Updated@ckb-lumos/bi@0.18.0-rc7