@frontegg/react-hooks 5.44.0 → 5.45.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.
- package/common/index.d.ts +3 -1
- package/package.json +2 -2
package/common/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
2
2
|
import { FronteggAppInstance, FronteggAppOptions } from '@frontegg/types';
|
|
3
3
|
interface ShadowDomContextData extends FronteggAppOptions {
|
|
4
4
|
injector: FronteggAppInstance;
|
|
@@ -6,6 +6,8 @@ interface ShadowDomContextData extends FronteggAppOptions {
|
|
|
6
6
|
renderByRoute?: boolean;
|
|
7
7
|
slotsContainer: HTMLElement;
|
|
8
8
|
rootEl: HTMLElement;
|
|
9
|
+
staticRoute?: string;
|
|
10
|
+
setStaticRouteSetter?: (action: Dispatch<SetStateAction<string | undefined>>) => void;
|
|
9
11
|
}
|
|
10
12
|
export interface DomContext extends ShadowDomContextData {
|
|
11
13
|
isShadowDom: boolean;
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontegg/react-hooks",
|
|
3
3
|
"libName": "FronteggReactHooks",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.45.1",
|
|
5
5
|
"author": "Frontegg LTD",
|
|
6
6
|
"main": "./node/index.js",
|
|
7
7
|
"module": "./index.js",
|
|
8
8
|
"types": "./index.d.ts",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@frontegg/redux-store": "5.
|
|
10
|
+
"@frontegg/redux-store": "5.45.1",
|
|
11
11
|
"react-redux": "^7.x"
|
|
12
12
|
}
|
|
13
13
|
}
|