sinch-verification
Advanced tools
Comparing version 0.0.4 to 0.0.5
var sinchRestApi = require('sinch-rest-api') | ||
var assert = require('assert-plus'); | ||
var https = require('https'); | ||
var Q = require('q'); | ||
@@ -5,0 +4,0 @@ |
{ | ||
"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) |
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
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
6396
0