@3wks/sargon-api-node-client
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -36,3 +36,5 @@ "use strict"; | ||
}); | ||
this.options = Object.assign({ basePath: "https://y8dgz7hjc6.execute-api.ap-southeast-2.amazonaws.com/prod", accessTokenUri: "https://sargon.okta.com/oauth2/aus1tusxpodt88bob2p7/v1/token" }, options); | ||
this.options = Object.assign({ basePath: process.env.SARGON_API_PATH || | ||
"https://y8dgz7hjc6.execute-api.ap-southeast-2.amazonaws.com/prod", accessTokenUri: process.env.SARGON_TOKEN_PATH || | ||
"https://sargon.okta.com/oauth2/aus1tusxpodt88bob2p7/v1/token" }, options); | ||
this.client = new client_oauth2_1.default({ | ||
@@ -39,0 +41,0 @@ clientId: this.options.clientId, |
@@ -47,4 +47,2 @@ // tslint:disable | ||
console.log(process.env, options, this.options); | ||
this.client = new OAuthClient({ | ||
@@ -51,0 +49,0 @@ clientId: this.options.clientId, |
{ | ||
"name": "@3wks/sargon-api-node-client", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "OpenAPI client for @3wks/sargon-api-node-client", | ||
@@ -5,0 +5,0 @@ "author": "OpenAPI-Generator Contributors", |
@@ -1,2 +0,2 @@ | ||
## @3wks/sargon-api-node-client@0.0.8 | ||
## @3wks/sargon-api-node-client@0.0.9 | ||
@@ -39,3 +39,3 @@ This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments: | ||
``` | ||
npm install @3wks/sargon-api-node-client@0.0.8 --save | ||
npm install @3wks/sargon-api-node-client@0.0.9 --save | ||
``` | ||
@@ -42,0 +42,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
71032
1403
2