@matchain/matchid-sdk-react 0.1.26-alpha.4 → 0.1.26-alpha.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.
- package/dist/index.d.mts +3 -9
- package/dist/index.d.ts +3 -9
- package/dist/index.js +95 -775
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +102 -1003
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -2
package/dist/index.d.mts
CHANGED
|
@@ -214,18 +214,12 @@ declare function PasswordModal({ title, isOpen, onSuccess, ...props }: ModalWith
|
|
|
214
214
|
onSuccess?: () => void;
|
|
215
215
|
}): react_jsx_runtime.JSX.Element;
|
|
216
216
|
|
|
217
|
-
declare function EVMModal({ type, onSuccess, ...props }: ModalWithHeaderProps & {
|
|
218
|
-
type?: 'login' | 'bind' | '';
|
|
219
|
-
onSuccess?: () => void;
|
|
220
|
-
}): react_jsx_runtime.JSX.Element;
|
|
221
|
-
|
|
222
217
|
declare function SOLModal({ type, onSuccess, ...props }: ModalWithHeaderProps & {
|
|
223
218
|
type?: 'login' | 'bind' | '';
|
|
224
219
|
onSuccess?: () => void;
|
|
225
220
|
}): react_jsx_runtime.JSX.Element;
|
|
226
221
|
|
|
227
222
|
declare const index$3_Button: typeof Button;
|
|
228
|
-
declare const index$3_EVMModal: typeof EVMModal;
|
|
229
223
|
declare const index$3_EmailModal: typeof EmailModal;
|
|
230
224
|
declare const index$3_Field: typeof Field;
|
|
231
225
|
declare const index$3_Input: typeof Input;
|
|
@@ -240,7 +234,7 @@ declare const index$3_Popover: typeof Popover;
|
|
|
240
234
|
declare const index$3_SOLModal: typeof SOLModal;
|
|
241
235
|
declare const index$3_UsernameModal: typeof UsernameModal;
|
|
242
236
|
declare namespace index$3 {
|
|
243
|
-
export { index$3_Button as Button, index$
|
|
237
|
+
export { index$3_Button as Button, index$3_EmailModal as EmailModal, index$3_Field as Field, index$3_Input as Input, index$3_LoginBox as LoginBox, index$3_LoginButton as LoginButton, index$3_LoginModal as LoginModal, index$3_LoginPanel as LoginPanel, index$3_Modal as Modal, index$3_ModalWithHeader as ModalWithHeader, index$3_PasswordModal as PasswordModal, index$3_Popover as Popover, index$3_SOLModal as SOLModal, index$3_UsernameModal as UsernameModal };
|
|
244
238
|
}
|
|
245
239
|
|
|
246
240
|
declare function useUserInfo(): {
|
|
@@ -248,7 +242,7 @@ declare function useUserInfo(): {
|
|
|
248
242
|
loginByTelegram: () => Promise<Window | null>;
|
|
249
243
|
loginByTwitter: () => Promise<Window | null>;
|
|
250
244
|
loginByGoogle: () => Promise<Window | null>;
|
|
251
|
-
loginByWallet: () => Promise<
|
|
245
|
+
loginByWallet: () => Promise<Window | null>;
|
|
252
246
|
loginByEmail: ({ email, code }: {
|
|
253
247
|
email: string;
|
|
254
248
|
code: string;
|
|
@@ -262,7 +256,7 @@ declare function useUserInfo(): {
|
|
|
262
256
|
getLoginEmailCode: (email: string) => Promise<string>;
|
|
263
257
|
refreshOverview: () => Promise<void>;
|
|
264
258
|
overview: OverviewInfo | null;
|
|
265
|
-
bindWallet: () => Promise<
|
|
259
|
+
bindWallet: () => Promise<Window | null>;
|
|
266
260
|
bindTelegram: () => Promise<void>;
|
|
267
261
|
username: string;
|
|
268
262
|
auth: () => Promise<any>;
|
package/dist/index.d.ts
CHANGED
|
@@ -214,18 +214,12 @@ declare function PasswordModal({ title, isOpen, onSuccess, ...props }: ModalWith
|
|
|
214
214
|
onSuccess?: () => void;
|
|
215
215
|
}): react_jsx_runtime.JSX.Element;
|
|
216
216
|
|
|
217
|
-
declare function EVMModal({ type, onSuccess, ...props }: ModalWithHeaderProps & {
|
|
218
|
-
type?: 'login' | 'bind' | '';
|
|
219
|
-
onSuccess?: () => void;
|
|
220
|
-
}): react_jsx_runtime.JSX.Element;
|
|
221
|
-
|
|
222
217
|
declare function SOLModal({ type, onSuccess, ...props }: ModalWithHeaderProps & {
|
|
223
218
|
type?: 'login' | 'bind' | '';
|
|
224
219
|
onSuccess?: () => void;
|
|
225
220
|
}): react_jsx_runtime.JSX.Element;
|
|
226
221
|
|
|
227
222
|
declare const index$3_Button: typeof Button;
|
|
228
|
-
declare const index$3_EVMModal: typeof EVMModal;
|
|
229
223
|
declare const index$3_EmailModal: typeof EmailModal;
|
|
230
224
|
declare const index$3_Field: typeof Field;
|
|
231
225
|
declare const index$3_Input: typeof Input;
|
|
@@ -240,7 +234,7 @@ declare const index$3_Popover: typeof Popover;
|
|
|
240
234
|
declare const index$3_SOLModal: typeof SOLModal;
|
|
241
235
|
declare const index$3_UsernameModal: typeof UsernameModal;
|
|
242
236
|
declare namespace index$3 {
|
|
243
|
-
export { index$3_Button as Button, index$
|
|
237
|
+
export { index$3_Button as Button, index$3_EmailModal as EmailModal, index$3_Field as Field, index$3_Input as Input, index$3_LoginBox as LoginBox, index$3_LoginButton as LoginButton, index$3_LoginModal as LoginModal, index$3_LoginPanel as LoginPanel, index$3_Modal as Modal, index$3_ModalWithHeader as ModalWithHeader, index$3_PasswordModal as PasswordModal, index$3_Popover as Popover, index$3_SOLModal as SOLModal, index$3_UsernameModal as UsernameModal };
|
|
244
238
|
}
|
|
245
239
|
|
|
246
240
|
declare function useUserInfo(): {
|
|
@@ -248,7 +242,7 @@ declare function useUserInfo(): {
|
|
|
248
242
|
loginByTelegram: () => Promise<Window | null>;
|
|
249
243
|
loginByTwitter: () => Promise<Window | null>;
|
|
250
244
|
loginByGoogle: () => Promise<Window | null>;
|
|
251
|
-
loginByWallet: () => Promise<
|
|
245
|
+
loginByWallet: () => Promise<Window | null>;
|
|
252
246
|
loginByEmail: ({ email, code }: {
|
|
253
247
|
email: string;
|
|
254
248
|
code: string;
|
|
@@ -262,7 +256,7 @@ declare function useUserInfo(): {
|
|
|
262
256
|
getLoginEmailCode: (email: string) => Promise<string>;
|
|
263
257
|
refreshOverview: () => Promise<void>;
|
|
264
258
|
overview: OverviewInfo | null;
|
|
265
|
-
bindWallet: () => Promise<
|
|
259
|
+
bindWallet: () => Promise<Window | null>;
|
|
266
260
|
bindTelegram: () => Promise<void>;
|
|
267
261
|
username: string;
|
|
268
262
|
auth: () => Promise<any>;
|