@zauru-sdk/common 2.0.74 → 2.0.75

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.0.75](https://github.com/intuitiva/zauru-typescript-sdk/compare/v2.0.74...v2.0.75) (2024-12-11)
7
+
8
+ **Note:** Version bump only for package @zauru-sdk/common
9
+
10
+
11
+
12
+
13
+
6
14
  ## [2.0.74](https://github.com/intuitiva/zauru-typescript-sdk/compare/v2.0.73...v2.0.74) (2024-12-11)
7
15
 
8
16
  **Note:** Version bump only for package @zauru-sdk/common
@@ -558,7 +558,7 @@ exports.sortByProperty = sortByProperty;
558
558
  * @returns A Promise of AxiosUtilsResponse<T>.
559
559
  */
560
560
  async function handlePossibleAxiosErrors(action) {
561
- const SECONDS_TO_TIMEOUT = 18;
561
+ const SECONDS_TO_TIMEOUT = 20;
562
562
  const timeoutPromise = new Promise((_, reject) => setTimeout(() => reject(new Error(`Timeout skipped after ${SECONDS_TO_TIMEOUT} seconds`)), SECONDS_TO_TIMEOUT * 1000));
563
563
  try {
564
564
  const result = await Promise.race([action(), timeoutPromise]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/common",
3
- "version": "2.0.74",
3
+ "version": "2.0.75",
4
4
  "description": "Funciones de uso común en el desarrollo de webapps en Zauru",
5
5
  "main": "./dist/esm/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -24,5 +24,5 @@
24
24
  "moment": "^2.30.1",
25
25
  "moment-timezone": "^0.5.45"
26
26
  },
27
- "gitHead": "c034cf75933f01e59afcd0e5bd8147086dbe501f"
27
+ "gitHead": "dae59deee8ae0ab2dc88da53987850842bcec008"
28
28
  }
package/src/common.ts CHANGED
@@ -629,7 +629,7 @@ export const sortByProperty = (array: any[], property: string) => {
629
629
  export async function handlePossibleAxiosErrors<T>(
630
630
  action: () => Promise<T>
631
631
  ): Promise<AxiosUtilsResponse<T>> {
632
- const SECONDS_TO_TIMEOUT = 18;
632
+ const SECONDS_TO_TIMEOUT = 20;
633
633
 
634
634
  const timeoutPromise = new Promise((_, reject) =>
635
635
  setTimeout(