@frontegg/js 6.44.0-alpha.0 → 6.45.0-alpha.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.d.ts +1 -0
- package/FronteggApp/FronteggApp.js +13 -0
- package/index.js +1 -1
- package/node/FronteggApp/FronteggApp.js +13 -0
- package/node/index.js +1 -1
- package/node/version.js +1 -1
- package/package.json +2 -2
- package/umd/frontegg.development.js +15 -2
- package/umd/frontegg.production.min.js +1 -1
- package/version.js +1 -1
|
@@ -39,6 +39,7 @@ export declare class FronteggApp {
|
|
|
39
39
|
addOnLoadedListener(listener: () => void): void;
|
|
40
40
|
ready(listener: () => void): void;
|
|
41
41
|
loginWithRedirect(): void;
|
|
42
|
+
logout(): void;
|
|
42
43
|
loadScript(component: string): Promise<unknown>;
|
|
43
44
|
loadLoginBox(): Promise<void>;
|
|
44
45
|
showAdminPortal(): Promise<void>;
|
|
@@ -249,6 +249,19 @@ export var FronteggApp = /*#__PURE__*/function () {
|
|
|
249
249
|
type: 'auth/requestHostedLoginAuthorize'
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
|
+
}, {
|
|
253
|
+
key: "logout",
|
|
254
|
+
value: function logout() {
|
|
255
|
+
this.store.dispatch({
|
|
256
|
+
type: 'auth/setState',
|
|
257
|
+
payload: {
|
|
258
|
+
isLoading: true
|
|
259
|
+
}
|
|
260
|
+
});
|
|
261
|
+
this.store.dispatch({
|
|
262
|
+
type: 'auth/logout'
|
|
263
|
+
});
|
|
264
|
+
}
|
|
252
265
|
}, {
|
|
253
266
|
key: "loadScript",
|
|
254
267
|
value: function loadScript(component) {
|
package/index.js
CHANGED
|
@@ -272,6 +272,19 @@ var FronteggApp = /*#__PURE__*/function () {
|
|
|
272
272
|
type: 'auth/requestHostedLoginAuthorize'
|
|
273
273
|
});
|
|
274
274
|
}
|
|
275
|
+
}, {
|
|
276
|
+
key: "logout",
|
|
277
|
+
value: function logout() {
|
|
278
|
+
this.store.dispatch({
|
|
279
|
+
type: 'auth/setState',
|
|
280
|
+
payload: {
|
|
281
|
+
isLoading: true
|
|
282
|
+
}
|
|
283
|
+
});
|
|
284
|
+
this.store.dispatch({
|
|
285
|
+
type: 'auth/logout'
|
|
286
|
+
});
|
|
287
|
+
}
|
|
275
288
|
}, {
|
|
276
289
|
key: "loadScript",
|
|
277
290
|
value: function loadScript(component) {
|
package/node/index.js
CHANGED
package/node/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontegg/js",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.45.0-alpha.0",
|
|
4
4
|
"main": "./node/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@babel/runtime": "^7.18.6",
|
|
8
|
-
"@frontegg/types": "6.
|
|
8
|
+
"@frontegg/types": "6.45.0-alpha.0"
|
|
9
9
|
},
|
|
10
10
|
"browserslist": {
|
|
11
11
|
"production": [
|
|
@@ -582,6 +582,19 @@ var FronteggApp = /*#__PURE__*/function () {
|
|
|
582
582
|
type: 'auth/requestHostedLoginAuthorize'
|
|
583
583
|
});
|
|
584
584
|
}
|
|
585
|
+
}, {
|
|
586
|
+
key: "logout",
|
|
587
|
+
value: function logout() {
|
|
588
|
+
this.store.dispatch({
|
|
589
|
+
type: 'auth/setState',
|
|
590
|
+
payload: {
|
|
591
|
+
isLoading: true
|
|
592
|
+
}
|
|
593
|
+
});
|
|
594
|
+
this.store.dispatch({
|
|
595
|
+
type: 'auth/logout'
|
|
596
|
+
});
|
|
597
|
+
}
|
|
585
598
|
}, {
|
|
586
599
|
key: "loadScript",
|
|
587
600
|
value: function loadScript(component) {
|
|
@@ -1268,7 +1281,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1268
1281
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
1269
1282
|
/* harmony export */ });
|
|
1270
1283
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
1271
|
-
"cdnVersion": "6.
|
|
1284
|
+
"cdnVersion": "6.45.0-alpha.0"
|
|
1272
1285
|
});
|
|
1273
1286
|
|
|
1274
1287
|
/***/ }),
|
|
@@ -16913,7 +16926,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16913
16926
|
/* harmony export */ });
|
|
16914
16927
|
/* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
|
|
16915
16928
|
/* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
|
|
16916
|
-
/** @license Frontegg v6.
|
|
16929
|
+
/** @license Frontegg v6.45.0-alpha.0
|
|
16917
16930
|
*
|
|
16918
16931
|
* This source code is licensed under the MIT license found in the
|
|
16919
16932
|
* LICENSE file in the root directory of this source tree.
|