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

help-fem

Package Overview
Dependencies
Maintainers
3
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

help-fem - npm Package Compare versions

Comparing version 0.1.20 to 0.1.21

32

help-fem.js

@@ -193,7 +193,8 @@ ;(function() {

_unhandled: function(error, response, event) {
console.warn('Unhandled Event',
'\nEvent:', event,
'\nCommand:', response.meta.type,
'\nError:', error,
'\nResponse:', response);
console.warn('Unhandled Event', {
event: event,
command: response.meta.type,
error: error,
response: response
});
},

@@ -422,2 +423,23 @@ // Default `connect` callback.

}
},
sendOfflineMessage: function(data, callback) {
var _data = {
uri: '/sendEmail',
method: 'POST',
body: data
};
_.extend(_data, this.parent.info);
var payload = {
meta: this.parent.generateMeta({
type: 'sendOfflineMessage'
}),
data: _data
};
this.parent.emit('client session event', payload);
if (typeof callback === 'function') {
this.parent.replyCallbacks[payload.meta.id] = callback;
}
}

@@ -424,0 +446,0 @@ },

2

package.json
{
"name": "help-fem",
"version": "0.1.20",
"version": "0.1.21",
"description": "A Browserify/Node.js client module for the Help.com team's FEM.",

@@ -5,0 +5,0 @@ "main": "help-fem.js",

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