@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.amd.js +2 -2
- package/dist/index.amd.js.map +1 -1
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.iife.js +2 -2
- package/dist/index.iife.js.map +1 -1
- package/dist/index.system.js +2 -2
- package/dist/index.system.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/Httpx.ts +2 -2
package/package.json
CHANGED
package/src/Httpx.ts
CHANGED
|
@@ -2002,8 +2002,8 @@ class Httpx {
|
|
|
2002
2002
|
"Httpx未传入GM_xmlhttpRequest函数或传入的GM_xmlhttpRequest不是Function,强制使用window.fetch"
|
|
2003
2003
|
);
|
|
2004
2004
|
}
|
|
2005
|
-
this.interceptors.request = this as any;
|
|
2006
|
-
this.interceptors.response = this as any;
|
|
2005
|
+
this.interceptors.request.context = this as any;
|
|
2006
|
+
this.interceptors.response.context = this as any;
|
|
2007
2007
|
this.GM_Api.xmlHttpRequest = __xmlHttpRequest__;
|
|
2008
2008
|
}
|
|
2009
2009
|
|