Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: do not throw on lack of response #893

Merged
merged 2 commits into from
Aug 17, 2022
Merged

fix: do not throw on lack of response #893

merged 2 commits into from
Aug 17, 2022

Conversation

fryorcraken
Copy link
Collaborator

Expected proto3 behaviour, just no message returned.

@fryorcraken fryorcraken mentioned this pull request Aug 17, 2022
6 tasks
@fryorcraken
Copy link
Collaborator Author

bors merge

status-bors-ng bot added a commit that referenced this pull request Aug 17, 2022
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>
@github-actions
Copy link

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
Waku core 134.64 KB (0%) 2.7 s (0%) 2.8 s (+27% 🔺) 5.5 s
Waku default setup 307.79 KB (+0.01% 🔺) 6.2 s (+0.01% 🔺) 3.8 s (-15.51% 🔽) 9.9 s
Asymmetric, symmetric encryption and signature 134 KB (0%) 2.7 s (0%) 3.6 s (+22.52% 🔺) 6.3 s
DNS discovery 120.89 KB (0%) 2.5 s (0%) 1.8 s (-41.6% 🔽) 4.2 s
Privacy preserving protocols 134 KB (0%) 2.7 s (0%) 2.4 s (-24.36% 🔽) 5.1 s
Light protocols 135.39 KB (0%) 2.8 s (0%) 3 s (+36.15% 🔺) 5.7 s
History retrieval protocols 135.52 KB (+0.02% 🔺) 2.8 s (+0.02% 🔺) 2.2 s (-13.83% 🔽) 5 s

@status-bors-ng
Copy link
Contributor

This PR was included in a batch that timed out, it will be automatically retried

@status-bors-ng status-bors-ng bot merged commit 6781166 into master Aug 17, 2022
@status-bors-ng status-bors-ng bot deleted the throw-store branch August 17, 2022 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant