@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/evaa-bridge.cjs +199 -115
- package/dist/evaa-bridge.cjs.map +1 -1
- package/dist/evaa-bridge.mjs +200 -116
- package/dist/evaa-bridge.mjs.map +1 -1
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
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