@aranova/tracking-react 0.27.0 → 1.1.0
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 +11 -4
- package/dist/client.d.ts +11 -4
- package/dist/client.js +620 -350
- package/dist/client.js.map +1 -1
- package/dist/client.mjs +610 -350
- package/dist/client.mjs.map +1 -1
- package/dist/index.d.mts +7 -6
- package/dist/index.d.ts +7 -6
- package/dist/index.js +339 -393
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +328 -393
- package/dist/index.mjs.map +1 -1
- package/dist/ingest-typed-MBuMe9Pn.d.ts +883 -0
- package/dist/ingest-typed-UA13xTfI.d.mts +883 -0
- package/dist/{phone-utils-BVzSNBf1.d.mts → phone-utils-C0ds6cqZ.d.mts} +24 -78
- package/dist/{phone-utils-BVzSNBf1.d.ts → phone-utils-C0ds6cqZ.d.ts} +24 -78
- package/dist/phone.d.mts +2 -2
- package/dist/phone.d.ts +2 -2
- package/dist/phone.js +0 -464
- package/dist/phone.js.map +1 -1
- package/dist/phone.mjs +0 -464
- package/dist/phone.mjs.map +1 -1
- package/dist/{sales-D4TB9gRS.d.ts → sales-BuKD_bdo.d.mts} +90 -329
- package/dist/{sales-cYjB07y8.d.mts → sales-C3O_xxZ_.d.ts} +90 -329
- package/dist/sales.d.mts +3 -3
- package/dist/sales.d.ts +3 -3
- package/dist/sales.js +270 -127
- package/dist/sales.js.map +1 -1
- package/dist/sales.mjs +259 -127
- package/dist/sales.mjs.map +1 -1
- package/dist/{tracking-config-runtime-D7prdTE1.d.mts → tracking-config-runtime-C6H7ofmo.d.mts} +6 -0
- package/dist/{tracking-config-runtime-D7prdTE1.d.ts → tracking-config-runtime-C6H7ofmo.d.ts} +6 -0
- package/package.json +2 -2
- package/dist/ingest-typed-BxLFlZ7N.d.mts +0 -1371
- package/dist/ingest-typed-ByQVRMvP.d.ts +0 -1371
package/dist/client.d.mts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode, CSSProperties, InputHTMLAttributes, ChangeEvent, FocusEvent } from 'react';
|
|
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-
|
|
4
|
-
import { T as TrackingConfigReference, C as ConversionConfig } from './tracking-config-runtime-
|
|
5
|
-
import {
|
|
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
|
+
import { T as TrackingConfigReference, C as ConversionConfig } from './tracking-config-runtime-C6H7ofmo.mjs';
|
|
5
|
+
import { V as TriggerRegistryConfig, X as TypedTrackingClient } from './ingest-typed-UA13xTfI.mjs';
|
|
6
6
|
import { CountryCode } from 'libphonenumber-js';
|
|
7
|
-
import 'zod';
|
|
7
|
+
import 'zod/mini';
|
|
8
8
|
import 'src';
|
|
9
|
+
import 'zod/v4/core';
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
12
|
* Legacy opt-in-era consent banner.
|
|
@@ -303,6 +304,12 @@ interface CreateTrackingResult<TRegistry extends TriggerRegistryConfig> {
|
|
|
303
304
|
* package root, so TypeScript preserves your trigger registry.
|
|
304
305
|
*/
|
|
305
306
|
useTracking: () => TypedTrackingClient<TRegistry>;
|
|
307
|
+
/**
|
|
308
|
+
* Append the cross-site identity token to a URL that points at a sibling
|
|
309
|
+
* site of this business, for navigations the linker cannot see. Returns the
|
|
310
|
+
* URL unchanged for any other target.
|
|
311
|
+
*/
|
|
312
|
+
decorateUrl: (url: string) => string;
|
|
306
313
|
}
|
|
307
314
|
declare function createTracking<TRegistry extends TriggerRegistryConfig>(options: CreateTrackingOptions<TRegistry>): CreateTrackingResult<TRegistry>;
|
|
308
315
|
|
package/dist/client.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode, CSSProperties, InputHTMLAttributes, ChangeEvent, FocusEvent } from 'react';
|
|
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-
|
|
4
|
-
import { T as TrackingConfigReference, C as ConversionConfig } from './tracking-config-runtime-
|
|
5
|
-
import {
|
|
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
|
+
import { T as TrackingConfigReference, C as ConversionConfig } from './tracking-config-runtime-C6H7ofmo.js';
|
|
5
|
+
import { V as TriggerRegistryConfig, X as TypedTrackingClient } from './ingest-typed-MBuMe9Pn.js';
|
|
6
6
|
import { CountryCode } from 'libphonenumber-js';
|
|
7
|
-
import 'zod';
|
|
7
|
+
import 'zod/mini';
|
|
8
8
|
import 'src';
|
|
9
|
+
import 'zod/v4/core';
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
12
|
* Legacy opt-in-era consent banner.
|
|
@@ -303,6 +304,12 @@ interface CreateTrackingResult<TRegistry extends TriggerRegistryConfig> {
|
|
|
303
304
|
* package root, so TypeScript preserves your trigger registry.
|
|
304
305
|
*/
|
|
305
306
|
useTracking: () => TypedTrackingClient<TRegistry>;
|
|
307
|
+
/**
|
|
308
|
+
* Append the cross-site identity token to a URL that points at a sibling
|
|
309
|
+
* site of this business, for navigations the linker cannot see. Returns the
|
|
310
|
+
* URL unchanged for any other target.
|
|
311
|
+
*/
|
|
312
|
+
decorateUrl: (url: string) => string;
|
|
306
313
|
}
|
|
307
314
|
declare function createTracking<TRegistry extends TriggerRegistryConfig>(options: CreateTrackingOptions<TRegistry>): CreateTrackingResult<TRegistry>;
|
|
308
315
|
|