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

Web3 shh typings #2128

Merged
merged 10 commits into from
Dec 17, 2018
Merged

Web3 shh typings #2128

merged 10 commits into from
Dec 17, 2018

Conversation

joshstevens19
Copy link
Contributor

web3-shh full typing's.

All typing's have been written, i have brought web3-core into the dependencies as it was a child dependency anyway, as was brought it by other packages so this is not a breaking change. This should of really been a parent dependency from the start.

Cheers

@@ -63,7 +63,7 @@ Returns
-------


``String`` - The version of the current whisper running.
``Promise`` returns ``String`` - The version of the current whisper running.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like this syntax more: Promise<String> 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would as well but the web3-eth describes it like this so i wanted to keep it consistent

https://web3js.readthedocs.io/en/1.0/web3-eth.html#getcoinbase

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay then I'll change that later everywhere :)

@nivida nivida added the Enhancement Includes improvements or optimizations label Dec 17, 2018
@nivida nivida merged commit d6e893d into web3:ethereumProvider Dec 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Includes improvements or optimizations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants