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

nexmo

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nexmo - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

lib/receipts.js

3

lib/nexmo.js

@@ -10,2 +10,3 @@ /*!

// var Num = require('./number');
var Receipts = require('./receipts');

@@ -26,2 +27,4 @@ module.exports = function(options) {

// Nexmo.number = new Num(options);
Nexmo.receipts = new Receipts(options);

@@ -28,0 +31,0 @@ return Nexmo;

5

package.json

@@ -8,3 +8,4 @@ {

"dependencies": {
"request": "2.2.x"
"request": "2.2.x",
"connect": "1.8.x"
},

@@ -15,3 +16,3 @@ "devDependencies": {

"engine": "node >= 0.4.1",
"version": "0.0.4",
"version": "0.0.5",
"files": [

@@ -18,0 +19,0 @@ "index.js",

@@ -19,3 +19,3 @@ # node-nexmo

// ... or check your account balance
// Check your account balance

@@ -28,2 +28,10 @@ nexmo.account.balance(function(err, balance) {

// ... or spin up an http server and emit message receipts
nexmo.receipts.on('failed', function(msg) {
console.log('Message to ' + msg.to + ' failed!');
nexmo.receipts.stop();
}
nexmo.receipts.start();
```

@@ -30,0 +38,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