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