@authing/guard-shim-react 4.5.38 → 4.5.39-alpha.2
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/guard.min.js +358 -358
- package/dist/typings/src/Guard/core/hooks/useMultipleAccounts.d.ts +2 -2
- package/dist/typings/src/Login/hooks/useLoginMultiple.d.ts +2 -2
- package/dist/typings/src/_utils/config/index.d.ts +1 -1
- package/dist/typings/src/_utils/context.d.ts +1 -1
- package/dist/typings/src/_utils/flowHandleStorage.d.ts +8 -0
- package/dist/typings/src/_utils/http.d.ts +2 -0
- package/package.json +1 -1
|
@@ -250,7 +250,7 @@ declare class MultipleAccount {
|
|
|
250
250
|
id: string;
|
|
251
251
|
loginAccount?: string | undefined;
|
|
252
252
|
usertype?: string | undefined;
|
|
253
|
-
}, "
|
|
253
|
+
}, "tab" | "way" | "phoneCountryCode">) => void;
|
|
254
254
|
setLoginWayByHttpData: (account: string, data: {
|
|
255
255
|
username?: string | undefined;
|
|
256
256
|
phone?: string | undefined;
|
|
@@ -294,7 +294,7 @@ declare const useSelectAccounts: ({ appId, finallyConfig }: {
|
|
|
294
294
|
id: string;
|
|
295
295
|
loginAccount?: string | undefined;
|
|
296
296
|
usertype?: string | undefined;
|
|
297
|
-
}, "
|
|
297
|
+
}, "tab" | "way" | "phoneCountryCode">) => void;
|
|
298
298
|
setLoginWayByHttpData: (account: string, data: {
|
|
299
299
|
username?: string | undefined;
|
|
300
300
|
phone?: string | undefined;
|
|
@@ -39,7 +39,7 @@ declare function useLoginSelectAccount(setLoginWay: React.Dispatch<any>): {
|
|
|
39
39
|
id: string;
|
|
40
40
|
loginAccount?: string | undefined;
|
|
41
41
|
usertype?: string | undefined;
|
|
42
|
-
}, "
|
|
42
|
+
}, "tab" | "way" | "phoneCountryCode">) => void;
|
|
43
43
|
setLoginWayByHttpData: (account: string, data: {
|
|
44
44
|
username?: string | undefined;
|
|
45
45
|
phone?: string | undefined;
|
|
@@ -61,7 +61,7 @@ declare function useLoginSelectAccount(setLoginWay: React.Dispatch<any>): {
|
|
|
61
61
|
getOriginAccount: () => string;
|
|
62
62
|
getOriginWay: () => string;
|
|
63
63
|
} | undefined;
|
|
64
|
-
referMultipleState: ((type: "
|
|
64
|
+
referMultipleState: ((type: "multiple" | "login") => void) | undefined;
|
|
65
65
|
backfillData: BackFillMultipleState | undefined;
|
|
66
66
|
defaultQrWay: string | undefined;
|
|
67
67
|
};
|
|
@@ -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?: "button" | "
|
|
56
|
+
socialConnectionsBtnShape?: "button" | "icon" | "default" | undefined;
|
|
57
57
|
enterpriseConnections?: string[] | undefined;
|
|
58
58
|
qrCodeScanOptions?: {
|
|
59
59
|
extIdpConnId?: string | undefined;
|
|
@@ -123,7 +123,7 @@ export declare const useGuardAccountSelectInstance: () => {
|
|
|
123
123
|
id: string;
|
|
124
124
|
loginAccount?: string | undefined;
|
|
125
125
|
usertype?: string | undefined;
|
|
126
|
-
}, "
|
|
126
|
+
}, "tab" | "way" | "phoneCountryCode">) => void;
|
|
127
127
|
setLoginWayByHttpData: (account: string, data: {
|
|
128
128
|
username?: string | undefined;
|
|
129
129
|
phone?: string | undefined;
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
export declare const getFlowHandle: () => string | undefined;
|
|
2
|
+
export declare const getTriggerId: () => string | undefined;
|
|
3
|
+
export declare const getWorkflowId: () => string | undefined;
|
|
2
4
|
export declare const useFlowHandle: () => string | undefined;
|
|
5
|
+
export declare const useTriggerId: () => string | undefined;
|
|
6
|
+
export declare const useWorkflowId: () => string | undefined;
|
|
3
7
|
export declare const updateFlowHandle: (flowHandle: string) => void;
|
|
8
|
+
export declare const updateTriggerId: (triggerId?: string) => void;
|
|
9
|
+
export declare const updateWorkflowId: (workflowId: string) => void;
|
|
4
10
|
export declare const useUpdateFlowHandle: (flowHandle: string) => void;
|
|
11
|
+
export declare const useUpdateTriggerId: (triggerId?: string) => void;
|
|
12
|
+
export declare const useUpdateWorkflowId: (workflowId: string) => void;
|
|
@@ -26,6 +26,8 @@ export interface AuthingResponse<T = any> {
|
|
|
26
26
|
messages?: string;
|
|
27
27
|
message?: string;
|
|
28
28
|
flowHandle?: string;
|
|
29
|
+
triggerId?: string;
|
|
30
|
+
workflowId?: string;
|
|
29
31
|
}
|
|
30
32
|
export interface AuthingGuardResponse<T = any> extends AuthingResponse<T> {
|
|
31
33
|
onGuardHandling?: () => CodeAction;
|
package/package.json
CHANGED