@aranova/tracking-react 0.26.0 → 1.0.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.
Files changed (35) hide show
  1. package/dist/client.d.mts +5 -4
  2. package/dist/client.d.ts +5 -4
  3. package/dist/client.js +207 -283
  4. package/dist/client.js.map +1 -1
  5. package/dist/client.mjs +169 -255
  6. package/dist/client.mjs.map +1 -1
  7. package/dist/index.d.mts +7 -6
  8. package/dist/index.d.ts +7 -6
  9. package/dist/index.js +275 -391
  10. package/dist/index.js.map +1 -1
  11. package/dist/index.mjs +264 -391
  12. package/dist/index.mjs.map +1 -1
  13. package/dist/ingest-typed-BdKmlouW.d.ts +791 -0
  14. package/dist/ingest-typed-Bo7WPmpU.d.mts +791 -0
  15. package/dist/{phone-utils-BVzSNBf1.d.mts → phone-utils-CubQif9Z.d.mts} +18 -78
  16. package/dist/{phone-utils-BVzSNBf1.d.ts → phone-utils-CubQif9Z.d.ts} +18 -78
  17. package/dist/phone.d.mts +2 -2
  18. package/dist/phone.d.ts +2 -2
  19. package/dist/phone.js +0 -462
  20. package/dist/phone.js.map +1 -1
  21. package/dist/phone.mjs +0 -462
  22. package/dist/phone.mjs.map +1 -1
  23. package/dist/{sales-1J-Z4AvL.d.ts → sales-Bhh9mLBA.d.ts} +90 -329
  24. package/dist/{sales-DzKvyVjY.d.mts → sales-C7Xjsq-a.d.mts} +90 -329
  25. package/dist/sales.d.mts +3 -3
  26. package/dist/sales.d.ts +3 -3
  27. package/dist/sales.js +265 -127
  28. package/dist/sales.js.map +1 -1
  29. package/dist/sales.mjs +254 -127
  30. package/dist/sales.mjs.map +1 -1
  31. package/dist/{tracking-config-runtime-BnUlS_Ae.d.mts → tracking-config-runtime-D7prdTE1.d.mts} +6 -0
  32. package/dist/{tracking-config-runtime-BnUlS_Ae.d.ts → tracking-config-runtime-D7prdTE1.d.ts} +6 -0
  33. package/package.json +2 -2
  34. package/dist/ingest-typed-BioxtBJD.d.mts +0 -1365
  35. package/dist/ingest-typed-C-SPiigr.d.ts +0 -1365
@@ -103,6 +103,12 @@ interface TrackingConfigReference {
103
103
  */
104
104
  cdnBaseUrl?: string;
105
105
  businessId: string;
106
+ /**
107
+ * The site whose config object to load (ENG-284). Selects the per-site
108
+ * `tracking-config/v1/sites/` key; omitted (older generated files) resolves
109
+ * the legacy per-business key, which is the primary site's config.
110
+ */
111
+ siteId?: string;
106
112
  environment: "production" | "test";
107
113
  }
108
114
  /**
@@ -103,6 +103,12 @@ interface TrackingConfigReference {
103
103
  */
104
104
  cdnBaseUrl?: string;
105
105
  businessId: string;
106
+ /**
107
+ * The site whose config object to load (ENG-284). Selects the per-site
108
+ * `tracking-config/v1/sites/` key; omitted (older generated files) resolves
109
+ * the legacy per-business key, which is the primary site's config.
110
+ */
111
+ siteId?: string;
106
112
  environment: "production" | "test";
107
113
  }
108
114
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aranova/tracking-react",
3
- "version": "0.26.0",
3
+ "version": "1.0.0",
4
4
  "private": false,
5
5
  "type": "commonjs",
6
6
  "description": "React tracking and consent utilities for Aranova client sites",
@@ -80,7 +80,7 @@
80
80
  },
81
81
  "dependencies": {
82
82
  "libphonenumber-js": "^1.11.0",
83
- "zod": "^3.24.1"
83
+ "zod": "^4.6.2"
84
84
  },
85
85
  "devDependencies": {
86
86
  "@types/react": "^19.2.2",