youzanyun-sdk-nodejs
Advanced tools
Comparing version 1.2.0 to 1.3.0
@@ -46,4 +46,4 @@ /** | ||
_getCurrentSecret() { | ||
const { CLIENT_ID, CLIENT_SECRET } = process.env; | ||
return { CLIENT_ID, CLIENT_SECRET }; | ||
const { OPENSDK_CLIENTID, OPENSDK_CLIENTSECRET } = process.env; | ||
return { CLIENT_ID: OPENSDK_CLIENTID, CLIENT_SECRET: OPENSDK_CLIENTSECRET }; | ||
} | ||
@@ -50,0 +50,0 @@ |
{ | ||
"name": "youzanyun-sdk-nodejs", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "有赞云 nodejs sdk", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -0,1 +1,4 @@ | ||
process.env.OPENSDK_CLIENTID = '434bff5f1b502f9668'; | ||
process.env.OPENSDK_CLIENTSECRET = '70a34a0821086087b331b96a086562b0'; | ||
const sdk = require('./index'); | ||
@@ -2,0 +5,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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances 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
14100
454
4