zigap-utils 0.0.477 → 0.0.478
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.
|
@@ -18,10 +18,10 @@ export type AccountType = {
|
|
|
18
18
|
nickName: string;
|
|
19
19
|
};
|
|
20
20
|
export type LoginResultType = {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
address: string;
|
|
22
|
+
network: string;
|
|
23
|
+
nickName: string;
|
|
24
|
+
token: string;
|
|
25
25
|
};
|
|
26
26
|
export type LoginQRProps = {
|
|
27
27
|
availableNetworks: string[];
|
package/dist/hooks/useZigap.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { LoginResultType } from 'src/components';
|
|
2
2
|
|
|
3
3
|
export declare const LOGIN_RES_KEY = "loginRes";
|
|
4
|
-
type
|
|
4
|
+
type ResultType = LoginResultType & {
|
|
5
5
|
isLoggedIn?: boolean;
|
|
6
6
|
};
|
|
7
|
-
declare const useZigap: () =>
|
|
7
|
+
declare const useZigap: () => ResultType | undefined;
|
|
8
8
|
export default useZigap;
|