Socket
Socket
Sign inDemoInstall

sinch-verification

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sinch-verification - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

1

index.js
var sinchRestApi = require('sinch-rest-api')
var assert = require('assert-plus');
var https = require('https');
var Q = require('q');

@@ -5,0 +4,0 @@

2

package.json
{
"name": "sinch-verification",
"version": "0.0.4",
"version": "0.0.5",
"description": "Verify mobile numbers using Sinch Verification",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -11,2 +11,3 @@ // Verify phone number from command line, using Sinch

var prompt = require('sync-prompt').prompt || window.prompt;
var consoleOut = function(result) { console.log(result); }

@@ -19,4 +20,4 @@ var number = prompt('What is the phone number? ');

verification.verify(code)
.then(console.log)
.fail(console.log)
}).fail(console.log)
.then(consoleOut)
.fail(consoleOut)
}).fail(consoleOut)
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