Skip to content

Commit

Permalink
fix function prototype error in index.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
jemygraw committed Oct 30, 2017
1 parent 5da9c53 commit ade47b5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## CHANGE LOG

### v7.1.1
- 修复 index.d.ts 中的函数声明错误

### v7.1.0
- 修复时间戳防盗链中存在特殊字符引发的签名错误
- 修复分片上传的时候最后一块小于2056字节引发的错误
Expand Down
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ export declare namespace util {
* @param reqContentType 请求类型,例如 application/json 或者 application/x-www-form-urlencoded
* @param reqBody 请求Body,仅当请求的 ContentType 为 application/json 或者 application/x-www-form-urlencoded 时才需要传入该参数
*/
function generateAccessTokenV2(mac: auth.digest.Mac, requestURI: string, reqMethod: string, reqContentType: string, reqBody?: string)
function generateAccessTokenV2(mac: auth.digest.Mac, requestURI: string, reqMethod: string, reqContentType: string, reqBody?: string): string;

/**
* 校验七牛上传回调的Authorization
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "qiniu",
"version": "7.1.0",
"version": "7.1.1",
"description": "Node wrapper for Qiniu Resource (Cloud) Storage API",
"main": "index.js",
"directories": {
Expand Down

0 comments on commit ade47b5

Please sign in to comment.