Socket
Socket
Sign inDemoInstall

@ledgerhq/hw-transport-http

Package Overview
Dependencies
Maintainers
7
Versions
382
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ledgerhq/hw-transport-http - npm Package Compare versions

Comparing version 4.26.0 to 4.27.0

2

lib/HttpTransport.js

@@ -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

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