bruce-models 3.3.4 → 3.3.5
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 +16 -1
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +16 -1
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/api/bruce-api.js +15 -0
- package/dist/lib/api/bruce-api.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/types/api/bruce-api.d.ts +6 -0
- package/dist/types/bruce-models.d.ts +1 -1
- package/package.json +1 -1
package/dist/bruce-models.es5.js
CHANGED
|
@@ -1433,6 +1433,21 @@ var BruceApi;
|
|
|
1433
1433
|
}
|
|
1434
1434
|
});
|
|
1435
1435
|
}
|
|
1436
|
+
/**
|
|
1437
|
+
* Creates a message broker instance and returns it.
|
|
1438
|
+
* If an instance is already created, it will return that one.
|
|
1439
|
+
* @warning This will await the loading promise to avoid using data that isn't ready.
|
|
1440
|
+
*/
|
|
1441
|
+
ConnectWebsocket() {
|
|
1442
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1443
|
+
yield this.loadProm;
|
|
1444
|
+
if (this.messageBroker) {
|
|
1445
|
+
return this.messageBroker;
|
|
1446
|
+
}
|
|
1447
|
+
this.messageBroker = new MessageBroker.WebSocketBroker(this.baseUrl, this.env);
|
|
1448
|
+
return this.messageBroker;
|
|
1449
|
+
});
|
|
1450
|
+
}
|
|
1436
1451
|
/**
|
|
1437
1452
|
* Warning: This method does not wait for init to finish loading.
|
|
1438
1453
|
* This means the url could be changed once fully initialized.
|
|
@@ -10685,7 +10700,7 @@ var DataSource;
|
|
|
10685
10700
|
DataSource.GetList = GetList;
|
|
10686
10701
|
})(DataSource || (DataSource = {}));
|
|
10687
10702
|
|
|
10688
|
-
const VERSION = "3.3.
|
|
10703
|
+
const VERSION = "3.3.5";
|
|
10689
10704
|
|
|
10690
10705
|
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, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, ProjectViewLegacy, ProjectViewLegacyBookmark, PendingAction, MessageBroker, HostingLocation, Style, Tileset, Permission, Session, UserGroup, User, Account, AccountInvite, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, ImportCad, ImportCsv, ImportJson, ImportKml, ImportedFile, Markup, Uploader, Plugin, ENVIRONMENT, DataSource };
|
|
10691
10706
|
//# sourceMappingURL=bruce-models.es5.js.map
|