@appweaver/data 2.1.0 → 2.1.2

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.
@@ -33,7 +33,7 @@ class PrismaDatabase extends common_1.Database {
33
33
  try {
34
34
  await this.connect();
35
35
  await this.clientInstance().$queryRaw `SELECT 1`;
36
- logger.info(`Connected to the ${dbType} database${url ? ` at ${url}` : ''}`);
36
+ logger.info(`Connected to the ${dbType} database`);
37
37
  }
38
38
  catch (error) {
39
39
  logger.error(error, `Cannot connect to the ${dbType} database${url ? ` at ${url}` : ''}`);
package/module.js CHANGED
@@ -52,6 +52,7 @@ exports.default = (0, common_1.defineModule)({
52
52
  auth_config_1.connectedAccountConfig,
53
53
  auth_config_1.systemConfig
54
54
  ],
55
+ loggers: ['database', 'resource', 'storage'],
55
56
  contracts: [
56
57
  { contract: common_1.Database, provider: () => database_config_1.databaseConfig.PROVIDER },
57
58
  { contract: common_1.ImageProcessor, provider: () => image_config_1.imageConfig.PROVIDER }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appweaver/data",
3
- "version": "2.1.0",
3
+ "version": "2.1.2",
4
4
  "description": "Appweaver - the backend framework for AI-first development (@data)",
5
5
  "author": "Luka Matosevic",
6
6
  "license": "MIT",
@@ -51,8 +51,8 @@
51
51
  "csv-stringify": "6.8.0"
52
52
  },
53
53
  "peerDependencies": {
54
- "@appweaver/common": "^2.1.0",
55
- "@appweaver/core": "^2.1.0",
54
+ "@appweaver/common": "^2.1.2",
55
+ "@appweaver/core": "^2.1.2",
56
56
  "@prisma/client": "^7.9.0"
57
57
  },
58
58
  "devDependencies": {