@artsy/cohesion 4.23.0 → 4.26.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,63 @@
1
+ # v4.26.0 (Wed Dec 15 2021)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - feat: add auth intent to create alert [#274](https://github.com/artsy/cohesion/pull/274) ([@dblandin](https://github.com/dblandin))
6
+
7
+ #### 🏠 Internal
8
+
9
+ - chore(deps): update yarn orb from 6.0.0 to v6.1.0 [#273](https://github.com/artsy/cohesion/pull/273) ([@renovate-bot](https://github.com/renovate-bot))
10
+ - chore(deps): update dep typescript from 4.5.3 to v4.5.4 [#272](https://github.com/artsy/cohesion/pull/272) ([@renovate-bot](https://github.com/renovate-bot))
11
+
12
+ #### Authors: 2
13
+
14
+ - Devon Blandin ([@dblandin](https://github.com/dblandin))
15
+ - WhiteSource Renovate ([@renovate-bot](https://github.com/renovate-bot))
16
+
17
+ ---
18
+
19
+ # v4.25.1 (Fri Dec 10 2021)
20
+
21
+ #### 🐛 Bug Fix
22
+
23
+ - chore(inclusive-language): Rename master -> main [#270](https://github.com/artsy/cohesion/pull/270) ([@damassi](https://github.com/damassi))
24
+
25
+ #### 🏠 Internal
26
+
27
+ - chore(deps): update dep typescript from 4.5.2 to v4.5.3 [#269](https://github.com/artsy/cohesion/pull/269) ([@renovate-bot](https://github.com/renovate-bot))
28
+
29
+ #### Authors: 2
30
+
31
+ - Christopher Pappas ([@damassi](https://github.com/damassi))
32
+ - WhiteSource Renovate ([@renovate-bot](https://github.com/renovate-bot))
33
+
34
+ ---
35
+
36
+ # v4.25.0 (Mon Nov 29 2021)
37
+
38
+ #### 🚀 Enhancement
39
+
40
+ - [FX-3343] Remove deprecated clickedAppDownload helper [#261](https://github.com/artsy/cohesion/pull/261) ([@lidimayra](https://github.com/lidimayra) [@mdole](https://github.com/mdole))
41
+
42
+ #### Authors: 2
43
+
44
+ - Lidiane Taquehara ([@lidimayra](https://github.com/lidimayra))
45
+ - Matt Dole ([@mdole](https://github.com/mdole))
46
+
47
+ ---
48
+
49
+ # v4.24.0 (Mon Nov 29 2021)
50
+
51
+ #### 🚀 Enhancement
52
+
53
+ - [FX-3344] Remove deprecated clickedArticleGroup helper [#267](https://github.com/artsy/cohesion/pull/267) ([@lidimayra](https://github.com/lidimayra))
54
+
55
+ #### Authors: 1
56
+
57
+ - Lidiane Taquehara ([@lidimayra](https://github.com/lidimayra))
58
+
59
+ ---
60
+
1
61
  # v4.23.0 (Tue Nov 23 2021)
2
62
 
3
63
  #### 🚀 Enhancement
@@ -783,7 +843,7 @@
783
843
 
784
844
  # v1.81.1 (Wed Mar 31 2021)
785
845
 
786
- #### ⚠️ Pushed to `master`
846
+ #### ⚠️ Pushed to `main`
787
847
 
788
848
  - Make some props optional ([@damassi](https://github.com/damassi))
789
849
 
@@ -969,7 +1029,7 @@
969
1029
 
970
1030
  - feat: adds position and sort args to artwork click [#157](https://github.com/artsy/cohesion/pull/157) ([@dzucconi](https://github.com/dzucconi))
971
1031
 
972
- #### ⚠️ Pushed to `master`
1032
+ #### ⚠️ Pushed to `main`
973
1033
 
974
1034
  - Update README.md ([@damassi](https://github.com/damassi))
975
1035
 
@@ -999,7 +1059,7 @@
999
1059
 
1000
1060
  # v1.68.2 (Tue Jan 12 2021)
1001
1061
 
1002
- #### ⚠️ Pushed to `master`
1062
+ #### ⚠️ Pushed to `main`
1003
1063
 
1004
1064
  - Update pull_request_template.md ([@damassi](https://github.com/damassi))
1005
1065
 
@@ -1011,7 +1071,7 @@
1011
1071
 
1012
1072
  # v1.68.1 (Tue Jan 12 2021)
1013
1073
 
1014
- #### ⚠️ Pushed to `master`
1074
+ #### ⚠️ Pushed to `main`
1015
1075
 
1016
1076
  - Create pull_request_template.md ([@damassi](https://github.com/damassi))
1017
1077
 
@@ -1600,7 +1660,7 @@
1600
1660
 
1601
1661
  # v1.33.5 (Wed Sep 02 2020)
1602
1662
 
1603
- #### ⚠️ Pushed to `master`
1663
+ #### ⚠️ Pushed to `main`
1604
1664
 
1605
1665
  - Add recommendedArtistsRail to AuthContextModule ([@eessex](https://github.com/eessex))
1606
1666
 
@@ -1612,7 +1672,7 @@
1612
1672
 
1613
1673
  # v1.33.4 (Mon Aug 31 2020)
1614
1674
 
1615
- #### ⚠️ Pushed to `master`
1675
+ #### ⚠️ Pushed to `main`
1616
1676
 
1617
1677
  - Add fairRail to AuthContextModule ([@eessex](https://github.com/eessex))
1618
1678
 
@@ -1624,7 +1684,7 @@
1624
1684
 
1625
1685
  # v1.33.3 (Thu Aug 27 2020)
1626
1686
 
1627
- #### ⚠️ Pushed to `master`
1687
+ #### ⚠️ Pushed to `main`
1628
1688
 
1629
1689
  - Add topWorksRail to AuthContextModule ([@eessex](https://github.com/eessex))
1630
1690
 
@@ -1648,7 +1708,7 @@
1648
1708
 
1649
1709
  # v1.33.1 (Wed Aug 26 2020)
1650
1710
 
1651
- #### ⚠️ Pushed to `master`
1711
+ #### ⚠️ Pushed to `main`
1652
1712
 
1653
1713
  - Add artistSeriesRail to AuthContextModule ([@eessex](https://github.com/eessex))
1654
1714
 
@@ -1684,7 +1744,7 @@
1684
1744
 
1685
1745
  # v1.31.1 (Mon Aug 24 2020)
1686
1746
 
1687
- #### ⚠️ Pushed to `master`
1747
+ #### ⚠️ Pushed to `main`
1688
1748
 
1689
1749
  - add featuredArtists to AuthContextModule ([@eessex](https://github.com/eessex))
1690
1750
 
@@ -1700,9 +1760,9 @@
1700
1760
 
1701
1761
  - Use auth context for follow [#95](https://github.com/artsy/cohesion/pull/95) ([@eessex](https://github.com/eessex))
1702
1762
 
1703
- #### ⚠️ Pushed to `master`
1763
+ #### ⚠️ Pushed to `main`
1704
1764
 
1705
- - Merge branch 'master' of https://github.com/artsy/cohesion ([@eessex](https://github.com/eessex))
1765
+ - Merge branch 'main' of https://github.com/artsy/cohesion ([@eessex](https://github.com/eessex))
1706
1766
  - include popularArtistsRail in AuthContextModule ([@eessex](https://github.com/eessex))
1707
1767
 
1708
1768
  #### Authors: 1
@@ -2035,7 +2095,7 @@
2035
2095
 
2036
2096
  # v1.6.2 (Thu Jun 11 2020)
2037
2097
 
2038
- #### ⚠️ Pushed to `master`
2098
+ #### ⚠️ Pushed to `main`
2039
2099
 
2040
2100
  - casing hotfix ([@eessex](https://github.com/eessex))
2041
2101
 
@@ -2270,7 +2330,7 @@
2270
2330
 
2271
2331
  # v0.2.7 (Thu Apr 23 2020)
2272
2332
 
2273
- #### ⚠️ Pushed to `master`
2333
+ #### ⚠️ Pushed to `main`
2274
2334
 
2275
2335
  - Add docs URL to Readme ([@eessex](https://github.com/eessex))
2276
2336
 
@@ -2303,12 +2363,12 @@
2303
2363
 
2304
2364
  # v0.2.5 (Wed Apr 22 2020)
2305
2365
 
2306
- #### ⚠️ Pushed to `master`
2366
+ #### ⚠️ Pushed to `main`
2307
2367
 
2308
2368
  - only run tests from /src directory ([@eessex](https://github.com/eessex))
2309
2369
  - Fixes tests ([@abhitip](https://github.com/abhitip))
2310
2370
  - Event helpers match updated schema ([@abhitip](https://github.com/abhitip))
2311
- - Merge branch 'master' of github.com:artsy/cohesion into reset-your-password ([@abhitip](https://github.com/abhitip))
2371
+ - Merge branch 'main' of github.com:artsy/cohesion into reset-your-password ([@abhitip](https://github.com/abhitip))
2312
2372
  - Enriches events with properties carried over from authImpression ([@abhitip](https://github.com/abhitip))
2313
2373
  - alphabetizes properties ([@abhitip](https://github.com/abhitip))
2314
2374
  - Adds resetYourPassword ([@abhitip](https://github.com/abhitip))
@@ -2322,7 +2382,7 @@
2322
2382
 
2323
2383
  # v0.2.4 (Wed Apr 22 2020)
2324
2384
 
2325
- #### ⚠️ Pushed to `master`
2385
+ #### ⚠️ Pushed to `main`
2326
2386
 
2327
2387
  - fix example comment formatting ([@eessex](https://github.com/eessex))
2328
2388
 
@@ -2441,4 +2501,4 @@
2441
2501
  #### Authors: 2
2442
2502
 
2443
2503
  - Eve Essex ([@eessex](https://github.com/eessex))
2444
- - WhiteSource Renovate ([@renovate-bot](https://github.com/renovate-bot))
2504
+ - WhiteSource Renovate ([@renovate-bot](https://github.com/renovate-bot))
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
  - **GitHub:** https://github.com/artsy/cohesion
7
7
  - **Docs:** https://cohesion.artsy.net
8
8
  - **Ci**: https://circleci.com/gh/artsy/cohesion
9
- - **[NPM](https://www.npmjs.com/package/@artsy/cohesion):** Package updates are published automatically on successful merges to master. Canaries are available on PR's from feature branches.
9
+ - **[NPM](https://www.npmjs.com/package/@artsy/cohesion):** Package updates are published automatically on successful merges to main. Canaries are available on PR's from feature branches.
10
10
  - **Point People**: [@damassi][], [@abhitip][]
11
11
 
12
12
  ## Contributing
@@ -75,7 +75,7 @@ export interface MyNewEvent {
75
75
  }
76
76
  ```
77
77
 
78
- 3. In `Schema/Events/index.ts`, add the new interface to the valid events master list, `Event`
78
+ 3. In `Schema/Events/index.ts`, add the new interface to the valid events main list, `Event`
79
79
 
80
80
  4. Add descriptive comments with examples to explain the use of your new event. Our documentation is generated automatically from in-code comments, find more information on syntax in the [`typedoc` docs][typedoc_docs].
81
81
 
@@ -1,7 +1,5 @@
1
1
  export * from "./AddToCalendar";
2
2
  export * from "./Share";
3
- export * from "./Click/ClickedAppDownload";
4
- export * from "./Click/ClickedArticleGroup";
5
3
  export * from "./Click/ClickedArtistSeriesGroup";
6
4
  export * from "./Click/ClickedCollectionGroup";
7
5
  export * from "./Click/ClickedEntityGroup";
@@ -28,30 +28,6 @@ Object.keys(_Share).forEach(function (key) {
28
28
  });
29
29
  });
30
30
 
31
- var _ClickedAppDownload = require("./Click/ClickedAppDownload");
32
-
33
- Object.keys(_ClickedAppDownload).forEach(function (key) {
34
- if (key === "default" || key === "__esModule") return;
35
- Object.defineProperty(exports, key, {
36
- enumerable: true,
37
- get: function get() {
38
- return _ClickedAppDownload[key];
39
- }
40
- });
41
- });
42
-
43
- var _ClickedArticleGroup = require("./Click/ClickedArticleGroup");
44
-
45
- Object.keys(_ClickedArticleGroup).forEach(function (key) {
46
- if (key === "default" || key === "__esModule") return;
47
- Object.defineProperty(exports, key, {
48
- enumerable: true,
49
- get: function get() {
50
- return _ClickedArticleGroup[key];
51
- }
52
- });
53
- });
54
-
55
31
  var _ClickedArtistSeriesGroup = require("./Click/ClickedArtistSeriesGroup");
56
32
 
57
33
  Object.keys(_ClickedArtistSeriesGroup).forEach(function (key) {
@@ -8,6 +8,7 @@ export declare enum Intent {
8
8
  bid = "bid",
9
9
  buyNow = "buyNow",
10
10
  consign = "consign",
11
+ createAlert = "createAlert",
11
12
  followArtist = "followArtist",
12
13
  followPartner = "followPartner",
13
14
  followGene = "followGene",
@@ -33,4 +34,4 @@ export declare enum Intent {
33
34
  *
34
35
  * An action taken that prompted the user to view an authentication form
35
36
  */
36
- export declare type AuthIntent = Intent.bid | Intent.buyNow | Intent.consign | Intent.followArtist | Intent.followGene | Intent.followPartner | Intent.forgot | Intent.inquire | Intent.login | Intent.seeEstimateAuctionRecords | Intent.seePriceAuctionRecords | Intent.seeRealizedPriceAuctionRecords | Intent.makeOffer | Intent.registerToBid | Intent.requestConditionReport | Intent.saveArtwork | Intent.signup | Intent.viewAuctionResults | Intent.viewArtist | Intent.viewEditorial | Intent.viewFair | Intent.viewViewingRoom;
37
+ export declare type AuthIntent = Intent.bid | Intent.buyNow | Intent.consign | Intent.createAlert | Intent.followArtist | Intent.followGene | Intent.followPartner | Intent.forgot | Intent.inquire | Intent.login | Intent.seeEstimateAuctionRecords | Intent.seePriceAuctionRecords | Intent.seeRealizedPriceAuctionRecords | Intent.makeOffer | Intent.registerToBid | Intent.requestConditionReport | Intent.saveArtwork | Intent.signup | Intent.viewAuctionResults | Intent.viewArtist | Intent.viewEditorial | Intent.viewFair | Intent.viewViewingRoom;
@@ -24,6 +24,7 @@ exports.Intent = Intent;
24
24
  Intent["bid"] = "bid";
25
25
  Intent["buyNow"] = "buyNow";
26
26
  Intent["consign"] = "consign";
27
+ Intent["createAlert"] = "createAlert";
27
28
  Intent["followArtist"] = "followArtist";
28
29
  Intent["followPartner"] = "followPartner";
29
30
  Intent["followGene"] = "followGene";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/cohesion",
3
- "version": "4.23.0",
3
+ "version": "4.26.0",
4
4
  "description": "Analytics schema",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {
@@ -47,7 +47,7 @@
47
47
  "lint-staged": "10.1.7",
48
48
  "prettier": "2.0.5",
49
49
  "typedoc": "0.17.7",
50
- "typescript": "4.5.2"
50
+ "typescript": "4.5.4"
51
51
  },
52
52
  "dependencies": {
53
53
  "core-js": "3"
@@ -1,2 +0,0 @@
1
- import { ClickedAppDownload } from "../../Schema";
2
- export declare const clickedAppDownload: (props: Omit<ClickedAppDownload, "action">) => ClickedAppDownload;
@@ -1,22 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.clickedAppDownload = void 0;
7
-
8
- var _Schema = require("../../Schema");
9
-
10
- var clickedAppDownload = function clickedAppDownload(props) {
11
- return {
12
- action: _Schema.ActionType.clickedAppDownload,
13
- context_module: props.context_module,
14
- context_page_owner_id: props.context_page_owner_id,
15
- context_page_owner_slug: props.context_page_owner_slug,
16
- context_page_owner_type: props.context_page_owner_type,
17
- destination_path: props.destination_path,
18
- subject: props.subject
19
- };
20
- };
21
-
22
- exports.clickedAppDownload = clickedAppDownload;
@@ -1,2 +0,0 @@
1
- import { ClickedArticleGroup } from "../../Schema";
2
- export declare const clickedArticleGroup: (props: Omit<ClickedArticleGroup, "action" | "type">) => ClickedArticleGroup;
@@ -1,22 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.clickedArticleGroup = void 0;
7
-
8
- var _Schema = require("../../Schema");
9
-
10
- var clickedArticleGroup = function clickedArticleGroup(props) {
11
- return {
12
- action: _Schema.ActionType.clickedArticleGroup,
13
- context_module: _Schema.ContextModule.relatedArticles,
14
- context_page_owner_type: props.context_page_owner_type,
15
- destination_page_owner_id: props.destination_page_owner_id,
16
- destination_page_owner_slug: props.destination_page_owner_slug,
17
- destination_page_owner_type: props.destination_page_owner_type,
18
- type: "thumbnail"
19
- };
20
- };
21
-
22
- exports.clickedArticleGroup = clickedArticleGroup;