1.0.9 • Published 3 years ago

@anabode/shared_worker_notification v1.0.9

Weekly downloads
2
License
WTFPL
Repository
-
Last release
3 years ago

Anabode Notification service

Handles notification via email and SMS

DESCRIPTION

Accepts a Key/Value object with Key as search parameter and value as the replace value in a template fetched from S3

USAGE

Send SMS

var Notifier = require('@anabode/shared_worker_notification');
var notifier = new Notifier({}, conf.notifier);


  var smsBody = {
      body: "Hello", // 
      phone: 4477777777, // Required - must be in integer format and omitting the first 00 || + 
      sender: "Anabode" // will be shown on device as `from` some networks may not display this properly 
    };
    notifier.sendSMSMultiPurpose(smsBody, (e, d) => {
      if (e) {
          return reject(e);
      }
      else {
          return resolve(_input);
      }
    })
1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago