@aranova/tracking-react 1.0.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 +9 -3
- package/dist/client.d.ts +9 -3
- package/dist/client.js +549 -197
- package/dist/client.js.map +1 -1
- package/dist/client.mjs +549 -197
- package/dist/client.mjs.map +1 -1
- package/dist/index.d.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +206 -141
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +206 -141
- package/dist/index.mjs.map +1 -1
- package/dist/{ingest-typed-BdKmlouW.d.ts → ingest-typed-MBuMe9Pn.d.ts} +94 -2
- package/dist/{ingest-typed-Bo7WPmpU.d.mts → ingest-typed-UA13xTfI.d.mts} +94 -2
- package/dist/{phone-utils-CubQif9Z.d.mts → phone-utils-C0ds6cqZ.d.mts} +6 -0
- package/dist/{phone-utils-CubQif9Z.d.ts → phone-utils-C0ds6cqZ.d.ts} +6 -0
- package/dist/phone.d.mts +1 -1
- package/dist/phone.d.ts +1 -1
- package/dist/{sales-C7Xjsq-a.d.mts → sales-BuKD_bdo.d.mts} +1 -1
- package/dist/{sales-Bhh9mLBA.d.ts → sales-C3O_xxZ_.d.ts} +1 -1
- package/dist/sales.d.mts +2 -2
- package/dist/sales.d.ts +2 -2
- package/dist/sales.js +6 -1
- package/dist/sales.js.map +1 -1
- package/dist/sales.mjs +6 -1
- 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 +1 -1
package/dist/client.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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
7
|
import 'zod/mini';
|
|
8
8
|
import 'src';
|
|
@@ -304,6 +304,12 @@ interface CreateTrackingResult<TRegistry extends TriggerRegistryConfig> {
|
|
|
304
304
|
* package root, so TypeScript preserves your trigger registry.
|
|
305
305
|
*/
|
|
306
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;
|
|
307
313
|
}
|
|
308
314
|
declare function createTracking<TRegistry extends TriggerRegistryConfig>(options: CreateTrackingOptions<TRegistry>): CreateTrackingResult<TRegistry>;
|
|
309
315
|
|
package/dist/client.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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
7
|
import 'zod/mini';
|
|
8
8
|
import 'src';
|
|
@@ -304,6 +304,12 @@ interface CreateTrackingResult<TRegistry extends TriggerRegistryConfig> {
|
|
|
304
304
|
* package root, so TypeScript preserves your trigger registry.
|
|
305
305
|
*/
|
|
306
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;
|
|
307
313
|
}
|
|
308
314
|
declare function createTracking<TRegistry extends TriggerRegistryConfig>(options: CreateTrackingOptions<TRegistry>): CreateTrackingResult<TRegistry>;
|
|
309
315
|
|