That’s most likely due to an API change in version 1.107.
The tileset has to be created with await...fromUrl
, roughly like this:
viewer.scene.primitives.add(await Cesium.Cesium3DTileset.fromUrl(
"https://customDomain.com/tileset.json"));
For details, refer to CesiumJS Ready Promise Deprecation / API Changes