@cyclomedia/streetsmart-api 24.5.1 → 24.5.2

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/esm/index.js CHANGED
@@ -369,7 +369,7 @@ function replaceDoubleSlashes(url) {
369
369
  return url.replace(/([^:]\/)\/+/g, '$1');
370
370
  }
371
371
  function getStaticBaseUrl() {
372
- return addTrailingSlash(replaceDoubleSlashes(`${"https://streetsmart.cyclomedia.com/api"}/v${formatVersionToMajorMinor("24.5.0")}`));
372
+ return addTrailingSlash(replaceDoubleSlashes(`${"https://streetsmart.cyclomedia.com/api"}/v${formatVersionToMajorMinor("24.5.1")}`));
373
373
  }
374
374
 
375
375
  const ViewerType = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyclomedia/streetsmart-api",
3
- "version": "24.5.1",
3
+ "version": "24.5.2",
4
4
  "description": "The Streetsmart API wrapped as an npm package",
5
5
  "scripts": {
6
6
  "build:prod": "scripts/build.prod.sh",
@@ -242,9 +242,8 @@ declare module '@cyclomedia/streetsmart-api' {
242
242
 
243
243
  /**
244
244
  * Toggles the visibility of the compass in the PanoramaViewer.
245
- * @param {boolean} [visible]
246
245
  */
247
- toggleCompass(visible?: boolean): void;
246
+ toggleCompass(): void;
248
247
 
249
248
  /**
250
249
  * Toggles the visibility of the Attribute information panel, deciding if it should be shown on clicking on a feature.