@tellescope/utilities 1.255.12 → 1.255.13

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/lib/cjs/utils.js CHANGED
@@ -1985,8 +1985,8 @@ var URIDecodeEmail = function (content, verbose) { return (content
1985
1985
  })); };
1986
1986
  exports.URIDecodeEmail = URIDecodeEmail;
1987
1987
  var mfa_is_enabled = function (u) {
1988
- var _a;
1989
- return (!!((_a = u === null || u === void 0 ? void 0 : u.mfa) === null || _a === void 0 ? void 0 : _a.email));
1988
+ var _a, _b;
1989
+ return (!!((_a = u === null || u === void 0 ? void 0 : u.mfa) === null || _a === void 0 ? void 0 : _a.email) || !!((_b = u === null || u === void 0 ? void 0 : u.mfa) === null || _b === void 0 ? void 0 : _b.authenticator));
1990
1990
  };
1991
1991
  exports.mfa_is_enabled = mfa_is_enabled;
1992
1992
  var get_next_reminder_timestamp = function (_a) {