Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Releases: MetaMask/eth-ledger-bridge-keyring

v3.0.1

02 Sep 15:11
cf5b887
Compare
Choose a tag to compare

Fixed

  • The promise returned by the init method now resolves only after the iframe has been loaded (#236)
    • updateTransportMethod will throw an error when called before init

4.1.1

15 Aug 08:34
a6152d0
Compare
Choose a tag to compare

Fixed

  • The promise returned by the init method now resolves only after iframe has been loaded (#236)
    • updateTransportMethod will throw an error when called before init

4.1.0

12 Jul 21:41
2a93ac2
Compare
Choose a tag to compare

Changed

  • Refactor error message in LedgerKeyring (#232)
  • Extend LedgerMobileBridge type from LedgerBridge (#233)
  • Create new MetaMaskLedgerHwAppEth instance instead of re-using previous instance (#231)

4.0.0

25 Jun 00:50
cbace1f
Compare
Choose a tag to compare

Added

  • Add classes LedgerMobileBridge, LedgerTransportMiddleware, and MetaMaskLedgerHwAppEth to support Bluetooth as a HW Ledger Transport option (#225)

Changed

  • BREAKING: The LedgerKeyring method setAccountToUnlock now only accepts an input of type number (#225)
  • BREAKING: Removed the chainCode property from the GetPublicKeyResponse type (#225)

3.0.0

28 Feb 11:27
bda0332
Compare
Choose a tag to compare

Added

  • Add getOptions and setOptions methods to LedgerBridge interface (#210)

Changed

  • BREAKING: LedgerIframeBridge class constructor now takes an options object with bridgeUrl (#210)
  • BREAKING: LedgerBridge init function now takes no parameters (#210)
  • BREAKING: LedgerBridgeKeyringOptions no longer contain bridgeUrl (#210)
  • BREAKING: LedgerBridge interface is now parameterized over its option type (#210)
  • Minor performance enhancement (#211)

Fixed

  • BREAKING: IFrameMessageResponse now has more restrictive typings (#207) (#207)

2.0.1

04 Dec 08:19
0155719
Compare
Choose a tag to compare

Fixed

  • Fix invalid rlp data error for legacy transactions in 2.0.0 (#212)

2.0.0

06 Nov 18:14
a2098ce
Compare
Choose a tag to compare

Changed

  • BREAKING: Remove support for major node versions 14,15,17,19. Minimum Node.js version is now 16. (#204)
  • Bump @metamask/eth-sig-util from ^6.0.1 to ^7.0.0 (#205)

Fixed

  • Move @metamask/utils from deendencies to devDependencies (#209)

1.0.1

26 Oct 21:35
3de1eab
Compare
Choose a tag to compare

Fixed

  • Bump dependency hdkey from 0.8.0 to ^2.1.0 (#196)
  • Replace dependency eth-sig-util@^2 with @metamask/eth-sig-util@^6 (#157)
  • Replace dependency ethereumjs-util@^7.0.9 with @ethereumjs/util@^8.0.0 and @ethereumjs/rlp (#153)

1.0.0

16 Jun 14:42
ef3ce58
Compare
Choose a tag to compare

Changed

  • BREAKING: Separate the bridge from the keyring (#156)
    • The Ledger bridge is now a separate class (LedgerIframeBridge), which must be constructed separately from the keyring and passed in as a constructor argument.
    • The bridge initialization has been moved from the keyring constructor to the keyring init method. The bridge is expected to be passed to the keyring uninitialized, and the keyring init method is expected to be called after keyring construction (before the keyring is used).
    • The keyring constructor no longer accepts keyring state. Instead, any pre-existing keyring state should be passed to the deserialize method after construction.
  • BREAKING: Export changed from default to named (#174)
    • The keyring is exported as LedgerKeyring
  • Add TypeScript types (#174)

v0.14.0

20 Mar 17:48
9e1008e
Compare
Choose a tag to compare

Changed

  • BREAKING: The minimum version of Node.js required for this package has been bumped to v14. (#169)

Fixed

  • Fix incorrect v for EIP-712 signatures and personal_sign (#152)