@authing/guard-shim-react18 4.5.38 → 4.5.39-alpha.1

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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authing/guard-shim-react18",
3
- "version": "4.5.38",
3
+ "version": "4.5.39-alpha.1",
4
4
  "description": "Guard shim for react 18, only be used to internal",
5
5
  "types": "dist/typings/src/index.d.ts",
6
6
  "module": "dist/guard.min.js",