hc-service-client
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -32,8 +32,8 @@ 'use strict'; | ||
option.endpoint = serviceCfg; | ||
option.accessKeyId = 'anonymous'; | ||
option.accessKeySecret = app.config.systemToken; | ||
option.accessKeyId = app.config.defaultAccessKeyId || 'anonymous'; | ||
option.accessKeySecret = app.config.defaultAccessKeySecret || app.config.systemToken; | ||
} else { | ||
option.endpoint = serviceCfg.endpoint || serviceCfg.endPoint; | ||
option.accessKeyId = serviceCfg.accessKeyId || 'anonymous'; | ||
option.accessKeySecret = serviceCfg.accessKeySecret || serviceCfg.token || app.config.systemToken; | ||
option.accessKeyId = serviceCfg.accessKeyId || app.config.defaultAccessKeyId || 'anonymous'; | ||
option.accessKeySecret = serviceCfg.accessKeySecret || serviceCfg.token || app.config.defaultAccessKeySecret || app.config.systemToken; | ||
} | ||
@@ -40,0 +40,0 @@ if (this.headers[ridHeader.toLowerCase()]) { |
{ | ||
"name": "hc-service-client", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "Service Client Extension for Honeybee", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
46862