@did-btcr2/bitcoin 0.7.0 → 0.9.0
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/README.md +19 -12
- package/dist/.tsbuildinfo +1 -1
- package/dist/cjs/client/rpc/protocol.js +9 -0
- package/dist/cjs/connection.js +9 -31
- package/dist/cjs/constants.js +1 -46
- package/dist/cjs/index.js +1 -2
- package/dist/esm/client/rpc/protocol.js +9 -0
- package/dist/esm/client/rpc/protocol.js.map +1 -1
- package/dist/esm/connection.js +9 -31
- package/dist/esm/connection.js.map +1 -1
- package/dist/esm/constants.js +0 -45
- package/dist/esm/constants.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types.js.map +1 -1
- package/dist/types/client/rpc/protocol.d.ts.map +1 -1
- package/dist/types/connection.d.ts +9 -17
- package/dist/types/connection.d.ts.map +1 -1
- package/dist/types/constants.d.ts +0 -57
- package/dist/types/constants.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/types.d.ts +0 -1
- package/dist/types/types.d.ts.map +1 -1
- package/package.json +2 -13
- package/src/client/rpc/protocol.ts +10 -0
- package/src/connection.ts +9 -43
- package/src/constants.ts +0 -46
- package/src/index.ts +0 -1
- package/src/types.ts +0 -1
package/README.md
CHANGED
|
@@ -9,9 +9,9 @@ Part of the [`did-btcr2-js`](https://github.com/dcdpr/did-btcr2-js) monorepo.
|
|
|
9
9
|
The DID method needs to read transactions from beacon addresses, fetch block metadata, and broadcast signed updates. This package provides those operations as a pluggable, browser-compatible client.
|
|
10
10
|
|
|
11
11
|
- **Sans-I/O protocol layer.** `EsploraProtocol` and `JsonRpcProtocol` build HTTP request descriptors; they perform no I/O themselves. A pluggable `HttpExecutor` handles the actual `fetch()` (or whatever wire transport you want to inject for testing).
|
|
12
|
-
- **Per-network connection.** `BitcoinConnection
|
|
12
|
+
- **Per-network connection.** `new BitcoinConnection({ network, rest, rpc?, executor? })` holds the REST and optional RPC clients for one network (`'bitcoin' | 'testnet3' | 'testnet4' | 'signet' | 'mutinynet' | 'regtest'`). The REST host is supplied explicitly; there are no built-in service URLs.
|
|
13
13
|
- **REST + RPC.** REST is sufficient for resolution (read-only queries on public networks). RPC is only needed for regtest mining flows and operator-controlled nodes.
|
|
14
|
-
- **No
|
|
14
|
+
- **No endpoint coupling.** This transport layer holds no service URLs and consults no `process.env`. Supply the REST host yourself, or use the SDK facade ([@did-btcr2/api](https://github.com/dcdpr/did-btcr2-js/tree/main/packages/api)), which carries per-network convenience defaults.
|
|
15
15
|
|
|
16
16
|
## Install
|
|
17
17
|
|
|
@@ -31,13 +31,13 @@ Requires Node >= 22. Ships both ESM and CJS; pick whichever your bundler needs.
|
|
|
31
31
|
|
|
32
32
|
| Concern | Entry point |
|
|
33
33
|
|---|---|
|
|
34
|
-
| Per-network connection | `BitcoinConnection`, `
|
|
34
|
+
| Per-network connection | `BitcoinConnection`, `BitcoinConnectionOptions` |
|
|
35
35
|
| REST client (Esplora) | `BitcoinRestClient`, sub-clients `BitcoinAddress`, `BitcoinBlock`, `BitcoinTransaction` |
|
|
36
36
|
| RPC client (Bitcoin Core) | `BitcoinCoreRpcClient`, `JsonRpcTransport`, `RpcMethodMap`, `TypedRpcMethod` |
|
|
37
37
|
| Sans-I/O protocol layer | `EsploraProtocol`, `JsonRpcProtocol`, `HttpRequest`, `HttpExecutor`, `defaultHttpExecutor` |
|
|
38
|
+
| Fee estimation | `FeeEstimator`, `StaticFeeEstimator` |
|
|
38
39
|
| Network params | `getNetwork(name)`, `BTCNetwork`, `NetworkName` |
|
|
39
40
|
| Errors | `BitcoinRpcError`, `BitcoinRestError`, `RpcErrorType` |
|
|
40
|
-
| Defaults | `DEFAULT_BITCOIN_NETWORK_CONFIG` |
|
|
41
41
|
| Bitcoin constants | `INITIAL_BLOCK_REWARD`, `HALVING_INTERVAL`, `COINBASE_MATURITY_DELAY`, `DEFAULT_BLOCK_CONFIRMATIONS`, `GENESIS_TX_ID` |
|
|
42
42
|
|
|
43
43
|
## Quick Start
|
|
@@ -45,16 +45,21 @@ Requires Node >= 22. Ships both ESM and CJS; pick whichever your bundler needs.
|
|
|
45
45
|
```typescript
|
|
46
46
|
import { BitcoinConnection } from '@did-btcr2/bitcoin';
|
|
47
47
|
|
|
48
|
-
// Public network: REST only
|
|
49
|
-
const btc = BitcoinConnection
|
|
48
|
+
// Public network: REST only. Supply the Esplora host explicitly.
|
|
49
|
+
const btc = new BitcoinConnection({
|
|
50
|
+
network : 'mutinynet',
|
|
51
|
+
rest : { host: 'https://mutinynet.com/api' },
|
|
52
|
+
});
|
|
50
53
|
|
|
51
54
|
const height = await btc.rest.block.count();
|
|
52
55
|
const utxos = await btc.rest.address.getUtxos('tb1q...');
|
|
53
56
|
const txHex = await btc.rest.transaction.getHex('abc123...');
|
|
54
57
|
|
|
55
|
-
// Regtest with explicit
|
|
56
|
-
const regtest = BitcoinConnection
|
|
57
|
-
|
|
58
|
+
// Regtest with explicit REST host and RPC credentials.
|
|
59
|
+
const regtest = new BitcoinConnection({
|
|
60
|
+
network : 'regtest',
|
|
61
|
+
rest : { host: 'http://localhost:3000' },
|
|
62
|
+
rpc : { host: 'http://localhost:18443', username: 'polaruser', password: 'polarpass' },
|
|
58
63
|
});
|
|
59
64
|
await regtest.rpc!.generateToAddress(6, await regtest.rpc!.getNewAddress('bech32'));
|
|
60
65
|
```
|
|
@@ -64,8 +69,10 @@ await regtest.rpc!.generateToAddress(6, await regtest.rpc!.getNewAddress('bech32
|
|
|
64
69
|
For tests, sandboxes, or rate-limited fetchers, pass your own `HttpExecutor`:
|
|
65
70
|
|
|
66
71
|
```typescript
|
|
67
|
-
const btc = BitcoinConnection
|
|
68
|
-
|
|
72
|
+
const btc = new BitcoinConnection({
|
|
73
|
+
network : 'mutinynet',
|
|
74
|
+
rest : { host: 'https://mutinynet.com/api' },
|
|
75
|
+
executor : (req) => fetch(req.url, {
|
|
69
76
|
method : req.method,
|
|
70
77
|
headers : req.headers,
|
|
71
78
|
body : req.body,
|
|
@@ -77,7 +84,7 @@ const btc = BitcoinConnection.forNetwork('mutinynet', {
|
|
|
77
84
|
## Architecture Principles
|
|
78
85
|
|
|
79
86
|
- **Sans-I/O core.** Protocol layers compute request descriptors; executors do the wire work. The same protocol code runs unchanged in Node, browsers, and test harnesses.
|
|
80
|
-
- **No third-party endpoint coupling.**
|
|
87
|
+
- **No third-party endpoint coupling.** This transport layer holds no service URLs and performs no environment-variable resolution. Callers supply the REST host per network, or use the SDK facade (`@did-btcr2/api`), which carries per-network convenience defaults.
|
|
81
88
|
- **Strict typing for RPC + REST.** Block versions (`BlockV0..BlockV3`) and raw transaction shapes (`RawTransactionV0..V2`) are modelled as discriminated unions; verbosity flags select the right type at the call site.
|
|
82
89
|
|
|
83
90
|
## Build & Test
|
package/dist/.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"fileNames":["../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/.pnpm/@scure+bip32@1.7.0/node_modules/@scure/bip32/lib/esm/index.d.ts","../../common/dist/types/types.d.ts","../../common/dist/types/canonicalization.d.ts","../../common/dist/types/errors.d.ts","../../common/dist/types/json-patch.d.ts","../../common/dist/types/utils/date.d.ts","../../common/dist/types/utils/json.d.ts","../../common/dist/types/utils/string.d.ts","../../common/dist/types/index.d.ts","../src/client/http.ts","../src/types.ts","../src/client/rest/protocol.ts","../src/client/rest/address.ts","../src/errors.ts","../src/client/rest/block.ts","../src/client/rest/transaction.ts","../src/client/rest/index.ts","../src/client/rpc/interface.ts","../src/client/utils.ts","../src/client/rpc/protocol.ts","../src/client/rpc/json-rpc.ts","../src/client/rpc/index.ts","../../../node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/utils.d.ts","../../../node_modules/.pnpm/@noble+curves@1.9.7/node_modules/@noble/curves/esm/utils.d.ts","../../../node_modules/.pnpm/@noble+curves@1.9.7/node_modules/@noble/curves/esm/abstract/modular.d.ts","../../../node_modules/.pnpm/@noble+curves@1.9.7/node_modules/@noble/curves/esm/abstract/curve.d.ts","../../../node_modules/.pnpm/@noble+curves@1.9.7/node_modules/@noble/curves/esm/abstract/weierstrass.d.ts","../../../node_modules/.pnpm/@noble+curves@1.9.7/node_modules/@noble/curves/esm/_shortw_utils.d.ts","../../../node_modules/.pnpm/@noble+curves@1.9.7/node_modules/@noble/curves/esm/abstract/hash-to-curve.d.ts","../../../node_modules/.pnpm/@noble+curves@1.9.7/node_modules/@noble/curves/esm/secp256k1.d.ts","../../../node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/_md.d.ts","../../../node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/sha2.d.ts","../../../node_modules/.pnpm/@scure+btc-signer@1.8.1/node_modules/@scure/btc-signer/esm/utils.d.ts","../../../node_modules/.pnpm/@scure+base@1.2.6/node_modules/@scure/base/lib/esm/index.d.ts","../../../node_modules/.pnpm/micro-packed@0.7.3/node_modules/micro-packed/lib/esm/index.d.ts","../../../node_modules/.pnpm/@scure+btc-signer@1.8.1/node_modules/@scure/btc-signer/esm/psbt.d.ts","../../../node_modules/.pnpm/@scure+btc-signer@1.8.1/node_modules/@scure/btc-signer/esm/script.d.ts","../../../node_modules/.pnpm/@scure+btc-signer@1.8.1/node_modules/@scure/btc-signer/esm/payment.d.ts","../../../node_modules/.pnpm/@scure+btc-signer@1.8.1/node_modules/@scure/btc-signer/esm/transaction.d.ts","../../../node_modules/.pnpm/@scure+btc-signer@1.8.1/node_modules/@scure/btc-signer/esm/utxo.d.ts","../../../node_modules/.pnpm/@scure+btc-signer@1.8.1/node_modules/@scure/btc-signer/esm/index.d.ts","../src/network.ts","../src/constants.ts","../src/connection.ts","../src/fee-estimator.ts","../src/index.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/compatibility/disposable.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/compatibility/indexable.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/compatibility/index.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/web-globals/domexception.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/web-globals/events.d.ts","../../../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/header.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/readable.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/file.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/fetch.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/formdata.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/connector.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/client.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/errors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-origin.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool-stats.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/handlers.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-client.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-errors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-handler.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/api.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/interceptors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/util.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cookies.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/patch.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/websocket.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/eventsource.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/filereader.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/content-type.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cache.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/index.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/web-globals/fetch.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/web-globals/navigator.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/web-globals/storage.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/inspector.generated.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/sea.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/sqlite.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/index.d.ts"],"fileIdsList":[[81,84,109,158],[82,109,158],[81,82,83,109,158],[109,158],[81,82,83,84,85,86,109,158],[80,109,158],[80,88,109,158],[90,93,94,95,96,97,109,158],[90,91,92,93,94,109,158],[90,92,109,158],[92,109,158],[90,92,93,94,95,109,158],[87,89,109,158],[90,92,93,96,109,158],[109,155,158],[109,157,158],[158],[109,158,163,192],[109,158,159,164,169,177,189,200],[109,158,159,160,169,177],[104,105,106,109,158],[109,158,161,201],[109,158,162,163,170,178],[109,158,163,189,197],[109,158,164,166,169,177],[109,157,158,165],[109,158,166,167],[109,158,168,169],[109,157,158,169],[109,158,169,170,171,189,200],[109,158,169,170,171,184,189,192],[109,151,158,166,169,172,177,189,200],[109,158,169,170,172,173,177,189,197,200],[109,158,172,174,189,197,200],[107,108,109,110,111,112,113,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206],[109,158,169,175],[109,158,176,200],[109,158,166,169,177,189],[109,158,178],[109,158,179],[109,157,158,180],[109,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206],[109,158,182],[109,158,183],[109,158,169,184,185],[109,158,184,186,201,203],[109,158,169,189,190,192],[109,158,191,192],[109,158,189,190],[109,158,192],[109,158,193],[109,155,158,189,194],[109,158,169,195,196],[109,158,195,196],[109,158,163,177,189,197],[109,158,198],[109,158,177,199],[109,158,172,183,200],[109,158,163,201],[109,158,189,202],[109,158,176,203],[109,158,204],[109,151,158],[109,158,169,171,180,189,192,200,202,203,205],[109,158,189,206],[91,109,158],[109,123,127,158,200],[109,123,158,189,200],[109,118,158],[109,120,123,158,197,200],[109,158,177,197],[109,158,207],[109,118,158,207],[109,120,123,158,177,200],[109,115,116,119,122,158,169,189,200],[109,123,130,158],[109,115,121,158],[109,123,144,145,158],[109,119,123,158,192,200,207],[109,144,158,207],[109,117,118,158,207],[109,123,158],[109,117,118,119,120,121,122,123,124,125,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,145,146,147,148,149,150,158],[109,123,138,158],[109,123,130,131,158],[109,121,123,131,132,158],[109,122,158],[109,115,118,123,158],[109,123,127,131,132,158],[109,127,158],[109,121,123,126,158,200],[109,115,120,123,130,158],[109,158,189],[109,118,123,144,158,205,207],[67,68,69,109,158],[67,68,69,71,109,158],[66,67,68,69,70,72,73,109,158],[66,67,68,109,158],[66,67,68,69,109,158],[66,67,68,71,75,78,109,158],[68,109,158],[67,68,71,76,77,109,158],[67,68,71,76,109,158],[66,67,68,74,79,99,100,109,158],[67,68,69,70,71,72,73,74,75,76,77,78,79,99,100,101,102,109,158],[90,98,109,158],[66,109,158],[59,109,158],[59,60,61,62,63,64,65,109,158],[58,109,158]],"fileInfos":[{"version":"e41c290ef7dd7dab3493e6cbe5909e0148edf4a8dad0271be08edec368a0f7b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"62bb211266ee48b2d0edf0d8d1b191f0c24fc379a82bd4c1692a082c540bc6b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"f1e2a172204962276504466a6393426d2ca9c54894b1ad0a6c9dad867a65f876","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"b5ce7a470bc3628408429040c4e3a53a27755022a32fd05e2cb694e7015386c7","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"1ddd1ca692a6c656ade0a85c9a722b3679b3d0bf113b699908e0325cf3537dbe","impliedFormat":99},{"version":"1c45c0cd36427144bf788de5e5047825f4b33007ccf2842ba8f071f88c65745a","impliedFormat":99},{"version":"b5c4e5828cb4824e1ccb6cc77133f8978f1ff309f7432d47a8a9e0a475ce430f","impliedFormat":99},{"version":"a49f9258cf6e44efcb1438c03a15d97614ac15ca87a36ef79e68ad543b3df95d","impliedFormat":99},{"version":"893a3b3ac940daab19293ab7c263b0c9dab255d5a38e525c99876d089829514e","impliedFormat":99},{"version":"13b5d7c6770d510c0ce592f49e483dde921a581113d9b5ee72c04fdd213f9f3f","impliedFormat":99},{"version":"3f69d48f94aed50fa95537d3d6ef8ef209277e39473d084d6d8225d6d8a06343","impliedFormat":99},{"version":"4267e8deaca127eb366458660b2b02ea4bb7423a11b1fe4b602286f18a9c3e62","impliedFormat":99},{"version":"08fbbaf139bf1c22b44183f82578d25dfdd1b8f1b40040c67e24eec9e2d50e7b","impliedFormat":99},{"version":"d09a845fff01f9c4d834160e36fe8f23523743adc6f79113ee0d31a0f46d4d66","signature":"d5685b4a98ceacec0a45eb50fae6514fc6c2a3c12b7b876329ca6937414d0d4c","impliedFormat":99},{"version":"dba2f72fcdff129183e0038fc24b0f85a1be907b9c733ee0df39cfcb39684149","signature":"4c09fb938d91a1d61c32b742db09fd0e80cc5e76b778c3596041246aa8ce7a43","impliedFormat":99},{"version":"777dbcc22a0093be5e39302660e1852bb430998f73597781cd6bd60d244ef013","signature":"84bd01a2fc067becfa14defe142745bb69a7f1b5da7a59b70b3cba8e859b7dc2","impliedFormat":99},{"version":"0432dd25990832acd8f908ed610f2616f7c7950a6b19950cf83fef2819c914f6","signature":"95c7128d61ed7686df76fb6a9e59fe43c727567584c798e58687aff3be4d5dce","impliedFormat":99},{"version":"79f34c3c9dab23de4476b2aa4d0d6214a34318af7f6881a6a087ffce53148648","signature":"96ff73cfdaac7e88e18cdf40ca658e8ecc5d5252416f431793210fb7396bced4","impliedFormat":99},{"version":"ae3887d31059b48e3e79458897eeb5570a5df1792b5b2f05e2e6f2cc046a900e","signature":"fa5c042cbf8efb51df4747e553dd337ff6d70fa5912dc06b939403148a88b1b4","impliedFormat":99},{"version":"07703e6203fc801c0d39c7c3368fe093298cbb536102dd03205348b58ea39394","signature":"f595d3e777b6d71a798a4d157c095fb8ad2869f3f462f81ab8c463979381467b","impliedFormat":99},{"version":"be74f54bd9bd7516cc0c95f13c49c2090fdae29fcc60dcb3d03feb0439858d95","signature":"447a3e44902cfddbd3e2486c1c1ddec1b86711591d71525bda3fc330850cf830","impliedFormat":99},{"version":"31e9ffedb885ce5b52bbba7e083e7a58852b0fd2f21237f2be73fffb267f4a0a","signature":"5fa3b696036cb52ef64a9d3cb3a13d19750fdbe2d443c0a052a596f60b21a429","impliedFormat":99},{"version":"aafc9a6b6e426d1e00782f3d0f5865b16560b22b14d036a798e5c0bfe1e70257","signature":"fbfad1d6b9d361cde11f8fb1ddc8c4bb2683e0dc3008586f4dd0f5165e726774","impliedFormat":99},{"version":"7d3b305bc32bdd3500b000d62bc6c60558f87c17f8358da544c7051af3235c57","signature":"7bd7c97f92e05155d0848b26a5a03b4e5d642605bd3ea48674b7c7ef884d916e","impliedFormat":99},{"version":"4c62f0c0eb6d3328b67186343b59e216dc7fa5b45057dc590d2376235d02d402","signature":"2bd794d3e74c8f6034fadbc42fef6a10572ac8355e3fe34f338fb45e4d8f4550","impliedFormat":99},{"version":"88a9831e89466aeb700f1554a5cd7e455962f090ed9e936ce44f8d58a3944dca","signature":"29d884e1420a370a9e34cd5e9e5d6593000967464b4b275555be3e6823168b83","impliedFormat":99},{"version":"b0bf8f866d3c05dce6c2778455252391bbc3fa0e8c1675e78dcee8fab2e1dd96","impliedFormat":99},{"version":"cdb9aa7409622f2b54fbaa4c05badf6c18a4d6efa79883928f0c312d81844e0a","impliedFormat":99},{"version":"5d82e1ce7f42896df4695ef76ef13e1dce77507450134dbec4178e486929566e","impliedFormat":99},{"version":"0488374d4c4109d628436e850b24615bb321e737f642c81fde5f832e16461148","impliedFormat":99},{"version":"908901f3b23c77da2470d9081b1deb16f6dcc01cad792a0f91ba99e3eeb152cd","impliedFormat":99},{"version":"458f61b038ce1d3db7fc917139fb53e6037f6ab86bbecb3927afc2de60afcc2a","impliedFormat":99},{"version":"48f7bf3b39f234811d4b60817abf3fb4c056e6dd65a0293646afdec16bdc5df1","impliedFormat":99},{"version":"fdf613a6dbd67a2074a6812cc6042dd504bd95362a2baf37c3e217bf3a884418","impliedFormat":99},{"version":"675058f412cecd4e2c028e1a74aa34d5510ab03ed78dae712437890bb0aba6ba","impliedFormat":99},{"version":"cf6dc97686cc424e560bc9938f79964cccecd270ad144ac0ba85f2d8caa1115d","impliedFormat":99},{"version":"96a90b9e5a3b7f3bbd502d727c567fb79812882cead99f3d40bdec5e606aea4b","impliedFormat":99},{"version":"400bb49269c73740c04418c3739ddab3675428d51b203fc187c3fbf278511f24","impliedFormat":99},{"version":"600b2a7ea7d4c4d5b46a1ed665b06acb4826f53d8b84a65bb465a19555abe82b","impliedFormat":99},{"version":"0e73bd8526a821d92fcc9028bd8db6735a3505e3893dc1d5d2f3b64e91f6caf3","impliedFormat":99},{"version":"2d4b8aa99365233b93e768ca5d25b230577c0f058d3c563875d47248563a575d","impliedFormat":99},{"version":"c581b951e95ca0048794ccf228be5391c5de15d030b7484b8a49675aea856963","impliedFormat":99},{"version":"d0b265d94707b6415bd31f9cbef5df48f23be45a2db6372e6fbf3909586820f9","impliedFormat":99},{"version":"737c24c848da99ebdd63fd0894997d143adf0e6378f4abb802833d73cb7c99e5","impliedFormat":99},{"version":"ef1e1c11cfd5efaac8ce706dafe9ba7a6aedc6ae4ac4b04297eac7db6e91679a","impliedFormat":99},{"version":"ebc41d029e3d9ed7fdb5acaa525233c7e6ec5128cf13e484d7a120809bdbe2f8","signature":"a73a69fccd8d33732f9404f7d560867d7cc8008b8fae50ec0381ae54104108cb","impliedFormat":99},{"version":"7c149f98ce5ea77449d50229d0d72dc20df6bedc9d09290aaf46f6695dc6ab03","signature":"e805554b0f8756a151a668324614a4c1e683a04e77fe62d27fb3878784c5a2e5","impliedFormat":99},{"version":"e13c7806693770c87cdc57b14d58d871e16029ebe74e18e4105c6c81e3ceaebd","signature":"1e45e66031f254f05859ea181592b54547e8cd88a519410916b25192ca9cc39c","impliedFormat":99},{"version":"61a5299ef36effe085c3c8ca559281abe11f9f29d00f54c2f09ec51bde8e61b1","signature":"2fbad8e9ae7a83b224263b97a4e7f57bb936915167cb00299eb457766f688cc0","impliedFormat":99},{"version":"985aef51986c41223d0dd61daa756e14d62d6da3a1471b399ce48af6dc50e56a","signature":"cc107ef003f3ed2725234afa25314b99eb4914952ad0376fc6e5756a2fa87e13","impliedFormat":99},{"version":"6c7176368037af28cb72f2392010fa1cef295d6d6744bca8cfb54985f3a18c3e","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true,"impliedFormat":1},{"version":"437e20f2ba32abaeb7985e0afe0002de1917bc74e949ba585e49feba65da6ca1","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"a79e62f1e20467e11a904399b8b18b18c0c6eea6b50c1168bf215356d5bebfaf","affectsGlobalScope":true,"impliedFormat":1},{"version":"d802f0e6b5188646d307f070d83512e8eb94651858de8a82d1e47f60fb6da4e2","affectsGlobalScope":true,"impliedFormat":1},{"version":"17bb4105d0ea2ab2bfcb4f77ff8585691d5569c90ae15f4fa8d5ff9fb42b910b","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"456fa0c0ab68731564917642b977c71c3b7682240685b118652fb9253c9a6429","affectsGlobalScope":true,"impliedFormat":1},{"version":"4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"2cbe0621042e2a68c7cbce5dfed3906a1862a16a7d496010636cdbdb91341c0f","affectsGlobalScope":true,"impliedFormat":1},{"version":"f9501cc13ce624c72b61f12b3963e84fad210fbdf0ffbc4590e08460a3f04eba","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"a38efe83ff77c34e0f418a806a01ca3910c02ee7d64212a59d59bca6c2c38fa1","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"2b06b93fd01bcd49d1a6bd1f9b65ddcae6480b9a86e9061634d6f8e354c1468f","impliedFormat":1},{"version":"7b988bc259155186e6b09dd8b32856d9e45c8d261e63c19abaf590bb6550f922","affectsGlobalScope":true,"impliedFormat":1},{"version":"fe7b52f993f9336b595190f3c1fcc259bb2cf6dcb4ac8fdb1e0454cc5df7301e","impliedFormat":1},{"version":"e9b97d69510658d2f4199b7d384326b7c4053b9e6645f5c19e1c2a54ede427fc","impliedFormat":1},{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"81711af669f63d43ccb4c08e15beda796656dd46673d0def001c7055db53852d","affectsGlobalScope":true,"impliedFormat":1},{"version":"19d5f8d3930e9f99aa2c36258bf95abbe5adf7e889e6181872d1cdba7c9a7dd5","impliedFormat":1},{"version":"9855e02d837744303391e5623a531734443a5f8e6e8755e018c41d63ad797db2","impliedFormat":1},{"version":"bdba81959361810be44bcfdd283f4d601e406ab5ad1d2bdff0ed480cf983c9d7","impliedFormat":1},{"version":"836a356aae992ff3c28a0212e3eabcb76dd4b0cc06bcb9607aeef560661b860d","impliedFormat":1},{"version":"1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393","impliedFormat":1},{"version":"b326f4813b90d230ec3950f66bd5b5ce3971aac5fac67cfafc54aa07b39fd07f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c8420c7c2b778b334587a4c0311833b5212ff2f684ea37b2f0e2b117f1d7210d","impliedFormat":1},{"version":"b6b08215821c9833b0e8e30ea1ed178009f2f3ff5d7fae3865ee42f97cc87784","impliedFormat":1},{"version":"9757d0daeeb72efec2c546ddcf6a237a821e57eb61c72e5bc8e6c22e968de63c","impliedFormat":1},{"version":"73cf6cc19f16c0191e4e9d497ab0c11c7b38f1ca3f01ad0f09a3a5a971aac4b8","impliedFormat":1},{"version":"528b62e4272e3ddfb50e8eed9e359dedea0a4d171c3eb8f337f4892aac37b24b","impliedFormat":1},{"version":"ed58b9974bb3114f39806c9c2c6258c4ffa6a255921976a7c53dfa94bf178f42","impliedFormat":1},{"version":"e6fa9ad47c5f71ff733744a029d1dc472c618de53804eae08ffc243b936f87ff","affectsGlobalScope":true,"impliedFormat":1},{"version":"f72bc8fe16da67e4e3268599295797b202b95e54bd215a03f97e925dd1502a36","impliedFormat":1},{"version":"b1b6ee0d012aeebe11d776a155d8979730440082797695fc8e2a5c326285678f","impliedFormat":1},{"version":"45875bcae57270aeb3ebc73a5e3fb4c7b9d91d6b045f107c1d8513c28ece71c0","impliedFormat":1},{"version":"915e18c559321c0afaa8d34674d3eb77e1ded12c3e85bf2a9891ec48b07a1ca5","affectsGlobalScope":true,"impliedFormat":1},{"version":"e9727a118ce60808e62457c89762fe5a4e2be8e9fd0112d12432d1bafdba942f","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","impliedFormat":1},{"version":"933921f0bb0ec12ef45d1062a1fc0f27635318f4d294e4d99de9a5493e618ca2","impliedFormat":1},{"version":"71a0f3ad612c123b57239a7749770017ecfe6b66411488000aba83e4546fde25","impliedFormat":1},{"version":"70b57b5529051497e9f6482b76d91c0dcbb103d9ead8a0549f5bab8f65e5d031","impliedFormat":1},{"version":"4f9d8ca0c417b67b69eeb54c7ca1bedd7b56034bb9bfd27c5d4f3bc4692daca7","impliedFormat":1},{"version":"814118df420c4e38fe5ae1b9a3bafb6e9c2aa40838e528cde908381867be6466","impliedFormat":1},{"version":"3a90b9beac4c2bfdf6517faae0940a042b81652badf747df0a7c7593456f6ebe","impliedFormat":1},{"version":"8302157cd431b3943eed09ad439b4441826c673d9f870dcb0e1f48e891a4211e","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"125d792ec6c0c0f657d758055c494301cc5fdb327d9d9d5960b3f129aff76093","impliedFormat":1},{"version":"dba28a419aec76ed864ef43e5f577a5c99a010c32e5949fe4e17a4d57c58dd11","affectsGlobalScope":true,"impliedFormat":1},{"version":"2754d8221d77c7b382096651925eb476f1066b3348da4b73fe71ced7801edada","impliedFormat":1},{"version":"a5890565ed564c7b29eb1b1038d4e10c03a3f5231b0a8d48fea4b41ab19f4f46","impliedFormat":1},{"version":"f0be1b8078cd549d91f37c30c222c2a187ac1cf981d994fb476a1adc61387b14","affectsGlobalScope":true,"impliedFormat":1},{"version":"0aaed1d72199b01234152f7a60046bc947f1f37d78d182e9ae09c4289e06a592","impliedFormat":1},{"version":"98ffdf93dfdd206516971d28e3e473f417a5cfd41172e46b4ce45008f640588e","impliedFormat":1},{"version":"66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","impliedFormat":1},{"version":"7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4","impliedFormat":1},{"version":"cee74f5970ffc01041e5bffc3f324c20450534af4054d2c043cb49dbbd4ec8f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"1a654e0d950353614ba4637a8de4f9d367903a0692b748e11fccf8c880c99735","affectsGlobalScope":true,"impliedFormat":1},{"version":"42da246c46ca3fd421b6fd88bb4466cda7137cf33e87ba5ceeded30219c428bd","impliedFormat":1},{"version":"3a051941721a7f905544732b0eb819c8d88333a96576b13af08b82c4f17581e4","impliedFormat":1},{"version":"ac5ed35e649cdd8143131964336ab9076937fa91802ec760b3ea63b59175c10a","impliedFormat":1},{"version":"3006130eae582d9bc732ab302ac25bbd86777dbac3a9eece81a2c77570f65e9b","affectsGlobalScope":true,"impliedFormat":1},{"version":"db3d77167a7da6c5ba0c51c5b654820e3464093f21724ccd774c0b9bc3f81bc0","impliedFormat":1},{"version":"bdf1feb266c87edbee61f12ceaaef60ab0e2e5dba70ca19360b6448911c53d52","impliedFormat":1}],"root":[[67,79],[99,103]],"options":{"composite":true,"declaration":true,"declarationDir":"./types","declarationMap":true,"esModuleInterop":true,"module":199,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"outDir":"./esm","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9,"tsBuildInfoFile":"./.tsbuildinfo","verbatimModuleSyntax":true},"referencedMap":[[85,1],[83,2],[86,3],[82,4],[84,3],[87,5],[81,6],[88,6],[89,7],[80,4],[91,4],[58,4],[98,8],[95,9],[93,10],[94,11],[96,12],[90,13],[97,14],[155,15],[156,15],[157,16],[109,17],[158,18],[159,19],[160,20],[104,4],[107,21],[105,4],[106,4],[161,22],[162,23],[163,24],[164,25],[165,26],[166,27],[167,27],[168,28],[169,29],[170,30],[171,31],[110,4],[108,4],[172,32],[173,33],[174,34],[207,35],[175,36],[176,37],[177,38],[178,39],[179,40],[180,41],[181,42],[182,43],[183,44],[184,45],[185,45],[186,46],[187,4],[188,4],[189,47],[191,48],[190,49],[192,50],[193,51],[194,52],[195,53],[196,54],[197,55],[198,56],[199,57],[200,58],[201,59],[202,60],[203,61],[204,62],[111,4],[112,4],[113,4],[152,63],[153,4],[154,4],[205,64],[206,65],[114,4],[92,66],[56,4],[57,4],[11,4],[10,4],[2,4],[12,4],[13,4],[14,4],[15,4],[16,4],[17,4],[18,4],[19,4],[3,4],[20,4],[21,4],[4,4],[22,4],[26,4],[23,4],[24,4],[25,4],[27,4],[28,4],[29,4],[5,4],[30,4],[31,4],[32,4],[33,4],[6,4],[37,4],[34,4],[35,4],[36,4],[38,4],[7,4],[39,4],[44,4],[45,4],[40,4],[41,4],[42,4],[43,4],[8,4],[49,4],[46,4],[47,4],[48,4],[50,4],[9,4],[51,4],[52,4],[53,4],[55,4],[54,4],[1,4],[130,67],[140,68],[129,67],[150,69],[121,70],[120,71],[149,72],[143,73],[148,74],[123,75],[137,76],[122,77],[146,78],[118,79],[117,72],[147,80],[119,81],[124,82],[125,4],[128,82],[115,4],[151,83],[141,84],[132,85],[133,86],[135,87],[131,88],[134,89],[144,72],[126,90],[127,91],[136,92],[116,93],[139,84],[138,82],[142,4],[145,94],[67,4],[70,95],[72,96],[74,97],[69,98],[73,99],[79,100],[75,101],[78,102],[77,103],[76,4],[101,104],[100,4],[71,4],[102,4],[103,105],[99,106],[68,107],[60,108],[61,4],[66,109],[62,108],[59,110],[63,4],[64,108],[65,4]],"latestChangedDtsFile":"./types/index.d.ts","version":"5.7.3"}
|
|
1
|
+
{"fileNames":["../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../src/client/http.ts","../../../node_modules/.pnpm/@scure+bip32@1.7.0/node_modules/@scure/bip32/lib/esm/index.d.ts","../../common/dist/types/types.d.ts","../../common/dist/types/canonicalization.d.ts","../../common/dist/types/errors.d.ts","../../common/dist/types/json-patch.d.ts","../../common/dist/types/utils/date.d.ts","../../common/dist/types/utils/json.d.ts","../../common/dist/types/utils/string.d.ts","../../common/dist/types/index.d.ts","../src/types.ts","../src/client/rest/protocol.ts","../src/client/rest/address.ts","../src/errors.ts","../src/client/rest/block.ts","../src/client/rest/transaction.ts","../src/client/rest/index.ts","../src/client/rpc/interface.ts","../src/client/utils.ts","../src/client/rpc/protocol.ts","../src/client/rpc/json-rpc.ts","../src/client/rpc/index.ts","../../../node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/utils.d.ts","../../../node_modules/.pnpm/@noble+curves@1.9.7/node_modules/@noble/curves/esm/utils.d.ts","../../../node_modules/.pnpm/@noble+curves@1.9.7/node_modules/@noble/curves/esm/abstract/modular.d.ts","../../../node_modules/.pnpm/@noble+curves@1.9.7/node_modules/@noble/curves/esm/abstract/curve.d.ts","../../../node_modules/.pnpm/@noble+curves@1.9.7/node_modules/@noble/curves/esm/abstract/weierstrass.d.ts","../../../node_modules/.pnpm/@noble+curves@1.9.7/node_modules/@noble/curves/esm/_shortw_utils.d.ts","../../../node_modules/.pnpm/@noble+curves@1.9.7/node_modules/@noble/curves/esm/abstract/hash-to-curve.d.ts","../../../node_modules/.pnpm/@noble+curves@1.9.7/node_modules/@noble/curves/esm/secp256k1.d.ts","../../../node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/_md.d.ts","../../../node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/sha2.d.ts","../../../node_modules/.pnpm/@scure+btc-signer@1.8.1/node_modules/@scure/btc-signer/esm/utils.d.ts","../../../node_modules/.pnpm/@scure+base@1.2.6/node_modules/@scure/base/lib/esm/index.d.ts","../../../node_modules/.pnpm/micro-packed@0.7.3/node_modules/micro-packed/lib/esm/index.d.ts","../../../node_modules/.pnpm/@scure+btc-signer@1.8.1/node_modules/@scure/btc-signer/esm/psbt.d.ts","../../../node_modules/.pnpm/@scure+btc-signer@1.8.1/node_modules/@scure/btc-signer/esm/script.d.ts","../../../node_modules/.pnpm/@scure+btc-signer@1.8.1/node_modules/@scure/btc-signer/esm/payment.d.ts","../../../node_modules/.pnpm/@scure+btc-signer@1.8.1/node_modules/@scure/btc-signer/esm/transaction.d.ts","../../../node_modules/.pnpm/@scure+btc-signer@1.8.1/node_modules/@scure/btc-signer/esm/utxo.d.ts","../../../node_modules/.pnpm/@scure+btc-signer@1.8.1/node_modules/@scure/btc-signer/esm/index.d.ts","../src/network.ts","../src/connection.ts","../src/constants.ts","../src/fee-estimator.ts","../src/index.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/compatibility/disposable.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/compatibility/indexable.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/compatibility/index.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/web-globals/domexception.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/web-globals/events.d.ts","../../../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/header.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/readable.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/file.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/fetch.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/formdata.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/connector.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/client.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/errors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-origin.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool-stats.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/handlers.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-client.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-errors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-handler.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/api.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/interceptors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/util.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cookies.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/patch.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/websocket.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/eventsource.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/filereader.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/content-type.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cache.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/index.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/web-globals/fetch.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/web-globals/navigator.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/web-globals/storage.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/inspector.generated.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/sea.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/sqlite.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@22.18.4/node_modules/@types/node/index.d.ts"],"fileIdsList":[[81,84,109,158],[82,109,158],[81,82,83,109,158],[109,158],[81,82,83,84,85,86,109,158],[80,109,158],[80,88,109,158],[90,93,94,95,96,97,109,158],[90,91,92,93,94,109,158],[90,92,109,158],[92,109,158],[90,92,93,94,95,109,158],[87,89,109,158],[90,92,93,96,109,158],[109,155,158],[109,157,158],[158],[109,158,163,192],[109,158,159,164,169,177,189,200],[109,158,159,160,169,177],[104,105,106,109,158],[109,158,161,201],[109,158,162,163,170,178],[109,158,163,189,197],[109,158,164,166,169,177],[109,157,158,165],[109,158,166,167],[109,158,168,169],[109,157,158,169],[109,158,169,170,171,189,200],[109,158,169,170,171,184,189,192],[109,151,158,166,169,172,177,189,200],[109,158,169,170,172,173,177,189,197,200],[109,158,172,174,189,197,200],[107,108,109,110,111,112,113,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206],[109,158,169,175],[109,158,176,200],[109,158,166,169,177,189],[109,158,178],[109,158,179],[109,157,158,180],[109,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206],[109,158,182],[109,158,183],[109,158,169,184,185],[109,158,184,186,201,203],[109,158,169,189,190,192],[109,158,191,192],[109,158,189,190],[109,158,192],[109,158,193],[109,155,158,189,194],[109,158,169,195,196],[109,158,195,196],[109,158,163,177,189,197],[109,158,198],[109,158,177,199],[109,158,172,183,200],[109,158,163,201],[109,158,189,202],[109,158,176,203],[109,158,204],[109,151,158],[109,158,169,171,180,189,192,200,202,203,205],[109,158,189,206],[91,109,158],[109,123,127,158,200],[109,123,158,189,200],[109,118,158],[109,120,123,158,197,200],[109,158,177,197],[109,158,207],[109,118,158,207],[109,120,123,158,177,200],[109,115,116,119,122,158,169,189,200],[109,123,130,158],[109,115,121,158],[109,123,144,145,158],[109,119,123,158,192,200,207],[109,144,158,207],[109,117,118,158,207],[109,123,158],[109,117,118,119,120,121,122,123,124,125,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,145,146,147,148,149,150,158],[109,123,138,158],[109,123,130,131,158],[109,121,123,131,132,158],[109,122,158],[109,115,118,123,158],[109,123,127,131,132,158],[109,127,158],[109,121,123,126,158,200],[109,115,120,123,130,158],[109,158,189],[109,118,123,144,158,205,207],[58,68,69,109,158],[58,68,69,71,109,158],[58,67,68,69,70,72,73,109,158],[58,67,68,109,158],[58,67,68,69,109,158],[58,67,68,71,75,78,109,158],[68,109,158],[58,68,71,76,77,109,158],[58,68,71,76,109,158],[58,68,74,79,99,109,158],[58,68,69,70,71,72,73,74,75,76,77,78,79,99,100,101,102,109,158],[90,98,109,158],[67,109,158],[60,109,158],[60,61,62,63,64,65,66,109,158],[59,109,158]],"fileInfos":[{"version":"e41c290ef7dd7dab3493e6cbe5909e0148edf4a8dad0271be08edec368a0f7b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"62bb211266ee48b2d0edf0d8d1b191f0c24fc379a82bd4c1692a082c540bc6b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"f1e2a172204962276504466a6393426d2ca9c54894b1ad0a6c9dad867a65f876","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"b5ce7a470bc3628408429040c4e3a53a27755022a32fd05e2cb694e7015386c7","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"d09a845fff01f9c4d834160e36fe8f23523743adc6f79113ee0d31a0f46d4d66","signature":"d5685b4a98ceacec0a45eb50fae6514fc6c2a3c12b7b876329ca6937414d0d4c","impliedFormat":99},{"version":"1ddd1ca692a6c656ade0a85c9a722b3679b3d0bf113b699908e0325cf3537dbe","impliedFormat":99},{"version":"1c45c0cd36427144bf788de5e5047825f4b33007ccf2842ba8f071f88c65745a","impliedFormat":99},{"version":"b5c4e5828cb4824e1ccb6cc77133f8978f1ff309f7432d47a8a9e0a475ce430f","impliedFormat":99},{"version":"a49f9258cf6e44efcb1438c03a15d97614ac15ca87a36ef79e68ad543b3df95d","impliedFormat":99},{"version":"893a3b3ac940daab19293ab7c263b0c9dab255d5a38e525c99876d089829514e","impliedFormat":99},{"version":"13b5d7c6770d510c0ce592f49e483dde921a581113d9b5ee72c04fdd213f9f3f","impliedFormat":99},{"version":"3f69d48f94aed50fa95537d3d6ef8ef209277e39473d084d6d8225d6d8a06343","impliedFormat":99},{"version":"4267e8deaca127eb366458660b2b02ea4bb7423a11b1fe4b602286f18a9c3e62","impliedFormat":99},{"version":"08fbbaf139bf1c22b44183f82578d25dfdd1b8f1b40040c67e24eec9e2d50e7b","impliedFormat":99},{"version":"f98bb10463810558a7a9733aa9e8f26534684174de8d486170620d2cc87b6605","signature":"189747d00698a18761676fe136537a210d643ce1210a86f5042e4a0b06b841fe","impliedFormat":99},{"version":"777dbcc22a0093be5e39302660e1852bb430998f73597781cd6bd60d244ef013","signature":"84bd01a2fc067becfa14defe142745bb69a7f1b5da7a59b70b3cba8e859b7dc2","impliedFormat":99},{"version":"0432dd25990832acd8f908ed610f2616f7c7950a6b19950cf83fef2819c914f6","signature":"95c7128d61ed7686df76fb6a9e59fe43c727567584c798e58687aff3be4d5dce","impliedFormat":99},{"version":"79f34c3c9dab23de4476b2aa4d0d6214a34318af7f6881a6a087ffce53148648","signature":"96ff73cfdaac7e88e18cdf40ca658e8ecc5d5252416f431793210fb7396bced4","impliedFormat":99},{"version":"ae3887d31059b48e3e79458897eeb5570a5df1792b5b2f05e2e6f2cc046a900e","signature":"fa5c042cbf8efb51df4747e553dd337ff6d70fa5912dc06b939403148a88b1b4","impliedFormat":99},{"version":"07703e6203fc801c0d39c7c3368fe093298cbb536102dd03205348b58ea39394","signature":"f595d3e777b6d71a798a4d157c095fb8ad2869f3f462f81ab8c463979381467b","impliedFormat":99},{"version":"be74f54bd9bd7516cc0c95f13c49c2090fdae29fcc60dcb3d03feb0439858d95","signature":"447a3e44902cfddbd3e2486c1c1ddec1b86711591d71525bda3fc330850cf830","impliedFormat":99},{"version":"31e9ffedb885ce5b52bbba7e083e7a58852b0fd2f21237f2be73fffb267f4a0a","signature":"5fa3b696036cb52ef64a9d3cb3a13d19750fdbe2d443c0a052a596f60b21a429","impliedFormat":99},{"version":"aafc9a6b6e426d1e00782f3d0f5865b16560b22b14d036a798e5c0bfe1e70257","signature":"fbfad1d6b9d361cde11f8fb1ddc8c4bb2683e0dc3008586f4dd0f5165e726774","impliedFormat":99},{"version":"9a9774a8b91c9d558ab39e82abbd9df17046e0f153fac4e20719551c743268cf","signature":"7bd7c97f92e05155d0848b26a5a03b4e5d642605bd3ea48674b7c7ef884d916e","impliedFormat":99},{"version":"4c62f0c0eb6d3328b67186343b59e216dc7fa5b45057dc590d2376235d02d402","signature":"2bd794d3e74c8f6034fadbc42fef6a10572ac8355e3fe34f338fb45e4d8f4550","impliedFormat":99},{"version":"88a9831e89466aeb700f1554a5cd7e455962f090ed9e936ce44f8d58a3944dca","signature":"29d884e1420a370a9e34cd5e9e5d6593000967464b4b275555be3e6823168b83","impliedFormat":99},{"version":"b0bf8f866d3c05dce6c2778455252391bbc3fa0e8c1675e78dcee8fab2e1dd96","impliedFormat":99},{"version":"cdb9aa7409622f2b54fbaa4c05badf6c18a4d6efa79883928f0c312d81844e0a","impliedFormat":99},{"version":"5d82e1ce7f42896df4695ef76ef13e1dce77507450134dbec4178e486929566e","impliedFormat":99},{"version":"0488374d4c4109d628436e850b24615bb321e737f642c81fde5f832e16461148","impliedFormat":99},{"version":"908901f3b23c77da2470d9081b1deb16f6dcc01cad792a0f91ba99e3eeb152cd","impliedFormat":99},{"version":"458f61b038ce1d3db7fc917139fb53e6037f6ab86bbecb3927afc2de60afcc2a","impliedFormat":99},{"version":"48f7bf3b39f234811d4b60817abf3fb4c056e6dd65a0293646afdec16bdc5df1","impliedFormat":99},{"version":"fdf613a6dbd67a2074a6812cc6042dd504bd95362a2baf37c3e217bf3a884418","impliedFormat":99},{"version":"675058f412cecd4e2c028e1a74aa34d5510ab03ed78dae712437890bb0aba6ba","impliedFormat":99},{"version":"cf6dc97686cc424e560bc9938f79964cccecd270ad144ac0ba85f2d8caa1115d","impliedFormat":99},{"version":"96a90b9e5a3b7f3bbd502d727c567fb79812882cead99f3d40bdec5e606aea4b","impliedFormat":99},{"version":"400bb49269c73740c04418c3739ddab3675428d51b203fc187c3fbf278511f24","impliedFormat":99},{"version":"600b2a7ea7d4c4d5b46a1ed665b06acb4826f53d8b84a65bb465a19555abe82b","impliedFormat":99},{"version":"0e73bd8526a821d92fcc9028bd8db6735a3505e3893dc1d5d2f3b64e91f6caf3","impliedFormat":99},{"version":"2d4b8aa99365233b93e768ca5d25b230577c0f058d3c563875d47248563a575d","impliedFormat":99},{"version":"c581b951e95ca0048794ccf228be5391c5de15d030b7484b8a49675aea856963","impliedFormat":99},{"version":"d0b265d94707b6415bd31f9cbef5df48f23be45a2db6372e6fbf3909586820f9","impliedFormat":99},{"version":"737c24c848da99ebdd63fd0894997d143adf0e6378f4abb802833d73cb7c99e5","impliedFormat":99},{"version":"ef1e1c11cfd5efaac8ce706dafe9ba7a6aedc6ae4ac4b04297eac7db6e91679a","impliedFormat":99},{"version":"ebc41d029e3d9ed7fdb5acaa525233c7e6ec5128cf13e484d7a120809bdbe2f8","signature":"a73a69fccd8d33732f9404f7d560867d7cc8008b8fae50ec0381ae54104108cb","impliedFormat":99},{"version":"66a62d4cc655b36ffa6ef1e7cf0ec8a65f3e3710bb320b88c503b7f45c430830","signature":"b25925967294a483f5890fae713bac1854ebea9cc40de3c46a54a5ee6d869764","impliedFormat":99},{"version":"938bbf974d8e37a6cc0a8cd42fe6030d7d2032fd645cd927ff56e8af2f2a0326","signature":"5341f7278097fe815c0dd82709cc17665fbd948c4636490ad47f2b1aac2a081b","impliedFormat":99},{"version":"61a5299ef36effe085c3c8ca559281abe11f9f29d00f54c2f09ec51bde8e61b1","signature":"2fbad8e9ae7a83b224263b97a4e7f57bb936915167cb00299eb457766f688cc0","impliedFormat":99},{"version":"1db7a8f00887f2d2d73c07e7a40d4a9b03e4f09cd797cea14d7cabed7c19baae","signature":"f5f708b1c0299572523775ff87d951fd6d50a19be59385ecbbcb2e06f2af2027","impliedFormat":99},{"version":"6c7176368037af28cb72f2392010fa1cef295d6d6744bca8cfb54985f3a18c3e","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true,"impliedFormat":1},{"version":"437e20f2ba32abaeb7985e0afe0002de1917bc74e949ba585e49feba65da6ca1","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"a79e62f1e20467e11a904399b8b18b18c0c6eea6b50c1168bf215356d5bebfaf","affectsGlobalScope":true,"impliedFormat":1},{"version":"d802f0e6b5188646d307f070d83512e8eb94651858de8a82d1e47f60fb6da4e2","affectsGlobalScope":true,"impliedFormat":1},{"version":"17bb4105d0ea2ab2bfcb4f77ff8585691d5569c90ae15f4fa8d5ff9fb42b910b","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"456fa0c0ab68731564917642b977c71c3b7682240685b118652fb9253c9a6429","affectsGlobalScope":true,"impliedFormat":1},{"version":"4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"2cbe0621042e2a68c7cbce5dfed3906a1862a16a7d496010636cdbdb91341c0f","affectsGlobalScope":true,"impliedFormat":1},{"version":"f9501cc13ce624c72b61f12b3963e84fad210fbdf0ffbc4590e08460a3f04eba","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"a38efe83ff77c34e0f418a806a01ca3910c02ee7d64212a59d59bca6c2c38fa1","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"2b06b93fd01bcd49d1a6bd1f9b65ddcae6480b9a86e9061634d6f8e354c1468f","impliedFormat":1},{"version":"7b988bc259155186e6b09dd8b32856d9e45c8d261e63c19abaf590bb6550f922","affectsGlobalScope":true,"impliedFormat":1},{"version":"fe7b52f993f9336b595190f3c1fcc259bb2cf6dcb4ac8fdb1e0454cc5df7301e","impliedFormat":1},{"version":"e9b97d69510658d2f4199b7d384326b7c4053b9e6645f5c19e1c2a54ede427fc","impliedFormat":1},{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"81711af669f63d43ccb4c08e15beda796656dd46673d0def001c7055db53852d","affectsGlobalScope":true,"impliedFormat":1},{"version":"19d5f8d3930e9f99aa2c36258bf95abbe5adf7e889e6181872d1cdba7c9a7dd5","impliedFormat":1},{"version":"9855e02d837744303391e5623a531734443a5f8e6e8755e018c41d63ad797db2","impliedFormat":1},{"version":"bdba81959361810be44bcfdd283f4d601e406ab5ad1d2bdff0ed480cf983c9d7","impliedFormat":1},{"version":"836a356aae992ff3c28a0212e3eabcb76dd4b0cc06bcb9607aeef560661b860d","impliedFormat":1},{"version":"1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393","impliedFormat":1},{"version":"b326f4813b90d230ec3950f66bd5b5ce3971aac5fac67cfafc54aa07b39fd07f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c8420c7c2b778b334587a4c0311833b5212ff2f684ea37b2f0e2b117f1d7210d","impliedFormat":1},{"version":"b6b08215821c9833b0e8e30ea1ed178009f2f3ff5d7fae3865ee42f97cc87784","impliedFormat":1},{"version":"9757d0daeeb72efec2c546ddcf6a237a821e57eb61c72e5bc8e6c22e968de63c","impliedFormat":1},{"version":"73cf6cc19f16c0191e4e9d497ab0c11c7b38f1ca3f01ad0f09a3a5a971aac4b8","impliedFormat":1},{"version":"528b62e4272e3ddfb50e8eed9e359dedea0a4d171c3eb8f337f4892aac37b24b","impliedFormat":1},{"version":"ed58b9974bb3114f39806c9c2c6258c4ffa6a255921976a7c53dfa94bf178f42","impliedFormat":1},{"version":"e6fa9ad47c5f71ff733744a029d1dc472c618de53804eae08ffc243b936f87ff","affectsGlobalScope":true,"impliedFormat":1},{"version":"f72bc8fe16da67e4e3268599295797b202b95e54bd215a03f97e925dd1502a36","impliedFormat":1},{"version":"b1b6ee0d012aeebe11d776a155d8979730440082797695fc8e2a5c326285678f","impliedFormat":1},{"version":"45875bcae57270aeb3ebc73a5e3fb4c7b9d91d6b045f107c1d8513c28ece71c0","impliedFormat":1},{"version":"915e18c559321c0afaa8d34674d3eb77e1ded12c3e85bf2a9891ec48b07a1ca5","affectsGlobalScope":true,"impliedFormat":1},{"version":"e9727a118ce60808e62457c89762fe5a4e2be8e9fd0112d12432d1bafdba942f","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","impliedFormat":1},{"version":"933921f0bb0ec12ef45d1062a1fc0f27635318f4d294e4d99de9a5493e618ca2","impliedFormat":1},{"version":"71a0f3ad612c123b57239a7749770017ecfe6b66411488000aba83e4546fde25","impliedFormat":1},{"version":"70b57b5529051497e9f6482b76d91c0dcbb103d9ead8a0549f5bab8f65e5d031","impliedFormat":1},{"version":"4f9d8ca0c417b67b69eeb54c7ca1bedd7b56034bb9bfd27c5d4f3bc4692daca7","impliedFormat":1},{"version":"814118df420c4e38fe5ae1b9a3bafb6e9c2aa40838e528cde908381867be6466","impliedFormat":1},{"version":"3a90b9beac4c2bfdf6517faae0940a042b81652badf747df0a7c7593456f6ebe","impliedFormat":1},{"version":"8302157cd431b3943eed09ad439b4441826c673d9f870dcb0e1f48e891a4211e","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"125d792ec6c0c0f657d758055c494301cc5fdb327d9d9d5960b3f129aff76093","impliedFormat":1},{"version":"dba28a419aec76ed864ef43e5f577a5c99a010c32e5949fe4e17a4d57c58dd11","affectsGlobalScope":true,"impliedFormat":1},{"version":"2754d8221d77c7b382096651925eb476f1066b3348da4b73fe71ced7801edada","impliedFormat":1},{"version":"a5890565ed564c7b29eb1b1038d4e10c03a3f5231b0a8d48fea4b41ab19f4f46","impliedFormat":1},{"version":"f0be1b8078cd549d91f37c30c222c2a187ac1cf981d994fb476a1adc61387b14","affectsGlobalScope":true,"impliedFormat":1},{"version":"0aaed1d72199b01234152f7a60046bc947f1f37d78d182e9ae09c4289e06a592","impliedFormat":1},{"version":"98ffdf93dfdd206516971d28e3e473f417a5cfd41172e46b4ce45008f640588e","impliedFormat":1},{"version":"66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","impliedFormat":1},{"version":"7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4","impliedFormat":1},{"version":"cee74f5970ffc01041e5bffc3f324c20450534af4054d2c043cb49dbbd4ec8f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"1a654e0d950353614ba4637a8de4f9d367903a0692b748e11fccf8c880c99735","affectsGlobalScope":true,"impliedFormat":1},{"version":"42da246c46ca3fd421b6fd88bb4466cda7137cf33e87ba5ceeded30219c428bd","impliedFormat":1},{"version":"3a051941721a7f905544732b0eb819c8d88333a96576b13af08b82c4f17581e4","impliedFormat":1},{"version":"ac5ed35e649cdd8143131964336ab9076937fa91802ec760b3ea63b59175c10a","impliedFormat":1},{"version":"3006130eae582d9bc732ab302ac25bbd86777dbac3a9eece81a2c77570f65e9b","affectsGlobalScope":true,"impliedFormat":1},{"version":"db3d77167a7da6c5ba0c51c5b654820e3464093f21724ccd774c0b9bc3f81bc0","impliedFormat":1},{"version":"bdf1feb266c87edbee61f12ceaaef60ab0e2e5dba70ca19360b6448911c53d52","impliedFormat":1}],"root":[58,[68,79],[99,103]],"options":{"composite":true,"declaration":true,"declarationDir":"./types","declarationMap":true,"esModuleInterop":true,"module":199,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"outDir":"./esm","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9,"tsBuildInfoFile":"./.tsbuildinfo","verbatimModuleSyntax":true},"referencedMap":[[85,1],[83,2],[86,3],[82,4],[84,3],[87,5],[81,6],[88,6],[89,7],[80,4],[91,4],[59,4],[98,8],[95,9],[93,10],[94,11],[96,12],[90,13],[97,14],[155,15],[156,15],[157,16],[109,17],[158,18],[159,19],[160,20],[104,4],[107,21],[105,4],[106,4],[161,22],[162,23],[163,24],[164,25],[165,26],[166,27],[167,27],[168,28],[169,29],[170,30],[171,31],[110,4],[108,4],[172,32],[173,33],[174,34],[207,35],[175,36],[176,37],[177,38],[178,39],[179,40],[180,41],[181,42],[182,43],[183,44],[184,45],[185,45],[186,46],[187,4],[188,4],[189,47],[191,48],[190,49],[192,50],[193,51],[194,52],[195,53],[196,54],[197,55],[198,56],[199,57],[200,58],[201,59],[202,60],[203,61],[204,62],[111,4],[112,4],[113,4],[152,63],[153,4],[154,4],[205,64],[206,65],[114,4],[92,66],[56,4],[57,4],[11,4],[10,4],[2,4],[12,4],[13,4],[14,4],[15,4],[16,4],[17,4],[18,4],[19,4],[3,4],[20,4],[21,4],[4,4],[22,4],[26,4],[23,4],[24,4],[25,4],[27,4],[28,4],[29,4],[5,4],[30,4],[31,4],[32,4],[33,4],[6,4],[37,4],[34,4],[35,4],[36,4],[38,4],[7,4],[39,4],[44,4],[45,4],[40,4],[41,4],[42,4],[43,4],[8,4],[49,4],[46,4],[47,4],[48,4],[50,4],[9,4],[51,4],[52,4],[53,4],[55,4],[54,4],[1,4],[130,67],[140,68],[129,67],[150,69],[121,70],[120,71],[149,72],[143,73],[148,74],[123,75],[137,76],[122,77],[146,78],[118,79],[117,72],[147,80],[119,81],[124,82],[125,4],[128,82],[115,4],[151,83],[141,84],[132,85],[133,86],[135,87],[131,88],[134,89],[144,72],[126,90],[127,91],[136,92],[116,93],[139,84],[138,82],[142,4],[145,94],[58,4],[70,95],[72,96],[74,97],[69,98],[73,99],[79,100],[75,101],[78,102],[77,103],[76,4],[100,104],[101,4],[71,4],[102,4],[103,105],[99,106],[68,107],[61,108],[62,4],[67,109],[63,108],[60,110],[64,4],[65,108],[66,4]],"latestChangedDtsFile":"./types/index.d.ts","version":"5.7.3"}
|
|
@@ -58,9 +58,18 @@ class JsonRpcProtocol {
|
|
|
58
58
|
console.error(`Invalid URL in Bitcoin RPC config: ${url}`, error);
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
+
// Target a named wallet's RPCs when configured: Bitcoin Core exposes
|
|
62
|
+
// per-wallet RPC methods under the `/wallet/<name>` URL path.
|
|
63
|
+
if (cfg.wallet) {
|
|
64
|
+
url = `${url}/wallet/${encodeURIComponent(cfg.wallet)}`;
|
|
65
|
+
}
|
|
61
66
|
this.url = url;
|
|
62
67
|
this.hasAuth = authHeader !== undefined;
|
|
68
|
+
// Configured headers come first, so a custom or bearer header reaches an
|
|
69
|
+
// authenticated or proxied endpoint; the fixed Content-Type and the derived
|
|
70
|
+
// Basic Authorization header take precedence over any same-named entry.
|
|
63
71
|
this._headers = {
|
|
72
|
+
...cfg.headers,
|
|
64
73
|
'Content-Type': 'application/json',
|
|
65
74
|
...(authHeader ? { Authorization: authHeader } : {}),
|
|
66
75
|
};
|
package/dist/cjs/connection.js
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BitcoinConnection = void 0;
|
|
4
|
-
const common_1 = require("@did-btcr2/common");
|
|
5
4
|
const index_js_1 = require("./client/rest/index.js");
|
|
6
5
|
const index_js_2 = require("./client/rpc/index.js");
|
|
7
6
|
const network_js_1 = require("./network.js");
|
|
8
|
-
const constants_js_1 = require("./constants.js");
|
|
9
7
|
/**
|
|
10
8
|
* Represents a connection to a single Bitcoin network.
|
|
11
9
|
* Holds the REST and optional RPC clients for that network.
|
|
@@ -15,13 +13,19 @@ const constants_js_1 = require("./constants.js");
|
|
|
15
13
|
* executed via the global `fetch` function. Supply a custom
|
|
16
14
|
* {@link HttpExecutor} to use any HTTP client.
|
|
17
15
|
*
|
|
16
|
+
* Endpoints are explicit: this transport layer holds no service URLs. Callers
|
|
17
|
+
* supply the REST host (and optional RPC) themselves, or use the SDK facade
|
|
18
|
+
* ({@link https://github.com/dcdpr/did-btcr2-js/tree/main/packages/api | @did-btcr2/api}),
|
|
19
|
+
* which carries per-network convenience defaults.
|
|
20
|
+
*
|
|
18
21
|
* @example
|
|
19
22
|
* ```ts
|
|
20
|
-
* //
|
|
21
|
-
* const btc = BitcoinConnection
|
|
23
|
+
* // Explicit endpoint (uses the global fetch executor by default)
|
|
24
|
+
* const btc = new BitcoinConnection({ network: 'regtest', rest: { host: 'http://localhost:3000' } });
|
|
22
25
|
*
|
|
23
26
|
* // With a custom HTTP executor
|
|
24
|
-
* const btc = BitcoinConnection
|
|
27
|
+
* const btc = new BitcoinConnection({
|
|
28
|
+
* network: 'testnet4',
|
|
25
29
|
* rest: { host: 'https://my-mempool/api' },
|
|
26
30
|
* executor: myCustomExecutor,
|
|
27
31
|
* });
|
|
@@ -50,32 +54,6 @@ class BitcoinConnection {
|
|
|
50
54
|
this.rpc = options.rpc ? new index_js_2.BitcoinCoreRpcClient(options.rpc, options.executor) : undefined;
|
|
51
55
|
this.data = (0, network_js_1.getNetwork)(options.network);
|
|
52
56
|
}
|
|
53
|
-
/**
|
|
54
|
-
* Create a connection for a single network with optional REST/RPC endpoint overrides.
|
|
55
|
-
* Merges overrides on top of defaults from DEFAULT_BITCOIN_NETWORK_CONFIG.
|
|
56
|
-
* Does not read environment variables.
|
|
57
|
-
*
|
|
58
|
-
* @param network The network name (e.g., 'regtest', 'testnet4', 'bitcoin').
|
|
59
|
-
* @param overrides Optional endpoint and executor overrides.
|
|
60
|
-
* @returns A BitcoinConnection for the requested network.
|
|
61
|
-
*/
|
|
62
|
-
static forNetwork(network, overrides) {
|
|
63
|
-
const defaults = constants_js_1.DEFAULT_BITCOIN_NETWORK_CONFIG[network];
|
|
64
|
-
if (!defaults) {
|
|
65
|
-
throw new common_1.MethodError(`Unknown network '${network}'. Available: bitcoin, testnet3, testnet4, signet, mutinynet, regtest`, 'UNKNOWN_NETWORK', { network });
|
|
66
|
-
}
|
|
67
|
-
const restCfg = { ...defaults.rest, ...overrides?.rest };
|
|
68
|
-
const hasRpc = defaults.rpc !== undefined || overrides?.rpc !== undefined;
|
|
69
|
-
const rpcCfg = hasRpc
|
|
70
|
-
? { ...defaults.rpc, ...overrides?.rpc }
|
|
71
|
-
: undefined;
|
|
72
|
-
return new BitcoinConnection({
|
|
73
|
-
network,
|
|
74
|
-
rest: restCfg,
|
|
75
|
-
rpc: rpcCfg,
|
|
76
|
-
executor: overrides?.executor,
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
57
|
/**
|
|
80
58
|
* Converts Bitcoin (BTC) to satoshis.
|
|
81
59
|
* Uses string-based arithmetic to avoid floating-point precision errors.
|
package/dist/cjs/constants.js
CHANGED
|
@@ -1,54 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.GENESIS_TX_ID = exports.TXIN_WITNESS_COINBASE = exports.DEFAULT_BLOCK_CONFIRMATIONS = exports.COINBASE_MATURITY_DELAY = exports.HALVING_INTERVAL = exports.INITIAL_BLOCK_REWARD = void 0;
|
|
4
4
|
exports.INITIAL_BLOCK_REWARD = 50;
|
|
5
5
|
exports.HALVING_INTERVAL = 150;
|
|
6
6
|
exports.COINBASE_MATURITY_DELAY = 100;
|
|
7
7
|
exports.DEFAULT_BLOCK_CONFIRMATIONS = 7;
|
|
8
8
|
exports.TXIN_WITNESS_COINBASE = '0000000000000000000000000000000000000000000000000000000000000000';
|
|
9
9
|
exports.GENESIS_TX_ID = '4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b';
|
|
10
|
-
/**
|
|
11
|
-
* Default endpoint configuration per Bitcoin network.
|
|
12
|
-
*
|
|
13
|
-
* **Regtest RPC:** Credentials are intentionally omitted - callers must
|
|
14
|
-
* provide `username` and `password` via overrides or explicit config.
|
|
15
|
-
* This prevents accidentally using hardcoded credentials in non-local
|
|
16
|
-
* environments.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```ts
|
|
20
|
-
* // Provide credentials explicitly
|
|
21
|
-
* BitcoinConnection.forNetwork('regtest', {
|
|
22
|
-
* rpc: { username: 'polaruser', password: 'polarpass' },
|
|
23
|
-
* });
|
|
24
|
-
* ```
|
|
25
|
-
*/
|
|
26
|
-
exports.DEFAULT_BITCOIN_NETWORK_CONFIG = {
|
|
27
|
-
bitcoin: {
|
|
28
|
-
rpc: undefined,
|
|
29
|
-
rest: { host: 'https://mempool.space/api' }
|
|
30
|
-
},
|
|
31
|
-
testnet3: {
|
|
32
|
-
rpc: undefined,
|
|
33
|
-
rest: { host: 'https://mempool.space/testnet/api' }
|
|
34
|
-
},
|
|
35
|
-
testnet4: {
|
|
36
|
-
rpc: undefined,
|
|
37
|
-
rest: { host: 'https://mempool.space/testnet4/api' }
|
|
38
|
-
},
|
|
39
|
-
signet: {
|
|
40
|
-
rpc: undefined,
|
|
41
|
-
rest: { host: 'https://mempool.space/signet/api' }
|
|
42
|
-
},
|
|
43
|
-
mutinynet: {
|
|
44
|
-
rpc: undefined,
|
|
45
|
-
rest: { host: 'https://mutinynet.com/api' }
|
|
46
|
-
},
|
|
47
|
-
regtest: {
|
|
48
|
-
rpc: {
|
|
49
|
-
host: 'http://localhost:18443',
|
|
50
|
-
allowDefaultWallet: true,
|
|
51
|
-
},
|
|
52
|
-
rest: { host: 'http://localhost:3000' }
|
|
53
|
-
},
|
|
54
|
-
};
|
package/dist/cjs/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VerbosityLevel = exports.GENESIS_TX_ID = exports.TXIN_WITNESS_COINBASE = exports.DEFAULT_BLOCK_CONFIRMATIONS = exports.COINBASE_MATURITY_DELAY = exports.HALVING_INTERVAL = exports.INITIAL_BLOCK_REWARD = exports.
|
|
3
|
+
exports.VerbosityLevel = exports.GENESIS_TX_ID = exports.TXIN_WITNESS_COINBASE = exports.DEFAULT_BLOCK_CONFIRMATIONS = exports.COINBASE_MATURITY_DELAY = exports.HALVING_INTERVAL = exports.INITIAL_BLOCK_REWARD = exports.safeText = exports.toBase64 = exports.getNetwork = exports.StaticFeeEstimator = exports.BitcoinRestError = exports.BitcoinRpcError = exports.JsonRpcTransport = exports.BitcoinTransaction = exports.BitcoinBlock = exports.BitcoinAddress = exports.BitcoinCoreRpcClient = exports.BitcoinRestClient = exports.JsonRpcProtocol = exports.EsploraProtocol = exports.defaultHttpExecutor = exports.BitcoinConnection = void 0;
|
|
4
4
|
// Core
|
|
5
5
|
var connection_js_1 = require("./connection.js");
|
|
6
6
|
Object.defineProperty(exports, "BitcoinConnection", { enumerable: true, get: function () { return connection_js_1.BitcoinConnection; } });
|
|
@@ -39,7 +39,6 @@ Object.defineProperty(exports, "toBase64", { enumerable: true, get: function ()
|
|
|
39
39
|
Object.defineProperty(exports, "safeText", { enumerable: true, get: function () { return utils_js_1.safeText; } });
|
|
40
40
|
// Constants
|
|
41
41
|
var constants_js_1 = require("./constants.js");
|
|
42
|
-
Object.defineProperty(exports, "DEFAULT_BITCOIN_NETWORK_CONFIG", { enumerable: true, get: function () { return constants_js_1.DEFAULT_BITCOIN_NETWORK_CONFIG; } });
|
|
43
42
|
Object.defineProperty(exports, "INITIAL_BLOCK_REWARD", { enumerable: true, get: function () { return constants_js_1.INITIAL_BLOCK_REWARD; } });
|
|
44
43
|
Object.defineProperty(exports, "HALVING_INTERVAL", { enumerable: true, get: function () { return constants_js_1.HALVING_INTERVAL; } });
|
|
45
44
|
Object.defineProperty(exports, "COINBASE_MATURITY_DELAY", { enumerable: true, get: function () { return constants_js_1.COINBASE_MATURITY_DELAY; } });
|
|
@@ -55,9 +55,18 @@ export class JsonRpcProtocol {
|
|
|
55
55
|
console.error(`Invalid URL in Bitcoin RPC config: ${url}`, error);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
+
// Target a named wallet's RPCs when configured: Bitcoin Core exposes
|
|
59
|
+
// per-wallet RPC methods under the `/wallet/<name>` URL path.
|
|
60
|
+
if (cfg.wallet) {
|
|
61
|
+
url = `${url}/wallet/${encodeURIComponent(cfg.wallet)}`;
|
|
62
|
+
}
|
|
58
63
|
this.url = url;
|
|
59
64
|
this.hasAuth = authHeader !== undefined;
|
|
65
|
+
// Configured headers come first, so a custom or bearer header reaches an
|
|
66
|
+
// authenticated or proxied endpoint; the fixed Content-Type and the derived
|
|
67
|
+
// Basic Authorization header take precedence over any same-named entry.
|
|
60
68
|
this._headers = {
|
|
69
|
+
...cfg.headers,
|
|
61
70
|
'Content-Type': 'application/json',
|
|
62
71
|
...(authHeader ? { Authorization: authHeader } : {}),
|
|
63
72
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protocol.js","sourceRoot":"","sources":["../../../../src/client/rpc/protocol.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAGlD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAM,OAAO,eAAe;IACjB,GAAG,CAAS;IAErB,iEAAiE;IACxD,OAAO,CAAU;IAET,QAAQ,CAAyB;IAC1C,GAAG,GAAG,CAAC,CAAC;IAEhB,YAAY,GAAc;QACxB,IAAI,GAAG,GAAG,CAAC,GAAG,CAAC,IAAI,IAAI,uBAAuB,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QACpE,IAAI,UAA8B,CAAC;QAEnC,IAAI,GAAG,CAAC,QAAQ,IAAI,GAAG,CAAC,QAAQ,EAAE,CAAC;YACjC,UAAU,GAAG,SAAS,QAAQ,CAAC,GAAG,GAAG,CAAC,QAAQ,IAAI,GAAG,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAC;QACtE,CAAC;aAAM,CAAC;YAC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;OAGG;IACH,kBAAkB,CAChB,QAA4F,EAC5F,KAAmD;QAEnD,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;QACnD,qEAAqE;QACrE,uDAAuD;QACvD,MAAM,OAAO,GAAG,IAAI,CAAC,GAAG,GAAG,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC;QAE5C,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE;YAC3B,MAAM,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC;YACtC,IAAI,CAAC,OAAO,EAAE,CAAC;gBACb,MAAM,IAAI,eAAe,CACvB,WAAW,EACX,CAAC,CAAC,EACF,mCAAmC,IAAI,CAAC,MAAM,QAAQ,OAAO,GAAG,CAAC,GAAG,EACpE,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,CACxB,CAAC;YACJ,CAAC;YACD,OAAO,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;QAClD,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;;OAGG;IACH,eAAe;QACb,MAAM,IAAI,GAAG,EAAE,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC;QAClC,IAAI,IAAI,CAAC,aAAa,EAAE,CAAC;YACvB,IAAI,CAAC,aAAa,GAAG,kBAAkB,CAAC;QAC1C,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;CACF"}
|
package/dist/esm/connection.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { MethodError } from '@did-btcr2/common';
|
|
2
1
|
import { BitcoinRestClient } from './client/rest/index.js';
|
|
3
2
|
import { BitcoinCoreRpcClient } from './client/rpc/index.js';
|
|
4
3
|
import { getNetwork } from './network.js';
|
|
5
|
-
import { DEFAULT_BITCOIN_NETWORK_CONFIG } from './constants.js';
|
|
6
4
|
/**
|
|
7
5
|
* Represents a connection to a single Bitcoin network.
|
|
8
6
|
* Holds the REST and optional RPC clients for that network.
|
|
@@ -12,13 +10,19 @@ import { DEFAULT_BITCOIN_NETWORK_CONFIG } from './constants.js';
|
|
|
12
10
|
* executed via the global `fetch` function. Supply a custom
|
|
13
11
|
* {@link HttpExecutor} to use any HTTP client.
|
|
14
12
|
*
|
|
13
|
+
* Endpoints are explicit: this transport layer holds no service URLs. Callers
|
|
14
|
+
* supply the REST host (and optional RPC) themselves, or use the SDK facade
|
|
15
|
+
* ({@link https://github.com/dcdpr/did-btcr2-js/tree/main/packages/api | @did-btcr2/api}),
|
|
16
|
+
* which carries per-network convenience defaults.
|
|
17
|
+
*
|
|
15
18
|
* @example
|
|
16
19
|
* ```ts
|
|
17
|
-
* //
|
|
18
|
-
* const btc = BitcoinConnection
|
|
20
|
+
* // Explicit endpoint (uses the global fetch executor by default)
|
|
21
|
+
* const btc = new BitcoinConnection({ network: 'regtest', rest: { host: 'http://localhost:3000' } });
|
|
19
22
|
*
|
|
20
23
|
* // With a custom HTTP executor
|
|
21
|
-
* const btc = BitcoinConnection
|
|
24
|
+
* const btc = new BitcoinConnection({
|
|
25
|
+
* network: 'testnet4',
|
|
22
26
|
* rest: { host: 'https://my-mempool/api' },
|
|
23
27
|
* executor: myCustomExecutor,
|
|
24
28
|
* });
|
|
@@ -47,32 +51,6 @@ export class BitcoinConnection {
|
|
|
47
51
|
this.rpc = options.rpc ? new BitcoinCoreRpcClient(options.rpc, options.executor) : undefined;
|
|
48
52
|
this.data = getNetwork(options.network);
|
|
49
53
|
}
|
|
50
|
-
/**
|
|
51
|
-
* Create a connection for a single network with optional REST/RPC endpoint overrides.
|
|
52
|
-
* Merges overrides on top of defaults from DEFAULT_BITCOIN_NETWORK_CONFIG.
|
|
53
|
-
* Does not read environment variables.
|
|
54
|
-
*
|
|
55
|
-
* @param network The network name (e.g., 'regtest', 'testnet4', 'bitcoin').
|
|
56
|
-
* @param overrides Optional endpoint and executor overrides.
|
|
57
|
-
* @returns A BitcoinConnection for the requested network.
|
|
58
|
-
*/
|
|
59
|
-
static forNetwork(network, overrides) {
|
|
60
|
-
const defaults = DEFAULT_BITCOIN_NETWORK_CONFIG[network];
|
|
61
|
-
if (!defaults) {
|
|
62
|
-
throw new MethodError(`Unknown network '${network}'. Available: bitcoin, testnet3, testnet4, signet, mutinynet, regtest`, 'UNKNOWN_NETWORK', { network });
|
|
63
|
-
}
|
|
64
|
-
const restCfg = { ...defaults.rest, ...overrides?.rest };
|
|
65
|
-
const hasRpc = defaults.rpc !== undefined || overrides?.rpc !== undefined;
|
|
66
|
-
const rpcCfg = hasRpc
|
|
67
|
-
? { ...defaults.rpc, ...overrides?.rpc }
|
|
68
|
-
: undefined;
|
|
69
|
-
return new BitcoinConnection({
|
|
70
|
-
network,
|
|
71
|
-
rest: restCfg,
|
|
72
|
-
rpc: rpcCfg,
|
|
73
|
-
executor: overrides?.executor,
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
54
|
/**
|
|
77
55
|
* Converts Bitcoin (BTC) to satoshis.
|
|
78
56
|
* Uses string-based arithmetic to avoid floating-point precision errors.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connection.js","sourceRoot":"","sources":["../../src/connection.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"connection.js","sourceRoot":"","sources":["../../src/connection.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE7D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAc1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAM,OAAO,iBAAiB;IAC5B,2CAA2C;IAClC,IAAI,CAAc;IAE3B,iCAAi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,CAAC,KAAK,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC;QACpC,MAAM,IAAI,GAAG,GAAG,GAAG,GAAG,CAAC;QACvB,MAAM,MAAM,GAAG,MAAM,CAAC,GAAG,KAAK,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC;QACtE,OAAO,QAAQ,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC;IACrC,CAAC;CACF"}
|
package/dist/esm/constants.js
CHANGED
|
@@ -4,49 +4,4 @@ export const COINBASE_MATURITY_DELAY = 100;
|
|
|
4
4
|
export const DEFAULT_BLOCK_CONFIRMATIONS = 7;
|
|
5
5
|
export const TXIN_WITNESS_COINBASE = '0000000000000000000000000000000000000000000000000000000000000000';
|
|
6
6
|
export const GENESIS_TX_ID = '4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b';
|
|
7
|
-
/**
|
|
8
|
-
* Default endpoint configuration per Bitcoin network.
|
|
9
|
-
*
|
|
10
|
-
* **Regtest RPC:** Credentials are intentionally omitted - callers must
|
|
11
|
-
* provide `username` and `password` via overrides or explicit config.
|
|
12
|
-
* This prevents accidentally using hardcoded credentials in non-local
|
|
13
|
-
* environments.
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```ts
|
|
17
|
-
* // Provide credentials explicitly
|
|
18
|
-
* BitcoinConnection.forNetwork('regtest', {
|
|
19
|
-
* rpc: { username: 'polaruser', password: 'polarpass' },
|
|
20
|
-
* });
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
export const DEFAULT_BITCOIN_NETWORK_CONFIG = {
|
|
24
|
-
bitcoin: {
|
|
25
|
-
rpc: undefined,
|
|
26
|
-
rest: { host: 'https://mempool.space/api' }
|
|
27
|
-
},
|
|
28
|
-
testnet3: {
|
|
29
|
-
rpc: undefined,
|
|
30
|
-
rest: { host: 'https://mempool.space/testnet/api' }
|
|
31
|
-
},
|
|
32
|
-
testnet4: {
|
|
33
|
-
rpc: undefined,
|
|
34
|
-
rest: { host: 'https://mempool.space/testnet4/api' }
|
|
35
|
-
},
|
|
36
|
-
signet: {
|
|
37
|
-
rpc: undefined,
|
|
38
|
-
rest: { host: 'https://mempool.space/signet/api' }
|
|
39
|
-
},
|
|
40
|
-
mutinynet: {
|
|
41
|
-
rpc: undefined,
|
|
42
|
-
rest: { host: 'https://mutinynet.com/api' }
|
|
43
|
-
},
|
|
44
|
-
regtest: {
|
|
45
|
-
rpc: {
|
|
46
|
-
host: 'http://localhost:18443',
|
|
47
|
-
allowDefaultWallet: true,
|
|
48
|
-
},
|
|
49
|
-
rest: { host: 'http://localhost:3000' }
|
|
50
|
-
},
|
|
51
|
-
};
|
|
52
7
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAAE,CAAC;AACvC,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAC;AACpC,MAAM,CAAC,MAAM,uBAAuB,GAAG,GAAG,CAAC;AAC3C,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC;AAC7C,MAAM,CAAC,MAAM,qBAAqB,GAAG,kEAAkE,CAAC;AACxG,MAAM,CAAC,MAAM,aAAa,GAAG,kEAAkE,CAAC
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAAE,CAAC;AACvC,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAC;AACpC,MAAM,CAAC,MAAM,uBAAuB,GAAG,GAAG,CAAC;AAC3C,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC;AAC7C,MAAM,CAAC,MAAM,qBAAqB,GAAG,kEAAkE,CAAC;AACxG,MAAM,CAAC,MAAM,aAAa,GAAG,kEAAkE,CAAC"}
|
package/dist/esm/index.js
CHANGED
|
@@ -19,6 +19,6 @@ export { StaticFeeEstimator } from './fee-estimator.js';
|
|
|
19
19
|
export { getNetwork } from './network.js';
|
|
20
20
|
export { toBase64, safeText } from './client/utils.js';
|
|
21
21
|
// Constants
|
|
22
|
-
export {
|
|
22
|
+
export { INITIAL_BLOCK_REWARD, HALVING_INTERVAL, COINBASE_MATURITY_DELAY, DEFAULT_BLOCK_CONFIRMATIONS, TXIN_WITNESS_COINBASE, GENESIS_TX_ID, } from './constants.js';
|
|
23
23
|
export { VerbosityLevel } from './types.js';
|
|
24
24
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO;AACP,OAAO,EAAE,iBAAiB,EAAiC,MAAM,iBAAiB,CAAC;AAInF,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE3D,2DAA2D;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAI7D,iEAAiE;AACjE,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAE5D,SAAS;AACT,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,aAAa,C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qB,EACrB,aAAa,GACd,MAAM,gBAAgB,CAAC;AA0CxB,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC"}
|
package/dist/esm/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AA2BC,CAAC;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AA2BC,CAAC;AA0ND,CAAC;AAKD,CAAC;AA4FF;;;GAGG;AACH,MAAM,CAAN,IAAY,cASX;AATD,WAAY,cAAc;IACxB,4CAA4C;IAC5C,iDAAO,CAAA;IACP,wCAAwC;IACxC,mDAAQ,CAAA;IACR,6DAA6D;IAC7D,yDAAW,CAAA;IACX,2EAA2E;IAC3E,iEAAe,CAAA;AACjB,CAAC,EATW,cAAc,KAAd,cAAc,QASzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protocol.d.ts","sourceRoot":"","sources":["../../../../src/client/rpc/protocol.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAG9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,qBAAa,eAAe;IAC1B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IAErB,iEAAiE;IACjE,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAE1B,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAyB;IAClD,OAAO,CAAC,GAAG,CAAK;gBAEJ,GAAG,EAAE,SAAS;
|
|
1
|
+
{"version":3,"file":"protocol.d.ts","sourceRoot":"","sources":["../../../../src/client/rpc/protocol.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,EAAE,WA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ionOptions = {
|
|
|
22
22
|
* executed via the global `fetch` function. Supply a custom
|
|
23
23
|
* {@link HttpExecutor} to use any HTTP client.
|
|
24
24
|
*
|
|
25
|
+
* Endpoints are explicit: this transport layer holds no service URLs. Callers
|
|
26
|
+
* supply the REST host (and optional RPC) themselves, or use the SDK facade
|
|
27
|
+
* ({@link https://github.com/dcdpr/did-btcr2-js/tree/main/packages/api | @did-btcr2/api}),
|
|
28
|
+
* which carries per-network convenience defaults.
|
|
29
|
+
*
|
|
25
30
|
* @example
|
|
26
31
|
* ```ts
|
|
27
|
-
* //
|
|
28
|
-
* const btc = BitcoinConnection
|
|
32
|
+
* // Explicit endpoint (uses the global fetch executor by default)
|
|
33
|
+
* const btc = new BitcoinConnection({ network: 'regtest', rest: { host: 'http://localhost:3000' } });
|
|
29
34
|
*
|
|
30
35
|
* // With a custom HTTP executor
|
|
31
|
-
* const btc = BitcoinConnection
|
|
36
|
+
* const btc = new BitcoinConnection({
|
|
37
|
+
* network: 'testnet4',
|
|
32
38
|
* rest: { host: 'https://my-mempool/api' },
|
|
33
39
|
* executor: myCustomExecutor,
|
|
34
40
|
* });
|
|
@@ -52,20 +58,6 @@ export declare class BitcoinConnection {
|
|
|
52
58
|
/** Bitcoin network params (for address derivation, PSBT signing, etc.). */
|
|
53
59
|
readonly data: BTCNetwork;
|
|
54
60
|
constructor(options: BitcoinConnectionOptions);
|
|
55
|
-
/**
|
|
56
|
-
* Create a connection for a single network with optional REST/RPC endpoint overrides.
|
|
57
|
-
* Merges overrides on top of defaults from DEFAULT_BITCOIN_NETWORK_CONFIG.
|
|
58
|
-
* Does not read environment variables.
|
|
59
|
-
*
|
|
60
|
-
* @param network The network name (e.g., 'regtest', 'testnet4', 'bitcoin').
|
|
61
|
-
* @param overrides Optional endpoint and executor overrides.
|
|
62
|
-
* @returns A BitcoinConnection for the requested network.
|
|
63
|
-
*/
|
|
64
|
-
static forNetwork(network: NetworkName, overrides?: {
|
|
65
|
-
rest?: Partial<RestConfig>;
|
|
66
|
-
rpc?: RpcConfig;
|
|
67
|
-
executor?: HttpExecutor;
|
|
68
|
-
}): BitcoinConnection;
|
|
69
61
|
/**
|
|
70
62
|
* Converts Bitcoin (BTC) to satoshis.
|
|
71
63
|
* Uses string-based arithmetic to avoid floating-point precision errors.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connection.d.ts","sourceRoot":"","sources":["../../src/connection.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"connection.d.ts","sourceRoot":"","sources":["../../src/connection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,EAAE,UAAU,CAAC;IACjB,GAAG,CAAC,EAAE,SAAS,CAAC;IAChB,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,YAAY,CAAC;CACzB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,qBAAa,iBAAiB;IAC5B,2CAA2C;IAC3C,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAE3B,iCAAiC;IACjC,QAAQ,CAAC,IAAI,EAAE,iBAAiB,CAAC;IAEjC,qEAAqE;IACrE,QAAQ,CAAC,GAAG,CAAC,EAAE,oBAAoB,CAAC;IAEpC,2EAA2E;IAC3E,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;gBAEd,OAAO,EAAE,wBAAwB;IAO7C;;;;OAIG;IACH,MAAM,CAAC,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;IAUrC;;;;OAIG;IACH,MAAM,CAAC,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;CAQvC"}
|
|
@@ -4,61 +4,4 @@ export declare const COINBASE_MATURITY_DELAY = 100;
|
|
|
4
4
|
export declare const DEFAULT_BLOCK_CONFIRMATIONS = 7;
|
|
5
5
|
export declare const TXIN_WITNESS_COINBASE = "0000000000000000000000000000000000000000000000000000000000000000";
|
|
6
6
|
export declare const GENESIS_TX_ID = "4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b";
|
|
7
|
-
/**
|
|
8
|
-
* Default endpoint configuration per Bitcoin network.
|
|
9
|
-
*
|
|
10
|
-
* **Regtest RPC:** Credentials are intentionally omitted - callers must
|
|
11
|
-
* provide `username` and `password` via overrides or explicit config.
|
|
12
|
-
* This prevents accidentally using hardcoded credentials in non-local
|
|
13
|
-
* environments.
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```ts
|
|
17
|
-
* // Provide credentials explicitly
|
|
18
|
-
* BitcoinConnection.forNetwork('regtest', {
|
|
19
|
-
* rpc: { username: 'polaruser', password: 'polarpass' },
|
|
20
|
-
* });
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
export declare const DEFAULT_BITCOIN_NETWORK_CONFIG: {
|
|
24
|
-
readonly bitcoin: {
|
|
25
|
-
readonly rpc: undefined;
|
|
26
|
-
readonly rest: {
|
|
27
|
-
readonly host: "https://mempool.space/api";
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
readonly testnet3: {
|
|
31
|
-
readonly rpc: undefined;
|
|
32
|
-
readonly rest: {
|
|
33
|
-
readonly host: "https://mempool.space/testnet/api";
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
readonly testnet4: {
|
|
37
|
-
readonly rpc: undefined;
|
|
38
|
-
readonly rest: {
|
|
39
|
-
readonly host: "https://mempool.space/testnet4/api";
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
readonly signet: {
|
|
43
|
-
readonly rpc: undefined;
|
|
44
|
-
readonly rest: {
|
|
45
|
-
readonly host: "https://mempool.space/signet/api";
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
readonly mutinynet: {
|
|
49
|
-
readonly rpc: undefined;
|
|
50
|
-
readonly rest: {
|
|
51
|
-
readonly host: "https://mutinynet.com/api";
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
readonly regtest: {
|
|
55
|
-
readonly rpc: {
|
|
56
|
-
readonly host: "http://localhost:18443";
|
|
57
|
-
readonly allowDefaultWallet: true;
|
|
58
|
-
};
|
|
59
|
-
readonly rest: {
|
|
60
|
-
readonly host: "http://localhost:3000";
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
7
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,KAAK,CAAC;AACvC,eAAO,MAAM,gBAAgB,MAAM,CAAC;AACpC,eAAO,MAAM,uBAAuB,MAAM,CAAC;AAC3C,eAAO,MAAM,2BAA2B,IAAI,CAAC;AAC7C,eAAO,MAAM,qBAAqB,qEAAqE,CAAC;AACxG,eAAO,MAAM,aAAa,qEAAqE,CAAC
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,KAAK,CAAC;AACvC,eAAO,MAAM,gBAAgB,MAAM,CAAC;AACpC,eAAO,MAAM,uBAAuB,MAAM,CAAC;AAC3C,eAAO,MAAM,2BAA2B,IAAI,CAAC;AAC7C,eAAO,MAAM,qBAAqB,qEAAqE,CAAC;AACxG,eAAO,MAAM,aAAa,qEAAqE,CAAC"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export type { FeeEstimator } from './fee-estimator.js';
|
|
|
18
18
|
export { getNetwork } from './network.js';
|
|
19
19
|
export type { BTCNetwork } from './network.js';
|
|
20
20
|
export { toBase64, safeText } from './client/utils.js';
|
|
21
|
-
export {
|
|
21
|
+
export { INITIAL_BLOCK_REWARD, HALVING_INTERVAL, COINBASE_MATURITY_DELAY, DEFAULT_BLOCK_CONFIRMATIONS, TXIN_WITNESS_COINBASE, GENESIS_TX_ID, } from './constants.js';
|
|
22
22
|
export type { NetworkName, RestConfig, EsploraBlock, TransactionStatus, Vin, Vout, ChainStats, MempoolStats, AddressInfo, RawTransactionRest, AddressUtxo, RpcConfig, ChainInfo, GetBlockParams, BlockResponse, BlockV0, BlockV1, BlockV2, BlockV3, RawTransactionResponse, RawTransactionV0, RawTransactionV1, RawTransactionV2, CreateRawTxInputs, CreateRawTxOutputs, SignedRawTx, UnspentTxInfo, WalletTransaction, DerivedAddresses, ListTransactionsParams, ListTransactionsResult, MethodNameInLowerCase, FeeEstimateMode, } from './types.js';
|
|
23
23
|
export { VerbosityLevel } from './types.js';
|
|
24
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,KAAK,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAGnF,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAG3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAA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BAAsB,GACtB,sBAAsB,GACtB,gBAAgB,GAChB,uBAAuB,GACvB,eAAe,GACf,eAAe,GACf,aAAa,GACb,eAAe,GACf,mBAAmB,GACnB,cAAc,GACd,cAAc,GACd,eAAe,GACf,cAAc,GACd,sBAAsB,GACtB,iBAAiB,GACjB,uBAAuB,GACvB,uBAAuB,GACvB,gBAAgB,GAChB,kBAAkB,GAClB,aAAa,GACb,aAAa,GACb,aAAa,GACb,MAAM,GACN,mBAAmB,GACnB,UAAU,GACV,UAAU,GACV,eAAe,GACf,YAAY,GACZ,UAAU,GACV,aAAa,GACb,YAAY,GACZ,mBAAmB,GACnB,iBAAiB,GACjB,mBAAmB,GACnB,wBAAwB,GACxB,8BAA8B,GAC9B,MAAM,GACN,SAAS,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@did-btcr2/bitcoin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Bitcoin Core RPC and Rest Client Implementations in JS/TS. Used by @did-btcr2/method.",
|
|
6
6
|
"main": "./dist/cjs/index.js",
|
|
@@ -56,36 +56,25 @@
|
|
|
56
56
|
"btc"
|
|
57
57
|
],
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@noble/curves": "^1.9.7",
|
|
60
|
-
"@noble/hashes": "^2.0.1",
|
|
61
|
-
"@noble/secp256k1": "^2.3.0",
|
|
62
59
|
"@scure/btc-signer": "^1.8.1",
|
|
63
|
-
"@did-btcr2/keypair": "^0.13.1",
|
|
64
60
|
"@did-btcr2/common": "^9.1.0"
|
|
65
61
|
},
|
|
66
62
|
"devDependencies": {
|
|
67
63
|
"@eslint/js": "^9.22.0",
|
|
68
64
|
"@types/chai": "^5.0.1",
|
|
69
|
-
"@types/chai-as-promised": "^8.0.1",
|
|
70
|
-
"@types/eslint": "^9.6.1",
|
|
71
65
|
"@types/mocha": "^10.0.9",
|
|
72
66
|
"@types/node": "^22.5.4",
|
|
73
67
|
"@typescript-eslint/eslint-plugin": "^8.5.0",
|
|
74
68
|
"@typescript-eslint/parser": "^8.5.0",
|
|
75
69
|
"c8": "^10.1.2",
|
|
76
70
|
"chai": "^5.1.2",
|
|
77
|
-
"chai-as-promised": "^8.0.0",
|
|
78
|
-
"esbuild": "^0.24.2",
|
|
79
71
|
"eslint": "^9.14.0",
|
|
80
72
|
"eslint-plugin-mocha": "^10.5.0",
|
|
81
73
|
"globals": "^15.11.0",
|
|
82
74
|
"mocha": "^10.8.2",
|
|
83
|
-
"mocha-junit-reporter": "^2.2.1",
|
|
84
|
-
"node-stdlib-browser": "^1.3.1",
|
|
85
75
|
"rimraf": "^6.0.1",
|
|
86
|
-
"typedoc-plugin-markdown": "^4.7.0",
|
|
87
76
|
"typescript": "^5.6.2",
|
|
88
|
-
"
|
|
77
|
+
"@did-btcr2/keypair": "^0.13.1"
|
|
89
78
|
},
|
|
90
79
|
"scripts": {
|
|
91
80
|
"clean": "rimraf dist coverage tests/compiled",
|
|
@@ -60,9 +60,19 @@ export class JsonRpcProtocol {
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
+
// Target a named wallet's RPCs when configured: Bitcoin Core exposes
|
|
64
|
+
// per-wallet RPC methods under the `/wallet/<name>` URL path.
|
|
65
|
+
if (cfg.wallet) {
|
|
66
|
+
url = `${url}/wallet/${encodeURIComponent(cfg.wallet)}`;
|
|
67
|
+
}
|
|
68
|
+
|
|
63
69
|
this.url = url;
|
|
64
70
|
this.hasAuth = authHeader !== undefined;
|
|
71
|
+
// Configured headers come first, so a custom or bearer header reaches an
|
|
72
|
+
// authenticated or proxied endpoint; the fixed Content-Type and the derived
|
|
73
|
+
// Basic Authorization header take precedence over any same-named entry.
|
|
65
74
|
this._headers = {
|
|
75
|
+
...cfg.headers,
|
|
66
76
|
'Content-Type' : 'application/json',
|
|
67
77
|
...(authHeader ? { Authorization: authHeader } : {}),
|
|
68
78
|
};
|
package/src/connection.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { MethodError } from '@did-btcr2/common';
|
|
2
1
|
import type { HttpExecutor } from './client/http.js';
|
|
3
2
|
import { BitcoinRestClient } from './client/rest/index.js';
|
|
4
3
|
import { BitcoinCoreRpcClient } from './client/rpc/index.js';
|
|
5
4
|
import type { BTCNetwork } from './network.js';
|
|
6
5
|
import { getNetwork } from './network.js';
|
|
7
6
|
import type { NetworkName, RestConfig, RpcConfig } from './types.js';
|
|
8
|
-
import { DEFAULT_BITCOIN_NETWORK_CONFIG } from './constants.js';
|
|
9
7
|
|
|
10
8
|
/**
|
|
11
9
|
* Options for creating a BitcoinConnection.
|
|
@@ -27,13 +25,19 @@ export type BitcoinConnectionOptions = {
|
|
|
27
25
|
* executed via the global `fetch` function. Supply a custom
|
|
28
26
|
* {@link HttpExecutor} to use any HTTP client.
|
|
29
27
|
*
|
|
28
|
+
* Endpoints are explicit: this transport layer holds no service URLs. Callers
|
|
29
|
+
* supply the REST host (and optional RPC) themselves, or use the SDK facade
|
|
30
|
+
* ({@link https://github.com/dcdpr/did-btcr2-js/tree/main/packages/api | @did-btcr2/api}),
|
|
31
|
+
* which carries per-network convenience defaults.
|
|
32
|
+
*
|
|
30
33
|
* @example
|
|
31
34
|
* ```ts
|
|
32
|
-
* //
|
|
33
|
-
* const btc = BitcoinConnection
|
|
35
|
+
* // Explicit endpoint (uses the global fetch executor by default)
|
|
36
|
+
* const btc = new BitcoinConnection({ network: 'regtest', rest: { host: 'http://localhost:3000' } });
|
|
34
37
|
*
|
|
35
38
|
* // With a custom HTTP executor
|
|
36
|
-
* const btc = BitcoinConnection
|
|
39
|
+
* const btc = new BitcoinConnection({
|
|
40
|
+
* network: 'testnet4',
|
|
37
41
|
* rest: { host: 'https://my-mempool/api' },
|
|
38
42
|
* executor: myCustomExecutor,
|
|
39
43
|
* });
|
|
@@ -67,44 +71,6 @@ export class BitcoinConnection {
|
|
|
67
71
|
this.data = getNetwork(options.network);
|
|
68
72
|
}
|
|
69
73
|
|
|
70
|
-
/**
|
|
71
|
-
* Create a connection for a single network with optional REST/RPC endpoint overrides.
|
|
72
|
-
* Merges overrides on top of defaults from DEFAULT_BITCOIN_NETWORK_CONFIG.
|
|
73
|
-
* Does not read environment variables.
|
|
74
|
-
*
|
|
75
|
-
* @param network The network name (e.g., 'regtest', 'testnet4', 'bitcoin').
|
|
76
|
-
* @param overrides Optional endpoint and executor overrides.
|
|
77
|
-
* @returns A BitcoinConnection for the requested network.
|
|
78
|
-
*/
|
|
79
|
-
static forNetwork(
|
|
80
|
-
network: NetworkName,
|
|
81
|
-
overrides?: { rest?: Partial<RestConfig>; rpc?: RpcConfig; executor?: HttpExecutor }
|
|
82
|
-
): BitcoinConnection {
|
|
83
|
-
const defaults = DEFAULT_BITCOIN_NETWORK_CONFIG[network];
|
|
84
|
-
|
|
85
|
-
if (!defaults) {
|
|
86
|
-
throw new MethodError(
|
|
87
|
-
`Unknown network '${network}'. Available: bitcoin, testnet3, testnet4, signet, mutinynet, regtest`,
|
|
88
|
-
'UNKNOWN_NETWORK',
|
|
89
|
-
{ network }
|
|
90
|
-
);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
const restCfg: RestConfig = { ...defaults.rest, ...overrides?.rest };
|
|
94
|
-
|
|
95
|
-
const hasRpc = defaults.rpc !== undefined || overrides?.rpc !== undefined;
|
|
96
|
-
const rpcCfg = hasRpc
|
|
97
|
-
? { ...defaults.rpc, ...overrides?.rpc } as RpcConfig
|
|
98
|
-
: undefined;
|
|
99
|
-
|
|
100
|
-
return new BitcoinConnection({
|
|
101
|
-
network,
|
|
102
|
-
rest : restCfg,
|
|
103
|
-
rpc : rpcCfg,
|
|
104
|
-
executor : overrides?.executor,
|
|
105
|
-
});
|
|
106
|
-
}
|
|
107
|
-
|
|
108
74
|
/**
|
|
109
75
|
* Converts Bitcoin (BTC) to satoshis.
|
|
110
76
|
* Uses string-based arithmetic to avoid floating-point precision errors.
|
package/src/constants.ts
CHANGED
|
@@ -4,49 +4,3 @@ export const COINBASE_MATURITY_DELAY = 100;
|
|
|
4
4
|
export const DEFAULT_BLOCK_CONFIRMATIONS = 7;
|
|
5
5
|
export const TXIN_WITNESS_COINBASE = '0000000000000000000000000000000000000000000000000000000000000000';
|
|
6
6
|
export const GENESIS_TX_ID = '4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b';
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Default endpoint configuration per Bitcoin network.
|
|
10
|
-
*
|
|
11
|
-
* **Regtest RPC:** Credentials are intentionally omitted - callers must
|
|
12
|
-
* provide `username` and `password` via overrides or explicit config.
|
|
13
|
-
* This prevents accidentally using hardcoded credentials in non-local
|
|
14
|
-
* environments.
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```ts
|
|
18
|
-
* // Provide credentials explicitly
|
|
19
|
-
* BitcoinConnection.forNetwork('regtest', {
|
|
20
|
-
* rpc: { username: 'polaruser', password: 'polarpass' },
|
|
21
|
-
* });
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
export const DEFAULT_BITCOIN_NETWORK_CONFIG = {
|
|
25
|
-
bitcoin : {
|
|
26
|
-
rpc : undefined,
|
|
27
|
-
rest : { host: 'https://mempool.space/api' }
|
|
28
|
-
},
|
|
29
|
-
testnet3 : {
|
|
30
|
-
rpc : undefined,
|
|
31
|
-
rest : { host: 'https://mempool.space/testnet/api' }
|
|
32
|
-
},
|
|
33
|
-
testnet4 : {
|
|
34
|
-
rpc : undefined,
|
|
35
|
-
rest : { host: 'https://mempool.space/testnet4/api' }
|
|
36
|
-
},
|
|
37
|
-
signet : {
|
|
38
|
-
rpc : undefined,
|
|
39
|
-
rest : { host: 'https://mempool.space/signet/api' }
|
|
40
|
-
},
|
|
41
|
-
mutinynet : {
|
|
42
|
-
rpc : undefined,
|
|
43
|
-
rest : { host: 'https://mutinynet.com/api' }
|
|
44
|
-
},
|
|
45
|
-
regtest : {
|
|
46
|
-
rpc : {
|
|
47
|
-
host : 'http://localhost:18443',
|
|
48
|
-
allowDefaultWallet : true,
|
|
49
|
-
},
|
|
50
|
-
rest : { host: 'http://localhost:3000' }
|
|
51
|
-
},
|
|
52
|
-
} as const;
|
package/src/index.ts
CHANGED