Skip to content

The package does not provide an export named 'poseidon' #22

@ukorvl

Description

@ukorvl

I have a problem with the package when running it with tsx package. Actually, this is a part of our client library, we use poseidon implementation from this package. Our library by default has type module, so it creates a scope for the loader and everything within it is loaded as es module, except .cjs files.

I got the following error: The requested module '@iden3/js-crypto' does not provide an export named 'poseidon'
Version of the package: 1.1.0.

i have an assumption that the problem occurs because of the module resolution. Another assumption is that #21 will help. I'm interested do you plan to merge it or it is worth to create a separate pull request?

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