@vtj/utils 0.16.20 → 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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vtj/utils",
3
3
  "private": false,
4
- "version": "0.16.20",
4
+ "version": "0.16.22",
5
5
  "type": "module",
6
6
  "keywords": [
7
7
  "低代码引擎",
@@ -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;
@@ -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.19
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.19";
8
+ export declare const version = "0.16.21";