Skip to content

Commit a0d0b2d

Browse files
Keith-CYdependabot[bot]Hanssen0
authored
Release v0.109.4 (#650)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hanssen <hanssen0@hanssen0.com> fix: commonjs support (#639) fix: fix data2 validation in 'isPayloadValid' method (#648)
1 parent db4594e commit a0d0b2d

File tree

14 files changed

+110
-34
lines changed

14 files changed

+110
-34
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [0.109.4](https://github.com/ckb-js/ckb-sdk-js/compare/v0.109.3...v0.109.4) (2024-11-15)
7+
8+
9+
### Bug Fixes
10+
11+
* commonjs support ([#639](https://github.com/ckb-js/ckb-sdk-js/issues/639)) ([b229d4e](https://github.com/ckb-js/ckb-sdk-js/commit/b229d4ede84e34820d236ccf22af9e24dd518c19))
12+
* fix data2 validation in 'isPayloadValid' method ([#648](https://github.com/ckb-js/ckb-sdk-js/issues/648)) ([8b7dcb6](https://github.com/ckb-js/ckb-sdk-js/commit/8b7dcb6bb42124989284f66ab9fa4a96cce3d0b2))
13+
14+
15+
16+
17+
618
## [0.109.3](https://github.com/ckb-js/ckb-sdk-js/compare/v0.109.2...v0.109.3) (2024-08-01)
719

820

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
⚠️ **This SDK is obsolete and maintained passively. Please check [Lumos](https://github.com/ckb-js/lumos/) which is updated actively.**
1+
⚠️ **This SDK is obsolete and maintained passively.**
2+
3+
## Recommended SDK: CCC
4+
5+
It’s highly recommended to use the [CCC SDK](https://github.com/ckb-ecofund/ccc) as your primary development tool within the CKB ecosystem. [CCC](https://github.com/ckb-ecofund/ccc) is the latest and most robust JavaScript SDK designed to streamline and enhance your development process. By choosing [CCC](https://github.com/ckb-ecofund/ccc), you'll be leveraging the best practices and most up-to-date features available for CKB development.
6+
7+
To get started with [CCC](https://github.com/ckb-ecofund/ccc), follow the [installation guide](https://github.com/ckb-ecofund/ccc#installing) and explore the [documentation](https://docs.ckbccc.com/) to integrate it seamlessly into your projects.
28

39
---
410

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": "0.109.3"
2+
"version": "0.109.4"
33
}

package-lock.json

Lines changed: 14 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/ckb-sdk-core/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [0.109.4](https://github.com/ckb-js/ckb-sdk-js/compare/v0.109.3...v0.109.4) (2024-11-15)
7+
8+
**Note:** Version bump only for package @nervosnetwork/ckb-sdk-core
9+
10+
11+
12+
13+
614
## [0.109.3](https://github.com/ckb-js/ckb-sdk-js/compare/v0.109.2...v0.109.3) (2024-08-01)
715

816

packages/ckb-sdk-core/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nervosnetwork/ckb-sdk-core",
3-
"version": "0.109.3",
3+
"version": "0.109.4",
44
"description": "JavaScript SDK for Nervos Network CKB Project",
55
"author": "Nervos <dev@nervos.org>",
66
"homepage": "https://github.com/ckb-js/ckb-sdk-js#readme",
@@ -48,10 +48,10 @@
4848
"url": "https://github.com/ckb-js/ckb-sdk-js/issues"
4949
},
5050
"dependencies": {
51-
"@nervosnetwork/ckb-sdk-rpc": "0.109.3",
52-
"@nervosnetwork/ckb-sdk-utils": "0.109.3",
53-
"@nervosnetwork/ckb-types": "0.109.3",
51+
"@nervosnetwork/ckb-sdk-rpc": "0.109.4",
52+
"@nervosnetwork/ckb-sdk-utils": "0.109.4",
53+
"@nervosnetwork/ckb-types": "0.109.4",
5454
"tslib": "2.3.1"
5555
},
56-
"gitHead": "bb703e9a16b9f467a88d6a1067162d296808fbc1"
56+
"gitHead": "969387fe6574d0130e8014332a87cd6b5e404a03"
5757
}

packages/ckb-sdk-rpc/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [0.109.4](https://github.com/ckb-js/ckb-sdk-js/compare/v0.109.3...v0.109.4) (2024-11-15)
7+
8+
**Note:** Version bump only for package @nervosnetwork/ckb-sdk-rpc
9+
10+
11+
12+
13+
614
## [0.109.3](https://github.com/ckb-js/ckb-sdk-js/compare/v0.109.2...v0.109.3) (2024-08-01)
715

816

packages/ckb-sdk-rpc/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nervosnetwork/ckb-sdk-rpc",
3-
"version": "0.109.3",
3+
"version": "0.109.4",
44
"description": "RPC module of @nervosnetwork/ckb-sdk-core",
55
"author": "Nervos <dev@nervos.org>",
66
"homepage": "https://github.com/ckb-js/ckb-sdk-js/packages/ckb-rpc#readme",
@@ -43,12 +43,12 @@
4343
"url": "https://github.com/ckb-js/ckb-sdk-js/issues"
4444
},
4545
"dependencies": {
46-
"@nervosnetwork/ckb-sdk-utils": "0.109.3",
47-
"axios": "1.6.7",
46+
"@nervosnetwork/ckb-sdk-utils": "0.109.4",
47+
"axios": "1.7.4",
4848
"tslib": "2.3.1"
4949
},
5050
"devDependencies": {
51-
"@nervosnetwork/ckb-types": "0.109.3"
51+
"@nervosnetwork/ckb-types": "0.109.4"
5252
},
53-
"gitHead": "bb703e9a16b9f467a88d6a1067162d296808fbc1"
53+
"gitHead": "969387fe6574d0130e8014332a87cd6b5e404a03"
5454
}

packages/ckb-sdk-utils/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [0.109.4](https://github.com/ckb-js/ckb-sdk-js/compare/v0.109.3...v0.109.4) (2024-11-15)
7+
8+
9+
### Bug Fixes
10+
11+
* fix data2 validation in 'isPayloadValid' method ([#648](https://github.com/ckb-js/ckb-sdk-js/issues/648)) ([8b7dcb6](https://github.com/ckb-js/ckb-sdk-js/commit/8b7dcb6bb42124989284f66ab9fa4a96cce3d0b2))
12+
13+
14+
15+
16+
617
## [0.109.3](https://github.com/ckb-js/ckb-sdk-js/compare/v0.109.2...v0.109.3) (2024-08-01)
718

819

packages/ckb-sdk-utils/__tests__/address/fixtures.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,14 @@
257257
"hashType": "data1",
258258
"args": "0xb39bbc0b3673c7d36450bc14cfcdad2d559c6c64"
259259
}
260+
},
261+
"full version address identifies hash_type = data2": {
262+
"params": ["ckt1qzn9dutjk669cfznq7httfar0gtk7qp0du3wjfvzck9l0w3k9eqhvp9nnw7qkdnnclfkg59uzn8umtfd2kwxceqskl3c2"],
263+
"expected": {
264+
"codeHash": "0xa656f172b6b45c245307aeb5a7a37a176f002f6f22e92582c58bf7ba362e4176",
265+
"hashType": "data2",
266+
"args": "0xb39bbc0b3673c7d36450bc14cfcdad2d559c6c64"
267+
}
260268
}
261269
},
262270
"scriptToAddress": {
@@ -302,6 +310,17 @@
302310
],
303311
"expected": "ckt1qzn9dutjk669cfznq7httfar0gtk7qp0du3wjfvzck9l0w3k9eqhvq4nnw7qkdnnclfkg59uzn8umtfd2kwxceq225jvu"
304312
},
313+
"full version testnet address identifies hash_type = data2": {
314+
"params": [
315+
{
316+
"codeHash": "0xa656f172b6b45c245307aeb5a7a37a176f002f6f22e92582c58bf7ba362e4176",
317+
"hashType": "data2",
318+
"args": "0xb39bbc0b3673c7d36450bc14cfcdad2d559c6c64"
319+
},
320+
false
321+
],
322+
"expected": "ckt1qzn9dutjk669cfznq7httfar0gtk7qp0du3wjfvzck9l0w3k9eqhvp9nnw7qkdnnclfkg59uzn8umtfd2kwxceqskl3c2"
323+
},
305324
"should throw an error when args doesn't start with 0x": {
306325
"params": [
307326
{

0 commit comments

Comments
 (0)