bruce-models 4.0.8 → 4.0.9

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.
@@ -259,9 +259,6 @@
259
259
  }
260
260
  }
261
261
 
262
- // TODO: Currently checks for CSV vs json specifically,
263
- // Need to see if our api is generally good at setting content-type headers.
264
- // Make it less specific to CSV.
265
262
  function parseResult(data) {
266
263
  var _a, _b;
267
264
  return __awaiter(this, void 0, void 0, function* () {
@@ -287,7 +284,7 @@
287
284
  if (!type) {
288
285
  type = "";
289
286
  }
290
- if (type.includes("application/octet-stream")) {
287
+ if (type == "application/octet-stream" || type == "model/gltf-binary") {
291
288
  return new Blob([text]);
292
289
  }
293
290
  else if (type.includes("text/csv")) {
@@ -11662,7 +11659,7 @@
11662
11659
  })(exports.DataSource || (exports.DataSource = {}));
11663
11660
 
11664
11661
  // This is updated with the package.json version on build.
11665
- const VERSION = "4.0.8";
11662
+ const VERSION = "4.0.9";
11666
11663
 
11667
11664
  exports.VERSION = VERSION;
11668
11665
  exports.AbstractApi = AbstractApi;