info-library 2.14.57-beta.0 → 2.14.57

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.
@@ -1237,7 +1237,7 @@ class InfoAuthenticationService {
1237
1237
  }
1238
1238
  getPermissions(url, logAtividade = false) {
1239
1239
  return this._http
1240
- .get(this._plataforma.Config.webapiUrl + 'centrocontrole/usuario/getpermissao?' + encodeURIComponent(this._utilities.jsonToEncrypt('url=' + url + '&logatividade=' + logAtividade.toString())), { headers: this._dataService.getHeaderToken(), responseType: 'text' })
1240
+ .get(this._plataforma.Config.webapiUrl + 'centrocontrole/usuario/getpermissao?' + encodeURIComponent(this._utilities.encryptQueryString('url=' + url + '&logatividade=' + logAtividade.toString())), { headers: this._dataService.getHeaderToken(), responseType: 'text' })
1241
1241
  .pipe(map((rs) => {
1242
1242
  var r = this._utilities.decryptToJson(rs);
1243
1243
  return new InfoLoginModel(r.Success, r.Messages, r.Data);
@@ -1327,7 +1327,7 @@ class InfoAuthenticationService {
1327
1327
  }
1328
1328
  validaSessao(url) {
1329
1329
  return this._http
1330
- .get(this._plataforma.Config.webapiUrl + 'centrocontrole/usuario/validasessao?' + encodeURIComponent(this._utilities.jsonToEncrypt('url=' + url)), { headers: this._dataService.getHeaderToken(), responseType: 'text' })
1330
+ .get(this._plataforma.Config.webapiUrl + 'centrocontrole/usuario/validasessao?' + encodeURIComponent(this._utilities.encryptQueryString('url=' + url)), { headers: this._dataService.getHeaderToken(), responseType: 'text' })
1331
1331
  .pipe(map((rs) => {
1332
1332
  var r = this._utilities.decryptToJson(rs);
1333
1333
  return new InfoLoginModel(r === true, '', r);