@artsy/cohesion 4.178.0 → 4.180.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,27 @@
1
+ # v4.180.0 (Mon May 06 2024)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - chore: Adds optional flow metadata to TappedLearnMore interface [#498](https://github.com/artsy/cohesion/pull/498) ([@jpotts244](https://github.com/jpotts244))
6
+
7
+ #### Authors: 1
8
+
9
+ - Jacqueline Potts ([@jpotts244](https://github.com/jpotts244))
10
+
11
+ ---
12
+
13
+ # v4.179.0 (Mon May 06 2024)
14
+
15
+ #### 🚀 Enhancement
16
+
17
+ - fix: broken TappedBuyNow flow type [#497](https://github.com/artsy/cohesion/pull/497) ([@MounirDhahri](https://github.com/MounirDhahri))
18
+
19
+ #### Authors: 1
20
+
21
+ - Mounir Dhahri ([@MounirDhahri](https://github.com/MounirDhahri))
22
+
23
+ ---
24
+
1
25
  # v4.178.0 (Fri May 03 2024)
2
26
 
3
27
  #### 🚀 Enhancement
@@ -744,7 +744,7 @@ export interface TappedBuyNow {
744
744
  context_owner_id: string;
745
745
  context_owner_slug: string;
746
746
  impulse_conversation_id?: string;
747
- flow: string;
747
+ flow?: "Buy now" | "Partner offer";
748
748
  }
749
749
  /**
750
750
  * A user taps on 'Contact Gallery' on an artwork page
@@ -857,7 +857,8 @@ export interface TappedConsignmentInquiry {
857
857
  * context_screen_owner_type: "fair",
858
858
  * context_screen_owner_id: "5f4d80c972737e000deff1ed",
859
859
  * context_screen_owner_slug: "latitude-art-fair-2020",
860
- * subject: "Learn More"
860
+ * subject: "Learn More",
861
+ * flow: "Artsy Guarantee"
861
862
  * }
862
863
  * ```
863
864
  */
@@ -869,6 +870,7 @@ export interface TappedLearnMore {
869
870
  context_screen_owner_slug?: string;
870
871
  /** The text of the tapped button */
871
872
  subject: string;
873
+ flow?: string;
872
874
  }
873
875
  /**
874
876
  * A user long presses an artwork in the app to show a menu
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/cohesion",
3
- "version": "4.178.0",
3
+ "version": "4.180.0",
4
4
  "description": "Analytics schema",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {