@getvision/adapter-express 0.0.0 → 0.0.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,46 @@
1
1
  # @getvision/adapter-express
2
2
 
3
+ ## 0.0.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.0.6
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [96f97ad]
14
+ - @getvision/core@0.0.7
15
+
16
+ ## 0.0.5
17
+
18
+ ### Patch Changes
19
+
20
+ - Updated dependencies [633a138]
21
+ - @getvision/core@0.0.6
22
+
23
+ ## 0.0.4
24
+
25
+ ### Patch Changes
26
+
27
+ - Updated dependencies [d227b1d]
28
+ - @getvision/core@0.0.5
29
+
30
+ ## 0.0.3
31
+
32
+ ### Patch Changes
33
+
34
+ - Updated dependencies [a88ad97]
35
+ - @getvision/core@0.0.4
36
+
37
+ ## 0.0.2
38
+
39
+ ### Patch Changes
40
+
41
+ - Updated dependencies [ae8b128]
42
+ - @getvision/core@0.0.2
43
+
3
44
  ## 0.0.0
4
45
 
5
46
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAC3E,OAAO,EACL,UAAU,EAGX,MAAM,iBAAiB,CAAA;AACxB,OAAO,KAAK,EAAiB,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAK7F,UAAU,aAAa;IACrB,MAAM,EAAE,UAAU,CAAA;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;CACnB;AAID;;;;;;;;;;;GAWG;AACH,wBAAgB,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K,EACpC,IAAI,MAAM,CAAC,KACV,CAAC,CAqCL;AAMD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,GAAE,oBAAyB,SAIlD,OAAO,OAAO,QAAQ,QAAQ,YAAY,UA+L1D;AAuFD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,WAAW,EAAE,OAAO,CAAC,EAAE;IAAE,QAAQ,CAAC,EAAE,iBAAiB,EAAE,CAAA;CAAE,GAAG,IAAI,CA+FxG;AAED;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,UAAU,GAAG,IAAI,CAErD;AAGD,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA"}
package/dist/index.js CHANGED
@@ -102,6 +102,7 @@ export function visionMiddleware(options = {}) {
102
102
  port: options.port ?? parseInt(process.env.VISION_PORT || '9500'),
103
103
  maxTraces: options.maxTraces ?? 1000,
104
104
  maxLogs: options.maxLogs ?? 10000,
105
+ apiUrl: options.apiUrl,
105
106
  });
106
107
  // Auto-detect service info
107
108
  const pkgInfo = autoDetectPackageInfo();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getvision/adapter-express",
3
- "version": "0.0.0",
3
+ "version": "0.0.7",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./src/index.ts"
@@ -12,15 +12,15 @@
12
12
  },
13
13
  "license": "MIT",
14
14
  "dependencies": {
15
- "@getvision/core": "0.0.1",
15
+ "@getvision/core": "0.0.7",
16
16
  "zod": "^4.1.11"
17
17
  },
18
18
  "peerDependencies": {
19
19
  "express": "^5.0.0"
20
20
  },
21
21
  "devDependencies": {
22
- "@repo/eslint-config": "0.0.0",
23
- "@repo/typescript-config": "0.0.0",
22
+ "@repo/eslint-config": "0.0.1",
23
+ "@repo/typescript-config": "0.0.1",
24
24
  "@types/express": "^5.0.0",
25
25
  "@types/node": "^20.14.9",
26
26
  "express": "^5.1.0",
package/src/index.ts CHANGED
@@ -137,6 +137,7 @@ export function visionMiddleware(options: VisionExpressOptions = {}) {
137
137
  port: options.port ?? parseInt(process.env.VISION_PORT || '9500'),
138
138
  maxTraces: options.maxTraces ?? 1000,
139
139
  maxLogs: options.maxLogs ?? 10000,
140
+ apiUrl: options.apiUrl,
140
141
  })
141
142
 
142
143
  // Auto-detect service info