@screenly/edge-apps 1.1.0 → 1.1.2
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/README.md +6 -0
- package/package.json +15 -5
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,9 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@screenly/edge-apps",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "A TypeScript library for interfacing with Screenly Edge Apps API",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"sideEffects": [
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.css",
|
|
8
|
+
"**/register.js",
|
|
9
|
+
"**/buffer-shim.js",
|
|
10
|
+
"**/components/**"
|
|
11
|
+
],
|
|
7
12
|
"engines": {
|
|
8
13
|
"node": ">=20.6.0"
|
|
9
14
|
},
|
|
@@ -103,7 +108,7 @@
|
|
|
103
108
|
"tailwindcss": "^4.2.1",
|
|
104
109
|
"typescript": "^5.9.3",
|
|
105
110
|
"typescript-eslint": "^8.57.0",
|
|
106
|
-
"vite": "^
|
|
111
|
+
"vite": "^8.1.2",
|
|
107
112
|
"yaml": "^2.8.2"
|
|
108
113
|
},
|
|
109
114
|
"peerDependencies": {
|
|
@@ -118,9 +123,14 @@
|
|
|
118
123
|
"@types/jsdom": "^28.0.0",
|
|
119
124
|
"@types/node": "^25.4.0",
|
|
120
125
|
"@types/sharp": "^0.32.0",
|
|
121
|
-
"@vitest/coverage-v8": "^
|
|
126
|
+
"@vitest/coverage-v8": "^4.1.9",
|
|
122
127
|
"globals": "^13.24.0",
|
|
123
128
|
"prettier": "^3.8.1",
|
|
124
|
-
"vitest": "^
|
|
129
|
+
"vitest": "^4.1.9"
|
|
130
|
+
},
|
|
131
|
+
"overrides": {
|
|
132
|
+
"@jsheaven/easybuild": {
|
|
133
|
+
"esbuild": "0.25.12"
|
|
134
|
+
}
|
|
125
135
|
}
|
|
126
136
|
}
|