@whitesev/utils 1.4.7 → 1.4.8

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/index.cjs.js CHANGED
@@ -2125,8 +2125,8 @@ class Httpx {
2125
2125
  if (typeof __xmlHttpRequest__ !== "function") {
2126
2126
  console.warn("Httpx未传入GM_xmlhttpRequest函数或传入的GM_xmlhttpRequest不是Function,强制使用window.fetch");
2127
2127
  }
2128
- this.interceptors.request = this;
2129
- this.interceptors.response = this;
2128
+ this.interceptors.request.context = this;
2129
+ this.interceptors.response.context = this;
2130
2130
  this.GM_Api.xmlHttpRequest = __xmlHttpRequest__;
2131
2131
  }
2132
2132
  /**