🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@anabode/notifier_service

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@anabode/notifier_service - npm Package Compare versions

Comparing version

to
1.0.5

9

lib/sms_emailer.js

@@ -14,3 +14,4 @@ var AWS = require('aws-sdk');

SMS_Emailer.prototype.sendEmail = function (input, callback) {
this.ses.sendEmail(input, (err, data) => {
var _input = input;
this.ses.sendEmail(_input, (err, data) => {
return callback(err, data);

@@ -21,8 +22,8 @@ });

SMS_Emailer.prototype.sendSMS = function (input, callback) {
this.sns.publish(input,
(err, data) => {
var _input = input;
this.sns.publish(_input, (err, data) => {
return callback(err, data);
})
});
}
module.exports = exports = SMS_Emailer;
{
"name": "@anabode/notifier_service",
"version": "1.0.4",
"version": "1.0.5",
"description": "ses, sns abstractors for notifying and user push notifications",

@@ -12,3 +12,3 @@ "main": "index.js",

"SES",
"SNS"
"SNS","Anabode Helper library"
],

@@ -20,2 +20,2 @@ "author": "DusanN <nitschneiderd@gmail.com>",

}
}
}