@wtfalch/reporting 0.4.0 → 0.4.1

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.d.ts CHANGED
@@ -8,6 +8,7 @@ export * from './analytics/schema.js';
8
8
  export { createCollector, type CollectorOptions, type Sites } from './analytics/collector.js';
9
9
  export { analyticsRecent, analyticsSeries, analyticsWeekly, hideSmallGroups, type Grain, type RecentEvent, type RecentOptions, type SeriesOptions, type SeriesPoint, type WeeklyPoint, } from './analytics/reader.js';
10
10
  export type { AnalyticsRow } from './analytics/write.js';
11
+ export { errorsPage } from './errors/reader.js';
11
12
  /**
12
13
  * The host's one instance, built once over its drizzle handle and its
13
14
  * logger. Framework-neutral: `defer` is how the host says "after this unit of
package/dist/index.js CHANGED
@@ -16,6 +16,9 @@ export { CONSENT_MODES, DEFAULT_SETTINGS, RETENTION_BOUNDS } from './settings.js
16
16
  export * from './analytics/schema.js';
17
17
  export { createCollector } from './analytics/collector.js';
18
18
  export { analyticsRecent, analyticsSeries, analyticsWeekly, hideSmallGroups, } from './analytics/reader.js';
19
+ // The error-group list, for a host's triage page: filters, keyset paging and
20
+ // `search` over message and stack. No permission is applied; the host gates.
21
+ export { errorsPage } from './errors/reader.js';
19
22
  function modeFromEnv() {
20
23
  const env = process.env.NODE_ENV;
21
24
  return env === 'development' || env === 'test' ? env : 'production';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wtfalch/reporting",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "The estate's operational event log and housekeeping tick: a writer that never fails a request, a claim protocol that needs no scheduler, and the readers an operator opens. Per-app Postgres, host-supplied logger, framework-neutral core with a Next entry.",
5
5
  "repository": {
6
6
  "type": "git",