@artsy/cohesion 4.383.0 → 4.385.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.385.0 (Tue Jul 07 2026)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - fix: allow CompletedArtworkDistribution to fire on any owner type [#729](https://github.com/artsy/cohesion/pull/729) ([@chr-tatu](https://github.com/chr-tatu))
6
+
7
+ #### Authors: 1
8
+
9
+ - Christian Tatu ([@chr-tatu](https://github.com/chr-tatu))
10
+
11
+ ---
12
+
13
+ # v4.384.0 (Fri Jul 03 2026)
14
+
15
+ #### 🚀 Enhancement
16
+
17
+ - feat: add edition_set_id to EditedInventoryField event [#728](https://github.com/artsy/cohesion/pull/728) ([@chr-tatu](https://github.com/chr-tatu))
18
+
19
+ #### Authors: 1
20
+
21
+ - Christian Tatu ([@chr-tatu](https://github.com/chr-tatu))
22
+
23
+ ---
24
+
1
25
  # v4.383.0 (Thu Jul 02 2026)
2
26
 
3
27
  #### 🚀 Enhancement
@@ -332,6 +332,7 @@ export interface OsClickedActionsDropdown {
332
332
  * context_page_owner_type: "inventory",
333
333
  * destination: ["artsy"],
334
334
  * artwork_id: "abc123",
335
+ * edition_set_id: "xyz789",
335
336
  * field: "availability",
336
337
  * did_push_to_cms: false
337
338
  * }
@@ -344,6 +345,8 @@ export interface EditedInventoryField {
344
345
  /** Downstream destinations the value was pushed to (e.g. ["artsy"]) */
345
346
  destination: string[];
346
347
  artwork_id: string;
348
+ /** The edition set the edited value belongs to, when the edit targets an edition set row */
349
+ edition_set_id?: string;
347
350
  field: "availability" | "medium" | "price";
348
351
  /** false e.g. for "Not For Sale" (OS-only value that does not push to the destination) */
349
352
  did_push_to_cms: boolean;
@@ -100,7 +100,7 @@ export interface DistributedArtworks {
100
100
  export interface CompletedArtworkDistribution {
101
101
  action: OsActionType.completedArtworkDistribution;
102
102
  context_module: OsContextModule.artworkTable;
103
- context_page_owner_type: OsOwnerType.inventory;
103
+ context_page_owner_type: OsOwnerType;
104
104
  /** Destination marketplaces (currently Artsy only; extensible) */
105
105
  destination: string[];
106
106
  total_artworks: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/cohesion",
3
- "version": "4.383.0",
3
+ "version": "4.385.0",
4
4
  "description": "Analytics schema",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {