@orderly.network/ui-transfer 2.8.8-alpha.0 → 2.8.9-alpha.0
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 +20 -2
- package/dist/index.d.ts +20 -2
- package/dist/index.js +982 -298
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +983 -299
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +13 -13
package/dist/index.d.mts
CHANGED
|
@@ -187,6 +187,11 @@ declare const DepositForm: FC<DepositFormScriptReturn>;
|
|
|
187
187
|
type DepositFormWidgetProps = DepositFormScriptOptions;
|
|
188
188
|
declare const DepositFormWidget: FC<DepositFormWidgetProps>;
|
|
189
189
|
|
|
190
|
+
type AccountInfo = {
|
|
191
|
+
accountId: string;
|
|
192
|
+
address: string;
|
|
193
|
+
};
|
|
194
|
+
|
|
190
195
|
type WithdrawFormScriptReturn = ReturnType<typeof useWithdrawFormScript>;
|
|
191
196
|
type WithdrawFormScriptOptions = {
|
|
192
197
|
close?: () => void;
|
|
@@ -200,12 +205,25 @@ declare const useWithdrawFormScript: (options: WithdrawFormScriptOptions) => {
|
|
|
200
205
|
isLoggedIn: boolean;
|
|
201
206
|
isTokenUnsupported: boolean;
|
|
202
207
|
onSwitchToSupportedNetwork: (this: unknown) => Promise<void>;
|
|
208
|
+
enableWithdrawToExternalWallet: boolean;
|
|
209
|
+
externalWallets: any;
|
|
210
|
+
selectedWalletAddress: string | undefined;
|
|
211
|
+
onSelectWallet: (address: string) => void;
|
|
212
|
+
onAddExternalWallet: (addr: string, network?: "EVM" | "SOL") => void;
|
|
213
|
+
setExternalWallets: (value: {
|
|
214
|
+
address: string;
|
|
215
|
+
network?: "EVM" | "SOL";
|
|
216
|
+
}[]) => void;
|
|
217
|
+
isEnableTrading: boolean;
|
|
203
218
|
toAccountId: string;
|
|
204
|
-
setToAccountId:
|
|
219
|
+
setToAccountId: (val: string) => void;
|
|
205
220
|
onTransfer: () => void;
|
|
206
221
|
internalWithdrawSubmitting: boolean;
|
|
207
222
|
toAccountIdInputStatus: InputStatus;
|
|
208
223
|
toAccountIdHintMessage: string | undefined;
|
|
224
|
+
toAccountInfo: AccountInfo | null;
|
|
225
|
+
toAccountInfoDropdownOpen: boolean;
|
|
226
|
+
setToAccountInfoDropdownOpen: react.Dispatch<react.SetStateAction<boolean>>;
|
|
209
227
|
walletName: string | undefined;
|
|
210
228
|
address: string | undefined;
|
|
211
229
|
quantity: string;
|
|
@@ -274,7 +292,7 @@ declare const useWithdrawFormScript: (options: WithdrawFormScriptOptions) => {
|
|
|
274
292
|
};
|
|
275
293
|
|
|
276
294
|
type WithdrawFormProps = WithdrawFormScriptReturn;
|
|
277
|
-
declare const WithdrawForm:
|
|
295
|
+
declare const WithdrawForm: React.FC<WithdrawFormProps>;
|
|
278
296
|
|
|
279
297
|
type WithdrawFormWidgetProps = WithdrawFormScriptOptions;
|
|
280
298
|
declare const WithdrawFormWidget: FC<WithdrawFormWidgetProps>;
|
package/dist/index.d.ts
CHANGED
|
@@ -187,6 +187,11 @@ declare const DepositForm: FC<DepositFormScriptReturn>;
|
|
|
187
187
|
type DepositFormWidgetProps = DepositFormScriptOptions;
|
|
188
188
|
declare const DepositFormWidget: FC<DepositFormWidgetProps>;
|
|
189
189
|
|
|
190
|
+
type AccountInfo = {
|
|
191
|
+
accountId: string;
|
|
192
|
+
address: string;
|
|
193
|
+
};
|
|
194
|
+
|
|
190
195
|
type WithdrawFormScriptReturn = ReturnType<typeof useWithdrawFormScript>;
|
|
191
196
|
type WithdrawFormScriptOptions = {
|
|
192
197
|
close?: () => void;
|
|
@@ -200,12 +205,25 @@ declare const useWithdrawFormScript: (options: WithdrawFormScriptOptions) => {
|
|
|
200
205
|
isLoggedIn: boolean;
|
|
201
206
|
isTokenUnsupported: boolean;
|
|
202
207
|
onSwitchToSupportedNetwork: (this: unknown) => Promise<void>;
|
|
208
|
+
enableWithdrawToExternalWallet: boolean;
|
|
209
|
+
externalWallets: any;
|
|
210
|
+
selectedWalletAddress: string | undefined;
|
|
211
|
+
onSelectWallet: (address: string) => void;
|
|
212
|
+
onAddExternalWallet: (addr: string, network?: "EVM" | "SOL") => void;
|
|
213
|
+
setExternalWallets: (value: {
|
|
214
|
+
address: string;
|
|
215
|
+
network?: "EVM" | "SOL";
|
|
216
|
+
}[]) => void;
|
|
217
|
+
isEnableTrading: boolean;
|
|
203
218
|
toAccountId: string;
|
|
204
|
-
setToAccountId:
|
|
219
|
+
setToAccountId: (val: string) => void;
|
|
205
220
|
onTransfer: () => void;
|
|
206
221
|
internalWithdrawSubmitting: boolean;
|
|
207
222
|
toAccountIdInputStatus: InputStatus;
|
|
208
223
|
toAccountIdHintMessage: string | undefined;
|
|
224
|
+
toAccountInfo: AccountInfo | null;
|
|
225
|
+
toAccountInfoDropdownOpen: boolean;
|
|
226
|
+
setToAccountInfoDropdownOpen: react.Dispatch<react.SetStateAction<boolean>>;
|
|
209
227
|
walletName: string | undefined;
|
|
210
228
|
address: string | undefined;
|
|
211
229
|
quantity: string;
|
|
@@ -274,7 +292,7 @@ declare const useWithdrawFormScript: (options: WithdrawFormScriptOptions) => {
|
|
|
274
292
|
};
|
|
275
293
|
|
|
276
294
|
type WithdrawFormProps = WithdrawFormScriptReturn;
|
|
277
|
-
declare const WithdrawForm:
|
|
295
|
+
declare const WithdrawForm: React.FC<WithdrawFormProps>;
|
|
278
296
|
|
|
279
297
|
type WithdrawFormWidgetProps = WithdrawFormScriptOptions;
|
|
280
298
|
declare const WithdrawFormWidget: FC<WithdrawFormWidgetProps>;
|