-
Notifications
You must be signed in to change notification settings - Fork 25
Closed
Labels
Description
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
.
achingbrain