@authsignal/browser 0.0.1 → 0.0.2

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/dist/cjs/index.js CHANGED
@@ -3677,6 +3677,10 @@ var AuthsignalClient = /** @class */ (function () {
3677
3677
  setCookie("__as_aid", newId, Infinity, this.cookieDomain, document.location.protocol !== "http:");
3678
3678
  return { idCookie: newId, generated: true };
3679
3679
  };
3680
+ AuthsignalClient.prototype.challengeWithRedirect = function (_a) {
3681
+ var challengeUrl = _a.challengeUrl;
3682
+ window.location.href = challengeUrl;
3683
+ };
3680
3684
  AuthsignalClient.prototype.challengeWithPopup = function (_a) {
3681
3685
  var challengeUrl = _a.challengeUrl;
3682
3686
  var Popup = new PopupHandler();