@abstractframework/monitor-gpu 0.1.2 → 0.1.6

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 +3 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -9,7 +9,7 @@ In AbstractFramework deployments, the default backend endpoint is AbstractGatewa
9
9
  ## Install
10
10
 
11
11
  - Workspace: add a dependency on `@abstractframework/monitor-gpu`
12
- - npm (once published): `npm i @abstractframework/monitor-gpu`
12
+ - npm: `npm i @abstractframework/monitor-gpu`
13
13
 
14
14
  ## Usage (Custom Element)
15
15
 
@@ -70,7 +70,8 @@ If `supported=false`, the widget shows `N/A`.
70
70
 
71
71
  ## Security notes
72
72
  - Do not pass tokens in URLs.
73
- - For cross-origin usage, ensure `ABSTRACTGATEWAY_ALLOWED_ORIGINS` includes your UI origin (and serve behind HTTPS in production).
73
+ - Prefer HTTPS in production.
74
+ - For cross-origin usage, configure your backend CORS policy to allow your UI origin and keep the endpoint protected (Bearer token or equivalent).
74
75
 
75
76
  ## Tests
76
77
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abstractframework/monitor-gpu",
3
- "version": "0.1.2",
3
+ "version": "0.1.6",
4
4
  "description": "Lightweight GPU utilization histogram widget for AbstractFramework clients (polls AbstractGateway host metrics with Bearer auth).",
5
5
  "type": "module",
6
6
  "author": "Laurent-Philippe Albou",