Comparing version 7.2.0 to 7.2.1
## CHANGE LOG | ||
## v7.2.1 | ||
- 修复rtc获取回复存在的问题 | ||
## v7.2.0 | ||
@@ -4,0 +7,0 @@ - 修复node的stream读取的chunk大小比较随意的问题 |
{ | ||
"name": "qiniu", | ||
"version": "7.2.0", | ||
"version": "7.2.1", | ||
"description": "Node wrapper for Qiniu Resource (Cloud) Storage API", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -21,3 +21,3 @@ var http = require('http') | ||
res.on('end', function() { | ||
//var resultObject = JSON.parse(responseString); | ||
var resultObject = JSON.parse(responseString); | ||
@@ -31,7 +31,3 @@ if (res.statusCode != 200) { | ||
} else { | ||
result = { | ||
code: res.statusCode, | ||
message: res.statusMessage | ||
} | ||
fn(null, result); | ||
fn(null, resultObject); | ||
} | ||
@@ -38,0 +34,0 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
143022
3836