@artsy/cohesion 4.331.0 → 4.332.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/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ # v4.332.0 (Tue Dec 09 2025)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - feat: add level property to navigationDropdownViewed event [#669](https://github.com/artsy/cohesion/pull/669) ([@dblandin](https://github.com/dblandin))
6
+
7
+ #### Authors: 1
8
+
9
+ - devon blandin ([@dblandin](https://github.com/dblandin))
10
+
11
+ ---
12
+
1
13
  # v4.331.0 (Tue Dec 09 2025)
2
14
 
3
15
  #### 🚀 Enhancement
@@ -535,24 +535,26 @@ export interface ImmersiveViewArtworkDisplayed {
535
535
  *
536
536
  * This schema describes events sent to Segment from [[NavigationDropdownViewed]].
537
537
  *
538
- * @example Desktop hover:
538
+ * @example Desktop hover (always level 0):
539
539
  * ```
540
540
  * {
541
541
  * action: "navigationDropdownViewed",
542
542
  * context_module: "header",
543
543
  * context_page_owner_type: "home",
544
544
  * navigation_item: "Artists",
545
+ * level: 0,
545
546
  * interaction_type: "hover"
546
547
  * }
547
548
  * ```
548
549
  *
549
- * @example Mobile web drilldown:
550
+ * @example Mobile web drilldown (level 1):
550
551
  * ```
551
552
  * {
552
553
  * action: "navigationDropdownViewed",
553
554
  * context_module: "header",
554
- * context_page_owner_type: "artist",
555
- * navigation_item: "Artists",
555
+ * context_page_owner_type: "home",
556
+ * navigation_item: "Blue-Chip Artists",
557
+ * level: 1,
556
558
  * interaction_type: "drilldown"
557
559
  * }
558
560
  * ```
@@ -564,5 +566,6 @@ export interface NavigationDropdownViewed {
564
566
  context_page_owner_id?: string;
565
567
  context_page_owner_slug?: string;
566
568
  navigation_item: string;
569
+ level: number;
567
570
  interaction_type: "hover" | "drilldown";
568
571
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/cohesion",
3
- "version": "4.331.0",
3
+ "version": "4.332.0",
4
4
  "description": "Analytics schema",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {