@ledgerhq/hw-transport-http
Advanced tools
Comparing version 4.26.0 to 4.27.0
@@ -172,3 +172,3 @@ "use strict"; | ||
_context3.next = 2; | ||
return (0, _axios2.default)(url, { timeout: timeout }); | ||
return (0, _axios2.default)({ url: url, timeout: timeout }); | ||
@@ -175,0 +175,0 @@ case 2: |
{ | ||
"name": "@ledgerhq/hw-transport-http", | ||
"version": "4.26.0", | ||
"version": "4.27.0", | ||
"description": "Ledger Hardware Wallet communication layer over http", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -19,3 +19,3 @@ //@flow | ||
static check = async (url: string, timeout: number = 5000) => { | ||
const response = await axios(url, { timeout }); | ||
const response = await axios({ url, timeout }); | ||
if (response.status !== 200) { | ||
@@ -22,0 +22,0 @@ throw new TransportError( |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
51574