@artsy/cohesion 4.231.0 → 4.232.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 +12 -0
- package/dist/Schema/Events/ImpressionTracking.d.ts +14 -12
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v4.232.0 (Tue Feb 11 2025)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- feat(EMI-2276): adding estimate_available for when widget fails [#557](https://github.com/artsy/cohesion/pull/557) ([@xander-pero](https://github.com/xander-pero))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- [@xander-pero](https://github.com/xander-pero)
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v4.231.0 (Wed Feb 05 2025)
|
|
2
14
|
|
|
3
15
|
#### 🚀 Enhancement
|
|
@@ -294,23 +294,24 @@ export interface CreateAlertReminderMessageViewed {
|
|
|
294
294
|
context_module: ContextModule.artistArtworksCreateAlertReminderMessage;
|
|
295
295
|
}
|
|
296
296
|
/**
|
|
297
|
-
* User sees a shipping estimate
|
|
297
|
+
* User sees a shipping estimate. estimate_available = false when artwork is disqualified
|
|
298
|
+
* from arta (due to size, weight, origin country) and therefore does not show an estimate
|
|
298
299
|
*
|
|
299
300
|
* This schema describes events sent to segment from [[ArtsyShippingEstimateViewed]]
|
|
300
301
|
*
|
|
301
302
|
* @example
|
|
302
303
|
* ```
|
|
303
304
|
* {
|
|
304
|
-
*
|
|
305
|
-
*
|
|
306
|
-
*
|
|
307
|
-
*
|
|
308
|
-
*
|
|
309
|
-
*
|
|
310
|
-
*
|
|
311
|
-
*
|
|
312
|
-
*
|
|
313
|
-
*
|
|
305
|
+
* action: "shippingEstimateViewed",
|
|
306
|
+
* context_page_owner_type: "artwork",
|
|
307
|
+
* context_page_owner_id: "58de681f275b2464fcdde097",
|
|
308
|
+
* context_page_owner_slug: "damien-hirst",
|
|
309
|
+
* origin: "New York, NY, US",
|
|
310
|
+
* destination: "Chicago, IL, US",
|
|
311
|
+
* estimate_available: true | false
|
|
312
|
+
* minimum_estimate: 24 | null
|
|
313
|
+
* maximum_estimate: 78 | null
|
|
314
|
+
* estimate_currency: "USD"
|
|
314
315
|
* }
|
|
315
316
|
* ```
|
|
316
317
|
*/
|
|
@@ -321,7 +322,8 @@ export interface ShippingEstimateViewed {
|
|
|
321
322
|
context_page_owner_slug: string;
|
|
322
323
|
origin: string;
|
|
323
324
|
destination: string;
|
|
324
|
-
|
|
325
|
+
estimate_available: boolean;
|
|
326
|
+
minimum_estimate?: number | null;
|
|
325
327
|
maximum_estimate?: number | null;
|
|
326
328
|
estimate_currency: string;
|
|
327
329
|
}
|