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.21.0 to 1.22.0

17

CHANGELOG.md

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

# v1.22.0 (Mon Jul 27 2020)
#### 🚀 Enhancement
- Adds tappedMainArtworkGrid [#83](https://github.com/artsy/cohesion/pull/83) ([@abhitip](https://github.com/abhitip))
#### 🏠 Internal
- Update dep typescript from 3.9.6 to v3.9.7 [#81](https://github.com/artsy/cohesion/pull/81) ([@renovate-bot](https://github.com/renovate-bot))
#### Authors: 2
- Abhiti Prabahar ([@abhitip](https://github.com/abhitip))
- WhiteSource Renovate ([@renovate-bot](https://github.com/renovate-bot))
---
# v1.21.0 (Wed Jul 15 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, TappedPromoSpace, TappedTabBar } from "./Tap";
import { TappedArtistGroup, TappedArtworkGroup, TappedAuctionGroup, TappedCollectionGroup, TappedConsign, TappedExploreGroup, TappedFairGroup, TappedMainArtworkGrid, TappedPromoSpace, TappedTabBar } 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 | 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 | TimeOnPage;
/**

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

/**
* Corresponds to {@link TappedMainArtworkGrid}
*/
tappedMainArtworkGrid = "tappedMainArtworkGrid",
/**
* Corresponds to {@link TappedPromoSpace}

@@ -98,0 +102,0 @@ */

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

ActionType["tappedConsign"] = "tappedConsign";
ActionType["tappedMainArtworkGrid"] = "tappedMainArtworkGrid";
ActionType["tappedPromoSpace"] = "tappedPromoSpace";

@@ -44,0 +45,0 @@ ActionType["tappedTabBar"] = "tappedTabBar";

@@ -194,2 +194,34 @@ import { ActionType } from ".";

/**
* A user taps on an artwork in the main artwork grid, which is the main product feed we can find on our core merchandising surfaces.
* Note: This event is separate from [[tappedArtworkGroup]] because it is an important and frequent event. Separating it out will make it easier for analysts to access.
*
* This schema describes events sent to Segment from [[tappedMainArtworkGrid]]
*
* @example
* ```
* {
* action: "tappedMainArtworkGrid",
* context_module: "artworkGrid",
* context_page_owner_type: "artist",
* context_page_owner_id: "4d8b926a4eb68a1b2c0000ae",
* context_page_owner_slug: "damien-hirst",
* destination_page_owner_type: "artwork",
* destination_page_owner_id: "53188b0d8b3b8192bb0005ae",
* destination_page_owner_slug: "damien-hirst-anatomy-of-an-angel",
* type: "thumbnail"
* }
* ```
*/
export interface TappedMainArtworkGrid {
action: ActionType.tappedMainArtworkGrid;
context_module: ContextModule;
context_page_owner_type: ScreenOwnerType;
context_page_owner_id?: string;
context_page_owner_slug?: string;
destination_page_owner_type: ScreenOwnerType;
destination_page_owner_id: string;
destination_page_owner_slug: string;
type: "thumbnail";
}
/**
* A user taps the promo space on the iOS home screen

@@ -196,0 +228,0 @@ *

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

@@ -48,3 +48,3 @@ "main": "dist/index.js",

"typedoc": "0.17.7",
"typescript": "3.9.6"
"typescript": "3.9.7"
},

@@ -51,0 +51,0 @@ "dependencies": {},

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