@frontegg/js 6.100.0-alpha.3 → 6.100.0
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/FronteggApp/FronteggApp.js +1 -4
- package/index.js +1 -1
- package/node/FronteggApp/FronteggApp.js +0 -3
- package/node/index.js +1 -1
- package/node/utils/index.js +2 -12
- package/node/version.js +1 -1
- package/package.json +2 -2
- package/umd/frontegg.development.js +2 -16
- package/umd/frontegg.production.min.js +1 -1
- package/utils/index.d.ts +0 -1
- package/utils/index.js +0 -9
- package/version.js +1 -1
package/utils/index.d.ts
CHANGED
|
@@ -6,4 +6,3 @@ export declare const createElement: (container: HTMLElement | ShadowRoot, type:
|
|
|
6
6
|
export declare const waitThemeSetter: (instance: {
|
|
7
7
|
themeSetter: ((themeOptions: FronteggThemeOptions) => {}) | undefined;
|
|
8
8
|
}) => Promise<unknown>;
|
|
9
|
-
export declare const restoreSearchParams: (searchParams: URLSearchParams) => void;
|
package/utils/index.js
CHANGED
|
@@ -29,13 +29,4 @@ export var waitThemeSetter = function waitThemeSetter(instance) {
|
|
|
29
29
|
timeout -= 50;
|
|
30
30
|
}, 50);
|
|
31
31
|
});
|
|
32
|
-
};
|
|
33
|
-
export var restoreSearchParams = function restoreSearchParams(searchParams) {
|
|
34
|
-
var stringifiedSearchParams = searchParams.toString();
|
|
35
|
-
if (!stringifiedSearchParams) {
|
|
36
|
-
return;
|
|
37
|
-
}
|
|
38
|
-
var url = new URL(window.location.href);
|
|
39
|
-
url.search = stringifiedSearchParams;
|
|
40
|
-
window.history.pushState(null, '', url.toString());
|
|
41
32
|
};
|
package/version.js
CHANGED