Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ldn-inbox-server

Package Overview
Dependencies
Maintainers
0
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ldn-inbox-server - npm Package Compare versions

Comparing version 1.6.8 to 1.6.9

9

handler/notification_handler/send_notification.js

@@ -21,4 +21,11 @@ const logger = require('../../lib/util.js').getLogger();

logger.info(`Sending ${type} to ${inbox}`);
await sendNotification(inbox, notification);
if (process.env.DEMO_MODE) {
logger.info(`**demo mode** I will not do anything`);
return { path, options, success: true };
}
else {
await sendNotification(inbox, notification);
}
return { path, options, success: true };

@@ -25,0 +32,0 @@ }

2

package.json
{
"name": "ldn-inbox-server",
"version": "1.6.8",
"version": "1.6.9",
"description": "A demonstration Event Notifications Inbox server",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -204,2 +204,4 @@ # ldn-inbox-server

If the environoment `DEMO_MODE` is set, no real notifications will be sent.
### Type handler

@@ -206,0 +208,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc