@aranova/tracking-react 1.13.0 → 1.14.1

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.
Files changed (36) hide show
  1. package/README.md +26 -0
  2. package/dist/{bookings-C1HMPjQl.d.ts → bookings-CkfA5XOM.d.ts} +283 -8
  3. package/dist/{bookings-CHpplXU7.d.mts → bookings-DFz3BUiP.d.mts} +283 -8
  4. package/dist/client.d.mts +10 -8
  5. package/dist/client.d.ts +10 -8
  6. package/dist/client.js +382 -41
  7. package/dist/client.js.map +1 -1
  8. package/dist/client.mjs +380 -40
  9. package/dist/client.mjs.map +1 -1
  10. package/dist/index.d.mts +8 -180
  11. package/dist/index.d.ts +8 -180
  12. package/dist/index.js +375 -189
  13. package/dist/index.js.map +1 -1
  14. package/dist/index.mjs +372 -189
  15. package/dist/index.mjs.map +1 -1
  16. package/dist/{ingest-typed-sCDoPInT.d.ts → ingest-typed-BO6Arbw-.d.mts} +6 -99
  17. package/dist/{ingest-typed-Ckt4R731.d.mts → ingest-typed-D7I4aQ7p.d.ts} +6 -99
  18. package/dist/{phone-utils-BNiSqeF7.d.mts → phone-utils-CYr6AmEP.d.mts} +231 -3
  19. package/dist/{phone-utils-D12FW8tT.d.ts → phone-utils-CYr6AmEP.d.ts} +231 -3
  20. package/dist/phone.d.mts +1 -2
  21. package/dist/phone.d.ts +1 -2
  22. package/dist/phone.js +2 -2
  23. package/dist/phone.js.map +1 -1
  24. package/dist/phone.mjs +2 -2
  25. package/dist/phone.mjs.map +1 -1
  26. package/dist/{sales-CNvzyF5T.d.ts → sales-C0FMkN4m.d.ts} +1 -1
  27. package/dist/{sales-YUH3bQl9.d.mts → sales-KbTcowYa.d.mts} +1 -1
  28. package/dist/sales.d.mts +3 -3
  29. package/dist/sales.d.ts +3 -3
  30. package/dist/sales.js +1204 -170
  31. package/dist/sales.js.map +1 -1
  32. package/dist/sales.mjs +1204 -170
  33. package/dist/sales.mjs.map +1 -1
  34. package/package.json +1 -1
  35. package/dist/form-submit-CX-CxJjQ.d.mts +0 -47
  36. package/dist/form-submit-CX-CxJjQ.d.ts +0 -47
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aranova/tracking-react",
3
- "version": "1.13.0",
3
+ "version": "1.14.1",
4
4
  "private": false,
5
5
  "type": "commonjs",
6
6
  "description": "React tracking and consent utilities for Aranova client sites",
@@ -1,47 +0,0 @@
1
- import * as z from 'zod/mini';
2
-
3
- /**
4
- * JSON-serializable value accepted by `form_submit.fields[].value`.
5
- *
6
- * This intentionally excludes `undefined`, functions, symbols, `Date`
7
- * instances, and non-finite numbers. Values are stored in PostgreSQL JSONB, so
8
- * consumers should send only data that has a stable JSON representation.
9
- */
10
- type JsonValue = string | number | boolean | null | JsonValue[] | {
11
- [key: string]: JsonValue;
12
- };
13
- declare const formSubmitMetadataSchema: z.ZodMiniObject<{
14
- form: z.ZodMiniObject<{
15
- id: z.ZodMiniString<string>;
16
- action: z.ZodMiniNullable<z.ZodMiniString<string>>;
17
- fields: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
18
- name: z.ZodMiniString<string>;
19
- type: z.ZodMiniString<string>;
20
- label: z.ZodMiniNullable<z.ZodMiniString<string>>;
21
- value: z.ZodMiniType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
22
- role: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
23
- }, z.core.$strict>>>;
24
- kind: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
25
- contract_version: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniInt>>;
26
- contract_hash: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
27
- extra: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniArray<z.ZodMiniObject<{
28
- key: z.ZodMiniString<string>;
29
- label: z.ZodMiniString<string>;
30
- value: z.ZodMiniType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
31
- }, z.core.$strict>>>>;
32
- }, z.core.$strict>;
33
- page: z.ZodMiniObject<{
34
- path: z.ZodMiniString<string>;
35
- }, z.core.$strict>;
36
- }, z.core.$strict>;
37
- type FormSubmitMetadata = z.infer<typeof formSubmitMetadataSchema>;
38
- /**
39
- * Registration config for `form_submit`.
40
- *
41
- * This event is manual-only and currently has no registration options. The
42
- * empty object enables typed `trackEvent('form_submit', ...)` calls.
43
- */
44
- declare const formSubmitConfigSchema: z.ZodMiniObject<{}, z.core.$strict>;
45
- type FormSubmitConfig = z.infer<typeof formSubmitConfigSchema>;
46
-
47
- export type { FormSubmitConfig as F, JsonValue as J, FormSubmitMetadata as a };
@@ -1,47 +0,0 @@
1
- import * as z from 'zod/mini';
2
-
3
- /**
4
- * JSON-serializable value accepted by `form_submit.fields[].value`.
5
- *
6
- * This intentionally excludes `undefined`, functions, symbols, `Date`
7
- * instances, and non-finite numbers. Values are stored in PostgreSQL JSONB, so
8
- * consumers should send only data that has a stable JSON representation.
9
- */
10
- type JsonValue = string | number | boolean | null | JsonValue[] | {
11
- [key: string]: JsonValue;
12
- };
13
- declare const formSubmitMetadataSchema: z.ZodMiniObject<{
14
- form: z.ZodMiniObject<{
15
- id: z.ZodMiniString<string>;
16
- action: z.ZodMiniNullable<z.ZodMiniString<string>>;
17
- fields: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
18
- name: z.ZodMiniString<string>;
19
- type: z.ZodMiniString<string>;
20
- label: z.ZodMiniNullable<z.ZodMiniString<string>>;
21
- value: z.ZodMiniType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
22
- role: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
23
- }, z.core.$strict>>>;
24
- kind: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
25
- contract_version: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniInt>>;
26
- contract_hash: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
27
- extra: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniArray<z.ZodMiniObject<{
28
- key: z.ZodMiniString<string>;
29
- label: z.ZodMiniString<string>;
30
- value: z.ZodMiniType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
31
- }, z.core.$strict>>>>;
32
- }, z.core.$strict>;
33
- page: z.ZodMiniObject<{
34
- path: z.ZodMiniString<string>;
35
- }, z.core.$strict>;
36
- }, z.core.$strict>;
37
- type FormSubmitMetadata = z.infer<typeof formSubmitMetadataSchema>;
38
- /**
39
- * Registration config for `form_submit`.
40
- *
41
- * This event is manual-only and currently has no registration options. The
42
- * empty object enables typed `trackEvent('form_submit', ...)` calls.
43
- */
44
- declare const formSubmitConfigSchema: z.ZodMiniObject<{}, z.core.$strict>;
45
- type FormSubmitConfig = z.infer<typeof formSubmitConfigSchema>;
46
-
47
- export type { FormSubmitConfig as F, JsonValue as J, FormSubmitMetadata as a };