@ckb-ccc/core 1.7.0 → 1.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -33
- package/dist/molecule/codec.js +1 -1
- package/dist.commonjs/molecule/codec.js +1 -1
- package/package.json +1 -1
- package/src/molecule/codec.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,42 +1,12 @@
|
|
|
1
1
|
# @ckb-ccc/core
|
|
2
2
|
|
|
3
|
-
## 1.
|
|
4
|
-
|
|
5
|
-
### Minor Changes
|
|
6
|
-
|
|
7
|
-
- [`c53ea86`](https://github.com/ckb-devrel/ccc/commit/c53ea863c0c9a9afe737b1abfd1bea6a05d1156b) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat(core): stringify util
|
|
8
|
-
|
|
9
|
-
- [`c53ea86`](https://github.com/ckb-devrel/ccc/commit/c53ea863c0c9a9afe737b1abfd1bea6a05d1156b) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat(core): Dao related utils
|
|
10
|
-
|
|
11
|
-
- [`c53ea86`](https://github.com/ckb-devrel/ccc/commit/c53ea863c0c9a9afe737b1abfd1bea6a05d1156b) Thanks [@Hanssen0](https://github.com/Hanssen0)! - fix: add inputs after cobuild witness injected
|
|
12
|
-
|
|
13
|
-
- [`c53ea86`](https://github.com/ckb-devrel/ccc/commit/c53ea863c0c9a9afe737b1abfd1bea6a05d1156b) Thanks [@Hanssen0](https://github.com/Hanssen0)! - Add treatment to uncompatible XUDT data format
|
|
14
|
-
|
|
15
|
-
- [`c53ea86`](https://github.com/ckb-devrel/ccc/commit/c53ea863c0c9a9afe737b1abfd1bea6a05d1156b) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat(core): more rpc calls cache
|
|
16
|
-
|
|
17
|
-
- [`c53ea86`](https://github.com/ckb-devrel/ccc/commit/c53ea863c0c9a9afe737b1abfd1bea6a05d1156b) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat(core): Transaction.getFee
|
|
18
|
-
|
|
19
|
-
- [`c53ea86`](https://github.com/ckb-devrel/ccc/commit/c53ea863c0c9a9afe737b1abfd1bea6a05d1156b) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat(core): fee rate checks
|
|
20
|
-
|
|
21
|
-
- [`c53ea86`](https://github.com/ckb-devrel/ccc/commit/c53ea863c0c9a9afe737b1abfd1bea6a05d1156b) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat(core): Transaction utils
|
|
22
|
-
|
|
23
|
-
- [`c53ea86`](https://github.com/ckb-devrel/ccc/commit/c53ea863c0c9a9afe737b1abfd1bea6a05d1156b) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat(core): SignerNostrPublicKeyReadonly
|
|
24
|
-
|
|
25
|
-
- [`c53ea86`](https://github.com/ckb-devrel/ccc/commit/c53ea863c0c9a9afe737b1abfd1bea6a05d1156b) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat(core): calculate Nervos DAO profit as input capacity
|
|
3
|
+
## 1.8.1
|
|
26
4
|
|
|
27
5
|
### Patch Changes
|
|
28
6
|
|
|
29
|
-
- [`
|
|
30
|
-
|
|
31
|
-
- [`c53ea86`](https://github.com/ckb-devrel/ccc/commit/c53ea863c0c9a9afe737b1abfd1bea6a05d1156b) Thanks [@Hanssen0](https://github.com/Hanssen0)! - fix(core): uncatched websocket error
|
|
32
|
-
|
|
33
|
-
- [`c53ea86`](https://github.com/ckb-devrel/ccc/commit/c53ea863c0c9a9afe737b1abfd1bea6a05d1156b) Thanks [@Hanssen0](https://github.com/Hanssen0)! - chore(core): remove ankr public node from default
|
|
34
|
-
|
|
35
|
-
- [`c53ea86`](https://github.com/ckb-devrel/ccc/commit/c53ea863c0c9a9afe737b1abfd1bea6a05d1156b) Thanks [@Hanssen0](https://github.com/Hanssen0)! - fix(core): negative number for numToByte
|
|
36
|
-
|
|
37
|
-
- [`c53ea86`](https://github.com/ckb-devrel/ccc/commit/c53ea863c0c9a9afe737b1abfd1bea6a05d1156b) Thanks [@Hanssen0](https://github.com/Hanssen0)! - chore: bump @joyid/ckb version
|
|
7
|
+
- [#205](https://github.com/ckb-devrel/ccc/pull/205) [`2e37ad7`](https://github.com/ckb-devrel/ccc/commit/2e37ad72fb98f3d7dc059299dafc9bba84dcb846) Thanks [@Hanssen0](https://github.com/Hanssen0)! - fix(core): falsy value is not empty in mol.Option
|
|
38
8
|
|
|
39
|
-
## 1.
|
|
9
|
+
## 1.8.0
|
|
40
10
|
|
|
41
11
|
### Minor Changes
|
|
42
12
|
|
package/dist/molecule/codec.js
CHANGED
package/package.json
CHANGED
package/src/molecule/codec.ts
CHANGED
|
@@ -250,7 +250,7 @@ export function option<Encodable, Decoded>(
|
|
|
250
250
|
): Codec<Encodable | undefined | null, Decoded | undefined> {
|
|
251
251
|
return Codec.from({
|
|
252
252
|
encode(userDefinedOrNull) {
|
|
253
|
-
if (
|
|
253
|
+
if (userDefinedOrNull == null) {
|
|
254
254
|
return bytesFrom([]);
|
|
255
255
|
}
|
|
256
256
|
try {
|