authy-client
Advanced tools
Comparing version 1.0.4 to 1.0.5
# Changelog | ||
## [v1.0.5](https://github.com/seegno/authy-client/tree/v1.0.5) (2016-08-01) | ||
[Full Changelog](https://github.com/seegno/authy-client/compare/v1.0.4...v1.0.5) | ||
**Merged pull requests:** | ||
- Add support for x-authy-signature-nonce as a string [\#11](https://github.com/seegno/authy-client/pull/11) ([ruimarinho](https://github.com/ruimarinho)) | ||
## [v1.0.4](https://github.com/seegno/authy-client/tree/v1.0.4) (2016-07-31) | ||
[Full Changelog](https://github.com/seegno/authy-client/compare/v1.0.3...v1.0.4) | ||
## [v1.0.3](https://github.com/seegno/authy-client/tree/v1.0.3) (2016-07-31) | ||
[Full Changelog](https://github.com/seegno/authy-client/compare/v1.0.2...v1.0.3) | ||
## [v1.0.2](https://github.com/seegno/authy-client/tree/v1.0.2) (2016-06-04) | ||
@@ -4,0 +17,0 @@ [Full Changelog](https://github.com/seegno/authy-client/compare/v1.0.1...v1.0.2) |
{ | ||
"name": "authy-client", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "A complete Authy client with support for TOTP, OneTouch, Phone Verification and Phone Intelligence APIs", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -829,3 +829,3 @@ 'use strict'; | ||
'x-authy-signature': [_validator.Assert.string(), _validator.Assert.Signature({ key: this.key, request: request })], | ||
'x-authy-signature-nonce': [_validator.Assert.integer()] | ||
'x-authy-signature-nonce': [_validator.Assert.callback(value => _validator.Assert.integer().check(value) === true || _validator.Assert.string().check(value) === true)] | ||
}, | ||
@@ -832,0 +832,0 @@ method: [_validator.Assert.required(), _validator.Assert.choice(['GET', 'POST'])], |
{ | ||
"name": "authy-client", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "A complete Authy client with support for TOTP, OneTouch, Phone Verification and Phone Intelligence APIs", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -597,3 +597,3 @@ | ||
'x-authy-signature': [is.string(), is.Signature({ key: this.key, request })], | ||
'x-authy-signature-nonce': [is.integer()] | ||
'x-authy-signature-nonce': [is.callback(value => is.integer().check(value) === true || is.string().check(value) === true)] | ||
}, | ||
@@ -600,0 +600,0 @@ method: [is.required(), is.choice(['GET', 'POST'])], |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
417741
10041