0.0.10 • Published 3 years ago

@avesta-oss/avesta-sms-gateway v0.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

avesta-sms-gateway

avesta-sms-gateway is a module for send sms using different sms gateways. Currently we are supporting 2factor and Msg91.

import { SmsSender, TwoFactor } from '@avesta-oss/avesta-sms-gateway';
 
 const twoFactor = new TwoFactor({
   apiKey:<YOUR_2FACTOR_API_KEY>,
   senderId: <YOUR_SENDER_ID>,
   template:<YOUT_TEMPLATE_NAME>
 });
 
 smsSender.sendSms(twoFactor, 99XXXXXXXX,[{VAR1:123456}]);
const smsGateway = require('@avesta-oss/avesta-sms-gateway');

const twoFactor = new smsGateway.TwoFactor({
   apiKey:<YOUR_2FACTOR_API_KEY>,
   senderId: <YOUR_SENDER_ID>,
   template:<YOUT_TEMPLATE_NAME>
});

 smsGateway.smsSender.sendSms(twoFactor, 99XXXXXXXX,[{VAR1:123456}]);
0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago