@artsy/cohesion 4.306.0 → 4.307.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.307.0 (Wed Oct 01 2025)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - fix: prefer 'type' for distinguishing immersive view clicks [#642](https://github.com/artsy/cohesion/pull/642) ([@anandaroop](https://github.com/anandaroop))
6
+
7
+ #### Authors: 1
8
+
9
+ - Anandaroop Roy ([@anandaroop](https://github.com/anandaroop))
10
+
11
+ ---
12
+
1
13
  # v4.306.0 (Tue Sep 30 2025)
2
14
 
3
15
  #### 🚀 Enhancement
@@ -623,6 +623,8 @@ export interface ClickedFairCard {
623
623
  * Currently, this event only fires on our new artwork grids on the following pages: Collect, Collection, Artist works-for-sale, and Search Results.
624
624
  * Note: This event is separate from [[clickedArtworkGroup]] because it is an important and frequent event. Separating it out will make it easier for analysts to access.
625
625
  *
626
+ * This event is also used for the immersive view on artwork grids, distinguished by the `type` field.
627
+ *
626
628
  * This schema describes events sent to Segment from [[clickedMainArtworkGrid]]
627
629
  *
628
630
  * @example
@@ -650,7 +652,7 @@ export interface ClickedMainArtworkGrid {
650
652
  destination_page_owner_type: PageOwnerType;
651
653
  destination_page_owner_id: string;
652
654
  destination_page_owner_slug: string;
653
- type: "thumbnail";
655
+ type: "thumbnail" | "immersive";
654
656
  position?: number;
655
657
  sort?: string;
656
658
  signal_label?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/cohesion",
3
- "version": "4.306.0",
3
+ "version": "4.307.0",
4
4
  "description": "Analytics schema",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {