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

@accounts/types

Package Overview
Dependencies
Maintainers
6
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@accounts/types - npm Package Compare versions

Comparing version 0.11.2 to 0.12.0

2

lib/types/database-interface.d.ts

@@ -30,3 +30,3 @@ import { User } from './user';

findSessionByToken(token: string): Promise<Session | null>;
createSession(userId: string, token: string, connection: ConnectionInformations, extraData?: object): Promise<string | null>;
createSession(userId: string, token: string, connection: ConnectionInformations, extraData?: object): Promise<string>;
updateSession(sessionId: string, connection: ConnectionInformations): Promise<void>;

@@ -33,0 +33,0 @@ invalidateSession(sessionId: string): Promise<void>;

{
"name": "@accounts/types",
"version": "0.11.2",
"version": "0.12.0",
"description": "Accounts-js Types",

@@ -53,3 +53,3 @@ "main": "lib/index.js",

"@types/jest": "23.3.13",
"@types/node": "10.12.21",
"@types/node": "10.12.24",
"jest": "23.6.0",

@@ -56,0 +56,0 @@ "rimraf": "2.6.3"

@@ -73,3 +73,3 @@ import { User } from './user';

extraData?: object
): Promise<string | null>;
): Promise<string>;

@@ -76,0 +76,0 @@ updateSession(sessionId: string, connection: ConnectionInformations): Promise<void>;

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