@open-source-initiative/notify-sms
Advanced tools
Comparing version 2.1.0 to 2.1.1
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
88274