Skip to content
This repository has been archived by the owner on Jun 27, 2022. It is now read-only.

refactor: use buffer/ package to be compatible with browsers #736

Closed
wants to merge 1 commit into from
Closed

refactor: use buffer/ package to be compatible with browsers #736

wants to merge 1 commit into from

Conversation

faustbrian
Copy link
Contributor

@faustbrian faustbrian commented Dec 9, 2021

Resolves #734

This uses the Buffer from feross/buffer because it is compatible with browsers and node. This means clients won't need any extra polyfills or configurations on their end to run ledger packages inside of browsers.

Closed this because it looks rather painful to adjust all of the typing and flow generation since typing isn't purely reliant on TypeScript.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Buffer is not defined in @ledgerhq/hw-transport-webusb
1 participant