@arkade-os/sdk 0.4.69 → 0.5.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/README.md +35 -5
  2. package/dist/adapters/expo.cjs +5 -5
  3. package/dist/adapters/expo.d.cts +2 -2
  4. package/dist/adapters/expo.d.ts +2 -2
  5. package/dist/adapters/expo.js +3 -3
  6. package/dist/adapters/indexedDB.cjs +5 -5
  7. package/dist/adapters/indexedDB.js +4 -4
  8. package/dist/{asyncStorageTaskQueue-BgUJN-3X.d.ts → asyncStorageTaskQueue-DAs_n1xr.d.ts} +2 -2
  9. package/dist/{asyncStorageTaskQueue-Cstx6hS7.d.cts → asyncStorageTaskQueue-DqGRG66E.d.cts} +2 -2
  10. package/dist/{chunk-L5SCQYHF.js → chunk-6COJWPBO.js} +19 -9
  11. package/dist/chunk-6COJWPBO.js.map +1 -0
  12. package/dist/{chunk-XQPN5YP2.cjs → chunk-KB7OP3FG.cjs} +17 -17
  13. package/dist/{chunk-XQPN5YP2.cjs.map → chunk-KB7OP3FG.cjs.map} +1 -1
  14. package/dist/{chunk-XLWDX7QZ.js → chunk-LPK4UBNJ.js} +4 -4
  15. package/dist/{chunk-XLWDX7QZ.js.map → chunk-LPK4UBNJ.js.map} +1 -1
  16. package/dist/{chunk-MNMPGEK2.js → chunk-MEJSBJVH.js} +4 -4
  17. package/dist/{chunk-MNMPGEK2.js.map → chunk-MEJSBJVH.js.map} +1 -1
  18. package/dist/{chunk-HQ4DMGA4.cjs → chunk-MXY23OPP.cjs} +10 -10
  19. package/dist/{chunk-HQ4DMGA4.cjs.map → chunk-MXY23OPP.cjs.map} +1 -1
  20. package/dist/{chunk-WIFL5QYZ.cjs → chunk-Q5WQ4Y2I.cjs} +53 -54
  21. package/dist/chunk-Q5WQ4Y2I.cjs.map +1 -0
  22. package/dist/{chunk-5MLC2HU3.cjs → chunk-RZ2NGS6A.cjs} +19 -7
  23. package/dist/chunk-RZ2NGS6A.cjs.map +1 -0
  24. package/dist/{chunk-YG7T6LI3.js → chunk-SG4XYCS7.js} +3 -3
  25. package/dist/{chunk-YG7T6LI3.js.map → chunk-SG4XYCS7.js.map} +1 -1
  26. package/dist/{chunk-TA7XLEP2.js → chunk-VTE3NYVD.js} +298 -41
  27. package/dist/chunk-VTE3NYVD.js.map +1 -0
  28. package/dist/{chunk-GVHUHTRH.cjs → chunk-WQIWUTYS.cjs} +17 -17
  29. package/dist/{chunk-GVHUHTRH.cjs.map → chunk-WQIWUTYS.cjs.map} +1 -1
  30. package/dist/{chunk-EBYCTLET.cjs → chunk-YEUXBECG.cjs} +727 -469
  31. package/dist/chunk-YEUXBECG.cjs.map +1 -0
  32. package/dist/{chunk-2PPL3O7Z.js → chunk-ZPSUBAWQ.js} +7 -8
  33. package/dist/chunk-ZPSUBAWQ.js.map +1 -0
  34. package/dist/contracts/handlers/index.cjs +9 -9
  35. package/dist/contracts/handlers/index.d.cts +3 -3
  36. package/dist/contracts/handlers/index.d.ts +3 -3
  37. package/dist/contracts/handlers/index.js +2 -2
  38. package/dist/{delegate-BPdzTbwN.d.ts → delegate-B9Bmrns7.d.ts} +1 -1
  39. package/dist/{delegate-DrwIar11.d.cts → delegate-CZzIduW4.d.cts} +1 -1
  40. package/dist/{hdWalletCapable-D4WH35z0.d.cts → hdWalletCapable-BIl3yLVM.d.cts} +103 -28
  41. package/dist/{hdWalletCapable-DyxCiNVE.d.ts → hdWalletCapable-Cr5nGpK5.d.ts} +103 -28
  42. package/dist/{index-TZJvbIaA.d.ts → index-Ci5MmNnK.d.cts} +7 -7
  43. package/dist/{index-BqhpAqqj.d.cts → index-DQ1Hb2w_.d.ts} +7 -7
  44. package/dist/{index-dWRqYSdS.d.ts → index-DnNIOqHS.d.cts} +168 -19
  45. package/dist/{index-dWRqYSdS.d.cts → index-DnNIOqHS.d.ts} +168 -19
  46. package/dist/index.cjs +307 -291
  47. package/dist/index.d.cts +121 -29
  48. package/dist/index.d.ts +121 -29
  49. package/dist/index.js +4 -4
  50. package/dist/repositories/realm/index.cjs +19 -19
  51. package/dist/repositories/realm/index.d.cts +2 -2
  52. package/dist/repositories/realm/index.d.ts +2 -2
  53. package/dist/repositories/realm/index.js +5 -5
  54. package/dist/repositories/sqlite/index.cjs +18 -18
  55. package/dist/repositories/sqlite/index.d.cts +2 -2
  56. package/dist/repositories/sqlite/index.d.ts +2 -2
  57. package/dist/repositories/sqlite/index.js +5 -5
  58. package/dist/{taskRunner-CzYKyJ9c.d.cts → taskRunner-BDb5Ee2J.d.cts} +2 -2
  59. package/dist/{taskRunner-D2fnbqYw.d.ts → taskRunner-F7wNJcF3.d.ts} +2 -2
  60. package/dist/wallet/expo/background.cjs +14 -14
  61. package/dist/wallet/expo/background.d.cts +3 -3
  62. package/dist/wallet/expo/background.d.ts +3 -3
  63. package/dist/wallet/expo/background.js +6 -6
  64. package/dist/wallet/expo/index.cjs +23 -14
  65. package/dist/wallet/expo/index.cjs.map +1 -1
  66. package/dist/wallet/expo/index.d.cts +7 -4
  67. package/dist/wallet/expo/index.d.ts +7 -4
  68. package/dist/wallet/expo/index.js +14 -5
  69. package/dist/wallet/expo/index.js.map +1 -1
  70. package/dist/worker/expo/index.cjs +9 -9
  71. package/dist/worker/expo/index.d.cts +4 -4
  72. package/dist/worker/expo/index.d.ts +4 -4
  73. package/dist/worker/expo/index.js +5 -5
  74. package/package.json +3 -2
  75. package/dist/chunk-2PPL3O7Z.js.map +0 -1
  76. package/dist/chunk-5MLC2HU3.cjs.map +0 -1
  77. package/dist/chunk-EBYCTLET.cjs.map +0 -1
  78. package/dist/chunk-L5SCQYHF.js.map +0 -1
  79. package/dist/chunk-TA7XLEP2.js.map +0 -1
  80. package/dist/chunk-WIFL5QYZ.cjs.map +0 -1
