@dhedge/trading-widget 7.0.1 → 7.0.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/hooks/trading/allowance/use-can-spend.d.ts +1 -0
- package/core-kit/hooks/trading/deposit-v2/deposit-transaction/use-approve-and-deposit.d.ts +1 -0
- package/core-kit/hooks/trading/deposit-v2/use-deposit-allowance.d.ts +1 -0
- package/core-kit/hooks/trading/deposit-v2/use-min-vault-tokens-received-amount.d.ts +1 -1
- package/core-kit/hooks/trading/deposit-v2/use-vault-deposit-token-amount.d.ts +1 -1
- package/core-kit/hooks/trading/withdraw-v2/complete-step/use-is-complete-withdraw-step.d.ts +1 -0
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-init-withdraw-allowance.d.ts +1 -0
- package/index.cjs +1 -1
- package/index.js +3617 -3588
- package/package.json +1 -1
- package/style.css +1 -1
- package/trading-widget/components/withdraw/tab-panel/tab-panel.hooks.d.ts +1 -0
- package/core-kit/hooks/trading/withdraw-v2/complete-step/use-complete-withdraw-tracked-assets.d.ts +0 -235
|
@@ -9,6 +9,7 @@ interface UseCanSpendParams {
|
|
|
9
9
|
}
|
|
10
10
|
export declare const useCanSpend: ({ rawAmountToSpend, tokenAddress, ownerAddress, spenderAddress, chainId, skip, }: UseCanSpendParams) => {
|
|
11
11
|
canSpend: boolean;
|
|
12
|
+
isAllowanceKnown: boolean;
|
|
12
13
|
isFetching: boolean;
|
|
13
14
|
};
|
|
14
15
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useMinVaultTokensReceivedAmount: () => string;
|
|
1
|
+
export declare const useMinVaultTokensReceivedAmount: () => string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useVaultDepositTokenAmount: () => string;
|
|
1
|
+
export declare const useVaultDepositTokenAmount: () => string | undefined;
|
|
@@ -4,6 +4,7 @@ interface UseInitWithdrawAllowanceParams {
|
|
|
4
4
|
}
|
|
5
5
|
export declare const useInitWithdrawAllowance: ({ onErrorCallback, }?: UseInitWithdrawAllowanceParams | undefined) => {
|
|
6
6
|
canSpend: boolean;
|
|
7
|
+
isAllowanceKnown: boolean;
|
|
7
8
|
approve: () => Promise<void>;
|
|
8
9
|
isCanSpendFetching: boolean;
|
|
9
10
|
};
|