@swapkit/api-sdk-typescript 1.3.0 → 2.0.1-nightly.20260722213839

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1179,9 +1179,9 @@ type GetQuoteRequest = {
1179
1179
  */
1180
1180
  disableEstimate?: boolean;
1181
1181
  /**
1182
- * Set to true to disable the default behaviour of sweeping wallet funds if the transaction was to leave unspendable dust in the address.
1182
+ * Set to true to enable sweeping wallet funds when the transaction would otherwise leave unspendable dust in the address (opt-in).
1183
1183
  */
1184
- disableSweep?: boolean;
1184
+ enableSweep?: boolean;
1185
1185
  /**
1186
1186
  * Maximum execution time in seconds. Routes exceeding this time will be filtered out.
1187
1187
  */
@@ -1422,9 +1422,9 @@ type ExecuteSwapRequest = {
1422
1422
  */
1423
1423
  disableBuildTx?: boolean;
1424
1424
  /**
1425
- * Set to true to disable max-spend sweep behaviour for UTXO assets, overriding the ENABLE_SWEEP_BALANCE default.
1425
+ * Set to true to enable max-spend sweep behaviour for UTXO/gas assets (opt-in).
1426
1426
  */
1427
- disableSweep?: boolean;
1427
+ enableSweep?: boolean;
1428
1428
  };
1429
1429
  type ExecuteSwapResponse = {
1430
1430
  /**
package/dist/index.d.ts CHANGED
@@ -1179,9 +1179,9 @@ type GetQuoteRequest = {
1179
1179
  */
1180
1180
  disableEstimate?: boolean;
1181
1181
  /**
1182
- * Set to true to disable the default behaviour of sweeping wallet funds if the transaction was to leave unspendable dust in the address.
1182
+ * Set to true to enable sweeping wallet funds when the transaction would otherwise leave unspendable dust in the address (opt-in).
1183
1183
  */
1184
- disableSweep?: boolean;
1184
+ enableSweep?: boolean;
1185
1185
  /**
1186
1186
  * Maximum execution time in seconds. Routes exceeding this time will be filtered out.
1187
1187
  */
@@ -1422,9 +1422,9 @@ type ExecuteSwapRequest = {
1422
1422
  */
1423
1423
  disableBuildTx?: boolean;
1424
1424
  /**
1425
- * Set to true to disable max-spend sweep behaviour for UTXO assets, overriding the ENABLE_SWEEP_BALANCE default.
1425
+ * Set to true to enable max-spend sweep behaviour for UTXO/gas assets (opt-in).
1426
1426
  */
1427
- disableSweep?: boolean;
1427
+ enableSweep?: boolean;
1428
1428
  };
1429
1429
  type ExecuteSwapResponse = {
1430
1430
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swapkit/api-sdk-typescript",
3
- "version": "1.3.0",
3
+ "version": "2.0.1-nightly.20260722213839",
4
4
  "description": "Type-safe TypeScript SDK for the SwapKit API",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/src/types.ts CHANGED
@@ -882,9 +882,9 @@ export type GetQuoteRequest = {
882
882
  */
883
883
  disableEstimate?: boolean;
884
884
  /**
885
- * Set to true to disable the default behaviour of sweeping wallet funds if the transaction was to leave unspendable dust in the address.
885
+ * Set to true to enable sweeping wallet funds when the transaction would otherwise leave unspendable dust in the address (opt-in).
886
886
  */
887
- disableSweep?: boolean;
887
+ enableSweep?: boolean;
888
888
  /**
889
889
  * Maximum execution time in seconds. Routes exceeding this time will be filtered out.
890
890
  */
@@ -1127,9 +1127,9 @@ export type ExecuteSwapRequest = {
1127
1127
  */
1128
1128
  disableBuildTx?: boolean;
1129
1129
  /**
1130
- * Set to true to disable max-spend sweep behaviour for UTXO assets, overriding the ENABLE_SWEEP_BALANCE default.
1130
+ * Set to true to enable max-spend sweep behaviour for UTXO/gas assets (opt-in).
1131
1131
  */
1132
- disableSweep?: boolean;
1132
+ enableSweep?: boolean;
1133
1133
  };
1134
1134
 
1135
1135
  export type ExecuteSwapResponse = {