@smartspectra/node-sdk 3.3.0-rc.3 → 3.3.0-rc.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.
- package/NOTICE +24 -0
- package/README.md +7 -1
- package/THIRD_PARTY_NOTICES.txt +2365 -0
- package/js/constants.js +5 -0
- package/js/ffi.js +73 -10
- package/js/index.d.ts +5 -0
- package/js/messages/generated.d.ts +6 -0
- package/js/messages/generated.js +107 -48
- package/js/renderer/index.js +15 -14
- package/js/renderer/timestamp.js +56 -0
- package/js/smartspectra.js +5 -1
- package/package.json +10 -8
package/NOTICE
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
NOTICE
|
|
2
|
+
|
|
3
|
+
Node.js
|
|
4
|
+
|
|
5
|
+
This product includes software developed by third parties.
|
|
6
|
+
|
|
7
|
+
The following Apache-licensed components are included in this shipped artifact:
|
|
8
|
+
- Abseil
|
|
9
|
+
- CNCF xDS API
|
|
10
|
+
- Envoy data-plane-api
|
|
11
|
+
- FlatBuffers
|
|
12
|
+
- gemmlowp
|
|
13
|
+
- Google APIs
|
|
14
|
+
- gRPC
|
|
15
|
+
- HighwayHash
|
|
16
|
+
- KleidiAI
|
|
17
|
+
- Kompute
|
|
18
|
+
- MediaPipe
|
|
19
|
+
- ml_dtypes
|
|
20
|
+
- OpenCensus Proto
|
|
21
|
+
- OpenCV
|
|
22
|
+
- protoc-gen-validate
|
|
23
|
+
- ruy
|
|
24
|
+
- TensorFlow (TensorFlow Lite)
|
package/README.md
CHANGED
|
@@ -57,7 +57,7 @@ thread-safe trampolines.
|
|
|
57
57
|
|
|
58
58
|
| Requirement | Version |
|
|
59
59
|
| --- | --- |
|
|
60
|
-
| Node.js | >=
|
|
60
|
+
| Node.js | >= 20 (Node 24 LTS recommended) |
|
|
61
61
|
| Electron (optional) | >= 28 |
|
|
62
62
|
|
|
63
63
|
The native runtime ships in per-platform npm packages pulled in automatically
|
|
@@ -105,6 +105,10 @@ the missing package.
|
|
|
105
105
|
|
|
106
106
|
## Headless Node Quickstart
|
|
107
107
|
|
|
108
|
+
> The snippets below are ES modules (`import` + top-level `await`) — save them as `.mjs`, or
|
|
109
|
+
> set `"type": "module"` in your `package.json`. In a CommonJS project, use `require()` and
|
|
110
|
+
> wrap the `await` calls in an `async` function.
|
|
111
|
+
|
|
108
112
|
```ts
|
|
109
113
|
import {
|
|
110
114
|
SmartSpectraSDK, PixelFormat, FrameTransform, ProcessingStatus,
|
|
@@ -148,6 +152,8 @@ codes, and enums — lives in the [API reference](docs/api-reference.md),
|
|
|
148
152
|
generated from the SDK's bundled TypeScript declarations so it tracks the
|
|
149
153
|
published package. For which metrics to request and how to read the decoded
|
|
150
154
|
payloads, see the [metrics guide](docs/metrics.md).
|
|
155
|
+
For natural-language analysis of the measured vitals, see the
|
|
156
|
+
[LLM Insights guide](docs/llm-insights.md).
|
|
151
157
|
|
|
152
158
|
## Electron integration
|
|
153
159
|
|