Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@artsy/cohesion

Package Overview
Dependencies
Maintainers
14
Versions
455
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@artsy/cohesion - npm Package Compare versions

Comparing version 1.36.0 to 1.37.0

12

CHANGELOG.md

@@ -0,1 +1,13 @@

# v1.37.0 (Mon Sep 28 2020)
#### 🚀 Enhancement
- [AS-1555] Analytics tracking for Fairs work on iOS [#105](https://github.com/artsy/cohesion/pull/105) ([@abhitip](https://github.com/abhitip))
#### Authors: 1
- Abhiti Prabahar ([@abhitip](https://github.com/abhitip))
---
# v1.36.0 (Mon Sep 28 2020)

@@ -2,0 +14,0 @@

16

dist/Schema/Events/index.d.ts
import { AuthImpression, CreatedAccount, ResetYourPassword, SuccessfullyLoggedIn } from "./Authentication";
import { ClickedArticleGroup, ClickedArtistGroup, ClickedArtistSeriesGroup, ClickedArtworkGroup, ClickedAuctionGroup, ClickedCollectionGroup, ClickedFairGroup, ClickedMainArtworkGrid, ClickedNavigationTab, ClickedShowMore } from "./Click";
import { FocusedOnConversationMessageInput, SentConversationMessage } from "./Conversations";
import { TappedArtistGroup, TappedArtistSeriesGroup, TappedArtworkGroup, TappedAuctionGroup, TappedCollectionGroup, TappedConsign, TappedExploreGroup, TappedFairGroup, TappedMainArtworkGrid, TappedPromoSpace, TappedTabBar, TappedViewingRoomGroup } from "./Tap";
import { TappedArticleGroup, TappedArtistGroup, TappedArtistSeriesGroup, TappedArtworkGroup, TappedAuctionGroup, TappedCollectionGroup, TappedConsign, TappedExploreGroup, TappedFairGroup, TappedMainArtworkGrid, TappedNavigationTab, TappedPromoSpace, TappedShowMore, TappedTabBar, TappedViewingRoomGroup } from "./Tap";
import { FollowEvents } from "./SavesAndFollows";

@@ -12,3 +12,3 @@ import { TimeOnPage } from "./System";

*/
export declare type Event = AuthImpression | CreatedAccount | ClickedArticleGroup | ClickedArtistGroup | ClickedArtistSeriesGroup | ClickedArtworkGroup | ClickedAuctionGroup | ClickedCollectionGroup | ClickedFairGroup | ClickedMainArtworkGrid | ClickedNavigationTab | ClickedShowMore | FocusedOnConversationMessageInput | FollowEvents | ResetYourPassword | SentConversationMessage | SuccessfullyLoggedIn | TappedArtistGroup | TappedArtistSeriesGroup | TappedArtworkGroup | TappedAuctionGroup | TappedCollectionGroup | TappedExploreGroup | TappedFairGroup | TappedConsign | TappedMainArtworkGrid | TappedPromoSpace | TappedTabBar | TappedViewingRoomGroup | TimeOnPage;
export declare type Event = AuthImpression | CreatedAccount | ClickedArticleGroup | ClickedArtistGroup | ClickedArtistSeriesGroup | ClickedArtworkGroup | ClickedAuctionGroup | ClickedCollectionGroup | ClickedFairGroup | ClickedMainArtworkGrid | ClickedNavigationTab | ClickedShowMore | FocusedOnConversationMessageInput | FollowEvents | ResetYourPassword | SentConversationMessage | SuccessfullyLoggedIn | TappedArticleGroup | TappedArtistGroup | TappedArtistSeriesGroup | TappedArtworkGroup | TappedAuctionGroup | TappedCollectionGroup | TappedExploreGroup | TappedFairGroup | TappedConsign | TappedNavigationTab | TappedMainArtworkGrid | TappedPromoSpace | TappedShowMore | TappedTabBar | TappedViewingRoomGroup | TimeOnPage;
/**

@@ -101,2 +101,6 @@ * The top-level actions an Event describes.

/**
* Corresponds to {@link TappedArticleGroup}
*/
tappedArticleGroup = "tappedArticleGroup",
/**
* Corresponds to {@link TappedArtistGroup}

@@ -150,2 +154,10 @@ */

/**
* Corresponds to {@link TappedShowMore}
*/
tappedShowMore = "tappedShowMore",
/**
* Corresponds to {@link TappedNavigationTab}
*/
tappedNavigationTab = "tappedNavigationTab",
/**
* Corresponds to {@link TimeOnPage}

@@ -152,0 +164,0 @@ */

@@ -43,2 +43,3 @@ "use strict";

ActionType["sentConversationMessage"] = "sentConversationMessage";
ActionType["tappedArticleGroup"] = "tappedArticleGroup";
ActionType["tappedArtistGroup"] = "tappedArtistGroup";

@@ -56,2 +57,4 @@ ActionType["tappedArtistSeriesGroup"] = "tappedArtistSeriesGroup";

ActionType["tappedViewingRoomGroup"] = "tappedViewingRoomGroup";
ActionType["tappedShowMore"] = "tappedShowMore";
ActionType["tappedNavigationTab"] = "tappedNavigationTab";
ActionType["timeOnPage"] = "timeOnPage";

@@ -58,0 +61,0 @@ ActionType["unfollowedArtist"] = "unfollowedArtist";

@@ -17,2 +17,25 @@ import { ActionType } from ".";

/**
* A user taps a grouping of articles on iOS
*
* This schema describes events sent to Segment from [[tappedArticleGroup]]
*
* @example
* ```
* {
* action: "tappedArticleGroup",
* context_module: "relatedArticles",
* context_screen_owner_type: "fair",
* context_screen_owner_id: "5e726bd22524980012caafb0",
* context_screen_owner_slug: "arteba-special-edition",
* destination_screen_owner_type: "article",
* destination_screen_owner_id: "542f1ccc7261694847410400",
* destination_screen_owner_slug: "acaw-acaw-presenter-charwei-tsai",
* type: "thumbnail"
* }
* ```
*/
export interface TappedArticleGroup extends TappedEntityGroup {
action: ActionType.tappedArticleGroup;
}
/**
* A user taps a grouping of artists on iOS

@@ -183,3 +206,3 @@ *

export interface TappedEntityGroup {
action: ActionType.tappedArtistGroup | ActionType.tappedArtistSeriesGroup | ActionType.tappedArtworkGroup | ActionType.tappedAuctionGroup | ActionType.tappedCollectionGroup | ActionType.tappedExploreGroup | ActionType.tappedFairGroup | ActionType.tappedViewingRoomGroup;
action: ActionType.tappedArticleGroup | ActionType.tappedArtistGroup | ActionType.tappedArtistSeriesGroup | ActionType.tappedArtworkGroup | ActionType.tappedAuctionGroup | ActionType.tappedCollectionGroup | ActionType.tappedExploreGroup | ActionType.tappedFairGroup | ActionType.tappedViewingRoomGroup;
context_module: ContextModule;

@@ -324,1 +347,51 @@ context_screen_owner_type: ScreenOwnerType;

}
/**
* A user taps a Show More button on iOS
*
* This schema describes events sent to Segment from [[tappedShowMore]]
*
* @example
* ```
* {
* action: "tappedShowMore",
* context_module : "exhibitorsView",
* context_screen_owner_type: "fair",
* context_screen_owner_id: "5f4d80c972737e000deff1ed",
* context_screen_owner_slug: "latitude-art-fair-2020",
* subject: "Show More"
* }
* ```
*/
export interface TappedShowMore {
action: ActionType.tappedShowMore;
context_module: ContextModule;
context_screen_owner_type: ScreenOwnerType;
context_screen_owner_id: string;
context_screen_owner_slug: string;
/** The text of the tapped button */
subject: string;
}
/**
* A user taps a navigation tab on iOS
*
* This schema describes events sent to Segment from [[tappedView]]
*
* @example
* ```
* {
* action: "tappedNavigationTab",
* context_module : "exhibitorsView",
* context_screen_owner_type: "fair",
* context_screen_owner_id: "5f4d80c972737e000deff1ed",
* context_screen_owner_slug: "latitude-art-fair-2020"
* }
* ```
*/
export interface TappedNavigationTab {
action: ActionType.tappedNavigationTab;
context_module: ContextModule;
context_screen_owner_type: ScreenOwnerType;
context_screen_owner_id: string;
context_screen_owner_slug: string;
subject: "string";
}

@@ -34,2 +34,3 @@ /**

consignSubmissionFlow = "consignSubmissionFlow",
curatedHighlightsRail = "curatedHighlightsRail",
currentShowsRail = "currentShowsRail",

@@ -47,2 +48,3 @@ exhibitorsTab = "exhibitorsTab",

footer = "footer",
galleryBoothRail = "galleryBoothRail",
geneHeader = "geneHeader",

@@ -73,2 +75,3 @@ header = "header",

recommendedWorksForYouRail = "recommendedWorksForYouRail",
relatedArticles = "relatedArticles",
relatedArtistsRail = "relatedArtistsRail",

@@ -75,0 +78,0 @@ relatedCollectionsRail = "relatedCollectionsRail",

@@ -48,2 +48,3 @@ "use strict";

ContextModule["consignSubmissionFlow"] = "consignSubmissionFlow";
ContextModule["curatedHighlightsRail"] = "curatedHighlightsRail";
ContextModule["currentShowsRail"] = "currentShowsRail";

@@ -61,2 +62,3 @@ ContextModule["exhibitorsTab"] = "exhibitorsTab";

ContextModule["footer"] = "footer";
ContextModule["galleryBoothRail"] = "galleryBoothRail";
ContextModule["geneHeader"] = "geneHeader";

@@ -87,2 +89,3 @@ ContextModule["header"] = "header";

ContextModule["recommendedWorksForYouRail"] = "recommendedWorksForYouRail";
ContextModule["relatedArticles"] = "relatedArticles";
ContextModule["relatedArtistsRail"] = "relatedArtistsRail";

@@ -89,0 +92,0 @@ ContextModule["relatedCollectionsRail"] = "relatedCollectionsRail";

5

dist/Schema/Values/OwnerType.d.ts

@@ -33,2 +33,3 @@ /**

sell = "sell",
show = "show",
savesAndFollows = "savesAndFollows",

@@ -44,6 +45,6 @@ viewingRoom = "viewingRoom",

*/
export declare type ScreenOwnerType = OwnerType.allArtistSeries | OwnerType.artist | OwnerType.artistSeries | OwnerType.artwork | OwnerType.auctions | OwnerType.gene | OwnerType.cityGuideGuide | OwnerType.cityGuideMap | OwnerType.cityPicker | OwnerType.collection | OwnerType.consignmentSubmission | OwnerType.consign | OwnerType.explore | OwnerType.fair | OwnerType.home | OwnerType.inbox | OwnerType.partner | OwnerType.sale | OwnerType.search | OwnerType.savesAndFollows | OwnerType.sell | OwnerType.viewingRoom | OwnerType.viewingRoomArtworks | OwnerType.viewingRoomList | OwnerType.viewingRoomArtworkPage | OwnerType.worksForYou;
export declare type ScreenOwnerType = OwnerType.allArtistSeries | OwnerType.artist | OwnerType.artistSeries | OwnerType.artwork | OwnerType.auctions | OwnerType.gene | OwnerType.cityGuideGuide | OwnerType.cityGuideMap | OwnerType.cityPicker | OwnerType.collection | OwnerType.consignmentSubmission | OwnerType.consign | OwnerType.explore | OwnerType.fair | OwnerType.home | OwnerType.inbox | OwnerType.partner | OwnerType.sale | OwnerType.search | OwnerType.savesAndFollows | OwnerType.sell | OwnerType.show | OwnerType.viewingRoom | OwnerType.viewingRoomArtworks | OwnerType.viewingRoomList | OwnerType.viewingRoomArtworkPage | OwnerType.worksForYou;
/**
* Owner types available in web/mobile web
*/
export declare type PageOwnerType = OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artists | OwnerType.artistSeries | OwnerType.artwork | OwnerType.auctions | OwnerType.collect | OwnerType.collection | OwnerType.consign | OwnerType.fair | OwnerType.galleries | OwnerType.gene | OwnerType.home | OwnerType.partner | OwnerType.sale | OwnerType.search | OwnerType.worksForYou;
export declare type PageOwnerType = OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artists | OwnerType.artistSeries | OwnerType.artwork | OwnerType.auctions | OwnerType.collect | OwnerType.collection | OwnerType.consign | OwnerType.fair | OwnerType.galleries | OwnerType.gene | OwnerType.home | OwnerType.partner | OwnerType.sale | OwnerType.search | OwnerType.show | OwnerType.worksForYou;

@@ -47,2 +47,3 @@ "use strict";

OwnerType["sell"] = "sell";
OwnerType["show"] = "show";
OwnerType["savesAndFollows"] = "savesAndFollows";

@@ -49,0 +50,0 @@ OwnerType["viewingRoom"] = "viewingRoom";

{
"name": "@artsy/cohesion",
"version": "1.36.0",
"version": "1.37.0",
"description": "Analytics schema and library helpers",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc