@neoskop/ethereal-secrets-client
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -10,3 +10,3 @@ "use strict"; | ||
this._cacheKey = typeof config.cacheKey === 'undefined' || config.cacheKey === null ? false : config.cacheKey; | ||
this._endpoint = config.endpoint; | ||
this._endpoint = config.endpoint.endsWith('/') ? config.endpoint : config.endpoint + '/'; | ||
if (typeof window !== 'undefined') { | ||
@@ -13,0 +13,0 @@ this._agent = request; |
@@ -17,3 +17,3 @@ "use strict"; | ||
if (config === void 0) { config = {}; } | ||
var defaultConfig = { endpoint: 'http://server:8080/' }; | ||
var defaultConfig = { endpoint: 'http://server:8080' }; | ||
Object.getOwnPropertyNames(config).map(function (key) { | ||
@@ -20,0 +20,0 @@ if (config.hasOwnProperty(key)) { |
{ | ||
"name": "@neoskop/ethereal-secrets-client", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "typings": "dist/index.d.ts", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
22252