@vtj/utils 0.16.21 → 0.16.22
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.cjs +7 -7
- package/dist/index.iife.js +5 -5
- package/dist/index.mjs +338 -326
- package/dist/index.umd.js +5 -5
- package/package.json +1 -1
- package/types/request.d.ts +9 -0
- package/types/version.d.ts +2 -2
package/package.json
CHANGED
package/types/request.d.ts
CHANGED
|
@@ -67,6 +67,14 @@ export interface IRequestSettings {
|
|
|
67
67
|
* 请求响应警告执行程序插件
|
|
68
68
|
*/
|
|
69
69
|
skipWarn?: IRequestSkipWarn;
|
|
70
|
+
/**
|
|
71
|
+
* 是否开启代理
|
|
72
|
+
*/
|
|
73
|
+
proxy?: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* 代理服务
|
|
76
|
+
*/
|
|
77
|
+
proxyPath?: string;
|
|
70
78
|
/**
|
|
71
79
|
* 其他自定义扩展参数
|
|
72
80
|
*/
|
|
@@ -101,6 +109,7 @@ export declare class Request {
|
|
|
101
109
|
private toFormData;
|
|
102
110
|
private createSendData;
|
|
103
111
|
private createUrl;
|
|
112
|
+
private createProxy;
|
|
104
113
|
private openLoading;
|
|
105
114
|
private closeLoading;
|
|
106
115
|
private _showError;
|
package/types/version.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright (c) 2026, VTJ.PRO All rights reserved.
|
|
3
3
|
* @name @vtj/utils
|
|
4
4
|
* @author CHC chenhuachun1549@dingtalk.com
|
|
5
|
-
* @version 0.16.
|
|
5
|
+
* @version 0.16.21
|
|
6
6
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
|
7
7
|
*/
|
|
8
|
-
export declare const version = "0.16.
|
|
8
|
+
export declare const version = "0.16.21";
|