@smartspectra/node-sdk 3.3.0-rc.6 → 3.3.0-rc.7
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 +5 -0
- package/js/constants.js +1 -0
- package/js/index.d.ts +1 -0
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -60,6 +60,11 @@ thread-safe trampolines.
|
|
|
60
60
|
| Node.js | >= 20 (Node 24 LTS recommended) |
|
|
61
61
|
| Electron (optional) | >= 28 |
|
|
62
62
|
|
|
63
|
+
You also need an API key from
|
|
64
|
+
[physiology.presagetech.com](https://physiology.presagetech.com/auth/login). An AI assistant
|
|
65
|
+
connected to the [SmartSpectra MCP Server](../docs/mcp-server.md) can fetch it from your account
|
|
66
|
+
for you.
|
|
67
|
+
|
|
63
68
|
The native runtime ships in per-platform npm packages pulled in automatically
|
|
64
69
|
as dependencies — no install script and no system libraries to install.
|
|
65
70
|
|
package/js/constants.js
CHANGED
package/js/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartspectra/node-sdk",
|
|
3
|
-
"version": "3.3.0-rc.
|
|
3
|
+
"version": "3.3.0-rc.7",
|
|
4
4
|
"description": "Node.js (Electron) FFI binding for SmartSpectra vitals measurement",
|
|
5
5
|
"author": "Presage Technologies, Inc.",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"scripts": {
|
|
41
41
|
"prepare": "node scripts/gen-proto.cjs",
|
|
42
42
|
"build:proto": "node scripts/gen-proto.cjs",
|
|
43
|
-
"test": "node test/log-level-pin.js
|
|
43
|
+
"test": "node --test test/log-level-pin.js test/renderer-timestamp.js test/smoke.js",
|
|
44
44
|
"test:models-allowlist": "node test/models-allowlist.js"
|
|
45
45
|
},
|
|
46
46
|
"keywords": [
|
|
@@ -69,18 +69,18 @@
|
|
|
69
69
|
"_nativeRuntime_doc": "Per-platform native packages (@smartspectra/node-sdk-<plat>-<arch>) are injected into dependencies at publish time (absent here so source installs don't fetch them). Why hard deps, not optionalDependencies: see js/resolve-native.js.",
|
|
70
70
|
"dependencies": {
|
|
71
71
|
"koffi": "^2.10.0",
|
|
72
|
-
"protobufjs": "^7.5
|
|
73
|
-
"@smartspectra/node-sdk-linux-x64": "3.3.0-rc.
|
|
74
|
-
"@smartspectra/node-sdk-linux-arm64": "3.3.0-rc.
|
|
75
|
-
"@smartspectra/node-sdk-darwin-arm64": "3.3.0-rc.
|
|
76
|
-
"@smartspectra/node-sdk-win32-x64": "3.3.0-rc.
|
|
72
|
+
"protobufjs": "^7.6.5",
|
|
73
|
+
"@smartspectra/node-sdk-linux-x64": "3.3.0-rc.7",
|
|
74
|
+
"@smartspectra/node-sdk-linux-arm64": "3.3.0-rc.7",
|
|
75
|
+
"@smartspectra/node-sdk-darwin-arm64": "3.3.0-rc.7",
|
|
76
|
+
"@smartspectra/node-sdk-win32-x64": "3.3.0-rc.7"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@types/node": "^24.0.0",
|
|
80
80
|
"protobufjs-cli": "^1.1.3"
|
|
81
81
|
},
|
|
82
|
-
"_overrides_doc": "tmp is pulled in transitively (protobufjs-cli → tmp) as a build-only devDependency; it is never a runtime dependency and is not shipped to consumers (the published tarball ships js/ + prebuilds only, no node_modules). Pinned to an exact version (not a >= range) to clear GHSA-ph9p-34f9-6g65 (path traversal, affects tmp <0.2.6) AND to keep installs deterministic — an open range would let a future install pull a brand-new, not-yet-vetted release. Bump deliberately. Drop this once protobufjs-cli ships a release whose tmp range is already >=0.2.
|
|
82
|
+
"_overrides_doc": "tmp is pulled in transitively (protobufjs-cli → tmp) as a build-only devDependency; it is never a runtime dependency and is not shipped to consumers (the published tarball ships js/ + prebuilds only, no node_modules). Pinned to an exact version (not a >= range) to clear GHSA-ph9p-34f9-6g65 (path traversal, affects tmp <0.2.6) and GHSA-7c78-jf6q-g5cm (type-confusion bypass of the 0.2.6 _assertPath guard, affects tmp >=0.2.6) AND to keep installs deterministic — an open range would let a future install pull a brand-new, not-yet-vetted release. Bump deliberately. Drop this once protobufjs-cli ships a release whose tmp range is already >=0.2.7.",
|
|
83
83
|
"overrides": {
|
|
84
|
-
"tmp": "0.2.
|
|
84
|
+
"tmp": "0.2.7"
|
|
85
85
|
}
|
|
86
86
|
}
|