@ckb-ccc/core 2.0.0-next.0 → 2.0.0-next.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 +133 -1
- package/README.md +3 -3
- package/dist/advanced.d.mts +2 -2
- package/dist/advanced.mjs +1 -1
- package/{dist.commonjs/advancedBarrel-DNdhwiU0.d.ts → dist/advancedBarrel-DfFMFhdl.d.mts} +2790 -2237
- package/dist/advancedBarrel-DfFMFhdl.d.mts.map +1 -0
- package/dist/advancedBarrel.d.mts +2 -2
- package/dist/advancedBarrel.mjs +1 -1
- package/dist/advancedBarrel.mjs.map +1 -1
- package/dist/barrel-ONYEMVg5.mjs +7 -0
- package/dist/barrel-ONYEMVg5.mjs.map +1 -0
- package/dist/barrel.d.mts +2 -2
- package/dist/barrel.mjs +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/transformers-CduZ1Js5.mjs +2 -0
- package/dist/transformers-CduZ1Js5.mjs.map +1 -0
- package/dist.commonjs/advanced.d.ts +2 -2
- package/dist.commonjs/advanced.js +1 -1
- package/{dist/advancedBarrel-BHwnMJqR.d.mts → dist.commonjs/advancedBarrel-Dl0mM9JO.d.ts} +2791 -2236
- package/dist.commonjs/advancedBarrel-Dl0mM9JO.d.ts.map +1 -0
- package/dist.commonjs/advancedBarrel.d.ts +2 -2
- package/dist.commonjs/advancedBarrel.js +1 -1
- package/dist.commonjs/advancedBarrel.js.map +1 -1
- package/dist.commonjs/barrel-HfgYMxP_.js +23 -0
- package/dist.commonjs/barrel-HfgYMxP_.js.map +1 -0
- package/dist.commonjs/barrel.d.ts +2 -2
- package/dist.commonjs/barrel.js +1 -1
- package/dist.commonjs/index.d.ts +2 -2
- package/dist.commonjs/index.js +1 -1
- package/dist.commonjs/{rolldown-runtime-DWNI8pZO.js → rolldown-runtime-Chgba0Kb.js} +1 -1
- package/dist.commonjs/transformers-BUlLwiyt.js +2 -0
- package/dist.commonjs/transformers-BUlLwiyt.js.map +1 -0
- package/package.json +8 -7
- package/src/advancedBarrel.ts +1 -0
- package/src/bytes/advanced.ts +1 -6
- package/src/bytes/index.ts +37 -10
- package/src/ckb/transaction.ts +7 -5
- package/src/client/client.ts +83 -21
- package/src/client/clientPublicMainnet.advanced.ts +9 -0
- package/src/client/clientPublicMainnet.ts +75 -36
- package/src/client/clientPublicTestnet.advanced.ts +9 -0
- package/src/client/clientPublicTestnet.ts +75 -36
- package/src/client/jsonRpc/client.ts +77 -30
- package/src/client/jsonRpc/transformers.ts +4 -4
- package/src/jsonRpc/index.ts +1 -0
- package/src/jsonRpc/requestor.ts +106 -29
- package/src/jsonRpc/transports/advanced.ts +0 -4
- package/src/jsonRpc/transports/factory.ts +12 -5
- package/src/jsonRpc/transports/fallback.ts +14 -6
- package/src/jsonRpc/transports/http.ts +19 -12
- package/src/jsonRpc/transports/index.ts +4 -0
- package/src/jsonRpc/transports/transport.ts +42 -6
- package/src/jsonRpc/transports/webSocket.ts +145 -40
- package/src/keystore/index.ts +3 -3
- package/src/molecule/codec.ts +20 -17
- package/src/signer/advanced.ts +1 -0
- package/src/signer/btc/psbt.ts +4 -2
- package/src/signer/btc/verify.ts +2 -2
- package/src/signer/ckb/secp256k1Signing.ts +3 -3
- package/src/signer/doge/signerDoge.ts +1 -1
- package/src/signer/doge/signerDogePrivateKey.ts +1 -1
- package/src/signer/index.ts +1 -0
- package/src/signer/jsonRpc/handler.ts +478 -0
- package/src/signer/jsonRpc/index.ts +2 -0
- package/src/signer/jsonRpc/network.ts +15 -0
- package/src/signer/jsonRpc/signer.ts +378 -0
- package/src/signer/jsonRpc/transformers.ts +71 -0
- package/src/signer/signer/index.ts +5 -13
- package/src/utils/abortSignal.ts +56 -0
- package/src/utils/constructor.ts +11 -0
- package/src/utils/index.ts +172 -5
- package/src/utils/owner/aggregated.ts +56 -0
- package/src/utils/owner/index.ts +4 -0
- package/src/utils/owner/owner.ts +141 -0
- package/src/utils/owner/refCount.ts +78 -0
- package/src/utils/owner/unique.ts +30 -0
- package/src/utils/proxy.ts +165 -0
- package/tsdown.config.mts +1 -0
- package/dist/address.advanced-LxntWbev.mjs +0 -2
- package/dist/address.advanced-LxntWbev.mjs.map +0 -1
- package/dist/advancedBarrel-BHwnMJqR.d.mts.map +0 -1
- package/dist/barrel-C-BaV9Pe.mjs +0 -7
- package/dist/barrel-C-BaV9Pe.mjs.map +0 -1
- package/dist.commonjs/address.advanced-BqcYOpZn.js +0 -2
- package/dist.commonjs/address.advanced-BqcYOpZn.js.map +0 -1
- package/dist.commonjs/advancedBarrel-DNdhwiU0.d.ts.map +0 -1
- package/dist.commonjs/barrel-BBOmj4RJ.js +0 -21
- package/dist.commonjs/barrel-BBOmj4RJ.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,138 @@
|
|
|
1
1
|
# @ckb-ccc/core
|
|
2
2
|
|
|
3
|
+
## 2.0.0-next.1
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- feat(core)!: Codec.from
|
|
8
|
+
|
|
9
|
+
- feat(joy-id): address info in identity
|
|
10
|
+
|
|
11
|
+
- feat(core)!: @codec implements a default from
|
|
12
|
+
|
|
13
|
+
- fix(core)!: `getFeeRateStatistics` may returns `null` on devnet
|
|
14
|
+
|
|
15
|
+
- feat(core): `reduce` and `reduceAsync` for `Iterable`
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- feat(core): `Signer.fromSignature`
|
|
20
|
+
|
|
21
|
+
- feat(core): reduce(Async) accept single value
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- fix(core): occupy witness while adding output
|
|
26
|
+
|
|
27
|
+
- fix(core): enforce minimum cell capacity after output data mutations
|
|
28
|
+
|
|
29
|
+
## 1.22.0
|
|
30
|
+
|
|
31
|
+
### Minor Changes
|
|
32
|
+
|
|
33
|
+
- [#547](https://github.com/ckb-devrel/ccc/pull/547) [`3ef932a`](https://github.com/ckb-devrel/ccc/commit/3ef932a471f72704502a708241a960ee44d00377) Thanks [@Hanssen0](https://github.com/Hanssen0)! - Add `abortSignalToPromise` for converting an abort signal into a rejecting promise.
|
|
34
|
+
|
|
35
|
+
- [#547](https://github.com/ckb-devrel/ccc/pull/547) [`0d5cd4b`](https://github.com/ckb-devrel/ccc/commit/0d5cd4bc7113686675dfa5c94a1abacfb9b3e073) Thanks [@Hanssen0](https://github.com/Hanssen0)! - Add `waitForAvailability` for waiting until the browser page is visible and
|
|
36
|
+
online, while resolving immediately in non-browser environments.
|
|
37
|
+
|
|
38
|
+
- [#547](https://github.com/ckb-devrel/ccc/pull/547) [`7d5781b`](https://github.com/ckb-devrel/ccc/commit/7d5781be9dc48dc0439d173f6aa45f2281c3ac8c) Thanks [@Hanssen0](https://github.com/Hanssen0)! - Add per-request cancellation and timeout options to JSON-RPC transports.
|
|
39
|
+
WebSocket and libp2p transports now cancel individual operations without
|
|
40
|
+
interrupting unrelated requests, and JSON-RPC errors are exposed as
|
|
41
|
+
`JsonRpcError` instances.
|
|
42
|
+
|
|
43
|
+
- [#547](https://github.com/ckb-devrel/ccc/pull/547) [`72309f6`](https://github.com/ckb-devrel/ccc/commit/72309f666471720d4e808c39916a630aa21891f7) Thanks [@Hanssen0](https://github.com/Hanssen0)! - Add a cancellable retry utility with finite and repeating delay schedules.
|
|
44
|
+
|
|
45
|
+
- [#547](https://github.com/ckb-devrel/ccc/pull/547) [`4cddf9b`](https://github.com/ckb-devrel/ccc/commit/4cddf9bfad50036672dfa3d29c89baea6af1e237) Thanks [@Hanssen0](https://github.com/Hanssen0)! - Add provider sessions and recover lost signer JSON-RPC responses with request
|
|
46
|
+
retries and rate-limited `get_result` polling.
|
|
47
|
+
|
|
48
|
+
### Patch Changes
|
|
49
|
+
|
|
50
|
+
- [#549](https://github.com/ckb-devrel/ccc/pull/549) [`26f9c4d`](https://github.com/ckb-devrel/ccc/commit/26f9c4d0d77d35bfba0d74483458a24a2077fac9) Thanks [@Hanssen0](https://github.com/Hanssen0)! - Avoid caching cell results requested without output data.
|
|
51
|
+
|
|
52
|
+
- [#541](https://github.com/ckb-devrel/ccc/pull/541) [`7680821`](https://github.com/ckb-devrel/ccc/commit/7680821e0c113a790f00e0fe53e0d69f92588ce4) Thanks [@fghdotio](https://github.com/fghdotio)! - Apply the documented `signPsbt` defaults consistently across BTC wallets.
|
|
53
|
+
|
|
54
|
+
- UniSat and OKX now translate `SignPsbtOptions` into the wallet's own
|
|
55
|
+
`{ autoFinalized, toSignInputs }` shape instead of forwarding the CCC
|
|
56
|
+
options as-is, so `autoFinalized` defaults to `true` and `inputsToSign` is
|
|
57
|
+
no longer silently ignored. `UniSatA.Provider.signPsbt` is now typed with
|
|
58
|
+
the wallet's actual option shape, exposed as `UniSatA.SignPsbtOptions`.
|
|
59
|
+
- JoyID now sends `inputsToSign` as the `toSignInputs` field it expects,
|
|
60
|
+
instead of silently dropping it.
|
|
61
|
+
- Xverse now finalizes the requested inputs locally when `autoFinalized` is
|
|
62
|
+
enabled, since its `signPsbt` RPC returns unfinalized PSBTs and has no
|
|
63
|
+
finalize option.
|
|
64
|
+
|
|
65
|
+
- [#540](https://github.com/ckb-devrel/ccc/pull/540) [`7d98b67`](https://github.com/ckb-devrel/ccc/commit/7d98b67137927b39577fa5429f1fa18a7242f88b) Thanks [@LusoCryptoLabs](https://github.com/LusoCryptoLabs)! - Document that `getCellDeps` resolves a cell dep with a type script on-chain, so a spent
|
|
66
|
+
outpoint in the known-script tables is expected rather than a bug, and that a dep
|
|
67
|
+
without a type script is used as written.
|
|
68
|
+
|
|
69
|
+
## 1.21.0
|
|
70
|
+
|
|
71
|
+
### Minor Changes
|
|
72
|
+
|
|
73
|
+
- [#532](https://github.com/ckb-devrel/ccc/pull/532) [`182b880`](https://github.com/ckb-devrel/ccc/commit/182b880bd6343b7ecdc1f5732c1f72cd5a22a44d) Thanks [@Hanssen0](https://github.com/Hanssen0)! - Add optional AbortSignal support to `sleep`.
|
|
74
|
+
|
|
75
|
+
## 1.20.1
|
|
76
|
+
|
|
77
|
+
### Patch Changes
|
|
78
|
+
|
|
79
|
+
- [#523](https://github.com/ckb-devrel/ccc/pull/523) [`58b3b4d`](https://github.com/ckb-devrel/ccc/commit/58b3b4d307f5eb65f5f710127cb3bd5bf3191d22) Thanks [@Hanssen0](https://github.com/Hanssen0)! - Cache successful read-only JSON-RPC signer requests for the lifetime of the
|
|
80
|
+
signer, while retrying failures and invalidating cached data on replacement.
|
|
81
|
+
|
|
82
|
+
- [#526](https://github.com/ckb-devrel/ccc/pull/526) [`fc937f0`](https://github.com/ckb-devrel/ccc/commit/fc937f08f9e33c852697831dc5b17a9423fd9e3f) Thanks [@Hanssen0](https://github.com/Hanssen0)! - Prevent UDT input selection from collecting a different type script whose args
|
|
83
|
+
only prefix-match the requested UDT.
|
|
84
|
+
|
|
85
|
+
## 1.20.0
|
|
86
|
+
|
|
87
|
+
### Minor Changes
|
|
88
|
+
|
|
89
|
+
- [#498](https://github.com/ckb-devrel/ccc/pull/498) [`6cfe9e1`](https://github.com/ckb-devrel/ccc/commit/6cfe9e1db55e520cf4347b45b704df90f7dfe331) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat(core): add `Owner.map` and `OwnerAggregated`
|
|
90
|
+
|
|
91
|
+
- [#498](https://github.com/ckb-devrel/ccc/pull/498) [`88c8df6`](https://github.com/ckb-devrel/ccc/commit/88c8df68d75b36d7adf0cfb8598091056ac0c798) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat(core): add ownership-aware `open` APIs for JSON-RPC clients and transports
|
|
92
|
+
|
|
93
|
+
- [#496](https://github.com/ckb-devrel/ccc/pull/496) [`095fb8f`](https://github.com/ckb-devrel/ccc/commit/095fb8fc754ba54e89aec8c3e58b88b6c373ec2a) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat(core): json rpc id can be string
|
|
94
|
+
|
|
95
|
+
- [#503](https://github.com/ckb-devrel/ccc/pull/503) [`eff7117`](https://github.com/ckb-devrel/ccc/commit/eff7117b84b008ac9b7835d355a92f85a19c634e) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat(core): add `SignerJsonRpc` and `buildSignerJsonRpcHandler` for remote
|
|
96
|
+
signers, plus an `AbortSignal.any` compatibility helper.
|
|
97
|
+
|
|
98
|
+
- [#487](https://github.com/ckb-devrel/ccc/pull/487) [`5f2a6ab`](https://github.com/ckb-devrel/ccc/commit/5f2a6ab0a41b9b0c819c7fc62d6eb0b22a8288e6) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat(core): improve JSON-RPC transport types and cleanup
|
|
99
|
+
|
|
100
|
+
Clear HTTP/WebSocket request timers and pending state.
|
|
101
|
+
|
|
102
|
+
- [#498](https://github.com/ckb-devrel/ccc/pull/498) [`4fabb6a`](https://github.com/ckb-devrel/ccc/commit/4fabb6afbd58aee7d4bfb792660f82fe673ffbb9) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat(core): add `OwnerRefCount` for shared resource ownership
|
|
103
|
+
|
|
104
|
+
- [#497](https://github.com/ckb-devrel/ccc/pull/497) [`235cd97`](https://github.com/ckb-devrel/ccc/commit/235cd9788543e300e4dceef20ad664a4666feba2) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat(core)!: replace `Buffer`-based byte encoding with `uint8array-extras`
|
|
105
|
+
|
|
106
|
+
- Remove the legacy `ascii`, `binary`, `latin1`, `ucs2`, and `utf16le` encodings
|
|
107
|
+
- Use consistent strict validation for implicit and explicit hex input
|
|
108
|
+
|
|
109
|
+
- [#498](https://github.com/ckb-devrel/ccc/pull/498) [`463846d`](https://github.com/ckb-devrel/ccc/commit/463846d99e7123846286b3c6a9811b75e5a58437) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat(core): add `Owner` and `OwnerUnique` for explicit resource ownership
|
|
110
|
+
|
|
111
|
+
- [#494](https://github.com/ckb-devrel/ccc/pull/494) [`f6aafb2`](https://github.com/ckb-devrel/ccc/commit/f6aafb2886ad747fed24e218f9b9b54e15071ee9) Thanks [@Hanssen0](https://github.com/Hanssen0)! - refactor(core): rename JSON-RPC transport APIs with the `JsonRpcTransport` prefix
|
|
112
|
+
|
|
113
|
+
- `Transport` is now `JsonRpcTransport`
|
|
114
|
+
- `TransportHttp` is now `JsonRpcTransportHttp`
|
|
115
|
+
- `TransportWebSocket` is now `JsonRpcTransportWebSocket`
|
|
116
|
+
- `TransportFallback` is now `JsonRpcTransportFallback`
|
|
117
|
+
|
|
118
|
+
### Patch Changes
|
|
119
|
+
|
|
120
|
+
- [#516](https://github.com/ckb-devrel/ccc/pull/516) [`1c74033`](https://github.com/ckb-devrel/ccc/commit/1c74033df94fc11b61296c6fc00e9955ff602c72) Thanks [@Hanssen0](https://github.com/Hanssen0)! - Fix DAO claim epoch calculation when the deposit and withdrawal epoch fractions are equal.
|
|
121
|
+
|
|
122
|
+
- [#489](https://github.com/ckb-devrel/ccc/pull/489) [`cdc5b1a`](https://github.com/ckb-devrel/ccc/commit/cdc5b1ac13ce73fa60d79b90cb0400f860f93f27) Thanks [@github-actions](https://github.com/apps/github-actions)! - perf([#495](https://github.com/ckb-devrel/ccc/issues/495)): replace `Uint8Array.slice` with `subarray`
|
|
123
|
+
|
|
124
|
+
## 1.19.1
|
|
125
|
+
|
|
126
|
+
### Patch Changes
|
|
127
|
+
|
|
128
|
+
- [#485](https://github.com/ckb-devrel/ccc/pull/485) [`9b5e9c6`](https://github.com/ckb-devrel/ccc/commit/9b5e9c6439f0bbb4c24f9e8bd99e94c3c374dff1) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat(connector): expose selectable wallet networks as separate signers
|
|
129
|
+
|
|
130
|
+
## 1.19.0
|
|
131
|
+
|
|
132
|
+
### Minor Changes
|
|
133
|
+
|
|
134
|
+
- [#478](https://github.com/ckb-devrel/ccc/pull/478) [`2bec687`](https://github.com/ckb-devrel/ccc/commit/2bec687b6ec25449665c2d8e98d1a433b14b9d90) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat(core): Add `Proxy.Base` for creating wrappers that forward inherited members to an inner object
|
|
135
|
+
|
|
3
136
|
## 2.0.0-next.0
|
|
4
137
|
### Major Changes
|
|
5
138
|
|
|
@@ -34,7 +167,6 @@
|
|
|
34
167
|
|
|
35
168
|
- [#433](https://github.com/ckb-devrel/ccc/pull/433) [`2a8f542`](https://github.com/ckb-devrel/ccc/commit/2a8f542ac2aa1f117991d5737a64da90ef3b138a) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat(core): reduce(Async) accept single value
|
|
36
169
|
|
|
37
|
-
|
|
38
170
|
## 1.18.2
|
|
39
171
|
### Patch Changes
|
|
40
172
|
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<p align="center">
|
|
2
2
|
<a href="https://app.ckbccc.com/">
|
|
3
|
-
<img alt="Logo" src="https://raw.githubusercontent.com/ckb-devrel/ccc/
|
|
3
|
+
<img alt="Logo" src="https://raw.githubusercontent.com/ckb-devrel/ccc/dev/assets/logoAndText.svg" style="height: 8rem; max-width: 90%; padding: 0.5rem 0;" />
|
|
4
4
|
</a>
|
|
5
5
|
</p>
|
|
6
6
|
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
alt="NPM Version" src="https://img.shields.io/npm/v/%40ckb-ccc%2Fcore"
|
|
14
14
|
/></a>
|
|
15
15
|
<img alt="GitHub commit activity" src="https://img.shields.io/github/commit-activity/m/ckb-devrel/ccc" />
|
|
16
|
-
<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/ckb-devrel/ccc/
|
|
17
|
-
<img alt="GitHub branch check runs" src="https://img.shields.io/github/check-runs/ckb-devrel/ccc/
|
|
16
|
+
<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/ckb-devrel/ccc/dev" />
|
|
17
|
+
<img alt="GitHub branch check runs" src="https://img.shields.io/github/check-runs/ckb-devrel/ccc/dev" />
|
|
18
18
|
<a href="https://live.ckbccc.com/"><img
|
|
19
19
|
alt="Playground" src="https://img.shields.io/website?url=https%3A%2F%2Flive.ckbccc.com%2F&label=Playground"
|
|
20
20
|
/></a>
|
package/dist/advanced.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
export { ADDRESS_BECH32_LIMIT, AddressFormat, BytesFromEncoding, CKB_BLAKE2B_PERSONAL, CellRecord, ClientCollectableSearchKeyFilterLike, ClientCollectableSearchKeyLike, DEFAULT_CONFIRMED_BLOCK_TIME, DEFAULT_MAX_FEE_RATE, DEFAULT_MIN_FEE_RATE, DEP_TYPES, DEP_TYPE_TO_NUM, HASH_TYPES, HASH_TYPE_TO_NUM, JsonRpcBlock, JsonRpcBlockHeader, JsonRpcBlockUncle, JsonRpcCellDep, JsonRpcCellInput, JsonRpcCellOutput, JsonRpcDepType, JsonRpcHashType, JsonRpcIndexerFindTransactionsGroupedResponse, JsonRpcIndexerFindTransactionsResponse, JsonRpcIndexerSearchKey, JsonRpcIndexerSearchKeyFilter, JsonRpcIndexerSearchKeyTransaction, JsonRpcOutPoint,
|
|
1
|
+
import { A as filterScriptByLenRange, B as addressPayloadFromString, C as CellRecord, D as filterData, Dn as DEFAULT_MIN_FEE_RATE, E as filterCell, En as DEFAULT_MAX_FEE_RATE, F as HASH_TYPE_TO_NUM, I as NUM_TO_HASH_TYPE, Jn as SignerJsonRpcInfoPayload, L as ADDRESS_BECH32_LIMIT, M as DEP_TYPE_TO_NUM, N as NUM_TO_DEP_TYPE, O as filterNumByRange, On as clientSearchKeyRangeFrom, P as HASH_TYPES, R as AddressFormat, S as MAINNET_SCRIPTS, T as MapLru, Tn as ClientCollectableSearchKeyLike, Xn as SignerJsonRpcTransformers, Yn as SignerJsonRpcMessageToSign, _ as JsonRpcIndexerSearchKeyTransaction, a as JsonRpcBlock, b as JsonRpcTransaction, c as JsonRpcCellDep, d as JsonRpcDepType, f as JsonRpcHashType, g as JsonRpcIndexerSearchKeyFilter, h as JsonRpcIndexerSearchKey, i as JsonRpcTransformers, j as DEP_TYPES, k as filterScript, l as JsonRpcCellInput, m as JsonRpcIndexerFindTransactionsResponse, n as jsonRpcTransportFromUri, o as JsonRpcBlockHeader, p as JsonRpcIndexerFindTransactionsGroupedResponse, qa as BytesFromEncoding, qn as SignerJsonRpcInfo, r as CKB_BLAKE2B_PERSONAL, s as JsonRpcBlockUncle, t as advancedBarrel_d_exports, u as JsonRpcCellOutput, v as JsonRpcOutPoint, w as DEFAULT_CONFIRMED_BLOCK_TIME, wn as ClientCollectableSearchKeyFilterLike, x as TESTNET_SCRIPTS, y as JsonRpcScript, z as addressFromPayload } from "./advancedBarrel-DfFMFhdl.mjs";
|
|
2
|
+
export { ADDRESS_BECH32_LIMIT, AddressFormat, BytesFromEncoding, CKB_BLAKE2B_PERSONAL, CellRecord, ClientCollectableSearchKeyFilterLike, ClientCollectableSearchKeyLike, DEFAULT_CONFIRMED_BLOCK_TIME, DEFAULT_MAX_FEE_RATE, DEFAULT_MIN_FEE_RATE, DEP_TYPES, DEP_TYPE_TO_NUM, HASH_TYPES, HASH_TYPE_TO_NUM, JsonRpcBlock, JsonRpcBlockHeader, JsonRpcBlockUncle, JsonRpcCellDep, JsonRpcCellInput, JsonRpcCellOutput, JsonRpcDepType, JsonRpcHashType, JsonRpcIndexerFindTransactionsGroupedResponse, JsonRpcIndexerFindTransactionsResponse, JsonRpcIndexerSearchKey, JsonRpcIndexerSearchKeyFilter, JsonRpcIndexerSearchKeyTransaction, JsonRpcOutPoint, JsonRpcScript, JsonRpcTransaction, JsonRpcTransformers, MAINNET_SCRIPTS, MapLru, NUM_TO_DEP_TYPE, NUM_TO_HASH_TYPE, SignerJsonRpcInfo, SignerJsonRpcInfoPayload, SignerJsonRpcMessageToSign, SignerJsonRpcTransformers, TESTNET_SCRIPTS, addressFromPayload, addressPayloadFromString, advancedBarrel_d_exports as cccA, clientSearchKeyRangeFrom, filterCell, filterData, filterNumByRange, filterScript, filterScriptByLenRange, jsonRpcTransportFromUri };
|
package/dist/advanced.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$ as e,
|
|
1
|
+
import{$ as e,H as t,Q as n,U as r,W as i,_ as a,a as o,bt as s,c,d as l,et as u,f as d,g as f,h as p,i as m,m as h,n as g,o as _,p as v,r as y,s as b,t as x,v as S,vt as C,wr as w,yt as T}from"./transformers-CduZ1Js5.mjs";import{t as E}from"./advancedBarrel.mjs";export{g as ADDRESS_BECH32_LIMIT,y as AddressFormat,w as CKB_BLAKE2B_PERSONAL,d as DEFAULT_CONFIRMED_BLOCK_TIME,C as DEFAULT_MAX_FEE_RATE,T as DEFAULT_MIN_FEE_RATE,t as DEP_TYPES,r as DEP_TYPE_TO_NUM,n as HASH_TYPES,e as HASH_TYPE_TO_NUM,b as JsonRpcTransformers,l as MAINNET_SCRIPTS,v as MapLru,i as NUM_TO_DEP_TYPE,u as NUM_TO_HASH_TYPE,x as SignerJsonRpcTransformers,_ as TESTNET_SCRIPTS,m as addressFromPayload,o as addressPayloadFromString,E as cccA,s as clientSearchKeyRangeFrom,h as filterCell,p as filterData,f as filterNumByRange,a as filterScript,S as filterScriptByLenRange,c as jsonRpcTransportFromUri};
|