package/README.md CHANGED
@@ -787,7 +787,7 @@ const wallet = await Wallet.create({
787
787
  })
788
788
 
789
789
  // Get fee information from the server
790
- const { fees: feeInfo } = await wallet.arkProvider.getInfo();
790
+ const { fees: feeInfo } = await wallet.getArkadeInfo();
791
791
 
792
792
  const exitTxid = await new Ramps(wallet).offboard(
793
793
  'bc1p...',
@@ -795,6 +795,37 @@ const exitTxid = await new Ramps(wallet).offboard(
795
795
  );
796
796
  ```
797
797
 
798
+ `getArkadeInfo()` is part of the `IReadonlyWallet` interface, so the same call works on the
799
+ service-worker and Expo wallets too. It answers with the server's live `ArkadeInfo`, falling back
800
+ to the snapshot persisted at wallet construction when the server is unreachable.
801
+
802
+ ### Talking to the server through the wallet
803
+
804
+ `getArkadeInfo()` is one of three seams that let a plugin work from a wallet alone, never a
805
+ server URL of its own:
806
+
807
+ | Seam | Interface | For |
808
+ | --- | --- | --- |
809
+ | `getArkadeInfo()` | `IReadonlyWallet` | Network, signer key, delays, dust, fees, limits |
810
+ | `getArkadeReader()` | `IReadonlyWallet` | Chain reads for scripts the wallet does not own |
811
+ | `getArkadeBroadcaster()` | `IWallet` | `submitTx` / `finalizeTx` |
812
+
813
+ ```typescript
814
+ const reader = await wallet.getArkadeReader();
815
+ const { vtxos } = await reader.getVtxos({ scripts: [covenantScriptHex], spendableOnly: true });
816
+ const { txs } = await reader.getVirtualTxs([spendTxid]);
817
+ ```
818
+
819
+ `getVtxos()` here queries the server for an arbitrary script — distinct from
820
+ `wallet.getVtxos()`, which answers the wallet's own outputs from local repositories. Everything
821
+ it returns is normalized, so each VTXO carries its canonical facts.
822
+
823
+ Broadcasting sits on `IWallet` rather than `IReadonlyWallet` on purpose: a readonly wallet must
824
+ not submit, and a service-worker wallet in readonly mode refuses the message outright.
825
+
826
+ All three are proxied to the worker on a service-worker wallet, so a plugin shares the wallet's
827
+ connection instead of opening a second one outside its rate gate and caches.
828
+
798
829
  ### Unilateral Exit
799
830
 
800
831
  Unilateral exit allows you to withdraw your funds from the Arkade protocol back to the Bitcoin blockchain without requiring cooperation from the Arkade server. This process involves two main steps:
@@ -1135,13 +1166,12 @@ The `StorageAdapter` API is deprecated. Use repositories instead. If you omit `s
1135
1166
  > Anything related to contract repository migration must be handled by the
1136
1167
  > package that created the contracts. The SDK doesn't manage external contracts
1137
1168
  > in V1; data persisted by other packages remains untouched in its original
1138
- > location. For example, see `@arkade-os/boltz-swap`'s `migrateToSwapRepository`
1139
- > for migrating legacy `reverseSwaps` / `submarineSwaps` collections.
1169
+ > location.
1140
1170
 
1141
1171
  #### Repository Versioning
1142
1172
 
1143
1173
  `WalletRepository`, `ContractRepository`, and `SwapRepository` (in
1144
- `@arkade-os/boltz-swap`) each declare a `readonly version` field with a literal
1174
+ `@arkade-os/swap`) each declare a `readonly version` field with a literal
1145
1175
  type. All built-in implementations set this to the current version. If you
