youzanyun-open-sdk
Advanced tools
Comparing version 1.0.10 to 1.0.11
@@ -10,3 +10,3 @@ const Token = require('./token'); | ||
httpClient, | ||
openHost | ||
tokenHost | ||
}) { | ||
@@ -19,3 +19,3 @@ this.cloudType = ''; | ||
this.tokenService = new Token({ | ||
clientId, clientSecret, openHost, | ||
clientId, clientSecret, tokenHost, | ||
httpClient: this.httpClient | ||
@@ -22,0 +22,0 @@ }); |
@@ -32,3 +32,3 @@ const Config = require('../utils/config'); | ||
httpClient, | ||
openHost | ||
tokenHost | ||
}) { | ||
@@ -38,3 +38,3 @@ this.clientId = clientId; | ||
this.httpClient = httpClient; | ||
this.requestTokenUrl = `https://${openHost || Config.OpenHost}/auth/token` | ||
this.requestTokenUrl = `https://${tokenHost || Config.TokenHost}/auth/token` | ||
} | ||
@@ -41,0 +41,0 @@ |
exports.OpenHost = 'open.youzanyun.com'; | ||
exports.TokenHost = 'open.youzanyun.com'; |
{ | ||
"name": "youzanyun-open-sdk", | ||
"version": "1.0.10", | ||
"version": "1.0.11", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.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
24848
823