@xh/hoist 73.0.0-SNAPSHOT.1745457790188 → 73.0.0-SNAPSHOT.1745618326968

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/CHANGELOG.md CHANGED
@@ -31,6 +31,8 @@ Requires `hoist-core >= 30.0` with new APIs to support the consolidated Admin Co
31
31
  the client remained on an older version.
32
32
  * Note that a misconfigured build - where the client build version is not set to the same value
33
33
  as the server - would result in a false positive for an upgrade. The two should always match.
34
+ * Calls to `Promise.track()` that are rejected with an exception will be tracked with new
35
+ severity level of `TrackSeverity.ERROR`
34
36
 
35
37
  ## v72.5.1 - 2025-04-15
36
38
 
@@ -165,7 +165,7 @@ export interface AppOptionSpec {
165
165
  /**
166
166
  * Severity levels for tracking. Default is 'INFO'.
167
167
  */
168
- export type TrackSeverity = 'DEBUG' | 'INFO' | 'WARN';
168
+ export type TrackSeverity = 'DEBUG' | 'INFO' | 'WARN' | 'ERROR';
169
169
  /**
170
170
  * Options for tracking activity on the server via TrackService.
171
171
  */
@@ -36,7 +36,7 @@ interface ActivityTrackingConfig {
36
36
  levels?: Array<{
37
37
  username: string | '*';
38
38
  category: string | '*';
39
- severity: 'DEBUG' | 'INFO' | 'WARN';
39
+ severity: 'DEBUG' | 'INFO' | 'WARN' | 'ERROR';
40
40
  }>;
41
41
  }
42
42
  export {};
@@ -207,7 +207,7 @@ export interface AppOptionSpec {
207
207
  /**
208
208
  * Severity levels for tracking. Default is 'INFO'.
209
209
  */
210
- export type TrackSeverity = 'DEBUG' | 'INFO' | 'WARN';
210
+ export type TrackSeverity = 'DEBUG' | 'INFO' | 'WARN' | 'ERROR';
211
211
 
212
212
  /**
213
213
  * Options for tracking activity on the server via TrackService.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xh/hoist",
3
- "version": "73.0.0-SNAPSHOT.1745457790188",
3
+ "version": "73.0.0-SNAPSHOT.1745618326968",
4
4
  "description": "Hoist add-on for building and deploying React Applications.",
5
5
  "repository": "github:xh/hoist-react",
6
6
  "homepage": "https://xh.io",
@@ -168,6 +168,6 @@ interface ActivityTrackingConfig {
168
168
  levels?: Array<{
169
169
  username: string | '*';
170
170
  category: string | '*';
171
- severity: 'DEBUG' | 'INFO' | 'WARN';
171
+ severity: 'DEBUG' | 'INFO' | 'WARN' | 'ERROR';
172
172
  }>;
173
173
  }