@arkade-os/sdk 0.4.51 → 0.4.52

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 (72) hide show
  1. package/README.md +4 -2
  2. package/dist/adapters/expo.cjs +4 -4
  3. package/dist/adapters/expo.d.cts +2 -2
  4. package/dist/adapters/expo.d.ts +2 -2
  5. package/dist/adapters/expo.js +2 -2
  6. package/dist/adapters/indexedDB.cjs +4 -4
  7. package/dist/adapters/indexedDB.js +3 -3
  8. package/dist/{ark-9V45Anrs.d.cts → ark-B69ugeJw.d.cts} +31 -3
  9. package/dist/{ark-9V45Anrs.d.ts → ark-B69ugeJw.d.ts} +31 -3
  10. package/dist/{asyncStorageTaskQueue-BZjR843B.d.ts → asyncStorageTaskQueue-BImF14sj.d.ts} +2 -2
  11. package/dist/{asyncStorageTaskQueue-B6nXJv7m.d.cts → asyncStorageTaskQueue-DScPdQAy.d.cts} +2 -2
  12. package/dist/{chunk-3E4GDBYU.cjs → chunk-3Z5HK35D.cjs} +7 -7
  13. package/dist/{chunk-3E4GDBYU.cjs.map → chunk-3Z5HK35D.cjs.map} +1 -1
  14. package/dist/{chunk-4KGT3IP2.js → chunk-3ZGANANS.js} +3 -3
  15. package/dist/{chunk-4KGT3IP2.js.map → chunk-3ZGANANS.js.map} +1 -1
  16. package/dist/{chunk-TS2MTRP4.js → chunk-AXCKRS2D.js} +53 -23
  17. package/dist/chunk-AXCKRS2D.js.map +1 -0
  18. package/dist/{chunk-5AT2NV5G.cjs → chunk-E6RT5XYB.cjs} +11 -11
  19. package/dist/{chunk-5AT2NV5G.cjs.map → chunk-E6RT5XYB.cjs.map} +1 -1
  20. package/dist/{chunk-FHDUEBBC.cjs → chunk-FZPYPEWN.cjs} +3 -3
  21. package/dist/{chunk-FHDUEBBC.cjs.map → chunk-FZPYPEWN.cjs.map} +1 -1
  22. package/dist/{chunk-LJQ2VQBE.cjs → chunk-IEMPH7J6.cjs} +52 -44
  23. package/dist/chunk-IEMPH7J6.cjs.map +1 -0
  24. package/dist/{chunk-6XF6ZATZ.cjs → chunk-ML33GFCH.cjs} +238 -207
  25. package/dist/chunk-ML33GFCH.cjs.map +1 -0
  26. package/dist/{chunk-MBSYQ3WX.js → chunk-UZLQUWYP.js} +52 -45
  27. package/dist/chunk-UZLQUWYP.js.map +1 -0
  28. package/dist/{chunk-6T5BBPKO.js → chunk-WIVQWYPZ.js} +3 -3
  29. package/dist/{chunk-6T5BBPKO.js.map → chunk-WIVQWYPZ.js.map} +1 -1
  30. package/dist/{chunk-3AOTJZQ4.js → chunk-ZK3JITHP.js} +3 -3
  31. package/dist/{chunk-3AOTJZQ4.js.map → chunk-ZK3JITHP.js.map} +1 -1
  32. package/dist/contracts/handlers/index.cjs +7 -7
  33. package/dist/contracts/handlers/index.d.cts +3 -3
  34. package/dist/contracts/handlers/index.d.ts +3 -3
  35. package/dist/contracts/handlers/index.js +1 -1
  36. package/dist/{delegate-CJkolr2s.d.ts → delegate-BU-Cpyjw.d.ts} +1 -1
  37. package/dist/{delegate-tVTPM4fm.d.cts → delegate-C_Y2YrXC.d.cts} +1 -1
  38. package/dist/{index-B5Fdwzs_.d.ts → index-BWF-C9eh.d.ts} +2 -2
  39. package/dist/{index-BBAffp_8.d.cts → index-tzAInyiX.d.cts} +2 -2
  40. package/dist/index.cjs +161 -157
  41. package/dist/index.d.cts +8 -8
  42. package/dist/index.d.ts +8 -8
  43. package/dist/index.js +3 -3
  44. package/dist/repositories/realm/index.cjs +18 -18
  45. package/dist/repositories/realm/index.d.cts +2 -2
  46. package/dist/repositories/realm/index.d.ts +2 -2
  47. package/dist/repositories/realm/index.js +4 -4
  48. package/dist/repositories/sqlite/index.cjs +17 -17
  49. package/dist/repositories/sqlite/index.d.cts +2 -2
  50. package/dist/repositories/sqlite/index.d.ts +2 -2
  51. package/dist/repositories/sqlite/index.js +4 -4
  52. package/dist/{taskRunner-TgdjRf_b.d.ts → taskRunner-Cf80BqSy.d.ts} +2 -2
  53. package/dist/{taskRunner-4CrJaWHv.d.cts → taskRunner-ClwI8jU8.d.cts} +2 -2
  54. package/dist/wallet/expo/background.cjs +13 -13
  55. package/dist/wallet/expo/background.d.cts +3 -3
  56. package/dist/wallet/expo/background.d.ts +3 -3
  57. package/dist/wallet/expo/background.js +5 -5
  58. package/dist/wallet/expo/index.cjs +13 -13
  59. package/dist/wallet/expo/index.d.cts +4 -4
  60. package/dist/wallet/expo/index.d.ts +4 -4
  61. package/dist/wallet/expo/index.js +4 -4
  62. package/dist/{wallet-BBfhZx_Z.d.cts → wallet-B6Xiferv.d.cts} +16 -5
  63. package/dist/{wallet-CSSTN8Yc.d.ts → wallet-CuHAI-eW.d.ts} +16 -5
  64. package/dist/worker/expo/index.cjs +8 -8
  65. package/dist/worker/expo/index.d.cts +4 -4
  66. package/dist/worker/expo/index.d.ts +4 -4
  67. package/dist/worker/expo/index.js +4 -4
  68. package/package.json +1 -1
  69. package/dist/chunk-6XF6ZATZ.cjs.map +0 -1
  70. package/dist/chunk-LJQ2VQBE.cjs.map +0 -1
  71. package/dist/chunk-MBSYQ3WX.js.map +0 -1
  72. package/dist/chunk-TS2MTRP4.js.map +0 -1
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunk3E4GDBYU_cjs = require('../../chunk-3E4GDBYU.cjs');
4
- var chunk6XF6ZATZ_cjs = require('../../chunk-6XF6ZATZ.cjs');
5
- var chunkFHDUEBBC_cjs = require('../../chunk-FHDUEBBC.cjs');
6
- require('../../chunk-LJQ2VQBE.cjs');
3
+ var chunk3Z5HK35D_cjs = require('../../chunk-3Z5HK35D.cjs');
4
+ var chunkML33GFCH_cjs = require('../../chunk-ML33GFCH.cjs');
5
+ var chunkFZPYPEWN_cjs = require('../../chunk-FZPYPEWN.cjs');
6
+ require('../../chunk-IEMPH7J6.cjs');
7
7
  require('../../chunk-E7HB3GKK.cjs');
8
8
  require('../../chunk-5BLDMQED.cjs');
9
9
  var base = require('@scure/base');
@@ -58,18 +58,18 @@ var ExpoWallet = class _ExpoWallet {
58
58
  */
59
59
  static async setup(config) {
60
60
  warnOnRemovedBackgroundFields(config.background);
61
- const wallet = await chunk6XF6ZATZ_cjs.Wallet.create(config);
62
- const processors = config.background.processors ?? [chunk3E4GDBYU_cjs.contractPollProcessor];
61
+ const wallet = await chunkML33GFCH_cjs.Wallet.create(config);
62
+ const processors = config.background.processors ?? [chunk3Z5HK35D_cjs.contractPollProcessor];
63
63
  const deps = {
64
64
  walletRepository: wallet.walletRepository,
65
65
  contractRepository: wallet.contractRepository,
66
66
  indexerProvider: wallet.indexerProvider,
67
67
  arkProvider: wallet.arkProvider,
68
- extendVtxo: (vtxo, contract) => chunk6XF6ZATZ_cjs.extendVirtualCoinForContract(vtxo, contract)
68
+ extendVtxo: (vtxo, contract) => chunkML33GFCH_cjs.extendVirtualCoinForContract(vtxo, contract)
69
69
  };
70
70
  const { taskQueue } = config.background;
71
71
  if ("persistConfig" in taskQueue) {
72
- const arkServerUrl = config.arkServerUrl || (wallet.arkProvider instanceof chunkFHDUEBBC_cjs.RestArkProvider ? wallet.arkProvider.serverUrl : void 0);
72
+ const arkServerUrl = config.arkServerUrl || (wallet.arkProvider instanceof chunkFZPYPEWN_cjs.RestArkProvider ? wallet.arkProvider.serverUrl : void 0);
73
73
  if (arkServerUrl) {
74
74
  const timelock = wallet.offchainTapscript.options.csvTimelock;
75
75
  const bgConfig = {
@@ -100,7 +100,7 @@ var ExpoWallet = class _ExpoWallet {
100
100
  }
101
101
  async runForegroundPoll() {
102
102
  if (this.cleared) return;
103
- await chunk3E4GDBYU_cjs.runTasks(this.taskQueue, this.processors, this.deps);
103
+ await chunk3Z5HK35D_cjs.runTasks(this.taskQueue, this.processors, this.deps);
104
104
  const results = await this.taskQueue.getResults();
105
105
  if (results.length > 0) {
106
106
  await this.taskQueue.acknowledgeResults(results.map((r) => r.id));
@@ -109,18 +109,18 @@ var ExpoWallet = class _ExpoWallet {
109
109
  await this.seedContractPollTask();
110
110
  }
111
111
  async seedContractPollTask() {
112
- const existing = await this.taskQueue.getTasks(chunk3E4GDBYU_cjs.CONTRACT_POLL_TASK_TYPE);
112
+ const existing = await this.taskQueue.getTasks(chunk3Z5HK35D_cjs.CONTRACT_POLL_TASK_TYPE);
113
113
  if (existing.length > 0) return;
114
114
  const task = {
115
- id: chunk6XF6ZATZ_cjs.getRandomId(),
116
- type: chunk3E4GDBYU_cjs.CONTRACT_POLL_TASK_TYPE,
115
+ id: chunkML33GFCH_cjs.getRandomId(),
116
+ type: chunk3Z5HK35D_cjs.CONTRACT_POLL_TASK_TYPE,
117
117
  data: {},
118
118
  createdAt: Date.now()
119
119
  };
120
120
  await this.taskQueue.addTask(task);
121
121
  }
122
122
  async removeContractPollTasks() {
123
- const tasks = await this.taskQueue.getTasks(chunk3E4GDBYU_cjs.CONTRACT_POLL_TASK_TYPE);
123
+ const tasks = await this.taskQueue.getTasks(chunk3Z5HK35D_cjs.CONTRACT_POLL_TASK_TYPE);
124
124
  for (const task of tasks) {
125
125
  await this.taskQueue.removeTask(task.id);
126
126
  }
@@ -1,10 +1,10 @@
1
- import { W as Wallet, P as ProviderConnectionState } from '../../wallet-BBfhZx_Z.cjs';
2
- import { I as IWallet, a as Identity, b as WalletConfig, c as WalletBalance, G as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, E as ExtendedCoin, A as ArkTransaction, d as ActivityRegistry, e as Activity, f as IContractManager, g as IDelegateManager, S as SendBitcoinParams, h as SettleParams, i as SettlementEvent, R as Recipient, j as IAssetManager } from '../../ark-9V45Anrs.cjs';
3
- import { a as TaskQueue, T as TaskProcessor } from '../../taskRunner-4CrJaWHv.cjs';
1
+ import { W as Wallet, P as ProviderConnectionState } from '../../wallet-B6Xiferv.cjs';
2
+ import { I as IWallet, a as Identity, b as WalletConfig, c as WalletBalance, G as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, E as ExtendedCoin, A as ArkTransaction, d as ActivityRegistry, e as Activity, f as IContractManager, g as IDelegateManager, S as SendBitcoinParams, h as SettleParams, i as SettlementEvent, R as Recipient, j as IAssetManager } from '../../ark-B69ugeJw.cjs';
3
+ import { c as TaskQueue, T as TaskProcessor } from '../../taskRunner-ClwI8jU8.cjs';
4
4
  import '@scure/btc-signer';
5
5
  import '@scure/btc-signer/utils.js';
6
6
  import '@scure/btc-signer/psbt.js';
7
- import '../../delegate-tVTPM4fm.cjs';
7
+ import '../../delegate-C_Y2YrXC.cjs';
8
8
  import '@scure/btc-signer/transaction.js';
9
9
 
10
10
  /**
@@ -1,10 +1,10 @@
1
- import { W as Wallet, P as ProviderConnectionState } from '../../wallet-CSSTN8Yc.js';
2
- import { I as IWallet, a as Identity, b as WalletConfig, c as WalletBalance, G as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, E as ExtendedCoin, A as ArkTransaction, d as ActivityRegistry, e as Activity, f as IContractManager, g as IDelegateManager, S as SendBitcoinParams, h as SettleParams, i as SettlementEvent, R as Recipient, j as IAssetManager } from '../../ark-9V45Anrs.js';
3
- import { a as TaskQueue, T as TaskProcessor } from '../../taskRunner-TgdjRf_b.js';
1
+ import { W as Wallet, P as ProviderConnectionState } from '../../wallet-CuHAI-eW.js';
2
+ import { I as IWallet, a as Identity, b as WalletConfig, c as WalletBalance, G as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, E as ExtendedCoin, A as ArkTransaction, d as ActivityRegistry, e as Activity, f as IContractManager, g as IDelegateManager, S as SendBitcoinParams, h as SettleParams, i as SettlementEvent, R as Recipient, j as IAssetManager } from '../../ark-B69ugeJw.js';
3
+ import { c as TaskQueue, T as TaskProcessor } from '../../taskRunner-Cf80BqSy.js';
4
4
  import '@scure/btc-signer';
5
5
  import '@scure/btc-signer/utils.js';
6
6
  import '@scure/btc-signer/psbt.js';
7
- import '../../delegate-CJkolr2s.js';
7
+ import '../../delegate-BU-Cpyjw.js';
8
8
  import '@scure/btc-signer/transaction.js';
9
9
 
10
10
  /**
@@ -1,7 +1,7 @@
1
- import { contractPollProcessor, runTasks, CONTRACT_POLL_TASK_TYPE } from '../../chunk-4KGT3IP2.js';
2
- import { Wallet, getRandomId, extendVirtualCoinForContract } from '../../chunk-TS2MTRP4.js';
3
- import { RestArkProvider } from '../../chunk-3AOTJZQ4.js';
4
- import '../../chunk-MBSYQ3WX.js';
1
+ import { contractPollProcessor, runTasks, CONTRACT_POLL_TASK_TYPE } from '../../chunk-3ZGANANS.js';
2
+ import { Wallet, getRandomId, extendVirtualCoinForContract } from '../../chunk-AXCKRS2D.js';
3
+ import { RestArkProvider } from '../../chunk-ZK3JITHP.js';
4
+ import '../../chunk-UZLQUWYP.js';
5
5
  import '../../chunk-EFNLTS6Q.js';
6
6
  import '../../chunk-NSBPE2FW.js';
7
7
  import { hex } from '@scure/base';
@@ -1,8 +1,8 @@
1
1
  import { Transaction } from '@scure/btc-signer';
2
2
  import { Bytes } from '@scure/btc-signer/utils.js';
3
- import { J as BatchStartedEvent, K as TreeSigningStartedEvent, L as TxTree, M as TreeNoncesEvent, P as BatchFinalizationEvent, Q as BatchFinalizedEvent, U as BatchFailedEvent, X as TreeTxEvent, Y as TreeSignatureEvent, i as SettlementEvent, b as WalletConfig, W as WalletRepository, C as ContractRepository, Z as DescriptorProvider, f as IContractManager, _ as IReadonlyWallet, $ as ReadonlyIdentity, a0 as Network, a1 as OnchainProvider, o as IndexerProvider, a2 as DelegateProvider, a3 as ReadonlyWalletConfig, x as IntentRepository, B as VirtualTxRepository, a4 as ExitCaptureMode, a5 as ExitDataSource, p as RelativeTimelock, d as ActivityRegistry, a6 as IReadonlyAssetManager, a7 as ContractSyncState, n as ArkProvider, a8 as NetworkName, a9 as ArkInfo, aa as ArkAddress, c as WalletBalance, G as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, A as ArkTransaction, e as Activity, E as ExtendedCoin, ab as Coin, t as ExtendedVirtualCoin, ac as ContractManager, ad as ContractManagerConfig, I as IWallet, a as Identity, ae as CSVMultisigTapscript, af as SettlementConfig, j as IAssetManager, ag as VtxoManager, g as IDelegateManager, S as SendBitcoinParams, h as SettleParams, R as Recipient, ah as SignerSession, ai as SignedIntent, aj as Intent, ak as TimeHeight } from './ark-9V45Anrs.cjs';
3
+ import { B as BatchStartedEvent, u as TreeSigningStartedEvent, v as TxTree, w as TreeNoncesEvent, x as BatchFinalizationEvent, y as BatchFinalizedEvent, z as BatchFailedEvent, D as TreeTxEvent, F as TreeSignatureEvent, i as SettlementEvent, b as WalletConfig, W as WalletRepository, C as ContractRepository, H as DescriptorProvider, f as IContractManager, J as IReadonlyWallet, K as ReadonlyIdentity, L as Network, O as OnchainProvider, o as IndexerProvider, M as DelegateProvider, P as ReadonlyWalletConfig, Q as IntentRepository, U as VirtualTxRepository, X as ExitCaptureMode, Y as ExitDataSource, p as RelativeTimelock, d as ActivityRegistry, Z as IReadonlyAssetManager, _ as ContractSyncState, n as ArkProvider, $ as NetworkName, a0 as ArkInfo, a1 as ArkAddress, c as WalletBalance, G as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, A as ArkTransaction, e as Activity, E as ExtendedCoin, a2 as Coin, t as ExtendedVirtualCoin, a3 as ContractManager, a4 as ContractManagerConfig, I as IWallet, a as Identity, a5 as CSVMultisigTapscript, a6 as SettlementConfig, j as IAssetManager, a7 as VtxoManager, g as IDelegateManager, S as SendBitcoinParams, h as SettleParams, R as Recipient, a8 as SignerSession, a9 as SignedIntent, aa as Intent, ab as TimeHeight } from './ark-B69ugeJw.cjs';
4
4
  import { TransactionOutput } from '@scure/btc-signer/psbt.js';
5
- import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-tVTPM4fm.cjs';
5
+ import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-C_Y2YrXC.cjs';
6
6
 
7
7
  declare class ArkError extends Error {
8
8
  readonly code: number;
@@ -1048,11 +1048,22 @@ declare class Wallet extends ReadonlyWallet implements IWallet {
1048
1048
  * Only HD wallets have a watermark to look ahead of; static / `auto`
1049
1049
  * wallets keep a single index-0 receive address, so the feature stays off.
1050
1050
  *
1051
- * `materialize` reads `this.offchainTapscript` at call time, so a refill
1052
- * after {@link rotateServerSigner} rebuilds the band under the active
1053
- * signer (persisted old-signer rows stay watched through the repository).
1051
+ * `candidateDeps` is read at refill time, so a band rebuilt after
1052
+ * {@link rotateServerSigner} fans the active signer set (persisted
1053
+ * old-signer rows stay watched through the repository).
1054
1054
  */
1055
1055
  protected lookAheadConfig(): ContractManagerConfig["lookAhead"];
1056
+ /**
1057
+ * Every axis an externally issued receive script could be anchored to, not
1058
+ * just the wallet's own current shape: an issuer sharing the seed (NArk, a
1059
+ * merchant backend) picks its own contract type, and a band derived from one
1060
+ * variant silently misses the rest until a `restore()`.
1061
+ *
1062
+ * Read from cached state, not a fresh `getInfo`, to stay synchronous and
1063
+ * offline-safe; {@link refreshDeprecatedSigners} and
1064
+ * {@link rotateServerSigner} keep it current and re-trigger a refill.
1065
+ */
1066
+ private receiveCandidateDeps;
1056
1067
  private readonly _signerRouter;
1057
1068
  /**
1058
1069
  * @internal Sole write path for `offchainTapscript` after construction.
@@ -1,8 +1,8 @@
1
1
  import { Transaction } from '@scure/btc-signer';
2
2
  import { Bytes } from '@scure/btc-signer/utils.js';
3
- import { J as BatchStartedEvent, K as TreeSigningStartedEvent, L as TxTree, M as TreeNoncesEvent, P as BatchFinalizationEvent, Q as BatchFinalizedEvent, U as BatchFailedEvent, X as TreeTxEvent, Y as TreeSignatureEvent, i as SettlementEvent, b as WalletConfig, W as WalletRepository, C as ContractRepository, Z as DescriptorProvider, f as IContractManager, _ as IReadonlyWallet, $ as ReadonlyIdentity, a0 as Network, a1 as OnchainProvider, o as IndexerProvider, a2 as DelegateProvider, a3 as ReadonlyWalletConfig, x as IntentRepository, B as VirtualTxRepository, a4 as ExitCaptureMode, a5 as ExitDataSource, p as RelativeTimelock, d as ActivityRegistry, a6 as IReadonlyAssetManager, a7 as ContractSyncState, n as ArkProvider, a8 as NetworkName, a9 as ArkInfo, aa as ArkAddress, c as WalletBalance, G as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, A as ArkTransaction, e as Activity, E as ExtendedCoin, ab as Coin, t as ExtendedVirtualCoin, ac as ContractManager, ad as ContractManagerConfig, I as IWallet, a as Identity, ae as CSVMultisigTapscript, af as SettlementConfig, j as IAssetManager, ag as VtxoManager, g as IDelegateManager, S as SendBitcoinParams, h as SettleParams, R as Recipient, ah as SignerSession, ai as SignedIntent, aj as Intent, ak as TimeHeight } from './ark-9V45Anrs.js';
3
+ import { B as BatchStartedEvent, u as TreeSigningStartedEvent, v as TxTree, w as TreeNoncesEvent, x as BatchFinalizationEvent, y as BatchFinalizedEvent, z as BatchFailedEvent, D as TreeTxEvent, F as TreeSignatureEvent, i as SettlementEvent, b as WalletConfig, W as WalletRepository, C as ContractRepository, H as DescriptorProvider, f as IContractManager, J as IReadonlyWallet, K as ReadonlyIdentity, L as Network, O as OnchainProvider, o as IndexerProvider, M as DelegateProvider, P as ReadonlyWalletConfig, Q as IntentRepository, U as VirtualTxRepository, X as ExitCaptureMode, Y as ExitDataSource, p as RelativeTimelock, d as ActivityRegistry, Z as IReadonlyAssetManager, _ as ContractSyncState, n as ArkProvider, $ as NetworkName, a0 as ArkInfo, a1 as ArkAddress, c as WalletBalance, G as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, A as ArkTransaction, e as Activity, E as ExtendedCoin, a2 as Coin, t as ExtendedVirtualCoin, a3 as ContractManager, a4 as ContractManagerConfig, I as IWallet, a as Identity, a5 as CSVMultisigTapscript, a6 as SettlementConfig, j as IAssetManager, a7 as VtxoManager, g as IDelegateManager, S as SendBitcoinParams, h as SettleParams, R as Recipient, a8 as SignerSession, a9 as SignedIntent, aa as Intent, ab as TimeHeight } from './ark-B69ugeJw.js';
4
4
  import { TransactionOutput } from '@scure/btc-signer/psbt.js';
5
- import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-CJkolr2s.js';
5
+ import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-BU-Cpyjw.js';
6
6
 
7
7
  declare class ArkError extends Error {
8
8
  readonly code: number;
@@ -1048,11 +1048,22 @@ declare class Wallet extends ReadonlyWallet implements IWallet {
1048
1048
  * Only HD wallets have a watermark to look ahead of; static / `auto`
1049
1049
  * wallets keep a single index-0 receive address, so the feature stays off.
1050
1050
  *
1051
- * `materialize` reads `this.offchainTapscript` at call time, so a refill
1052
- * after {@link rotateServerSigner} rebuilds the band under the active
1053
- * signer (persisted old-signer rows stay watched through the repository).
1051
+ * `candidateDeps` is read at refill time, so a band rebuilt after
1052
+ * {@link rotateServerSigner} fans the active signer set (persisted
1053
+ * old-signer rows stay watched through the repository).
1054
1054
  */
1055
1055
  protected lookAheadConfig(): ContractManagerConfig["lookAhead"];
1056
+ /**
1057
+ * Every axis an externally issued receive script could be anchored to, not
1058
+ * just the wallet's own current shape: an issuer sharing the seed (NArk, a
1059
+ * merchant backend) picks its own contract type, and a band derived from one
1060
+ * variant silently misses the rest until a `restore()`.
1061
+ *
1062
+ * Read from cached state, not a fresh `getInfo`, to stay synchronous and
1063
+ * offline-safe; {@link refreshDeprecatedSigners} and
1064
+ * {@link rotateServerSigner} keep it current and re-trigger a refill.
1065
+ */
1066
+ private receiveCandidateDeps;
1056
1067
  private readonly _signerRouter;
1057
1068
  /**
1058
1069
  * @internal Sole write path for `offchainTapscript` after construction.
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunk3E4GDBYU_cjs = require('../../chunk-3E4GDBYU.cjs');
4
- require('../../chunk-6XF6ZATZ.cjs');
5
- require('../../chunk-FHDUEBBC.cjs');
6
- require('../../chunk-LJQ2VQBE.cjs');
3
+ var chunk3Z5HK35D_cjs = require('../../chunk-3Z5HK35D.cjs');
4
+ require('../../chunk-ML33GFCH.cjs');
5
+ require('../../chunk-FZPYPEWN.cjs');
6
+ require('../../chunk-IEMPH7J6.cjs');
7
7
  require('../../chunk-E7HB3GKK.cjs');
8
8
  require('../../chunk-5BLDMQED.cjs');
9
9
 
@@ -121,19 +121,19 @@ var AsyncStorageTaskQueue = class {
121
121
 
122
122
  Object.defineProperty(exports, "CONTRACT_POLL_TASK_TYPE", {
123
123
  enumerable: true,
124
- get: function () { return chunk3E4GDBYU_cjs.CONTRACT_POLL_TASK_TYPE; }
124
+ get: function () { return chunk3Z5HK35D_cjs.CONTRACT_POLL_TASK_TYPE; }
125
125
  });
126
126
  Object.defineProperty(exports, "contractPollProcessor", {
127
127
  enumerable: true,
128
- get: function () { return chunk3E4GDBYU_cjs.contractPollProcessor; }
128
+ get: function () { return chunk3Z5HK35D_cjs.contractPollProcessor; }
129
129
  });
130
130
  Object.defineProperty(exports, "createTaskDependencies", {
131
131
  enumerable: true,
132
- get: function () { return chunk3E4GDBYU_cjs.createTaskDependencies; }
132
+ get: function () { return chunk3Z5HK35D_cjs.createTaskDependencies; }
133
133
  });
134
134
  Object.defineProperty(exports, "runTasks", {
135
135
  enumerable: true,
136
- get: function () { return chunk3E4GDBYU_cjs.runTasks; }
136
+ get: function () { return chunk3Z5HK35D_cjs.runTasks; }
137
137
  });
138
138
  exports.AsyncStorageTaskQueue = AsyncStorageTaskQueue;
139
139
  exports.InMemoryTaskQueue = InMemoryTaskQueue;
@@ -1,7 +1,7 @@
1
- import { T as TaskProcessor } from '../../taskRunner-4CrJaWHv.cjs';
2
- export { C as CreateTaskDependenciesOptions, I as InMemoryTaskQueue, b as TaskDependencies, c as TaskItem, a as TaskQueue, d as TaskResult, e as createTaskDependencies, r as runTasks } from '../../taskRunner-4CrJaWHv.cjs';
3
- export { a as AsyncStorageLike, A as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-B6nXJv7m.cjs';
4
- import '../../ark-9V45Anrs.cjs';
1
+ import { T as TaskProcessor } from '../../taskRunner-ClwI8jU8.cjs';
2
+ export { C as CreateTaskDependenciesOptions, I as InMemoryTaskQueue, a as TaskDependencies, b as TaskItem, c as TaskQueue, d as TaskResult, e as createTaskDependencies, r as runTasks } from '../../taskRunner-ClwI8jU8.cjs';
3
+ export { A as AsyncStorageLike, a as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-DScPdQAy.cjs';
4
+ import '../../ark-B69ugeJw.cjs';
5
5
  import '@scure/btc-signer/transaction.js';
6
6
  import '@scure/btc-signer/utils.js';
7
7
  import '@scure/btc-signer/psbt.js';
@@ -1,7 +1,7 @@
1
- import { T as TaskProcessor } from '../../taskRunner-TgdjRf_b.js';
2
- export { C as CreateTaskDependenciesOptions, I as InMemoryTaskQueue, b as TaskDependencies, c as TaskItem, a as TaskQueue, d as TaskResult, e as createTaskDependencies, r as runTasks } from '../../taskRunner-TgdjRf_b.js';
3
- export { a as AsyncStorageLike, A as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-BZjR843B.js';
4
- import '../../ark-9V45Anrs.js';
1
+ import { T as TaskProcessor } from '../../taskRunner-Cf80BqSy.js';
2
+ export { C as CreateTaskDependenciesOptions, I as InMemoryTaskQueue, a as TaskDependencies, b as TaskItem, c as TaskQueue, d as TaskResult, e as createTaskDependencies, r as runTasks } from '../../taskRunner-Cf80BqSy.js';
3
+ export { A as AsyncStorageLike, a as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-BImF14sj.js';
4
+ import '../../ark-B69ugeJw.js';
5
5
  import '@scure/btc-signer/transaction.js';
6
6
  import '@scure/btc-signer/utils.js';
7
7
  import '@scure/btc-signer/psbt.js';
@@ -1,7 +1,7 @@
1
- export { CONTRACT_POLL_TASK_TYPE, contractPollProcessor, createTaskDependencies, runTasks } from '../../chunk-4KGT3IP2.js';
2
- import '../../chunk-TS2MTRP4.js';
3
- import '../../chunk-3AOTJZQ4.js';
4
- import '../../chunk-MBSYQ3WX.js';
1
+ export { CONTRACT_POLL_TASK_TYPE, contractPollProcessor, createTaskDependencies, runTasks } from '../../chunk-3ZGANANS.js';
2
+ import '../../chunk-AXCKRS2D.js';
3
+ import '../../chunk-ZK3JITHP.js';
4
+ import '../../chunk-UZLQUWYP.js';
5
5
  import '../../chunk-EFNLTS6Q.js';
6
6
  import '../../chunk-NSBPE2FW.js';
7
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkade-os/sdk",
3
- "version": "0.4.51",
3
+ "version": "0.4.52",
4
4
  "description": "TypeScript SDK for building Bitcoin wallets using the Arkade protocol",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",