1146
1176
  maintain a custom repository implementation, TypeScript will produce a compile
1147
1177
  error when the version is bumped, signaling that a semantic update is required:
@@ -1526,7 +1556,7 @@ For integration tests, use the root commands (`pnpm run test:integration:ts-sdk`
1526
1556
 
1527
1557
  ### Releasing
1528
1558
 
1529
- Package-local releases are disabled. Releases run from the monorepo root and are package-scoped: `pnpm run release -- sdk patch` bumps `@arkade-os/sdk`, creates a `@arkade-os/sdk/<version>` tag, and also bumps `@arkade-os/boltz-swap` (which depends on SDK via `workspace:*`). See the [root README](../../README.md#releasing) for full flags and `pnpm run release -- --help`.
1559
+ Package-local releases are disabled. Releases run from the monorepo root and are package-scoped: `pnpm run release -- sdk patch` bumps `@arkade-os/sdk`, creates a `@arkade-os/sdk/<version>` tag, and also bumps `@arkade-os/swap` (which depends on SDK via `workspace:*`). See the [root README](../../README.md#releasing) for full flags and `pnpm run release -- --help`.
1530
1560
 
1531
1561
  ## License
1532
1562
 
@@ -1,19 +1,19 @@
1
1
  'use strict';
2
2
 
3
- var chunkXQPN5YP2_cjs = require('../chunk-XQPN5YP2.cjs');
4
- require('../chunk-GVHUHTRH.cjs');
5
- require('../chunk-5MLC2HU3.cjs');
3
+ var chunkKB7OP3FG_cjs = require('../chunk-KB7OP3FG.cjs');
4
+ require('../chunk-WQIWUTYS.cjs');
5
+ require('../chunk-RZ2NGS6A.cjs');
6
6
  require('../chunk-5BLDMQED.cjs');
7
7
 
8
8
 
9
9
 
10
10
  Object.defineProperty(exports, "ExpoArkProvider", {
11
11
  enumerable: true,
12
- get: function () { return chunkXQPN5YP2_cjs.ExpoArkProvider; }
12
+ get: function () { return chunkKB7OP3FG_cjs.ExpoArkProvider; }
13
13
  });
14
14
  Object.defineProperty(exports, "ExpoIndexerProvider", {
15
15
  enumerable: true,
16
- get: function () { return chunkXQPN5YP2_cjs.ExpoIndexerProvider; }
16
+ get: function () { return chunkKB7OP3FG_cjs.ExpoIndexerProvider; }
17
17
  });
18
18
  //# sourceMappingURL=expo.cjs.map
19
19
  //# sourceMappingURL=expo.cjs.map
@@ -1,5 +1,5 @@
1
- import { n as RestArkProvider, k as SettlementEvent, T as TxNotificationEvent, o as RestIndexerProvider, p as SubscriptionResponse } from '../index-dWRqYSdS.cjs';
2
- export { q as ArkProvider, r as IndexerProvider } from '../index-dWRqYSdS.cjs';
1
+ import { r as RestArkProvider, o as SettlementEvent, T as TxNotificationEvent, s as RestIndexerProvider, t as SubscriptionResponse } from '../index-DnNIOqHS.cjs';
2
+ export { u as ArkProvider, v as IndexerProvider } from '../index-DnNIOqHS.cjs';
3
3
  import '@scure/btc-signer/utils.js';
4
4
  import '@scure/btc-signer/transaction.js';
5
5
  import '@scure/btc-signer';
@@ -1,5 +1,5 @@
1
- import { n as RestArkProvider, k as SettlementEvent, T as TxNotificationEvent, o as RestIndexerProvider, p as SubscriptionResponse } from '../index-dWRqYSdS.js';
2
- export { q as ArkProvider, r as IndexerProvider } from '../index-dWRqYSdS.js';
1
+ import { r as RestArkProvider, o as SettlementEvent, T as TxNotificationEvent, s as RestIndexerProvider, t as SubscriptionResponse } from '../index-DnNIOqHS.js';
2
+ export { u as ArkProvider, v as IndexerProvider } from '../index-DnNIOqHS.js';
3
3
  import '@scure/btc-signer/utils.js';
4
4
  import '@scure/btc-signer/transaction.js';
5
5
  import '@scure/btc-signer';
@@ -1,6 +1,6 @@
1
- export { ExpoArkProvider, ExpoIndexerProvider } from '../chunk-MNMPGEK2.js';
2
- import '../chunk-YG7T6LI3.js';
3
- import '../chunk-L5SCQYHF.js';
1
+ export { ExpoArkProvider, ExpoIndexerProvider } from '../chunk-MEJSBJVH.js';
2
+ import '../chunk-SG4XYCS7.js';
3
+ import '../chunk-6COJWPBO.js';
4
4
  import '../chunk-NSBPE2FW.js';
5
5
  //# sourceMappingURL=expo.js.map
6
6
  //# sourceMappingURL=expo.js.map
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkEBYCTLET_cjs = require('../chunk-EBYCTLET.cjs');
4
- require('../chunk-GVHUHTRH.cjs');
5
- require('../chunk-WIFL5QYZ.cjs');
6
- require('../chunk-5MLC2HU3.cjs');
3
+ var chunkYEUXBECG_cjs = require('../chunk-YEUXBECG.cjs');
4
+ require('../chunk-WQIWUTYS.cjs');
5
+ require('../chunk-Q5WQ4Y2I.cjs');
6
+ require('../chunk-RZ2NGS6A.cjs');
7
7
  require('../chunk-5BLDMQED.cjs');
8
8
 
9
9
  // src/storage/indexedDB.ts
@@ -11,7 +11,7 @@ var IndexedDBStorageAdapter = class {
11
11
  dbName;
12
12
  version;
13
13
  db = null;
14
- constructor(dbName, version = chunkEBYCTLET_cjs.DB_VERSION) {
14
+ constructor(dbName, version = chunkYEUXBECG_cjs.DB_VERSION) {
15
15
  this.dbName = dbName;
16
16
  this.version = version;
17
17
  }
@@ -1,7 +1,7 @@
1
- import { DB_VERSION } from '../chunk-TA7XLEP2.js';
2
- import '../chunk-YG7T6LI3.js';
3
- import '../chunk-2PPL3O7Z.js';
4
- import '../chunk-L5SCQYHF.js';
1
+ import { DB_VERSION } from '../chunk-VTE3NYVD.js';
2
+ import '../chunk-SG4XYCS7.js';
3
+ import '../chunk-ZPSUBAWQ.js';
4
+ import '../chunk-6COJWPBO.js';
5
5
  import '../chunk-NSBPE2FW.js';
6
6
 
7
7
  // src/storage/indexedDB.ts
@@ -1,4 +1,4 @@
1
- import { a as TaskQueue, c as TaskItem, d as TaskResult } from './taskRunner-D2fnbqYw.js';
1
+ import { c as TaskQueue, a as TaskItem, b as TaskResult } from './taskRunner-F7wNJcF3.js';
2
2
 
3
3
  /**
4
4
  * Minimal async key-value storage interface.
@@ -46,4 +46,4 @@ declare class AsyncStorageTaskQueue implements TaskQueue {
46
46
  private writeList;
47
47
  }
48
48
 
49
- export { AsyncStorageTaskQueue as A, type AsyncStorageLike as a };
49
+ export { type AsyncStorageLike as A, AsyncStorageTaskQueue as a };
@@ -1,4 +1,4 @@
1
- import { a as TaskQueue, c as TaskItem, d as TaskResult } from './taskRunner-CzYKyJ9c.cjs';
1
+ import { c as TaskQueue, a as TaskItem, b as TaskResult } from './taskRunner-BDb5Ee2J.cjs';
2
2
 
3
3
  /**
4
4
  * Minimal async key-value storage interface.
@@ -46,4 +46,4 @@ declare class AsyncStorageTaskQueue implements TaskQueue {
46
46
  private writeList;
47
47
  }
48
48
 
49
- export { AsyncStorageTaskQueue as A, type AsyncStorageLike as a };
49
+ export { type AsyncStorageLike as A, AsyncStorageTaskQueue as a };
@@ -1,4 +1,4 @@
1
- import { ScriptNum, OP, p2tr_ms, Script, SigHash, p2tr, TAPROOT_UNSPENDABLE_KEY, Address, RawWitness, Transaction as Transaction$1 } from '@scure/btc-signer';
1
+ import { ScriptNum, OP, p2tr_ms, Script, RawWitness, SigHash, p2tr, TAPROOT_UNSPENDABLE_KEY, Address, Transaction as Transaction$1 } from '@scure/btc-signer';
2
2
  import * as bip68 from 'bip68';
3
3
  import { TEST_NETWORK, NETWORK } from '@scure/btc-signer/utils.js';
4
4
  import { hex, bech32m } from '@scure/base';
@@ -192,6 +192,7 @@ var getNetwork = (network) => {
192
192
  if (!found) throw new Error(`Unsupported network: ${network}`);
193
193
  return found;
194
194
  };
195
+ var networkFromArkadeInfo = (info) => getNetwork(info.network);
195
196
  var networks = {
196
197
  bitcoin: withArkPrefix(NETWORK, "ark", "bitcoin"),
197
198
  testnet: withArkPrefix(TEST_NETWORK, "tark", "testnet"),
@@ -1022,7 +1023,7 @@ function resolveEventSource(override) {
1022
1023
  }
1023
1024
 
1024
1025
  // package.json
1025
- var version = "0.4.69";
1026
+ var version = "0.5.0-rc.1";
1026
1027
 
1027
1028
  // src/utils/fetch.ts
1028
1029
  var buildVersion = "0.9.9";
@@ -1620,8 +1621,9 @@ var RestArkProvider = class {
1620
1621
  /** Overrides {@link configureEventSource} for this provider's streams. */
1621
1622
  eventSource;
1622
1623
  /**
1623
- * Last server-info digest seen from {@link getInfo}. Sent as `X-Digest`
1624
- * so arkd can reject stale client configuration.
1624
+ * Last server-info digest seen (from {@link getInfo}). Sent as `X-Digest`
1625
+ * on outgoing requests so arkd can reject a client whose cached info is
1626
+ * stale. Empty until the first {@link getInfo}.
1625
1627
  */
1626
1628
  _digest = "";
1627
1629
  _hasServerInfo = false;
@@ -1699,7 +1701,10 @@ var RestArkProvider = class {
1699
1701
  }
1700
1702
  async getInfo() {
1701
1703
  const url = `${this.serverUrl}/v1/info`;
1702
- const response = await rateGate.runHttp(url, () => fetch(url));
1704
+ const response = await rateGate.runHttp(
1705
+ url,
1706
+ () => fetch(url, { signal: infoFetchSignal() })
1707
+ );
1703
1708
  if (!response.ok) {
1704
1709
  const errorText = await response.text();
1705
1710
  throwIfHttpUnavailable(response, "arkade", errorText);
@@ -2183,11 +2188,16 @@ function decodeMusig2Nonces(noncesObject) {
2183
2188
  })
2184
2189
  );
2185
2190
  }
2191
+ var INFO_FETCH_TIMEOUT_MS = 12e3;
2192
+ function infoFetchSignal() {
2193
+ return typeof AbortSignal !== "undefined" && typeof AbortSignal.timeout === "function" ? AbortSignal.timeout(INFO_FETCH_TIMEOUT_MS) : void 0;
2194
+ }
2186
2195
  function isFetchTimeoutError(err) {
2187
2196
  const checkError = (error) => {
2188
2197
  if (!(error instanceof Error)) return false;
2189
2198
  const isCloudflare524 = error.name === "TypeError" && error.message === "Failed to fetch";
2190
- return isCloudflare524 || error.name === "HeadersTimeoutError" || error.name === "BodyTimeoutError" || error.code === "UND_ERR_HEADERS_TIMEOUT" || error.code === "UND_ERR_BODY_TIMEOUT";
2199
+ return isCloudflare524 || // AbortSignal.timeout rejects with a DOMException named this
2200
+ error.name === "TimeoutError" || error.name === "HeadersTimeoutError" || error.name === "BodyTimeoutError" || error.code === "UND_ERR_HEADERS_TIMEOUT" || error.code === "UND_ERR_BODY_TIMEOUT";
2191
2201
  };
2192
2202
  return checkError(err) || checkError(err.cause);
2193
2203
  }
@@ -2424,6 +2434,6 @@ function isExpired(vtxo) {
2424
2434
  return n.isSwept || n.expiresAt !== void 0 && n.expiresAt.getTime() <= Date.now();
2425
2435
  }
2426
2436
 
2427
- export { ArkAddress, ArkError, ArkErrorName, ArkPsbtFieldKey, ArkPsbtFieldKeyType, BITCOIN_EMULATOR_PUBKEY, CLTVMultisigTapscript, CSVMultisigTapscript, ConditionCSVMultisigTapscript, ConditionMultisigTapscript, ConditionWitness, CosignerPublicKey, DEFAULT_ARKADE_SERVER_URL, DEFAULT_NETWORK, DEFAULT_NETWORK_NAME, DEFAULT_PAGE_SIZE, DigestMismatchError, EventSourceUnavailableError, FetchError, Intent, MUTINYNET_EMULATOR_PUBKEY, MultisigTapscript, OP_RETURN_EMPTY_PKSCRIPT, PrevArkTxField, PrevoutTxField, ProviderUnavailableError, REGTEST_EMULATOR_PUBKEY, RestArkProvider, SCRIPT_QUERY_CHUNK_SIZE, ServerResponseMismatchError, SettlementEventType, TapTreeCoder, Transaction, VtxoScript, VtxoTaprootTree, VtxoTreeExpiry, assembleBtcdTaprootTree, assertAllowedSighashTypes, baseFetch, buildVersion, canRecoverOnchain, canSpendOffchain, canSweepOnchain, configureEventSource, convertVtxo, craftToSpendTx, decodeTapscript, defaultEmulatorPubkey, eventSourceIterator, fetch, fetchVtxoCreatedAtByTxid, formatSighash, getAllNormalizedVtxos, getArkPsbtFields, getConfiguredEventSource, getNetwork, getNormalizedVtxos, getSequence, hasTerminalSpend, isArkError, isEventSourceError, isEventSourceUnavailableError, isExpired, isFetchTimeoutError, isPastExpiry, isRecoverable, isRetryableProviderError, isSpendable, isVirtualCoin, maybeArkError, networks, normalizeVtxo, parseLegacyExpiry, rateGate, resolveEmulatorPubkey, resolveEventSource, resolveTimeHeight, scriptFromTapLeafScript, sdkVersion, sequenceToTimelock, setArkPsbtField, throwIfHttpUnavailable, timelockToSequence, toBatchExpiry, toOffchainInputFeeParams, toProviderUnavailable, toVirtualStatus };
2428
- //# sourceMappingURL=chunk-L5SCQYHF.js.map
2429
- //# sourceMappingURL=chunk-L5SCQYHF.js.map
2437
+ export { ArkAddress, ArkError, ArkErrorName, ArkPsbtFieldKey, ArkPsbtFieldKeyType, BITCOIN_EMULATOR_PUBKEY, CLTVMultisigTapscript, CSVMultisigTapscript, ConditionCSVMultisigTapscript, ConditionMultisigTapscript, ConditionWitness, CosignerPublicKey, DEFAULT_ARKADE_SERVER_URL, DEFAULT_NETWORK, DEFAULT_NETWORK_NAME, DEFAULT_PAGE_SIZE, DigestMismatchError, EventSourceUnavailableError, FetchError, INFO_FETCH_TIMEOUT_MS, Intent, MUTINYNET_EMULATOR_PUBKEY, MultisigTapscript, OP_RETURN_EMPTY_PKSCRIPT, PrevArkTxField, PrevoutTxField, ProviderUnavailableError, REGTEST_EMULATOR_PUBKEY, RestArkProvider, SCRIPT_QUERY_CHUNK_SIZE, ServerResponseMismatchError, SettlementEventType, TapTreeCoder, Transaction, VtxoScript, VtxoTaprootTree, VtxoTreeExpiry, assembleBtcdTaprootTree, assertAllowedSighashTypes, baseFetch, buildVersion, canRecoverOnchain, canSpendOffchain, canSweepOnchain, configureEventSource, convertVtxo, craftToSpendTx, decodeTapscript, defaultEmulatorPubkey, eventSourceIterator, fetch, fetchVtxoCreatedAtByTxid, formatSighash, getAllNormalizedVtxos, getArkPsbtFields, getConfiguredEventSource, getNetwork, getNormalizedVtxos, getSequence, hasTerminalSpend, isArkError, isEventSourceError, isEventSourceUnavailableError, isExpired, isFetchTimeoutError, isPastExpiry, isRecoverable, isRetryableProviderError, isSpendable, isVirtualCoin, maybeArkError, networkFromArkadeInfo, networks, normalizeVtxo, parseLegacyExpiry, rateGate, resolveEmulatorPubkey, resolveEventSource, resolveTimeHeight, scriptFromTapLeafScript, sdkVersion, sequenceToTimelock, setArkPsbtField, throwIfHttpUnavailable, timelockToSequence, toBatchExpiry, toOffchainInputFeeParams, toProviderUnavailable, toVirtualStatus };
2438
+ //# sourceMappingURL=chunk-6COJWPBO.js.map
2439
+ //# sourceMappingURL=chunk-6COJWPBO.js.map