@accounts/types
Advanced tools
Comparing version 0.11.2 to 0.12.0
@@ -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>; |
49133