Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ledgerhq/hw-app-eth

Package Overview
Dependencies
Maintainers
7
Versions
722
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ledgerhq/hw-app-eth - npm Package Compare versions

Comparing version 4.2.0 to 4.3.0-beta.d226ed3b

11

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

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

// flow-typed signature: e8ff6b87e2bf6d7df329077e048036ef
// flow-typed version: <<STUB>>/@ledgerhq/hw-transport_v^2.0.1/flow_v0.63.1
// flow-typed signature: 696def0242d98e513b6490ab5780c479
// flow-typed version: <<STUB>>/@ledgerhq/hw-transport_v^4.0.0/flow_v0.66.0

@@ -37,6 +37,2 @@ /**

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

@@ -56,7 +52,4 @@ declare module.exports: any;

}
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'>;
}

7

lib/Eth.js

@@ -32,2 +32,9 @@ "use strict";

transport.setScrambleKey("w0w");
var self = this;
var _arr = ["getAddress", "signTransaction", "signPersonalMessage"];
for (var _i = 0; _i < _arr.length; _i++) {
var methodName = _arr[_i];
self[methodName] = transport.globalLock(methodName, self[methodName], self);
}
}

@@ -34,0 +41,0 @@

{
"name": "@ledgerhq/hw-app-eth",
"version": "4.2.0",
"version": "4.3.0-beta.d226ed3b",
"description": "Ledger Hardware Wallet Ethereum Application API",

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

"dependencies": {
"@ledgerhq/hw-transport": "^4.2.0"
"@ledgerhq/hw-transport": "^4.3.0-beta.d226ed3b"
},

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

@@ -36,2 +36,15 @@ /********************************************************************************

transport.setScrambleKey("w0w");
const self: Object = this;
for (let methodName of [
"getAddress",
"signTransaction",
"signPersonalMessage"
]) {
self[methodName] = transport.globalLock(
methodName,
self[methodName],
self
);
}
}

@@ -38,0 +51,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