@getvision/adapter-fastify 0.0.0-develop-20251031183955 → 0.0.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 +45 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/package.json +2 -2
- package/src/index.ts +2 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# @getvision/adapter-fastify
|
|
2
|
+
|
|
3
|
+
## 0.0.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [96f97ad]
|
|
8
|
+
- @getvision/core@0.0.7
|
|
9
|
+
|
|
10
|
+
## 0.0.5
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [633a138]
|
|
15
|
+
- @getvision/core@0.0.6
|
|
16
|
+
|
|
17
|
+
## 0.0.4
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies [d227b1d]
|
|
22
|
+
- @getvision/core@0.0.5
|
|
23
|
+
|
|
24
|
+
## 0.0.3
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- Updated dependencies [a88ad97]
|
|
29
|
+
- @getvision/core@0.0.4
|
|
30
|
+
|
|
31
|
+
## 0.0.2
|
|
32
|
+
|
|
33
|
+
### Patch Changes
|
|
34
|
+
|
|
35
|
+
- Updated dependencies [ae8b128]
|
|
36
|
+
- @getvision/core@0.0.2
|
|
37
|
+
|
|
38
|
+
## 0.0.0
|
|
39
|
+
|
|
40
|
+
### Patch Changes
|
|
41
|
+
|
|
42
|
+
- 368618d: Initial release
|
|
43
|
+
- Updated dependencies [368618d]
|
|
44
|
+
- Updated dependencies [092c5c4]
|
|
45
|
+
- @getvision/core@0.0.0
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAElE,OAAO,EACL,UAAU,EAMX,MAAM,iBAAiB,CAAA;AACxB,OAAO,KAAK,EAIV,KAAK,EACL,oBAAoB,EACpB,iBAAiB,EAClB,MAAM,iBAAiB,CAAA;AAGxB,UAAU,aAAa;IACrB,MAAM,EAAE,UAAU,CAAA;IAClB,KAAK,EAAE,KAAK,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,gBAAgB,IAAI,aAAa,CAMhD;AAED,wBAAgB,aAAa,KAInB,CAAC,EACP,MAAM,MAAM,EACZ,YAAY,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,YAAK,EACpC,IAAI,MAAM,CAAC,KACV,CAAC,CAgCL;AAKD,wBAAgB,iBAAiB,IAAI,UAAU,GAAG,IAAI,CAErD;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAElE,OAAO,EACL,UAAU,EAMX,MAAM,iBAAiB,CAAA;AACxB,OAAO,KAAK,EAIV,KAAK,EACL,oBAAoB,EACpB,iBAAiB,EAClB,MAAM,iBAAiB,CAAA;AAGxB,UAAU,aAAa;IACrB,MAAM,EAAE,UAAU,CAAA;IAClB,KAAK,EAAE,KAAK,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,gBAAgB,IAAI,aAAa,CAMhD;AAED,wBAAgB,aAAa,KAInB,CAAC,EACP,MAAM,MAAM,EACZ,YAAY,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,YAAK,EACpC,IAAI,MAAM,CAAC,KACV,CAAC,CAgCL;AAKD,wBAAgB,iBAAiB,IAAI,UAAU,GAAG,IAAI,CAErD;AA6OD,eAAO,MAAM,YAAY,0CAGvB,CAAA;AAEF,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,eAAe,EACxB,OAAO,CAAC,EAAE;IAAE,QAAQ,CAAC,EAAE,iBAAiB,EAAE,CAAA;CAAE,GAC3C,IAAI,CAgEN;AAmGD,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -40,7 +40,7 @@ export function getVisionInstance() {
|
|
|
40
40
|
return visionInstance;
|
|
41
41
|
}
|
|
42
42
|
const visionPluginImpl = async (fastify, options) => {
|
|
43
|
-
const { port = 9500, enabled = true, maxTraces = 1000, maxLogs = 10000, logging = true, cors = true, } = options;
|
|
43
|
+
const { port = 9500, enabled = true, maxTraces = 1000, maxLogs = 10000, logging = true, cors = true, apiUrl } = options;
|
|
44
44
|
if (!enabled) {
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
@@ -49,6 +49,7 @@ const visionPluginImpl = async (fastify, options) => {
|
|
|
49
49
|
port,
|
|
50
50
|
maxTraces,
|
|
51
51
|
maxLogs,
|
|
52
|
+
apiUrl
|
|
52
53
|
});
|
|
53
54
|
}
|
|
54
55
|
const vision = visionInstance;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getvision/adapter-fastify",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7-d4ccf5d-develop",
|
|
4
4
|
"description": "Fastify adapter for Vision Dashboard",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.ts",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@fastify/request-context": "^6.2.1",
|
|
28
28
|
"fastify-plugin": "^5.1.0",
|
|
29
|
-
"@getvision/core": "0.0.
|
|
29
|
+
"@getvision/core": "0.0.7"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"fastify": "^5.6.1",
|
package/src/index.ts
CHANGED
|
@@ -90,6 +90,7 @@ const visionPluginImpl: FastifyPluginAsync<VisionFastifyOptions> = async (fastif
|
|
|
90
90
|
maxLogs = 10000,
|
|
91
91
|
logging = true,
|
|
92
92
|
cors = true,
|
|
93
|
+
apiUrl
|
|
93
94
|
} = options
|
|
94
95
|
|
|
95
96
|
if (!enabled) {
|
|
@@ -101,6 +102,7 @@ const visionPluginImpl: FastifyPluginAsync<VisionFastifyOptions> = async (fastif
|
|
|
101
102
|
port,
|
|
102
103
|
maxTraces,
|
|
103
104
|
maxLogs,
|
|
105
|
+
apiUrl
|
|
104
106
|
})
|
|
105
107
|
}
|
|
106
108
|
|