File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1864,7 +1864,7 @@ Bulk:批量模式,恢复时间为24 - 48小时。 */
18641864
18651865 // request
18661866 /** request 接口参数 */
1867- interface RequestParams extends BucketParams {
1867+ interface RequestParams {
18681868 Bucket ?: Bucket ;
18691869 Region ?: Region ;
18701870 /** 操作方法,如 get,post,delete, head 等 HTTP 方法 */
@@ -1882,6 +1882,8 @@ Bulk:批量模式,恢复时间为24 - 48小时。 */
18821882 /** 返回值body是否不需要解析 */
18831883 RawBody ?: boolean ,
18841884 ContentType ?: string ,
1885+ /** 请求时带上的 Header 字段 */
1886+ Headers ?: Headers ,
18851887 }
18861888 /** Request 接口返回值 */
18871889 interface RequestResult extends GeneralResult {
Original file line number Diff line number Diff line change 11{
22 "name" : " cos-nodejs-sdk-v5" ,
3- "version" : " 2.11.14 " ,
3+ "version" : " 2.11.15 " ,
44 "description" : " cos nodejs sdk v5" ,
55 "main" : " index.js" ,
66 "types" : " index.d.ts" ,
You can’t perform that action at this time.
0 commit comments