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

authy

Package Overview
Dependencies
Maintainers
3
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

authy - npm Package Compare versions

Comparing version 1.3.1 to 1.4.0

8

index.js

@@ -142,2 +142,10 @@ var request = require('request');

verification_status: function(phone_number, country_code, callback) {
options = {
phone_number: phone_number,
country_code: country_code,
};
self._request("get", "/protected/json/phones/verification/status", options, callback);
},
info: function(phone_number, country_code, callback) {

@@ -144,0 +152,0 @@ options = {

2

package.json
{
"name": "authy",
"version": "1.3.1",
"version": "1.4.0",
"description": "Authy.com API lib for node.js",

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

@@ -151,6 +151,18 @@ # node-authy [![Dependency Status](https://david-dm.org/evilpacket/node-authy.png)](https://david-dm.org/evilpacket/node-authy)

#### Status of Phone Verification
Browse the [API docs](https://www.twilio.com/docs/verify/api/verification) for all available params.
phones().verification_status(phone_number, country_code, callback);
```javascript
authy.phones().verification_status('111-111-1111', '1', function (err, res) {
});
```
##### Contributors
- [Daniel Barnes](https://github.com/DanielBarnes)
- [Josh Staples](https://github.com/josh-authy)
- [Josh Staples](https://github.com/josh-authy)
- [Christian Muertz](https://github.com/christian-muertz)

@@ -298,2 +298,12 @@ var apikey = "0cd08abec2e9b9641e40e9470a7fc336";

verification_status: function (test) {
test.expect(1);
authy.phones().verification_status("111-111-1111", "1",
function (err, res) {
test.ok(res);
test.done();
}
);
},
info: function (test) {

@@ -300,0 +310,0 @@ test.expect(1);

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