@laceio/sdk 0.1.2-canary.0 → 0.1.2-canary.2

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 (42) hide show
  1. package/dist/{TransactionBuilder-CCjOn7NA.cjs → TransactionBuilder-X1H9Gze6.cjs} +22 -14
  2. package/dist/{TransactionBuilder-CIzdw18M.js → TransactionBuilder-bp2aMDhg.js} +22 -14
  3. package/dist/bitcoin.cjs +3 -3
  4. package/dist/bitcoin.d.ts +8 -0
  5. package/dist/bitcoin.js +3 -3
  6. package/dist/cardano.cjs +3 -3
  7. package/dist/cardano.d.ts +19 -5
  8. package/dist/cardano.js +3 -3
  9. package/dist/{contract-1R86jhSw.js → contract-D-ZzR8jz.js} +1 -1
  10. package/dist/{contract-MKLzYVkW.cjs → contract-DtD0r5iC.cjs} +1 -1
  11. package/dist/{delegation-tx-builder-CCjiakoy.cjs → delegation-tx-builder-Dof_0N_d.cjs} +1 -1
  12. package/dist/{delegation-tx-builder-DZFjHDS8.js → delegation-tx-builder-Dy3-2Auz.js} +1 -1
  13. package/dist/{deregistration-tx-builder-CQP35yex.cjs → deregistration-tx-builder-CcLwyFpj.cjs} +1 -1
  14. package/dist/{deregistration-tx-builder-Bf6xAYp4.js → deregistration-tx-builder-QkWW_gWl.js} +1 -1
  15. package/dist/{earn-rewards-tx-builder-GuxofYns.cjs → earn-rewards-tx-builder-BP5JMIKS.cjs} +1 -1
  16. package/dist/{earn-rewards-tx-builder-Bsga3yFb.js → earn-rewards-tx-builder-Cku4BmNU.js} +1 -1
  17. package/dist/experimental.cjs +5 -5
  18. package/dist/experimental.d.ts +19 -5
  19. package/dist/experimental.js +5 -5
  20. package/dist/index.cjs +5 -5
  21. package/dist/index.d.ts +19 -5
  22. package/dist/index.js +5 -5
  23. package/dist/{init-EhzD7a8i.cjs → init-BbBErqEW.cjs} +1 -1
  24. package/dist/{init-kEfUTuG2.js → init-BozmDPvs.js} +1 -1
  25. package/dist/{init-CuW7rHNA.js → init-C5mYyFTv.js} +1 -1
  26. package/dist/{init-DrRdf5sZ.cjs → init-Clu8pxwQ.cjs} +9 -4
  27. package/dist/{init-Cz0rz5fU.cjs → init-DRzJR02G.cjs} +1 -1
  28. package/dist/{init-8v_n8boO.js → init-qSEd_Spq.js} +10 -5
  29. package/dist/midnight.cjs +1 -1
  30. package/dist/midnight.d.ts +8 -0
  31. package/dist/midnight.js +1 -1
  32. package/dist/{modules-cardano-B1nDUWqy.js → modules-cardano-BEEa2JyK.js} +8 -8
  33. package/dist/{modules-cardano-BYeYHrRm.cjs → modules-cardano-D8tsbKsR.cjs} +8 -8
  34. package/dist/{sdk-DffwmX8b.cjs → sdk-BQEnJnHI.cjs} +2 -2
  35. package/dist/{sdk-Cb-gZnS9.js → sdk-CnhR4Owy.js} +2 -2
  36. package/dist/{slice-DnBWfA-k.cjs → slice-BhL_wp-Q.cjs} +6 -0
  37. package/dist/{slice-BPNuHKfw.js → slice-Cai7mFoA.js} +6 -0
  38. package/dist/{submit-bitcoin-tx-goFuRL7K.cjs → submit-bitcoin-tx-DKvI_68a.cjs} +2 -2
  39. package/dist/{submit-bitcoin-tx-D6oYgH5S.js → submit-bitcoin-tx-DrruzXGi.js} +2 -2
  40. package/dist/{vote-delegation-tx-builder-C6FiS7zI.js → vote-delegation-tx-builder-BsBSDmcX.js} +1 -1
  41. package/dist/{vote-delegation-tx-builder-BUg1S2Ep.cjs → vote-delegation-tx-builder-DSs8nybk.cjs} +1 -1
  42. package/package.json +1 -1
