@frontegg/js 6.83.0 → 6.84.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 +1 -1
- package/node/index.js +1 -1
- package/node/version.js +1 -1
- package/package.json +2 -2
- package/umd/frontegg.development.js +7 -6
- package/umd/frontegg.production.min.js +1 -1
- package/version.js +1 -1
package/index.js
CHANGED
package/node/index.js
CHANGED
package/node/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontegg/js",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.84.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.
|
|
9
|
+
"@frontegg/types": "6.84.0-alpha.1"
|
|
10
10
|
},
|
|
11
11
|
"browserslist": {
|
|
12
12
|
"production": [
|
|
@@ -1200,7 +1200,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1200
1200
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
1201
1201
|
/* harmony export */ });
|
|
1202
1202
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
1203
|
-
cdnVersion: '6.
|
|
1203
|
+
cdnVersion: '6.84.0-alpha.1'
|
|
1204
1204
|
});
|
|
1205
1205
|
|
|
1206
1206
|
/***/ }),
|
|
@@ -5747,7 +5747,7 @@ function* shouldShowPromptPasskeys() {
|
|
|
5747
5747
|
const {
|
|
5748
5748
|
policy
|
|
5749
5749
|
} = publicAuthStrategyPolicy;
|
|
5750
|
-
const isPasskeysEnabledByVendor = (0,_PasskeysState_helpers__WEBPACK_IMPORTED_MODULE_19__.
|
|
5750
|
+
const isPasskeysEnabledByVendor = (0,_PasskeysState_helpers__WEBPACK_IMPORTED_MODULE_19__.getPasskeysVendorPolicy)(policy);
|
|
5751
5751
|
const isLoggedInWithPasskeys = localStorage.getItem('preferred-login-method') === 'Passkeys';
|
|
5752
5752
|
const isMarkedDontShowAgainPrompt = localStorage.getItem('dont-show-again-prompt-passkeys') === 'true';
|
|
5753
5753
|
const [showPasskeys] = yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.call)(_helpers__WEBPACK_IMPORTED_MODULE_16__.getFeatureFlags, ['show-passkeys']);
|
|
@@ -7654,12 +7654,13 @@ function* mfaSagasMock() {
|
|
|
7654
7654
|
"use strict";
|
|
7655
7655
|
__webpack_require__.r(__webpack_exports__);
|
|
7656
7656
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
7657
|
-
/* harmony export */ "
|
|
7657
|
+
/* harmony export */ "getPasskeysVendorPolicy": () => (/* binding */ getPasskeysVendorPolicy)
|
|
7658
7658
|
/* harmony export */ });
|
|
7659
7659
|
/* harmony import */ var _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @frontegg/rest-api */ "../../node_modules/@frontegg/rest-api/auth/interfaces.js");
|
|
7660
7660
|
|
|
7661
|
-
const
|
|
7662
|
-
|
|
7661
|
+
const getPasskeysVendorPolicy = policy => {
|
|
7662
|
+
var _policy$secondaryAuth;
|
|
7663
|
+
return !!(policy != null && (_policy$secondaryAuth = policy.secondaryAuthStrategies) != null && _policy$secondaryAuth.some(({
|
|
7663
7664
|
isActive,
|
|
7664
7665
|
strategy
|
|
7665
7666
|
}) => isActive && strategy === _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_0__.SecondaryAuthStrategy.Passkeys));
|
|
@@ -18909,7 +18910,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18909
18910
|
/* harmony export */ });
|
|
18910
18911
|
/* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
|
|
18911
18912
|
/* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
|
|
18912
|
-
/** @license Frontegg v6.
|
|
18913
|
+
/** @license Frontegg v6.84.0-alpha.1
|
|
18913
18914
|
*
|
|
18914
18915
|
* This source code is licensed under the MIT license found in the
|
|
18915
18916
|
* LICENSE file in the root directory of this source tree.
|