@ckb-lumos/rpc
Advanced tools
Comparing version 0.0.0-ckb2023-310848e-20230917132808 to 0.0.0-ckb2023-32cb703-20230925072306
@@ -582,6 +582,3 @@ "use strict"; | ||
if (!consensus) return consensus; | ||
const { | ||
ckb2021, | ||
ckb2023 | ||
} = consensus.hardfork_features; | ||
const rpcHardforkFeatures = consensus.hardfork_features; | ||
const softforks = consensus.softforks; | ||
@@ -613,6 +610,3 @@ const lightClient = softforks.light_client && toSoftFork(softforks.light_client); | ||
typeIdCodeHash: consensus.type_id_code_hash, | ||
hardforkFeatures: { | ||
ckb2021: ckb2021.map(toHardforkFeature), | ||
ckb2023: ckb2023.map(toHardforkFeature) | ||
}, | ||
hardforkFeatures: rpcHardforkFeatures.map(toHardforkFeature), | ||
softforks: { | ||
@@ -619,0 +613,0 @@ ...(lightClient && { |
@@ -302,6 +302,3 @@ /** | ||
} | ||
export interface HardForks { | ||
ckb2021: HardforkFeature[]; | ||
ckb2023: HardforkFeature[]; | ||
} | ||
export type HardForks = Array<HardforkFeature>; | ||
export interface HardforkFeature { | ||
@@ -308,0 +305,0 @@ rfc: string; |
{ | ||
"name": "@ckb-lumos/rpc", | ||
"version": "0.0.0-ckb2023-310848e-20230917132808", | ||
"version": "0.0.0-ckb2023-32cb703-20230925072306", | ||
"description": "RPC module for CKB", | ||
@@ -29,4 +29,4 @@ "homepage": "https://github.com/ckb-js/lumos#readme", | ||
"dependencies": { | ||
"@ckb-lumos/base": "0.0.0-ckb2023-310848e-20230917132808", | ||
"@ckb-lumos/bi": "0.0.0-ckb2023-310848e-20230917132808", | ||
"@ckb-lumos/base": "0.0.0-ckb2023-32cb703-20230925072306", | ||
"@ckb-lumos/bi": "0.0.0-ckb2023-32cb703-20230925072306", | ||
"@vespaiach/axios-fetch-adapter": "^0.3.1", | ||
@@ -33,0 +33,0 @@ "axios": "0.27.2", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
341451
3450
+ Added@ckb-lumos/base@0.0.0-ckb2023-32cb703-20230925072306(transitive)
+ Added@ckb-lumos/bi@0.0.0-ckb2023-32cb703-20230925072306(transitive)
+ Added@ckb-lumos/codec@0.0.0-ckb2023-32cb703-20230925072306(transitive)
+ Added@ckb-lumos/toolkit@0.0.0-ckb2023-32cb703-20230925072306(transitive)
- Removed@ckb-lumos/base@0.0.0-ckb2023-310848e-20230917132808(transitive)
- Removed@ckb-lumos/bi@0.0.0-ckb2023-310848e-20230917132808(transitive)
- Removed@ckb-lumos/codec@0.0.0-ckb2023-310848e-20230917132808(transitive)
- Removed@ckb-lumos/toolkit@0.0.0-ckb2023-310848e-20230917132808(transitive)