youzanyun-sdk-nodejs
Advanced tools
Comparing version 1.8.4 to 1.9.0
@@ -28,3 +28,3 @@ /** | ||
const Breakdown = require('./breakdown'); | ||
const { NEED_PREVENT_BREAKDOWN, OPEN_HOST, QA_OPEN_HOST, PRE_OPEN_HOST } = require('./config'); | ||
const { NEED_PREVENT_BREAKDOWN, OPEN_HOST } = require('./config'); | ||
const packageJson = require('./package.json'); | ||
@@ -35,3 +35,3 @@ | ||
this._httpClient = httpClient; | ||
this._openHost = openHost || PRE_OPEN_HOST; | ||
this._openHost = openHost || OPEN_HOST; | ||
this._tokenCache = new TokenCache(); | ||
@@ -38,0 +38,0 @@ this._breakdown = new Breakdown(); |
{ | ||
"name": "youzanyun-sdk-nodejs", | ||
"version": "1.8.4", | ||
"version": "1.9.0", | ||
"description": "有赞云 nodejs sdk", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -32,3 +32,3 @@ const config = require('./config'); | ||
this.httpClient = httpClient; | ||
this.requestTokenUrl = `https://${tokenHost || config.PRE_TOKEN_HOST}/auth/token`; | ||
this.requestTokenUrl = `https://${tokenHost || config.TOKEN_HOST}/auth/token`; | ||
} | ||
@@ -35,0 +35,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
14922