ngx-sp-auth 4.14.0 → 4.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/fesm2022/ngx-sp-auth.mjs
CHANGED
|
@@ -1594,8 +1594,8 @@ class MenuServicesService {
|
|
|
1594
1594
|
this._subject = new Subject();
|
|
1595
1595
|
this._BASE_URL = `${this._customEnvironmentService.SpInfra2ErpWS}`; // SpInfra2ErpWS
|
|
1596
1596
|
this._BASE_URL = !this._customEnvironmentService.production ? this._BASE_URL : `${this._customEnvironmentService.SpInfra2ErpWS}`;
|
|
1597
|
-
this._BASE_URL_VERSION_INFRA = `${this._customEnvironmentService.SpInfra2AuthWS.replace('SpInfra2AuthWS', '
|
|
1598
|
-
this._BASE_URL_VERSION_INFRA = !this._customEnvironmentService.production ? this._BASE_URL_VERSION_INFRA : `${this._customEnvironmentService.SpInfra2AuthWS.replace('SpInfra2AuthWS', '
|
|
1597
|
+
this._BASE_URL_VERSION_INFRA = `${this._customEnvironmentService.SpInfra2AuthWS.replace('SpInfra2AuthWS', 'SpInfra2VersionWS')}`; // SpInfra2VersionWS
|
|
1598
|
+
this._BASE_URL_VERSION_INFRA = !this._customEnvironmentService.production ? this._BASE_URL_VERSION_INFRA : `${this._customEnvironmentService.SpInfra2AuthWS.replace('SpInfra2AuthWS', 'SpInfra2VersionWS')}`;
|
|
1599
1599
|
}
|
|
1600
1600
|
// #region ==========> SERVICES <==========
|
|
1601
1601
|
// #region PREPARATION
|
|
@@ -1671,7 +1671,6 @@ class MenuServicesService {
|
|
|
1671
1671
|
/** Busca as versões dos módulos instalados e disponíveis dentro do mesmo servidor. */
|
|
1672
1672
|
getVersionModulos() {
|
|
1673
1673
|
const url = `${this._BASE_URL_VERSION_INFRA}/Version/modulos`;
|
|
1674
|
-
console.log('url:', url);
|
|
1675
1674
|
return this._httpClient.get(url, { 'headers': this._HTTP_HEADERS })
|
|
1676
1675
|
.pipe(take(1), tap(response => {
|
|
1677
1676
|
if (response.Error) {
|