@aranova/tracking-react 1.2.4 → 1.2.5

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 CHANGED
@@ -3,10 +3,9 @@ import { T as TrackingParams, a as TrackingInstallSurface, b as TrackingEnvironm
3
3
  export { C as ConsentChoice, f as ConsentChoiceState, g as ConsentSource, h as ConsentState, D as DEFAULT_DECLINE_TTL_DAYS, i as DEFAULT_PHONE_COUNTRY, F as FormSubmitConfig, j as FormSubmitMetadata, G as GtagEnvironmentMap, J as JsonValue, M as MetaPixelEnvironmentMap, P as ParsedPhone, k as PhoneConfig, l as PhoneDisplayFormat, S as SetConsentOptions, m as TrackedField, n as TrackingInitConfig, o as formatPhone, p as formatPhoneAsTyped, q as getConsentChoice, r as getConsentState, s as onConsentChange, t as optIn, u as optOut, v as parsePhone, w as phoneField, x as resetConsent, y as setConsentState, z as toE164 } from './phone-utils-qLfVpQI7.mjs';
4
4
  export { A as AranovaApiError, B as BusinessConfig, a as BusinessConfigFeatures, b as BusinessConfigService, C as CompareTo, c as ConversionUserData, d as CurrencyRevenue, e as CustomerCurrencyDelta, f as CustomerCurrencyTotal, g as CustomerGetOptions, h as CustomerGetResult, i as CustomerKpis, j as CustomerKpisDeltas, k as CustomerKpisPrevious, l as CustomerListPage, m as CustomerListQuery, n as CustomerProfile, o as CustomerSegment, p as CustomerSegmentCount, q as CustomerSortField, r as CustomerSummary, s as CustomerSummaryQuery, D as DistinctCustomersByCurrency, E as EffectiveSaleProperty, G as Granularity, N as NAMED_RANGES, t as NamedRange, P as PublicServiceItem, S as SUPPORTED_CURRENCIES, u as Sale, v as SaleBuiltinRequirableField, w as SaleCursorPage, x as SaleFilters, y as SaleInput, z as SaleItem, F as SaleItemInput, H as SaleKeysetSortField, I as SaleListPage, J as SaleListQuery, K as SaleListQueryV2, L as SalePropertyOption, M as SalePropertyType, O as SaleService, Q as SaleServiceInput, R as SaleSortField, T as SaleSortOrder, U as SaleSummary, V as SaleSummaryPrevious, W as SaleSummaryQuery, X as SaleSummaryQueryV2, Y as SaleSummaryV2, Z as SaleUpdateInput, _ as SalesBusinessClient, $ as SalesCategoryBreakdown, a0 as SalesClient, a1 as SalesClientConfig, a2 as SalesCustomersClient, a3 as SalesServiceBreakdown, a4 as SalesTransportConfig, a5 as SalesTrendPoint, a6 as SummaryCurrencyDelta, a7 as SummaryDeltas, a8 as SummaryWindow, a9 as SupportedCurrency, aa as TRACKING_RANGES, ab as TrackingOverviewRange, ac as clearStashedUserData, ad as createSalesClient, ae as currencySchema, af as fetchServices, ag as formatDateInTz, ah as formatMoney, ai as fromMinor, aj as saleCreateSchema, ak as saleItemSchema, al as saleServiceSchema, am as saleUpdateSchema, an as salesRequest, ao as stashUserData, ap as toMinor } from './sales-BuKD_bdo.mjs';
5
5
  export { C as ConversionConfig, a as ConversionConfigStore, T as TrackingConfigReference, g as getTrackingConfigRuntime, r as resolveConversionConfig, b as resolveTrackingConfigUrl } from './tracking-config-runtime-C6H7ofmo.mjs';
6
- export { A as AutomaticEventName, C as CtaClickConfig, a as CtaClickMetadata, E as EVENT_SEMANTICS, b as EventCategory, c as EventClientVisibility, d as EventConfig, e as EventKind, f as EventMetadata, g as EventName, h as EventOutcomeRole, i as EventSemantics, F as FormStartConfig, j as FormStartMetadata, k as FormStepConfig, l as FormStepMetadata, M as ManualEventName, m as MultiPageSessionConfig, n as MultiPageSessionMetadata, P as PageExitConfig, o as PageExitMetadata, p as PageIdentity, q as PageViewConfig, r as PageViewMetadata, s as PhoneClickConfig, t as PhoneClickMetadata, R as RegisteredAutomaticEvents, u as RegisteredManualEvents, S as ScrollDepthConfig, v as ScrollDepthMetadata, w as SdkHeartbeatConfig, x as SdkHeartbeatMetadata, y as SiteLinkArrivalConfig, z as SiteLinkArrivalMetadata, B as SiteLinkClickConfig, D as SiteLinkClickMetadata, G as SpecificPageName, H as SpecificPageVisitConfig, I as SpecificPageVisitMetadata, T as TimeOnSiteConfig, J as TimeOnSiteMetadata, K as TrackableEvent, L as TriggerRegistryConfig, N as TypedTrackEventOptions, O as TypedTrackingClient, Q as getEventSemantics } from './ingest-typed-D1sYF0bA.mjs';
6
+ export { A as AutomaticEventName, C as CtaClickConfig, a as CtaClickMetadata, E as EVENT_SEMANTICS, b as EventCategory, c as EventClientVisibility, d as EventConfig, e as EventKind, f as EventMetadata, g as EventName, h as EventOutcomeRole, i as EventSemantics, F as FormStartConfig, j as FormStartMetadata, k as FormStepConfig, l as FormStepMetadata, M as ManualEventName, m as MultiPageSessionConfig, n as MultiPageSessionMetadata, P as PageExitConfig, o as PageExitMetadata, p as PageIdentity, q as PageViewConfig, r as PageViewMetadata, s as PhoneClickConfig, t as PhoneClickMetadata, R as RegisteredAutomaticEvents, u as RegisteredManualEvents, S as ScrollDepthConfig, v as ScrollDepthMetadata, w as SdkHeartbeatConfig, x as SdkHeartbeatMetadata, y as SiteLinkArrivalConfig, z as SiteLinkArrivalMetadata, B as SiteLinkClickConfig, D as SiteLinkClickMetadata, G as SpecificPageName, H as SpecificPageVisitConfig, I as SpecificPageVisitMetadata, T as TimeOnSiteConfig, J as TimeOnSiteMetadata, K as TrackableEvent, L as TriggerRegistryConfig, N as TypedTrackEventOptions, O as TypedTrackingClient, Q as getEventSemantics } from './ingest-typed-oAwnKqH2.mjs';
7
7
  export { CountryCode } from 'libphonenumber-js';
8
8
  import 'zod/mini';
9
- import 'src';
10
9
  import 'zod/v4/core';
11
10
 
12
11
  /**
package/dist/index.d.ts CHANGED
@@ -3,10 +3,9 @@ import { T as TrackingParams, a as TrackingInstallSurface, b as TrackingEnvironm
3
3
  export { C as ConsentChoice, f as ConsentChoiceState, g as ConsentSource, h as ConsentState, D as DEFAULT_DECLINE_TTL_DAYS, i as DEFAULT_PHONE_COUNTRY, F as FormSubmitConfig, j as FormSubmitMetadata, G as GtagEnvironmentMap, J as JsonValue, M as MetaPixelEnvironmentMap, P as ParsedPhone, k as PhoneConfig, l as PhoneDisplayFormat, S as SetConsentOptions, m as TrackedField, n as TrackingInitConfig, o as formatPhone, p as formatPhoneAsTyped, q as getConsentChoice, r as getConsentState, s as onConsentChange, t as optIn, u as optOut, v as parsePhone, w as phoneField, x as resetConsent, y as setConsentState, z as toE164 } from './phone-utils-qLfVpQI7.js';
4
4
  export { A as AranovaApiError, B as BusinessConfig, a as BusinessConfigFeatures, b as BusinessConfigService, C as CompareTo, c as ConversionUserData, d as CurrencyRevenue, e as CustomerCurrencyDelta, f as CustomerCurrencyTotal, g as CustomerGetOptions, h as CustomerGetResult, i as CustomerKpis, j as CustomerKpisDeltas, k as CustomerKpisPrevious, l as CustomerListPage, m as CustomerListQuery, n as CustomerProfile, o as CustomerSegment, p as CustomerSegmentCount, q as CustomerSortField, r as CustomerSummary, s as CustomerSummaryQuery, D as DistinctCustomersByCurrency, E as EffectiveSaleProperty, G as Granularity, N as NAMED_RANGES, t as NamedRange, P as PublicServiceItem, S as SUPPORTED_CURRENCIES, u as Sale, v as SaleBuiltinRequirableField, w as SaleCursorPage, x as SaleFilters, y as SaleInput, z as SaleItem, F as SaleItemInput, H as SaleKeysetSortField, I as SaleListPage, J as SaleListQuery, K as SaleListQueryV2, L as SalePropertyOption, M as SalePropertyType, O as SaleService, Q as SaleServiceInput, R as SaleSortField, T as SaleSortOrder, U as SaleSummary, V as SaleSummaryPrevious, W as SaleSummaryQuery, X as SaleSummaryQueryV2, Y as SaleSummaryV2, Z as SaleUpdateInput, _ as SalesBusinessClient, $ as SalesCategoryBreakdown, a0 as SalesClient, a1 as SalesClientConfig, a2 as SalesCustomersClient, a3 as SalesServiceBreakdown, a4 as SalesTransportConfig, a5 as SalesTrendPoint, a6 as SummaryCurrencyDelta, a7 as SummaryDeltas, a8 as SummaryWindow, a9 as SupportedCurrency, aa as TRACKING_RANGES, ab as TrackingOverviewRange, ac as clearStashedUserData, ad as createSalesClient, ae as currencySchema, af as fetchServices, ag as formatDateInTz, ah as formatMoney, ai as fromMinor, aj as saleCreateSchema, ak as saleItemSchema, al as saleServiceSchema, am as saleUpdateSchema, an as salesRequest, ao as stashUserData, ap as toMinor } from './sales-C3O_xxZ_.js';
5
5
  export { C as ConversionConfig, a as ConversionConfigStore, T as TrackingConfigReference, g as getTrackingConfigRuntime, r as resolveConversionConfig, b as resolveTrackingConfigUrl } from './tracking-config-runtime-C6H7ofmo.js';
6
- export { A as AutomaticEventName, C as CtaClickConfig, a as CtaClickMetadata, E as EVENT_SEMANTICS, b as EventCategory, c as EventClientVisibility, d as EventConfig, e as EventKind, f as EventMetadata, g as EventName, h as EventOutcomeRole, i as EventSemantics, F as FormStartConfig, j as FormStartMetadata, k as FormStepConfig, l as FormStepMetadata, M as ManualEventName, m as MultiPageSessionConfig, n as MultiPageSessionMetadata, P as PageExitConfig, o as PageExitMetadata, p as PageIdentity, q as PageViewConfig, r as PageViewMetadata, s as PhoneClickConfig, t as PhoneClickMetadata, R as RegisteredAutomaticEvents, u as RegisteredManualEvents, S as ScrollDepthConfig, v as ScrollDepthMetadata, w as SdkHeartbeatConfig, x as SdkHeartbeatMetadata, y as SiteLinkArrivalConfig, z as SiteLinkArrivalMetadata, B as SiteLinkClickConfig, D as SiteLinkClickMetadata, G as SpecificPageName, H as SpecificPageVisitConfig, I as SpecificPageVisitMetadata, T as TimeOnSiteConfig, J as TimeOnSiteMetadata, K as TrackableEvent, L as TriggerRegistryConfig, N as TypedTrackEventOptions, O as TypedTrackingClient, Q as getEventSemantics } from './ingest-typed-QKX9WGr3.js';
6
+ export { A as AutomaticEventName, C as CtaClickConfig, a as CtaClickMetadata, E as EVENT_SEMANTICS, b as EventCategory, c as EventClientVisibility, d as EventConfig, e as EventKind, f as EventMetadata, g as EventName, h as EventOutcomeRole, i as EventSemantics, F as FormStartConfig, j as FormStartMetadata, k as FormStepConfig, l as FormStepMetadata, M as ManualEventName, m as MultiPageSessionConfig, n as MultiPageSessionMetadata, P as PageExitConfig, o as PageExitMetadata, p as PageIdentity, q as PageViewConfig, r as PageViewMetadata, s as PhoneClickConfig, t as PhoneClickMetadata, R as RegisteredAutomaticEvents, u as RegisteredManualEvents, S as ScrollDepthConfig, v as ScrollDepthMetadata, w as SdkHeartbeatConfig, x as SdkHeartbeatMetadata, y as SiteLinkArrivalConfig, z as SiteLinkArrivalMetadata, B as SiteLinkClickConfig, D as SiteLinkClickMetadata, G as SpecificPageName, H as SpecificPageVisitConfig, I as SpecificPageVisitMetadata, T as TimeOnSiteConfig, J as TimeOnSiteMetadata, K as TrackableEvent, L as TriggerRegistryConfig, N as TypedTrackEventOptions, O as TypedTrackingClient, Q as getEventSemantics } from './ingest-typed-CUpdCtmM.js';
7
7
  export { CountryCode } from 'libphonenumber-js';
8
8
  import 'zod/mini';
9
- import 'src';
10
9
  import 'zod/v4/core';
11
10
 
12
11
  /**
@@ -1,7 +1,6 @@
1
- import * as src from 'src';
2
1
  import * as zod_v4_core from 'zod/v4/core';
3
2
  import * as z from 'zod/mini';
4
- import { F as FormSubmitConfig, j as FormSubmitMetadata } from './phone-utils-qLfVpQI7.js';
3
+ import { J as JsonValue, F as FormSubmitConfig, j as FormSubmitMetadata } from './phone-utils-qLfVpQI7.js';
5
4
 
6
5
  /**
7
6
  * Metadata for a manually fired `cta_click` event.
@@ -450,6 +449,7 @@ type EventName = keyof typeof EVENT_SEMANTICS;
450
449
  declare function getEventSemantics(eventName: string): EventSemantics | null;
451
450
 
452
451
  type EventKind = "automatic" | "manual";
452
+
453
453
  declare const EVENT_REGISTRY: {
454
454
  readonly page_view: {
455
455
  readonly kind: "automatic";
@@ -671,7 +671,7 @@ declare const EVENT_REGISTRY: {
671
671
  name: z.ZodMiniString<string>;
672
672
  type: z.ZodMiniString<string>;
673
673
  label: z.ZodMiniNullable<z.ZodMiniString<string>>;
674
- value: z.ZodMiniType<src.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<src.JsonValue, unknown>>;
674
+ value: z.ZodMiniType<JsonValue, unknown, zod_v4_core.$ZodTypeInternals<JsonValue, unknown>>;
675
675
  }, zod_v4_core.$strict>>>;
676
676
  }, zod_v4_core.$strict>;
677
677
  page: z.ZodMiniObject<{
@@ -1,7 +1,6 @@
1
- import * as src from 'src';
2
1
  import * as zod_v4_core from 'zod/v4/core';
3
2
  import * as z from 'zod/mini';
4
- import { F as FormSubmitConfig, j as FormSubmitMetadata } from './phone-utils-qLfVpQI7.mjs';
3
+ import { J as JsonValue, F as FormSubmitConfig, j as FormSubmitMetadata } from './phone-utils-qLfVpQI7.mjs';
5
4
 
6
5
  /**
7
6
  * Metadata for a manually fired `cta_click` event.
@@ -450,6 +449,7 @@ type EventName = keyof typeof EVENT_SEMANTICS;
450
449
  declare function getEventSemantics(eventName: string): EventSemantics | null;
451
450
 
452
451
  type EventKind = "automatic" | "manual";
452
+
453
453
  declare const EVENT_REGISTRY: {
454
454
  readonly page_view: {
455
455
  readonly kind: "automatic";
@@ -671,7 +671,7 @@ declare const EVENT_REGISTRY: {
671
671
  name: z.ZodMiniString<string>;
672
672
  type: z.ZodMiniString<string>;
673
673
  label: z.ZodMiniNullable<z.ZodMiniString<string>>;
674
- value: z.ZodMiniType<src.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<src.JsonValue, unknown>>;
674
+ value: z.ZodMiniType<JsonValue, unknown, zod_v4_core.$ZodTypeInternals<JsonValue, unknown>>;
675
675
  }, zod_v4_core.$strict>>>;
676
676
  }, zod_v4_core.$strict>;
677
677
  page: z.ZodMiniObject<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aranova/tracking-react",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "private": false,
5
5
  "type": "commonjs",
6
6
  "description": "React tracking and consent utilities for Aranova client sites",