@rash2x/bridge-widget 0.7.2 → 0.7.4

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.ts CHANGED
@@ -195,7 +195,8 @@ declare class ChainStrategyRegistry {
195
195
  }
196
196
 
197
197
  /**
198
- * Compute fee breakdown: message fee in native token, bridge fee in transfer token, total in USD
198
+ * Compute fee breakdown: message fee in native token, bridge fee in transfer token,
199
+ * gas on destination in dst native token, total in USD
199
200
  */
200
201
  export declare function computeFeeBreakdownUsd(quote: Quote | undefined, srcToken: Token | undefined, tokens: Token[] | undefined, chains: Chain[] | undefined): FeeBreakdown;
201
202
 
@@ -301,7 +302,11 @@ export declare interface FeeBreakdown {
301
302
  bridgeFeeAmount: number;
302
303
  bridgeFeeSymbol: string;
303
304
  bridgeFeeUsd: number;
304
- /** Total fee in USD */
305
+ /** Gas on destination in the native token of the destination chain */
306
+ dstGasAmount: number;
307
+ dstGasSymbol: string;
308
+ dstGasUsd: number;
309
+ /** Total fee in USD (message + bridge + dstGas) */
305
310
  totalFeeUsd: number;
306
311
  }
307
312
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rash2x/bridge-widget",
3
- "version": "0.7.2",
3
+ "version": "0.7.4",
4
4
  "description": "Cross-chain bridge widget powered by Stargate Protocol with multi-chain wallet support",
5
5
  "type": "module",
6
6
  "main": "./dist/evaa-bridge.cjs",