@huaweicloud/huaweicloud-sdk-core
Advanced tools
Comparing version 3.0.38-rc to 3.0.39-rc
@@ -0,1 +1,12 @@ | ||
# 3.0.39-rc 2022-05-05 | ||
### HuaweiCloud SDK Moderation | ||
- _新增特性_ | ||
- 无 | ||
- _解决问题_ | ||
- 无 | ||
- _特性变更_ | ||
- 接口`RunImageModeration`请求参数`image`类型调整 `byte` -> `string` | ||
# 3.0.38-rc 2022-04-28 | ||
@@ -2,0 +13,0 @@ |
@@ -0,1 +1,12 @@ | ||
# 3.0.39-rc 2022-05-05 | ||
### HuaweiCloud SDK Moderation | ||
- _Features_ | ||
- None | ||
- _Bug Fix_ | ||
- None | ||
- _Change_ | ||
- Modify the type `byte` -> `string` of the request parameter `image` of the interface `RunImageModeration` | ||
# 3.0.38-rc 2022-04-28 | ||
@@ -2,0 +13,0 @@ |
@@ -151,3 +151,3 @@ "use strict"; | ||
contentType = contentType.toLowerCase(); | ||
if (contentType && contentType == 'application/octet-stream') { | ||
if (contentType && (contentType.startsWith('application/octet-stream') || contentType.startsWith("image"))) { | ||
return result.data; | ||
@@ -154,0 +154,0 @@ } |
{ | ||
"name": "@huaweicloud/huaweicloud-sdk-core", | ||
"version": "3.0.38-rc", | ||
"version": "3.0.39-rc", | ||
"description": "Core code for Huaweicloud SDK for Node.js", | ||
@@ -5,0 +5,0 @@ "main": "huaweicloud-sdk-core.js", |
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
244029