@artsy/cohesion 4.92.0 → 4.93.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.93.0 (Tue Jan 17 2023)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- chore: update experiment_viewed event to requirements asked by analytics [#390](https://github.com/artsy/cohesion/pull/390) ([@MounirDhahri](https://github.com/MounirDhahri))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Mounir Dhahri ([@MounirDhahri](https://github.com/MounirDhahri))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v4.92.0 (Fri Jan 06 2023)
|
|
2
14
|
|
|
3
15
|
#### 🚀 Enhancement
|
|
@@ -12,13 +12,13 @@ import { ActionType } from ".";
|
|
|
12
12
|
* @example
|
|
13
13
|
* ```
|
|
14
14
|
* {
|
|
15
|
-
* action: "
|
|
16
|
-
* service: "unleash",
|
|
15
|
+
* action: "experiment_viewed",
|
|
17
16
|
* experiment_name: "some_experiment_we_are_running",
|
|
18
17
|
* variant_name: "cool_new_variant",
|
|
19
18
|
* payload: "10", // optional
|
|
20
19
|
* context_owner_type: "artwork",
|
|
21
20
|
* context_owner_id: "55ed8ca57261693d930000b8",
|
|
21
|
+
* context_owner_slug: "slug"
|
|
22
22
|
* }
|
|
23
23
|
* ```
|
|
24
24
|
*
|
|
@@ -28,9 +28,8 @@ import { ActionType } from ".";
|
|
|
28
28
|
*/
|
|
29
29
|
export interface ExperimentViewed {
|
|
30
30
|
action: ActionType.experimentViewed;
|
|
31
|
-
service: "unleash" | string;
|
|
32
31
|
experiment_name: string;
|
|
33
|
-
variant_name:
|
|
32
|
+
variant_name: string;
|
|
34
33
|
payload?: string;
|
|
35
34
|
context_owner_type: OwnerType;
|
|
36
35
|
context_owner_id?: string;
|
|
@@ -103,7 +103,7 @@ exports.ActionType = ActionType;
|
|
|
103
103
|
ActionType["editedSavedSearch"] = "editedSavedSearch";
|
|
104
104
|
ActionType["editedUserProfile"] = "editedUserProfile";
|
|
105
105
|
ActionType["enterLiveAuction"] = "enterLiveAuction";
|
|
106
|
-
ActionType["experimentViewed"] = "
|
|
106
|
+
ActionType["experimentViewed"] = "experiment_viewed";
|
|
107
107
|
ActionType["uploadSizeLimitExceeded"] = "uploadSizeLimitExceeded";
|
|
108
108
|
ActionType["focusedOnConversationMessageInput"] = "focusedOnConversationMessageInput";
|
|
109
109
|
ActionType["focusedOnPriceDatabaseSearchInput"] = "focusedOnPriceDatabaseSearchInput";
|