map-gl-offline 0.8.6 → 0.8.7

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/index.js CHANGED
@@ -11388,7 +11388,7 @@ class PanelRenderer extends BaseComponent {
11388
11388
  try {
11389
11389
  const { loadStyleById } = await Promise.resolve().then(function () { return styleService; });
11390
11390
  const styleEntry = await loadStyleById(region.styleId);
11391
- accessToken = styleEntry?.accessToken;
11391
+ accessToken = styleEntry?.accessToken ?? undefined;
11392
11392
  }
11393
11393
  catch {
11394
11394
  panelLogger.warn('Could not retrieve access token from stored style');