@airpower/web 1.4.3 → 1.4.4

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.
@@ -91,7 +91,7 @@ export declare class Http {
91
91
  * ### 无返回发送请求
92
92
  * @param postData 发送的数据模型(数组)
93
93
  */
94
- request<REQ extends Transformer>(postData: REQ | REQ[] | undefined): Promise<void>;
94
+ request<REQ extends Transformer>(postData?: REQ | REQ[]): Promise<void>;
95
95
  /**
96
96
  * ### 发送请求并获取转换后的模型
97
97
  * @param postData 发送的数据模型(数组)
@@ -109,7 +109,7 @@ export declare class Http {
109
109
  * @param postData 发送的数据模型(数组)
110
110
  * @returns 响应的原始 `data`
111
111
  */
112
- requestRaw<REQ extends Transformer>(postData: REQ | REQ[] | undefined): Promise<IJson | IJson[]>;
112
+ requestRaw<REQ extends Transformer>(postData?: REQ | REQ[]): Promise<IJson | IJson[]>;
113
113
  /**
114
114
  * 发送请求
115
115
  * @param request 请求
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@airpower/web",
3
3
  "type": "module",
4
- "version": "1.4.3",
4
+ "version": "1.4.4",
5
5
  "description": "AirPower-Web",
6
6
  "author": {
7
7
  "name": "Hamm",