@ckb-lumos/base
Advanced tools
Comparing version 0.19.0-alpha.0 to 0.19.0-alpha.1
@@ -1,14 +0,14 @@ | ||
import * as utils from "./src/utils"; | ||
import * as helpers from "./src/helpers"; | ||
import * as since from "./src/since"; | ||
import * as values from "./src/values"; | ||
import * as logger from "./src/logger"; | ||
import * as blockchain from "./src/blockchain"; | ||
import * as utils from "./lib/utils"; | ||
import * as helpers from "./lib/helpers"; | ||
import * as since from "./lib/since"; | ||
import * as values from "./lib/values"; | ||
import * as logger from "./lib/logger"; | ||
import * as blockchain from "./lib/blockchain"; | ||
export * from "./src/primitive"; | ||
export * from "./src/api"; | ||
export * from "./src/indexer"; | ||
export * from "./lib/primitive"; | ||
export * from "./lib/api"; | ||
export * from "./lib/indexer"; | ||
export { utils, helpers, since, values, logger, blockchain }; | ||
export { SinceValidationInfo } from "./src/since"; | ||
export { SinceValidationInfo } from "./lib/since"; | ||
@@ -15,0 +15,0 @@ export interface Tip { |
@@ -105,10 +105,11 @@ import { Hash, HexNumber, HexString, PackedSince } from "./primitive"; | ||
export interface LiveCell { | ||
data: { | ||
content: HexString; | ||
hash: Hash; | ||
}; | ||
output: Output; | ||
} | ||
export interface CellWithStatus { | ||
cell: { | ||
data: { | ||
content: HexString; | ||
hash: Hash; | ||
}; | ||
output: Output; | ||
} | null; | ||
cell: LiveCell | null; | ||
status: "live" | "unknown"; | ||
@@ -163,2 +164,4 @@ } | ||
genesisHash: Hash; | ||
// added this field by: https://github.com/nervosnetwork/ckb/pull/2879 | ||
hardforkFeatures: Array<{ rfc: string; epochNumber: string | undefined }>; | ||
daoTypeHash?: Hash; | ||
@@ -216,2 +219,4 @@ secp256k1Blake160SighashAllTypeHash?: Hash; | ||
unknownHeaderListSize?: HexNumber; | ||
canFetchCount?: HexNumber; | ||
inflightCount?: HexNumber; | ||
} | ||
@@ -228,3 +233,3 @@ | ||
addresses: NodeAddress[]; | ||
isOutbount: boolean; | ||
isOutbound: boolean; | ||
connectedDuration: HexNumber; | ||
@@ -231,0 +236,0 @@ lastPingDuration?: HexNumber; |
{ | ||
"name": "@ckb-lumos/base", | ||
"version": "0.19.0-alpha.0", | ||
"version": "0.19.0-alpha.1", | ||
"description": "Base data structures and utilities used in lumos", | ||
@@ -52,5 +52,5 @@ "author": "Xuejie Xiao <xxuejie@gmail.com>", | ||
"dependencies": { | ||
"@ckb-lumos/bi": "^0.19.0-alpha.0", | ||
"@ckb-lumos/codec": "^0.19.0-alpha.0", | ||
"@ckb-lumos/toolkit": "^0.19.0-alpha.0", | ||
"@ckb-lumos/bi": "^0.19.0-alpha.1", | ||
"@ckb-lumos/codec": "^0.19.0-alpha.1", | ||
"@ckb-lumos/toolkit": "^0.19.0-alpha.1", | ||
"@types/lodash.isequal": "^4.5.5", | ||
@@ -67,3 +67,3 @@ "blake2b": "^2.1.3", | ||
}, | ||
"gitHead": "665f4e985dc1444a27e2e1db499d0ea64cf4d5b8" | ||
"gitHead": "f244d81773326f206460014f8f305fcf08d88462" | ||
} |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
135375
3398
0