@rash2x/bridge-widget 0.1.5 → 0.1.7

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
@@ -167,6 +167,7 @@ export declare interface EvaaBridgeProps {
167
167
  className?: string;
168
168
  tonClient?: TonClient;
169
169
  tonApiKey?: string;
170
+ modalContainerId?: string;
170
171
  onInitialized?: () => void;
171
172
  onSwapStart?: (data: SwapStartData) => void;
172
173
  onSwapSuccess?: (data: SwapSuccessData) => void;
@@ -242,7 +243,7 @@ export declare function getDeliveryStatus(params: DeliveryStatusParams): Promise
242
243
 
243
244
  export declare function getDestTokens(srcChainKey: string, srcTokenAddr: string): Promise<TokenWithDestination[]>;
244
245
 
245
- export declare function getEvmBalances(publicClient: PublicClient, address: string, tokens: Token[]): Promise<WalletBalances>;
246
+ export declare function getEvmBalances(publicClient: PublicClient, address: string, tokens: Token[], priorityToken?: Token): Promise<WalletBalances>;
246
247
 
247
248
  /**
248
249
  * Get human-readable amounts from quote
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rash2x/bridge-widget",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
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",