@aloma.io/integration-sdk 3.6.3 → 3.6.5
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/internal/index.mjs
CHANGED
@@ -107,7 +107,7 @@ class Fetcher {
|
|
107
107
|
const timeout = Math.min(options?.timeout || 30 * 60 * 1000, 30 * 60 * 1000);
|
108
108
|
const ret = await fetch(theURL, {
|
109
109
|
...options,
|
110
|
-
signal: AbortSignal.timeout(
|
110
|
+
signal: AbortSignal.timeout(timeout),
|
111
111
|
});
|
112
112
|
const status = await ret.status;
|
113
113
|
if (status > 399) {
|
package/package.json
CHANGED
package/src/internal/index.mjs
CHANGED
@@ -139,7 +139,7 @@ class Fetcher {
|
|
139
139
|
const timeout = Math.min(options?.timeout || 30 * 60 * 1000, 30 * 60 * 1000);
|
140
140
|
const ret = await fetch(theURL, {
|
141
141
|
...options,
|
142
|
-
signal: AbortSignal.timeout(
|
142
|
+
signal: AbortSignal.timeout(timeout),
|
143
143
|
});
|
144
144
|
const status = await ret.status;
|
145
145
|
|