@aranova/tracking-next 0.7.0 → 0.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/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/server.d.mts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/{types-D0Vm9WRC.d.mts → types-BPJLgMsG.d.mts} +8 -2
- package/dist/{types-D0Vm9WRC.d.ts → types-BPJLgMsG.d.ts} +8 -2
- package/package.json +1 -1
package/dist/server.d.mts
CHANGED
package/dist/server.d.ts
CHANGED
|
@@ -68,8 +68,14 @@ interface TrackingClientContext {
|
|
|
68
68
|
page_title: string | null;
|
|
69
69
|
/** Browser document referrer at client creation time. */
|
|
70
70
|
referrer: string | null;
|
|
71
|
-
/**
|
|
72
|
-
|
|
71
|
+
/**
|
|
72
|
+
* Deployment environment label, e.g. `'production'`, `'development'`.
|
|
73
|
+
*
|
|
74
|
+
* Always set — defaults to `'production'` when the consumer doesn't
|
|
75
|
+
* pass `environment` to the factory. Sending `null` would fail the
|
|
76
|
+
* backend's strict enum validation.
|
|
77
|
+
*/
|
|
78
|
+
environment: TrackingEnvironment;
|
|
73
79
|
/** All active gtag IDs loaded on this page, keyed by label. */
|
|
74
80
|
active_gtag_ids: Record<string, string> | null;
|
|
75
81
|
}
|
|
@@ -68,8 +68,14 @@ interface TrackingClientContext {
|
|
|
68
68
|
page_title: string | null;
|
|
69
69
|
/** Browser document referrer at client creation time. */
|
|
70
70
|
referrer: string | null;
|
|
71
|
-
/**
|
|
72
|
-
|
|
71
|
+
/**
|
|
72
|
+
* Deployment environment label, e.g. `'production'`, `'development'`.
|
|
73
|
+
*
|
|
74
|
+
* Always set — defaults to `'production'` when the consumer doesn't
|
|
75
|
+
* pass `environment` to the factory. Sending `null` would fail the
|
|
76
|
+
* backend's strict enum validation.
|
|
77
|
+
*/
|
|
78
|
+
environment: TrackingEnvironment;
|
|
73
79
|
/** All active gtag IDs loaded on this page, keyed by label. */
|
|
74
80
|
active_gtag_ids: Record<string, string> | null;
|
|
75
81
|
}
|