@klauswuestefeld/jux-web 2024.5.24 → 2024.10.4
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/dist/jux-web.js +2 -2
- package/dist/main.esm.js +2 -2
- package/dist/main.js +2 -2
- package/package.json +1 -1
package/dist/jux-web.js
CHANGED
|
@@ -193,7 +193,7 @@ var juxWeb = (function (exports) {
|
|
|
193
193
|
};
|
|
194
194
|
let requestRunning = false;
|
|
195
195
|
const maxRetries = 20;
|
|
196
|
-
let timeout =
|
|
196
|
+
let timeout = 20000;
|
|
197
197
|
// @ts-ignore
|
|
198
198
|
window.setRequestTimeout = (newTimeout) => timeout = newTimeout;
|
|
199
199
|
const backendRequest = (url_1, options_1, onSuccess_1, onError_1, onRedirect_1, ...args_1) => __awaiter$2(void 0, [url_1, options_1, onSuccess_1, onError_1, onRedirect_1, ...args_1], void 0, function* (url, options, onSuccess, onError, onRedirect, requestType = 'query', handleUnauthorized = defaultHandleUnauthorized, retrial = false, retrialNum = 0) {
|
|
@@ -276,7 +276,7 @@ var juxWeb = (function (exports) {
|
|
|
276
276
|
}
|
|
277
277
|
else {
|
|
278
278
|
// backend exceptions
|
|
279
|
-
onError(jsonResponse
|
|
279
|
+
onError(jsonResponse);
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
catch (err) {
|
package/dist/main.esm.js
CHANGED
|
@@ -192,7 +192,7 @@ const defaultHandleUnauthorized = () => {
|
|
|
192
192
|
};
|
|
193
193
|
let requestRunning = false;
|
|
194
194
|
const maxRetries = 20;
|
|
195
|
-
let timeout =
|
|
195
|
+
let timeout = 20000;
|
|
196
196
|
// @ts-ignore
|
|
197
197
|
window.setRequestTimeout = (newTimeout) => timeout = newTimeout;
|
|
198
198
|
const backendRequest = (url_1, options_1, onSuccess_1, onError_1, onRedirect_1, ...args_1) => __awaiter(void 0, [url_1, options_1, onSuccess_1, onError_1, onRedirect_1, ...args_1], void 0, function* (url, options, onSuccess, onError, onRedirect, requestType = 'query', handleUnauthorized = defaultHandleUnauthorized, retrial = false, retrialNum = 0) {
|
|
@@ -275,7 +275,7 @@ const backendRequest = (url_1, options_1, onSuccess_1, onError_1, onRedirect_1,
|
|
|
275
275
|
}
|
|
276
276
|
else {
|
|
277
277
|
// backend exceptions
|
|
278
|
-
onError(jsonResponse
|
|
278
|
+
onError(jsonResponse);
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
281
|
catch (err) {
|
package/dist/main.js
CHANGED
|
@@ -216,7 +216,7 @@ const defaultHandleUnauthorized = () => {
|
|
|
216
216
|
};
|
|
217
217
|
let requestRunning = false;
|
|
218
218
|
const maxRetries = 20;
|
|
219
|
-
let timeout =
|
|
219
|
+
let timeout = 20000;
|
|
220
220
|
// @ts-ignore
|
|
221
221
|
window.setRequestTimeout = (newTimeout) => timeout = newTimeout;
|
|
222
222
|
const backendRequest = (url_1, options_1, onSuccess_1, onError_1, onRedirect_1, ...args_1) => __awaiter(void 0, [url_1, options_1, onSuccess_1, onError_1, onRedirect_1, ...args_1], void 0, function* (url, options, onSuccess, onError, onRedirect, requestType = 'query', handleUnauthorized = defaultHandleUnauthorized, retrial = false, retrialNum = 0) {
|
|
@@ -299,7 +299,7 @@ const backendRequest = (url_1, options_1, onSuccess_1, onError_1, onRedirect_1,
|
|
|
299
299
|
}
|
|
300
300
|
else {
|
|
301
301
|
// backend exceptions
|
|
302
|
-
onError(jsonResponse
|
|
302
|
+
onError(jsonResponse);
|
|
303
303
|
}
|
|
304
304
|
}
|
|
305
305
|
catch (err) {
|