-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Types back-port from 2.x with changes to match the 1.x logic #3132
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…eb3.js into types/back-port-from-2.x
…the root package.json
nivida
approved these changes
Oct 16, 2019
This was referenced Mar 31, 2020
nachomazzara
pushed a commit
to nachomazzara/web3.js
that referenced
this pull request
Jun 4, 2020
* docs: update readme to contain TS usage * feat: learna dtslint * feat: types for `web3` module * feat: `web3` module install dtslint * docs: readme web3 module types * feat: `web3-core` types * docs: update readme for `web3-core` for types * feat: install type dependencies for `web3-core` * feat: `web3-core-helper` types * feat: install type dependency for `web3-core-helpers` * docs: update readme for typings * fix: remove @types/node from `web3-core-helpers` * feat: `web3-core-method` types * feat: install type dependencies for `web3-core-method` * docs: update types for `web3-core-method` in readme * feat: `web3-eth` typings * feat: install type dependencies for `web3-eth` * docs: update readme for `web3-eth` * feat: `web3-eth-abi` typings * feat: install type dependencies for `web3-eth-abi` * docs: update readme for `web3-eth-abi` * feat: `web3-eth-accounts` typings * feat: install type dependencies for `web3-eth-accounts` * docs: update readme for `web3-eth-accounts` * feat: `web3-eth-contract` typings * feat: `web3-eth-contract` tests * feat: install types dependencies for `web3-eth-contract` * docs: update readme for `web3-eth-contract` * feat: `web3-eth-ens` typings * test: `web3-eth-ens` tests * feat: install type dependencies for `web3-eth-ens` * docs: update readme for `web3-eth-ens` * feat: `web3-eth-iban` typings * test: `web3-eth-iban` typing tests * feat: install `web3-eth-iban` typings dependencies * docs: update readme for `web3-eth-iban` * feat: `web3-eth-personal` typings * test: `web3-eth-personal` typings tests * feat: install dependencies for `web3-eth-personal` * docs: update readme `web3-eth-personal` * feat: `web3-net` typings * fix: remove dev dependencies which are not relavant * test: `web3-net` typings tests * docs: update readme for `web3-net` * feat: install dev dependencies for `web3-net` * feat: `web3-shh` typings * test: `web3-shh` typings tests * docs: update `web3-shh` readme * feat: install dev dependencies in `web3-shh` * feat: web3-utils type config files * feat: ascii to hex typings test * feat: bytes to hex typings test * feat: check address checksum typings test * feat: from ascii typings test * feat: from decimal typings test * feat: from utf8 typings test * feat: from wei typings test * feat: get signature params typings test * feat: get unit value typings test * feat: hex to ascii typings test * feat: hex to bytes typings test * feat: hex to number string typings test * feat: hex to number typings test * feat: hex to string typings test * feat: hex to utf8 typings test * feat: is address typings test * feat: is big number typings test * feat: is bloom typings test * feat: is bn typings test * feat: is hex strict typings test * feat: is hex typings test * feat: is topic typings test * feat: json interface method to string typings test * feat: keccak256 typings test * feat: left pad typings test * feat: number to hex typings test * feat: utils type tests * feat: add types in package.json * feat: new lock files for all packages * feat: new lock files for web3-eth-account * feat: new lock file for web3-provider.ws * feat: install new dev dependencies for typings on root * feat: export the typings in the package.json * feat: web3 typings tests to reference web3-core * feat: reference web3-core over web3-providers * feat: typings moved around due to different approach in 2.x * feat: web3-bzz types * feat: web3-bzz dependencies * test: web3 bzz types * fix: resolve dtslint typing tests fails * feat: web3-provider-http types * test: web3-provider-http tests * refactor: rename to `tests` * docs: add author to the http provider * feat: install web3-provider-ipc new dev dependencies * docs: update readme for web3-provider-ipc * feat: `web3-providers-ipc` typings * test: web3-provider-ipc test typings * feat: typings for web3-providers-ipc * fix: remove file comment * fix: resolve index.d.ts file * feat: install type dependencies for web3-provider-ws * feat: `web-providers-ws` typings * feat: web3-providers-ws ts files * test: web3-provider-ws-tests * fix: remove batch request from web3-bzz * feat: export errors from web3-core-helpers * fix: remove options from `web3.shh` * fix: define callback in the filter methods * feat: remove `TransactionSigner` * docs: add web3-eth-personal docs * fix: resolve typings 1.0 from pr comments * types updated * ci script updated * global install of typescript for CI added * installation of typescript moved to before_script * lerna-debug.log added to gitignore * lerna-debug removed * getNodeInfo added to types and documentation * getChainId to types added * travis.yml fixed * global install of typescript removed and just added as dependency to the root package.json * fix: dtslint to version `0.4.2` * fix: remove repeating typings
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Back porting the types we did in 2.x web3 into 1.x. Some modules were different in 1.x so had to reshape some of where the types lived apart from that it works as it does in 2.0.
Please go through and see if you spot any interfaces which were changed in 2.x but the public interface stayed the same throughout versions.
all types pass. 👍
This fixes a lot of the TS issues to get web3 1.0 stable here > #3070