Comparing version 2.2.1 to 3.0.0
(function() { | ||
var AlmexApi, AlmexInboundsAdapter, AlmexOrdersAdapter, Promise, XmlBuilder, almexBaseUrl, read, req, xml2js, _, | ||
var AlmexApi, AlmexInboundsAdapter, AlmexOrdersAdapter, Promise, XmlBuilder, almexWsUrl, read, req, xml2js, _, | ||
__bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }; | ||
@@ -21,3 +21,3 @@ | ||
almexBaseUrl = process.env.ALMEX_BASE_URL || "http://201.157.61.34:8989"; | ||
almexWsUrl = process.env.ALMEX_WS_URL || "http://201.157.61.34:8989/CkIntegracionGeneral"; | ||
@@ -28,3 +28,3 @@ module.exports = AlmexApi = (function() { | ||
this.credentials = credentials; | ||
this.url = url != null ? url : "" + almexBaseUrl + "/CkIntegracionGeneral"; | ||
this.url = url != null ? url : almexWsUrl; | ||
this._getResult = __bind(this._getResult, this); | ||
@@ -31,0 +31,0 @@ this._doRequest = __bind(this._doRequest, this); |
@@ -8,3 +8,3 @@ { | ||
}, | ||
"version": "2.2.1", | ||
"version": "3.0.0", | ||
"main": "build/almexApi.js", | ||
@@ -11,0 +11,0 @@ "dependencies": { |
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
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
37534