Skip to content

The generated wasm-utils package does not specify nitro-protocol as a dependency #28

@geoknee

Description

@geoknee

It should, since the generated .d.ts files import some types from nitro-protocol.

We haven't spotted this issue yet because we depend on wasm-utils only in a monorepo that happens to have nitro-protocol installed into it. We will soon hit problems if there are multiple versions of nitro-protocol in play, due to incompatible types.

Unfortunately it seems that adding the dependency to package.json won't work:

wasm-bindgen/wasm-pack#840

Metadata

Metadata

Assignees

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