Skip to content

Commit bc911dc

Browse files
committed
updatye: d.ts add ChunkSize
1 parent bc28bc5 commit bc911dc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1654,6 +1654,8 @@ Bulk:批量模式,恢复时间为24 - 48小时。 */
16541654
interface SliceUploadFileParams extends ObjectParams {
16551655
/** 要上传的本地文件路径 */
16561656
FilePath: string,
1657+
/** 分块上传时,每片的字节数大小,默认值1048576(1MB) */
1658+
ChunkSize?: number,
16571659
/** 请求里的 Url Query 参数 */
16581660
Query?: string,
16591661
/** RFC 2616 中定义的缓存指令,将作为对象元数据保存 */

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cos-nodejs-sdk-v5",
3-
"version": "2.10.2",
3+
"version": "2.10.3",
44
"description": "cos nodejs sdk v5",
55
"main": "index.js",
66
"types": "index.d.ts",

0 commit comments

Comments
 (0)