@frontegg/js 6.54.0 → 6.55.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/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v6.54.0
1
+ /** @license Frontegg v6.55.0-alpha.0
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.54.0
1
+ /** @license Frontegg v6.55.0-alpha.0
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.54.0"
8
+ "cdnVersion": "6.55.0-alpha.0"
9
9
  };
10
10
  exports["default"] = _default;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@frontegg/js",
3
- "version": "6.54.0",
3
+ "version": "6.55.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.54.0"
8
+ "@frontegg/types": "6.55.0-alpha.0"
9
9
  },
10
10
  "browserslist": {
11
11
  "production": [
@@ -1315,7 +1315,7 @@ __webpack_require__.r(__webpack_exports__);
1315
1315
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1316
1316
  /* harmony export */ });
1317
1317
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
1318
- "cdnVersion": "6.54.0"
1318
+ "cdnVersion": "6.55.0-alpha.0"
1319
1319
  });
1320
1320
 
1321
1321
  /***/ }),
@@ -18248,7 +18248,7 @@ __webpack_require__.r(__webpack_exports__);
18248
18248
  /* harmony export */ });
18249
18249
  /* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
18250
18250
  /* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
18251
- /** @license Frontegg v6.54.0
18251
+ /** @license Frontegg v6.55.0-alpha.0
18252
18252
  *
18253
18253
  * This source code is licensed under the MIT license found in the
18254
18254
  * LICENSE file in the root directory of this source tree.
@@ -18887,15 +18887,22 @@ async function getSocialLoginProvidersV2() {
18887
18887
  async function loginViaSocialLogin({
18888
18888
  provider,
18889
18889
  code,
18890
+ idToken,
18890
18891
  redirectUri,
18891
18892
  codeVerifier,
18892
18893
  metadata,
18893
18894
  invitationToken,
18894
18895
  state
18895
18896
  }) {
18896
- const params = {
18897
- code
18898
- };
18897
+ const params = {};
18898
+
18899
+ if (code) {
18900
+ params.code = code;
18901
+ }
18902
+
18903
+ if (idToken) {
18904
+ params.id_token = idToken;
18905
+ }
18899
18906
 
18900
18907
  if (redirectUri) {
18901
18908
  params.redirectUri = redirectUri;
@@ -20067,7 +20074,7 @@ __webpack_require__.r(__webpack_exports__);
20067
20074
  /* harmony import */ var _directory_interfaces__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./directory/interfaces */ "../../node_modules/@frontegg/rest-api/directory/interfaces.js");
20068
20075
  /* harmony import */ var _auth__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./auth */ "../../node_modules/@frontegg/rest-api/auth/enums.js");
20069
20076
  /* harmony import */ var _subscriptions__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./subscriptions */ "../../node_modules/@frontegg/rest-api/subscriptions/enums.js");
20070
- /** @license Frontegg v3.0.52
20077
+ /** @license Frontegg v3.0.53
20071
20078
  *
20072
20079
  * This source code is licensed under the MIT license found in the
20073
20080
  * LICENSE file in the root directory of this source tree.