@aranova/tracking-react 0.12.1 → 0.12.2

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.
@@ -229,10 +229,14 @@ type TrackingEnvironment = "production" | "development";
229
229
  * Labelled map of Google Ads tag IDs.
230
230
  *
231
231
  * ALL entries are loaded simultaneously via `gtag('config', ...)` — the keys
232
- * are human-readable labels (e.g. `production`, `test`) and the values are
233
- * Google Ads tag IDs (e.g. `AW-123456789`).
232
+ * are human-readable labels and the values are Google Ads tag IDs
233
+ * (e.g. `AW-123456789`).
234
234
  */
235
- type GtagEnvironmentMap = Record<string, string>;
235
+ interface GtagEnvironmentMap {
236
+ production?: string;
237
+ test?: string;
238
+ [label: string]: string | undefined;
239
+ }
236
240
  /**
237
241
  * Runtime context attached to tracking sessions and events.
238
242
  */
@@ -229,10 +229,14 @@ type TrackingEnvironment = "production" | "development";
229
229
  * Labelled map of Google Ads tag IDs.
230
230
  *
231
231
  * ALL entries are loaded simultaneously via `gtag('config', ...)` — the keys
232
- * are human-readable labels (e.g. `production`, `test`) and the values are
233
- * Google Ads tag IDs (e.g. `AW-123456789`).
232
+ * are human-readable labels and the values are Google Ads tag IDs
233
+ * (e.g. `AW-123456789`).
234
234
  */
235
- type GtagEnvironmentMap = Record<string, string>;
235
+ interface GtagEnvironmentMap {
236
+ production?: string;
237
+ test?: string;
238
+ [label: string]: string | undefined;
239
+ }
236
240
  /**
237
241
  * Runtime context attached to tracking sessions and events.
238
242
  */
package/dist/phone.d.mts CHANGED
@@ -1,3 +1,3 @@
1
- export { D as DEFAULT_PHONE_COUNTRY, g as ParsedPhone, P as PhoneConfig, h as PhoneDisplayFormat, i as TrackedField, m as formatPhone, n as formatPhoneAsTyped, p as parsePhone, q as phoneField, t as toE164 } from './phone-utils-DXAki8pO.mjs';
1
+ export { D as DEFAULT_PHONE_COUNTRY, g as ParsedPhone, P as PhoneConfig, h as PhoneDisplayFormat, i as TrackedField, m as formatPhone, n as formatPhoneAsTyped, p as parsePhone, q as phoneField, t as toE164 } from './phone-utils-Du-alwyM.mjs';
2
2
  export { CountryCode } from 'libphonenumber-js';
3
3
  import 'zod';
package/dist/phone.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { D as DEFAULT_PHONE_COUNTRY, g as ParsedPhone, P as PhoneConfig, h as PhoneDisplayFormat, i as TrackedField, m as formatPhone, n as formatPhoneAsTyped, p as parsePhone, q as phoneField, t as toE164 } from './phone-utils-DXAki8pO.js';
1
+ export { D as DEFAULT_PHONE_COUNTRY, g as ParsedPhone, P as PhoneConfig, h as PhoneDisplayFormat, i as TrackedField, m as formatPhone, n as formatPhoneAsTyped, p as parsePhone, q as phoneField, t as toE164 } from './phone-utils-Du-alwyM.js';
2
2
  export { CountryCode } from 'libphonenumber-js';
3
3
  import 'zod';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aranova/tracking-react",
3
- "version": "0.12.1",
3
+ "version": "0.12.2",
4
4
  "private": false,
5
5
  "type": "commonjs",
6
6
  "description": "React tracking and consent utilities for Aranova client sites",