@workerbase/sdk
Advanced tools
Comparing version 0.1.34-beta.3 to 0.1.34-beta.5
@@ -73,5 +73,2 @@ "use strict"; | ||
this.accessToken = config_1.Config.accessToken; | ||
// @ts-ignore | ||
console.log("process.env", process.env); | ||
console.log("Config", config_1.Config); | ||
if (!config_1.Config.apiUrl) { | ||
@@ -83,2 +80,3 @@ throw new Error('No WB_API_URL in environment or option found'); | ||
} | ||
console.log(axios_1.default); | ||
this.api = axios_1.default.create(); | ||
@@ -101,5 +99,2 @@ axios_1.default.defaults.headers.post['User-Agent'] = "workerbase-sdk (" + constants_1.PACKAGE_VERSION + ")"; | ||
ApiClient.createBaseUrl = function (internalHostname) { | ||
// @ts-ignore | ||
console.log("createBaseUrl process.env", process.env); | ||
console.log("createBaseUrl Config", config_1.Config); | ||
var apiUrl = config_1.Config.apiUrl; | ||
@@ -106,0 +101,0 @@ var url = new URL(apiUrl !== null && apiUrl !== void 0 ? apiUrl : ''); |
{ | ||
"name": "@workerbase/sdk", | ||
"version": "0.1.34-beta.3", | ||
"version": "0.1.34-beta.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
13
360595
5745