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
732
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.3.0-beta.d226ed3b to 4.3.0-beta.f8165b69

25

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

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

// flow-typed signature: 696def0242d98e513b6490ab5780c479
// flow-typed version: <<STUB>>/@ledgerhq/hw-transport_v^4.0.0/flow_v0.66.0
// flow-typed signature: 92fac1564224389ca7d89e9cf2e47e05
// flow-typed version: <<STUB>>/@ledgerhq/hw-transport_v^4.2.0/flow_v0.66.0

@@ -25,14 +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/src/Transport' {

@@ -43,13 +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/src/Transport.js' {
declare module.exports: $Exports<'@ledgerhq/hw-transport/src/Transport'>;
}

@@ -31,10 +31,3 @@ "use strict";

this.transport = transport;
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);
}
transport.decorateAppAPIMethods(this, ["getAddress", "signTransaction", "signPersonalMessage"], "w0w");
}

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

4

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

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

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

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

@@ -35,16 +35,7 @@ /********************************************************************************

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

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