ztxkutils 2.10.66-42 → 2.10.66-43

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/request.d.ts CHANGED
@@ -31,6 +31,10 @@ export interface IOptions extends AxiosRequestConfig {
31
31
  * 401时,是否需要刷新token
32
32
  */
33
33
  isRefreshToken?: boolean;
34
+ /**
35
+ * 自定义处理状态码(401逻辑)
36
+ */
37
+ customStatus?: (status: any) => void;
34
38
  }
35
39
  export default function request(myOptions: IOptions, jumpCallback?: any, otherOptions?: any): any;
36
40
  export declare function clearNoCompleteRequest(): void;
package/dist/request.js CHANGED
@@ -2,7 +2,7 @@ import './tslib.es6-35653116.js';
2
2
  import './i18next.js';
3
3
  import 'axios';
4
4
  import 'ztxkui';
5
- export { N as NEW_AUTHORIZATION, O as OLD_AUTHORIZATION, d as clearAutonomousCatch, b as clearCatch, c as clearNoCompleteRequest, a as default } from './request-2ae9cfae.js';
5
+ export { N as NEW_AUTHORIZATION, O as OLD_AUTHORIZATION, d as clearAutonomousCatch, b as clearCatch, c as clearNoCompleteRequest, a as default } from './request-34b75d7b.js';
6
6
  import './authority-7a91cb9f.js';
7
7
  import './crypto-c481f616.js';
8
8
  import 'crypto';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ztxkutils",
3
- "version": "2.10.66-42",
3
+ "version": "2.10.66-43",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",