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: rm notification default timeout #232

Merged
merged 2 commits into from
Dec 17, 2020
Merged

Conversation

zcstarr
Copy link
Member

@zcstarr zcstarr commented Dec 16, 2020

fixes #231

@codecov
Copy link

codecov bot commented Dec 16, 2020

Codecov Report

Merging #232 (40688af) into master (473a908) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #232   +/-   ##
=======================================
  Coverage   98.71%   98.71%           
=======================================
  Files          11       11           
  Lines         388      388           
  Branches       53       62    +9     
=======================================
  Hits          383      383           
  Misses          5        5           
Impacted Files Coverage Δ
src/transports/Transport.ts 87.50% <ø> (ø)
src/Client.ts 100.00% <100.00%> (ø)
src/RequestManager.ts 100.00% <100.00%> (ø)
src/transports/EventEmitterTransport.ts 100.00% <100.00%> (ø)
src/transports/HTTPTransport.ts 100.00% <100.00%> (ø)
src/transports/PostMessageIframeTransport.ts 97.50% <100.00%> (ø)
src/transports/PostMessageWindowTransport.ts 97.43% <100.00%> (ø)
src/transports/TransportRequestManager.ts 98.83% <100.00%> (ø)
src/transports/WebSocketTransport.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 473a908...40688af. Read the comment docs.

This fix was needed because the old default used undefined, which
in turn triggered the default timeout when left unspecified, but
would not allow the user to disable timeouts. This refactor allows
users to be specific about what they want specifying default(undefined),custom
timeout, or no timeout (null).

fixes #231
@zcstarr zcstarr merged commit e3266e6 into master Dec 17, 2020
@openrpc-bastion
Copy link
Member

🎉 This PR is included in version 1.6.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Notifications on a websocket transport trigger a timeout after 5000ms
3 participants