@dhedge/trading-widget 3.10.1 → 3.10.2
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/core-kit/const/currency.d.ts +1 -0
- package/core-kit/const/tokens/index.d.ts +1 -0
- package/core-kit/hooks/trading/projected-earnings/use-projected-earnings-core.d.ts +1 -1
- package/core-kit/types/trading-panel.types.d.ts +1 -1
- package/index.cjs +51 -51
- package/index.d.ts +1 -1
- package/index.js +3665 -3651
- package/package.json +1 -1
|
@@ -6,4 +6,5 @@ export * from './polygon';
|
|
|
6
6
|
export declare const MULTI_ASSET_TOKEN: TradingToken;
|
|
7
7
|
export declare const BRIDGED_TOKENS_SYMBOLS: Record<string, string>;
|
|
8
8
|
export declare const WETH_BY_CHAIN_ID: Record<number, TradingToken>;
|
|
9
|
+
export declare const WBTC_BY_CHAIN_ID: Record<number, TradingToken>;
|
|
9
10
|
export declare const FALLBACK_ASSETS_MAP: Record<ChainId, Record<string, TradingToken>>;
|
|
@@ -6,5 +6,5 @@ interface ProjectedEarningsVariables {
|
|
|
6
6
|
chainId: ChainId;
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
}
|
|
9
|
-
export declare const useProjectedEarningsCore: ({ currency, depositValueInUsd, chainId, apy, disabled, }: ProjectedEarningsVariables) => Omit<UseProjectedEarningsResult,
|
|
9
|
+
export declare const useProjectedEarningsCore: ({ currency, depositValueInUsd, chainId, apy, disabled, }: ProjectedEarningsVariables) => Omit<UseProjectedEarningsResult, 'showEarnings'>;
|
|
10
10
|
export {};
|
|
@@ -33,7 +33,7 @@ export interface TokenSelectorPayload {
|
|
|
33
33
|
isOpen: boolean;
|
|
34
34
|
entity: SwapEntity;
|
|
35
35
|
}
|
|
36
|
-
export type ApyCurrency = 'USD' | 'ETH';
|
|
36
|
+
export type ApyCurrency = 'USD' | 'ETH' | 'BTC';
|
|
37
37
|
export interface UseProjectedEarningsResult {
|
|
38
38
|
dailyEarnings: string | null;
|
|
39
39
|
monthlyEarnings: string | null;
|