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

@binance-chain/bsc-ledger-bridge-keyring

Package Overview
Dependencies
Maintainers
4
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@binance-chain/bsc-ledger-bridge-keyring - npm Package Compare versions

Comparing version 0.2.11 to 0.2.12

14

index.js

@@ -213,3 +213,3 @@ const { EventEmitter } = require('events')

// For personal_sign, we need to prefix the message:
signPersonalMessage (withAccount, message) {
signPersonalMessage (withAccount, message, accountIndex = 0) {
return new Promise((resolve, reject) => {

@@ -219,13 +219,3 @@ this.unlock().then((_) => {

if (this._isBIP44()) {
const checksummedAddress = ethUtil.toChecksumAddress(withAccount)
if (!Object.keys(this.accountIndexes).includes(checksummedAddress)) {
reject(
new Error(
`Ledger: Index for address '${checksummedAddress}' not found`,
),
)
}
hdPath = this._getPathForIndex(
this.accountIndexes[checksummedAddress],
)
hdPath = this._getPathForIndex(accountIndex)
} else {

@@ -232,0 +222,0 @@ hdPath = this._toLedgerPath(this._pathFromAddress(withAccount))

2

package.json
{
"name": "@binance-chain/bsc-ledger-bridge-keyring",
"version": "0.2.11",
"version": "0.2.12",
"description": "A MetaMask compatible keyring, for ledger hardware wallets",

@@ -5,0 +5,0 @@ "main": "index.js",

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