@driveflux/config 1.6.0 → 1.6.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/backend.d.ts CHANGED
@@ -383,6 +383,13 @@ export declare const ConfigValidation: z.ZodObject<{
383
383
  token: string;
384
384
  url: string;
385
385
  }>;
386
+ glitchTip: z.ZodObject<{
387
+ dsn: z.ZodOptional<z.ZodString>;
388
+ }, "strip", z.ZodTypeAny, {
389
+ dsn?: string | undefined;
390
+ }, {
391
+ dsn?: string | undefined;
392
+ }>;
386
393
  sentryAuthToken: z.ZodOptional<z.ZodString>;
387
394
  sendSMSOutsideOfProd: z.ZodOptional<z.ZodBoolean>;
388
395
  vercel: z.ZodOptional<z.ZodObject<{
@@ -513,6 +520,9 @@ export declare const ConfigValidation: z.ZodObject<{
513
520
  token: string;
514
521
  url: string;
515
522
  };
523
+ glitchTip: {
524
+ dsn?: string | undefined;
525
+ };
516
526
  appEnv?: string | undefined;
517
527
  tunnelUrl?: string | undefined;
518
528
  twilio?: {
@@ -647,6 +657,9 @@ export declare const ConfigValidation: z.ZodObject<{
647
657
  token: string;
648
658
  url: string;
649
659
  };
660
+ glitchTip: {
661
+ dsn?: string | undefined;
662
+ };
650
663
  appEnv?: string | undefined;
651
664
  tunnelUrl?: string | undefined;
652
665
  twilio?: {
@@ -782,6 +795,9 @@ export declare const resetConfig: () => {
782
795
  token: string;
783
796
  url: string;
784
797
  };
798
+ glitchTip: {
799
+ dsn?: string | undefined;
800
+ };
785
801
  appEnv?: string | undefined;
786
802
  tunnelUrl?: string | undefined;
787
803
  twilio?: {
@@ -1 +1 @@
1
- {"version":3,"file":"backend.d.ts","sourceRoot":"","sources":["../src/backend.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,CAAC,MAAM,CAAC;IACd,IAAI,qBAAqB,EAAE,MAAM,CAAA;CACjC;AAED,MAAM,MAAM,MAAM,GA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIvB,CAAA;AAED,eAAO,IAAI,MAAM,EAAE,MAAgD,CAAA;AAEnE,eAAO,MAAM,SAAS,GAAI,GAAG,SAAS,MAAM,MAAM,OAC5C,GAAG,SACD,MAAM,CAAC,GAAG,CAAC,SAGlB,CAAA"}
package/dist/backend.js CHANGED
@@ -143,6 +143,9 @@ export var ConfigValidation = z.object({
143
143
  token: z.string(),
144
144
  apiUrl: z.string()
145
145
  }),
146
+ glitchTip: z.object({
147
+ dsn: z.string().optional()
148
+ }),
146
149
  sentryAuthToken: z.string().optional(),
147
150
  sendSMSOutsideOfProd: z.boolean().optional(),
148
151
  vercel: z.object({
@@ -287,7 +290,10 @@ var getConfig = function() {
287
290
  token: process.env.KV_REST_API_TOKEN,
288
291
  apiUrl: process.env.KV_REST_API_URL
289
292
  },
290
- sentryAuthToken: process.env.SENTRY_AUTH_TOKEN
293
+ sentryAuthToken: process.env.SENTRY_AUTH_TOKEN,
294
+ glitchTip: {
295
+ dsn: process.env.GLITCHTIP_DSN
296
+ }
291
297
  };
292
298
  };
293
299
  export var resetConfig = function() {
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "commonjs"
3
+ }
@@ -66,6 +66,13 @@ export declare const ConfigValidation: z.ZodObject<{
66
66
  token: string;
67
67
  url: string;
68
68
  }>;
69
+ glitchTip: z.ZodObject<{
70
+ dsn: z.ZodOptional<z.ZodString>;
71
+ }, "strip", z.ZodTypeAny, {
72
+ dsn?: string | undefined;
73
+ }, {
74
+ dsn?: string | undefined;
75
+ }>;
69
76
  sentryAuthToken: z.ZodOptional<z.ZodString>;
70
77
  }, "strip", z.ZodTypeAny, {
71
78
  appUrl: string;
@@ -94,6 +101,9 @@ export declare const ConfigValidation: z.ZodObject<{
94
101
  token: string;
95
102
  url: string;
96
103
  };
104
+ glitchTip: {
105
+ dsn?: string | undefined;
106
+ };
97
107
  taxRate: number;
98
108
  currency: string;
99
109
  metaPixelId: string;
@@ -128,6 +138,9 @@ export declare const ConfigValidation: z.ZodObject<{
128
138
  token: string;
129
139
  url: string;
130
140
  };
141
+ glitchTip: {
142
+ dsn?: string | undefined;
143
+ };
131
144
  taxRate: number;
132
145
  currency: string;
133
146
  metaPixelId: string;
@@ -163,6 +176,9 @@ export declare const resetConfig: () => {
163
176
  token: string;
164
177
  url: string;
165
178
  };
179
+ glitchTip: {
180
+ dsn?: string | undefined;
181
+ };
166
182
  taxRate: number;
167
183
  currency: string;
168
184
  metaPixelId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"frontend.d.ts","sourceRoot":"","sources":["../src/frontend.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,CAAC,MAAM,CAAC;IACd,IAAI,sBAAsB,EAAE,MAAM,CAAA;CAClC;AAED,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAErD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkC3B,CAAA;AA6CF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIvB,CAAA;AAED,eAAO,IAAI,MAAM,EAAE,MAAiD,CAAA;AAEpE,eAAO,MAAM,SAAS,GAAI,GAAG,SAAS,MAAM,MAAM,OAC5C,GAAG,SACD,MAAM,CAAC,GAAG,CAAC,SAGlB,CAAA"}
1
+ {"version":3,"file":"frontend.d.ts","sourceRoot":"","sources":["../src/frontend.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,CAAC,MAAM,CAAC;IACd,IAAI,sBAAsB,EAAE,MAAM,CAAA;CAClC;AAED,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAErD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqC3B,CAAA;AAgDF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIvB,CAAA;AAED,eAAO,IAAI,MAAM,EAAE,MAAiD,CAAA;AAEpE,eAAO,MAAM,SAAS,GAAI,GAAG,SAAS,MAAM,MAAM,OAC5C,GAAG,SACD,MAAM,CAAC,GAAG,CAAC,SAGlB,CAAA"}
package/dist/frontend.js CHANGED
@@ -33,6 +33,9 @@ export var ConfigValidation = z.object({
33
33
  token: z.string(),
34
34
  apiUrl: z.string()
35
35
  }),
36
+ glitchTip: z.object({
37
+ dsn: z.string().optional()
38
+ }),
36
39
  sentryAuthToken: z.string().optional()
37
40
  });
38
41
  /**
@@ -73,6 +76,9 @@ export var ConfigValidation = z.object({
73
76
  token: process.env.KV_REST_API_TOKEN,
74
77
  apiUrl: process.env.KV_REST_API_URL
75
78
  },
79
+ glitchTip: {
80
+ dsn: process.env.GLITCHTIP_DSN
81
+ },
76
82
  sentryAuthToken: process.env.SENTRY_AUTH_TOKEN
77
83
  };
78
84
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@driveflux/config",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./backend": {
@@ -24,7 +24,7 @@
24
24
  "zod": "^3.23.8"
25
25
  },
26
26
  "devDependencies": {
27
- "@driveflux/fab": "2.3.0",
27
+ "@driveflux/fab": "2.3.3",
28
28
  "@driveflux/tsconfig": "1.3.0",
29
29
  "@swc/cli": "0.4.1-nightly.20240914",
30
30
  "@swc/core": "1.7.39",