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

@open-source-initiative/notify-sms

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@open-source-initiative/notify-sms - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

2

package.json
{
"name": "@open-source-initiative/notify-sms",
"version": "2.1.0",
"version": "2.1.1",
"description": "This library enables users to send SMSs to zambian numbers accross all networks via notify",

@@ -5,0 +5,0 @@ "main": "./build/index",

@@ -75,3 +75,3 @@ import axios from 'axios';

public async SEND_SMS_TO_CUSTOM_CONTACTS({ contacts, senderId, message}: { contacts: string[], senderId: string, message: string }) {
public async SEND_SMS_TO_CUSTOM_CONTACTS({ contacts, senderId, message}: { contacts: string[], senderId: string, message: string }, options?: { useSenderIdName?: boolean }) {
if(!this.accessToken) throw "Access token not set";

@@ -83,3 +83,3 @@ return sendSMS({

message
}, { URL: SEND_SMS_API, ACCESS_TOKEN: this.accessToken });
}, { URL: SEND_SMS_API, ACCESS_TOKEN: this.accessToken, ...options });
}

@@ -86,0 +86,0 @@

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