stellar-deprecated / account-viewer

DEPRECATED. Go to https://github.com/stellar/account-viewer-v2
Apache License 2.0
62 stars 65 forks source link

Update ledger dependencies #101

Closed vcarl closed 4 years ago

vcarl commented 4 years ago

Also updates the version of the Stellar SDK pinned via yarn.lock to 2.3.0. Later versions than that are blocked by engines at the moment.

The latest version of @ledgerhq/hw-transport-u2f (and hw-transport) appear to have shipped a strange mix of transpiled and untranspiled code, and they break the local build. This is extremely hacky, but since the build is account viewer build is so modularized and fragile, I found it easiest to vendor the deps and transform the code manually. This is disgusting and I hate it, for the record, but the account viewer is pretty long in the tooth and the effort to update it is likely more than the effort to replace it.