@drayman/framework 3.1.0 → 3.2.0

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.
@@ -55,7 +55,7 @@ class EventHubClass {
55
55
  }
56
56
  const EventHub = new EventHubClass();
57
57
  (async () => {
58
- const { publicDir, port, componentsOutputDir, outDir, sslKey, sslCert, heapLimit, externalLimit, heartbeatLimitMs } = (0, config_1.getDraymanConfig)();
58
+ const { publicDir, port, componentsOutputDir, outDir, sslKey, sslCert, heapLimit, externalLimit, heartbeatLimitMs, logging } = (0, config_1.getDraymanConfig)();
59
59
  const elementsPaths = await draymanCore.getElementsScriptPaths({});
60
60
  await (0, build_1.build)();
61
61
  const storage = multer_1.default.memoryStorage();
@@ -163,6 +163,7 @@ const EventHub = new EventHubClass();
163
163
  heapLimit,
164
164
  externalLimit,
165
165
  heartbeatLimitMs,
166
+ logging,
166
167
  });
167
168
  }
168
169
  else if (type === 'eventHubEvent') {
package/dist/config.js CHANGED
@@ -19,6 +19,7 @@ function getDraymanConfig() {
19
19
  const heapLimit = draymanConfig.heapLimit || 512;
20
20
  const externalLimit = draymanConfig.externalLimit || 512;
21
21
  const heartbeatLimitMs = draymanConfig.heartbeatLimitMs || 3 * 1000;
22
+ const logging = draymanConfig.logging || null;
22
23
  return {
23
24
  srcDir,
24
25
  publicDir,
@@ -32,6 +33,7 @@ function getDraymanConfig() {
32
33
  heapLimit,
33
34
  externalLimit,
34
35
  heartbeatLimitMs,
36
+ logging,
35
37
  };
36
38
  }
37
39
  exports.getDraymanConfig = getDraymanConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drayman/framework",
3
- "version": "3.1.0",
3
+ "version": "3.2.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -20,7 +20,7 @@
20
20
  "author": "",
21
21
  "license": "ISC",
22
22
  "dependencies": {
23
- "@drayman/core": "^3.1.0",
23
+ "@drayman/core": "^3.2.0",
24
24
  "cup-readdir": "^1.0.3",
25
25
  "express": "^4.17.1",
26
26
  "fs-extra": "^9.1.0",
@@ -47,5 +47,5 @@
47
47
  "npm": "^7.10.0",
48
48
  "start-server-and-test": "^1.12.1"
49
49
  },
50
- "gitHead": "e636ac7b5f93962be287a2adceba653b552dd62d"
50
+ "gitHead": "86eefd49843ba056c11ed073244f25f504e1e7e1"
51
51
  }