@navservice/usuario 1.10.0 → 1.12.0

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/build/es/index.js CHANGED
@@ -2345,8 +2345,11 @@ const utils_session_storage = _session_storage;
2345
2345
  const _api_api = class _api {
2346
2346
  static servidor_pricipal = class {
2347
2347
  static get #axios() {
2348
+ console.log(es_src_config_env.PUBLIC_BASE_URL_BACKEND_PRINCIPAL, 'config_env_core.PUBLIC_BASE_URL_BACKEND_PRINCIPAL');
2349
+ const baseURL = new URL(es_src_config_env.PUBLIC_BASE_URL_BACKEND_PRINCIPAL).toString().replace(/\/?$/, "/");
2350
+ console.log(baseURL, 'baseURL');
2348
2351
  return lib_axios.create({
2349
- baseURL: es_src_config_env.PUBLIC_BASE_URL_BACKEND_PRINCIPAL
2352
+ baseURL
2350
2353
  });
2351
2354
  }
2352
2355
  static async post({ url, data, setToken = true }) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@navservice/usuario",
3
- "version": "1.10.0",
3
+ "version": "1.12.0",
4
4
  "description": "Service de autenticação de usuários unificado",
5
5
  "type": "module",
6
6
  "main": "./build/lib/index.js",