@byted-apaas/server-sdk-node 1.1.4-beta.5 → 1.1.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.
- package/global/global.d.ts +0 -24
- package/package.json +2 -2
package/global/global.d.ts
CHANGED
|
@@ -59,30 +59,6 @@ declare global {
|
|
|
59
59
|
export import DateTime = common.fieldType.DateTime;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
/**
|
|
63
|
-
* PublicAPI 功能
|
|
64
|
-
*/
|
|
65
|
-
namespace publicAPI {
|
|
66
|
-
/**
|
|
67
|
-
* 设置返回 header
|
|
68
|
-
* @param keyOrObject 要设置的 header 的 key 或对象
|
|
69
|
-
* @param value 要设置的 header 的 value,当 keyOrObject 为 key 时,该字段有效
|
|
70
|
-
*/
|
|
71
|
-
function setResponseHeader(keyOrObject: string | object, value?: string): void;
|
|
72
|
-
/**
|
|
73
|
-
* 重定向
|
|
74
|
-
* @param location 目标 url
|
|
75
|
-
*/
|
|
76
|
-
function setRedirectLocation(location: string): void;
|
|
77
|
-
/**
|
|
78
|
-
* 请求方法
|
|
79
|
-
*/
|
|
80
|
-
const method: string;
|
|
81
|
-
/**
|
|
82
|
-
* 请求头
|
|
83
|
-
*/
|
|
84
|
-
const headers: Record<string, string>;
|
|
85
|
-
}
|
|
86
62
|
const integration: _IIntegration;
|
|
87
63
|
}
|
|
88
64
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byted-apaas/server-sdk-node",
|
|
3
|
-
"version": "1.1.4
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"description": "aPaaS Server SDK",
|
|
5
5
|
"author": "zhouwexin <zhouwexin@bytedance.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"pre-build": "rm -rf build && tsc"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@byted-apaas/server-common-node": "^1.0.19
|
|
15
|
+
"@byted-apaas/server-common-node": "^1.0.19",
|
|
16
16
|
"@jorgeferrero/stream-to-buffer": "^2.0.6",
|
|
17
17
|
"dayjs": "^1.9.6",
|
|
18
18
|
"form-data": "^3.0.0",
|