ztxkutils 2.10.26 → 2.10.28
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.js +1 -1
- package/dist/print.d.ts +4 -2
- package/dist/print.js +39 -15
- package/dist/request-944adae3.js +2838 -0
- package/dist/request-bf005f3d.js +2834 -0
- package/dist/request-c1ed2e36.js +2827 -0
- package/dist/request.d.ts +3 -1
- package/dist/request.js +1 -1
- package/package.json +1 -1
package/dist/request.d.ts
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
* @description 封装请求方法
|
3
3
|
*/
|
4
4
|
import { AxiosRequestConfig } from 'axios';
|
5
|
+
export declare const OLD_AUTHORIZATION = "Basic c3dvcmQ6c3dvcmRfc2VjcmV0";
|
6
|
+
export declare const NEW_AUTHORIZATION = "Basic em1kbXM6em1kbXNfc2VjcmV0";
|
5
7
|
export interface IOptions extends AxiosRequestConfig {
|
6
8
|
isFormData?: boolean;
|
7
9
|
encryptionType?: 'aes' | 'des' | boolean;
|
@@ -10,5 +12,5 @@ export interface IOptions extends AxiosRequestConfig {
|
|
10
12
|
noCatchUrl?: string[];
|
11
13
|
isCatch?: boolean;
|
12
14
|
}
|
13
|
-
export default function request(myOptions: IOptions, jumpCallback?: any): any;
|
15
|
+
export default function request(myOptions: IOptions, jumpCallback?: any, otherOptions?: any): any;
|
14
16
|
export declare function clearCatch(): 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 { c as clearCatch, a as default } from './request-
|
4
|
+
export { N as NEW_AUTHORIZATION, O as OLD_AUTHORIZATION, c as clearCatch, a as default } from './request-944adae3.js';
|
5
5
|
import './authority-e6bde99f.js';
|
6
6
|
import './crypto-c481f616.js';
|
7
7
|
import 'crypto';
|