@magiclabs.ai/magicbook-client 0.7.23-canary → 0.7.24-canary
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/index.cjs +5 -1
- package/index.cjs.map +1 -1
- package/index.iife.js +5 -1
- package/index.iife.min.js +1 -1
- package/index.js +5 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -6265,7 +6265,11 @@ var Fetcher = class {
|
|
|
6265
6265
|
try {
|
|
6266
6266
|
return await res.json();
|
|
6267
6267
|
} catch (error) {
|
|
6268
|
-
|
|
6268
|
+
try {
|
|
6269
|
+
return await res.text();
|
|
6270
|
+
} catch (e) {
|
|
6271
|
+
return {};
|
|
6272
|
+
}
|
|
6269
6273
|
}
|
|
6270
6274
|
} else {
|
|
6271
6275
|
let detail = res.statusText;
|