Skip to content

Commit

Permalink
Introduce code from pull request in main bledger repo for WebUSB supp…
Browse files Browse the repository at this point in the history
…ort (by Nodar Chkuaselidze bcoin-org#38)
  • Loading branch information
ARyaskov committed May 8, 2019
1 parent 903d70d commit 4516364
Show file tree
Hide file tree
Showing 2 changed files with 393 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/bledger-browser.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/*!
* bledger-browser.js - Ledger communication for browser
* Copyright (c) 2018, The Bcoin Developers (MIT License).
* Copyright (c) 2019, Nodari Chkuaselidze (MIT License)
* https://github.com/bcoin-org/bledger/pull/38
* https://github.com/bcoin-org/bcoin
*/

Expand All @@ -10,10 +12,12 @@ const LedgerError = require('./protocol/error');
const LedgerBcoin = require('./bcoin');
const LedgerTXInput = require('./txinput');
const U2F = require('./devices/u2f');
const WebUSB = require('./devices/webusb');

exports.bledger = exports;

exports.U2F = U2F;
exports.WebUSB = WebUSB;
exports.LedgerError = LedgerError;

exports.LedgerBcoin = LedgerBcoin;
Expand Down
Loading

0 comments on commit 4516364

Please sign in to comment.