@swapkit/api-sdk-typescript 1.3.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/package.json +1 -1
- package/src/types.ts +4 -4
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
|
|
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
|
-
|
|
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
|
|
1425
|
+
* Set to true to enable max-spend sweep behaviour for UTXO/gas assets (opt-in).
|
|
1426
1426
|
*/
|
|
1427
|
-
|
|
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
|
|
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
|
-
|
|
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
|
|
1425
|
+
* Set to true to enable max-spend sweep behaviour for UTXO/gas assets (opt-in).
|
|
1426
1426
|
*/
|
|
1427
|
-
|
|
1427
|
+
enableSweep?: boolean;
|
|
1428
1428
|
};
|
|
1429
1429
|
type ExecuteSwapResponse = {
|
|
1430
1430
|
/**
|
package/package.json
CHANGED
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
|
|
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
|
-
|
|
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
|
|
1130
|
+
* Set to true to enable max-spend sweep behaviour for UTXO/gas assets (opt-in).
|
|
1131
1131
|
*/
|
|
1132
|
-
|
|
1132
|
+
enableSweep?: boolean;
|
|
1133
1133
|
};
|
|
1134
1134
|
|
|
1135
1135
|
export type ExecuteSwapResponse = {
|