@driveflux/config 1.6.7 → 1.7.1
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/dist/frontend.js +10 -2
- package/package.json +3 -3
package/dist/frontend.js
CHANGED
|
@@ -38,7 +38,11 @@ export var ConfigValidation = z.object({
|
|
|
38
38
|
glitchTip: z.object({
|
|
39
39
|
dsn: z.string().optional()
|
|
40
40
|
}),
|
|
41
|
-
sentryAuthToken: z.string().optional()
|
|
41
|
+
sentryAuthToken: z.string().optional(),
|
|
42
|
+
postHog: z.object({
|
|
43
|
+
apiKey: z.string(),
|
|
44
|
+
apiHost: z.string().optional()
|
|
45
|
+
})
|
|
42
46
|
});
|
|
43
47
|
/**
|
|
44
48
|
* Do not use this function, use the config object directly
|
|
@@ -83,7 +87,11 @@ export var ConfigValidation = z.object({
|
|
|
83
87
|
glitchTip: {
|
|
84
88
|
dsn: process.env.GLITCHTIP_DSN
|
|
85
89
|
},
|
|
86
|
-
sentryAuthToken: process.env.SENTRY_AUTH_TOKEN
|
|
90
|
+
sentryAuthToken: process.env.SENTRY_AUTH_TOKEN,
|
|
91
|
+
postHog: {
|
|
92
|
+
apiKey: process.env.NEXT_PUBLIC_POSTHOG_KEY,
|
|
93
|
+
apiHost: process.env.NEXT_PUBLIC_POSTHOG_HOST
|
|
94
|
+
}
|
|
87
95
|
};
|
|
88
96
|
};
|
|
89
97
|
export var resetConfig = function() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@driveflux/config",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./backend": {
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
"dist"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@driveflux/singleton": "1.
|
|
23
|
+
"@driveflux/singleton": "1.6.0",
|
|
24
24
|
"zod": "^3.23.8"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@driveflux/fab": "2.
|
|
27
|
+
"@driveflux/fab": "2.4.0",
|
|
28
28
|
"@driveflux/tsconfig": "1.3.0",
|
|
29
29
|
"@swc/cli": "0.4.1-nightly.20240914",
|
|
30
30
|
"@swc/core": "1.7.39",
|