@aranova/tracking-react 1.2.1 → 1.2.3
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/client.d.mts +4 -4
- package/dist/client.d.ts +4 -4
- package/dist/client.js +279 -201
- package/dist/client.js.map +1 -1
- package/dist/client.mjs +280 -202
- package/dist/client.mjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +13 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -7
- package/dist/index.mjs.map +1 -1
- package/dist/{ingest-typed-UA13xTfI.d.mts → ingest-typed-CCjpmxzo.d.mts} +74 -2
- package/dist/{ingest-typed-MBuMe9Pn.d.ts → ingest-typed-DRuUbg-r.d.ts} +74 -2
- package/dist/sales.js.map +1 -1
- package/dist/sales.mjs.map +1 -1
- package/package.json +1 -1
package/dist/client.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import * as react from 'react';
|
|
|
2
2
|
import { ReactNode, CSSProperties, InputHTMLAttributes, ChangeEvent, FocusEvent } from 'react';
|
|
3
3
|
import { G as GtagEnvironmentMap, M as MetaPixelEnvironmentMap, h as ConsentState, f as ConsentChoiceState, g as ConsentSource, T as TrackingParams, b as TrackingEnvironment, k as PhoneConfig, P as ParsedPhone, l as PhoneDisplayFormat } from './phone-utils-C0ds6cqZ.mjs';
|
|
4
4
|
import { T as TrackingConfigReference, C as ConversionConfig } from './tracking-config-runtime-C6H7ofmo.mjs';
|
|
5
|
-
import {
|
|
5
|
+
import { X as TriggerRegistryConfig, Z as TypedTrackingClient } from './ingest-typed-CCjpmxzo.mjs';
|
|
6
6
|
import { CountryCode } from 'libphonenumber-js';
|
|
7
7
|
import 'zod/mini';
|
|
8
8
|
import 'src';
|
|
@@ -236,9 +236,9 @@ interface CreateTrackingOptions<TRegistry extends TriggerRegistryConfig> {
|
|
|
236
236
|
*/
|
|
237
237
|
environment?: TrackingEnvironment;
|
|
238
238
|
/**
|
|
239
|
-
* When true,
|
|
240
|
-
*
|
|
241
|
-
*
|
|
239
|
+
* When true, `trackEvent()` metadata that fails its Zod schema throws. When
|
|
240
|
+
* off, the invalid event is dropped with a console warning. Turn on in dev
|
|
241
|
+
* to catch shape bugs early.
|
|
242
242
|
*/
|
|
243
243
|
debug?: boolean;
|
|
244
244
|
/**
|
package/dist/client.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as react from 'react';
|
|
|
2
2
|
import { ReactNode, CSSProperties, InputHTMLAttributes, ChangeEvent, FocusEvent } from 'react';
|
|
3
3
|
import { G as GtagEnvironmentMap, M as MetaPixelEnvironmentMap, h as ConsentState, f as ConsentChoiceState, g as ConsentSource, T as TrackingParams, b as TrackingEnvironment, k as PhoneConfig, P as ParsedPhone, l as PhoneDisplayFormat } from './phone-utils-C0ds6cqZ.js';
|
|
4
4
|
import { T as TrackingConfigReference, C as ConversionConfig } from './tracking-config-runtime-C6H7ofmo.js';
|
|
5
|
-
import {
|
|
5
|
+
import { X as TriggerRegistryConfig, Z as TypedTrackingClient } from './ingest-typed-DRuUbg-r.js';
|
|
6
6
|
import { CountryCode } from 'libphonenumber-js';
|
|
7
7
|
import 'zod/mini';
|
|
8
8
|
import 'src';
|
|
@@ -236,9 +236,9 @@ interface CreateTrackingOptions<TRegistry extends TriggerRegistryConfig> {
|
|
|
236
236
|
*/
|
|
237
237
|
environment?: TrackingEnvironment;
|
|
238
238
|
/**
|
|
239
|
-
* When true,
|
|
240
|
-
*
|
|
241
|
-
*
|
|
239
|
+
* When true, `trackEvent()` metadata that fails its Zod schema throws. When
|
|
240
|
+
* off, the invalid event is dropped with a console warning. Turn on in dev
|
|
241
|
+
* to catch shape bugs early.
|
|
242
242
|
*/
|
|
243
243
|
debug?: boolean;
|
|
244
244
|
/**
|