@uns-kit/api 3.0.4 → 3.0.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/README.md +5 -5
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
`@uns-kit/api` exposes Express-based HTTP endpoints for UNS deployments. The plugin attaches a `createApiProxy` method to `UnsProxyProcess`, handles JWT/JWKS access control, automatically publishes API metadata back into the Unified Namespace, and serves a Swagger UI for every registered endpoint.
|
|
4
4
|
|
|
5
|
-
Note: Apps built with uns-kit are intended to be managed by the **UNS
|
|
5
|
+
Note: Apps built with uns-kit are intended to be managed by the **UNS OpenHub controller**.
|
|
6
6
|
For the MQTT topic registry published by the API plugin, see `../../docs/uns-topics.md`.
|
|
7
7
|
|
|
8
8
|
## uns-kit in context
|
|
9
9
|
|
|
10
10
|
| Package | Description |
|
|
11
11
|
| --- | --- |
|
|
12
|
-
| [`@uns-kit/core`](https://github.com/uns-
|
|
13
|
-
| [`@uns-kit/api`](https://github.com/uns-
|
|
14
|
-
| [`@uns-kit/cron`](https://github.com/uns-
|
|
15
|
-
| [`@uns-kit/cli`](https://github.com/uns-
|
|
12
|
+
| [`@uns-kit/core`](https://github.com/uns-openhub/uns-kit/tree/main/packages/uns-core) | Base runtime (UnsProxyProcess, MQTT helpers, config tooling, gRPC gateway). |
|
|
13
|
+
| [`@uns-kit/api`](https://github.com/uns-openhub/uns-kit/tree/main/packages/uns-api) | Express plugin — HTTP endpoints, JWT/JWKS auth, Swagger, UNS metadata. |
|
|
14
|
+
| [`@uns-kit/cron`](https://github.com/uns-openhub/uns-kit/tree/main/packages/uns-cron) | Cron-driven scheduler that emits UNS events on a fixed cadence. |
|
|
15
|
+
| [`@uns-kit/cli`](https://github.com/uns-openhub/uns-kit/tree/main/packages/uns-cli) | CLI for scaffolding new UNS applications. |
|
|
16
16
|
|
|
17
17
|
## Installation
|
|
18
18
|
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uns-kit/api",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.6",
|
|
4
4
|
"description": "Express-powered API gateway plugin for UnsProxyProcess with JWT/JWKS support.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "Aljoša Vister <aljosa.vister@gmail.com>",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
|
-
"url": "https://github.com/uns-
|
|
10
|
+
"url": "https://github.com/uns-openhub/uns-kit.git",
|
|
11
11
|
"directory": "packages/uns-api"
|
|
12
12
|
},
|
|
13
13
|
"keywords": [
|
|
@@ -32,18 +32,18 @@
|
|
|
32
32
|
"types": "dist/index.d.ts",
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"cookie-parser": "^1.4.7",
|
|
35
|
-
"express": "^5.1
|
|
36
|
-
"jsonwebtoken": "^9.0.
|
|
37
|
-
"multer": "^2.0
|
|
38
|
-
"
|
|
39
|
-
"uuid": "^14.0.
|
|
40
|
-
"@uns-kit/core": "3.0.
|
|
35
|
+
"express": "^5.2.1",
|
|
36
|
+
"jsonwebtoken": "^9.0.3",
|
|
37
|
+
"multer": "^2.2.0",
|
|
38
|
+
"hyparquet-writer": "^0.16.5",
|
|
39
|
+
"uuid": "^14.0.1",
|
|
40
|
+
"@uns-kit/core": "3.0.6"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@types/cookie-parser": "^1.4.
|
|
44
|
-
"@types/express": "^5.0.
|
|
43
|
+
"@types/cookie-parser": "^1.4.10",
|
|
44
|
+
"@types/express": "^5.0.6",
|
|
45
45
|
"@types/jsonwebtoken": "^9.0.10",
|
|
46
|
-
"@types/multer": "^2.
|
|
46
|
+
"@types/multer": "^2.2.0"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|
|
49
49
|
"build": "tsc -p tsconfig.build.json",
|