@authing/guard-shim-react18 6.0.0-alpha.2 → 6.0.0-alpha.4
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.
|
@@ -249,7 +249,7 @@ declare class MultipleAccount {
|
|
|
249
249
|
setUserInfo: (user: Omit<User & {
|
|
250
250
|
id: string;
|
|
251
251
|
loginAccount?: string | undefined;
|
|
252
|
-
}, "
|
|
252
|
+
}, "way" | "tab" | "phoneCountryCode">) => void;
|
|
253
253
|
setLoginWayByHttpData: (account: string, data: {
|
|
254
254
|
username?: string | undefined;
|
|
255
255
|
phone?: string | undefined;
|
|
@@ -292,7 +292,7 @@ declare const useMultipleAccounts: ({ appId, finallyConfig, }: {
|
|
|
292
292
|
setUserInfo: (user: Omit<User & {
|
|
293
293
|
id: string;
|
|
294
294
|
loginAccount?: string | undefined;
|
|
295
|
-
}, "
|
|
295
|
+
}, "way" | "tab" | "phoneCountryCode">) => void;
|
|
296
296
|
setLoginWayByHttpData: (account: string, data: {
|
|
297
297
|
username?: string | undefined;
|
|
298
298
|
phone?: string | undefined;
|
|
@@ -35,7 +35,7 @@ declare function useLoginMultiple(setLoginWay: React.Dispatch<any>): {
|
|
|
35
35
|
setUserInfo: (user: Omit<import("../../Guard/core/hooks/useMultipleAccounts").User & {
|
|
36
36
|
id: string;
|
|
37
37
|
loginAccount?: string | undefined;
|
|
38
|
-
}, "
|
|
38
|
+
}, "way" | "tab" | "phoneCountryCode">) => void;
|
|
39
39
|
setLoginWayByHttpData: (account: string, data: {
|
|
40
40
|
username?: string | undefined;
|
|
41
41
|
phone?: string | undefined;
|
|
@@ -53,7 +53,7 @@ export declare const useFetchConsoleConfig: (forceUpdate: number, appId?: string
|
|
|
53
53
|
loginMethods?: LoginMethods[] | undefined;
|
|
54
54
|
passwordLoginMethods?: string[] | undefined;
|
|
55
55
|
socialConnections?: import("../../Type").SocialConnectionProvider[] | undefined;
|
|
56
|
-
socialConnectionsBtnShape?: "
|
|
56
|
+
socialConnectionsBtnShape?: "default" | "button" | "icon" | undefined;
|
|
57
57
|
enterpriseConnections?: string[] | undefined;
|
|
58
58
|
qrCodeScanOptions?: {
|
|
59
59
|
extIdpConnId?: string | undefined;
|
|
@@ -119,7 +119,7 @@ export declare const useGuardMultipleInstance: () => {
|
|
|
119
119
|
setUserInfo: (user: Omit<import("../Guard/core/hooks/useMultipleAccounts").User & {
|
|
120
120
|
id: string;
|
|
121
121
|
loginAccount?: string | undefined;
|
|
122
|
-
}, "
|
|
122
|
+
}, "way" | "tab" | "phoneCountryCode">) => void;
|
|
123
123
|
setLoginWayByHttpData: (account: string, data: {
|
|
124
124
|
username?: string | undefined;
|
|
125
125
|
phone?: string | undefined;
|
package/package.json
CHANGED