@classic-homes/maps-core 0.3.0 → 0.4.0

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.
@@ -145,6 +145,12 @@ interface MapErrorEventParams {
145
145
  source?: string;
146
146
  /** Original error object */
147
147
  error?: Error;
148
+ /**
149
+ * True when the error replaced the map with the error panel (it happened
150
+ * before the map first loaded). False for failures after load — a missing
151
+ * tile or sprite — where the map stays up.
152
+ */
153
+ fatal?: boolean;
148
154
  }
149
155
 
150
156
  /**
@@ -145,6 +145,12 @@ interface MapErrorEventParams {
145
145
  source?: string;
146
146
  /** Original error object */
147
147
  error?: Error;
148
+ /**
149
+ * True when the error replaced the map with the error panel (it happened
150
+ * before the map first loaded). False for failures after load — a missing
151
+ * tile or sprite — where the map stays up.
152
+ */
153
+ fatal?: boolean;
148
154
  }
149
155
 
150
156
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@classic-homes/maps-core",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Core utilities and theme for Classic Theme maps",
5
5
  "keywords": [
6
6
  "maps",