bruce-models 4.1.0 → 4.1.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.
@@ -296,8 +296,11 @@
296
296
  if (text && typeof text == "string") {
297
297
  text = text.trim();
298
298
  }
299
- if (text && text.startsWith("{") && text.endsWith("}")) {
300
- return JSON.parse(text);
299
+ if (text) {
300
+ if ((text.startsWith("{") && text.endsWith("}")) ||
301
+ (text.startsWith("[") && text.endsWith("]"))) {
302
+ return JSON.parse(text);
303
+ }
301
304
  }
302
305
  return text;
303
306
  });
@@ -11662,7 +11665,7 @@
11662
11665
  })(exports.DataSource || (exports.DataSource = {}));
11663
11666
 
11664
11667
  // This is updated with the package.json version on build.
11665
- const VERSION = "4.1.0";
11668
+ const VERSION = "4.1.1";
11666
11669
 
11667
11670
  exports.VERSION = VERSION;
11668
11671
  exports.AbstractApi = AbstractApi;