@frontegg/js 6.182.0 → 6.183.0-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.
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v6.182.0
1
+ /** @license Frontegg v6.183.0-alpha.1
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v6.182.0
1
+ /** @license Frontegg v6.183.0-alpha.1
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/node/version.js CHANGED
@@ -5,6 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _default = {
8
- cdnVersion: '6.182.0'
8
+ cdnVersion: '6.183.0-alpha.1'
9
9
  };
10
10
  exports["default"] = _default;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@frontegg/js",
3
- "version": "6.182.0",
3
+ "version": "6.183.0-alpha.1",
4
4
  "main": "./node/index.js",
5
5
  "license": "MIT",
6
6
  "author": "Frontegg LTD",
7
7
  "dependencies": {
8
8
  "@babel/runtime": "^7.18.6",
9
- "@frontegg/types": "6.182.0"
9
+ "@frontegg/types": "6.183.0-alpha.1"
10
10
  },
11
11
  "browserslist": {
12
12
  "production": [
@@ -1445,7 +1445,7 @@ __webpack_require__.r(__webpack_exports__);
1445
1445
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1446
1446
  /* harmony export */ });
1447
1447
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
1448
- cdnVersion: '6.182.0'
1448
+ cdnVersion: '6.183.0-alpha.1'
1449
1449
  });
1450
1450
 
1451
1451
  /***/ }),
@@ -6844,7 +6844,7 @@ function* preLogin({
6844
6844
  }));
6845
6845
  ssoRedirectUrl += `&redirect_uri=${window.location.origin}${oidcRedirectUrl}`;
6846
6846
  }
6847
- if (_toolkit__WEBPACK_IMPORTED_MODULE_27__["default"].isAvailable('loginWithSSO')) {
6847
+ if (_toolkit__WEBPACK_IMPORTED_MODULE_27__["default"].isLoginWithSSOAvailable()) {
6848
6848
  _toolkit__WEBPACK_IMPORTED_MODULE_27__["default"].loginWithSSO(email);
6849
6849
  yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)(_reducer__WEBPACK_IMPORTED_MODULE_5__.actions.setLoginState({
6850
6850
  loading: false
@@ -23568,6 +23568,12 @@ class FronteggNativeModule {
23568
23568
  isJsInterfaceAvailable() {
23569
23569
  return window.FronteggNativeBridge != null;
23570
23570
  }
23571
+ isSocialLoginAvailable() {
23572
+ return this.isAvailable('loginWithSocialLogin');
23573
+ }
23574
+ isLoginWithSSOAvailable() {
23575
+ return this.isAvailable('loginWithSSO');
23576
+ }
23571
23577
  isAvailable(method) {
23572
23578
  if (this.isWebkitAvailable() || this.isJsInterfaceAvailable()) {
23573
23579
  var _window$FronteggNativ5, _window$FronteggNativ6;
@@ -25199,7 +25205,7 @@ __webpack_require__.r(__webpack_exports__);
25199
25205
  /* harmony export */ });
25200
25206
  /* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
25201
25207
  /* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
25202
- /** @license Frontegg v6.182.0
25208
+ /** @license Frontegg v6.183.0-alpha.1
25203
25209
  *
25204
25210
  * This source code is licensed under the MIT license found in the
25205
25211
  * LICENSE file in the root directory of this source tree.