@faasjs/request 0.0.2-beta.364 → 0.0.2-beta.365

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -34,7 +34,7 @@ FaasJS's request module.
34
34
 
35
35
  | Name | Type |
36
36
  | :------ | :------ |
37
- | `body?` | `Object` |
37
+ | `body?` | { [key: string]: `any`; } |
38
38
  | `headers?` | `http.OutgoingHttpHeaders` |
39
39
  | `host?` | `string` |
40
40
  | `method?` | `string` |
@@ -60,7 +60,7 @@ ___
60
60
  | `method?` | `string` | 请求方法,默认为 GET |
61
61
  | `passphrase?` | `string` | - |
62
62
  | `pfx?` | `Buffer` | - |
63
- | `query?` | `Object` | 请求参数,放置于 path 后,若需放置在 body 中,请使用 body 参数 |
63
+ | `query?` | { [key: string]: `any`; } | 请求参数,放置于 path 后,若需放置在 body 中,请使用 body 参数 |
64
64
  | `timeout?` | `number` | 最长耗时,单位为毫秒 |
65
65
  | `parse?` | (`body`: `string`) => `any` | body 解析器,默认为 JSON.parse |
66
66
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faasjs/request",
3
- "version": "0.0.2-beta.364",
3
+ "version": "0.0.2-beta.365",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -22,7 +22,7 @@
22
22
  "dist"
23
23
  ],
24
24
  "peerDependencies": {
25
- "@faasjs/logger": "^0.0.2-beta.364"
25
+ "@faasjs/logger": "^0.0.2-beta.365"
26
26
  },
27
27
  "devDependencies": {
28
28
  "tsup": "*",