@workerbase/sdk
Advanced tools
Comparing version 0.1.8 to 0.1.9
@@ -65,2 +65,3 @@ "use strict"; | ||
exports.default = WorkerbaseRessource_1.default({ | ||
internalHostname: 'settings', | ||
path: 'locations', | ||
@@ -67,0 +68,0 @@ includeBasics: [ |
@@ -61,2 +61,3 @@ "use strict"; | ||
exports.default = WorkerbaseRessource_1.default({ | ||
internalHostname: 'media', | ||
path: 'media', | ||
@@ -63,0 +64,0 @@ includeBasics: [WorkerbaseRessource_1.BasicMethods.LIST, WorkerbaseRessource_1.BasicMethods.DELETE], |
@@ -83,5 +83,2 @@ "use strict"; | ||
} | ||
if (process.env.FUNC_RUNTIME && internalHostname) { | ||
api.url = 'http://' + internalHostname + '/'; | ||
} | ||
baseUrl = parseurl_1.default({ url: api.url }).href; | ||
@@ -88,0 +85,0 @@ url = baseUrl + "api/" + apiVersion + "/" + endpoint; |
{ | ||
"name": "@workerbase/sdk", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
2
131671
2121