@minimaltech/node-infra 0.5.9-17 → 0.5.9-18

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.
@@ -51,6 +51,7 @@ class DefaultRestApplication extends base_application_1.BaseApplication {
51
51
  safeFields: ['statusCode', 'name', 'message', 'messageCode'],
52
52
  });
53
53
  this.dataSource(datasources_1.PostgresDataSource);
54
+ this.dataSource(datasources_1.KvMemDataSource);
54
55
  this.configureMigration();
55
56
  this.interceptor(content_range_interceptor_1.ContentRangeInterceptor, { global: true });
56
57
  this.bootOptions = {
@@ -18,8 +18,8 @@ const datasources_1 = require("../../base/datasources");
18
18
  const utilities_1 = require("../../utilities");
19
19
  const core_1 = require("@loopback/core");
20
20
  const kvmemOptions = {
21
- name: 'memory',
22
- connector: 'memory',
21
+ name: 'kvmem',
22
+ connector: 'kv-memory',
23
23
  };
24
24
  let KvMemDataSource = class KvMemDataSource extends datasources_1.BaseDataSource {
25
25
  static { KvMemDataSource_1 = this; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minimaltech/node-infra",
3
- "version": "0.5.9-17",
3
+ "version": "0.5.9-18",
4
4
  "description": "Minimal Technology - NodeJS Infrastructure - Loopback 4 Framework",
5
5
  "keywords": [
6
6
  "web",