Skip to content

Remove top level await in crypto.ts #60

@Tyler-Petrov

Description

@Tyler-Petrov

I'm using Convex, and their runtime/module bundler doesn't support top level await. This is blocking my use of this package as I haven't found any work arounds

const { webcrypto } = await import('node:crypto');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions