@accounts/database-manager
Advanced tools
Comparing version 0.20.0-alpha.1.cfb0004e to 0.20.0
import { DatabaseManager } from '../src'; | ||
// eslint-disable-next-line jest/no-export | ||
export default class Database { | ||
@@ -131,3 +132,3 @@ public name: any; | ||
it('should throw if no sessionStorage specified', () => { | ||
it('should not throw if sessionStorage specified', () => { | ||
expect(() => | ||
@@ -134,0 +135,0 @@ (databaseManager as any).validateConfiguration({ |
@@ -8,27 +8,27 @@ import { DatabaseInterface } from '@accounts/types'; | ||
private validateConfiguration; | ||
readonly createUser: DatabaseInterface['createUser']; | ||
readonly findUserById: DatabaseInterface['findUserById']; | ||
readonly findUserByEmail: DatabaseInterface['findUserByEmail']; | ||
readonly findUserByUsername: DatabaseInterface['findUserByUsername']; | ||
readonly findPasswordHash: DatabaseInterface['findPasswordHash']; | ||
readonly findUserByEmailVerificationToken: DatabaseInterface['findUserByEmailVerificationToken']; | ||
readonly findUserByResetPasswordToken: DatabaseInterface['findUserByResetPasswordToken']; | ||
readonly findUserByServiceId: DatabaseInterface['findUserByServiceId']; | ||
readonly addEmail: DatabaseInterface['addEmail']; | ||
readonly removeEmail: DatabaseInterface['removeEmail']; | ||
readonly verifyEmail: DatabaseInterface['verifyEmail']; | ||
readonly setUsername: DatabaseInterface['setUsername']; | ||
readonly setPassword: DatabaseInterface['setPassword']; | ||
readonly setService: DatabaseInterface['setService']; | ||
readonly unsetService: DatabaseInterface['unsetService']; | ||
readonly createSession: DatabaseInterface['createSession']; | ||
readonly updateSession: DatabaseInterface['updateSession']; | ||
readonly invalidateSession: DatabaseInterface['invalidateSession']; | ||
readonly invalidateAllSessions: DatabaseInterface['invalidateAllSessions']; | ||
readonly findSessionByToken: DatabaseInterface['findSessionByToken']; | ||
readonly findSessionById: DatabaseInterface['findSessionById']; | ||
readonly addEmailVerificationToken: DatabaseInterface['addEmailVerificationToken']; | ||
readonly addResetPasswordToken: DatabaseInterface['addResetPasswordToken']; | ||
readonly setResetPassword: DatabaseInterface['setResetPassword']; | ||
readonly setUserDeactivated: DatabaseInterface['setUserDeactivated']; | ||
get createUser(): DatabaseInterface['createUser']; | ||
get findUserById(): DatabaseInterface['findUserById']; | ||
get findUserByEmail(): DatabaseInterface['findUserByEmail']; | ||
get findUserByUsername(): DatabaseInterface['findUserByUsername']; | ||
get findPasswordHash(): DatabaseInterface['findPasswordHash']; | ||
get findUserByEmailVerificationToken(): DatabaseInterface['findUserByEmailVerificationToken']; | ||
get findUserByResetPasswordToken(): DatabaseInterface['findUserByResetPasswordToken']; | ||
get findUserByServiceId(): DatabaseInterface['findUserByServiceId']; | ||
get addEmail(): DatabaseInterface['addEmail']; | ||
get removeEmail(): DatabaseInterface['removeEmail']; | ||
get verifyEmail(): DatabaseInterface['verifyEmail']; | ||
get setUsername(): DatabaseInterface['setUsername']; | ||
get setPassword(): DatabaseInterface['setPassword']; | ||
get setService(): DatabaseInterface['setService']; | ||
get unsetService(): DatabaseInterface['unsetService']; | ||
get createSession(): DatabaseInterface['createSession']; | ||
get updateSession(): DatabaseInterface['updateSession']; | ||
get invalidateSession(): DatabaseInterface['invalidateSession']; | ||
get invalidateAllSessions(): DatabaseInterface['invalidateAllSessions']; | ||
get findSessionByToken(): DatabaseInterface['findSessionByToken']; | ||
get findSessionById(): DatabaseInterface['findSessionById']; | ||
get addEmailVerificationToken(): DatabaseInterface['addEmailVerificationToken']; | ||
get addResetPasswordToken(): DatabaseInterface['addResetPasswordToken']; | ||
get setResetPassword(): DatabaseInterface['setResetPassword']; | ||
get setUserDeactivated(): DatabaseInterface['setUserDeactivated']; | ||
} |
{ | ||
"name": "@accounts/database-manager", | ||
"version": "0.20.0-alpha.1.cfb0004e", | ||
"version": "0.20.0", | ||
"description": "Accounts Database Manager, allow the use of separate databases for session and user", | ||
@@ -38,4 +38,4 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@types/jest": "24.0.18", | ||
"@types/node": "12.7.4", | ||
"@types/jest": "24.0.22", | ||
"@types/node": "12.12.7", | ||
"jest": "24.9.0", | ||
@@ -45,5 +45,6 @@ "rimraf": "3.0.0" | ||
"dependencies": { | ||
"@accounts/types": "^0.20.0-alpha.1.cfb0004e", | ||
"@accounts/types": "^0.20.0", | ||
"tslib": "1.10.0" | ||
} | ||
}, | ||
"gitHead": "68ff004f0ef63918b73006ec4a122f21e89cf661" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
111444
30
1131
Updated@accounts/types@^0.20.0