@b3dotfun/sdk 0.0.40-alpha.17 → 0.0.40-alpha.18
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/cjs/anyspend/react/components/AnySpend.js +1 -1
- package/dist/cjs/anyspend/types/api.d.ts +1 -1
- package/dist/esm/anyspend/react/components/AnySpend.js +1 -1
- package/dist/esm/anyspend/types/api.d.ts +1 -1
- package/dist/types/anyspend/types/api.d.ts +1 -1
- package/package.json +1 -1
- package/src/anyspend/react/components/AnySpend.tsx +1 -1
- package/src/anyspend/types/api.ts +1 -1
|
@@ -328,7 +328,7 @@ function AnySpendInner({ destinationTokenAddress, destinationTokenChainId, mode
|
|
|
328
328
|
srcTokenAddress: selectedSrcToken.address,
|
|
329
329
|
dstTokenAddress: isBuyMode ? destinationTokenAddress : selectedDstToken.address,
|
|
330
330
|
type: "swap",
|
|
331
|
-
tradeType: isSrcInputDirty ? "EXACT_INPUT" : "
|
|
331
|
+
tradeType: isSrcInputDirty ? "EXACT_INPUT" : "EXACT_OUTPUT",
|
|
332
332
|
amount: activeInputAmountInWei,
|
|
333
333
|
}
|
|
334
334
|
: {
|
|
@@ -507,7 +507,7 @@ export interface paths {
|
|
|
507
507
|
* @description Type of trade execution
|
|
508
508
|
* @enum {string}
|
|
509
509
|
*/
|
|
510
|
-
tradeType: "EXACT_INPUT" | "
|
|
510
|
+
tradeType: "EXACT_INPUT" | "EXACT_OUTPUT";
|
|
511
511
|
/**
|
|
512
512
|
* @description Amount to quote
|
|
513
513
|
* @example 1000000000000000000
|
|
@@ -321,7 +321,7 @@ function AnySpendInner({ destinationTokenAddress, destinationTokenChainId, mode
|
|
|
321
321
|
srcTokenAddress: selectedSrcToken.address,
|
|
322
322
|
dstTokenAddress: isBuyMode ? destinationTokenAddress : selectedDstToken.address,
|
|
323
323
|
type: "swap",
|
|
324
|
-
tradeType: isSrcInputDirty ? "EXACT_INPUT" : "
|
|
324
|
+
tradeType: isSrcInputDirty ? "EXACT_INPUT" : "EXACT_OUTPUT",
|
|
325
325
|
amount: activeInputAmountInWei,
|
|
326
326
|
}
|
|
327
327
|
: {
|
|
@@ -507,7 +507,7 @@ export interface paths {
|
|
|
507
507
|
* @description Type of trade execution
|
|
508
508
|
* @enum {string}
|
|
509
509
|
*/
|
|
510
|
-
tradeType: "EXACT_INPUT" | "
|
|
510
|
+
tradeType: "EXACT_INPUT" | "EXACT_OUTPUT";
|
|
511
511
|
/**
|
|
512
512
|
* @description Amount to quote
|
|
513
513
|
* @example 1000000000000000000
|
|
@@ -507,7 +507,7 @@ export interface paths {
|
|
|
507
507
|
* @description Type of trade execution
|
|
508
508
|
* @enum {string}
|
|
509
509
|
*/
|
|
510
|
-
tradeType: "EXACT_INPUT" | "
|
|
510
|
+
tradeType: "EXACT_INPUT" | "EXACT_OUTPUT";
|
|
511
511
|
/**
|
|
512
512
|
* @description Amount to quote
|
|
513
513
|
* @example 1000000000000000000
|
package/package.json
CHANGED
|
@@ -446,7 +446,7 @@ function AnySpendInner({
|
|
|
446
446
|
srcTokenAddress: selectedSrcToken.address,
|
|
447
447
|
dstTokenAddress: isBuyMode ? destinationTokenAddress : selectedDstToken.address,
|
|
448
448
|
type: "swap",
|
|
449
|
-
tradeType: isSrcInputDirty ? "EXACT_INPUT" : "
|
|
449
|
+
tradeType: isSrcInputDirty ? "EXACT_INPUT" : "EXACT_OUTPUT",
|
|
450
450
|
amount: activeInputAmountInWei,
|
|
451
451
|
}
|
|
452
452
|
: {
|
|
@@ -509,7 +509,7 @@ export interface paths {
|
|
|
509
509
|
* @description Type of trade execution
|
|
510
510
|
* @enum {string}
|
|
511
511
|
*/
|
|
512
|
-
tradeType: "EXACT_INPUT" | "
|
|
512
|
+
tradeType: "EXACT_INPUT" | "EXACT_OUTPUT";
|
|
513
513
|
/**
|
|
514
514
|
* @description Amount to quote
|
|
515
515
|
* @example 1000000000000000000
|