Skip to content

Uncaught TypeError on browserified telehash.generate() #34

@iaaaan

Description

@iaaaan

Hi,

I've been trying to get telehash-js to work in the browser without success.
After browserifying the source and running the example, I get the following error on telehash.generate():

TypeError: sodium.crypto_box_keypair is not a function
in bundle.js:32074

Of course I don't have any problem running this in node. This might be me missing something, but I've been stuck for a few days so I figured I might ask.

Thank you for your great work! it's very exciting stuff.

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