youzanyun-sdk-nodejs
Advanced tools
Comparing version 2.0.0-beta.3 to 2.0.0-beta.4
@@ -45,3 +45,3 @@ "use strict"; | ||
const packageJson = require('./package.json'); | ||
const packageJson = require('../package.json'); | ||
@@ -48,0 +48,0 @@ class ApiClient { |
@@ -75,4 +75,2 @@ "use strict"; | ||
res = this._doRequest(Object.assign(options, { | ||
url: `${requestUrl.pathname}${requestUrl.search}`, | ||
baseURL: this.proxyHost, | ||
headers | ||
@@ -79,0 +77,0 @@ })); |
{ | ||
"name": "youzanyun-sdk-nodejs", | ||
"version": "2.0.0-beta.3", | ||
"version": "2.0.0-beta.4", | ||
"description": "有赞云 nodejs sdk", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -29,3 +29,3 @@ /** | ||
const { NEED_PREVENT_BREAKDOWN, OPEN_HOST } = require('./config'); | ||
const packageJson = require('./package.json'); | ||
const packageJson = require('../package.json'); | ||
@@ -32,0 +32,0 @@ class ApiClient { |
@@ -64,4 +64,2 @@ const https = require('https'); | ||
Object.assign(options, { | ||
url: `${requestUrl.pathname}${requestUrl.search}`, | ||
baseURL: this.proxyHost, | ||
headers, | ||
@@ -68,0 +66,0 @@ }), |
@@ -8,3 +8,3 @@ process.env.OPENSDK_CLIENTID = 'a4a06f27443a541400'; | ||
const sdk = require('./lib'); | ||
const sdk = require('./src'); | ||
@@ -11,0 +11,0 @@ const http_main_handler = async () => { |
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
34380
958