Skip to content

Uncaught TypeError on browserified telehash.generate() #34

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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