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

elarian

Package Overview
Dependencies
Maintainers
2
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elarian - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

16

lib/notification.js

@@ -14,6 +14,6 @@ /* eslint-disable max-len */

getMessageReactionString,
getCustomerEventDirectionString,
getCustomerNumberProviderString,
getMessageSessionEndReasonString,
getMessageConsentUpdateActionString,
getCustomerEventDirectionString,
} = require('./utils');

@@ -303,9 +303,17 @@

.then((data) => {
subscriber.onComplete(Buffer.from(data.serializeBinary()));
try {
subscriber.onComplete(Buffer.from(data.serializeBinary()));
} catch (error) {
log.error(`NotificationError::${event}: `, error.message || error);
}
})
.catch((error) => {
log.error(`NotificationError::${event}: `, error.message || error);
// FIXME: This returns a valid response to avoid retries...
// ideally subscriber.onError(error) should be the response
subscriber.onComplete(Buffer.from(response.serializeBinary()));
try {
log.error(`NotificationError::${event}: `, error.message || error);
subscriber.onComplete(Buffer.from(response.serializeBinary()));
} catch (ex) {
log.error(`NotificationError::${event}: `, ex.message || ex);
}
});

@@ -312,0 +320,0 @@ });

{
"name": "elarian",
"version": "0.1.1",
"version": "0.1.2",
"description": "Elrian JavaScript SDK",

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

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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