@ventlio/tanstack-query 0.2.63-beta.5 → 0.2.63-beta.5.1
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/index.mjs
CHANGED
|
@@ -215,15 +215,7 @@ async function makeRequest({ body, method = HttpMethod.GET, path, isFormData, he
|
|
|
215
215
|
headers['Content-Type'] = ContentType.MULTIPART_FORM_DATA;
|
|
216
216
|
// add the app files
|
|
217
217
|
for (const fileKey in appFiles) {
|
|
218
|
-
|
|
219
|
-
if (Array.isArray(currentFile)) {
|
|
220
|
-
for (const innerFile of currentFile) {
|
|
221
|
-
body.append(fileKey, innerFile);
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
else {
|
|
225
|
-
body.append(fileKey, currentFile);
|
|
226
|
-
}
|
|
218
|
+
body.append(fileKey, appFiles[fileKey]);
|
|
227
219
|
}
|
|
228
220
|
}
|
|
229
221
|
else {
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -19,15 +19,7 @@ async function makeRequest({ body, method = HttpMethod.GET, path, isFormData, he
|
|
|
19
19
|
headers['Content-Type'] = ContentType.MULTIPART_FORM_DATA;
|
|
20
20
|
// add the app files
|
|
21
21
|
for (const fileKey in appFiles) {
|
|
22
|
-
|
|
23
|
-
if (Array.isArray(currentFile)) {
|
|
24
|
-
for (const innerFile of currentFile) {
|
|
25
|
-
body.append(fileKey, innerFile);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
else {
|
|
29
|
-
body.append(fileKey, currentFile);
|
|
30
|
-
}
|
|
22
|
+
body.append(fileKey, appFiles[fileKey]);
|
|
31
23
|
}
|
|
32
24
|
}
|
|
33
25
|
else {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"make-request.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"make-request.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -31,14 +31,7 @@ export async function makeRequest<TResponse>({
|
|
|
31
31
|
headers['Content-Type'] = ContentType.MULTIPART_FORM_DATA;
|
|
32
32
|
// add the app files
|
|
33
33
|
for (const fileKey in appFiles) {
|
|
34
|
-
|
|
35
|
-
if (Array.isArray(currentFile)) {
|
|
36
|
-
for (const innerFile of currentFile) {
|
|
37
|
-
body.append(fileKey, innerFile);
|
|
38
|
-
}
|
|
39
|
-
} else {
|
|
40
|
-
body.append(fileKey, currentFile);
|
|
41
|
-
}
|
|
34
|
+
body.append(fileKey, appFiles[fileKey]);
|
|
42
35
|
}
|
|
43
36
|
} else {
|
|
44
37
|
delete headers['Content-Type'];
|