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.
@@ -291,8 +291,11 @@ function parseResult(data) {
291
291
  if (text && typeof text == "string") {
292
292
  text = text.trim();
293
293
  }
294
- if (text && text.startsWith("{") && text.endsWith("}")) {
295
- return JSON.parse(text);
294
+ if (text) {
295
+ if ((text.startsWith("{") && text.endsWith("}")) ||
296
+ (text.startsWith("[") && text.endsWith("]"))) {
297
+ return JSON.parse(text);
298
+ }
296
299
  }
297
300
  return text;
298
301
  });
@@ -11921,7 +11924,7 @@ var DataSource;
11921
11924
  })(DataSource || (DataSource = {}));
11922
11925
 
11923
11926
  // This is updated with the package.json version on build.
11924
- const VERSION = "4.1.0";
11927
+ const VERSION = "4.1.1";
11925
11928
 
11926
11929
  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
11930
  //# sourceMappingURL=bruce-models.es5.js.map