@rash2x/bridge-widget 0.6.28 → 0.6.30

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
@@ -392,6 +392,8 @@ export declare function getTronBalances(tronWeb: TronWeb, address: string, token
392
392
 
393
393
  export declare function isNativeAddrEqual(chain: Chain | undefined, tokenAddr?: string): boolean;
394
394
 
395
+ export declare function isNativeAddress(addr?: string): boolean;
396
+
395
397
  export declare const isZeroAddr: (a?: string) => boolean;
396
398
 
397
399
  export declare function listAssetsForSelect(tokens: Token[]): Token[];
@@ -567,6 +569,7 @@ export declare interface TokenPrice {
567
569
 
568
570
  declare interface TokensState {
569
571
  tokens?: Token[];
572
+ allTokens?: Token[];
570
573
  assetMatrix?: AssetMatrix;
571
574
  selectedToken?: Token;
572
575
  selectedAssetSymbol?: string;
@@ -574,6 +577,7 @@ declare interface TokensState {
574
577
 
575
578
  declare interface TokensStateActions {
576
579
  setTokens: (data: Token[]) => void;
580
+ setAllTokens: (data: Token[]) => void;
577
581
  setSelectedToken: (data?: Token) => void;
578
582
  setSelectedAssetSymbol: (data: string) => void;
579
583
  }