@getvision/server 0.2.4 → 0.2.7-d4ccf5d-develop
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/CHANGELOG.md +14 -0
- package/package.json +2 -2
- package/src/vision-app.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @getvision/server
|
|
2
2
|
|
|
3
|
+
## 0.2.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [96f97ad]
|
|
8
|
+
- @getvision/core@0.0.7
|
|
9
|
+
|
|
10
|
+
## 0.2.5
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [633a138]
|
|
15
|
+
- @getvision/core@0.0.6
|
|
16
|
+
|
|
3
17
|
## 0.2.4
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getvision/server",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.7-d4ccf5d-develop",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Vision Server - Meta-framework with built-in observability, pub/sub, and type-safe APIs",
|
|
6
6
|
"exports": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@getvision/core": "0.0.
|
|
16
|
+
"@getvision/core": "0.0.7",
|
|
17
17
|
"@hono/node-server": "^1.19.6",
|
|
18
18
|
"bullmq": "^5.62.0",
|
|
19
19
|
"hono-rate-limiter": "^0.4.2",
|
package/src/vision-app.ts
CHANGED
|
@@ -61,6 +61,7 @@ export interface VisionConfig {
|
|
|
61
61
|
maxTraces?: number
|
|
62
62
|
maxLogs?: number
|
|
63
63
|
logging?: boolean
|
|
64
|
+
apiUrl?: string // URL of the API server (for frontend to make HTTP requests)
|
|
64
65
|
}
|
|
65
66
|
routes?: {
|
|
66
67
|
autodiscover?: boolean
|
|
@@ -140,6 +141,7 @@ export class Vision<
|
|
|
140
141
|
port: visionPort,
|
|
141
142
|
maxTraces: this.config.vision?.maxTraces ?? 1000,
|
|
142
143
|
maxLogs: this.config.vision?.maxLogs ?? 10000,
|
|
144
|
+
apiUrl: this.config.vision?.apiUrl,
|
|
143
145
|
})
|
|
144
146
|
|
|
145
147
|
// Detect and optionally start Drizzle Studio
|