@navservice/core 1.120.0 → 1.122.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.
@@ -304,7 +304,7 @@ const set_response = new class {
304
304
  };
305
305
  helpers_logger.add({
306
306
  fn: `${fn}_ERROR`,
307
- level: "info",
307
+ level: "error",
308
308
  message: payload?.message,
309
309
  results: payload?.results
310
310
  });
package/build/es/index.js CHANGED
@@ -762,7 +762,9 @@ const utils = {
762
762
  session_sorage: utils_session_storage,
763
763
  sistema: utils_sistema,
764
764
  hooks: utils_hooks,
765
- environment: utils_environment
765
+ environment: utils_environment,
766
+ axios: axios,
767
+ zod: v4
766
768
  };
767
769
  const src_utils = utils;
768
770
  export { types as TypesCore, src_utils as utils };
@@ -1,3 +1,4 @@
1
+ import _zod from "zod/v4";
1
2
  declare const utils: {
2
3
  api: {
3
4
  new (): {};
@@ -183,5 +184,7 @@ declare const utils: {
183
184
  set(key: import("..").TypesCore.Geral.BaseUrl, props: string): void;
184
185
  get(key: import("..").TypesCore.Geral.BaseUrl): import("..").TypesCore.Geral.BaseUrl;
185
186
  };
187
+ axios: import("axios").AxiosStatic;
188
+ zod: typeof _zod;
186
189
  };
187
190
  export default utils;
@@ -372,7 +372,7 @@ const set_response = new class set_response {
372
372
  };
373
373
  helpers_logger.add({
374
374
  fn: `${fn}_ERROR`,
375
- level: "info",
375
+ level: "error",
376
376
  message: payload?.message,
377
377
  results: payload?.results
378
378
  });
@@ -958,6 +958,8 @@ const _environment = class _environment {
958
958
 
959
959
 
960
960
 
961
+
962
+
961
963
  const utils = {
962
964
  api: utils_api,
963
965
  data: utils_data,
@@ -968,7 +970,9 @@ const utils = {
968
970
  session_sorage: utils_session_storage,
969
971
  sistema: utils_sistema,
970
972
  hooks: utils_hooks,
971
- environment: utils_environment
973
+ environment: utils_environment,
974
+ axios: (external_axios_default()),
975
+ zod: (v4_default())
972
976
  };
973
977
  /* export default */ const src_utils = (utils);
974
978
 
@@ -1,3 +1,4 @@
1
+ import _zod from "zod/v4";
1
2
  declare const utils: {
2
3
  api: {
3
4
  new (): {};
@@ -183,5 +184,7 @@ declare const utils: {
183
184
  set(key: import("..").TypesCore.Geral.BaseUrl, props: string): void;
184
185
  get(key: import("..").TypesCore.Geral.BaseUrl): import("..").TypesCore.Geral.BaseUrl;
185
186
  };
187
+ axios: import("axios").AxiosStatic;
188
+ zod: typeof _zod;
186
189
  };
187
190
  export default utils;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@navservice/core",
3
- "version": "1.120.0",
3
+ "version": "1.122.0",
4
4
  "description": "Service core de todos os micro serviços",
5
5
  "type": "module",
6
6
  "exports": {