Skip to content

Use Buffer polyfill for the browser #87

@Janaka-Steph

Description

@Janaka-Steph

Node Buffer only works in the browser with a polyfill, it is not good practice to expect the client to have it. Also it should fix an issue we have with Cypress on tdex-app.
From my research we can use this one for browser https://github.com/feross/buffer. We check the environment and use this lib or Node Buffer accordingly.

@tiero @louisinger

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions