@getvision/server 0.2.4 → 0.2.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/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @getvision/server
2
2
 
3
+ ## 0.2.7
4
+
5
+ ### Patch Changes
6
+
7
+ - d4ccf5d: Expose `apiUrl` in adapter and server options and pass it to VisionCore so the dashboard can target the backend API.
8
+
9
+ ## 0.2.6
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [96f97ad]
14
+ - @getvision/core@0.0.7
15
+
16
+ ## 0.2.5
17
+
18
+ ### Patch Changes
19
+
20
+ - Updated dependencies [633a138]
21
+ - @getvision/core@0.0.6
22
+
3
23
  ## 0.2.4
4
24
 
5
25
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getvision/server",
3
- "version": "0.2.4",
3
+ "version": "0.2.7",
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.5",
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