@aranova/tracking-next 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/blog-server.js.map +1 -1
- package/dist/blog-server.mjs.map +1 -1
- package/dist/blog.js.map +1 -1
- package/dist/blog.mjs.map +1 -1
- package/dist/calendar-server.js.map +1 -1
- package/dist/calendar-server.mjs.map +1 -1
- package/dist/calendar.js.map +1 -1
- package/dist/calendar.mjs.map +1 -1
- package/dist/client.d.mts +9 -3
- package/dist/client.d.ts +9 -3
- package/dist/client.js +550 -194
- package/dist/client.js.map +1 -1
- package/dist/client.mjs +550 -194
- 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 +336 -271
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +336 -271
- 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-DG150g3o.d.ts → sales-DQC815f3.d.ts} +1 -1
- package/dist/{sales-D7KstKA-.d.mts → sales-w1reW_Y3.d.mts} +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/server.d.mts +1 -1
- package/dist/server.d.ts +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/server.d.mts
CHANGED
package/dist/server.d.ts
CHANGED
package/dist/{tracking-config-runtime-D7prdTE1.d.mts → tracking-config-runtime-C6H7ofmo.d.mts}
RENAMED
|
@@ -39,6 +39,8 @@ interface ConversionConfig {
|
|
|
39
39
|
}>;
|
|
40
40
|
/** Unified goal list (sales + on-page events). Superset of `services`. */
|
|
41
41
|
goals: ConversionGoal[];
|
|
42
|
+
/** Sibling hostnames of this site (roster minus self); the cross-site linker's targets. */
|
|
43
|
+
linked_hostnames?: string[];
|
|
42
44
|
}
|
|
43
45
|
interface ConversionConfigStore {
|
|
44
46
|
/** Firing config for a goal/service key, or null when it doesn't fire on-site. */
|
|
@@ -47,6 +49,8 @@ interface ConversionConfigStore {
|
|
|
47
49
|
getGoal(key: string): ConversionGoal | null;
|
|
48
50
|
/** Every adopted goal (sales + events). */
|
|
49
51
|
listGoals(): ConversionGoal[];
|
|
52
|
+
/** Sibling hostnames for the cross-site linker; empty until a config resolves. */
|
|
53
|
+
linkedHostnames(): readonly string[];
|
|
50
54
|
/** The currently adopted config (baked / cached fallback until the fetch lands). */
|
|
51
55
|
current(): ConversionConfig | null;
|
|
52
56
|
/** True once a config is adopted (seeded synchronously from cache/baked, or fetched). */
|
|
@@ -184,6 +188,8 @@ declare class TrackingConfigRuntime {
|
|
|
184
188
|
fireConversion(key: string, options?: TrackingConfigConversionOptions): void;
|
|
185
189
|
queueAutomaticEvent(eventType: string, metadata: Record<string, unknown>, transactionPath: string, transactionScope: string): void;
|
|
186
190
|
listGoals(): ConversionGoal[];
|
|
191
|
+
/** Sibling hostnames for the linker — read from the cached object even while unconfirmed. */
|
|
192
|
+
linkedHostnames(): readonly string[];
|
|
187
193
|
private revalidateNow;
|
|
188
194
|
private expireAuthority;
|
|
189
195
|
private confirm;
|
package/dist/{tracking-config-runtime-D7prdTE1.d.ts → tracking-config-runtime-C6H7ofmo.d.ts}
RENAMED
|
@@ -39,6 +39,8 @@ interface ConversionConfig {
|
|
|
39
39
|
}>;
|
|
40
40
|
/** Unified goal list (sales + on-page events). Superset of `services`. */
|
|
41
41
|
goals: ConversionGoal[];
|
|
42
|
+
/** Sibling hostnames of this site (roster minus self); the cross-site linker's targets. */
|
|
43
|
+
linked_hostnames?: string[];
|
|
42
44
|
}
|
|
43
45
|
interface ConversionConfigStore {
|
|
44
46
|
/** Firing config for a goal/service key, or null when it doesn't fire on-site. */
|
|
@@ -47,6 +49,8 @@ interface ConversionConfigStore {
|
|
|
47
49
|
getGoal(key: string): ConversionGoal | null;
|
|
48
50
|
/** Every adopted goal (sales + events). */
|
|
49
51
|
listGoals(): ConversionGoal[];
|
|
52
|
+
/** Sibling hostnames for the cross-site linker; empty until a config resolves. */
|
|
53
|
+
linkedHostnames(): readonly string[];
|
|
50
54
|
/** The currently adopted config (baked / cached fallback until the fetch lands). */
|
|
51
55
|
current(): ConversionConfig | null;
|
|
52
56
|
/** True once a config is adopted (seeded synchronously from cache/baked, or fetched). */
|
|
@@ -184,6 +188,8 @@ declare class TrackingConfigRuntime {
|
|
|
184
188
|
fireConversion(key: string, options?: TrackingConfigConversionOptions): void;
|
|
185
189
|
queueAutomaticEvent(eventType: string, metadata: Record<string, unknown>, transactionPath: string, transactionScope: string): void;
|
|
186
190
|
listGoals(): ConversionGoal[];
|
|
191
|
+
/** Sibling hostnames for the linker — read from the cached object even while unconfirmed. */
|
|
192
|
+
linkedHostnames(): readonly string[];
|
|
187
193
|
private revalidateNow;
|
|
188
194
|
private expireAuthority;
|
|
189
195
|
private confirm;
|