@abstractframework/monitor-gpu 0.1.0 → 0.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.
Files changed (2) hide show
  1. package/README.md +6 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @abstractutils/monitor-gpu
1
+ # @abstractframework/monitor-gpu
2
2
 
3
3
  Small, dependency-free GPU utilization widget that renders a mini histogram and polls a secured backend endpoint.
4
4
 
@@ -8,13 +8,13 @@ In AbstractFramework deployments, the default backend endpoint is AbstractGatewa
8
8
 
9
9
  ## Install
10
10
 
11
- - Workspace: add a dependency on `@abstractutils/monitor-gpu`
12
- - npm (once published): `npm i @abstractutils/monitor-gpu`
11
+ - Workspace: add a dependency on `@abstractframework/monitor-gpu`
12
+ - npm (once published): `npm i @abstractframework/monitor-gpu`
13
13
 
14
14
  ## Usage (Custom Element)
15
15
 
16
16
  ```js
17
- import { registerMonitorGpuWidget } from "@abstractutils/monitor-gpu";
17
+ import { registerMonitorGpuWidget } from "@abstractframework/monitor-gpu";
18
18
 
19
19
  registerMonitorGpuWidget(); // defines <monitor-gpu>
20
20
 
@@ -36,7 +36,7 @@ You can also set the non-secret options via attributes:
36
36
  ## Usage (Imperative helper)
37
37
 
38
38
  ```js
39
- import { createMonitorGpuWidget } from "@abstractutils/monitor-gpu";
39
+ import { createMonitorGpuWidget } from "@abstractframework/monitor-gpu";
40
40
 
41
41
  const widget = createMonitorGpuWidget(document.querySelector("#gpu"), {
42
42
  baseUrl: "http://localhost:8080",
@@ -82,4 +82,5 @@ npm test
82
82
  ## Related docs
83
83
 
84
84
  - Getting started: [`docs/getting-started.md`](../docs/getting-started.md)
85
+ - API reference: [`docs/api.md`](../docs/api.md)
85
86
  - Architecture: [`docs/architecture.md`](../docs/architecture.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abstractframework/monitor-gpu",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
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",