platform-types 1.10.740 → 1.10.741
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/auth.d.ts +2 -1
- package/dist/store.d.ts +7 -0
- package/package.json +1 -1
package/dist/auth.d.ts
CHANGED
|
@@ -112,7 +112,8 @@ declare global {
|
|
|
112
112
|
* First-touch acquisition captured by the registration client; the api
|
|
113
113
|
* server-stamps `capturedAt`.
|
|
114
114
|
*
|
|
115
|
-
* ⚠️ A STRICT allow-list, not a tracking bag.
|
|
115
|
+
* ⚠️ A STRICT allow-list, not a tracking bag. `fbclid` (Meta's ad click
|
|
116
|
+
* id) is the ONE click id accepted; any other unknown key (`gclid`,
|
|
116
117
|
* `utm_term`, a raw referrer, a client-sent `capturedAt`) refuses the WHOLE
|
|
117
118
|
* registration. Send all three required keys or omit the object entirely.
|
|
118
119
|
*/
|
package/dist/store.d.ts
CHANGED
|
@@ -346,6 +346,13 @@ declare global {
|
|
|
346
346
|
medium: string;
|
|
347
347
|
campaign: string;
|
|
348
348
|
content?: string;
|
|
349
|
+
/**
|
|
350
|
+
* Meta's ad click id (the `fbclid` URL parameter), present only when the
|
|
351
|
+
* sign-up arrived from a Meta ad. Case-sensitive: stored and sent to Meta
|
|
352
|
+
* byte-for-byte. Trimmed, then 1–500 characters of `[A-Za-z0-9_-]`; only
|
|
353
|
+
* ever present together with the required UTM keys above.
|
|
354
|
+
*/
|
|
355
|
+
fbclid?: string;
|
|
349
356
|
/** Unix ms, stamped by the api from the registration timestamp. */
|
|
350
357
|
capturedAt: number;
|
|
351
358
|
}
|