@pushchain/core 6.0.17 → 6.0.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/package.json
CHANGED
|
@@ -1107,7 +1107,7 @@ function composeCascadeDetailed(ctx, segments, ueaAddress, ueaBalance, ueaNonce,
|
|
|
1107
1107
|
else {
|
|
1108
1108
|
evmFallbackValue = segGasFee * BigInt(1000000);
|
|
1109
1109
|
}
|
|
1110
|
-
|
|
1110
|
+
const nativeValueForGas = (_h = (_g = svmOverride !== null && svmOverride !== void 0 ? svmOverride : evmNativeValueBySegment.get(segment)) !== null && _g !== void 0 ? _g : perOutboundNativeValue) !== null && _h !== void 0 ? _h : evmFallbackValue;
|
|
1111
1111
|
// SDK 5.2 Case C: when the segment's sizing is category C, compose
|
|
1112
1112
|
// R2/OUTBOUND_TO_CEA segments no longer apply Case A/B/C sizing
|
|
1113
1113
|
// (scoped to R1 + R3 only). segment.sizing may still be populated
|
|
@@ -158,7 +158,7 @@ function executeFundsWithPayload(ctx, execute, eventBuffer, getResponseCallbacks
|
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
160
|
// Final USD(8) -> native conversion reusing the cached price fetched above.
|
|
161
|
-
|
|
161
|
+
const nativeAmount = usdToNative(depositUsd);
|
|
162
162
|
(0, context_1.fireProgressHook)(ctx, progress_hook_types_1.PROGRESS_HOOK.SEND_TX_103_03_04, nativeAmount, depositUsd, chain);
|
|
163
163
|
const bridgeAmount = execute.funds.amount;
|
|
164
164
|
const symbol = execute.funds.token.symbol;
|