@accounts/types
Advanced tools
Comparing version 0.19.0 to 0.20.0-alpha.cfb0004e
@@ -30,5 +30,5 @@ import { User } from './user'; | ||
createSession(userId: string, token: string, connection: ConnectionInformations, extraData?: object): Promise<string>; | ||
updateSession(sessionId: string, connection: ConnectionInformations): Promise<void>; | ||
updateSession(sessionId: string, connection: ConnectionInformations, newToken?: string): Promise<void>; | ||
invalidateSession(sessionId: string): Promise<void>; | ||
invalidateAllSessions(userId: string): Promise<void>; | ||
} |
{ | ||
"name": "@accounts/types", | ||
"version": "0.19.0", | ||
"version": "0.20.0-alpha.cfb0004e", | ||
"description": "Accounts-js Types", | ||
@@ -47,7 +47,6 @@ "main": "lib/index.js", | ||
"@types/jest": "24.0.18", | ||
"@types/node": "12.7.2", | ||
"@types/node": "12.7.4", | ||
"jest": "24.9.0", | ||
"rimraf": "3.0.0" | ||
}, | ||
"gitHead": "c0a7905161c702350efd4f7a622c55ede495a42b" | ||
} | ||
} |
@@ -73,3 +73,7 @@ import { User } from './user'; | ||
updateSession(sessionId: string, connection: ConnectionInformations): Promise<void>; | ||
updateSession( | ||
sessionId: string, | ||
connection: ConnectionInformations, | ||
newToken?: string | ||
): Promise<void>; | ||
@@ -76,0 +80,0 @@ invalidateSession(sessionId: string): Promise<void>; |
14522
64
307