helliomessaging-nodejs
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "helliomessaging-nodejs", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A Node.js package for integrating with Hellio Messaging API. This package provides functionalities for sending SMS, generating OTP, performing number lookup, checking delivery reports, checking sms and voice pricing and checking account balance.", | ||
"keywords": [ | ||
"hellio messaging", | ||
"sms", | ||
"sms api", | ||
"nodejs sms api", | ||
"otp api", | ||
"voice sms api", | ||
"number lookup", | ||
"sms delivery report", | ||
"sms balance check", | ||
"sms API integration", | ||
"Node.js", | ||
"sms package", | ||
"sms library", | ||
"sms gateway", | ||
"messaging service", | ||
"authentication api", | ||
"verification api", | ||
"carrier lookup", | ||
"SMS notifications", | ||
"messaging solution" | ||
], | ||
"main": "src/index.js", | ||
"scripts": { | ||
"build": "babel src -d dist", | ||
"start": "node src/index.js" | ||
"start": "node src/index.js", | ||
"test": "jest" | ||
}, | ||
@@ -15,4 +38,8 @@ "author": "Albert A. Ninyeh (VimKanzo)", | ||
"crypto": "^1.0.1", | ||
"moment": "^2.29.4" | ||
"moment": "^2.29.4", | ||
"sha1": "^1.1.1" | ||
}, | ||
"devDependencies": { | ||
"jest": "^29.5.0" | ||
} | ||
} |
@@ -30,3 +30,3 @@ const axios = require("axios"); | ||
sendSMS(params) { | ||
const endpoint = "/sms"; | ||
const endpoint = "/v2/sms"; | ||
@@ -82,3 +82,3 @@ const payload = { | ||
numberLookup(params) { | ||
const endpoint = "/hlr/request"; | ||
const endpoint = "/v1/hlr/request"; | ||
@@ -98,3 +98,3 @@ const payload = { | ||
getRoutingPrice(params) { | ||
const endpoint = "/route/pricing"; | ||
const endpoint = "/v1/route/pricing"; | ||
@@ -114,3 +114,3 @@ const queryParams = { | ||
checkDeliveryReport(params) { | ||
const endpoint = "/delivery-logs"; | ||
const endpoint = "v1/delivery-logs"; | ||
@@ -132,3 +132,3 @@ const queryParams = { | ||
checkBalance() { | ||
const endpoint = "/credit-balance"; | ||
const endpoint = "/v1/credit-balance"; | ||
@@ -135,0 +135,0 @@ return this.api |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
18954
6
334
4
1
1
+ Addedsha1@^1.1.1
+ Addedcharenc@0.0.2(transitive)
+ Addedcrypt@0.0.2(transitive)
+ Addedsha1@1.1.1(transitive)