Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
892: fix: type export via `typesVersions` r=fryorcraken a=filoozom ## Problem Importing anything from TypeScript in `js-waku/lib/` (`v0.25.0-rc.0`) does not work. It can't find the types despite the `exports.*.types` in `package.json`. ## Solution This solution was inspired by `libp2p` ([example in ``@libp2p/interfaces`](https://github.com/libp2p/js-libp2p-interfaces/blob/master/packages/interfaces/package.json#L24-L39)),` and just adds `typesVersions` to `package.json`. Documentation: https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html#folder-redirects-using- ## Notes - See #891 (comment) 893: fix: do not throw on lack of response r=fryorcraken a=fryorcraken Expected proto3 behaviour, just no message returned. Co-authored-by: Philippe Schommers <philippe@schommers.be> Co-authored-by: fryorcraken.eth <git@fryorcraken.xyz>
- Loading branch information