From f2c736fbf312224f2a80547457e5cbb61cafc555 Mon Sep 17 00:00:00 2001 From: zhangyouxin Date: Mon, 9 Oct 2023 00:09:41 +0800 Subject: [PATCH 1/9] refactor: remove peerDependency of toolkit --- packages/toolkit/package.json | 10 ++++------ packages/toolkit/src/normalizers.js | 4 ++-- packages/toolkit/tests/normailizers.js | 10 ++++++++++ pnpm-lock.yaml | 9 +++------ 4 files changed, 19 insertions(+), 14 deletions(-) create mode 100644 packages/toolkit/tests/normailizers.js diff --git a/packages/toolkit/package.json b/packages/toolkit/package.json index 5953ccc82..f831283e1 100644 --- a/packages/toolkit/package.json +++ b/packages/toolkit/package.json @@ -26,16 +26,14 @@ }, "author": "Xuejie Xiao", "license": "MIT", - "peerDependencies": { - "cross-fetch": "^3.1.4", - "jsbi": "^4.1.0" - }, "publishConfig": { "access": "public" }, + "dependencies": { + "@ckb-lumos/bi": "0.21.0-next.0" + }, "devDependencies": { "@babel/plugin-proposal-export-namespace-from": "^7.18.9", - "@babel/plugin-transform-modules-commonjs": "^7.21.5", - "jsbi": "^4.1.0" + "@babel/plugin-transform-modules-commonjs": "^7.21.5" } } diff --git a/packages/toolkit/src/normalizers.js b/packages/toolkit/src/normalizers.js index baf6ffeca..8921da734 100644 --- a/packages/toolkit/src/normalizers.js +++ b/packages/toolkit/src/normalizers.js @@ -10,7 +10,7 @@ // Note this is only used when you need to deal with CKB structures in molecule // format. If you are using RPCs or GraphQL to interact with CKB, chances are you // will not need this package. -import JSBI from "jsbi"; +import { BI } from "@ckb-lumos/bi"; import { Reader } from "./reader"; /** * @deprecated please follow the {@link https://lumos-website.vercel.app/migrations/migrate-to-v0.19 migration-guide} @@ -18,7 +18,7 @@ import { Reader } from "./reader"; function normalizeHexNumber(length) { return function (debugPath, value) { if (!(value instanceof ArrayBuffer)) { - let intValue = JSBI.BigInt(value).toString(16); + let intValue = BI.from(value).toHexString(); if (intValue.length % 2 !== 0) { intValue = "0" + intValue; } diff --git a/packages/toolkit/tests/normailizers.js b/packages/toolkit/tests/normailizers.js new file mode 100644 index 000000000..c23c5e87b --- /dev/null +++ b/packages/toolkit/tests/normailizers.js @@ -0,0 +1,10 @@ +const test = require("ava"); +const { normalizers } = require("../lib"); + +test("correct outPoint should pass validation", (t) => { + normalizers.NormalizeOutPoint({ + txHash: `0x${'00'.repeat(32)}`, + index: '0x1', + }); + t.pass(); +}); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fac299978..803812822 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -717,9 +717,9 @@ importers: packages/toolkit: dependencies: - cross-fetch: - specifier: ^3.1.4 - version: 3.1.5 + '@ckb-lumos/bi': + specifier: 0.21.0-next.0 + version: link:../bi devDependencies: '@babel/plugin-proposal-export-namespace-from': specifier: ^7.18.9 @@ -727,9 +727,6 @@ importers: '@babel/plugin-transform-modules-commonjs': specifier: ^7.21.5 version: 7.21.5(@babel/core@7.21.8) - jsbi: - specifier: ^4.1.0 - version: 4.1.0 packages/transaction-manager: dependencies: From 6a55b219635a7379cc7416ad471428141f08514c Mon Sep 17 00:00:00 2001 From: zhangyouxin Date: Wed, 11 Oct 2023 08:36:39 +0800 Subject: [PATCH 2/9] chore: lint --- packages/toolkit/tests/normailizers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/toolkit/tests/normailizers.js b/packages/toolkit/tests/normailizers.js index c23c5e87b..3dfccea72 100644 --- a/packages/toolkit/tests/normailizers.js +++ b/packages/toolkit/tests/normailizers.js @@ -3,8 +3,8 @@ const { normalizers } = require("../lib"); test("correct outPoint should pass validation", (t) => { normalizers.NormalizeOutPoint({ - txHash: `0x${'00'.repeat(32)}`, - index: '0x1', + txHash: `0x${"00".repeat(32)}`, + index: "0x1", }); t.pass(); }); From 7145bcad60381489adfd59742bf17f2d2dd6bbde Mon Sep 17 00:00:00 2001 From: zhangyouxin Date: Wed, 11 Oct 2023 08:37:45 +0800 Subject: [PATCH 3/9] chore: remove unimplemented interface --- packages/toolkit/types/index.d.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/packages/toolkit/types/index.d.ts b/packages/toolkit/types/index.d.ts index fbafb8bef..8a6429e7c 100644 --- a/packages/toolkit/types/index.d.ts +++ b/packages/toolkit/types/index.d.ts @@ -17,15 +17,6 @@ export class Reader { serializeJson(): string; } -/** - * @deprecated please follow the {@link https://lumos-website.vercel.app/migrations/migrate-to-v0.19 migration-guide} - */ -export function HexStringToBigInt(hexString: string): JSBI; -/** - * @deprecated please follow the {@link https://lumos-website.vercel.app/migrations/migrate-to-v0.19 migration-guide} - */ -export function BigIntToHexString(i: JSBI): string; - /** * @deprecated please follow the {@link https://lumos-website.vercel.app/migrations/migrate-to-v0.19 migration-guide} */ From 6c64f967a8e93ad4ae8f73bd22916f953b543f8d Mon Sep 17 00:00:00 2001 From: zhangyouxin Date: Wed, 11 Oct 2023 08:58:29 +0800 Subject: [PATCH 4/9] chore: run changeset:version --- .changeset/pre.json | 4 +- packages/base/CHANGELOG.md | 2 + packages/base/package.json | 8 +- packages/bi/CHANGELOG.md | 2 + packages/bi/package.json | 2 +- packages/ckb-indexer/CHANGELOG.md | 2 + packages/ckb-indexer/package.json | 14 +- packages/codec/CHANGELOG.md | 2 + packages/codec/package.json | 4 +- packages/common-scripts/CHANGELOG.md | 6 + packages/common-scripts/package.json | 20 +- packages/config-manager/CHANGELOG.md | 6 + packages/config-manager/package.json | 8 +- packages/debugger/CHANGELOG.md | 2 + packages/debugger/package.json | 20 +- packages/e2e-test/CHANGELOG.md | 2 + packages/e2e-test/package.json | 30 +-- packages/experiment-tx-assembler/CHANGELOG.md | 2 + packages/experiment-tx-assembler/package.json | 12 +- packages/hd-cache/CHANGELOG.md | 2 + packages/hd-cache/package.json | 14 +- packages/hd/CHANGELOG.md | 2 + packages/hd/package.json | 6 +- packages/helpers/CHANGELOG.md | 2 + packages/helpers/package.json | 12 +- packages/light-client/CHANGELOG.md | 2 + packages/light-client/package.json | 10 +- packages/lumos/CHANGELOG.md | 2 + packages/lumos/package.json | 20 +- packages/molecule/CHANGELOG.md | 2 + packages/molecule/package.json | 8 +- packages/rpc/CHANGELOG.md | 2 + packages/rpc/package.json | 6 +- packages/runner/CHANGELOG.md | 2 + packages/runner/package.json | 4 +- packages/testkit/CHANGELOG.md | 2 + packages/testkit/package.json | 8 +- packages/toolkit/CHANGELOG.md | 2 + packages/toolkit/package.json | 4 +- packages/transaction-manager/CHANGELOG.md | 2 + packages/transaction-manager/package.json | 12 +- packages/utils/CHANGELOG.md | 2 + packages/utils/package.json | 2 +- pnpm-lock.yaml | 182 +++++++++--------- 44 files changed, 256 insertions(+), 204 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index 93caa5344..3dbc8615a 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -26,6 +26,8 @@ }, "changesets": [ "kind-pandas-train", - "orange-flowers-sort" + "orange-flowers-sort", + "smart-bags-fetch", + "two-brooms-draw" ] } diff --git a/packages/base/CHANGELOG.md b/packages/base/CHANGELOG.md index 57a8d3800..749378815 100644 --- a/packages/base/CHANGELOG.md +++ b/packages/base/CHANGELOG.md @@ -1,5 +1,7 @@ # @ckb-lumos/base +## 0.21.0-next.1 + ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/base/package.json b/packages/base/package.json index 017c23a3b..50d3236a0 100644 --- a/packages/base/package.json +++ b/packages/base/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/base", - "version": "0.21.0-next.0", + "version": "0.21.0-next.1", "description": "Base data structures and utilities used in lumos", "author": "Xuejie Xiao ", "homepage": "https://github.com/ckb-js/lumos#readme", @@ -44,9 +44,9 @@ ] }, "dependencies": { - "@ckb-lumos/bi": "0.21.0-next.0", - "@ckb-lumos/codec": "0.21.0-next.0", - "@ckb-lumos/toolkit": "0.21.0-next.0", + "@ckb-lumos/bi": "0.21.0-next.1", + "@ckb-lumos/codec": "0.21.0-next.1", + "@ckb-lumos/toolkit": "0.21.0-next.1", "@types/blake2b": "^2.1.0", "@types/lodash.isequal": "^4.5.5", "blake2b": "^2.1.3", diff --git a/packages/bi/CHANGELOG.md b/packages/bi/CHANGELOG.md index 73ba361ab..238ee3297 100644 --- a/packages/bi/CHANGELOG.md +++ b/packages/bi/CHANGELOG.md @@ -1,5 +1,7 @@ # @ckb-lumos/bi +## 0.21.0-next.1 + ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/bi/package.json b/packages/bi/package.json index 149af0e08..2c23b9b6b 100644 --- a/packages/bi/package.json +++ b/packages/bi/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/bi", - "version": "0.21.0-next.0", + "version": "0.21.0-next.1", "description": "Bigint support in lumos", "author": "", "homepage": "https://github.com/ckb-js/lumos#readme", diff --git a/packages/ckb-indexer/CHANGELOG.md b/packages/ckb-indexer/CHANGELOG.md index 7031be01d..c8083ee77 100644 --- a/packages/ckb-indexer/CHANGELOG.md +++ b/packages/ckb-indexer/CHANGELOG.md @@ -1,5 +1,7 @@ # @ckb-lumos/ckb-indexer +## 0.21.0-next.1 + ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/ckb-indexer/package.json b/packages/ckb-indexer/package.json index a17110485..878f361eb 100644 --- a/packages/ckb-indexer/package.json +++ b/packages/ckb-indexer/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/ckb-indexer", - "version": "0.21.0-next.0", + "version": "0.21.0-next.1", "description": "CKB Indexer", "author": "Xuejie Xiao ", "homepage": "https://github.com/ckb-js/lumos#readme", @@ -19,16 +19,16 @@ "src" ], "dependencies": { - "@ckb-lumos/base": "0.21.0-next.0", - "@ckb-lumos/bi": "0.21.0-next.0", - "@ckb-lumos/codec": "0.21.0-next.0", - "@ckb-lumos/rpc": "0.21.0-next.0", - "@ckb-lumos/toolkit": "0.21.0-next.0", + "@ckb-lumos/base": "0.21.0-next.1", + "@ckb-lumos/bi": "0.21.0-next.1", + "@ckb-lumos/codec": "0.21.0-next.1", + "@ckb-lumos/rpc": "0.21.0-next.1", + "@ckb-lumos/toolkit": "0.21.0-next.1", "cross-fetch": "^3.1.5", "events": "^3.3.0" }, "devDependencies": { - "@ckb-lumos/testkit": "0.21.0-next.0", + "@ckb-lumos/testkit": "0.21.0-next.1", "@types/lodash.uniqby": "^4.7.7", "@types/request": "^2.48.8", "@types/sinon": "^10.0.6", diff --git a/packages/codec/CHANGELOG.md b/packages/codec/CHANGELOG.md index 77f270cde..cf736caec 100644 --- a/packages/codec/CHANGELOG.md +++ b/packages/codec/CHANGELOG.md @@ -1,5 +1,7 @@ # @ckb-lumos/codec +## 0.21.0-next.1 + ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/codec/package.json b/packages/codec/package.json index eccece08b..6e53cc709 100644 --- a/packages/codec/package.json +++ b/packages/codec/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/codec", - "version": "0.21.0-next.0", + "version": "0.21.0-next.1", "description": "Make your own molecule binding in JavaScript(TypeScript)", "author": "", "homepage": "https://github.com/ckb-js/lumos#readme", @@ -28,7 +28,7 @@ "clean": "rm -rf lib" }, "dependencies": { - "@ckb-lumos/bi": "0.21.0-next.0" + "@ckb-lumos/bi": "0.21.0-next.1" }, "publishConfig": { "access": "public" diff --git a/packages/common-scripts/CHANGELOG.md b/packages/common-scripts/CHANGELOG.md index f188591ac..471a3ca37 100644 --- a/packages/common-scripts/CHANGELOG.md +++ b/packages/common-scripts/CHANGELOG.md @@ -1,5 +1,11 @@ # @ckb-lumos/common-scripts +## 0.21.0-next.1 + +### Patch Changes + +- [#552](https://github.com/ckb-js/lumos/pull/552) [`1cb43fe7`](https://github.com/ckb-js/lumos/commit/1cb43fe72dc95c4b3283acccb5120b7bcaeb9346) Thanks [@homura](https://github.com/homura)! - fix incorrect `TX_HASH` when generate a deployment transaction + ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/common-scripts/package.json b/packages/common-scripts/package.json index 4ddf1cd4a..f25bb811d 100644 --- a/packages/common-scripts/package.json +++ b/packages/common-scripts/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/common-scripts", - "version": "0.21.0-next.0", + "version": "0.21.0-next.1", "description": "Common script support in lumos", "author": "Xuejie Xiao ", "homepage": "https://github.com/ckb-js/lumos#readme", @@ -19,13 +19,13 @@ "src" ], "dependencies": { - "@ckb-lumos/base": "0.21.0-next.0", - "@ckb-lumos/bi": "0.21.0-next.0", - "@ckb-lumos/codec": "0.21.0-next.0", - "@ckb-lumos/config-manager": "0.21.0-next.0", - "@ckb-lumos/helpers": "0.21.0-next.0", - "@ckb-lumos/rpc": "0.21.0-next.0", - "@ckb-lumos/toolkit": "0.21.0-next.0", + "@ckb-lumos/base": "0.21.0-next.1", + "@ckb-lumos/bi": "0.21.0-next.1", + "@ckb-lumos/codec": "0.21.0-next.1", + "@ckb-lumos/config-manager": "0.21.0-next.1", + "@ckb-lumos/helpers": "0.21.0-next.1", + "@ckb-lumos/rpc": "0.21.0-next.1", + "@ckb-lumos/toolkit": "0.21.0-next.1", "immutable": "^4.3.0" }, "repository": { @@ -53,8 +53,8 @@ ] }, "devDependencies": { - "@ckb-lumos/debugger": "0.21.0-next.0", - "@ckb-lumos/hd": "0.21.0-next.0", + "@ckb-lumos/debugger": "0.21.0-next.1", + "@ckb-lumos/hd": "0.21.0-next.1", "@types/keccak": "^3.0.1", "keccak": "^3.0.1" }, diff --git a/packages/config-manager/CHANGELOG.md b/packages/config-manager/CHANGELOG.md index c5538efc2..86db0c40f 100644 --- a/packages/config-manager/CHANGELOG.md +++ b/packages/config-manager/CHANGELOG.md @@ -1,5 +1,11 @@ # @ckb-lumos/config-manager +## 0.21.0-next.1 + +### Minor Changes + +- [#552](https://github.com/ckb-js/lumos/pull/552) [`1cb43fe7`](https://github.com/ckb-js/lumos/commit/1cb43fe72dc95c4b3283acccb5120b7bcaeb9346) Thanks [@homura](https://github.com/homura)! - supported generate `ScriptConfig` from a genesis block + ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/config-manager/package.json b/packages/config-manager/package.json index 3fa6f9346..49d81428b 100644 --- a/packages/config-manager/package.json +++ b/packages/config-manager/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/config-manager", - "version": "0.21.0-next.0", + "version": "0.21.0-next.1", "description": "Config manager for lumos", "author": "Xuejie Xiao ", "homepage": "https://github.com/ckb-js/lumos#readme", @@ -34,9 +34,9 @@ "url": "https://github.com/ckb-js/lumos/issues" }, "dependencies": { - "@ckb-lumos/base": "0.21.0-next.0", - "@ckb-lumos/bi": "0.21.0-next.0", - "@ckb-lumos/codec": "0.21.0-next.0", + "@ckb-lumos/base": "0.21.0-next.1", + "@ckb-lumos/bi": "0.21.0-next.1", + "@ckb-lumos/codec": "0.21.0-next.1", "@types/deep-freeze-strict": "^1.1.0", "deep-freeze-strict": "^1.1.1" }, diff --git a/packages/debugger/CHANGELOG.md b/packages/debugger/CHANGELOG.md index 41bfc9dbc..5c71d405d 100644 --- a/packages/debugger/CHANGELOG.md +++ b/packages/debugger/CHANGELOG.md @@ -1,5 +1,7 @@ # @ckb-lumos/debugger +## 0.21.0-next.1 + ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/debugger/package.json b/packages/debugger/package.json index 23724a325..a72a783de 100644 --- a/packages/debugger/package.json +++ b/packages/debugger/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@ckb-lumos/debugger", - "version": "0.21.0-next.0", + "version": "0.21.0-next.1", "description": "ckb-standard-debugger wrapper for lumos, check tx without launching a full node", "author": "", "homepage": "https://github.com/ckb-js/lumos#readme", @@ -21,12 +21,12 @@ "contracts" ], "dependencies": { - "@ckb-lumos/base": "0.21.0-next.0", - "@ckb-lumos/bi": "0.21.0-next.0", - "@ckb-lumos/codec": "0.21.0-next.0", - "@ckb-lumos/config-manager": "0.21.0-next.0", - "@ckb-lumos/helpers": "0.21.0-next.0", - "@ckb-lumos/rpc": "0.21.0-next.0", + "@ckb-lumos/base": "0.21.0-next.1", + "@ckb-lumos/bi": "0.21.0-next.1", + "@ckb-lumos/codec": "0.21.0-next.1", + "@ckb-lumos/config-manager": "0.21.0-next.1", + "@ckb-lumos/helpers": "0.21.0-next.1", + "@ckb-lumos/rpc": "0.21.0-next.1", "@types/download": "^8.0.1", "@types/object-hash": "^2.2.1", "debug": "^4.3.4", @@ -35,9 +35,9 @@ "object-hash": "^3.0.0" }, "devDependencies": { - "@ckb-lumos/common-scripts": "0.21.0-next.0", - "@ckb-lumos/experiment-tx-assembler": "0.21.0-next.0", - "@ckb-lumos/hd": "0.21.0-next.0" + "@ckb-lumos/common-scripts": "0.21.0-next.1", + "@ckb-lumos/experiment-tx-assembler": "0.21.0-next.1", + "@ckb-lumos/hd": "0.21.0-next.1" }, "bin": { "download-ckb-debugger": "bin/download-ckb-debugger.js" diff --git a/packages/e2e-test/CHANGELOG.md b/packages/e2e-test/CHANGELOG.md index 1dace3163..b94c394c4 100644 --- a/packages/e2e-test/CHANGELOG.md +++ b/packages/e2e-test/CHANGELOG.md @@ -1,5 +1,7 @@ # @ckb-lumos/e2e-test +## 0.21.0-next.1 + ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/e2e-test/package.json b/packages/e2e-test/package.json index 958a5b6df..ac39158d6 100644 --- a/packages/e2e-test/package.json +++ b/packages/e2e-test/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/e2e-test", - "version": "0.21.0-next.0", + "version": "0.21.0-next.1", "private": true, "description": "CKB E2E test", "homepage": "https://github.com/ckb-js/lumos#readme", @@ -30,25 +30,25 @@ ] }, "dependencies": { - "@ckb-lumos/base": "0.21.0-next.0", - "@ckb-lumos/bi": "0.21.0-next.0", - "@ckb-lumos/ckb-indexer": "0.21.0-next.0", - "@ckb-lumos/codec": "0.21.0-next.0", - "@ckb-lumos/common-scripts": "0.21.0-next.0", - "@ckb-lumos/config-manager": "0.21.0-next.0", - "@ckb-lumos/hd": "0.21.0-next.0", - "@ckb-lumos/helpers": "0.21.0-next.0", - "@ckb-lumos/light-client": "0.21.0-next.0", - "@ckb-lumos/rpc": "0.21.0-next.0", - "@ckb-lumos/runner": "0.21.0-next.0", - "@ckb-lumos/toolkit": "0.21.0-next.0", - "@ckb-lumos/utils": "0.21.0-next.0", + "@ckb-lumos/base": "0.21.0-next.1", + "@ckb-lumos/bi": "0.21.0-next.1", + "@ckb-lumos/ckb-indexer": "0.21.0-next.1", + "@ckb-lumos/codec": "0.21.0-next.1", + "@ckb-lumos/common-scripts": "0.21.0-next.1", + "@ckb-lumos/config-manager": "0.21.0-next.1", + "@ckb-lumos/hd": "0.21.0-next.1", + "@ckb-lumos/helpers": "0.21.0-next.1", + "@ckb-lumos/light-client": "0.21.0-next.1", + "@ckb-lumos/rpc": "0.21.0-next.1", + "@ckb-lumos/runner": "0.21.0-next.1", + "@ckb-lumos/toolkit": "0.21.0-next.1", + "@ckb-lumos/utils": "0.21.0-next.1", "@types/kill-port": "^2.0.0", "events": "^3.3.0", "kill-port": "^2.0.1" }, "devDependencies": { - "@ckb-lumos/testkit": "0.21.0-next.0", + "@ckb-lumos/testkit": "0.21.0-next.1", "@types/request": "^2.48.8", "@types/sinon": "^10.0.6", "find-process": "^1.4.7", diff --git a/packages/experiment-tx-assembler/CHANGELOG.md b/packages/experiment-tx-assembler/CHANGELOG.md index 826746534..ad59b91d0 100644 --- a/packages/experiment-tx-assembler/CHANGELOG.md +++ b/packages/experiment-tx-assembler/CHANGELOG.md @@ -1,5 +1,7 @@ # @ckb-lumos/experiment-tx-assembler +## 0.21.0-next.1 + ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/experiment-tx-assembler/package.json b/packages/experiment-tx-assembler/package.json index 86a353860..2f83cf984 100644 --- a/packages/experiment-tx-assembler/package.json +++ b/packages/experiment-tx-assembler/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/experiment-tx-assembler", - "version": "0.21.0-next.0", + "version": "0.21.0-next.1", "description": "", "homepage": "https://github.com/ckb-js/lumos#readme", "license": "MIT", @@ -21,11 +21,11 @@ "access": "public" }, "dependencies": { - "@ckb-lumos/base": "0.21.0-next.0", - "@ckb-lumos/bi": "0.21.0-next.0", - "@ckb-lumos/config-manager": "0.21.0-next.0", - "@ckb-lumos/helpers": "0.21.0-next.0", - "@ckb-lumos/toolkit": "0.21.0-next.0" + "@ckb-lumos/base": "0.21.0-next.1", + "@ckb-lumos/bi": "0.21.0-next.1", + "@ckb-lumos/config-manager": "0.21.0-next.1", + "@ckb-lumos/helpers": "0.21.0-next.1", + "@ckb-lumos/toolkit": "0.21.0-next.1" }, "repository": { "type": "git", diff --git a/packages/hd-cache/CHANGELOG.md b/packages/hd-cache/CHANGELOG.md index 044113112..265ff4dcd 100644 --- a/packages/hd-cache/CHANGELOG.md +++ b/packages/hd-cache/CHANGELOG.md @@ -1,5 +1,7 @@ # @ckb-lumos/hd-cache +## 0.21.0-next.1 + ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/hd-cache/package.json b/packages/hd-cache/package.json index ba46ec7b0..7dcfbd79f 100644 --- a/packages/hd-cache/package.json +++ b/packages/hd-cache/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/hd-cache", - "version": "0.21.0-next.0", + "version": "0.21.0-next.1", "description": "HD wallet cache in lumos", "author": "Xuejie Xiao ", "homepage": "https://github.com/ckb-js/lumos#readme", @@ -19,12 +19,12 @@ "src" ], "dependencies": { - "@ckb-lumos/base": "0.21.0-next.0", - "@ckb-lumos/bi": "0.21.0-next.0", - "@ckb-lumos/ckb-indexer": "0.21.0-next.0", - "@ckb-lumos/config-manager": "0.21.0-next.0", - "@ckb-lumos/hd": "0.21.0-next.0", - "@ckb-lumos/rpc": "0.21.0-next.0", + "@ckb-lumos/base": "0.21.0-next.1", + "@ckb-lumos/bi": "0.21.0-next.1", + "@ckb-lumos/ckb-indexer": "0.21.0-next.1", + "@ckb-lumos/config-manager": "0.21.0-next.1", + "@ckb-lumos/hd": "0.21.0-next.1", + "@ckb-lumos/rpc": "0.21.0-next.1", "immutable": "^4.3.0" }, "devDependencies": { diff --git a/packages/hd/CHANGELOG.md b/packages/hd/CHANGELOG.md index dff0ab308..c4e5e5fa6 100644 --- a/packages/hd/CHANGELOG.md +++ b/packages/hd/CHANGELOG.md @@ -1,5 +1,7 @@ # @ckb-lumos/hd +## 0.21.0-next.1 + ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/hd/package.json b/packages/hd/package.json index 01be3e111..30f39c74b 100644 --- a/packages/hd/package.json +++ b/packages/hd/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/hd", - "version": "0.21.0-next.0", + "version": "0.21.0-next.1", "description": "HD wallet manager in lumos", "author": "Xuejie Xiao ", "homepage": "https://github.com/ckb-js/lumos#readme", @@ -19,8 +19,8 @@ "src" ], "dependencies": { - "@ckb-lumos/base": "0.21.0-next.0", - "@ckb-lumos/bi": "0.21.0-next.0", + "@ckb-lumos/base": "0.21.0-next.1", + "@ckb-lumos/bi": "0.21.0-next.1", "bn.js": "^5.1.3", "elliptic": "^6.5.4", "scrypt-js": "^3.0.1", diff --git a/packages/helpers/CHANGELOG.md b/packages/helpers/CHANGELOG.md index 5d91b2dbc..d2be6d6ad 100644 --- a/packages/helpers/CHANGELOG.md +++ b/packages/helpers/CHANGELOG.md @@ -1,5 +1,7 @@ # @ckb-lumos/helpers +## 0.21.0-next.1 + ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/helpers/package.json b/packages/helpers/package.json index cb96e0d08..1e266a2b1 100644 --- a/packages/helpers/package.json +++ b/packages/helpers/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/helpers", - "version": "0.21.0-next.0", + "version": "0.21.0-next.1", "description": "Helper functions for working with CKB", "author": "Xuejie Xiao ", "homepage": "https://github.com/ckb-js/lumos#readme", @@ -35,11 +35,11 @@ "url": "https://github.com/ckb-js/lumos/issues" }, "dependencies": { - "@ckb-lumos/base": "0.21.0-next.0", - "@ckb-lumos/bi": "0.21.0-next.0", - "@ckb-lumos/codec": "0.21.0-next.0", - "@ckb-lumos/config-manager": "0.21.0-next.0", - "@ckb-lumos/toolkit": "0.21.0-next.0", + "@ckb-lumos/base": "0.21.0-next.1", + "@ckb-lumos/bi": "0.21.0-next.1", + "@ckb-lumos/codec": "0.21.0-next.1", + "@ckb-lumos/config-manager": "0.21.0-next.1", + "@ckb-lumos/toolkit": "0.21.0-next.1", "bech32": "^2.0.0", "immutable": "^4.3.0" }, diff --git a/packages/light-client/CHANGELOG.md b/packages/light-client/CHANGELOG.md index c188cfbab..e5d52d13c 100644 --- a/packages/light-client/CHANGELOG.md +++ b/packages/light-client/CHANGELOG.md @@ -1,5 +1,7 @@ # @ckb-lumos/light-client +## 0.21.0-next.1 + ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/light-client/package.json b/packages/light-client/package.json index f32957d0e..6e24ac1ff 100644 --- a/packages/light-client/package.json +++ b/packages/light-client/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/light-client", - "version": "0.21.0-next.0", + "version": "0.21.0-next.1", "description": "CKB light client", "homepage": "https://github.com/ckb-js/lumos#readme", "license": "MIT", @@ -18,14 +18,14 @@ "src" ], "dependencies": { - "@ckb-lumos/base": "0.21.0-next.0", - "@ckb-lumos/ckb-indexer": "0.21.0-next.0", - "@ckb-lumos/rpc": "0.21.0-next.0", + "@ckb-lumos/base": "0.21.0-next.1", + "@ckb-lumos/ckb-indexer": "0.21.0-next.1", + "@ckb-lumos/rpc": "0.21.0-next.1", "cross-fetch": "^3.1.5", "events": "^3.3.0" }, "devDependencies": { - "@ckb-lumos/testkit": "0.21.0-next.0", + "@ckb-lumos/testkit": "0.21.0-next.1", "@types/request": "^2.48.8", "@types/sinon": "^10.0.6", "sinon": "^15.0.4" diff --git a/packages/lumos/CHANGELOG.md b/packages/lumos/CHANGELOG.md index a18d2e8ca..6b1790653 100644 --- a/packages/lumos/CHANGELOG.md +++ b/packages/lumos/CHANGELOG.md @@ -1,5 +1,7 @@ # @ckb-lumos/lumos +## 0.21.0-next.1 + ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/lumos/package.json b/packages/lumos/package.json index 972e382d6..930a9c8c7 100644 --- a/packages/lumos/package.json +++ b/packages/lumos/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/lumos", - "version": "0.21.0-next.0", + "version": "0.21.0-next.1", "description": "A root package for Lumos", "author": "Xuejie Xiao ", "homepage": "https://github.com/ckb-js/lumos#readme", @@ -34,15 +34,15 @@ "url": "https://github.com/ckb-js/lumos/issues" }, "dependencies": { - "@ckb-lumos/base": "0.21.0-next.0", - "@ckb-lumos/bi": "0.21.0-next.0", - "@ckb-lumos/ckb-indexer": "0.21.0-next.0", - "@ckb-lumos/common-scripts": "0.21.0-next.0", - "@ckb-lumos/config-manager": "0.21.0-next.0", - "@ckb-lumos/hd": "0.21.0-next.0", - "@ckb-lumos/helpers": "0.21.0-next.0", - "@ckb-lumos/rpc": "0.21.0-next.0", - "@ckb-lumos/toolkit": "0.21.0-next.0" + "@ckb-lumos/base": "0.21.0-next.1", + "@ckb-lumos/bi": "0.21.0-next.1", + "@ckb-lumos/ckb-indexer": "0.21.0-next.1", + "@ckb-lumos/common-scripts": "0.21.0-next.1", + "@ckb-lumos/config-manager": "0.21.0-next.1", + "@ckb-lumos/hd": "0.21.0-next.1", + "@ckb-lumos/helpers": "0.21.0-next.1", + "@ckb-lumos/rpc": "0.21.0-next.1", + "@ckb-lumos/toolkit": "0.21.0-next.1" }, "devDependencies": { "buffer": "^6.0.3", diff --git a/packages/molecule/CHANGELOG.md b/packages/molecule/CHANGELOG.md index 8b0615e70..7e59ccf12 100644 --- a/packages/molecule/CHANGELOG.md +++ b/packages/molecule/CHANGELOG.md @@ -1,5 +1,7 @@ # @ckb-lumos/molecule +## 0.21.0-next.1 + ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/molecule/package.json b/packages/molecule/package.json index 64dc4818a..8a182d161 100644 --- a/packages/molecule/package.json +++ b/packages/molecule/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/molecule", - "version": "0.21.0-next.0", + "version": "0.21.0-next.1", "description": "Molecule parser for CKB", "homepage": "https://github.com/ckb-js/lumos#readme", "license": "MIT", @@ -45,14 +45,14 @@ "clean": "rm -rf lib" }, "dependencies": { - "@ckb-lumos/bi": "0.21.0-next.0", - "@ckb-lumos/codec": "0.21.0-next.0", + "@ckb-lumos/bi": "0.21.0-next.1", + "@ckb-lumos/codec": "0.21.0-next.1", "@types/nearley": "^2.11.2", "moo": "^0.5.1", "nearley": "^2.20.1" }, "devDependencies": { - "@ckb-lumos/base": "0.21.0-next.0", + "@ckb-lumos/base": "0.21.0-next.1", "jsbi": "^4.1.0" } } diff --git a/packages/rpc/CHANGELOG.md b/packages/rpc/CHANGELOG.md index 83b2e2526..1e70abdbe 100644 --- a/packages/rpc/CHANGELOG.md +++ b/packages/rpc/CHANGELOG.md @@ -1,5 +1,7 @@ # @ckb-lumos/rpc +## 0.21.0-next.1 + ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/rpc/package.json b/packages/rpc/package.json index fe83d4df4..149019221 100644 --- a/packages/rpc/package.json +++ b/packages/rpc/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/rpc", - "version": "0.21.0-next.0", + "version": "0.21.0-next.1", "description": "RPC module for CKB", "homepage": "https://github.com/ckb-js/lumos#readme", "license": "MIT", @@ -36,8 +36,8 @@ "clean": "rm -rf lib" }, "dependencies": { - "@ckb-lumos/base": "0.21.0-next.0", - "@ckb-lumos/bi": "0.21.0-next.0", + "@ckb-lumos/base": "0.21.0-next.1", + "@ckb-lumos/bi": "0.21.0-next.1", "@vespaiach/axios-fetch-adapter": "^0.3.1", "axios": "0.27.2", "tslib": "2.3.1" diff --git a/packages/runner/CHANGELOG.md b/packages/runner/CHANGELOG.md index d9ac176d7..3d2964a30 100644 --- a/packages/runner/CHANGELOG.md +++ b/packages/runner/CHANGELOG.md @@ -1,5 +1,7 @@ # @ckb-lumos/runner +## 0.21.0-next.1 + ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/runner/package.json b/packages/runner/package.json index c821a0d97..05d1db98a 100644 --- a/packages/runner/package.json +++ b/packages/runner/package.json @@ -1,7 +1,7 @@ { "name": "@ckb-lumos/runner", "private": true, - "version": "0.21.0-next.0", + "version": "0.21.0-next.1", "description": "CKB related binary helper", "homepage": "https://github.com/ckb-js/lumos#readme", "bugs": { @@ -41,7 +41,7 @@ ] }, "dependencies": { - "@ckb-lumos/utils": "0.21.0-next.0", + "@ckb-lumos/utils": "0.21.0-next.1", "@ltd/j-toml": "^1.38.0", "@types/detect-port": "^1.3.3", "@types/download": "^8.0.1", diff --git a/packages/testkit/CHANGELOG.md b/packages/testkit/CHANGELOG.md index 663430046..87b4bfed6 100644 --- a/packages/testkit/CHANGELOG.md +++ b/packages/testkit/CHANGELOG.md @@ -1,5 +1,7 @@ # @ckb-lumos/testkit +## 0.21.0-next.1 + ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/testkit/package.json b/packages/testkit/package.json index 96a874b80..6f27f4137 100644 --- a/packages/testkit/package.json +++ b/packages/testkit/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/testkit", - "version": "0.21.0-next.0", + "version": "0.21.0-next.1", "description": "Test toolkit for CKB", "homepage": "https://github.com/ckb-js/lumos#readme", "license": "MIT", @@ -18,9 +18,9 @@ "src" ], "dependencies": { - "@ckb-lumos/base": "0.21.0-next.0", - "@ckb-lumos/bi": "0.21.0-next.0", - "@ckb-lumos/codec": "0.21.0-next.0", + "@ckb-lumos/base": "0.21.0-next.1", + "@ckb-lumos/bi": "0.21.0-next.1", + "@ckb-lumos/codec": "0.21.0-next.1", "@types/body-parser": "^1.19.1", "@types/download": "^8.0.1", "@types/express": "^4.17.17", diff --git a/packages/toolkit/CHANGELOG.md b/packages/toolkit/CHANGELOG.md index 9d846127b..ffa14339e 100644 --- a/packages/toolkit/CHANGELOG.md +++ b/packages/toolkit/CHANGELOG.md @@ -1,5 +1,7 @@ # @ckb-lumos/toolkit +## 0.21.0-next.1 + ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/toolkit/package.json b/packages/toolkit/package.json index f831283e1..06d57317b 100644 --- a/packages/toolkit/package.json +++ b/packages/toolkit/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/toolkit", - "version": "0.21.0-next.0", + "version": "0.21.0-next.1", "description": "JavaScript toolkits used to build dapps for Nervos CKB", "main": "lib/index.js", "types": "types/index.d.ts", @@ -30,7 +30,7 @@ "access": "public" }, "dependencies": { - "@ckb-lumos/bi": "0.21.0-next.0" + "@ckb-lumos/bi": "0.21.0-next.1" }, "devDependencies": { "@babel/plugin-proposal-export-namespace-from": "^7.18.9", diff --git a/packages/transaction-manager/CHANGELOG.md b/packages/transaction-manager/CHANGELOG.md index 8cd0bb6ed..9732b54c4 100644 --- a/packages/transaction-manager/CHANGELOG.md +++ b/packages/transaction-manager/CHANGELOG.md @@ -1,5 +1,7 @@ # @ckb-lumos/transaction-manager +## 0.21.0-next.1 + ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/transaction-manager/package.json b/packages/transaction-manager/package.json index d62d03b1e..1b57ed533 100644 --- a/packages/transaction-manager/package.json +++ b/packages/transaction-manager/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/transaction-manager", - "version": "0.21.0-next.0", + "version": "0.21.0-next.1", "description": "Pending Transactions Manager for lumos", "homepage": "https://github.com/ckb-js/lumos#readme", "license": "MIT", @@ -35,11 +35,11 @@ "url": "https://github.com/ckb-js/lumos/issues" }, "dependencies": { - "@ckb-lumos/base": "0.21.0-next.0", - "@ckb-lumos/codec": "0.21.0-next.0", - "@ckb-lumos/ckb-indexer": "0.21.0-next.0", - "@ckb-lumos/rpc": "0.21.0-next.0", - "@ckb-lumos/toolkit": "0.21.0-next.0", + "@ckb-lumos/base": "0.21.0-next.1", + "@ckb-lumos/codec": "0.21.0-next.1", + "@ckb-lumos/ckb-indexer": "0.21.0-next.1", + "@ckb-lumos/rpc": "0.21.0-next.1", + "@ckb-lumos/toolkit": "0.21.0-next.1", "immutable": "^4.3.0" }, "publishConfig": { diff --git a/packages/utils/CHANGELOG.md b/packages/utils/CHANGELOG.md index c7cb27aa7..50a42f9c2 100644 --- a/packages/utils/CHANGELOG.md +++ b/packages/utils/CHANGELOG.md @@ -1,5 +1,7 @@ # @ckb-lumos/utils +## 0.21.0-next.1 + ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/utils/package.json b/packages/utils/package.json index 372cfd1ae..ff76e1074 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/utils", - "version": "0.21.0-next.0", + "version": "0.21.0-next.1", "private": true, "description": "Common utilities", "homepage": "https://github.com/ckb-js/lumos#readme", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 803812822..ccbdeca8d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -114,13 +114,13 @@ importers: packages/base: dependencies: '@ckb-lumos/bi': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../bi '@ckb-lumos/codec': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../codec '@ckb-lumos/toolkit': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../toolkit '@types/blake2b': specifier: ^2.1.0 @@ -151,19 +151,19 @@ importers: packages/ckb-indexer: dependencies: '@ckb-lumos/base': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../base '@ckb-lumos/bi': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../bi '@ckb-lumos/codec': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../codec '@ckb-lumos/rpc': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../rpc '@ckb-lumos/toolkit': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../toolkit cross-fetch: specifier: ^3.1.5 @@ -173,7 +173,7 @@ importers: version: 3.3.0 devDependencies: '@ckb-lumos/testkit': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../testkit '@types/lodash.uniqby': specifier: ^4.7.7 @@ -200,7 +200,7 @@ importers: packages/codec: dependencies: '@ckb-lumos/bi': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../bi devDependencies: escape-string-regexp: @@ -213,35 +213,35 @@ importers: packages/common-scripts: dependencies: '@ckb-lumos/base': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../base '@ckb-lumos/bi': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../bi '@ckb-lumos/codec': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../codec '@ckb-lumos/config-manager': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../config-manager '@ckb-lumos/helpers': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../helpers '@ckb-lumos/rpc': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../rpc '@ckb-lumos/toolkit': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../toolkit immutable: specifier: ^4.3.0 version: 4.3.0 devDependencies: '@ckb-lumos/debugger': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../debugger '@ckb-lumos/hd': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../hd '@types/keccak': specifier: ^3.0.1 @@ -253,13 +253,13 @@ importers: packages/config-manager: dependencies: '@ckb-lumos/base': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../base '@ckb-lumos/bi': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../bi '@ckb-lumos/codec': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../codec '@types/deep-freeze-strict': specifier: ^1.1.0 @@ -271,22 +271,22 @@ importers: packages/debugger: dependencies: '@ckb-lumos/base': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../base '@ckb-lumos/bi': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../bi '@ckb-lumos/codec': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../codec '@ckb-lumos/config-manager': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../config-manager '@ckb-lumos/helpers': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../helpers '@ckb-lumos/rpc': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../rpc '@types/download': specifier: ^8.0.1 @@ -308,55 +308,55 @@ importers: version: 3.0.0 devDependencies: '@ckb-lumos/common-scripts': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../common-scripts '@ckb-lumos/experiment-tx-assembler': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../experiment-tx-assembler '@ckb-lumos/hd': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../hd packages/e2e-test: dependencies: '@ckb-lumos/base': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../base '@ckb-lumos/bi': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../bi '@ckb-lumos/ckb-indexer': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../ckb-indexer '@ckb-lumos/codec': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../codec '@ckb-lumos/common-scripts': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../common-scripts '@ckb-lumos/config-manager': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../config-manager '@ckb-lumos/hd': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../hd '@ckb-lumos/helpers': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../helpers '@ckb-lumos/light-client': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../light-client '@ckb-lumos/rpc': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../rpc '@ckb-lumos/runner': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../runner '@ckb-lumos/toolkit': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../toolkit '@ckb-lumos/utils': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../utils '@types/kill-port': specifier: ^2.0.0 @@ -369,7 +369,7 @@ importers: version: 2.0.1 devDependencies: '@ckb-lumos/testkit': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../testkit '@types/request': specifier: ^2.48.8 @@ -390,28 +390,28 @@ importers: packages/experiment-tx-assembler: dependencies: '@ckb-lumos/base': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../base '@ckb-lumos/bi': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../bi '@ckb-lumos/config-manager': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../config-manager '@ckb-lumos/helpers': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../helpers '@ckb-lumos/toolkit': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../toolkit packages/hd: dependencies: '@ckb-lumos/base': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../base '@ckb-lumos/bi': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../bi bn.js: specifier: ^5.1.3 @@ -442,22 +442,22 @@ importers: packages/hd-cache: dependencies: '@ckb-lumos/base': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../base '@ckb-lumos/bi': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../bi '@ckb-lumos/ckb-indexer': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../ckb-indexer '@ckb-lumos/config-manager': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../config-manager '@ckb-lumos/hd': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../hd '@ckb-lumos/rpc': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../rpc immutable: specifier: ^4.3.0 @@ -473,19 +473,19 @@ importers: packages/helpers: dependencies: '@ckb-lumos/base': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../base '@ckb-lumos/bi': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../bi '@ckb-lumos/codec': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../codec '@ckb-lumos/config-manager': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../config-manager '@ckb-lumos/toolkit': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../toolkit bech32: specifier: ^2.0.0 @@ -497,13 +497,13 @@ importers: packages/light-client: dependencies: '@ckb-lumos/base': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../base '@ckb-lumos/ckb-indexer': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../ckb-indexer '@ckb-lumos/rpc': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../rpc cross-fetch: specifier: ^3.1.5 @@ -513,7 +513,7 @@ importers: version: 3.3.0 devDependencies: '@ckb-lumos/testkit': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../testkit '@types/request': specifier: ^2.48.8 @@ -528,31 +528,31 @@ importers: packages/lumos: dependencies: '@ckb-lumos/base': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../base '@ckb-lumos/bi': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../bi '@ckb-lumos/ckb-indexer': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../ckb-indexer '@ckb-lumos/common-scripts': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../common-scripts '@ckb-lumos/config-manager': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../config-manager '@ckb-lumos/hd': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../hd '@ckb-lumos/helpers': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../helpers '@ckb-lumos/rpc': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../rpc '@ckb-lumos/toolkit': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../toolkit devDependencies: buffer: @@ -580,10 +580,10 @@ importers: packages/molecule: dependencies: '@ckb-lumos/bi': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../bi '@ckb-lumos/codec': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../codec '@types/nearley': specifier: ^2.11.2 @@ -596,7 +596,7 @@ importers: version: 2.20.1 devDependencies: '@ckb-lumos/base': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../base jsbi: specifier: ^4.1.0 @@ -605,10 +605,10 @@ importers: packages/rpc: dependencies: '@ckb-lumos/base': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../base '@ckb-lumos/bi': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../bi '@vespaiach/axios-fetch-adapter': specifier: ^0.3.1 @@ -639,7 +639,7 @@ importers: packages/runner: dependencies: '@ckb-lumos/utils': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../utils '@ltd/j-toml': specifier: ^1.38.0 @@ -675,13 +675,13 @@ importers: packages/testkit: dependencies: '@ckb-lumos/base': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../base '@ckb-lumos/bi': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../bi '@ckb-lumos/codec': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../codec '@types/body-parser': specifier: ^1.19.1 @@ -718,7 +718,7 @@ importers: packages/toolkit: dependencies: '@ckb-lumos/bi': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../bi devDependencies: '@babel/plugin-proposal-export-namespace-from': @@ -731,19 +731,19 @@ importers: packages/transaction-manager: dependencies: '@ckb-lumos/base': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../base '@ckb-lumos/ckb-indexer': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../ckb-indexer '@ckb-lumos/codec': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../codec '@ckb-lumos/rpc': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../rpc '@ckb-lumos/toolkit': - specifier: 0.21.0-next.0 + specifier: 0.21.0-next.1 version: link:../toolkit immutable: specifier: ^4.3.0 From 45784692e3d92d4eb0ea78e4eb47439466c376b7 Mon Sep 17 00:00:00 2001 From: zhangyouxin Date: Wed, 11 Oct 2023 09:13:35 +0800 Subject: [PATCH 5/9] chore: remove jsbi re-export --- packages/toolkit/types/index.d.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/toolkit/types/index.d.ts b/packages/toolkit/types/index.d.ts index 8a6429e7c..a359b56f5 100644 --- a/packages/toolkit/types/index.d.ts +++ b/packages/toolkit/types/index.d.ts @@ -1,5 +1,3 @@ -import JSBI from "jsbi"; - export * as validators from "./validators"; /** From 4cb0a63586b78df013aca756b710c5ec0b83df0d Mon Sep 17 00:00:00 2001 From: zhangyouxin Date: Wed, 11 Oct 2023 15:22:24 +0800 Subject: [PATCH 6/9] Revert "chore: run changeset:version" This reverts commit 6c64f967a8e93ad4ae8f73bd22916f953b543f8d. --- .changeset/pre.json | 4 +- packages/base/CHANGELOG.md | 2 - packages/base/package.json | 8 +- packages/bi/CHANGELOG.md | 2 - packages/bi/package.json | 2 +- packages/ckb-indexer/CHANGELOG.md | 2 - packages/ckb-indexer/package.json | 14 +- packages/codec/CHANGELOG.md | 2 - packages/codec/package.json | 4 +- packages/common-scripts/CHANGELOG.md | 6 - packages/common-scripts/package.json | 20 +- packages/config-manager/CHANGELOG.md | 6 - packages/config-manager/package.json | 8 +- packages/debugger/CHANGELOG.md | 2 - packages/debugger/package.json | 20 +- packages/e2e-test/CHANGELOG.md | 2 - packages/e2e-test/package.json | 30 +-- packages/experiment-tx-assembler/CHANGELOG.md | 2 - packages/experiment-tx-assembler/package.json | 12 +- packages/hd-cache/CHANGELOG.md | 2 - packages/hd-cache/package.json | 14 +- packages/hd/CHANGELOG.md | 2 - packages/hd/package.json | 6 +- packages/helpers/CHANGELOG.md | 2 - packages/helpers/package.json | 12 +- packages/light-client/CHANGELOG.md | 2 - packages/light-client/package.json | 10 +- packages/lumos/CHANGELOG.md | 2 - packages/lumos/package.json | 20 +- packages/molecule/CHANGELOG.md | 2 - packages/molecule/package.json | 8 +- packages/rpc/CHANGELOG.md | 2 - packages/rpc/package.json | 6 +- packages/runner/CHANGELOG.md | 2 - packages/runner/package.json | 4 +- packages/testkit/CHANGELOG.md | 2 - packages/testkit/package.json | 8 +- packages/toolkit/CHANGELOG.md | 2 - packages/toolkit/package.json | 4 +- packages/transaction-manager/CHANGELOG.md | 2 - packages/transaction-manager/package.json | 12 +- packages/utils/CHANGELOG.md | 2 - packages/utils/package.json | 2 +- pnpm-lock.yaml | 182 +++++++++--------- 44 files changed, 204 insertions(+), 256 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index 3dbc8615a..93caa5344 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -26,8 +26,6 @@ }, "changesets": [ "kind-pandas-train", - "orange-flowers-sort", - "smart-bags-fetch", - "two-brooms-draw" + "orange-flowers-sort" ] } diff --git a/packages/base/CHANGELOG.md b/packages/base/CHANGELOG.md index 749378815..57a8d3800 100644 --- a/packages/base/CHANGELOG.md +++ b/packages/base/CHANGELOG.md @@ -1,7 +1,5 @@ # @ckb-lumos/base -## 0.21.0-next.1 - ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/base/package.json b/packages/base/package.json index 50d3236a0..017c23a3b 100644 --- a/packages/base/package.json +++ b/packages/base/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/base", - "version": "0.21.0-next.1", + "version": "0.21.0-next.0", "description": "Base data structures and utilities used in lumos", "author": "Xuejie Xiao ", "homepage": "https://github.com/ckb-js/lumos#readme", @@ -44,9 +44,9 @@ ] }, "dependencies": { - "@ckb-lumos/bi": "0.21.0-next.1", - "@ckb-lumos/codec": "0.21.0-next.1", - "@ckb-lumos/toolkit": "0.21.0-next.1", + "@ckb-lumos/bi": "0.21.0-next.0", + "@ckb-lumos/codec": "0.21.0-next.0", + "@ckb-lumos/toolkit": "0.21.0-next.0", "@types/blake2b": "^2.1.0", "@types/lodash.isequal": "^4.5.5", "blake2b": "^2.1.3", diff --git a/packages/bi/CHANGELOG.md b/packages/bi/CHANGELOG.md index 238ee3297..73ba361ab 100644 --- a/packages/bi/CHANGELOG.md +++ b/packages/bi/CHANGELOG.md @@ -1,7 +1,5 @@ # @ckb-lumos/bi -## 0.21.0-next.1 - ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/bi/package.json b/packages/bi/package.json index 2c23b9b6b..149af0e08 100644 --- a/packages/bi/package.json +++ b/packages/bi/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/bi", - "version": "0.21.0-next.1", + "version": "0.21.0-next.0", "description": "Bigint support in lumos", "author": "", "homepage": "https://github.com/ckb-js/lumos#readme", diff --git a/packages/ckb-indexer/CHANGELOG.md b/packages/ckb-indexer/CHANGELOG.md index c8083ee77..7031be01d 100644 --- a/packages/ckb-indexer/CHANGELOG.md +++ b/packages/ckb-indexer/CHANGELOG.md @@ -1,7 +1,5 @@ # @ckb-lumos/ckb-indexer -## 0.21.0-next.1 - ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/ckb-indexer/package.json b/packages/ckb-indexer/package.json index 878f361eb..a17110485 100644 --- a/packages/ckb-indexer/package.json +++ b/packages/ckb-indexer/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/ckb-indexer", - "version": "0.21.0-next.1", + "version": "0.21.0-next.0", "description": "CKB Indexer", "author": "Xuejie Xiao ", "homepage": "https://github.com/ckb-js/lumos#readme", @@ -19,16 +19,16 @@ "src" ], "dependencies": { - "@ckb-lumos/base": "0.21.0-next.1", - "@ckb-lumos/bi": "0.21.0-next.1", - "@ckb-lumos/codec": "0.21.0-next.1", - "@ckb-lumos/rpc": "0.21.0-next.1", - "@ckb-lumos/toolkit": "0.21.0-next.1", + "@ckb-lumos/base": "0.21.0-next.0", + "@ckb-lumos/bi": "0.21.0-next.0", + "@ckb-lumos/codec": "0.21.0-next.0", + "@ckb-lumos/rpc": "0.21.0-next.0", + "@ckb-lumos/toolkit": "0.21.0-next.0", "cross-fetch": "^3.1.5", "events": "^3.3.0" }, "devDependencies": { - "@ckb-lumos/testkit": "0.21.0-next.1", + "@ckb-lumos/testkit": "0.21.0-next.0", "@types/lodash.uniqby": "^4.7.7", "@types/request": "^2.48.8", "@types/sinon": "^10.0.6", diff --git a/packages/codec/CHANGELOG.md b/packages/codec/CHANGELOG.md index cf736caec..77f270cde 100644 --- a/packages/codec/CHANGELOG.md +++ b/packages/codec/CHANGELOG.md @@ -1,7 +1,5 @@ # @ckb-lumos/codec -## 0.21.0-next.1 - ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/codec/package.json b/packages/codec/package.json index 6e53cc709..eccece08b 100644 --- a/packages/codec/package.json +++ b/packages/codec/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/codec", - "version": "0.21.0-next.1", + "version": "0.21.0-next.0", "description": "Make your own molecule binding in JavaScript(TypeScript)", "author": "", "homepage": "https://github.com/ckb-js/lumos#readme", @@ -28,7 +28,7 @@ "clean": "rm -rf lib" }, "dependencies": { - "@ckb-lumos/bi": "0.21.0-next.1" + "@ckb-lumos/bi": "0.21.0-next.0" }, "publishConfig": { "access": "public" diff --git a/packages/common-scripts/CHANGELOG.md b/packages/common-scripts/CHANGELOG.md index 471a3ca37..f188591ac 100644 --- a/packages/common-scripts/CHANGELOG.md +++ b/packages/common-scripts/CHANGELOG.md @@ -1,11 +1,5 @@ # @ckb-lumos/common-scripts -## 0.21.0-next.1 - -### Patch Changes - -- [#552](https://github.com/ckb-js/lumos/pull/552) [`1cb43fe7`](https://github.com/ckb-js/lumos/commit/1cb43fe72dc95c4b3283acccb5120b7bcaeb9346) Thanks [@homura](https://github.com/homura)! - fix incorrect `TX_HASH` when generate a deployment transaction - ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/common-scripts/package.json b/packages/common-scripts/package.json index f25bb811d..4ddf1cd4a 100644 --- a/packages/common-scripts/package.json +++ b/packages/common-scripts/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/common-scripts", - "version": "0.21.0-next.1", + "version": "0.21.0-next.0", "description": "Common script support in lumos", "author": "Xuejie Xiao ", "homepage": "https://github.com/ckb-js/lumos#readme", @@ -19,13 +19,13 @@ "src" ], "dependencies": { - "@ckb-lumos/base": "0.21.0-next.1", - "@ckb-lumos/bi": "0.21.0-next.1", - "@ckb-lumos/codec": "0.21.0-next.1", - "@ckb-lumos/config-manager": "0.21.0-next.1", - "@ckb-lumos/helpers": "0.21.0-next.1", - "@ckb-lumos/rpc": "0.21.0-next.1", - "@ckb-lumos/toolkit": "0.21.0-next.1", + "@ckb-lumos/base": "0.21.0-next.0", + "@ckb-lumos/bi": "0.21.0-next.0", + "@ckb-lumos/codec": "0.21.0-next.0", + "@ckb-lumos/config-manager": "0.21.0-next.0", + "@ckb-lumos/helpers": "0.21.0-next.0", + "@ckb-lumos/rpc": "0.21.0-next.0", + "@ckb-lumos/toolkit": "0.21.0-next.0", "immutable": "^4.3.0" }, "repository": { @@ -53,8 +53,8 @@ ] }, "devDependencies": { - "@ckb-lumos/debugger": "0.21.0-next.1", - "@ckb-lumos/hd": "0.21.0-next.1", + "@ckb-lumos/debugger": "0.21.0-next.0", + "@ckb-lumos/hd": "0.21.0-next.0", "@types/keccak": "^3.0.1", "keccak": "^3.0.1" }, diff --git a/packages/config-manager/CHANGELOG.md b/packages/config-manager/CHANGELOG.md index 86db0c40f..c5538efc2 100644 --- a/packages/config-manager/CHANGELOG.md +++ b/packages/config-manager/CHANGELOG.md @@ -1,11 +1,5 @@ # @ckb-lumos/config-manager -## 0.21.0-next.1 - -### Minor Changes - -- [#552](https://github.com/ckb-js/lumos/pull/552) [`1cb43fe7`](https://github.com/ckb-js/lumos/commit/1cb43fe72dc95c4b3283acccb5120b7bcaeb9346) Thanks [@homura](https://github.com/homura)! - supported generate `ScriptConfig` from a genesis block - ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/config-manager/package.json b/packages/config-manager/package.json index 49d81428b..3fa6f9346 100644 --- a/packages/config-manager/package.json +++ b/packages/config-manager/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/config-manager", - "version": "0.21.0-next.1", + "version": "0.21.0-next.0", "description": "Config manager for lumos", "author": "Xuejie Xiao ", "homepage": "https://github.com/ckb-js/lumos#readme", @@ -34,9 +34,9 @@ "url": "https://github.com/ckb-js/lumos/issues" }, "dependencies": { - "@ckb-lumos/base": "0.21.0-next.1", - "@ckb-lumos/bi": "0.21.0-next.1", - "@ckb-lumos/codec": "0.21.0-next.1", + "@ckb-lumos/base": "0.21.0-next.0", + "@ckb-lumos/bi": "0.21.0-next.0", + "@ckb-lumos/codec": "0.21.0-next.0", "@types/deep-freeze-strict": "^1.1.0", "deep-freeze-strict": "^1.1.1" }, diff --git a/packages/debugger/CHANGELOG.md b/packages/debugger/CHANGELOG.md index 5c71d405d..41bfc9dbc 100644 --- a/packages/debugger/CHANGELOG.md +++ b/packages/debugger/CHANGELOG.md @@ -1,7 +1,5 @@ # @ckb-lumos/debugger -## 0.21.0-next.1 - ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/debugger/package.json b/packages/debugger/package.json index a72a783de..23724a325 100644 --- a/packages/debugger/package.json +++ b/packages/debugger/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@ckb-lumos/debugger", - "version": "0.21.0-next.1", + "version": "0.21.0-next.0", "description": "ckb-standard-debugger wrapper for lumos, check tx without launching a full node", "author": "", "homepage": "https://github.com/ckb-js/lumos#readme", @@ -21,12 +21,12 @@ "contracts" ], "dependencies": { - "@ckb-lumos/base": "0.21.0-next.1", - "@ckb-lumos/bi": "0.21.0-next.1", - "@ckb-lumos/codec": "0.21.0-next.1", - "@ckb-lumos/config-manager": "0.21.0-next.1", - "@ckb-lumos/helpers": "0.21.0-next.1", - "@ckb-lumos/rpc": "0.21.0-next.1", + "@ckb-lumos/base": "0.21.0-next.0", + "@ckb-lumos/bi": "0.21.0-next.0", + "@ckb-lumos/codec": "0.21.0-next.0", + "@ckb-lumos/config-manager": "0.21.0-next.0", + "@ckb-lumos/helpers": "0.21.0-next.0", + "@ckb-lumos/rpc": "0.21.0-next.0", "@types/download": "^8.0.1", "@types/object-hash": "^2.2.1", "debug": "^4.3.4", @@ -35,9 +35,9 @@ "object-hash": "^3.0.0" }, "devDependencies": { - "@ckb-lumos/common-scripts": "0.21.0-next.1", - "@ckb-lumos/experiment-tx-assembler": "0.21.0-next.1", - "@ckb-lumos/hd": "0.21.0-next.1" + "@ckb-lumos/common-scripts": "0.21.0-next.0", + "@ckb-lumos/experiment-tx-assembler": "0.21.0-next.0", + "@ckb-lumos/hd": "0.21.0-next.0" }, "bin": { "download-ckb-debugger": "bin/download-ckb-debugger.js" diff --git a/packages/e2e-test/CHANGELOG.md b/packages/e2e-test/CHANGELOG.md index b94c394c4..1dace3163 100644 --- a/packages/e2e-test/CHANGELOG.md +++ b/packages/e2e-test/CHANGELOG.md @@ -1,7 +1,5 @@ # @ckb-lumos/e2e-test -## 0.21.0-next.1 - ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/e2e-test/package.json b/packages/e2e-test/package.json index ac39158d6..958a5b6df 100644 --- a/packages/e2e-test/package.json +++ b/packages/e2e-test/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/e2e-test", - "version": "0.21.0-next.1", + "version": "0.21.0-next.0", "private": true, "description": "CKB E2E test", "homepage": "https://github.com/ckb-js/lumos#readme", @@ -30,25 +30,25 @@ ] }, "dependencies": { - "@ckb-lumos/base": "0.21.0-next.1", - "@ckb-lumos/bi": "0.21.0-next.1", - "@ckb-lumos/ckb-indexer": "0.21.0-next.1", - "@ckb-lumos/codec": "0.21.0-next.1", - "@ckb-lumos/common-scripts": "0.21.0-next.1", - "@ckb-lumos/config-manager": "0.21.0-next.1", - "@ckb-lumos/hd": "0.21.0-next.1", - "@ckb-lumos/helpers": "0.21.0-next.1", - "@ckb-lumos/light-client": "0.21.0-next.1", - "@ckb-lumos/rpc": "0.21.0-next.1", - "@ckb-lumos/runner": "0.21.0-next.1", - "@ckb-lumos/toolkit": "0.21.0-next.1", - "@ckb-lumos/utils": "0.21.0-next.1", + "@ckb-lumos/base": "0.21.0-next.0", + "@ckb-lumos/bi": "0.21.0-next.0", + "@ckb-lumos/ckb-indexer": "0.21.0-next.0", + "@ckb-lumos/codec": "0.21.0-next.0", + "@ckb-lumos/common-scripts": "0.21.0-next.0", + "@ckb-lumos/config-manager": "0.21.0-next.0", + "@ckb-lumos/hd": "0.21.0-next.0", + "@ckb-lumos/helpers": "0.21.0-next.0", + "@ckb-lumos/light-client": "0.21.0-next.0", + "@ckb-lumos/rpc": "0.21.0-next.0", + "@ckb-lumos/runner": "0.21.0-next.0", + "@ckb-lumos/toolkit": "0.21.0-next.0", + "@ckb-lumos/utils": "0.21.0-next.0", "@types/kill-port": "^2.0.0", "events": "^3.3.0", "kill-port": "^2.0.1" }, "devDependencies": { - "@ckb-lumos/testkit": "0.21.0-next.1", + "@ckb-lumos/testkit": "0.21.0-next.0", "@types/request": "^2.48.8", "@types/sinon": "^10.0.6", "find-process": "^1.4.7", diff --git a/packages/experiment-tx-assembler/CHANGELOG.md b/packages/experiment-tx-assembler/CHANGELOG.md index ad59b91d0..826746534 100644 --- a/packages/experiment-tx-assembler/CHANGELOG.md +++ b/packages/experiment-tx-assembler/CHANGELOG.md @@ -1,7 +1,5 @@ # @ckb-lumos/experiment-tx-assembler -## 0.21.0-next.1 - ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/experiment-tx-assembler/package.json b/packages/experiment-tx-assembler/package.json index 2f83cf984..86a353860 100644 --- a/packages/experiment-tx-assembler/package.json +++ b/packages/experiment-tx-assembler/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/experiment-tx-assembler", - "version": "0.21.0-next.1", + "version": "0.21.0-next.0", "description": "", "homepage": "https://github.com/ckb-js/lumos#readme", "license": "MIT", @@ -21,11 +21,11 @@ "access": "public" }, "dependencies": { - "@ckb-lumos/base": "0.21.0-next.1", - "@ckb-lumos/bi": "0.21.0-next.1", - "@ckb-lumos/config-manager": "0.21.0-next.1", - "@ckb-lumos/helpers": "0.21.0-next.1", - "@ckb-lumos/toolkit": "0.21.0-next.1" + "@ckb-lumos/base": "0.21.0-next.0", + "@ckb-lumos/bi": "0.21.0-next.0", + "@ckb-lumos/config-manager": "0.21.0-next.0", + "@ckb-lumos/helpers": "0.21.0-next.0", + "@ckb-lumos/toolkit": "0.21.0-next.0" }, "repository": { "type": "git", diff --git a/packages/hd-cache/CHANGELOG.md b/packages/hd-cache/CHANGELOG.md index 265ff4dcd..044113112 100644 --- a/packages/hd-cache/CHANGELOG.md +++ b/packages/hd-cache/CHANGELOG.md @@ -1,7 +1,5 @@ # @ckb-lumos/hd-cache -## 0.21.0-next.1 - ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/hd-cache/package.json b/packages/hd-cache/package.json index 7dcfbd79f..ba46ec7b0 100644 --- a/packages/hd-cache/package.json +++ b/packages/hd-cache/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/hd-cache", - "version": "0.21.0-next.1", + "version": "0.21.0-next.0", "description": "HD wallet cache in lumos", "author": "Xuejie Xiao ", "homepage": "https://github.com/ckb-js/lumos#readme", @@ -19,12 +19,12 @@ "src" ], "dependencies": { - "@ckb-lumos/base": "0.21.0-next.1", - "@ckb-lumos/bi": "0.21.0-next.1", - "@ckb-lumos/ckb-indexer": "0.21.0-next.1", - "@ckb-lumos/config-manager": "0.21.0-next.1", - "@ckb-lumos/hd": "0.21.0-next.1", - "@ckb-lumos/rpc": "0.21.0-next.1", + "@ckb-lumos/base": "0.21.0-next.0", + "@ckb-lumos/bi": "0.21.0-next.0", + "@ckb-lumos/ckb-indexer": "0.21.0-next.0", + "@ckb-lumos/config-manager": "0.21.0-next.0", + "@ckb-lumos/hd": "0.21.0-next.0", + "@ckb-lumos/rpc": "0.21.0-next.0", "immutable": "^4.3.0" }, "devDependencies": { diff --git a/packages/hd/CHANGELOG.md b/packages/hd/CHANGELOG.md index c4e5e5fa6..dff0ab308 100644 --- a/packages/hd/CHANGELOG.md +++ b/packages/hd/CHANGELOG.md @@ -1,7 +1,5 @@ # @ckb-lumos/hd -## 0.21.0-next.1 - ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/hd/package.json b/packages/hd/package.json index 30f39c74b..01be3e111 100644 --- a/packages/hd/package.json +++ b/packages/hd/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/hd", - "version": "0.21.0-next.1", + "version": "0.21.0-next.0", "description": "HD wallet manager in lumos", "author": "Xuejie Xiao ", "homepage": "https://github.com/ckb-js/lumos#readme", @@ -19,8 +19,8 @@ "src" ], "dependencies": { - "@ckb-lumos/base": "0.21.0-next.1", - "@ckb-lumos/bi": "0.21.0-next.1", + "@ckb-lumos/base": "0.21.0-next.0", + "@ckb-lumos/bi": "0.21.0-next.0", "bn.js": "^5.1.3", "elliptic": "^6.5.4", "scrypt-js": "^3.0.1", diff --git a/packages/helpers/CHANGELOG.md b/packages/helpers/CHANGELOG.md index d2be6d6ad..5d91b2dbc 100644 --- a/packages/helpers/CHANGELOG.md +++ b/packages/helpers/CHANGELOG.md @@ -1,7 +1,5 @@ # @ckb-lumos/helpers -## 0.21.0-next.1 - ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/helpers/package.json b/packages/helpers/package.json index 1e266a2b1..cb96e0d08 100644 --- a/packages/helpers/package.json +++ b/packages/helpers/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/helpers", - "version": "0.21.0-next.1", + "version": "0.21.0-next.0", "description": "Helper functions for working with CKB", "author": "Xuejie Xiao ", "homepage": "https://github.com/ckb-js/lumos#readme", @@ -35,11 +35,11 @@ "url": "https://github.com/ckb-js/lumos/issues" }, "dependencies": { - "@ckb-lumos/base": "0.21.0-next.1", - "@ckb-lumos/bi": "0.21.0-next.1", - "@ckb-lumos/codec": "0.21.0-next.1", - "@ckb-lumos/config-manager": "0.21.0-next.1", - "@ckb-lumos/toolkit": "0.21.0-next.1", + "@ckb-lumos/base": "0.21.0-next.0", + "@ckb-lumos/bi": "0.21.0-next.0", + "@ckb-lumos/codec": "0.21.0-next.0", + "@ckb-lumos/config-manager": "0.21.0-next.0", + "@ckb-lumos/toolkit": "0.21.0-next.0", "bech32": "^2.0.0", "immutable": "^4.3.0" }, diff --git a/packages/light-client/CHANGELOG.md b/packages/light-client/CHANGELOG.md index e5d52d13c..c188cfbab 100644 --- a/packages/light-client/CHANGELOG.md +++ b/packages/light-client/CHANGELOG.md @@ -1,7 +1,5 @@ # @ckb-lumos/light-client -## 0.21.0-next.1 - ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/light-client/package.json b/packages/light-client/package.json index 6e24ac1ff..f32957d0e 100644 --- a/packages/light-client/package.json +++ b/packages/light-client/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/light-client", - "version": "0.21.0-next.1", + "version": "0.21.0-next.0", "description": "CKB light client", "homepage": "https://github.com/ckb-js/lumos#readme", "license": "MIT", @@ -18,14 +18,14 @@ "src" ], "dependencies": { - "@ckb-lumos/base": "0.21.0-next.1", - "@ckb-lumos/ckb-indexer": "0.21.0-next.1", - "@ckb-lumos/rpc": "0.21.0-next.1", + "@ckb-lumos/base": "0.21.0-next.0", + "@ckb-lumos/ckb-indexer": "0.21.0-next.0", + "@ckb-lumos/rpc": "0.21.0-next.0", "cross-fetch": "^3.1.5", "events": "^3.3.0" }, "devDependencies": { - "@ckb-lumos/testkit": "0.21.0-next.1", + "@ckb-lumos/testkit": "0.21.0-next.0", "@types/request": "^2.48.8", "@types/sinon": "^10.0.6", "sinon": "^15.0.4" diff --git a/packages/lumos/CHANGELOG.md b/packages/lumos/CHANGELOG.md index 6b1790653..a18d2e8ca 100644 --- a/packages/lumos/CHANGELOG.md +++ b/packages/lumos/CHANGELOG.md @@ -1,7 +1,5 @@ # @ckb-lumos/lumos -## 0.21.0-next.1 - ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/lumos/package.json b/packages/lumos/package.json index 930a9c8c7..972e382d6 100644 --- a/packages/lumos/package.json +++ b/packages/lumos/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/lumos", - "version": "0.21.0-next.1", + "version": "0.21.0-next.0", "description": "A root package for Lumos", "author": "Xuejie Xiao ", "homepage": "https://github.com/ckb-js/lumos#readme", @@ -34,15 +34,15 @@ "url": "https://github.com/ckb-js/lumos/issues" }, "dependencies": { - "@ckb-lumos/base": "0.21.0-next.1", - "@ckb-lumos/bi": "0.21.0-next.1", - "@ckb-lumos/ckb-indexer": "0.21.0-next.1", - "@ckb-lumos/common-scripts": "0.21.0-next.1", - "@ckb-lumos/config-manager": "0.21.0-next.1", - "@ckb-lumos/hd": "0.21.0-next.1", - "@ckb-lumos/helpers": "0.21.0-next.1", - "@ckb-lumos/rpc": "0.21.0-next.1", - "@ckb-lumos/toolkit": "0.21.0-next.1" + "@ckb-lumos/base": "0.21.0-next.0", + "@ckb-lumos/bi": "0.21.0-next.0", + "@ckb-lumos/ckb-indexer": "0.21.0-next.0", + "@ckb-lumos/common-scripts": "0.21.0-next.0", + "@ckb-lumos/config-manager": "0.21.0-next.0", + "@ckb-lumos/hd": "0.21.0-next.0", + "@ckb-lumos/helpers": "0.21.0-next.0", + "@ckb-lumos/rpc": "0.21.0-next.0", + "@ckb-lumos/toolkit": "0.21.0-next.0" }, "devDependencies": { "buffer": "^6.0.3", diff --git a/packages/molecule/CHANGELOG.md b/packages/molecule/CHANGELOG.md index 7e59ccf12..8b0615e70 100644 --- a/packages/molecule/CHANGELOG.md +++ b/packages/molecule/CHANGELOG.md @@ -1,7 +1,5 @@ # @ckb-lumos/molecule -## 0.21.0-next.1 - ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/molecule/package.json b/packages/molecule/package.json index 8a182d161..64dc4818a 100644 --- a/packages/molecule/package.json +++ b/packages/molecule/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/molecule", - "version": "0.21.0-next.1", + "version": "0.21.0-next.0", "description": "Molecule parser for CKB", "homepage": "https://github.com/ckb-js/lumos#readme", "license": "MIT", @@ -45,14 +45,14 @@ "clean": "rm -rf lib" }, "dependencies": { - "@ckb-lumos/bi": "0.21.0-next.1", - "@ckb-lumos/codec": "0.21.0-next.1", + "@ckb-lumos/bi": "0.21.0-next.0", + "@ckb-lumos/codec": "0.21.0-next.0", "@types/nearley": "^2.11.2", "moo": "^0.5.1", "nearley": "^2.20.1" }, "devDependencies": { - "@ckb-lumos/base": "0.21.0-next.1", + "@ckb-lumos/base": "0.21.0-next.0", "jsbi": "^4.1.0" } } diff --git a/packages/rpc/CHANGELOG.md b/packages/rpc/CHANGELOG.md index 1e70abdbe..83b2e2526 100644 --- a/packages/rpc/CHANGELOG.md +++ b/packages/rpc/CHANGELOG.md @@ -1,7 +1,5 @@ # @ckb-lumos/rpc -## 0.21.0-next.1 - ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/rpc/package.json b/packages/rpc/package.json index 149019221..fe83d4df4 100644 --- a/packages/rpc/package.json +++ b/packages/rpc/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/rpc", - "version": "0.21.0-next.1", + "version": "0.21.0-next.0", "description": "RPC module for CKB", "homepage": "https://github.com/ckb-js/lumos#readme", "license": "MIT", @@ -36,8 +36,8 @@ "clean": "rm -rf lib" }, "dependencies": { - "@ckb-lumos/base": "0.21.0-next.1", - "@ckb-lumos/bi": "0.21.0-next.1", + "@ckb-lumos/base": "0.21.0-next.0", + "@ckb-lumos/bi": "0.21.0-next.0", "@vespaiach/axios-fetch-adapter": "^0.3.1", "axios": "0.27.2", "tslib": "2.3.1" diff --git a/packages/runner/CHANGELOG.md b/packages/runner/CHANGELOG.md index 3d2964a30..d9ac176d7 100644 --- a/packages/runner/CHANGELOG.md +++ b/packages/runner/CHANGELOG.md @@ -1,7 +1,5 @@ # @ckb-lumos/runner -## 0.21.0-next.1 - ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/runner/package.json b/packages/runner/package.json index 05d1db98a..c821a0d97 100644 --- a/packages/runner/package.json +++ b/packages/runner/package.json @@ -1,7 +1,7 @@ { "name": "@ckb-lumos/runner", "private": true, - "version": "0.21.0-next.1", + "version": "0.21.0-next.0", "description": "CKB related binary helper", "homepage": "https://github.com/ckb-js/lumos#readme", "bugs": { @@ -41,7 +41,7 @@ ] }, "dependencies": { - "@ckb-lumos/utils": "0.21.0-next.1", + "@ckb-lumos/utils": "0.21.0-next.0", "@ltd/j-toml": "^1.38.0", "@types/detect-port": "^1.3.3", "@types/download": "^8.0.1", diff --git a/packages/testkit/CHANGELOG.md b/packages/testkit/CHANGELOG.md index 87b4bfed6..663430046 100644 --- a/packages/testkit/CHANGELOG.md +++ b/packages/testkit/CHANGELOG.md @@ -1,7 +1,5 @@ # @ckb-lumos/testkit -## 0.21.0-next.1 - ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/testkit/package.json b/packages/testkit/package.json index 6f27f4137..96a874b80 100644 --- a/packages/testkit/package.json +++ b/packages/testkit/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/testkit", - "version": "0.21.0-next.1", + "version": "0.21.0-next.0", "description": "Test toolkit for CKB", "homepage": "https://github.com/ckb-js/lumos#readme", "license": "MIT", @@ -18,9 +18,9 @@ "src" ], "dependencies": { - "@ckb-lumos/base": "0.21.0-next.1", - "@ckb-lumos/bi": "0.21.0-next.1", - "@ckb-lumos/codec": "0.21.0-next.1", + "@ckb-lumos/base": "0.21.0-next.0", + "@ckb-lumos/bi": "0.21.0-next.0", + "@ckb-lumos/codec": "0.21.0-next.0", "@types/body-parser": "^1.19.1", "@types/download": "^8.0.1", "@types/express": "^4.17.17", diff --git a/packages/toolkit/CHANGELOG.md b/packages/toolkit/CHANGELOG.md index ffa14339e..9d846127b 100644 --- a/packages/toolkit/CHANGELOG.md +++ b/packages/toolkit/CHANGELOG.md @@ -1,7 +1,5 @@ # @ckb-lumos/toolkit -## 0.21.0-next.1 - ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/toolkit/package.json b/packages/toolkit/package.json index 06d57317b..f831283e1 100644 --- a/packages/toolkit/package.json +++ b/packages/toolkit/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/toolkit", - "version": "0.21.0-next.1", + "version": "0.21.0-next.0", "description": "JavaScript toolkits used to build dapps for Nervos CKB", "main": "lib/index.js", "types": "types/index.d.ts", @@ -30,7 +30,7 @@ "access": "public" }, "dependencies": { - "@ckb-lumos/bi": "0.21.0-next.1" + "@ckb-lumos/bi": "0.21.0-next.0" }, "devDependencies": { "@babel/plugin-proposal-export-namespace-from": "^7.18.9", diff --git a/packages/transaction-manager/CHANGELOG.md b/packages/transaction-manager/CHANGELOG.md index 9732b54c4..8cd0bb6ed 100644 --- a/packages/transaction-manager/CHANGELOG.md +++ b/packages/transaction-manager/CHANGELOG.md @@ -1,7 +1,5 @@ # @ckb-lumos/transaction-manager -## 0.21.0-next.1 - ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/transaction-manager/package.json b/packages/transaction-manager/package.json index 1b57ed533..d62d03b1e 100644 --- a/packages/transaction-manager/package.json +++ b/packages/transaction-manager/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/transaction-manager", - "version": "0.21.0-next.1", + "version": "0.21.0-next.0", "description": "Pending Transactions Manager for lumos", "homepage": "https://github.com/ckb-js/lumos#readme", "license": "MIT", @@ -35,11 +35,11 @@ "url": "https://github.com/ckb-js/lumos/issues" }, "dependencies": { - "@ckb-lumos/base": "0.21.0-next.1", - "@ckb-lumos/codec": "0.21.0-next.1", - "@ckb-lumos/ckb-indexer": "0.21.0-next.1", - "@ckb-lumos/rpc": "0.21.0-next.1", - "@ckb-lumos/toolkit": "0.21.0-next.1", + "@ckb-lumos/base": "0.21.0-next.0", + "@ckb-lumos/codec": "0.21.0-next.0", + "@ckb-lumos/ckb-indexer": "0.21.0-next.0", + "@ckb-lumos/rpc": "0.21.0-next.0", + "@ckb-lumos/toolkit": "0.21.0-next.0", "immutable": "^4.3.0" }, "publishConfig": { diff --git a/packages/utils/CHANGELOG.md b/packages/utils/CHANGELOG.md index 50a42f9c2..c7cb27aa7 100644 --- a/packages/utils/CHANGELOG.md +++ b/packages/utils/CHANGELOG.md @@ -1,7 +1,5 @@ # @ckb-lumos/utils -## 0.21.0-next.1 - ## 0.21.0-next.0 ### Minor Changes diff --git a/packages/utils/package.json b/packages/utils/package.json index ff76e1074..372cfd1ae 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@ckb-lumos/utils", - "version": "0.21.0-next.1", + "version": "0.21.0-next.0", "private": true, "description": "Common utilities", "homepage": "https://github.com/ckb-js/lumos#readme", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ccbdeca8d..803812822 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -114,13 +114,13 @@ importers: packages/base: dependencies: '@ckb-lumos/bi': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../bi '@ckb-lumos/codec': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../codec '@ckb-lumos/toolkit': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../toolkit '@types/blake2b': specifier: ^2.1.0 @@ -151,19 +151,19 @@ importers: packages/ckb-indexer: dependencies: '@ckb-lumos/base': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../base '@ckb-lumos/bi': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../bi '@ckb-lumos/codec': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../codec '@ckb-lumos/rpc': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../rpc '@ckb-lumos/toolkit': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../toolkit cross-fetch: specifier: ^3.1.5 @@ -173,7 +173,7 @@ importers: version: 3.3.0 devDependencies: '@ckb-lumos/testkit': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../testkit '@types/lodash.uniqby': specifier: ^4.7.7 @@ -200,7 +200,7 @@ importers: packages/codec: dependencies: '@ckb-lumos/bi': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../bi devDependencies: escape-string-regexp: @@ -213,35 +213,35 @@ importers: packages/common-scripts: dependencies: '@ckb-lumos/base': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../base '@ckb-lumos/bi': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../bi '@ckb-lumos/codec': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../codec '@ckb-lumos/config-manager': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../config-manager '@ckb-lumos/helpers': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../helpers '@ckb-lumos/rpc': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../rpc '@ckb-lumos/toolkit': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../toolkit immutable: specifier: ^4.3.0 version: 4.3.0 devDependencies: '@ckb-lumos/debugger': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../debugger '@ckb-lumos/hd': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../hd '@types/keccak': specifier: ^3.0.1 @@ -253,13 +253,13 @@ importers: packages/config-manager: dependencies: '@ckb-lumos/base': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../base '@ckb-lumos/bi': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../bi '@ckb-lumos/codec': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../codec '@types/deep-freeze-strict': specifier: ^1.1.0 @@ -271,22 +271,22 @@ importers: packages/debugger: dependencies: '@ckb-lumos/base': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../base '@ckb-lumos/bi': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../bi '@ckb-lumos/codec': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../codec '@ckb-lumos/config-manager': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../config-manager '@ckb-lumos/helpers': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../helpers '@ckb-lumos/rpc': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../rpc '@types/download': specifier: ^8.0.1 @@ -308,55 +308,55 @@ importers: version: 3.0.0 devDependencies: '@ckb-lumos/common-scripts': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../common-scripts '@ckb-lumos/experiment-tx-assembler': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../experiment-tx-assembler '@ckb-lumos/hd': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../hd packages/e2e-test: dependencies: '@ckb-lumos/base': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../base '@ckb-lumos/bi': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../bi '@ckb-lumos/ckb-indexer': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../ckb-indexer '@ckb-lumos/codec': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../codec '@ckb-lumos/common-scripts': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../common-scripts '@ckb-lumos/config-manager': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../config-manager '@ckb-lumos/hd': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../hd '@ckb-lumos/helpers': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../helpers '@ckb-lumos/light-client': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../light-client '@ckb-lumos/rpc': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../rpc '@ckb-lumos/runner': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../runner '@ckb-lumos/toolkit': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../toolkit '@ckb-lumos/utils': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../utils '@types/kill-port': specifier: ^2.0.0 @@ -369,7 +369,7 @@ importers: version: 2.0.1 devDependencies: '@ckb-lumos/testkit': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../testkit '@types/request': specifier: ^2.48.8 @@ -390,28 +390,28 @@ importers: packages/experiment-tx-assembler: dependencies: '@ckb-lumos/base': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../base '@ckb-lumos/bi': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../bi '@ckb-lumos/config-manager': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../config-manager '@ckb-lumos/helpers': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../helpers '@ckb-lumos/toolkit': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../toolkit packages/hd: dependencies: '@ckb-lumos/base': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../base '@ckb-lumos/bi': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../bi bn.js: specifier: ^5.1.3 @@ -442,22 +442,22 @@ importers: packages/hd-cache: dependencies: '@ckb-lumos/base': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../base '@ckb-lumos/bi': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../bi '@ckb-lumos/ckb-indexer': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../ckb-indexer '@ckb-lumos/config-manager': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../config-manager '@ckb-lumos/hd': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../hd '@ckb-lumos/rpc': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../rpc immutable: specifier: ^4.3.0 @@ -473,19 +473,19 @@ importers: packages/helpers: dependencies: '@ckb-lumos/base': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../base '@ckb-lumos/bi': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../bi '@ckb-lumos/codec': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../codec '@ckb-lumos/config-manager': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../config-manager '@ckb-lumos/toolkit': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../toolkit bech32: specifier: ^2.0.0 @@ -497,13 +497,13 @@ importers: packages/light-client: dependencies: '@ckb-lumos/base': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../base '@ckb-lumos/ckb-indexer': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../ckb-indexer '@ckb-lumos/rpc': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../rpc cross-fetch: specifier: ^3.1.5 @@ -513,7 +513,7 @@ importers: version: 3.3.0 devDependencies: '@ckb-lumos/testkit': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../testkit '@types/request': specifier: ^2.48.8 @@ -528,31 +528,31 @@ importers: packages/lumos: dependencies: '@ckb-lumos/base': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../base '@ckb-lumos/bi': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../bi '@ckb-lumos/ckb-indexer': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../ckb-indexer '@ckb-lumos/common-scripts': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../common-scripts '@ckb-lumos/config-manager': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../config-manager '@ckb-lumos/hd': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../hd '@ckb-lumos/helpers': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../helpers '@ckb-lumos/rpc': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../rpc '@ckb-lumos/toolkit': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../toolkit devDependencies: buffer: @@ -580,10 +580,10 @@ importers: packages/molecule: dependencies: '@ckb-lumos/bi': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../bi '@ckb-lumos/codec': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../codec '@types/nearley': specifier: ^2.11.2 @@ -596,7 +596,7 @@ importers: version: 2.20.1 devDependencies: '@ckb-lumos/base': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../base jsbi: specifier: ^4.1.0 @@ -605,10 +605,10 @@ importers: packages/rpc: dependencies: '@ckb-lumos/base': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../base '@ckb-lumos/bi': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../bi '@vespaiach/axios-fetch-adapter': specifier: ^0.3.1 @@ -639,7 +639,7 @@ importers: packages/runner: dependencies: '@ckb-lumos/utils': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../utils '@ltd/j-toml': specifier: ^1.38.0 @@ -675,13 +675,13 @@ importers: packages/testkit: dependencies: '@ckb-lumos/base': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../base '@ckb-lumos/bi': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../bi '@ckb-lumos/codec': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../codec '@types/body-parser': specifier: ^1.19.1 @@ -718,7 +718,7 @@ importers: packages/toolkit: dependencies: '@ckb-lumos/bi': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../bi devDependencies: '@babel/plugin-proposal-export-namespace-from': @@ -731,19 +731,19 @@ importers: packages/transaction-manager: dependencies: '@ckb-lumos/base': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../base '@ckb-lumos/ckb-indexer': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../ckb-indexer '@ckb-lumos/codec': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../codec '@ckb-lumos/rpc': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../rpc '@ckb-lumos/toolkit': - specifier: 0.21.0-next.1 + specifier: 0.21.0-next.0 version: link:../toolkit immutable: specifier: ^4.3.0 From bc0519acd94b33f78e821f41cbf7585963aa7dfc Mon Sep 17 00:00:00 2001 From: zhangyouxin Date: Wed, 11 Oct 2023 15:25:19 +0800 Subject: [PATCH 7/9] chore: npx changeset add --- .changeset/green-tips-accept.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/green-tips-accept.md diff --git a/.changeset/green-tips-accept.md b/.changeset/green-tips-accept.md new file mode 100644 index 000000000..b512e1aeb --- /dev/null +++ b/.changeset/green-tips-accept.md @@ -0,0 +1,5 @@ +--- +"@ckb-lumos/toolkit": patch +--- + +remove peer dependencies in toolkit From fe92d3eb587483ab3ce319113f56511fbabc7b05 Mon Sep 17 00:00:00 2001 From: zhangyouxin Date: Fri, 13 Oct 2023 13:32:19 +0800 Subject: [PATCH 8/9] fix: remove `0x` prefix of normalize hex number --- packages/toolkit/src/normalizers.js | 2 +- packages/toolkit/tests/normailizers.js | 26 ++++++++++++++++++++++++-- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/packages/toolkit/src/normalizers.js b/packages/toolkit/src/normalizers.js index 8921da734..66ba05a49 100644 --- a/packages/toolkit/src/normalizers.js +++ b/packages/toolkit/src/normalizers.js @@ -18,7 +18,7 @@ import { Reader } from "./reader"; function normalizeHexNumber(length) { return function (debugPath, value) { if (!(value instanceof ArrayBuffer)) { - let intValue = BI.from(value).toHexString(); + let intValue = BI.from(value).toHexString().substring(2); if (intValue.length % 2 !== 0) { intValue = "0" + intValue; } diff --git a/packages/toolkit/tests/normailizers.js b/packages/toolkit/tests/normailizers.js index 3dfccea72..7ff3475dd 100644 --- a/packages/toolkit/tests/normailizers.js +++ b/packages/toolkit/tests/normailizers.js @@ -2,9 +2,31 @@ const test = require("ava"); const { normalizers } = require("../lib"); test("correct outPoint should pass validation", (t) => { - normalizers.NormalizeOutPoint({ + const normalizedOutpoint = normalizers.NormalizeOutPoint({ txHash: `0x${"00".repeat(32)}`, index: "0x1", }); - t.pass(); + const expectedNormalizedIndex = new ArrayBuffer(4); + const view = new Int32Array(expectedNormalizedIndex); + view[0] = 1; + + t.deepEqual(normalizedOutpoint, { + index: expectedNormalizedIndex, + txHash: new ArrayBuffer(32), + }); +}); + +test("error outPoint should not pass validation", (t) => { + t.throws(() => { + normalizers.NormalizeOutPoint({ + txHash: `0x${"00".repeat(32)}`, + index: "0x", + }); + }); + t.throws(() => { + normalizers.NormalizeOutPoint({ + txHash: `0x${"00".repeat(32)}`, + index: "not a number", + }); + }); }); From 5ff0e0babdc9f6e0ffe42ea54b2673beeea92507 Mon Sep 17 00:00:00 2001 From: homura Date: Fri, 13 Oct 2023 13:58:42 +0800 Subject: [PATCH 9/9] refactor: simplify hex number conversion Signed-off-by: homura --- packages/toolkit/src/normalizers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/toolkit/src/normalizers.js b/packages/toolkit/src/normalizers.js index 66ba05a49..a26923f3d 100644 --- a/packages/toolkit/src/normalizers.js +++ b/packages/toolkit/src/normalizers.js @@ -18,7 +18,7 @@ import { Reader } from "./reader"; function normalizeHexNumber(length) { return function (debugPath, value) { if (!(value instanceof ArrayBuffer)) { - let intValue = BI.from(value).toHexString().substring(2); + let intValue = BI.from(value).toString(16); if (intValue.length % 2 !== 0) { intValue = "0" + intValue; }