@klauswuestefeld/jux-web 2025.9.5 → 2025.9.26
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 +4 -4
- package/dist/main.esm.js +4 -4
- package/dist/main.js +4 -4
- package/package.json +1 -1
package/dist/jux-web.js
CHANGED
|
@@ -287,11 +287,11 @@ var juxWeb = (function (exports) {
|
|
|
287
287
|
const requestInit = Object.assign(Object.assign({}, options), { headers, signal: controller.signal });
|
|
288
288
|
if (onRedirect)
|
|
289
289
|
requestInit.redirect = 'manual'; // Treat redirects manually instead of following them automatically.
|
|
290
|
-
if (requestType === 'upload') {
|
|
291
|
-
uploadRequest(url, options.file, onSuccess, onError, extras);
|
|
292
|
-
return;
|
|
293
|
-
}
|
|
294
290
|
try {
|
|
291
|
+
if (requestType === 'upload') {
|
|
292
|
+
uploadRequest(url, options.file, onSuccess, onError, extras);
|
|
293
|
+
return;
|
|
294
|
+
}
|
|
295
295
|
response = yield fetch(url, requestInit);
|
|
296
296
|
}
|
|
297
297
|
catch (err) {
|
package/dist/main.esm.js
CHANGED
|
@@ -286,11 +286,11 @@ const backendRequest = (url_1, ...args_1) => __awaiter(void 0, [url_1, ...args_1
|
|
|
286
286
|
const requestInit = Object.assign(Object.assign({}, options), { headers, signal: controller.signal });
|
|
287
287
|
if (onRedirect)
|
|
288
288
|
requestInit.redirect = 'manual'; // Treat redirects manually instead of following them automatically.
|
|
289
|
-
if (requestType === 'upload') {
|
|
290
|
-
uploadRequest(url, options.file, onSuccess, onError, extras);
|
|
291
|
-
return;
|
|
292
|
-
}
|
|
293
289
|
try {
|
|
290
|
+
if (requestType === 'upload') {
|
|
291
|
+
uploadRequest(url, options.file, onSuccess, onError, extras);
|
|
292
|
+
return;
|
|
293
|
+
}
|
|
294
294
|
response = yield fetch(url, requestInit);
|
|
295
295
|
}
|
|
296
296
|
catch (err) {
|
package/dist/main.js
CHANGED
|
@@ -310,11 +310,11 @@ const backendRequest = (url_1, ...args_1) => __awaiter(void 0, [url_1, ...args_1
|
|
|
310
310
|
const requestInit = Object.assign(Object.assign({}, options), { headers, signal: controller.signal });
|
|
311
311
|
if (onRedirect)
|
|
312
312
|
requestInit.redirect = 'manual'; // Treat redirects manually instead of following them automatically.
|
|
313
|
-
if (requestType === 'upload') {
|
|
314
|
-
uploadRequest(url, options.file, onSuccess, onError, extras);
|
|
315
|
-
return;
|
|
316
|
-
}
|
|
317
313
|
try {
|
|
314
|
+
if (requestType === 'upload') {
|
|
315
|
+
uploadRequest(url, options.file, onSuccess, onError, extras);
|
|
316
|
+
return;
|
|
317
|
+
}
|
|
318
318
|
response = yield fetch(url, requestInit);
|
|
319
319
|
}
|
|
320
320
|
catch (err) {
|