hc-service-client
Advanced tools
Comparing version 1.2.1 to 1.3.0-alpha.0
@@ -38,2 +38,4 @@ 'use strict'; | ||
this.signatureProcessor = require('./signature/common_user_auth'); | ||
} else if (this.signatureApproach === 'gateway') { | ||
this.signatureProcessor = require('./signature/gateway'); | ||
} else if (this.signatureApproach === 'userAuth') { | ||
@@ -147,3 +149,3 @@ this.signatureProcessor = require('./signature/user_auth'); | ||
const resultPath = this.getPath(qpath, options); | ||
const signatureOption = { | ||
@@ -154,2 +156,3 @@ method, | ||
path: resultPath, | ||
data: options.data, | ||
accessKeyId: this.accessKeyId, | ||
@@ -263,3 +266,3 @@ accessKeySecret: this.accessKeySecret, | ||
} | ||
}); | ||
}); | ||
} | ||
@@ -266,0 +269,0 @@ |
{ | ||
"name": "hc-service-client", | ||
"version": "1.2.1", | ||
"version": "1.3.0-alpha.0", | ||
"description": "Service Client Extension for Honeybee", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -88,3 +88,3 @@ ### ServiceClient | ||
- object,直接写header内容 | ||
- 内置扩展, 'otm' 、 'azk' | ||
- 内置扩展, 'otm' 、 'azk' 、'gateway' | ||
@@ -91,0 +91,0 @@ 如: |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
51328
18
1130
2
2