Skip to content

Dev/2.12.2 #179

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 27 commits into from
Jul 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
a19d5c0
feat: 新增cov命令
livehigh Jan 11, 2023
68e6748
fix: 补充d.ts
livehigh Feb 14, 2023
c8e7f46
feat: 补充ci智能语音和云查毒接口
livehigh Mar 8, 2023
cebec06
Merge branch 'dev/ci-chrisftian' into 'master' (merge request !1)
livehigh Mar 8, 2023
26fd07b
fix: 修复Body类型
livehigh Mar 23, 2023
37d4b3f
fix: 更新依赖库版本
livehigh Apr 13, 2023
a8be03a
upd: version
livehigh Apr 13, 2023
7190cc9
fix: 恢复版本
livehigh Apr 13, 2023
94c45aa
upd: 新增单测
livehigh Apr 18, 2023
b851586
upd: 新增单测
livehigh Apr 18, 2023
3243561
upd: 新增单测
livehigh Apr 18, 2023
a4045df
upd: 新增单测
livehigh Apr 18, 2023
8a4d29d
upd: 补充单测
livehigh Apr 19, 2023
210fcc6
upd: 补充单测
livehigh Apr 19, 2023
6a6acef
upd: 补充单测
livehigh Apr 19, 2023
f53b169
feat: uploadSliceItem透传headers
livehigh Apr 19, 2023
2997cd1
upd: 补充单测
livehigh Apr 19, 2023
51df582
upd: 补充单测
livehigh Apr 20, 2023
0ce1503
upd: 更好xml2js
livehigh Apr 20, 2023
df1518c
feat: 默认关闭FollowRedirect
livehigh Apr 21, 2023
a204537
upd: 补充图片处理、存储桶配置、文档处理、文件处理nodejs sdk (merge request !3)
May 8, 2023
078bd3e
fix: 更新XMLParser配置
livehigh May 15, 2023
634bfc7
fix: 更新XMLParser配置
livehigh May 15, 2023
b54590b
fix: 优化d.ts
livehigh May 15, 2023
1a29385
feat: 更新依赖
livehigh Jul 17, 2023
97737fe
fix: 优化单测
livehigh Jul 17, 2023
df23b7f
Merge remote-tracking branch 'github_tencent/master' into dev/2.12.2
livehigh Jul 26, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1939,6 +1939,13 @@ Bulk:批量模式,恢复时间为24 - 48小时。 */
onProgress?: onProgress,
}

interface DownloadFileResult extends GeneralResult {
/** 对象的实体标签(Entity Tag),是对象被创建时标识对象内容的信息标签,可用于检查对象的内容是否发生变化,例如"8e0b617ca298a564c3331da28dcb50df"。此头部并不一定返回对象的 MD5 值,而是根据对象上传和加密方式而有所不同 */
ETag: ETag,
/** 对象的版本 ID */
VersionId?: string,
}

// getV4Auth
interface GetV4AuthParams {
/** 计算签名用的密钥 SecretId,如果不传会用实例本身的凭证,可选 */
Expand Down Expand Up @@ -2330,8 +2337,8 @@ declare class COS {
appendObject(params: COS.AppendObjectParams): Promise<COS.GeneralResult>;

/** 分块下载 @see https://cloud.tencent.com/document/product/436/64981#.E5.88.86.E5.9D.97.E4.B8.8B.E8.BD.BD.E5.AF.B9.E8.B1.A1 */
downloadFile(params: COS.DownloadFileParams, callback: (err: COS.CosError, data: COS.GetObjectResult) => void): void;
downloadFile(params: COS.DownloadFileParams): Promise<COS.GetObjectResult>;
downloadFile(params: COS.DownloadFileParams, callback: (err: COS.CosError, data: COS.DownloadFileResult) => void): void;
downloadFile(params: COS.DownloadFileParams): Promise<COS.DownloadFileResult>;

/** 获取 COS JSON API (v4) 签名 @see https://cloud.tencent.com/document/product/436/6054 */
getV4Auth(params: COS.GetV4AuthParams): COS.Authorization;
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cos-nodejs-sdk-v5",
"version": "2.12.1",
"version": "2.12.2",
"description": "cos nodejs sdk v5",
"main": "index.js",
"types": "index.d.ts",
Expand Down Expand Up @@ -32,7 +32,7 @@
"homepage": "https://github.com/tencentyun/cos-nodejs-sdk-v5#readme",
"dependencies": {
"conf": "^9.0.0",
"fast-xml-parser": "^4.2.2",
"fast-xml-parser": "4.2.5",
"mime-types": "^2.1.24",
"request": "^2.88.2"
},
Expand Down
Loading