@dodoex/widgets 2.6.12-beta.4 → 2.6.12-beta.5

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.
@@ -1,5 +1,6 @@
1
1
  /// <reference types="react" />
2
- export default function ConnectWalletDialog({ open, onClose, }: {
2
+ export default function ConnectWalletDialog({ open, onClose, chainId: chainIdProps, }: {
3
3
  open: boolean;
4
4
  onClose: () => void;
5
+ chainId?: number;
5
6
  }): JSX.Element;
@@ -2,4 +2,5 @@ import { AppThunkAction } from '.';
2
2
  import { ChainId } from '../../constants/chains';
3
3
  export declare const setDefaultChainId: (chainId: ChainId) => AppThunkAction;
4
4
  export declare const setFromTokenChainId: (chainId: ChainId | undefined) => AppThunkAction;
5
+ export declare const setToTokenChainId: (chainId: ChainId | undefined) => AppThunkAction;
5
6
  export declare const setBlockNumber: (blockNumber: number) => AppThunkAction;
@@ -3,6 +3,7 @@ import { ChainId } from '../../constants/chains';
3
3
  export declare type State = {
4
4
  chainId: ChainId;
5
5
  fromTokenChainId?: ChainId;
6
+ toTokenChainId?: ChainId;
6
7
  latestBlockNumber: number;
7
8
  };
8
9
  export declare const initialState: State;
@@ -1,4 +1,5 @@
1
1
  import { RootState } from '../reducers';
2
2
  export declare const getDefaultChainId: (state?: RootState) => import("../../constants/chains").ChainId;
3
3
  export declare const getFromTokenChainId: (state?: RootState) => import("../../constants/chains").ChainId | undefined;
4
+ export declare const getToTokenChainId: (state?: RootState) => import("../../constants/chains").ChainId | undefined;
4
5
  export declare const getLatestBlockNumber: (state?: RootState) => number;