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.
- package/dist/bruce-models.es5.js +2 -5
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +2 -5
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/api/abstract-api.js +1 -4
- package/dist/lib/api/abstract-api.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/types/api/abstract-api.d.ts +0 -3
- package/dist/types/bruce-models.d.ts +1 -1
- package/package.json +1 -1
package/dist/bruce-models.es5.js
CHANGED
|
@@ -254,9 +254,6 @@ class CacheControl {
|
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
256
|
|
|
257
|
-
// TODO: Currently checks for CSV vs json specifically,
|
|
258
|
-
// Need to see if our api is generally good at setting content-type headers.
|
|
259
|
-
// Make it less specific to CSV.
|
|
260
257
|
function parseResult(data) {
|
|
261
258
|
var _a, _b;
|
|
262
259
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -282,7 +279,7 @@ function parseResult(data) {
|
|
|
282
279
|
if (!type) {
|
|
283
280
|
type = "";
|
|
284
281
|
}
|
|
285
|
-
if (type
|
|
282
|
+
if (type == "application/octet-stream" || type == "model/gltf-binary") {
|
|
286
283
|
return new Blob([text]);
|
|
287
284
|
}
|
|
288
285
|
else if (type.includes("text/csv")) {
|
|
@@ -11921,7 +11918,7 @@ var DataSource;
|
|
|
11921
11918
|
})(DataSource || (DataSource = {}));
|
|
11922
11919
|
|
|
11923
11920
|
// This is updated with the package.json version on build.
|
|
11924
|
-
const VERSION = "4.0.
|
|
11921
|
+
const VERSION = "4.0.9";
|
|
11925
11922
|
|
|
11926
11923
|
export { VERSION, AnnDocument, CustomForm, AbstractApi, Api, BruceApi, GlobalApi, GuardianApi, ApiGetters, Calculator, Bounds, BruceEvent, CacheControl, Camera, Cartes, Carto, Color, DelayQueue, Geometry, UTC, BruceVariable, LRUCache, EntityAttachmentType, EntityAttachment, EntityComment, EntityLink, EntityLod, EntityLodCategory, EntityRelationType, EntityRelation, EntitySource, EntityTag, EntityType, Entity, EntityCoords, EntityTypeVisualSettings, EntityAttribute, EntityHistoricData, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, ProjectViewLegacy, ProjectViewLegacyBookmark, PendingAction, MessageBroker, HostingLocation, Style, Tileset, Permission, Session, UserGroup, User, Account, AccountInvite, AccountFeatures, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, ImportCad, ImportCsv, ImportJson, ImportKml, ImportedFile, Markup, Uploader, Plugin, ENVIRONMENT, DataSource };
|
|
11927
11924
|
//# sourceMappingURL=bruce-models.es5.js.map
|