question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support web3.js 1.2.2 or more than version

See original GitHub issue

In web3.js 1.2.1, type definition files were divided into @types/web3. But, in 1.2.2 or more than version, web3 have included type definition files. ref: https://github.com/ethereum/web3.js/releases/tag/v1.2.2

Type definition files of @types/web3and type definition files of web3@1.2.2 are not compatible. e.g. web3/eth to web3-eth.

Therefore, it is necessary to create a new target.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
krzkaczorcommented, Nov 19, 2019

@odanado I will try to do it over the weekend 👍

1reaction
krzkaczorcommented, Dec 15, 2019

Thanks @Velenir for bringing this to my attention 👍

FYI: @d10r

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support web3.js 1.2.2 or more than version · Issue #187
js 1.2.1, type definition files were divided into @types/web3 . But, in 1.2.2 or more than version, web3 have included type definition files....
Read more >
web3 - npm
Ethereum JavaScript API. Latest version: 1.8.1, last published: 2 days ago. Start using web3 in your project by running `npm i web3`.
Read more >
Which version of web3 shall i be using now?
Web3 1.2.1 is basically the most stable 1.0.0 version(beta37) and 2.0.0 is slightly improved 1.0.0-beta.55 as you can see in the releases ...
Read more >
web3.eth — web3.js 1.0.0 documentation - Read the Docs
Object - The transaction data to sign web3.eth.sendTransaction() for more. String - Address to sign transaction with. Function - (optional) ...
Read more >
ethereum/web3.js - Gitter
I am new here and trying to soak it all up. I tried to setup my own subdomain website trying to follow @econoar...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found