@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.iife.js CHANGED
@@ -6241,7 +6241,11 @@ var MagicLabs = (() => {
6241
6241
  try {
6242
6242
  return await res.json();
6243
6243
  } catch (error) {
6244
- return {};
6244
+ try {
6245
+ return await res.text();
6246
+ } catch (e) {
6247
+ return {};
6248
+ }
6245
6249
  }
6246
6250
  } else {
6247
6251
  let detail = res.statusText;