@hyperbridge/sdk 1.3.8 → 1.3.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.
@@ -11735,11 +11735,14 @@ var IntentGateway = class {
11735
11735
  sourceChainFeeTokenDecimals
11736
11736
  );
11737
11737
  let totalEstimateInSourceFeeToken = fillGasInSourceFeeToken + protocolFeeInSourceFeeToken + relayerFeeInSourceFeeToken;
11738
- if (!filledWithNativeToken) {
11739
- totalEstimateInSourceFeeToken = totalEstimateInSourceFeeToken + totalEstimateInSourceFeeToken * 200n / 10000n;
11740
- }
11741
11738
  let totalNativeTokenAmount = await this.convertFeeTokenToNative(totalEstimateInSourceFeeToken, "source");
11742
- totalNativeTokenAmount = totalNativeTokenAmount + totalNativeTokenAmount * 200n / 10000n;
11739
+ if ([order.destChain, order.sourceChain].includes("EVM-1")) {
11740
+ totalEstimateInSourceFeeToken = totalEstimateInSourceFeeToken + totalEstimateInSourceFeeToken * 3000n / 10000n;
11741
+ totalNativeTokenAmount = totalNativeTokenAmount + totalNativeTokenAmount * 3200n / 10000n;
11742
+ } else {
11743
+ totalEstimateInSourceFeeToken = totalEstimateInSourceFeeToken + totalEstimateInSourceFeeToken * 250n / 10000n;
11744
+ totalNativeTokenAmount = totalNativeTokenAmount + totalNativeTokenAmount * 350n / 10000n;
11745
+ }
11743
11746
  return {
11744
11747
  feeTokenAmount: totalEstimateInSourceFeeToken,
11745
11748
  nativeTokenAmount: totalNativeTokenAmount,