Socket
Socket
Sign inDemoInstall

@ledgerhq/hw-transport-http

Package Overview
Dependencies
Maintainers
5
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 1.1.2-beta.068e2a14 to 1.2.0-beta.10b44916

lib/withStaticURL.js

32

flow-typed/npm/@ledgerhq/hw-transport_vx.x.x.js

@@ -1,3 +0,3 @@

// flow-typed signature: fa1b28be04412b217dd88396eeacee77
// flow-typed version: <<STUB>>/@ledgerhq/hw-transport_v^1.1.0/flow_v0.63.1
// flow-typed signature: e0af1d60524d07be77d5cbc75b4f9d44
// flow-typed version: <<STUB>>/@ledgerhq/hw-transport_v^1.0.5/flow_v0.63.1

@@ -25,18 +25,2 @@ /**

*/
declare module '@ledgerhq/hw-transport/flow-typed/npm/events_vx.x.x' {
declare module.exports: any;
}
declare module '@ledgerhq/hw-transport/flow-typed/npm/flow-bin_v0.x.x' {
declare module.exports: any;
}
declare module '@ledgerhq/hw-transport/flow-typed/npm/flow-typed_vx.x.x' {
declare module.exports: any;
}
declare module '@ledgerhq/hw-transport/flow-typed/npm/invariant_v2.x.x' {
declare module.exports: any;
}
declare module '@ledgerhq/hw-transport/src/Transport' {

@@ -47,16 +31,4 @@ declare module.exports: any;

// Filename aliases
declare module '@ledgerhq/hw-transport/flow-typed/npm/events_vx.x.x.js' {
declare module.exports: $Exports<'@ledgerhq/hw-transport/flow-typed/npm/events_vx.x.x'>;
}
declare module '@ledgerhq/hw-transport/flow-typed/npm/flow-bin_v0.x.x.js' {
declare module.exports: $Exports<'@ledgerhq/hw-transport/flow-typed/npm/flow-bin_v0.x.x'>;
}
declare module '@ledgerhq/hw-transport/flow-typed/npm/flow-typed_vx.x.x.js' {
declare module.exports: $Exports<'@ledgerhq/hw-transport/flow-typed/npm/flow-typed_vx.x.x'>;
}
declare module '@ledgerhq/hw-transport/flow-typed/npm/invariant_v2.x.x.js' {
declare module.exports: $Exports<'@ledgerhq/hw-transport/flow-typed/npm/invariant_v2.x.x'>;
}
declare module '@ledgerhq/hw-transport/src/Transport.js' {
declare module.exports: $Exports<'@ledgerhq/hw-transport/src/Transport'>;
}

@@ -6,2 +6,3 @@ "use strict";

});
exports.withStaticURL = undefined;

@@ -12,2 +13,6 @@ var _hwTransport = require("@ledgerhq/hw-transport");

var _withStaticURL = require("./withStaticURL");
var _withStaticURL2 = _interopRequireDefault(_withStaticURL);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -17,2 +22,4 @@

exports.withStaticURL = _withStaticURL2.default;
/**

@@ -22,2 +29,3 @@ * HTTP transport implementation

// NOTE in the future we might want to do WebSocket, because we could have the disconnect lifecycle hooked.
class HttpTransport extends _hwTransport2.default {

@@ -24,0 +32,0 @@ // this transport is not discoverable

{
"name": "@ledgerhq/hw-transport-http",
"version": "1.1.2-beta.068e2a14",
"version": "1.2.0-beta.10b44916",
"description": "Ledger Hardware Wallet communication layer over http",

@@ -28,3 +28,3 @@ "keywords": [

"dependencies": {
"@ledgerhq/hw-transport": "^1.1.2-beta.068e2a14"
"@ledgerhq/hw-transport": "^1.2.0-beta.10b44916"
},

@@ -31,0 +31,0 @@ "devDependencies": {

//@flow
import Transport from "@ledgerhq/hw-transport";
import withStaticURL from "./withStaticURL";
export { withStaticURL };

@@ -4,0 +6,0 @@ /**

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