Skip to content

uint8arraylist missing as peer dependency #59

@fryorcraken

Description

@fryorcraken

Generated files contains the following line:

import type { Uint8ArrayList } from "uint8arraylist";

Depending on how npm manages the dependencies, that may lead to issues such as:

src/proto/store_v2beta4.ts:271:5 - error TS2322: Type 'import("/home/fryorcraken/src/status-im/js-waku/node_modules/protons-runtime/node_modules/uint8arraylist/dist/src/index").Uint8ArrayList' is not assignable to type 'import("/home/fryorcraken/src/status-im/js-waku/node_modules/uint8arraylist/dist/src/index").Uint8ArrayList'.

271     return encodeMessage(obj, WakuMessage.codec());

Proposal: declare the right uint8arraylist as a peer dependency of protons-runtime.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions