@nxtedition/lib 14.1.5 → 14.1.6

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.
Files changed (3) hide show
  1. package/app.js +2 -0
  2. package/package.json +1 -1
  3. package/undici.js +1 -1
package/app.js CHANGED
@@ -143,6 +143,8 @@ module.exports = function (appConfig, onTerminate) {
143
143
  )
144
144
  }
145
145
 
146
+ logger.debug({ data: JSON.stringify(config, null, 2) }, 'config')
147
+
146
148
  {
147
149
  const { isMainThread, parentPort } = require('node:worker_threads')
148
150
  if (!isMainThread && parentPort) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/lib",
3
- "version": "14.1.5",
3
+ "version": "14.1.6",
4
4
  "license": "MIT",
5
5
  "author": "Robert Nagy <robert.nagy@boffins.se>",
6
6
  "files": [
package/undici.js CHANGED
@@ -17,8 +17,8 @@ module.exports.request = async function request(
17
17
  headersTimeout,
18
18
  bodyTimeout,
19
19
  reset = false,
20
- method = 'GET',
21
20
  body,
21
+ method = body ? 'POST' : 'GET',
22
22
  userAgent,
23
23
  headers,
24
24
  }