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

@artsy/cohesion

Package Overview
Dependencies
Maintainers
12
Versions
454
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 0.2.2 to 0.2.3

12

CHANGELOG.md

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

# v0.2.3 (Wed Apr 22 2020)
#### 🐛 Bug Fix
- Auth events use triggerSeconds [#21](https://github.com/artsy/cohesion/pull/21) ([@eessex](https://github.com/eessex))
#### Authors: 1
- Eve Essex ([@eessex](https://github.com/eessex))
---
# v0.2.2 (Tue Apr 21 2020)

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

4

dist/Events/Authentication/CreatedAccount.d.ts

@@ -12,5 +12,5 @@ import { CreatedAccount } from "../../Schema/Event";

* service: AuthService.email
* trigger: "timed"
* triggerSeconds: 3
* })
*/
export declare const createdAccount: ({ authRedirect, contextModule, intent, service, trigger, }: AccountArgs) => CreatedAccount;
export declare const createdAccount: ({ authRedirect, contextModule, intent, service, triggerSeconds, }: AccountArgs) => CreatedAccount;

@@ -19,3 +19,3 @@ "use strict";

* service: AuthService.email
* trigger: "timed"
* triggerSeconds: 3
* })

@@ -28,3 +28,3 @@ */

service,
trigger
triggerSeconds
}) => {

@@ -37,3 +37,3 @@ return {

service,
trigger: trigger || "click"
trigger: triggerSeconds && "timed" || "click"
};

@@ -40,0 +40,0 @@ };

@@ -12,5 +12,5 @@ import { SuccessfullyLoggedIn } from "../../Schema/Event";

* service: AuthService.email
* trigger: "timed"
* triggerSeconds: 3
* })
*/
export declare const successfullyLoggedIn: ({ authRedirect, contextModule, intent, service, trigger, }: AccountArgs) => SuccessfullyLoggedIn;
export declare const successfullyLoggedIn: ({ authRedirect, contextModule, intent, service, triggerSeconds, }: AccountArgs) => SuccessfullyLoggedIn;

@@ -19,3 +19,3 @@ "use strict";

* service: AuthService.email
* trigger: "timed"
* triggerSeconds: 3
* })

@@ -28,3 +28,3 @@ */

service,
trigger
triggerSeconds
}) => {

@@ -37,3 +37,3 @@ return {

service,
trigger: trigger || "click"
trigger: triggerSeconds && "timed" || "click"
};

@@ -40,0 +40,0 @@ };

@@ -1,2 +0,2 @@

import { AuthContextModule, AuthIntent, AuthTrigger } from "../../Schema";
import { AuthContextModule, AuthIntent } from "../../Schema";
import { AuthService } from "../../Schema/Authentication";

@@ -7,4 +7,4 @@ export interface AccountArgs {

intent: AuthIntent;
trigger?: AuthTrigger;
triggerSeconds?: number;
service: AuthService;
}
{
"name": "@artsy/cohesion",
"version": "0.2.2",
"version": "0.2.3",
"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