authy-client
Advanced tools
Comparing version 1.1.0 to 1.1.1
# Changelog | ||
## [v1.1.1](https://github.com/ruimarinho/authy-client/tree/v1.1.1) (2018-02-13) | ||
[Full Changelog](https://github.com/ruimarinho/authy-client/compare/v1.1.0...v1.1.1) | ||
**Merged pull requests:** | ||
- Loosen host check [\#47](https://github.com/ruimarinho/authy-client/pull/47) ([ruimarinho](https://github.com/ruimarinho)) | ||
## [v1.1.0](https://github.com/ruimarinho/authy-client/tree/v1.1.0) (2018-01-04) | ||
@@ -4,0 +11,0 @@ [Full Changelog](https://github.com/ruimarinho/authy-client/compare/v1.0.10...v1.1.0) |
{ | ||
"name": "authy-client", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "A complete Authy client with support for TOTP, OneTouch, Phone Verification and Phone Intelligence APIs", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -93,3 +93,3 @@ 'use strict'; | ||
(0, _validator.validate)({ host: host, key: key, timeout: timeout }, { | ||
host: [_validator.Assert.string(), _validator.Assert.choice(['https://api.authy.com', 'https://sandbox-api.authy.com'])], | ||
host: _validator.Assert.string(), | ||
key: [_validator.Assert.required(), _validator.Assert.notBlank()], | ||
@@ -96,0 +96,0 @@ timeout: [_validator.Assert.integer(), _validator.Assert.greaterThanOrEqual(0)] |
{ | ||
"name": "authy-client", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "A complete Authy client with support for TOTP, OneTouch, Phone Verification and Phone Intelligence APIs", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -124,3 +124,3 @@ # authy-client | ||
3. `[options]` _(Object)_: The options object. | ||
4. `[options.host=https://api.authy.com]` _(string)_: The target endpoint (`https://api.authy.com` or `https://sandbox-api.authy.com`). | ||
4. `[options.host=https://api.authy.com]` _(string)_: The target API endpoint. | ||
5. `[options.timeout=5000]` _(number)_: The maximum request time, in milliseconds. | ||
@@ -127,0 +127,0 @@ |
Sorry, the diff of this file is too big to display
291030
94
5911