@ethlete/query 2.5.3 → 2.5.4

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.
@@ -953,7 +953,7 @@ class BearerAuthProvider {
953
953
  }
954
954
  if (this.tokens.token) {
955
955
  this._prepareForRefresh();
956
- if (this.tokens.refreshToken && this._config.refreshConfig?.cookieName) {
956
+ if (this.tokens.refreshToken && this._config.refreshConfig?.cookieName && cookieEnabled) {
957
957
  setCookie(this._config.refreshConfig.cookieName, this.tokens.refreshToken);
958
958
  }
959
959
  }