@screenly/edge-apps 1.1.0 → 1.1.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.
Files changed (2) hide show
  1. package/README.md +6 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -97,6 +97,12 @@ signalReady()
97
97
  - `addUTMParams(url, params?)` - Add UTM parameters to URL
98
98
  - `addUTMParamsIf(url, enabled, params?)` - Conditionally add UTM parameters
99
99
 
100
+ ### Error Reporting (Sentry)
101
+
102
+ - `setupSentry(app, contexts?)` - Initialize Sentry using the `sentry_dsn` setting; sets the `edge_app` tag, hostname, and any additional contexts. No-ops if `sentry_dsn` is not configured.
103
+ - `scrubSensitiveData(event)` - Sentry `beforeSend` hook that redacts values of settings keys matching `token`, `secret`, `password`, or `credential` with `[REDACTED]`. Drops the event if it cannot be safely serialized.
104
+ - `reportError(error, context?)` - Capture an exception via Sentry with optional extra context.
105
+
100
106
  ## Web Components
101
107
 
102
108
  This library includes reusable web components for building consistent Edge Apps. See the [components documentation](https://github.com/Screenly/edge-apps-library/blob/main/docs/components.md) for usage details.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@screenly/edge-apps",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "A TypeScript library for interfacing with Screenly Edge Apps API",
5
5
  "type": "module",
6
6
  "sideEffects": ["**/*.css", "**/register.js", "**/buffer-shim.js"],