ztxkutils 2.10.60 → 2.10.62

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
@@ -15,8 +15,18 @@ export interface IOptions extends AxiosRequestConfig {
15
15
  isCancelRepeat?: boolean;
16
16
  isCancelNoCompleteRequest?: boolean;
17
17
  noInterceptorsResponse?: boolean;
18
+ /**
19
+ * 是否自主缓存
20
+ */
18
21
  isAutonomousCatch?: boolean;
22
+ /**
23
+ * 每个接口自主缓存的最大限制
24
+ */
19
25
  autonomousCount?: number;
26
+ /**
27
+ * 自主缓存的key值,默认取url
28
+ */
29
+ autonomousKey?: string;
20
30
  }
21
31
  export default function request(myOptions: IOptions, jumpCallback?: any, otherOptions?: any): any;
22
32
  export declare function clearNoCompleteRequest(): void;
package/dist/request.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import './tslib.es6-35653116.js';
2
2
  import 'axios';
3
3
  import 'ztxkui';
4
- export { N as NEW_AUTHORIZATION, O as OLD_AUTHORIZATION, d as clearAutonomousCatch, b as clearCatch, c as clearNoCompleteRequest, a as default } from './request-dc69f021.js';
4
+ export { N as NEW_AUTHORIZATION, O as OLD_AUTHORIZATION, d as clearAutonomousCatch, b as clearCatch, c as clearNoCompleteRequest, a as default } from './request-87d93572.js';
5
5
  import './authority-7a91cb9f.js';
6
6
  import './crypto-c481f616.js';
7
7
  import 'crypto';