@syntrologie/adapt-nav 2.8.0-canary.622 → 2.8.0-canary.623

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/cdn.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  runtime
3
- } from "./chunk-PF77DHF4.js";
4
- import "./chunk-DIQ2BVJZ.js";
3
+ } from "./chunk-Y3F2DEKS.js";
4
+ import "./chunk-7FBFF6YO.js";
5
5
 
6
6
  // src/cdn.ts
7
7
  var manifest = {
@@ -4484,7 +4484,48 @@ var TELEMETRY_EVENTS = {
4484
4484
  subject: "tile",
4485
4485
  verb: "dismissed",
4486
4486
  scope: "open",
4487
- props: ["tile_id", "tile_kind", "visible_ms"]
4487
+ props: ["tile_id", "tile_kind", "visible_ms", "turn_id"]
4488
+ }),
4489
+ // A model-mounted live tile the shopper actually saw: once per instance,
4490
+ // after 500 ms at 50% or more visible. `turn_id` is mounted_by.turn_id as
4491
+ // the server sent it; `widget` is the tile's widget id.
4492
+ syntro_tile_seen: entry({
4493
+ subject: "tile",
4494
+ verb: "seen",
4495
+ scope: "open",
4496
+ props: ["tile_id", "turn_id", "widget"]
4497
+ }),
4498
+ // ONCE per tile life, when the life ends: the tile unmounts, or the open
4499
+ // scope ends (concierge close, removal, pagehide). A tile scrolling out of
4500
+ // view does not end its life. `visible_ms` is the total time the tile was at
4501
+ // least 50% in view, unoccluded and shown, summed across every visible
4502
+ // stretch (paused while the tab is hidden); `tapped` says whether the
4503
+ // shopper engaged one of its controls during that life. Sent only for a
4504
+ // tile that was seen. A remount, or the same tile still mounted in the next
4505
+ // open, is a new life with its own hidden; the first hidden per tile_id is
4506
+ // the life in which it was seen.
4507
+ syntro_tile_hidden: entry({
4508
+ subject: "tile",
4509
+ verb: "hidden",
4510
+ scope: "open",
4511
+ props: ["tile_id", "turn_id", "widget", "visible_ms", "tapped"]
4512
+ }),
4513
+ // The first engagement of a control inside the tile in this life (a link,
4514
+ // button, [role=button], input or select; not the tile's own dismiss X, not a
4515
+ // tap or swipe on the card surface, not Enter in an editable field), whether
4516
+ // or not the 500 ms dwell finished. A tile not yet seen reports seen first.
4517
+ syntro_tile_tapped: entry({
4518
+ subject: "tile",
4519
+ verb: "tapped",
4520
+ scope: "open",
4521
+ props: ["tile_id", "turn_id", "widget", "visible_ms"]
4522
+ }),
4523
+ // A product was added to the cart from inside the tile.
4524
+ syntro_tile_cart_added: entry({
4525
+ subject: "tile_cart",
4526
+ verb: "added",
4527
+ scope: "open",
4528
+ props: ["tile_id", "turn_id", "product"]
4488
4529
  }),
4489
4530
  // A tile's own data load finished: the network wait between the concierge
4490
4531
  // mounting a tile and the shopper seeing its content (BUG-1784767817 was a
@@ -4506,15 +4547,24 @@ var TELEMETRY_EVENTS = {
4506
4547
  subject: "chat_message",
4507
4548
  verb: "sent",
4508
4549
  scope: "open",
4509
- props: ["turn", "chars", "via"]
4510
- // via: ChatSendVia
4550
+ props: ["turn", "chars", "via", "turn_id"]
4551
+ // via: ChatSendVia; turn_id: the user message id
4511
4552
  }),
4512
4553
  syntro_chat_reply_received: entry({
4513
4554
  subject: "chat_reply",
4514
4555
  verb: "received",
4515
4556
  scope: "open",
4516
4557
  // mount_tools: the mount_* tool name of every mount this reply fired, in order (two product cards appear twice).
4517
- props: ["turn", "ttft_ms", "total_ms", "mounts", "cards", "mount_tools"]
4558
+ props: [
4559
+ "turn",
4560
+ "ttft_ms",
4561
+ "total_ms",
4562
+ "mounts",
4563
+ "cards",
4564
+ "mount_tools",
4565
+ "turn_id",
4566
+ "first_tile_ms"
4567
+ ]
4518
4568
  }),
4519
4569
  syntro_chat_interrupted: entry({
4520
4570
  subject: "chat",
@@ -4990,4 +5040,4 @@ export {
4990
5040
  * SPDX-License-Identifier: BSD-3-Clause
4991
5041
  *)
4992
5042
  */
4993
- //# sourceMappingURL=chunk-DIQ2BVJZ.js.map
5043
+ //# sourceMappingURL=chunk-7FBFF6YO.js.map