@aranova/tracking-next 0.26.0 → 0.27.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 +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +15 -9
- package/dist/client.js.map +1 -1
- package/dist/client.mjs +15 -9
- package/dist/client.mjs.map +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +7 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -4
- package/dist/index.mjs.map +1 -1
- package/dist/{ingest-typed-BioxtBJD.d.mts → ingest-typed-BxLFlZ7N.d.mts} +6 -0
- package/dist/{ingest-typed-C-SPiigr.d.ts → ingest-typed-ByQVRMvP.d.ts} +6 -0
- package/dist/middleware.js +3 -1
- package/dist/middleware.js.map +1 -1
- package/dist/middleware.mjs +3 -1
- package/dist/middleware.mjs.map +1 -1
- package/dist/phone.js +3 -1
- package/dist/phone.js.map +1 -1
- package/dist/phone.mjs +3 -1
- package/dist/phone.mjs.map +1 -1
- package/dist/{sales-f1iXwlaV.d.mts → sales-DQGzXSgL.d.mts} +1 -1
- package/dist/{sales-C3dIw4LW.d.ts → sales-IGC2tq4J.d.ts} +1 -1
- package/dist/sales.d.mts +2 -2
- package/dist/sales.d.ts +2 -2
- package/dist/sales.js.map +1 -1
- package/dist/sales.mjs.map +1 -1
- package/dist/server.js +3 -1
- package/dist/server.js.map +1 -1
- package/dist/server.mjs +3 -1
- package/dist/server.mjs.map +1 -1
- package/dist/{tracking-config-runtime-BnUlS_Ae.d.mts → tracking-config-runtime-D7prdTE1.d.mts} +6 -0
- package/dist/{tracking-config-runtime-BnUlS_Ae.d.ts → tracking-config-runtime-D7prdTE1.d.ts} +6 -0
- package/package.json +1 -1
|
@@ -103,6 +103,7 @@ declare const sdkHeartbeatMetadataSchema: z.ZodObject<{
|
|
|
103
103
|
}>;
|
|
104
104
|
trigger_config: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
105
105
|
configured_gtag_ids: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
106
|
+
config_site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
106
107
|
}, "strict", z.ZodTypeAny, {
|
|
107
108
|
sdk_version: string;
|
|
108
109
|
package_name: string | null;
|
|
@@ -113,6 +114,7 @@ declare const sdkHeartbeatMetadataSchema: z.ZodObject<{
|
|
|
113
114
|
};
|
|
114
115
|
trigger_config?: Record<string, Record<string, unknown>> | null | undefined;
|
|
115
116
|
configured_gtag_ids?: Record<string, string> | null | undefined;
|
|
117
|
+
config_site_id?: string | null | undefined;
|
|
116
118
|
}, {
|
|
117
119
|
sdk_version: string;
|
|
118
120
|
package_name: string | null;
|
|
@@ -123,6 +125,7 @@ declare const sdkHeartbeatMetadataSchema: z.ZodObject<{
|
|
|
123
125
|
};
|
|
124
126
|
trigger_config?: Record<string, Record<string, unknown>> | null | undefined;
|
|
125
127
|
configured_gtag_ids?: Record<string, string> | null | undefined;
|
|
128
|
+
config_site_id?: string | null | undefined;
|
|
126
129
|
}>;
|
|
127
130
|
type SdkHeartbeatMetadata = z.infer<typeof sdkHeartbeatMetadataSchema>;
|
|
128
131
|
/**
|
|
@@ -933,6 +936,7 @@ declare const EVENT_REGISTRY: {
|
|
|
933
936
|
}>;
|
|
934
937
|
trigger_config: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
935
938
|
configured_gtag_ids: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
939
|
+
config_site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
936
940
|
}, "strict", z.ZodTypeAny, {
|
|
937
941
|
sdk_version: string;
|
|
938
942
|
package_name: string | null;
|
|
@@ -943,6 +947,7 @@ declare const EVENT_REGISTRY: {
|
|
|
943
947
|
};
|
|
944
948
|
trigger_config?: Record<string, Record<string, unknown>> | null | undefined;
|
|
945
949
|
configured_gtag_ids?: Record<string, string> | null | undefined;
|
|
950
|
+
config_site_id?: string | null | undefined;
|
|
946
951
|
}, {
|
|
947
952
|
sdk_version: string;
|
|
948
953
|
package_name: string | null;
|
|
@@ -953,6 +958,7 @@ declare const EVENT_REGISTRY: {
|
|
|
953
958
|
};
|
|
954
959
|
trigger_config?: Record<string, Record<string, unknown>> | null | undefined;
|
|
955
960
|
configured_gtag_ids?: Record<string, string> | null | undefined;
|
|
961
|
+
config_site_id?: string | null | undefined;
|
|
956
962
|
}>;
|
|
957
963
|
readonly configSchema: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
958
964
|
};
|
|
@@ -103,6 +103,7 @@ declare const sdkHeartbeatMetadataSchema: z.ZodObject<{
|
|
|
103
103
|
}>;
|
|
104
104
|
trigger_config: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
105
105
|
configured_gtag_ids: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
106
|
+
config_site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
106
107
|
}, "strict", z.ZodTypeAny, {
|
|
107
108
|
sdk_version: string;
|
|
108
109
|
package_name: string | null;
|
|
@@ -113,6 +114,7 @@ declare const sdkHeartbeatMetadataSchema: z.ZodObject<{
|
|
|
113
114
|
};
|
|
114
115
|
trigger_config?: Record<string, Record<string, unknown>> | null | undefined;
|
|
115
116
|
configured_gtag_ids?: Record<string, string> | null | undefined;
|
|
117
|
+
config_site_id?: string | null | undefined;
|
|
116
118
|
}, {
|
|
117
119
|
sdk_version: string;
|
|
118
120
|
package_name: string | null;
|
|
@@ -123,6 +125,7 @@ declare const sdkHeartbeatMetadataSchema: z.ZodObject<{
|
|
|
123
125
|
};
|
|
124
126
|
trigger_config?: Record<string, Record<string, unknown>> | null | undefined;
|
|
125
127
|
configured_gtag_ids?: Record<string, string> | null | undefined;
|
|
128
|
+
config_site_id?: string | null | undefined;
|
|
126
129
|
}>;
|
|
127
130
|
type SdkHeartbeatMetadata = z.infer<typeof sdkHeartbeatMetadataSchema>;
|
|
128
131
|
/**
|
|
@@ -933,6 +936,7 @@ declare const EVENT_REGISTRY: {
|
|
|
933
936
|
}>;
|
|
934
937
|
trigger_config: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
935
938
|
configured_gtag_ids: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
939
|
+
config_site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
936
940
|
}, "strict", z.ZodTypeAny, {
|
|
937
941
|
sdk_version: string;
|
|
938
942
|
package_name: string | null;
|
|
@@ -943,6 +947,7 @@ declare const EVENT_REGISTRY: {
|
|
|
943
947
|
};
|
|
944
948
|
trigger_config?: Record<string, Record<string, unknown>> | null | undefined;
|
|
945
949
|
configured_gtag_ids?: Record<string, string> | null | undefined;
|
|
950
|
+
config_site_id?: string | null | undefined;
|
|
946
951
|
}, {
|
|
947
952
|
sdk_version: string;
|
|
948
953
|
package_name: string | null;
|
|
@@ -953,6 +958,7 @@ declare const EVENT_REGISTRY: {
|
|
|
953
958
|
};
|
|
954
959
|
trigger_config?: Record<string, Record<string, unknown>> | null | undefined;
|
|
955
960
|
configured_gtag_ids?: Record<string, string> | null | undefined;
|
|
961
|
+
config_site_id?: string | null | undefined;
|
|
956
962
|
}>;
|
|
957
963
|
readonly configSchema: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
958
964
|
};
|
package/dist/middleware.js
CHANGED
|
@@ -114,7 +114,9 @@ var sdkHeartbeatMetadataSchema = import_zod3.z.object({
|
|
|
114
114
|
surface: import_zod3.z.enum(["next", "react", "script"]),
|
|
115
115
|
triggers: sdkHeartbeatTriggersSchema,
|
|
116
116
|
trigger_config: import_zod3.z.record(import_zod3.z.string(), import_zod3.z.record(import_zod3.z.string(), import_zod3.z.unknown())).nullable().optional(),
|
|
117
|
-
configured_gtag_ids: import_zod3.z.record(import_zod3.z.string(), import_zod3.z.string()).nullable().optional()
|
|
117
|
+
configured_gtag_ids: import_zod3.z.record(import_zod3.z.string(), import_zod3.z.string()).nullable().optional(),
|
|
118
|
+
// Site whose config object the SDK resolves; null on a legacy business ref.
|
|
119
|
+
config_site_id: import_zod3.z.string().uuid().nullable().optional()
|
|
118
120
|
}).strict();
|
|
119
121
|
var sdkHeartbeatConfigSchema = import_zod3.z.object({}).strict();
|
|
120
122
|
|