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

@artsy/cohesion

Package Overview
Dependencies
Maintainers
13
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.22.0 to 1.23.0

17

CHANGELOG.md

@@ -0,1 +1,18 @@

# v1.23.0 (Tue Jul 28 2020)
#### 🚀 Enhancement
- New event and properties for Viewing Rooms on iOS [#84](https://github.com/artsy/cohesion/pull/84) ([@louislecluse](https://github.com/louislecluse))
#### 🏠 Internal
- Bump lodash from 4.17.15 to 4.17.19 [#82](https://github.com/artsy/cohesion/pull/82) ([@dependabot[bot]](https://github.com/dependabot[bot]))
#### Authors: 2
- [@dependabot[bot]](https://github.com/dependabot[bot])
- [@louislecluse](https://github.com/louislecluse)
---
# v1.22.0 (Mon Jul 27 2020)

@@ -2,0 +19,0 @@

8

dist/Schema/Events/index.d.ts
import { AuthImpression, CreatedAccount, ResetYourPassword, SuccessfullyLoggedIn } from "./Authentication";
import { ClickedArtistGroup, ClickedArtworkGroup, ClickedAuctionGroup, ClickedCollectionGroup, ClickedFairGroup, ClickedMainArtworkGrid } from "./Click";
import { FocusedOnConversationMessageInput, SentConversationMessage } from "./Conversations";
import { TappedArtistGroup, TappedArtworkGroup, TappedAuctionGroup, TappedCollectionGroup, TappedConsign, TappedExploreGroup, TappedFairGroup, TappedMainArtworkGrid, TappedPromoSpace, TappedTabBar } from "./Tap";
import { TappedArtistGroup, TappedArtworkGroup, TappedAuctionGroup, TappedCollectionGroup, TappedConsign, TappedExploreGroup, TappedFairGroup, TappedMainArtworkGrid, TappedPromoSpace, TappedTabBar, TappedViewingRoomGroup } from "./Tap";
import { TimeOnPage } from "./System";

@@ -11,3 +11,3 @@ /**

*/
export declare type Event = AuthImpression | CreatedAccount | ClickedArtistGroup | ClickedArtworkGroup | ClickedAuctionGroup | ClickedCollectionGroup | ClickedFairGroup | ClickedMainArtworkGrid | FocusedOnConversationMessageInput | ResetYourPassword | SentConversationMessage | SuccessfullyLoggedIn | TappedArtistGroup | TappedArtworkGroup | TappedAuctionGroup | TappedCollectionGroup | TappedExploreGroup | TappedFairGroup | TappedConsign | TappedMainArtworkGrid | TappedPromoSpace | TappedTabBar | TimeOnPage;
export declare type Event = AuthImpression | CreatedAccount | ClickedArtistGroup | ClickedArtworkGroup | ClickedAuctionGroup | ClickedCollectionGroup | ClickedFairGroup | ClickedMainArtworkGrid | FocusedOnConversationMessageInput | ResetYourPassword | SentConversationMessage | SuccessfullyLoggedIn | TappedArtistGroup | TappedArtworkGroup | TappedAuctionGroup | TappedCollectionGroup | TappedExploreGroup | TappedFairGroup | TappedConsign | TappedMainArtworkGrid | TappedPromoSpace | TappedTabBar | TappedViewingRoomGroup | TimeOnPage;
/**

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

/**
* Corresponds to {@link TappedViewingRoomGroup}
*/
tappedViewingRoomGroup = "tappedViewingRoomGroup",
/**
* Corresponds to {@link TimeOnPage}

@@ -110,0 +114,0 @@ */

@@ -45,3 +45,4 @@ "use strict";

ActionType["tappedTabBar"] = "tappedTabBar";
ActionType["tappedViewingRoomGroup"] = "tappedViewingRoomGroup";
ActionType["timeOnPage"] = "timeOnPage";
})(ActionType || (exports.ActionType = ActionType = {}));

@@ -156,3 +156,3 @@ import { ActionType } from ".";

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

@@ -277,1 +277,20 @@ context_screen_owner_type: ScreenOwnerType;

}
/**
* A user taps a grouping of viewing rooms on iOS
*
* This schema describes events sent to Segment from [[tappedEntityGroup]]
*
* @example
* ```
* {
* action: "tappedViewingRoomGroup",
* context_module: "featuredViewingRoomsRail",
* context_screen_owner_type: "home",
* destination_screen_owner_type: "viewingRoomList",
* type: "header"
* }
* ```
*/
export interface TappedViewingRoomGroup extends TappedEntityGroup {
action: ActionType.tappedViewingRoomGroup;
}

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

featuredCollection = "featuredCollection",
featuredViewingRoomsRail = "featuredViewingRoomsRail",
footer = "footer",

@@ -44,2 +45,3 @@ geneHeader = "geneHeader",

intextTooltip = "intextTooltip",
latestViewingRoomsRail = "latestViewingRoomsRail",
liveAuctionsRail = "liveAuctionsRail",

@@ -46,0 +48,0 @@ mainCarousel = "mainCarousel",

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

ContextModule["featuredCollection"] = "featuredCollection";
ContextModule["featuredViewingRoomsRail"] = "featuredViewingRoomsRail";
ContextModule["footer"] = "footer";

@@ -58,2 +59,3 @@ ContextModule["geneHeader"] = "geneHeader";

ContextModule["intextTooltip"] = "intextTooltip";
ContextModule["latestViewingRoomsRail"] = "latestViewingRoomsRail";
ContextModule["liveAuctionsRail"] = "liveAuctionsRail";

@@ -60,0 +62,0 @@ ContextModule["mainCarousel"] = "mainCarousel";

@@ -28,2 +28,4 @@ /**

viewingRoomArtworks = "viewingRoomArtworks",
viewingRoomList = "viewingRoomList",
viewingRoomArtworkPage = "viewingRoomArtworkPage",
worksForYou = "worksForYou"

@@ -34,3 +36,3 @@ }

*/
export declare type ScreenOwnerType = OwnerType.artist | 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.sale | OwnerType.search | OwnerType.savesAndFollows | OwnerType.sell | OwnerType.viewingRoom | OwnerType.viewingRoomArtworks | OwnerType.worksForYou;
export declare type ScreenOwnerType = OwnerType.artist | 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.sale | OwnerType.search | OwnerType.savesAndFollows | OwnerType.sell | OwnerType.viewingRoom | OwnerType.viewingRoomArtworks | OwnerType.viewingRoomList | OwnerType.viewingRoomArtworkPage | OwnerType.worksForYou;
/**

@@ -37,0 +39,0 @@ * Owner types available in web/mobile web

@@ -42,3 +42,5 @@ "use strict";

OwnerType["viewingRoomArtworks"] = "viewingRoomArtworks";
OwnerType["viewingRoomList"] = "viewingRoomList";
OwnerType["viewingRoomArtworkPage"] = "viewingRoomArtworkPage";
OwnerType["worksForYou"] = "worksForYou";
})(OwnerType || (exports.OwnerType = OwnerType = {}));
{
"name": "@artsy/cohesion",
"version": "1.22.0",
"version": "1.23.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