ldn-inbox-server 1.4.4 → 1.4.5

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.
@@ -21,12 +21,12 @@ async function handle({path,options,config}) {
21
21
  }
22
22
 
23
23
  if (!options['artifact']) {
24
- logger.info(`no artifact found (ignonring this request)`);
24
+ logger.info(`no artifact found (ignoring this request)`);
25
25
  return { path, options, success: true };
26
26
  }
27
27
 
28
28
  if (!options['eventlog']) {
29
- logger.info(`no artifact found (ignonring this request)`);
29
+ logger.info(`no artifact found (ignoring this request)`);
30
30
  return { path, options, success: true };
31
31
  }
32
32
 
package/lib/index.js CHANGED
@@ -7,7 +7,8 @@ const {
7
7
  fetchOriginal,
8
8
  backOff_fetch,
9
9
  sendNotification,
10
- moveTo
10
+ moveTo,
11
+ parseAsJSON
11
12
  } = require('../lib/util');
12
13
  const { handle_inbox } = require('../lib/handler');
13
14
  const logger = getLogger();
@@ -312,6 +313,7 @@ function checkBody(data) {
312
313
  module.exports = {
313
314
  inbox_server ,
314
315
  getLogger ,
316
+ parseAsJSON ,
315
317
  backOff_fetch ,
316
318
  fetchOriginal ,
317
319
  moveTo ,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ldn-inbox-server",
3
- "version": "1.4.4",
3
+ "version": "1.4.5",
4
4
  "description": "A demonstration Event Notifications Inbox server",
5
5
  "main": "lib/index.js",
6
6
  "author": "Patrick Hochstenbach <Patrick.Hochstenbach@UGent.be>",