@loomcore/api 0.1.144 → 0.1.146

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.
@@ -57,7 +57,8 @@ export class MigrationRunner {
57
57
  user: this.dbMigrationConfig.database.username,
58
58
  password: this.dbMigrationConfig.database.password,
59
59
  port: this.dbMigrationConfig.database.port,
60
- database: this.dbMigrationConfig.database.name
60
+ database: this.dbMigrationConfig.database.name,
61
+ ssl: typeof this.dbMigrationConfig.database.ssl === 'boolean' ? this.dbMigrationConfig.database.ssl : undefined
61
62
  });
62
63
  this.dbConnection = pool;
63
64
  return new Umzug({
@@ -4,4 +4,5 @@ export interface IDatabaseConfig {
4
4
  password: string;
5
5
  port: number;
6
6
  username: string;
7
+ ssl?: boolean;
7
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loomcore/api",
3
- "version": "0.1.144",
3
+ "version": "0.1.146",
4
4
  "private": false,
5
5
  "description": "Loom Core Api - An opinionated Node.js api using Typescript, Express, and MongoDb or PostgreSQL",
6
6
  "scripts": {
@@ -58,7 +58,7 @@
58
58
  "qs": "^6.15.0"
59
59
  },
60
60
  "peerDependencies": {
61
- "@loomcore/common": "^0.0.66",
61
+ "@loomcore/common": "^0.0.67",
62
62
  "@sinclair/typebox": "0.34.33",
63
63
  "cookie-parser": "^1.4.6",
64
64
  "cors": "^2.8.5",