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.5 to 0.2.6

12

CHANGELOG.md

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

# v0.2.6 (Wed Apr 22 2020)
#### 🐛 Bug Fix
- Separate input arg interfaces, userId casing [#23](https://github.com/artsy/cohesion/pull/23) ([@eessex](https://github.com/eessex))
#### Authors: 1
- Eve Essex ([@eessex](https://github.com/eessex))
---
# v0.2.5 (Wed Apr 22 2020)

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

16

dist/Events/Authentication/CreatedAccount.d.ts

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

import { AuthContextModule, AuthIntent, AuthService } from "../../Schema";
import { CreatedAccount } from "../../Schema/Event";
import { AccountArgs } from "./Typings";
export interface CreatedAccountArgs {
authRedirect: string;
contextModule: AuthContextModule;
copy?: string;
intent: AuthIntent;
onboarding?: boolean;
service: AuthService;
triggerSeconds?: number;
userId: string;
}
/**

@@ -16,6 +26,6 @@ * Action fired when a user creates an account

* triggerSeconds: 3,
* user_id: "5bd8b675776bd6002c86526c"
* userId: "5bd8b675776bd6002c86526c"
* })
* ```
*/
export declare const createdAccount: ({ authRedirect, contextModule, copy, intent, onboarding, service, triggerSeconds, user_id, }: AccountArgs) => CreatedAccount;
export declare const createdAccount: ({ authRedirect, contextModule, copy, intent, onboarding, service, triggerSeconds, userId, }: CreatedAccountArgs) => CreatedAccount;

6

dist/Events/Authentication/CreatedAccount.js

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

* triggerSeconds: 3,
* user_id: "5bd8b675776bd6002c86526c"
* userId: "5bd8b675776bd6002c86526c"
* })

@@ -36,3 +36,3 @@ * ```

triggerSeconds,
user_id
userId
}) => {

@@ -49,3 +49,3 @@ return {

type: _Schema.AuthModalType.signup,
user_id
user_id: userId
};

@@ -52,0 +52,0 @@ };

@@ -0,3 +1,12 @@

import { AuthContextModule, AuthIntent, AuthService } from "../../Schema";
import { SuccessfullyLoggedIn } from "../../Schema/Event";
import { AccountArgs } from "./Typings";
export interface SuccessfullyLoggedInArgs {
authRedirect: string;
contextModule: AuthContextModule;
copy?: string;
intent: AuthIntent;
service: AuthService;
triggerSeconds?: number;
userId: string;
}
/**

@@ -15,6 +24,6 @@ * Action fired when a user logs into an existing account

* triggerSeconds: 3,
* user_id: "5bd8b675776bd6002c86526c"
* userId: "5bd8b675776bd6002c86526c"
* })
* ```
*/
export declare const successfullyLoggedIn: ({ authRedirect, contextModule, copy, intent, service, triggerSeconds, user_id, }: AccountArgs) => SuccessfullyLoggedIn;
export declare const successfullyLoggedIn: ({ authRedirect, contextModule, copy, intent, service, triggerSeconds, userId, }: SuccessfullyLoggedInArgs) => SuccessfullyLoggedIn;

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

* triggerSeconds: 3,
* user_id: "5bd8b675776bd6002c86526c"
* userId: "5bd8b675776bd6002c86526c"
* })

@@ -34,3 +34,3 @@ * ```

triggerSeconds,
user_id
userId
}) => {

@@ -46,3 +46,3 @@ return {

type: _Schema.AuthModalType.login,
user_id
user_id: userId
};

@@ -49,0 +49,0 @@ };

{
"name": "@artsy/cohesion",
"version": "0.2.5",
"version": "0.2.6",
"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