@jimmygu/sfa-sdk-test 1.0.8 → 1.0.9
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.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4843,7 +4843,7 @@ var HyperliquidService = class {
|
|
|
4843
4843
|
sendParam: quote?.sendParam,
|
|
4844
4844
|
fromToken: quote?.quoteParam.fromToken,
|
|
4845
4845
|
depositAddress: quote?.quote?.depositAddress,
|
|
4846
|
-
amountWei: quote?.
|
|
4846
|
+
amountWei: quote?.quote?.amountIn
|
|
4847
4847
|
};
|
|
4848
4848
|
const txhash = await ServiceMap[Service.OneClick].send(sendParams);
|
|
4849
4849
|
return txhash;
|
|
@@ -4858,7 +4858,7 @@ var HyperliquidService = class {
|
|
|
4858
4858
|
const permitParams = await this.generatePermit({
|
|
4859
4859
|
address: evmWalletAddress,
|
|
4860
4860
|
evmWallet,
|
|
4861
|
-
amountWei: quote?.
|
|
4861
|
+
amountWei: quote?.quote?.amountOut
|
|
4862
4862
|
});
|
|
4863
4863
|
const depositParams = {
|
|
4864
4864
|
deposit_address: quote?.quote?.depositAddress,
|
|
@@ -4868,7 +4868,7 @@ var HyperliquidService = class {
|
|
|
4868
4868
|
from_hash: txhash,
|
|
4869
4869
|
from_token: quote?.quoteParam?.fromToken?.contractAddress,
|
|
4870
4870
|
sender: quote?.quoteParam?.recipient,
|
|
4871
|
-
to_amount: quote?.
|
|
4871
|
+
to_amount: quote?.quote?.amountOut,
|
|
4872
4872
|
to_chain: quote?.quoteParam?.toToken?.blockchain,
|
|
4873
4873
|
to_token: quote?.quoteParam?.toToken?.contractAddress,
|
|
4874
4874
|
type: Service.OneClick,
|
package/dist/index.mjs
CHANGED
|
@@ -4782,7 +4782,7 @@ var HyperliquidService = class {
|
|
|
4782
4782
|
sendParam: quote?.sendParam,
|
|
4783
4783
|
fromToken: quote?.quoteParam.fromToken,
|
|
4784
4784
|
depositAddress: quote?.quote?.depositAddress,
|
|
4785
|
-
amountWei: quote?.
|
|
4785
|
+
amountWei: quote?.quote?.amountIn
|
|
4786
4786
|
};
|
|
4787
4787
|
const txhash = await ServiceMap[Service.OneClick].send(sendParams);
|
|
4788
4788
|
return txhash;
|
|
@@ -4797,7 +4797,7 @@ var HyperliquidService = class {
|
|
|
4797
4797
|
const permitParams = await this.generatePermit({
|
|
4798
4798
|
address: evmWalletAddress,
|
|
4799
4799
|
evmWallet,
|
|
4800
|
-
amountWei: quote?.
|
|
4800
|
+
amountWei: quote?.quote?.amountOut
|
|
4801
4801
|
});
|
|
4802
4802
|
const depositParams = {
|
|
4803
4803
|
deposit_address: quote?.quote?.depositAddress,
|
|
@@ -4807,7 +4807,7 @@ var HyperliquidService = class {
|
|
|
4807
4807
|
from_hash: txhash,
|
|
4808
4808
|
from_token: quote?.quoteParam?.fromToken?.contractAddress,
|
|
4809
4809
|
sender: quote?.quoteParam?.recipient,
|
|
4810
|
-
to_amount: quote?.
|
|
4810
|
+
to_amount: quote?.quote?.amountOut,
|
|
4811
4811
|
to_chain: quote?.quoteParam?.toToken?.blockchain,
|
|
4812
4812
|
to_token: quote?.quoteParam?.toToken?.contractAddress,
|
|
4813
4813
|
type: Service.OneClick,
|