@@ -779,8 +779,12 @@ const correctFeeAfterEvaluation = ({ balancedTx, evaluatedRedeemers, resolvedInp
779
779
  let fee = seedFee;
780
780
  let priced = priceAt(fee);
781
781
  for (let iteration = 0; iteration < MAX_FEE_CORRECTION_ITERATIONS && priced.requiredFee < fee; iteration++) {
782
- const candidateFee = priced.requiredFee;
783
- const candidatePriced = priceAt(candidateFee);
782
+ let candidateFee = priced.requiredFee;
783
+ let candidatePriced = priceAt(candidateFee);
784
+ for (let climb = 0; climb < MAX_FEE_CORRECTION_ITERATIONS && candidatePriced.requiredFee > candidateFee && candidatePriced.requiredFee < fee; climb++) {
785
+ candidateFee = candidatePriced.requiredFee;
786
+ candidatePriced = priceAt(candidateFee);
787
+ }
784
788
  if (candidatePriced.requiredFee > candidateFee) break;
785
789
  fee = candidateFee;
786
790
  priced = candidatePriced;
@@ -1975,9 +1979,14 @@ var TransactionBuilder = class {
1975
1979
  }
1976
1980
  /**
1977
1981
  * Sets the pool of UTxOs the builder may draw collateral from for a Plutus
1978
- * transaction. The builder selects largest-first, may combine several to
1979
- * cover the required collateral, and returns the unused portion (incl. native
1980
- * assets) to the collateral change address.
1982
+ * transaction. The builder selects largest-first and may combine several to
1983
+ * cover the required collateral. A collateral return sends the unused portion
1984
+ * (incl. native assets) to the collateral change address on script failure;
1985
+ * an ADA-only remainder below min-ADA may be absorbed into total collateral.
1986
+ *
1987
+ * The pool may overlap `setUnspentOutputs`; overlapping UTxOs may be spent as
1988
+ * funding inputs on success. To keep a dedicated collateral UTxO unspent,
1989
+ * supply it only here, not to `setUnspentOutputs` or `addInput`.
1981
1990
  *
1982
1991
  * @param utxos - Candidate collateral UTxOs (need not be pure ADA).
1983
1992
  * @returns `this` for fluent chaining.
@@ -2226,8 +2235,6 @@ var TransactionBuilder = class {
2226
2235
  const seeded = this.buildCollateralFields(reservedCollateral, coverageTarget);
2227
2236
  unbalancedTx.body.totalCollateral = seeded.totalCollateral;
2228
2237
  if (seeded.collateralReturn) unbalancedTx.body.collateralReturn = seeded.collateralReturn;
2229
- const reservedKeys = new Set(reservedCollateral.map(utxoRefKey));
2230
- spendableUtxos = this.availableUtxos.filter((utxo) => !reservedKeys.has(utxoRefKey(utxo)));
2231
2238
  }
2232
2239
  if (this.referenceUtxos.length > 0) spendableUtxos = spendableUtxos.filter((utxo) => !this.isReferenced(utxo));
2233
2240
  if (this.scripts.length > 0) unbalancedTx.witness.scripts = this.scripts;
@@ -2449,8 +2456,9 @@ var TransactionBuilder = class {
2449
2456
  }
2450
2457
  /**
2451
2458
  * Selects collateral inputs largest-first from `collateralUtxos`, combining
2452
- * up to `maxCollateralInputs` until they cover `coverAmount` and leave a
2453
- * return output (carrying any native assets) that meets the min-ADA rule.
2459
+ * up to `maxCollateralInputs` until they cover `coverAmount`. Native assets
2460
+ * and positive remainders under an execution estimate must fund a return
2461
+ * output; otherwise an ADA-only pick needs nothing further.
2454
2462
  *
2455
2463
  * @param coverAmount - Lovelace the selected collateral must cover.
2456
2464
  * @returns The selected collateral UTxOs.
@@ -2470,13 +2478,13 @@ var TransactionBuilder = class {
2470
2478
  const total = (0, _laceio_cardano_core.coalesceValueQuantities)(selected.map(([, out]) => out.value));
2471
2479
  if (total.coins < coverAmount) continue;
2472
2480
  const returnCoin = total.coins - coverAmount;
2473
- const hasAssets = (total.assets?.size ?? 0) > 0;
2474
- if (returnCoin === 0n && !hasAssets) return selected;
2475
- const returnValue = { coins: returnCoin };
2476
- if (hasAssets) returnValue.assets = total.assets;
2481
+ if (!((total.assets?.size ?? 0) > 0) && (this.plutusContext?.executionUnitsEstimate === void 0 || returnCoin === 0n)) return selected;
2477
2482
  if (returnCoin >= (0, _laceio_cardano_tx_construction.minAdaRequired)({
2478
2483
  address: returnAddress,
2479
- value: returnValue
2484
+ value: {
2485
+ coins: returnCoin,
2486
+ assets: total.assets
2487
+ }
2480
2488
  }, BigInt(this.params.coinsPerUtxoByte))) return selected;
2481
2489
  }
2482
2490
  throw new InsufficientCollateralError(`Collateral UTxOs cannot cover ${coverAmount} lovelace plus a valid return output (max ${maxInputs} inputs)`);
@@ -778,8 +778,12 @@ const correctFeeAfterEvaluation = ({ balancedTx, evaluatedRedeemers, resolvedInp
778
778
  let fee = seedFee;
779
779
  let priced = priceAt(fee);
780
780
  for (let iteration = 0; iteration < MAX_FEE_CORRECTION_ITERATIONS && priced.requiredFee < fee; iteration++) {
781
- const candidateFee = priced.requiredFee;
782
- const candidatePriced = priceAt(candidateFee);
781
+ let candidateFee = priced.requiredFee;
782
+ let candidatePriced = priceAt(candidateFee);
783
+ for (let climb = 0; climb < MAX_FEE_CORRECTION_ITERATIONS && candidatePriced.requiredFee > candidateFee && candidatePriced.requiredFee < fee; climb++) {
784
+ candidateFee = candidatePriced.requiredFee;
785
+ candidatePriced = priceAt(candidateFee);
786
+ }
783
787
  if (candidatePriced.requiredFee > candidateFee) break;
784
788
  fee = candidateFee;
785
789
  priced = candidatePriced;
@@ -1974,9 +1978,14 @@ var TransactionBuilder = class {
1974
1978
  }
1975
1979
  /**
1976
1980
  * Sets the pool of UTxOs the builder may draw collateral from for a Plutus
1977
- * transaction. The builder selects largest-first, may combine several to
1978
- * cover the required collateral, and returns the unused portion (incl. native
1979
- * assets) to the collateral change address.
1981
+ * transaction. The builder selects largest-first and may combine several to
1982
+ * cover the required collateral. A collateral return sends the unused portion
1983
+ * (incl. native assets) to the collateral change address on script failure;
1984
+ * an ADA-only remainder below min-ADA may be absorbed into total collateral.
1985
+ *
1986
+ * The pool may overlap `setUnspentOutputs`; overlapping UTxOs may be spent as
1987
+ * funding inputs on success. To keep a dedicated collateral UTxO unspent,
1988
+ * supply it only here, not to `setUnspentOutputs` or `addInput`.
1980
1989
  *
1981
1990
  * @param utxos - Candidate collateral UTxOs (need not be pure ADA).
1982
1991
  * @returns `this` for fluent chaining.
@@ -2225,8 +2234,6 @@ var TransactionBuilder = class {
2225
2234
  const seeded = this.buildCollateralFields(reservedCollateral, coverageTarget);
2226
2235
  unbalancedTx.body.totalCollateral = seeded.totalCollateral;
2227
2236
  if (seeded.collateralReturn) unbalancedTx.body.collateralReturn = seeded.collateralReturn;
2228
- const reservedKeys = new Set(reservedCollateral.map(utxoRefKey));
2229
- spendableUtxos = this.availableUtxos.filter((utxo) => !reservedKeys.has(utxoRefKey(utxo)));
2230
2237
  }
2231
2238
  if (this.referenceUtxos.length > 0) spendableUtxos = spendableUtxos.filter((utxo) => !this.isReferenced(utxo));
2232
2239
  if (this.scripts.length > 0) unbalancedTx.witness.scripts = this.scripts;
@@ -2448,8 +2455,9 @@ var TransactionBuilder = class {
2448
2455
  }
2449
2456
  /**
2450
2457
  * Selects collateral inputs largest-first from `collateralUtxos`, combining
2451
- * up to `maxCollateralInputs` until they cover `coverAmount` and leave a
2452
- * return output (carrying any native assets) that meets the min-ADA rule.
2458
+ * up to `maxCollateralInputs` until they cover `coverAmount`. Native assets
2459
+ * and positive remainders under an execution estimate must fund a return
2460
+ * output; otherwise an ADA-only pick needs nothing further.
2453
2461
  *
2454
2462
  * @param coverAmount - Lovelace the selected collateral must cover.
2455
2463
  * @returns The selected collateral UTxOs.
@@ -2469,13 +2477,13 @@ var TransactionBuilder = class {
2469
2477
  const total = coalesceValueQuantities(selected.map(([, out]) => out.value));
2470
2478
  if (total.coins < coverAmount) continue;
2471
2479
  const returnCoin = total.coins - coverAmount;
2472
- const hasAssets = (total.assets?.size ?? 0) > 0;
2473
- if (returnCoin === 0n && !hasAssets) return selected;
2474
- const returnValue = { coins: returnCoin };
2475
- if (hasAssets) returnValue.assets = total.assets;
2480
+ if (!((total.assets?.size ?? 0) > 0) && (this.plutusContext?.executionUnitsEstimate === void 0 || returnCoin === 0n)) return selected;
2476
2481
  if (returnCoin >= minAdaRequired({
2477
2482
  address: returnAddress,
2478
- value: returnValue
2483
+ value: {
2484
+ coins: returnCoin,
2485
+ assets: total.assets
2486
+ }
2479
2487
  }, BigInt(this.params.coinsPerUtxoByte))) return selected;
2480
2488
  }
2481
2489
  throw new InsufficientCollateralError(`Collateral UTxOs cannot cover ${coverAmount} lovelace plus a valid return output (max ${maxInputs} inputs)`);
package/dist/bitcoin.cjs CHANGED
@@ -8,13 +8,13 @@ require("./pbkdf2-CIW-oWrm.cjs");
8
8
  require("./src-BDzYIksE.cjs");
9
9
  require("./util-Bu4W5lF4.cjs");
10
10
  const require_bytes_vo = require("./bytes.vo-BNRquqaO.cjs");
11
- const require_sdk = require("./sdk-DffwmX8b.cjs");
11
+ const require_sdk = require("./sdk-BQEnJnHI.cjs");
12
12
  const require_time_vo = require("./time.vo-D3wWRw9L.cjs");
13
13
  require("./asyncoption-i0VbqVTq.cjs");
14
14
  const require_const = require("./const-iwzZEE_w.cjs");
15
15
  const require_account_id_vo = require("./account-id.vo-DwqFjK5u.cjs");
16
- const require_contract = require("./contract-MKLzYVkW.cjs");
17
- const require_submit_bitcoin_tx = require("./submit-bitcoin-tx-goFuRL7K.cjs");
16
+ const require_contract = require("./contract-DtD0r5iC.cjs");
17
+ const require_submit_bitcoin_tx = require("./submit-bitcoin-tx-DKvI_68a.cjs");
18
18
  const require_types = require("./types-CLRUYpfe.cjs");
19
19
  const require_const$1 = require("./const-BhYOdznB.cjs");
20
20
  require("./bn-d3nSOIf7.cjs");
package/dist/bitcoin.d.ts CHANGED
@@ -3268,6 +3268,8 @@ declare const _exports: {
3268
3268
  "v2.common.uk-fca-risk-warning.confirm": string;
3269
3269
  "v2.swap.select-token-to-sell": string;
3270
3270
  "v2.swap.select-token-to-buy": string;
3271
+ "v2.swap.verified-only": string;
3272
+ "v2.swap.verified-only-hint": string;
3271
3273
  "v2.swap.search": string;
3272
3274
  "v2.swap.no-tokens": string;
3273
3275
  "v2.swap.no-matching-tokens": string;
@@ -6265,6 +6267,8 @@ declare const rawTranslations: {
6265
6267
  "v2.common.uk-fca-risk-warning.confirm": string;
6266
6268
  "v2.swap.select-token-to-sell": string;
6267
6269
  "v2.swap.select-token-to-buy": string;
6270
+ "v2.swap.verified-only": string;
6271
+ "v2.swap.verified-only-hint": string;
6268
6272
  "v2.swap.search": string;
6269
6273
  "v2.swap.no-tokens": string;
6270
6274
  "v2.swap.no-matching-tokens": string;
@@ -9260,6 +9264,8 @@ declare const rawTranslations: {
9260
9264
  "v2.common.uk-fca-risk-warning.confirm": string;
9261
9265
  "v2.swap.select-token-to-sell": string;
9262
9266
  "v2.swap.select-token-to-buy": string;
9267
+ "v2.swap.verified-only": string;
9268
+ "v2.swap.verified-only-hint": string;
9263
9269
  "v2.swap.search": string;
9264
9270
  "v2.swap.no-tokens": string;
9265
9271
  "v2.swap.no-matching-tokens": string;
@@ -12250,6 +12256,8 @@ declare const rawTranslations: {
12250
12256
  "v2.common.uk-fca-risk-warning.confirm": string;
12251
12257
  "v2.swap.select-token-to-sell": string;
12252
12258
  "v2.swap.select-token-to-buy": string;
12259
+ "v2.swap.verified-only": string;
12260
+ "v2.swap.verified-only-hint": string;
12253
12261
  "v2.swap.search": string;
12254
12262
  "v2.swap.no-tokens": string;
12255
12263
  "v2.swap.no-matching-tokens": string;
package/dist/bitcoin.js CHANGED
@@ -8,13 +8,13 @@ import "./browser-B1eMbDwh.js";
8
8
  import "./src-BFoefPv_.js";
9
9
  import "./util-Cp5cZkfK.js";
10
10
  import { n as HexBytes } from "./bytes.vo-BB7_4JK6.js";
11
- import { M as WalletId, S as WalletType, a as createInMemoryWalletEntity, c as createLaceWallet } from "./sdk-Cb-gZnS9.js";
11
+ import { M as WalletId, S as WalletType, a as createInMemoryWalletEntity, c as createLaceWallet } from "./sdk-CnhR4Owy.js";
12
12
  import { r as Milliseconds } from "./time.vo-tNheinXm.js";
13
13
  import "./asyncoption-CruEYOBI.js";
14
14
  import { t as FEATURE_FLAG_NETWORK_TYPE } from "./const-CjmfjBP3.js";
15
15
  import { t as AccountId } from "./account-id.vo-OPz2v-JZ.js";
16
- import { r as LazyWalletMismatchError } from "./contract-1R86jhSw.js";
17
- import { a as createBitcoinLazyInMemoryVaultModule, d as BitcoinTxBuildErrorCode, i as waitForBitcoinAccountSync, n as signBitcoinTx, o as modules_exports, r as buildBitcoinTx, t as submitBitcoinTx, u as BitcoinTxBuildError } from "./submit-bitcoin-tx-D6oYgH5S.js";
16
+ import { r as LazyWalletMismatchError } from "./contract-D-ZzR8jz.js";
17
+ import { a as createBitcoinLazyInMemoryVaultModule, d as BitcoinTxBuildErrorCode, i as waitForBitcoinAccountSync, n as signBitcoinTx, o as modules_exports, r as buildBitcoinTx, t as submitBitcoinTx, u as BitcoinTxBuildError } from "./submit-bitcoin-tx-DrruzXGi.js";
18
18
  import { n as BitcoinNetwork } from "./types-B8uiJn-X.js";
19
19
  import { n as BITCOIN_MEMPOOL_FEE_MARKET_FEATURE_FLAG, t as BITCOIN_FEATURE_FLAG } from "./const-CUnCl5U0.js";
20
20
  export { AccountId, BITCOIN_FEATURE_FLAG, BITCOIN_MEMPOOL_FEE_MARKET_FEATURE_FLAG, BitcoinNetwork, BitcoinNetworkId, BitcoinTxBuildError, BitcoinTxBuildErrorCode, FEATURE_FLAG_NETWORK_TYPE, HexBytes, LazyWalletMismatchError, Milliseconds, WalletId, WalletType, buildBitcoinTx, createBitcoinLazyInMemoryVaultModule, createInMemoryWalletEntity, createLaceWallet, modules_exports as m, signBitcoinTx, submitBitcoinTx, waitForBitcoinAccountSync };
package/dist/cardano.cjs CHANGED
@@ -4,15 +4,15 @@ require("./_polyfill-buffer-patch-CM8X7JiY.cjs");
4
4
  require("./codecs-Cswkg7Tm.cjs");
5
5
  require("./util-Bu4W5lF4.cjs");
6
6
  const require_bytes_vo = require("./bytes.vo-BNRquqaO.cjs");
7
- const require_sdk = require("./sdk-DffwmX8b.cjs");
7
+ const require_sdk = require("./sdk-BQEnJnHI.cjs");
8
8
  const require_time_vo = require("./time.vo-D3wWRw9L.cjs");
9
9
  require("./asyncoption-i0VbqVTq.cjs");
10
10
  const require_key_source = require("./key-source-5oUBFiC7.cjs");
11
11
  const require_const = require("./const-iwzZEE_w.cjs");
12
12
  const require_account_id_vo = require("./account-id.vo-DwqFjK5u.cjs");
13
13
  const require_const$1 = require("./const-D-eZIS4n.cjs");
14
- const require_contract = require("./contract-MKLzYVkW.cjs");
15
- const require_modules_cardano = require("./modules-cardano-BYeYHrRm.cjs");
14
+ const require_contract = require("./contract-DtD0r5iC.cjs");
15
+ const require_modules_cardano = require("./modules-cardano-D8tsbKsR.cjs");
16
16
  let _laceio_cardano_core = require("@laceio/cardano/core");
17
17
  let _laceio_cardano_util = require("@laceio/cardano/util");
18
18
  exports.AccountId = require_account_id_vo.AccountId;
package/dist/cardano.d.ts CHANGED
@@ -3191,6 +3191,8 @@ declare const _exports: {
3191
3191
  "v2.common.uk-fca-risk-warning.confirm": string;
3192
3192
  "v2.swap.select-token-to-sell": string;
3193
3193
  "v2.swap.select-token-to-buy": string;
3194
+ "v2.swap.verified-only": string;
3195
+ "v2.swap.verified-only-hint": string;
3194
3196
  "v2.swap.search": string;
3195
3197
  "v2.swap.no-tokens": string;
3196
3198
  "v2.swap.no-matching-tokens": string;
@@ -6188,6 +6190,8 @@ declare const rawTranslations: {
6188
6190
  "v2.common.uk-fca-risk-warning.confirm": string;
6189
6191
  "v2.swap.select-token-to-sell": string;
6190
6192
  "v2.swap.select-token-to-buy": string;
6193
+ "v2.swap.verified-only": string;
6194
+ "v2.swap.verified-only-hint": string;
6191
6195
  "v2.swap.search": string;
6192
6196
  "v2.swap.no-tokens": string;
6193
6197
  "v2.swap.no-matching-tokens": string;
@@ -9183,6 +9187,8 @@ declare const rawTranslations: {
9183
9187
  "v2.common.uk-fca-risk-warning.confirm": string;
9184
9188
  "v2.swap.select-token-to-sell": string;
9185
9189
  "v2.swap.select-token-to-buy": string;
9190
+ "v2.swap.verified-only": string;
9191
+ "v2.swap.verified-only-hint": string;
9186
9192
  "v2.swap.search": string;
9187
9193
  "v2.swap.no-tokens": string;
9188
9194
  "v2.swap.no-matching-tokens": string;
@@ -12173,6 +12179,8 @@ declare const rawTranslations: {
12173
12179
  "v2.common.uk-fca-risk-warning.confirm": string;
12174
12180
  "v2.swap.select-token-to-sell": string;
12175
12181
  "v2.swap.select-token-to-buy": string;
12182
+ "v2.swap.verified-only": string;
12183
+ "v2.swap.verified-only-hint": string;
12176
12184
  "v2.swap.search": string;
12177
12185
  "v2.swap.no-tokens": string;
12178
12186
  "v2.swap.no-matching-tokens": string;
@@ -19667,9 +19675,14 @@ declare class TransactionBuilder {
19667
19675
  addRequiredSigner(keyHash: Crypto.Ed25519KeyHashHex): TransactionBuilder;
19668
19676
  /**
19669
19677
  * Sets the pool of UTxOs the builder may draw collateral from for a Plutus
19670
- * transaction. The builder selects largest-first, may combine several to
19671
- * cover the required collateral, and returns the unused portion (incl. native
19672
- * assets) to the collateral change address.
19678
+ * transaction. The builder selects largest-first and may combine several to
19679
+ * cover the required collateral. A collateral return sends the unused portion
19680
+ * (incl. native assets) to the collateral change address on script failure;
19681
+ * an ADA-only remainder below min-ADA may be absorbed into total collateral.
19682
+ *
19683
+ * The pool may overlap `setUnspentOutputs`; overlapping UTxOs may be spent as
19684
+ * funding inputs on success. To keep a dedicated collateral UTxO unspent,
19685
+ * supply it only here, not to `setUnspentOutputs` or `addInput`.
19673
19686
  *
19674
19687
  * @param utxos - Candidate collateral UTxOs (need not be pure ADA).
19675
19688
  * @returns `this` for fluent chaining.
@@ -19900,8 +19913,9 @@ declare class TransactionBuilder {
19900
19913
  private collateralCoverageTarget;
19901
19914
  /**
19902
19915
  * Selects collateral inputs largest-first from `collateralUtxos`, combining
19903
- * up to `maxCollateralInputs` until they cover `coverAmount` and leave a
19904
- * return output (carrying any native assets) that meets the min-ADA rule.
19916
+ * up to `maxCollateralInputs` until they cover `coverAmount`. Native assets
19917
+ * and positive remainders under an execution estimate must fund a return
19918
+ * output; otherwise an ADA-only pick needs nothing further.
19905
19919
  *
19906
19920
  * @param coverAmount - Lovelace the selected collateral must cover.
19907
19921
  * @returns The selected collateral UTxOs.
package/dist/cardano.js CHANGED
@@ -4,14 +4,14 @@ import "./libsodium-wrappers-BhbOA8dQ.js";
4
4
  import "./codecs-Dc1Krpbt.js";
5
5
  import "./util-Cp5cZkfK.js";
6
6
  import { n as HexBytes } from "./bytes.vo-BB7_4JK6.js";
7
- import { M as WalletId, S as WalletType, a as createInMemoryWalletEntity, c as createLaceWallet } from "./sdk-Cb-gZnS9.js";
7
+ import { M as WalletId, S as WalletType, a as createInMemoryWalletEntity, c as createLaceWallet } from "./sdk-CnhR4Owy.js";
8
8
  import { r as Milliseconds } from "./time.vo-tNheinXm.js";
9
9
  import "./asyncoption-CruEYOBI.js";
10
10
  import { c as RemoteSignerError, l as SignerClosedError, t as createPasskeyKeySource, u as SignerPopupBlockedError } from "./key-source-B08HukZg.js";
11
11
  import { t as FEATURE_FLAG_NETWORK_TYPE } from "./const-CjmfjBP3.js";
12
12
  import { t as AccountId } from "./account-id.vo-OPz2v-JZ.js";
13
13
  import { n as FEATURE_FLAG_CARDANO } from "./const-BJfIK_G-.js";
14
- import { r as LazyWalletMismatchError } from "./contract-1R86jhSw.js";
15
- import { _ as PasskeyWalletMismatchError, a as submitCardanoTx, c as waitForNetworkInfo, d as createRemotePasskeySigner, f as createRemoteCardanoVaultModule, g as createPasskeyWalletEntity, h as createSignerClient, i as createSteelSwapProvider, l as createRemotePasskeyWalletEntity, m as RemoteSignerResultError, o as signCardanoTx, p as CardanoRemoteSignerFactory, s as createTxBuilder, t as modules_cardano_exports, v as createPasskeyVaultModule, y as createLazyInMemoryVaultModule } from "./modules-cardano-B1nDUWqy.js";
14
+ import { r as LazyWalletMismatchError } from "./contract-D-ZzR8jz.js";
15
+ import { _ as PasskeyWalletMismatchError, a as submitCardanoTx, c as waitForNetworkInfo, d as createRemotePasskeySigner, f as createRemoteCardanoVaultModule, g as createPasskeyWalletEntity, h as createSignerClient, i as createSteelSwapProvider, l as createRemotePasskeyWalletEntity, m as RemoteSignerResultError, o as signCardanoTx, p as CardanoRemoteSignerFactory, s as createTxBuilder, t as modules_cardano_exports, v as createPasskeyVaultModule, y as createLazyInMemoryVaultModule } from "./modules-cardano-BEEa2JyK.js";
16
16
  import { n as HexBlob, r as Serialization, t as Cardano } from "./cardano-DfPwhwm-.js";
17
17
  export { AccountId, Cardano, CardanoRemoteSignerFactory, FEATURE_FLAG_CARDANO, FEATURE_FLAG_NETWORK_TYPE, HexBlob, HexBytes, LazyWalletMismatchError, Milliseconds, PasskeyWalletMismatchError, RemoteSignerError, RemoteSignerResultError, Serialization, SignerClosedError, SignerPopupBlockedError, WalletId, WalletType, createInMemoryWalletEntity, createLaceWallet, createLazyInMemoryVaultModule, createPasskeyKeySource, createPasskeyVaultModule, createPasskeyWalletEntity, createRemoteCardanoVaultModule, createRemotePasskeySigner, createRemotePasskeyWalletEntity, createSignerClient, createSteelSwapProvider, createTxBuilder, modules_cardano_exports as m, signCardanoTx, submitCardanoTx, waitForNetworkInfo };
@@ -1,4 +1,4 @@
1
- import { A as ContractName, D as storageDependencyContract, O as combineStore, _ as walletActiveStateDependencyContract, k as createMixin, v as tokensStoreContract, w as networkStoreContract, y as syncStoreContract } from "./sdk-Cb-gZnS9.js";
1
+ import { A as ContractName, D as storageDependencyContract, O as combineStore, _ as walletActiveStateDependencyContract, k as createMixin, v as tokensStoreContract, w as networkStoreContract, y as syncStoreContract } from "./sdk-CnhR4Owy.js";
2
2
  import { a as inferStoreContext, n as combineContracts, r as inferContractContext } from "./store-DuBG8qh5.js";
3
3
  import { t as createSelector } from "./reselect-CGoLzEPv.js";
4
4
  import { r as tokensSelectors } from "./slice-DBpJ2QGf.js";
@@ -1,4 +1,4 @@
1
- const require_sdk = require("./sdk-DffwmX8b.cjs");
1
+ const require_sdk = require("./sdk-BQEnJnHI.cjs");
2
2
  const require_store = require("./store-B1Lq3cEf.cjs");
3
3
  const require_reselect = require("./reselect-Bd94u0K-.cjs");
4
4
  const require_slice = require("./slice-C9TT5KhY.cjs");
@@ -2,7 +2,7 @@ require("./rolldown-runtime-Br2OG8yv.cjs");
2
2
  const require_util = require("./util-Bu4W5lF4.cjs");
3
3
  const require_bignum_vo = require("./bignum.vo-hx2kuqlA.cjs");
4
4
  const require_const = require("./const-D-eZIS4n.cjs");
5
- const require_TransactionBuilder = require("./TransactionBuilder-CCjOn7NA.cjs");
5
+ const require_TransactionBuilder = require("./TransactionBuilder-X1H9Gze6.cjs");
6
6
  const require_account_guards = require("./account-guards-BtjTGxDZ.cjs");
7
7
  let _laceio_cardano_core = require("@laceio/cardano/core");
8
8
  let rxjs = require("rxjs");
@@ -1,7 +1,7 @@
1
1
  import { n as filterSpendableUtxos } from "./util-Cp5cZkfK.js";
2
2
  import { t as BigNumber } from "./bignum.vo-CEXOIew0.js";
3
3
  import { r as LOVELACE_TOKEN_ID } from "./const-BJfIK_G-.js";
4
- import { n as TransactionBuilder } from "./TransactionBuilder-CIzdw18M.js";
4
+ import { n as TransactionBuilder } from "./TransactionBuilder-bp2aMDhg.js";
5
5
  import { t as refuseExtensionAccount } from "./account-guards-D9Lu5T3W.js";
6
6
  import { Cardano } from "@laceio/cardano/core";
7
7
  import { defer, firstValueFrom, of } from "rxjs";
@@ -2,7 +2,7 @@ require("./rolldown-runtime-Br2OG8yv.cjs");
2
2
  const require_util = require("./util-Bu4W5lF4.cjs");
3
3
  const require_bignum_vo = require("./bignum.vo-hx2kuqlA.cjs");
4
4
  const require_const = require("./const-D-eZIS4n.cjs");
5
- const require_TransactionBuilder = require("./TransactionBuilder-CCjOn7NA.cjs");
5
+ const require_TransactionBuilder = require("./TransactionBuilder-X1H9Gze6.cjs");
6
6
  const require_account_guards = require("./account-guards-BtjTGxDZ.cjs");
7
7
  let _laceio_cardano_core = require("@laceio/cardano/core");
8
8
  let rxjs = require("rxjs");
@@ -1,7 +1,7 @@
1
1
  import { n as filterSpendableUtxos } from "./util-Cp5cZkfK.js";
2
2
  import { t as BigNumber } from "./bignum.vo-CEXOIew0.js";
3
3
  import { r as LOVELACE_TOKEN_ID } from "./const-BJfIK_G-.js";
4
- import { n as TransactionBuilder } from "./TransactionBuilder-CIzdw18M.js";
4
+ import { n as TransactionBuilder } from "./TransactionBuilder-bp2aMDhg.js";
5
5
  import { t as refuseExtensionAccount } from "./account-guards-D9Lu5T3W.js";
6
6
  import { Cardano } from "@laceio/cardano/core";
7
7
  import { defer, firstValueFrom, of } from "rxjs";
@@ -2,7 +2,7 @@ require("./rolldown-runtime-Br2OG8yv.cjs");
2
2
  const require_util = require("./util-Bu4W5lF4.cjs");
3
3
  const require_bignum_vo = require("./bignum.vo-hx2kuqlA.cjs");
4
4
  const require_const = require("./const-D-eZIS4n.cjs");
5
- const require_TransactionBuilder = require("./TransactionBuilder-CCjOn7NA.cjs");
5
+ const require_TransactionBuilder = require("./TransactionBuilder-X1H9Gze6.cjs");
6
6
  const require_account_guards = require("./account-guards-BtjTGxDZ.cjs");
7
7
  let _laceio_cardano_core = require("@laceio/cardano/core");
8
8
  let rxjs = require("rxjs");
@@ -1,7 +1,7 @@
1
1
  import { n as filterSpendableUtxos } from "./util-Cp5cZkfK.js";
2
2
  import { t as BigNumber } from "./bignum.vo-CEXOIew0.js";
3
3
  import { r as LOVELACE_TOKEN_ID } from "./const-BJfIK_G-.js";
4
- import { n as TransactionBuilder } from "./TransactionBuilder-CIzdw18M.js";
4
+ import { n as TransactionBuilder } from "./TransactionBuilder-bp2aMDhg.js";
5
5
  import { t as refuseExtensionAccount } from "./account-guards-D9Lu5T3W.js";
6
6
  import { Cardano } from "@laceio/cardano/core";
7
7
  import { defer, firstValueFrom, of } from "rxjs";
@@ -4,7 +4,7 @@ const require__polyfill_buffer_patch = require("./_polyfill-buffer-patch-CM8X7Ji
4
4
  const require_codecs = require("./codecs-Cswkg7Tm.cjs");
5
5
  const require_util = require("./util-Bu4W5lF4.cjs");
6
6
  const require_bytes_vo = require("./bytes.vo-BNRquqaO.cjs");
7
- const require_sdk = require("./sdk-DffwmX8b.cjs");
7
+ const require_sdk = require("./sdk-BQEnJnHI.cjs");
8
8
  const require_guarded_transaction_signer = require("./guarded-transaction-signer-MFpPg98D.cjs");
9
9
  const require_time_vo = require("./time.vo-D3wWRw9L.cjs");
10
10
  const require_bignum_vo = require("./bignum.vo-hx2kuqlA.cjs");
@@ -28,10 +28,10 @@ const require_outputs = require("./outputs-CJoQBIA2.cjs");
28
28
  const require_tokens = require("./tokens-Cevp7rdU.cjs");
29
29
  const require_grant_status = require("./grant-status-DOr3t_u8.cjs");
30
30
  const require_identity = require("./identity-BMLuufva.cjs");
31
- const require_TransactionBuilder = require("./TransactionBuilder-CCjOn7NA.cjs");
31
+ const require_TransactionBuilder = require("./TransactionBuilder-X1H9Gze6.cjs");
32
32
  const require_pending_operation = require("./pending-operation-B0_P78Jo.cjs");
33
- const require_contract = require("./contract-MKLzYVkW.cjs");
34
- const require_modules_cardano = require("./modules-cardano-BYeYHrRm.cjs");
33
+ const require_contract = require("./contract-DtD0r5iC.cjs");
34
+ const require_modules_cardano = require("./modules-cardano-D8tsbKsR.cjs");
35
35
  const require_slice$1 = require("./slice-t8Gzj55G2.cjs");
36
36
  const require_providers = require("./providers-FjhM47BH.cjs");
37
37
  const require_device_commitment_hex_vo = require("./device-commitment-hex.vo-CT3RmAug.cjs");
@@ -3530,7 +3530,7 @@ const custodyModule = require_store.inferModuleContext({
3530
3530
  }
3531
3531
  },
3532
3532
  store: require_store.inferStoreContext({
3533
- load: async () => Promise.resolve().then(() => require("./init-Cz0rz5fU.cjs")),
3533
+ load: async () => Promise.resolve().then(() => require("./init-DRzJR02G.cjs")),
3534
3534
  context: {
3535
3535
  actions: {},
3536
3536
  selectors: {}
@@ -3218,6 +3218,8 @@ declare const _exports: {
3218
3218
  "v2.common.uk-fca-risk-warning.confirm": string;
3219
3219
  "v2.swap.select-token-to-sell": string;
3220
3220
  "v2.swap.select-token-to-buy": string;
3221
+ "v2.swap.verified-only": string;
3222
+ "v2.swap.verified-only-hint": string;
3221
3223
  "v2.swap.search": string;
3222
3224
  "v2.swap.no-tokens": string;
3223
3225
  "v2.swap.no-matching-tokens": string;
@@ -6215,6 +6217,8 @@ declare const rawTranslations: {
6215
6217
  "v2.common.uk-fca-risk-warning.confirm": string;
6216
6218
  "v2.swap.select-token-to-sell": string;
6217
6219
  "v2.swap.select-token-to-buy": string;
6220
+ "v2.swap.verified-only": string;
6221
+ "v2.swap.verified-only-hint": string;
6218
6222
  "v2.swap.search": string;
6219
6223
  "v2.swap.no-tokens": string;
6220
6224
  "v2.swap.no-matching-tokens": string;
@@ -9210,6 +9214,8 @@ declare const rawTranslations: {
9210
9214
  "v2.common.uk-fca-risk-warning.confirm": string;
9211
9215
  "v2.swap.select-token-to-sell": string;
9212
9216
  "v2.swap.select-token-to-buy": string;
9217
+ "v2.swap.verified-only": string;
9218
+ "v2.swap.verified-only-hint": string;
9213
9219
  "v2.swap.search": string;
9214
9220
  "v2.swap.no-tokens": string;
9215
9221
  "v2.swap.no-matching-tokens": string;
@@ -12200,6 +12206,8 @@ declare const rawTranslations: {
12200
12206
  "v2.common.uk-fca-risk-warning.confirm": string;
12201
12207
  "v2.swap.select-token-to-sell": string;
12202
12208
  "v2.swap.select-token-to-buy": string;
12209
+ "v2.swap.verified-only": string;
12210
+ "v2.swap.verified-only-hint": string;
12203
12211
  "v2.swap.search": string;
12204
12212
  "v2.swap.no-tokens": string;
12205
12213
  "v2.swap.no-matching-tokens": string;
@@ -20641,9 +20649,14 @@ declare class TransactionBuilder {
20641
20649
  addRequiredSigner(keyHash: Crypto.Ed25519KeyHashHex): TransactionBuilder;
20642
20650
  /**
20643
20651
  * Sets the pool of UTxOs the builder may draw collateral from for a Plutus
20644
- * transaction. The builder selects largest-first, may combine several to
20645
- * cover the required collateral, and returns the unused portion (incl. native
20646
- * assets) to the collateral change address.
20652
+ * transaction. The builder selects largest-first and may combine several to
20653
+ * cover the required collateral. A collateral return sends the unused portion
20654
+ * (incl. native assets) to the collateral change address on script failure;
20655
+ * an ADA-only remainder below min-ADA may be absorbed into total collateral.
20656
+ *
20657
+ * The pool may overlap `setUnspentOutputs`; overlapping UTxOs may be spent as
20658
+ * funding inputs on success. To keep a dedicated collateral UTxO unspent,
20659
+ * supply it only here, not to `setUnspentOutputs` or `addInput`.
20647
20660
  *
20648
20661
  * @param utxos - Candidate collateral UTxOs (need not be pure ADA).
20649
20662
  * @returns `this` for fluent chaining.
@@ -20874,8 +20887,9 @@ declare class TransactionBuilder {
20874
20887
  private collateralCoverageTarget;
20875
20888
  /**
20876
20889
  * Selects collateral inputs largest-first from `collateralUtxos`, combining
20877
- * up to `maxCollateralInputs` until they cover `coverAmount` and leave a
20878
- * return output (carrying any native assets) that meets the min-ADA rule.
20890
+ * up to `maxCollateralInputs` until they cover `coverAmount`. Native assets
20891
+ * and positive remainders under an execution estimate must fund a return
20892
+ * output; otherwise an ADA-only pick needs nothing further.
20879
20893
  *
20880
20894
  * @param coverAmount - Lovelace the selected collateral must cover.
20881
20895
  * @returns The selected collateral UTxOs.
@@ -5,7 +5,7 @@ import "./libsodium-wrappers-BhbOA8dQ.js";
5
5
  import { S as utf8ToBytes, a as sha512, i as sha256, o as hkdf, s as hmac, y as concatBytes } from "./codecs-Dc1Krpbt.js";
6
6
  import { d as utxoKey, g as CardanoPaymentAddress, l as outpointKey$1 } from "./util-Cp5cZkfK.js";
7
7
  import { n as HexBytes, t as ByteArray } from "./bytes.vo-BB7_4JK6.js";
8
- import { A as ContractName, C as walletRepoStoreContract, E as featureStoreContract, M as WalletId, O as combineStore, S as WalletType, a as createInMemoryWalletEntity, c as createLaceWallet, f as cardanoProviderStoreContract, j as ModuleName, k as createMixin, n as sdk_default$1, r as sdk_default, t as sdk_default$2, v as tokensStoreContract } from "./sdk-Cb-gZnS9.js";
8
+ import { A as ContractName, C as walletRepoStoreContract, E as featureStoreContract, M as WalletId, O as combineStore, S as WalletType, a as createInMemoryWalletEntity, c as createLaceWallet, f as cardanoProviderStoreContract, j as ModuleName, k as createMixin, n as sdk_default$1, r as sdk_default, t as sdk_default$2, v as tokensStoreContract } from "./sdk-CnhR4Owy.js";
9
9
  import { r as createCardanoKeyAgentFromMnemonic, s as hashEd25519PublicKey } from "./guarded-transaction-signer-P6Rp1faj.js";
10
10
  import { r as Milliseconds, s as Timestamp } from "./time.vo-tNheinXm.js";
11
11
  import { t as BigNumber } from "./bignum.vo-CEXOIew0.js";
@@ -29,10 +29,10 @@ import { E as findCustodyGrantViolations, L as addressOfRepresentableRecipient,
29
29
  import { n as custodyGrantAssetId, r as parseCustodyAccountTokenName } from "./tokens-Diw4MLRM.js";
30
30
  import { a as custodyDeviceFingerprint, b as parseCustodyAccountRecord, c as custodyGrantLiveness, d as serializeCustodyRequestedGrantScope, f as inspectCustodyTransaction, i as classifyCardanoCustodyAccount, l as compareRequestedGrantScope, o as deriveCustodyDeviceKey, r as CARDANO_CUSTODY_DEFAULT_GRANT_FEE_BOUND, s as classifyCustodyAccountUtxos, t as classifyCardanoCustodyGrants, u as parseCustodyRequestedGrantScope, v as canonicalCustodyAccountRecord, y as createCustodyAccountRecord } from "./grant-status-B2y49iIu.js";
31
31
  import { n as chainIdFromNetworkMagic, t as verifyCardanoCustodyAccountIdentity } from "./identity-DII6f-h7.js";
32
- import { c as getUniqueSignerKeyHashes, l as SLOT_CONFIG_NETWORK } from "./TransactionBuilder-CIzdw18M.js";
32
+ import { c as getUniqueSignerKeyHashes, l as SLOT_CONFIG_NETWORK } from "./TransactionBuilder-bp2aMDhg.js";
33
33
  import { t as cardanoCustodyActivityMetadataOf } from "./pending-operation-BIS6mpjB.js";
34
- import { r as LazyWalletMismatchError } from "./contract-1R86jhSw.js";
35
- import { _ as PasskeyWalletMismatchError, a as submitCardanoTx, c as waitForNetworkInfo, d as createRemotePasskeySigner, f as createRemoteCardanoVaultModule, g as createPasskeyWalletEntity, h as createSignerClient, i as createSteelSwapProvider, l as createRemotePasskeyWalletEntity, m as RemoteSignerResultError, n as sdk_default$5, o as signCardanoTx, p as CardanoRemoteSignerFactory, r as sdk_default$4, s as createTxBuilder, u as sdk_default$3, v as createPasskeyVaultModule, y as createLazyInMemoryVaultModule } from "./modules-cardano-B1nDUWqy.js";
34
+ import { r as LazyWalletMismatchError } from "./contract-D-ZzR8jz.js";
35
+ import { _ as PasskeyWalletMismatchError, a as submitCardanoTx, c as waitForNetworkInfo, d as createRemotePasskeySigner, f as createRemoteCardanoVaultModule, g as createPasskeyWalletEntity, h as createSignerClient, i as createSteelSwapProvider, l as createRemotePasskeyWalletEntity, m as RemoteSignerResultError, n as sdk_default$5, o as signCardanoTx, p as CardanoRemoteSignerFactory, r as sdk_default$4, s as createTxBuilder, u as sdk_default$3, v as createPasskeyVaultModule, y as createLazyInMemoryVaultModule } from "./modules-cardano-BEEa2JyK.js";
36
36
  import { n as HexBlob, r as Serialization, t as Cardano } from "./cardano-DfPwhwm-.js";
37
37
  import { r as passportSelectors, t as passportActions } from "./slice-t8Q1cHm-.js";
38
38
  import { i as AccAddress, n as createHttpProver, r as applyNetworkId, t as createMidnightProviders } from "./providers-WtiSuxFu.js";
@@ -3528,7 +3528,7 @@ const custodyModule = inferModuleContext({
3528
3528
  }
3529
3529
  },
3530
3530
  store: inferStoreContext({
3531
- load: async () => import("./init-CuW7rHNA.js"),
3531
+ load: async () => import("./init-C5mYyFTv.js"),
3532
3532
  context: {
3533
3533
  actions: {},
3534
3534
  selectors: {}
package/dist/index.cjs CHANGED
@@ -8,7 +8,7 @@ require("./pbkdf2-CIW-oWrm.cjs");
8
8
  require("./src-BDzYIksE.cjs");
9
9
  const require_util = require("./util-Bu4W5lF4.cjs");
10
10
  const require_bytes_vo = require("./bytes.vo-BNRquqaO.cjs");
11
- const require_sdk = require("./sdk-DffwmX8b.cjs");
11
+ const require_sdk = require("./sdk-BQEnJnHI.cjs");
12
12
  const require_time_vo = require("./time.vo-D3wWRw9L.cjs");
13
13
  const require_bignum_vo = require("./bignum.vo-hx2kuqlA.cjs");
14
14
  const require_asyncoption = require("./asyncoption-i0VbqVTq.cjs");
@@ -25,14 +25,14 @@ const require_activity_type = require("./activity-type-Ch6ljxBy.cjs");
25
25
  const require_slice$1 = require("./slice-C34iOOUH.cjs");
26
26
  const require_token_id_vo = require("./token-id.vo-DXv5uS9n.cjs");
27
27
  const require_const$1 = require("./const-D-eZIS4n.cjs");
28
- const require_TransactionBuilder = require("./TransactionBuilder-CCjOn7NA.cjs");
29
- const require_contract = require("./contract-MKLzYVkW.cjs");
30
- const require_modules_cardano = require("./modules-cardano-BYeYHrRm.cjs");
28
+ const require_TransactionBuilder = require("./TransactionBuilder-X1H9Gze6.cjs");
29
+ const require_contract = require("./contract-DtD0r5iC.cjs");
30
+ const require_modules_cardano = require("./modules-cardano-D8tsbKsR.cjs");
31
31
  const require_error = require("./error-Cb3EnD0u.cjs");
32
32
  const require_http_client = require("./http-client-B3N-TMxu.cjs");
33
33
  const require_is_retriable_error = require("./is-retriable-error-Dpt860if.cjs");
34
34
  const require_blockfrost_tx_submit_provider = require("./blockfrost-tx-submit-provider-CLNQ5ycR.cjs");
35
- const require_submit_bitcoin_tx = require("./submit-bitcoin-tx-goFuRL7K.cjs");
35
+ const require_submit_bitcoin_tx = require("./submit-bitcoin-tx-DKvI_68a.cjs");
36
36
  const require_types = require("./types-CLRUYpfe.cjs");
37
37
  const require_const$2 = require("./const-BhYOdznB.cjs");
38
38
  require("./bn-d3nSOIf7.cjs");
package/dist/index.d.ts CHANGED
@@ -3577,6 +3577,8 @@ declare const _exports: {
3577
3577
  "v2.common.uk-fca-risk-warning.confirm": string;
3578
3578
  "v2.swap.select-token-to-sell": string;
3579
3579
  "v2.swap.select-token-to-buy": string;
3580
+ "v2.swap.verified-only": string;
3581
+ "v2.swap.verified-only-hint": string;
3580
3582
  "v2.swap.search": string;
3581
3583
  "v2.swap.no-tokens": string;
3582
3584
  "v2.swap.no-matching-tokens": string;
@@ -6574,6 +6576,8 @@ declare const rawTranslations: {
6574
6576
  "v2.common.uk-fca-risk-warning.confirm": string;
6575
6577
  "v2.swap.select-token-to-sell": string;
6576
6578
  "v2.swap.select-token-to-buy": string;
6579
+ "v2.swap.verified-only": string;
6580
+ "v2.swap.verified-only-hint": string;
6577
6581
  "v2.swap.search": string;
6578
6582
  "v2.swap.no-tokens": string;
6579
6583
  "v2.swap.no-matching-tokens": string;
@@ -9569,6 +9573,8 @@ declare const rawTranslations: {
9569
9573
  "v2.common.uk-fca-risk-warning.confirm": string;
9570
9574
  "v2.swap.select-token-to-sell": string;
9571
9575
  "v2.swap.select-token-to-buy": string;
9576
+ "v2.swap.verified-only": string;
9577
+ "v2.swap.verified-only-hint": string;
9572
9578
  "v2.swap.search": string;
9573
9579
  "v2.swap.no-tokens": string;
9574
9580
  "v2.swap.no-matching-tokens": string;
@@ -12559,6 +12565,8 @@ declare const rawTranslations: {
12559
12565
  "v2.common.uk-fca-risk-warning.confirm": string;
12560
12566
  "v2.swap.select-token-to-sell": string;
12561
12567
  "v2.swap.select-token-to-buy": string;
12568
+ "v2.swap.verified-only": string;
12569
+ "v2.swap.verified-only-hint": string;
12562
12570
  "v2.swap.search": string;
12563
12571
  "v2.swap.no-tokens": string;
12564
12572
  "v2.swap.no-matching-tokens": string;
@@ -20715,9 +20723,14 @@ declare class TransactionBuilder {
20715
20723
  addRequiredSigner(keyHash: Crypto.Ed25519KeyHashHex): TransactionBuilder;
20716
20724
  /**
20717
20725
  * Sets the pool of UTxOs the builder may draw collateral from for a Plutus
20718
- * transaction. The builder selects largest-first, may combine several to
20719
- * cover the required collateral, and returns the unused portion (incl. native
20720
- * assets) to the collateral change address.
20726
+ * transaction. The builder selects largest-first and may combine several to
20727
+ * cover the required collateral. A collateral return sends the unused portion
20728
+ * (incl. native assets) to the collateral change address on script failure;
20729
+ * an ADA-only remainder below min-ADA may be absorbed into total collateral.
20730
+ *
20731
+ * The pool may overlap `setUnspentOutputs`; overlapping UTxOs may be spent as
20732
+ * funding inputs on success. To keep a dedicated collateral UTxO unspent,
20733
+ * supply it only here, not to `setUnspentOutputs` or `addInput`.
20721
20734
  *
20722
20735
  * @param utxos - Candidate collateral UTxOs (need not be pure ADA).
20723
20736
  * @returns `this` for fluent chaining.
@@ -20948,8 +20961,9 @@ declare class TransactionBuilder {
20948
20961
  private collateralCoverageTarget;
20949
20962
  /**
20950
20963
  * Selects collateral inputs largest-first from `collateralUtxos`, combining
20951
- * up to `maxCollateralInputs` until they cover `coverAmount` and leave a
20952
- * return output (carrying any native assets) that meets the min-ADA rule.
20964
+ * up to `maxCollateralInputs` until they cover `coverAmount`. Native assets
20965
+ * and positive remainders under an execution estimate must fund a return
20966
+ * output; otherwise an ADA-only pick needs nothing further.
20953
20967
  *
20954
20968
  * @param coverAmount - Lovelace the selected collateral must cover.
20955
20969
  * @returns The selected collateral UTxOs.
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ import "./browser-B1eMbDwh.js";
9
9
  import "./src-BFoefPv_.js";
10
10
  import { _ as CardanoRewardAccount, g as CardanoPaymentAddress, h as CardanoEnterpriseAddress, m as CardanoBaseAddress, p as CardanoAddress } from "./util-Cp5cZkfK.js";
11
11
  import { n as HexBytes, t as ByteArray } from "./bytes.vo-BB7_4JK6.js";
12
- import { A as ContractName, D as storageDependencyContract, M as WalletId, S as WalletType, a as createInMemoryWalletEntity, c as createLaceWallet, j as ModuleName, n as sdk_default$1, r as sdk_default, t as sdk_default$2 } from "./sdk-Cb-gZnS9.js";
12
+ import { A as ContractName, D as storageDependencyContract, M as WalletId, S as WalletType, a as createInMemoryWalletEntity, c as createLaceWallet, j as ModuleName, n as sdk_default$1, r as sdk_default, t as sdk_default$2 } from "./sdk-CnhR4Owy.js";
13
13
  import { a as Seconds, i as Minutes, n as Hours, o as TimeSpan, r as Milliseconds, s as Timestamp, t as Days } from "./time.vo-tNheinXm.js";
14
14
  import { t as BigNumber } from "./bignum.vo-CEXOIew0.js";
15
15
  import { n as Ok, t as Err } from "./asyncoption-CruEYOBI.js";
@@ -26,14 +26,14 @@ import { t as ActivityType } from "./activity-type-GsJGWs-3.js";
26
26
  import { a as MAX_ACTIVITIES_PER_ACCOUNT, i as ActivitiesPaginationFailureId } from "./slice-D-9aPKG-.js";
27
27
  import { t as TokenId } from "./token-id.vo-Bvwhr3ZE.js";
28
28
  import { n as FEATURE_FLAG_CARDANO } from "./const-BJfIK_G-.js";
29
- import { n as TransactionBuilder } from "./TransactionBuilder-CIzdw18M.js";
30
- import { r as LazyWalletMismatchError } from "./contract-1R86jhSw.js";
31
- import { _ as PasskeyWalletMismatchError, a as submitCardanoTx, c as waitForNetworkInfo, d as createRemotePasskeySigner, f as createRemoteCardanoVaultModule, g as createPasskeyWalletEntity, h as createSignerClient, i as createSteelSwapProvider, l as createRemotePasskeyWalletEntity, m as RemoteSignerResultError, n as sdk_default$5, o as signCardanoTx, p as CardanoRemoteSignerFactory, r as sdk_default$4, s as createTxBuilder, u as sdk_default$3, v as createPasskeyVaultModule, y as createLazyInMemoryVaultModule } from "./modules-cardano-B1nDUWqy.js";
29
+ import { n as TransactionBuilder } from "./TransactionBuilder-bp2aMDhg.js";
30
+ import { r as LazyWalletMismatchError } from "./contract-D-ZzR8jz.js";
31
+ import { _ as PasskeyWalletMismatchError, a as submitCardanoTx, c as waitForNetworkInfo, d as createRemotePasskeySigner, f as createRemoteCardanoVaultModule, g as createPasskeyWalletEntity, h as createSignerClient, i as createSteelSwapProvider, l as createRemotePasskeyWalletEntity, m as RemoteSignerResultError, n as sdk_default$5, o as signCardanoTx, p as CardanoRemoteSignerFactory, r as sdk_default$4, s as createTxBuilder, u as sdk_default$3, v as createPasskeyVaultModule, y as createLazyInMemoryVaultModule } from "./modules-cardano-BEEa2JyK.js";
32
32
  import { a as isNotFoundError } from "./error-DIZOY2Lw.js";
33
33
  import { n as buildUrl, t as HttpClient } from "./http-client-TRlhDZGh.js";
34
34
  import { t as isRetriableError } from "./is-retriable-error-BUiVJDwH.js";
35
35
  import { i as BlockfrostNetworkInfoProvider, n as BlockfrostUtxoProvider, r as BlockfrostTxProvider, t as BlockfrostTxSubmitProvider } from "./blockfrost-tx-submit-provider-CBWQ0wK9.js";
36
- import { a as createBitcoinLazyInMemoryVaultModule, c as sdk_default$6, d as BitcoinTxBuildErrorCode, i as waitForBitcoinAccountSync, l as sdk_default$8, n as signBitcoinTx, r as buildBitcoinTx, s as sdk_default$7, t as submitBitcoinTx, u as BitcoinTxBuildError } from "./submit-bitcoin-tx-D6oYgH5S.js";
36
+ import { a as createBitcoinLazyInMemoryVaultModule, c as sdk_default$6, d as BitcoinTxBuildErrorCode, i as waitForBitcoinAccountSync, l as sdk_default$8, n as signBitcoinTx, r as buildBitcoinTx, s as sdk_default$7, t as submitBitcoinTx, u as BitcoinTxBuildError } from "./submit-bitcoin-tx-DrruzXGi.js";
37
37
  import { n as BitcoinNetwork } from "./types-B8uiJn-X.js";
38
38
  import { n as BITCOIN_MEMPOOL_FEE_MARKET_FEATURE_FLAG, t as BITCOIN_FEATURE_FLAG } from "./const-CUnCl5U0.js";
39
39
  import { Cardano, ProviderError, ProviderFailure, Serialization, TxSubmissionError, TxSubmissionErrorCode } from "@laceio/cardano/core";
@@ -1,5 +1,5 @@
1
1
  require("./rolldown-runtime-Br2OG8yv.cjs");
2
- const require_slice = require("./slice-DnBWfA-k.cjs");
2
+ const require_slice = require("./slice-BhL_wp-Q.cjs");
3
3
  let rxjs = require("rxjs");
4
4
  let redux_persist = require("redux-persist");
5
5
  //#region ../../packages/contract/views/src/store/side-effects.ts
@@ -1,4 +1,4 @@
1
- import { n as viewsReducers } from "./slice-BPNuHKfw.js";
1
+ import { n as viewsReducers } from "./slice-Cai7mFoA.js";
2
2
  import { map } from "rxjs";
3
3
  import { createMigrate } from "redux-persist";
4
4
  //#region ../../packages/contract/views/src/store/side-effects.ts
@@ -8,7 +8,7 @@ import { A as isCustodyLovelaceAsset, E as findCustodyGrantViolations, F as enco
8
8
  import { n as custodyGrantAssetId, r as parseCustodyAccountTokenName, t as CUSTODY_SLOT_LIMIT } from "./tokens-Diw4MLRM.js";
9
9
  import { S as findCustodyScopeViolations, c as custodyGrantLiveness, d as serializeCustodyRequestedGrantScope, f as inspectCustodyTransaction, g as encodeCustodyStakeRedeemer, h as encodeCustodyMintRedeemer, i as classifyCardanoCustodyAccount, m as encodeCustodyLogicRedeemer, n as isCardanoCustodyGrantExhausted, o as deriveCustodyDeviceKey, p as encodeCustodyAccountRedeemer, r as CARDANO_CUSTODY_DEFAULT_GRANT_FEE_BOUND, u as parseCustodyRequestedGrantScope, x as custodyGrantAfterSpend, y as createCustodyAccountRecord } from "./grant-status-B2y49iIu.js";
10
10
  import { i as identityOfValidatedCreator, n as chainIdFromNetworkMagic, r as deriveCustodyAccountIdentity, t as verifyCardanoCustodyAccountIdentity } from "./identity-DII6f-h7.js";
11
- import { a as referenceScriptSize, c as getUniqueSignerKeyHashes, i as referenceScriptFee, n as TransactionBuilder, o as EvaluatedFeeShortfallError, r as LargeFirstCoinSelector, s as InputSelectionError, t as InsufficientCollateralError } from "./TransactionBuilder-CIzdw18M.js";
11
+ import { a as referenceScriptSize, c as getUniqueSignerKeyHashes, i as referenceScriptFee, n as TransactionBuilder, o as EvaluatedFeeShortfallError, r as LargeFirstCoinSelector, s as InputSelectionError, t as InsufficientCollateralError } from "./TransactionBuilder-bp2aMDhg.js";
12
12
  import { t as isRetriableError } from "./is-retriable-error-BUiVJDwH.js";
13
13
  import { t as unwrapProviderResult } from "./unwrap-provider-result-BZSiwabU.js";
14
14
  import { Hash28ByteBase16, blake2b } from "@laceio/cardano/crypto";
@@ -11,7 +11,7 @@ require("./retry-config-BaCfVC1H.cjs");
11
11
  const require_activity_type = require("./activity-type-Ch6ljxBy.cjs");
12
12
  const require_cardano_network_id_vo = require("./cardano-network-id.vo-BEDPn6Li.cjs");
13
13
  const require_const = require("./const-D-eZIS4n.cjs");
14
- const require_TransactionBuilder = require("./TransactionBuilder-CCjOn7NA.cjs");
14
+ const require_TransactionBuilder = require("./TransactionBuilder-X1H9Gze6.cjs");
15
15
  const require_apply_vkey_witnesses = require("./apply-vkey-witnesses-ZnFS0jnJ.cjs");
16
16
  const require_account_guards = require("./account-guards-BtjTGxDZ.cjs");
17
17
  const require_unwrap_provider_result = require("./unwrap-provider-result-ZqfBsTkk.cjs");
@@ -788,7 +788,7 @@ const buildNightDesignationTx = async (params, dependencies) => {
788
788
  if (!blueprintResult.ok) return blueprintResult;
789
789
  const blueprint = blueprintResult.value;
790
790
  const builder = new require_TransactionBuilder.TransactionBuilder(dependencies.networkMagic, params.protocolParameters);
791
- builder.setChangeAddress(params.changeAddress).setUnspentOutputs(dependencies.coverUtxos).setCollateralUtxos(dependencies.coverUtxos).setCollateralChangeAddress(params.changeAddress).setPlutusContext({
791
+ builder.setChangeAddress(params.changeAddress).setUnspentOutputs(dependencies.coverUtxos).setCollateralUtxos(dependencies.collateralUtxos).setCollateralChangeAddress(params.changeAddress).setPlutusContext({
792
792
  costModels: params.protocolParameters.costModels,
793
793
  txEvaluator: dependencies.txEvaluator,
794
794
  inputResolver: dependencies.inputResolver
@@ -1016,10 +1016,14 @@ const buildDesignation = async (state, dependencies, pendingActivities) => {
1016
1016
  const [protocolParameters, tip] = await Promise.all([(0, rxjs.firstValueFrom)(require_unwrap_provider_result.unwrapProviderResult(() => dependencies.cardanoProvider.getProtocolParameters({ chainId }))), (0, rxjs.firstValueFrom)(require_unwrap_provider_result.unwrapProviderResult(() => dependencies.cardanoProvider.getTip({ chainId })))]);
1017
1017
  const network = CardanoDustNetwork.fromNetworkMagic(chainId.networkMagic);
1018
1018
  const { primaryAddress, paymentKeyHash, stakeKeyHash } = resolveAccountKeyHashes(cardanoAddresses, accountId);
1019
- const spendable = require_util.filterSpendableUtxos(allAccountUtxos[accountId] ?? [], unspendableUtxos[accountId] ?? []);
1019
+ const accountUtxos = allAccountUtxos[accountId] ?? [];
1020
+ const reservedUtxos = unspendableUtxos[accountId] ?? [];
1021
+ const spendable = require_util.filterSpendableUtxos(accountUtxos, reservedUtxos);
1020
1022
  const cnightAssetId = getCnightAssetId(network);
1021
1023
  const cnightUtxos = spendable.filter(([, out]) => out.value.assets?.has(cnightAssetId));
1022
1024
  const coverUtxos = spendable.filter(([, out]) => !out.value.assets?.has(cnightAssetId));
1025
+ const reservedKeys = new Set(reservedUtxos.map(require_util.utxoKey));
1026
+ const reservedCollateral = require_util.getEligibleCollateralUtxo(accountUtxos.filter((utxo) => reservedKeys.has(require_util.utxoKey(utxo)) && utxo[1].address === primaryAddress));
1023
1027
  const action = await resolveAction({
1024
1028
  state,
1025
1029
  network,
@@ -1028,7 +1032,7 @@ const buildDesignation = async (state, dependencies, pendingActivities) => {
1028
1032
  chainId,
1029
1033
  pendingActivities
1030
1034
  });
1031
- if (coverUtxos.length === 0) return failure(/* @__PURE__ */ new Error("No ADA-only UTxO available to cover fee and collateral"), "no-cardano-utxos");
1035
+ if (coverUtxos.length === 0) return failure(/* @__PURE__ */ new Error("No ADA-only UTxO available to cover fee and outputs"), "no-cardano-utxos");
1032
1036
  const result = await buildNightDesignationTx({
1033
1037
  network,
1034
1038
  action,
@@ -1041,6 +1045,7 @@ const buildDesignation = async (state, dependencies, pendingActivities) => {
1041
1045
  }, {
1042
1046
  networkMagic: chainId.networkMagic,
1043
1047
  coverUtxos,
1048
+ collateralUtxos: reservedCollateral ? [reservedCollateral] : coverUtxos,
1044
1049
  txEvaluator: createProviderExUnitsEvaluator({
1045
1050
  cardanoProvider: dependencies.cardanoProvider,
1046
1051
  chainId,
@@ -9,7 +9,7 @@ const require_outputs = require("./outputs-CJoQBIA2.cjs");
9
9
  const require_tokens = require("./tokens-Cevp7rdU.cjs");
10
10
  const require_grant_status = require("./grant-status-DOr3t_u8.cjs");
11
11
  const require_identity = require("./identity-BMLuufva.cjs");
12
- const require_TransactionBuilder = require("./TransactionBuilder-CCjOn7NA.cjs");
12
+ const require_TransactionBuilder = require("./TransactionBuilder-X1H9Gze6.cjs");
13
13
  const require_is_retriable_error = require("./is-retriable-error-Dpt860if.cjs");
14
14
  const require_unwrap_provider_result = require("./unwrap-provider-result-ZqfBsTkk.cjs");
15
15
  let _laceio_cardano_crypto = require("@laceio/cardano/crypto");
@@ -3,7 +3,7 @@ import "./_polyfill-buffer-patch-yNxN4d5E.js";
3
3
  import "./libsodium-wrappers-BhbOA8dQ.js";
4
4
  import "./codecs-Dc1Krpbt.js";
5
5
  import { t as SecretBox } from "./secret-box-DUR0ACYz.js";
6
- import { _ as CardanoRewardAccount, n as filterSpendableUtxos, s as isCardanoAddressOfSupportedNetwork, t as createInputResolver } from "./util-Cp5cZkfK.js";
6
+ import { _ as CardanoRewardAccount, d as utxoKey, n as filterSpendableUtxos, r as getEligibleCollateralUtxo, s as isCardanoAddressOfSupportedNetwork, t as createInputResolver } from "./util-Cp5cZkfK.js";
7
7
  import { t as ByteArray } from "./bytes.vo-BB7_4JK6.js";
8
8
  import { t as BigNumber } from "./bignum.vo-CEXOIew0.js";
9
9
  import { n as Ok$1, t as Err$1 } from "./asyncoption-CruEYOBI.js";
@@ -12,7 +12,7 @@ import "./retry-config-Dmgt28wM.js";
12
12
  import { t as ActivityType } from "./activity-type-GsJGWs-3.js";
13
13
  import { t as CardanoNetworkId } from "./cardano-network-id.vo-Cfpvbod9.js";
14
14
  import { r as LOVELACE_TOKEN_ID } from "./const-BJfIK_G-.js";
15
- import { n as TransactionBuilder, s as InputSelectionError } from "./TransactionBuilder-CIzdw18M.js";
15
+ import { n as TransactionBuilder, s as InputSelectionError } from "./TransactionBuilder-bp2aMDhg.js";
16
16
  import { t as applyVkeyWitnesses } from "./apply-vkey-witnesses-BKx3lcs0.js";
17
17
  import { t as refuseExtensionAccount } from "./account-guards-D9Lu5T3W.js";
18
18
  import { t as unwrapProviderResult } from "./unwrap-provider-result-BZSiwabU.js";
@@ -789,7 +789,7 @@ const buildNightDesignationTx = async (params, dependencies) => {
789
789
  if (!blueprintResult.ok) return blueprintResult;
790
790
  const blueprint = blueprintResult.value;
791
791
  const builder = new TransactionBuilder(dependencies.networkMagic, params.protocolParameters);
792
- builder.setChangeAddress(params.changeAddress).setUnspentOutputs(dependencies.coverUtxos).setCollateralUtxos(dependencies.coverUtxos).setCollateralChangeAddress(params.changeAddress).setPlutusContext({
792
+ builder.setChangeAddress(params.changeAddress).setUnspentOutputs(dependencies.coverUtxos).setCollateralUtxos(dependencies.collateralUtxos).setCollateralChangeAddress(params.changeAddress).setPlutusContext({
793
793
  costModels: params.protocolParameters.costModels,
794
794
  txEvaluator: dependencies.txEvaluator,
795
795
  inputResolver: dependencies.inputResolver
@@ -1017,10 +1017,14 @@ const buildDesignation = async (state, dependencies, pendingActivities) => {
1017
1017
  const [protocolParameters, tip] = await Promise.all([firstValueFrom(unwrapProviderResult(() => dependencies.cardanoProvider.getProtocolParameters({ chainId }))), firstValueFrom(unwrapProviderResult(() => dependencies.cardanoProvider.getTip({ chainId })))]);
1018
1018
  const network = CardanoDustNetwork.fromNetworkMagic(chainId.networkMagic);
1019
1019
  const { primaryAddress, paymentKeyHash, stakeKeyHash } = resolveAccountKeyHashes(cardanoAddresses, accountId);
1020
- const spendable = filterSpendableUtxos(allAccountUtxos[accountId] ?? [], unspendableUtxos[accountId] ?? []);
1020
+ const accountUtxos = allAccountUtxos[accountId] ?? [];
1021
+ const reservedUtxos = unspendableUtxos[accountId] ?? [];
1022
+ const spendable = filterSpendableUtxos(accountUtxos, reservedUtxos);
1021
1023
  const cnightAssetId = getCnightAssetId(network);
1022
1024
  const cnightUtxos = spendable.filter(([, out]) => out.value.assets?.has(cnightAssetId));
1023
1025
  const coverUtxos = spendable.filter(([, out]) => !out.value.assets?.has(cnightAssetId));
1026
+ const reservedKeys = new Set(reservedUtxos.map(utxoKey));
1027
+ const reservedCollateral = getEligibleCollateralUtxo(accountUtxos.filter((utxo) => reservedKeys.has(utxoKey(utxo)) && utxo[1].address === primaryAddress));
1024
1028
  const action = await resolveAction({
1025
1029
  state,
1026
1030
  network,
@@ -1029,7 +1033,7 @@ const buildDesignation = async (state, dependencies, pendingActivities) => {
1029
1033
  chainId,
1030
1034
  pendingActivities
1031
1035
  });
1032
- if (coverUtxos.length === 0) return failure(/* @__PURE__ */ new Error("No ADA-only UTxO available to cover fee and collateral"), "no-cardano-utxos");
1036
+ if (coverUtxos.length === 0) return failure(/* @__PURE__ */ new Error("No ADA-only UTxO available to cover fee and outputs"), "no-cardano-utxos");
1033
1037
  const result = await buildNightDesignationTx({
1034
1038
  network,
1035
1039
  action,
@@ -1042,6 +1046,7 @@ const buildDesignation = async (state, dependencies, pendingActivities) => {
1042
1046
  }, {
1043
1047
  networkMagic: chainId.networkMagic,
1044
1048
  coverUtxos,
1049
+ collateralUtxos: reservedCollateral ? [reservedCollateral] : coverUtxos,
1045
1050
  txEvaluator: createProviderExUnitsEvaluator({
1046
1051
  cardanoProvider: dependencies.cardanoProvider,
1047
1052
  chainId,
package/dist/midnight.cjs CHANGED
@@ -4,7 +4,7 @@ const require__polyfill_buffer_patch = require("./_polyfill-buffer-patch-CM8X7Ji
4
4
  require("./codecs-Cswkg7Tm.cjs");
5
5
  require("./util-Bu4W5lF4.cjs");
6
6
  const require_bytes_vo = require("./bytes.vo-BNRquqaO.cjs");
7
- const require_sdk = require("./sdk-DffwmX8b.cjs");
7
+ const require_sdk = require("./sdk-BQEnJnHI.cjs");
8
8
  const require_time_vo = require("./time.vo-D3wWRw9L.cjs");
9
9
  const require_bignum_vo = require("./bignum.vo-hx2kuqlA.cjs");
10
10
  const require_asyncoption = require("./asyncoption-i0VbqVTq.cjs");
@@ -3197,6 +3197,8 @@ declare const _exports: {
3197
3197
  "v2.common.uk-fca-risk-warning.confirm": string;
3198
3198
  "v2.swap.select-token-to-sell": string;
3199
3199
  "v2.swap.select-token-to-buy": string;
3200
+ "v2.swap.verified-only": string;
3201
+ "v2.swap.verified-only-hint": string;
3200
3202
  "v2.swap.search": string;
3201
3203
  "v2.swap.no-tokens": string;
3202
3204
  "v2.swap.no-matching-tokens": string;
@@ -6194,6 +6196,8 @@ declare const rawTranslations: {
6194
6196
  "v2.common.uk-fca-risk-warning.confirm": string;
6195
6197
  "v2.swap.select-token-to-sell": string;
6196
6198
  "v2.swap.select-token-to-buy": string;
6199
+ "v2.swap.verified-only": string;
6200
+ "v2.swap.verified-only-hint": string;
6197
6201
  "v2.swap.search": string;
6198
6202
  "v2.swap.no-tokens": string;
6199
6203
  "v2.swap.no-matching-tokens": string;
@@ -9189,6 +9193,8 @@ declare const rawTranslations: {
9189
9193
  "v2.common.uk-fca-risk-warning.confirm": string;
9190
9194
  "v2.swap.select-token-to-sell": string;
9191
9195
  "v2.swap.select-token-to-buy": string;
9196
+ "v2.swap.verified-only": string;
9197
+ "v2.swap.verified-only-hint": string;
9192
9198
  "v2.swap.search": string;
9193
9199
  "v2.swap.no-tokens": string;
9194
9200
  "v2.swap.no-matching-tokens": string;
@@ -12179,6 +12185,8 @@ declare const rawTranslations: {
12179
12185
  "v2.common.uk-fca-risk-warning.confirm": string;
12180
12186
  "v2.swap.select-token-to-sell": string;
12181
12187
  "v2.swap.select-token-to-buy": string;
12188
+ "v2.swap.verified-only": string;
12189
+ "v2.swap.verified-only-hint": string;
12182
12190
  "v2.swap.search": string;
12183
12191
  "v2.swap.no-tokens": string;
12184
12192
  "v2.swap.no-matching-tokens": string;
package/dist/midnight.js CHANGED
@@ -5,7 +5,7 @@ import "./libsodium-wrappers-BhbOA8dQ.js";
5
5
  import "./codecs-Dc1Krpbt.js";
6
6
  import "./util-Cp5cZkfK.js";
7
7
  import { t as ByteArray } from "./bytes.vo-BB7_4JK6.js";
8
- import { A as ContractName, C as walletRepoStoreContract, E as featureStoreContract, M as WalletId, O as combineStore, S as WalletType, T as failuresStoreContract, _ as walletActiveStateDependencyContract, a as createInMemoryWalletEntity, b as addressesStoreContract, c as createLaceWallet, i as createBlockchainWalletEntity, j as ModuleName, k as createMixin, l as signerFactoryAddonContract, n as sdk_default$1, o as inMemoryIntegrationAddonContract, r as sdk_default, s as AuthSecret, t as sdk_default$2, v as tokensStoreContract, w as networkStoreContract, x as activitiesStoreContract, y as syncStoreContract } from "./sdk-Cb-gZnS9.js";
8
+ import { A as ContractName, C as walletRepoStoreContract, E as featureStoreContract, M as WalletId, O as combineStore, S as WalletType, T as failuresStoreContract, _ as walletActiveStateDependencyContract, a as createInMemoryWalletEntity, b as addressesStoreContract, c as createLaceWallet, i as createBlockchainWalletEntity, j as ModuleName, k as createMixin, l as signerFactoryAddonContract, n as sdk_default$1, o as inMemoryIntegrationAddonContract, r as sdk_default, s as AuthSecret, t as sdk_default$2, v as tokensStoreContract, w as networkStoreContract, x as activitiesStoreContract, y as syncStoreContract } from "./sdk-CnhR4Owy.js";
9
9
  import { s as Timestamp } from "./time.vo-tNheinXm.js";
10
10
  import { t as BigNumber } from "./bignum.vo-CEXOIew0.js";
11
11
  import { n as Ok, t as Err } from "./asyncoption-CruEYOBI.js";
@@ -2,7 +2,7 @@ import { r as __exportAll } from "./rolldown-runtime-OvD0k9op.js";
2
2
  import { i as sha256, v as bytesToHex } from "./codecs-Dc1Krpbt.js";
3
3
  import { o as isCardanoAddress, t as createInputResolver } from "./util-Cp5cZkfK.js";
4
4
  import { n as HexBytes, t as ByteArray } from "./bytes.vo-BB7_4JK6.js";
5
- import { A as ContractName, C as walletRepoStoreContract, E as featureStoreContract, M as WalletId, S as WalletType, b as addressesStoreContract, d as cardanoProviderDependencyContract, f as cardanoProviderStoreContract, g as voteDelegationTxBuilderAddonContract, h as earnRewardsTxBuilderAddonContract, i as createBlockchainWalletEntity, j as ModuleName, l as signerFactoryAddonContract, m as deregistrationTxBuilderAddonContract, n as sdk_default$4, o as inMemoryIntegrationAddonContract, p as delegationTxBuilderAddonContract, r as sdk_default$3, s as AuthSecret, t as sdk_default$5, u as cardanoInMemorySigningDependencyContract, v as tokensStoreContract, y as syncStoreContract } from "./sdk-Cb-gZnS9.js";
5
+ import { A as ContractName, C as walletRepoStoreContract, E as featureStoreContract, M as WalletId, S as WalletType, b as addressesStoreContract, d as cardanoProviderDependencyContract, f as cardanoProviderStoreContract, g as voteDelegationTxBuilderAddonContract, h as earnRewardsTxBuilderAddonContract, i as createBlockchainWalletEntity, j as ModuleName, l as signerFactoryAddonContract, m as deregistrationTxBuilderAddonContract, n as sdk_default$4, o as inMemoryIntegrationAddonContract, p as delegationTxBuilderAddonContract, r as sdk_default$3, s as AuthSecret, t as sdk_default$5, u as cardanoInMemorySigningDependencyContract, v as tokensStoreContract, y as syncStoreContract } from "./sdk-CnhR4Owy.js";
6
6
  import { a as CardanoInMemoryTransactionSigner, i as deriveDRepKeyHash, o as CardanoInMemoryDataSigner, r as createCardanoKeyAgentFromMnemonic, t as withCollateralOwnershipGuard } from "./guarded-transaction-signer-P6Rp1faj.js";
7
7
  import { n as Ok, t as Err } from "./asyncoption-CruEYOBI.js";
8
8
  import { c as RemoteSignerError, l as SignerClosedError, u as SignerPopupBlockedError } from "./key-source-B08HukZg.js";
@@ -11,9 +11,9 @@ import { r as cardanoContextSelectors } from "./slice-qt0uBExh.js";
11
11
  import { i as createLazyAccountsFromAccountPublicKey } from "./in-memory-wallet-integration-CljprQQV.js";
12
12
  import { t as CardanoTxId } from "./cardano-tx-id.vo-eVnKuzlm.js";
13
13
  import { n as FEATURE_FLAG_CARDANO } from "./const-BJfIK_G-.js";
14
- import { n as TransactionBuilder } from "./TransactionBuilder-CIzdw18M.js";
14
+ import { n as TransactionBuilder } from "./TransactionBuilder-bp2aMDhg.js";
15
15
  import { t as CompositeSignerFactory } from "./composite-signer-factory-CR8YHA1y.js";
16
- import { n as addressBookAddressValidatorAddonContract, r as LazyWalletMismatchError, t as tokenIdMapperAddonContract } from "./contract-1R86jhSw.js";
16
+ import { n as addressBookAddressValidatorAddonContract, r as LazyWalletMismatchError, t as tokenIdMapperAddonContract } from "./contract-D-ZzR8jz.js";
17
17
  import { InMemoryKeyAgent, KeyPurpose } from "@laceio/cardano/key-management";
18
18
  import { Bip32PublicKeyHex, SodiumBip32Ed25519 } from "@laceio/cardano/crypto";
19
19
  import { Cardano } from "@laceio/cardano/core";
@@ -550,7 +550,7 @@ const dependsOnContracts = combineContracts([
550
550
  //#endregion
551
551
  //#region ../../packages/module/blockchain-cardano/src/store/index.ts
552
552
  var store_default$1 = inferStoreContext({
553
- load: async () => import("./init-8v_n8boO.js"),
553
+ load: async () => import("./init-qSEd_Spq.js"),
554
554
  context: {
555
555
  actions: {},
556
556
  selectors: {}
@@ -579,11 +579,11 @@ var sdk_default$2 = inferModuleContext({
579
579
  addons: {
580
580
  loadInMemoryWalletIntegration: async () => import("./in-memory-wallet-integration-ChIOirMW.js"),
581
581
  loadAddressBookAddressValidators: async () => import("./address-book-address-validator-0J9XAADH.js"),
582
- loadDelegationTxBuilder: async () => import("./delegation-tx-builder-DZFjHDS8.js"),
582
+ loadDelegationTxBuilder: async () => import("./delegation-tx-builder-Dy3-2Auz.js"),
583
583
  loadTokenIdMapper: async () => import("./token-id-mapper-D29Ggv8h.js"),
584
- loadDeregistrationTxBuilder: async () => import("./deregistration-tx-builder-Bf6xAYp4.js"),
585
- loadVoteDelegationTxBuilder: async () => import("./vote-delegation-tx-builder-C6FiS7zI.js"),
586
- loadEarnRewardsTxBuilder: async () => import("./earn-rewards-tx-builder-Bsga3yFb.js"),
584
+ loadDeregistrationTxBuilder: async () => import("./deregistration-tx-builder-QkWW_gWl.js"),
585
+ loadVoteDelegationTxBuilder: async () => import("./vote-delegation-tx-builder-BsBSDmcX.js"),
586
+ loadEarnRewardsTxBuilder: async () => import("./earn-rewards-tx-builder-Cku4BmNU.js"),
587
587
  loadSignerFactory: async () => import("./signer-factory-DObB55D4.js")
588
588
  }
589
589
  });
@@ -2,7 +2,7 @@ const require_rolldown_runtime = require("./rolldown-runtime-Br2OG8yv.cjs");
2
2
  const require_codecs = require("./codecs-Cswkg7Tm.cjs");
3
3
  const require_util = require("./util-Bu4W5lF4.cjs");
4
4
  const require_bytes_vo = require("./bytes.vo-BNRquqaO.cjs");
5
- const require_sdk = require("./sdk-DffwmX8b.cjs");
5
+ const require_sdk = require("./sdk-BQEnJnHI.cjs");
6
6
  const require_guarded_transaction_signer = require("./guarded-transaction-signer-MFpPg98D.cjs");
7
7
  const require_asyncoption = require("./asyncoption-i0VbqVTq.cjs");
8
8
  const require_key_source = require("./key-source-5oUBFiC7.cjs");
@@ -11,9 +11,9 @@ const require_slice = require("./slice-DTZTiJle.cjs");
11
11
  const require_in_memory_wallet_integration = require("./in-memory-wallet-integration-t9I00R_V.cjs");
12
12
  const require_cardano_tx_id_vo = require("./cardano-tx-id.vo-TLjJZHCI.cjs");
13
13
  const require_const = require("./const-D-eZIS4n.cjs");
14
- const require_TransactionBuilder = require("./TransactionBuilder-CCjOn7NA.cjs");
14
+ const require_TransactionBuilder = require("./TransactionBuilder-X1H9Gze6.cjs");
15
15
  const require_composite_signer_factory = require("./composite-signer-factory-m5cVs9h_.cjs");
16
- const require_contract = require("./contract-MKLzYVkW.cjs");
16
+ const require_contract = require("./contract-DtD0r5iC.cjs");
17
17
  let _laceio_cardano_key_management = require("@laceio/cardano/key-management");
18
18
  let _laceio_cardano_crypto = require("@laceio/cardano/crypto");
19
19
  let _laceio_cardano_core = require("@laceio/cardano/core");
@@ -550,7 +550,7 @@ const dependsOnContracts = require_store.combineContracts([
550
550
  //#endregion
551
551
  //#region ../../packages/module/blockchain-cardano/src/store/index.ts
552
552
  var store_default$1 = require_store.inferStoreContext({
553
- load: async () => Promise.resolve().then(() => require("./init-DrRdf5sZ.cjs")),
553
+ load: async () => Promise.resolve().then(() => require("./init-Clu8pxwQ.cjs")),
554
554
  context: {
555
555
  actions: {},
556
556
  selectors: {}
@@ -579,11 +579,11 @@ var sdk_default$2 = require_store.inferModuleContext({
579
579
  addons: {
580
580
  loadInMemoryWalletIntegration: async () => Promise.resolve().then(() => require("./in-memory-wallet-integration-Cm6P8sk6.cjs")),
581
581
  loadAddressBookAddressValidators: async () => Promise.resolve().then(() => require("./address-book-address-validator-Dte_YQ2L.cjs")),
582
- loadDelegationTxBuilder: async () => Promise.resolve().then(() => require("./delegation-tx-builder-CCjiakoy.cjs")),
582
+ loadDelegationTxBuilder: async () => Promise.resolve().then(() => require("./delegation-tx-builder-Dof_0N_d.cjs")),
583
583
  loadTokenIdMapper: async () => Promise.resolve().then(() => require("./token-id-mapper-CVyQJUKY.cjs")),
584
- loadDeregistrationTxBuilder: async () => Promise.resolve().then(() => require("./deregistration-tx-builder-CQP35yex.cjs")),
585
- loadVoteDelegationTxBuilder: async () => Promise.resolve().then(() => require("./vote-delegation-tx-builder-BUg1S2Ep.cjs")),
586
- loadEarnRewardsTxBuilder: async () => Promise.resolve().then(() => require("./earn-rewards-tx-builder-GuxofYns.cjs")),
584
+ loadDeregistrationTxBuilder: async () => Promise.resolve().then(() => require("./deregistration-tx-builder-CcLwyFpj.cjs")),
585
+ loadVoteDelegationTxBuilder: async () => Promise.resolve().then(() => require("./vote-delegation-tx-builder-DSs8nybk.cjs")),
586
+ loadEarnRewardsTxBuilder: async () => Promise.resolve().then(() => require("./earn-rewards-tx-builder-BP5JMIKS.cjs")),
587
587
  loadSignerFactory: async () => Promise.resolve().then(() => require("./signer-factory-Ds6G2AZk.cjs"))
588
588
  }
589
589
  });
@@ -16,7 +16,7 @@ const require_slice$4 = require("./slice-C34iOOUH.cjs");
16
16
  const require_slice$5 = require("./slice-7G2xxYKJ.cjs");
17
17
  const require_slice$6 = require("./slice-DTZTiJle.cjs");
18
18
  const require_const = require("./const-D-eZIS4n.cjs");
19
- const require_slice$7 = require("./slice-DnBWfA-k.cjs");
19
+ const require_slice$7 = require("./slice-BhL_wp-Q.cjs");
20
20
  const require_actions = require("./actions-B2BJ4RTy.cjs");
21
21
  let _laceio_cardano_util = require("@laceio/cardano/util");
22
22
  let rxjs = require("rxjs");
@@ -606,7 +606,7 @@ var store_default$7 = require_store.inferStoreContext({
606
606
  //#endregion
607
607
  //#region ../../packages/contract/views/src/store/index.ts
608
608
  var store_default$6 = require_store.inferStoreContext({
609
- load: async () => Promise.resolve().then(() => require("./init-EhzD7a8i.cjs")),
609
+ load: async () => Promise.resolve().then(() => require("./init-BbBErqEW.cjs")),
610
610
  context: {
611
611
  actions: require_slice$7.viewsActions,
612
612
  selectors: require_slice$7.viewsSelectors
@@ -16,7 +16,7 @@ import { r as activitiesSelectors, t as activitiesActions } from "./slice-D-9aPK
16
16
  import { r as addressesSelectors, t as addressesActions } from "./slice-CU80pbiu.js";
17
17
  import { h as store_default$16, r as cardanoContextSelectors, t as cardanoContextActions } from "./slice-qt0uBExh.js";
18
18
  import { n as FEATURE_FLAG_CARDANO } from "./const-BJfIK_G-.js";
19
- import { r as viewsSelectors, t as viewsActions } from "./slice-BPNuHKfw.js";
19
+ import { r as viewsSelectors, t as viewsActions } from "./slice-Cai7mFoA.js";
20
20
  import { t as setFeatureFlags } from "./actions-iLXdgL5Y.js";
21
21
  import { contextLogger, isNotNil } from "@laceio/cardano/util";
22
22
  import { NEVER, Subject, defaultIfEmpty, delay, distinctUntilChanged, filter, firstValueFrom, from, map, share, shareReplay, takeUntil } from "rxjs";
@@ -602,7 +602,7 @@ var store_default$7 = inferStoreContext({
602
602
  //#endregion
603
603
  //#region ../../packages/contract/views/src/store/index.ts
604
604
  var store_default$6 = inferStoreContext({
605
- load: async () => import("./init-kEfUTuG2.js"),
605
+ load: async () => import("./init-BozmDPvs.js"),
606
606
  context: {
607
607
  actions: viewsActions,
608
608
  selectors: viewsSelectors
@@ -2521,6 +2521,8 @@ const rawTranslations = {
2521
2521
  "v2.common.uk-fca-risk-warning.confirm": "I understand",
2522
2522
  "v2.swap.select-token-to-sell": "Select token to sell",
2523
2523
  "v2.swap.select-token-to-buy": "Select token to buy",
2524
+ "v2.swap.verified-only": "Verified only",
2525
+ "v2.swap.verified-only-hint": "Show only tokens verified by SteelSwap or listed in the Cardano Token Registry",
2524
2526
  "v2.swap.search": "Search",
2525
2527
  "v2.swap.no-tokens": "You have no tokens",
2526
2528
  "v2.swap.no-matching-tokens": "No matching tokens for {{searchTerm}}",
@@ -5516,6 +5518,8 @@ const rawTranslations = {
5516
5518
  "v2.common.uk-fca-risk-warning.confirm": "I understand",
5517
5519
  "v2.swap.select-token-to-sell": "Seleccionar token para vender",
5518
5520
  "v2.swap.select-token-to-buy": "Seleccionar token para comprar",
5521
+ "v2.swap.verified-only": "Solo verificados",
5522
+ "v2.swap.verified-only-hint": "Muestra solo los tokens verificados por SteelSwap o incluidos en el Cardano Token Registry",
5519
5523
  "v2.swap.search": "Buscar",
5520
5524
  "v2.swap.no-tokens": "No tienes tokens",
5521
5525
  "v2.swap.no-matching-tokens": "No se encontraron tokens que coincidan con {{searchTerm}}",
@@ -8506,6 +8510,8 @@ const rawTranslations = {
8506
8510
  "v2.common.uk-fca-risk-warning.confirm": "I understand",
8507
8511
  "v2.swap.select-token-to-sell": "売却するトークンを選択",
8508
8512
  "v2.swap.select-token-to-buy": "購入するトークンを選択",
8513
+ "v2.swap.verified-only": "確認済みのみ",
8514
+ "v2.swap.verified-only-hint": "SteelSwapで確認済み、またはCardano Token Registryに登録されているトークンのみを表示します",
8509
8515
  "v2.swap.search": "検索",
8510
8516
  "v2.swap.no-tokens": "トークンがありません",
8511
8517
  "v2.swap.no-matching-tokens": "「{{searchTerm}}」に一致するトークンはありません",
@@ -2520,6 +2520,8 @@ const rawTranslations = {
2520
2520
  "v2.common.uk-fca-risk-warning.confirm": "I understand",
2521
2521
  "v2.swap.select-token-to-sell": "Select token to sell",
2522
2522
  "v2.swap.select-token-to-buy": "Select token to buy",
2523
+ "v2.swap.verified-only": "Verified only",
2524
+ "v2.swap.verified-only-hint": "Show only tokens verified by SteelSwap or listed in the Cardano Token Registry",
2523
2525
  "v2.swap.search": "Search",
2524
2526
  "v2.swap.no-tokens": "You have no tokens",
2525
2527
  "v2.swap.no-matching-tokens": "No matching tokens for {{searchTerm}}",
@@ -5515,6 +5517,8 @@ const rawTranslations = {
5515
5517
  "v2.common.uk-fca-risk-warning.confirm": "I understand",
5516
5518
  "v2.swap.select-token-to-sell": "Seleccionar token para vender",
5517
5519
  "v2.swap.select-token-to-buy": "Seleccionar token para comprar",
5520
+ "v2.swap.verified-only": "Solo verificados",
5521
+ "v2.swap.verified-only-hint": "Muestra solo los tokens verificados por SteelSwap o incluidos en el Cardano Token Registry",
5518
5522
  "v2.swap.search": "Buscar",
5519
5523
  "v2.swap.no-tokens": "No tienes tokens",
5520
5524
  "v2.swap.no-matching-tokens": "No se encontraron tokens que coincidan con {{searchTerm}}",
@@ -8505,6 +8509,8 @@ const rawTranslations = {
8505
8509
  "v2.common.uk-fca-risk-warning.confirm": "I understand",
8506
8510
  "v2.swap.select-token-to-sell": "売却するトークンを選択",
8507
8511
  "v2.swap.select-token-to-buy": "購入するトークンを選択",
8512
+ "v2.swap.verified-only": "確認済みのみ",
8513
+ "v2.swap.verified-only-hint": "SteelSwapで確認済み、またはCardano Token Registryに登録されているトークンのみを表示します",
8508
8514
  "v2.swap.search": "検索",
8509
8515
  "v2.swap.no-tokens": "トークンがありません",
8510
8516
  "v2.swap.no-matching-tokens": "「{{searchTerm}}」に一致するトークンはありません",
@@ -3,13 +3,13 @@ const require__polyfill_buffer_patch = require("./_polyfill-buffer-patch-CM8X7Ji
3
3
  const require_address = require("./address-BXp-mY8H.cjs");
4
4
  const require_src$2 = require("./src-BDzYIksE.cjs");
5
5
  const require_bytes_vo = require("./bytes.vo-BNRquqaO.cjs");
6
- const require_sdk = require("./sdk-DffwmX8b.cjs");
6
+ const require_sdk = require("./sdk-BQEnJnHI.cjs");
7
7
  const require_asyncoption = require("./asyncoption-i0VbqVTq.cjs");
8
8
  const require_store = require("./store-B1Lq3cEf.cjs");
9
9
  const require_activity_type = require("./activity-type-Ch6ljxBy.cjs");
10
10
  const require_composite_signer_factory = require("./composite-signer-factory-m5cVs9h_.cjs");
11
11
  const require_types = require("./types-DWbVZpnF.cjs");
12
- const require_contract = require("./contract-MKLzYVkW.cjs");
12
+ const require_contract = require("./contract-DtD0r5iC.cjs");
13
13
  const require_types$1 = require("./types-CLRUYpfe.cjs");
14
14
  const require_const = require("./const-BhYOdznB.cjs");
15
15
  const require_keyDerivation = require("./keyDerivation-u0nBA93T.cjs");
@@ -4,13 +4,13 @@ import { a as validateBitcoinAddress, i as isP2trAddress, l as require_src, n as
4
4
  import { a as getExtendedPubKeys, o as bitcoinFullDerivationPath } from "./keyDerivation-D3k9XyHg.js";
5
5
  import { t as require_src$1 } from "./src-BFoefPv_.js";
6
6
  import { n as HexBytes, t as ByteArray } from "./bytes.vo-BB7_4JK6.js";
7
- import { A as ContractName, C as walletRepoStoreContract, S as WalletType, _ as walletActiveStateDependencyContract, b as addressesStoreContract, j as ModuleName, l as signerFactoryAddonContract, n as sdk_default$4, o as inMemoryIntegrationAddonContract, r as sdk_default$3, s as AuthSecret, t as sdk_default$5, v as tokensStoreContract, w as networkStoreContract, x as activitiesStoreContract, y as syncStoreContract } from "./sdk-Cb-gZnS9.js";
7
+ import { A as ContractName, C as walletRepoStoreContract, S as WalletType, _ as walletActiveStateDependencyContract, b as addressesStoreContract, j as ModuleName, l as signerFactoryAddonContract, n as sdk_default$4, o as inMemoryIntegrationAddonContract, r as sdk_default$3, s as AuthSecret, t as sdk_default$5, v as tokensStoreContract, w as networkStoreContract, x as activitiesStoreContract, y as syncStoreContract } from "./sdk-CnhR4Owy.js";
8
8
  import { n as Ok, t as Err } from "./asyncoption-CruEYOBI.js";
9
9
  import { a as inferStoreContext, i as inferModuleContext, n as combineContracts, r as inferContractContext } from "./store-DuBG8qh5.js";
10
10
  import { t as ActivityType } from "./activity-type-GsJGWs-3.js";
11
11
  import { t as CompositeSignerFactory } from "./composite-signer-factory-CR8YHA1y.js";
12
12
  import { t as AuthenticationCancelledError } from "./types-CJT6XF2c.js";
13
- import { n as addressBookAddressValidatorAddonContract, r as LazyWalletMismatchError, t as tokenIdMapperAddonContract } from "./contract-1R86jhSw.js";
13
+ import { n as addressBookAddressValidatorAddonContract, r as LazyWalletMismatchError, t as tokenIdMapperAddonContract } from "./contract-D-ZzR8jz.js";
14
14
  import { n as BitcoinNetwork } from "./types-B8uiJn-X.js";
15
15
  import { n as BITCOIN_MEMPOOL_FEE_MARKET_FEATURE_FLAG, t as BITCOIN_FEATURE_FLAG } from "./const-CUnCl5U0.js";
16
16
  import { i as bitcoinContextActions, n as bitcoinAccountWallets$, o as bitcoinContextSelectors, r as SyncStatus } from "./side-effects-BnqYz7Nl.js";
@@ -1,7 +1,7 @@
1
1
  import { n as filterSpendableUtxos } from "./util-Cp5cZkfK.js";
2
2
  import { t as BigNumber } from "./bignum.vo-CEXOIew0.js";
3
3
  import { r as LOVELACE_TOKEN_ID } from "./const-BJfIK_G-.js";
4
- import { n as TransactionBuilder } from "./TransactionBuilder-CIzdw18M.js";
4
+ import { n as TransactionBuilder } from "./TransactionBuilder-bp2aMDhg.js";
5
5
  import { t as refuseExtensionAccount } from "./account-guards-D9Lu5T3W.js";
6
6
  import { Cardano } from "@laceio/cardano/core";
7
7
  import { defer, firstValueFrom, of } from "rxjs";
@@ -2,7 +2,7 @@ require("./rolldown-runtime-Br2OG8yv.cjs");
2
2
  const require_util = require("./util-Bu4W5lF4.cjs");
3
3
  const require_bignum_vo = require("./bignum.vo-hx2kuqlA.cjs");
4
4
  const require_const = require("./const-D-eZIS4n.cjs");
5
- const require_TransactionBuilder = require("./TransactionBuilder-CCjOn7NA.cjs");
5
+ const require_TransactionBuilder = require("./TransactionBuilder-X1H9Gze6.cjs");
6
6
  const require_account_guards = require("./account-guards-BtjTGxDZ.cjs");
7
7
  let _laceio_cardano_core = require("@laceio/cardano/core");
8
8
  let rxjs = require("rxjs");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@laceio/sdk",
3
- "version": "0.1.2-canary.0",
3
+ "version": "0.1.2-canary.2",
4
4
  "private": false,
5
5
  "homepage": "https://sdk.lace.io",
6
6
  "repository": {