@kodiak-finance/orderly-ui-transfer 2.9.1 → 2.9.2-alpha.1
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.mts +14 -2
- package/dist/index.d.ts +14 -2
- package/dist/index.js +551 -96
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +554 -100
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +14 -13
package/dist/index.d.mts
CHANGED
|
@@ -208,11 +208,22 @@ declare const WithdrawFormWidget: FC<WithdrawFormWidgetProps>;
|
|
|
208
208
|
|
|
209
209
|
declare const DepositAndWithdrawWithDialogId = "DepositAndWithdrawWithDialogId";
|
|
210
210
|
declare const DepositAndWithdrawWithSheetId = "DepositAndWithdrawWithSheetId";
|
|
211
|
+
interface DepositTabExtension {
|
|
212
|
+
id: string;
|
|
213
|
+
title: string;
|
|
214
|
+
icon: React.ReactNode;
|
|
215
|
+
component: React.ComponentType<{
|
|
216
|
+
close?: () => void;
|
|
217
|
+
}>;
|
|
218
|
+
order?: number;
|
|
219
|
+
}
|
|
211
220
|
type DepositAndWithdrawProps = {
|
|
212
|
-
activeTab?:
|
|
221
|
+
activeTab?: string;
|
|
213
222
|
close?: () => void;
|
|
223
|
+
extraTabs?: DepositTabExtension[];
|
|
214
224
|
};
|
|
215
225
|
declare const DepositAndWithdraw: FC<DepositAndWithdrawProps>;
|
|
226
|
+
declare const InjectableDepositAndWithdraw: react.ComponentType<DepositAndWithdrawProps>;
|
|
216
227
|
|
|
217
228
|
type TransferFormScriptReturn = ReturnType<typeof useTransferFormScript>;
|
|
218
229
|
type TransferFormScriptOptions = {
|
|
@@ -314,6 +325,7 @@ declare const useConvertFormScript: (options: ConvertFormScriptOptions) => {
|
|
|
314
325
|
chain_id?: string | undefined;
|
|
315
326
|
contract_address?: string | undefined;
|
|
316
327
|
decimals?: number | undefined;
|
|
328
|
+
exclusive_deposit_supported?: boolean;
|
|
317
329
|
withdrawal_fee?: number | undefined;
|
|
318
330
|
chain_name?: string;
|
|
319
331
|
cross_chain_withdrawal_fee?: number | undefined;
|
|
@@ -519,4 +531,4 @@ declare const DepositStatus: react__default.FC<DepositStatusProps>;
|
|
|
519
531
|
type DepositStatusWidgetProps = Pick<DepositStatusProps, "className" | "onClick">;
|
|
520
532
|
declare const DepositStatusWidget: react__default.FC<DepositStatusWidgetProps>;
|
|
521
533
|
|
|
522
|
-
export { ActionButton, AvailableQuantity, BrokerWallet, ChainSelect, type ConvertFormProps, ConvertFormUI, ConvertFormWidget, type CurrentChain, DEPOSIT_ERROR_CODE_MAP, DepositAction, DepositAndWithdraw, type DepositAndWithdrawProps, DepositAndWithdrawWithDialogId, DepositAndWithdrawWithSheetId, DepositForm, type DepositFormScriptOptions, DepositFormWidget, type DepositFormWidgetProps, DepositStatus, DepositStatusWidget, ExchangeDivider, Fee, type InputStatus, QuantityInput, SwapCoin, TransferDialogId, TransferForm, TransferFormWidget, type TransferFormWidgetProps, TransferSheetId, TransferWidget, Web3Wallet, WithdrawForm, type WithdrawFormScriptOptions, WithdrawFormWidget, type WithdrawFormWidgetProps, WithdrawTo, YIELD_BEARING_ASSETS, type YieldBearingAsset, YieldBearingReminder, checkIsAccountId, feeDecimalsOffset, getDepositKnownErrorMessage, getTransferErrorMessage, getUSDCToken, getYieldBearingAsset, isYieldBearingAsset, sortTokensWithUSDCFirst, useConvertFormScript as useConvertForm, useDepositFormScript, useDepositStatusScript, useTransferFormScript, useWithdrawFormScript };
|
|
534
|
+
export { ActionButton, AvailableQuantity, BrokerWallet, ChainSelect, type ConvertFormProps, ConvertFormUI, ConvertFormWidget, type CurrentChain, DEPOSIT_ERROR_CODE_MAP, DepositAction, DepositAndWithdraw, type DepositAndWithdrawProps, DepositAndWithdrawWithDialogId, DepositAndWithdrawWithSheetId, DepositForm, type DepositFormScriptOptions, DepositFormWidget, type DepositFormWidgetProps, DepositStatus, DepositStatusWidget, type DepositTabExtension, ExchangeDivider, Fee, InjectableDepositAndWithdraw, type InputStatus, QuantityInput, SwapCoin, TransferDialogId, TransferForm, TransferFormWidget, type TransferFormWidgetProps, TransferSheetId, TransferWidget, Web3Wallet, WithdrawForm, type WithdrawFormScriptOptions, WithdrawFormWidget, type WithdrawFormWidgetProps, WithdrawTo, YIELD_BEARING_ASSETS, type YieldBearingAsset, YieldBearingReminder, checkIsAccountId, feeDecimalsOffset, getDepositKnownErrorMessage, getTransferErrorMessage, getUSDCToken, getYieldBearingAsset, isYieldBearingAsset, sortTokensWithUSDCFirst, useConvertFormScript as useConvertForm, useDepositFormScript, useDepositStatusScript, useTransferFormScript, useWithdrawFormScript };
|
package/dist/index.d.ts
CHANGED
|
@@ -208,11 +208,22 @@ declare const WithdrawFormWidget: FC<WithdrawFormWidgetProps>;
|
|
|
208
208
|
|
|
209
209
|
declare const DepositAndWithdrawWithDialogId = "DepositAndWithdrawWithDialogId";
|
|
210
210
|
declare const DepositAndWithdrawWithSheetId = "DepositAndWithdrawWithSheetId";
|
|
211
|
+
interface DepositTabExtension {
|
|
212
|
+
id: string;
|
|
213
|
+
title: string;
|
|
214
|
+
icon: React.ReactNode;
|
|
215
|
+
component: React.ComponentType<{
|
|
216
|
+
close?: () => void;
|
|
217
|
+
}>;
|
|
218
|
+
order?: number;
|
|
219
|
+
}
|
|
211
220
|
type DepositAndWithdrawProps = {
|
|
212
|
-
activeTab?:
|
|
221
|
+
activeTab?: string;
|
|
213
222
|
close?: () => void;
|
|
223
|
+
extraTabs?: DepositTabExtension[];
|
|
214
224
|
};
|
|
215
225
|
declare const DepositAndWithdraw: FC<DepositAndWithdrawProps>;
|
|
226
|
+
declare const InjectableDepositAndWithdraw: react.ComponentType<DepositAndWithdrawProps>;
|
|
216
227
|
|
|
217
228
|
type TransferFormScriptReturn = ReturnType<typeof useTransferFormScript>;
|
|
218
229
|
type TransferFormScriptOptions = {
|
|
@@ -314,6 +325,7 @@ declare const useConvertFormScript: (options: ConvertFormScriptOptions) => {
|
|
|
314
325
|
chain_id?: string | undefined;
|
|
315
326
|
contract_address?: string | undefined;
|
|
316
327
|
decimals?: number | undefined;
|
|
328
|
+
exclusive_deposit_supported?: boolean;
|
|
317
329
|
withdrawal_fee?: number | undefined;
|
|
318
330
|
chain_name?: string;
|
|
319
331
|
cross_chain_withdrawal_fee?: number | undefined;
|
|
@@ -519,4 +531,4 @@ declare const DepositStatus: react__default.FC<DepositStatusProps>;
|
|
|
519
531
|
type DepositStatusWidgetProps = Pick<DepositStatusProps, "className" | "onClick">;
|
|
520
532
|
declare const DepositStatusWidget: react__default.FC<DepositStatusWidgetProps>;
|
|
521
533
|
|
|
522
|
-
export { ActionButton, AvailableQuantity, BrokerWallet, ChainSelect, type ConvertFormProps, ConvertFormUI, ConvertFormWidget, type CurrentChain, DEPOSIT_ERROR_CODE_MAP, DepositAction, DepositAndWithdraw, type DepositAndWithdrawProps, DepositAndWithdrawWithDialogId, DepositAndWithdrawWithSheetId, DepositForm, type DepositFormScriptOptions, DepositFormWidget, type DepositFormWidgetProps, DepositStatus, DepositStatusWidget, ExchangeDivider, Fee, type InputStatus, QuantityInput, SwapCoin, TransferDialogId, TransferForm, TransferFormWidget, type TransferFormWidgetProps, TransferSheetId, TransferWidget, Web3Wallet, WithdrawForm, type WithdrawFormScriptOptions, WithdrawFormWidget, type WithdrawFormWidgetProps, WithdrawTo, YIELD_BEARING_ASSETS, type YieldBearingAsset, YieldBearingReminder, checkIsAccountId, feeDecimalsOffset, getDepositKnownErrorMessage, getTransferErrorMessage, getUSDCToken, getYieldBearingAsset, isYieldBearingAsset, sortTokensWithUSDCFirst, useConvertFormScript as useConvertForm, useDepositFormScript, useDepositStatusScript, useTransferFormScript, useWithdrawFormScript };
|
|
534
|
+
export { ActionButton, AvailableQuantity, BrokerWallet, ChainSelect, type ConvertFormProps, ConvertFormUI, ConvertFormWidget, type CurrentChain, DEPOSIT_ERROR_CODE_MAP, DepositAction, DepositAndWithdraw, type DepositAndWithdrawProps, DepositAndWithdrawWithDialogId, DepositAndWithdrawWithSheetId, DepositForm, type DepositFormScriptOptions, DepositFormWidget, type DepositFormWidgetProps, DepositStatus, DepositStatusWidget, type DepositTabExtension, ExchangeDivider, Fee, InjectableDepositAndWithdraw, type InputStatus, QuantityInput, SwapCoin, TransferDialogId, TransferForm, TransferFormWidget, type TransferFormWidgetProps, TransferSheetId, TransferWidget, Web3Wallet, WithdrawForm, type WithdrawFormScriptOptions, WithdrawFormWidget, type WithdrawFormWidgetProps, WithdrawTo, YIELD_BEARING_ASSETS, type YieldBearingAsset, YieldBearingReminder, checkIsAccountId, feeDecimalsOffset, getDepositKnownErrorMessage, getTransferErrorMessage, getUSDCToken, getYieldBearingAsset, isYieldBearingAsset, sortTokensWithUSDCFirst, useConvertFormScript as useConvertForm, useDepositFormScript, useDepositStatusScript, useTransferFormScript, useWithdrawFormScript };
|