@ccci/micro-server 1.0.157 → 1.0.158

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,6 @@
1
1
  import BaseModel from "./BaseModel";
2
2
  export default class BaseAuthenticatorModel extends BaseModel {
3
3
  password?: string;
4
- saltRounds: number;
5
- constructor(saltRounds?: number);
6
4
  authenticate(password: string): boolean;
7
5
  updatePassword(password?: string): string | undefined;
8
6
  }
@@ -9,6 +9,7 @@ export default class DatabaseConnector {
9
9
  * @param path
10
10
  */
11
11
  static init(): Promise<Array<Sequelize>>;
12
+ static checkConnection(connection: Sequelize): Promise<void>;
12
13
  /**
13
14
  *
14
15
  * @param path root dir (__dirname)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccci/micro-server",
3
- "version": "1.0.157",
3
+ "version": "1.0.158",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",