bruce-cesium 5.5.4 → 5.5.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.
@@ -24032,9 +24032,12 @@
24032
24032
  else if (settings.terrainType == "CesiumIon") {
24033
24033
  const ionId = settings.externalId;
24034
24034
  const key = settings.key ? settings.key : await findKey(params.apiGetter, params.apiGetter.accountId, BModels.ProgramKey.EProgramId.CesiumIon);
24035
- const resource = Cesium.IonResource.fromAssetId(Number(ionId), {
24035
+ const resource = await Cesium.IonResource.fromAssetId(Number(ionId), {
24036
24036
  accessToken: key
24037
24037
  });
24038
+ if (!assertIteration(params.viewer, iteration)) {
24039
+ return;
24040
+ }
24038
24041
  if (Cesium.CesiumTerrainProvider.hasOwnProperty("fromUrl")) {
24039
24042
  provider = await CESIUM.CesiumTerrainProvider.fromUrl(resource, {
24040
24043
  requestVertexNormals: vertexes
@@ -31121,7 +31124,7 @@
31121
31124
  }
31122
31125
  }
31123
31126
 
31124
- const VERSION = "5.5.4";
31127
+ const VERSION = "5.5.5";
31125
31128
 
31126
31129
  exports.VERSION = VERSION;
31127
31130
  exports.isHistoricMetadataChanged = isHistoricMetadataChanged;