Skip to content

Commit

Permalink
Updates on README.md Format (#5115)
Browse files Browse the repository at this point in the history
* Updates on `README.md` Format

* Update CHANGELOG.md

Co-authored-by: Junaid <86780488+jdevcs@users.noreply.github.com>
  • Loading branch information
mujeeb-kalwar and jdevcs authored Jun 28, 2022
1 parent 8f05f19 commit aae9d4a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -570,3 +570,5 @@ Released with 1.0.0-beta.37 code base.

### Fixed
- Fix typos in web3-eth-accounts.rst & TESTING.md (#5047)
- Improve README.md & Fix typos (#4848)

12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<img src="assets/logo/web3js.jpg" width="200" alt="web3.js" />
<p style="text-align: center;">
<img src="assets/logo/web3js.jpg" width="200" alt="web3.js">
</p>

# web3.js - Ethereum JavaScript API
Expand Down Expand Up @@ -56,10 +56,10 @@ UNPKG:
```js
// In Node.js
const Web3 = require('web3');

let web3 = new Web3('ws://localhost:8546');
const web3 = new Web3('ws://localhost:8546');
console.log(web3);
> {
// Output
{
eth: ... ,
shh: ... ,
utils: ...,
Expand Down Expand Up @@ -227,7 +227,7 @@ global.process = {
If you are using Ionic/Angular at a version >5 you may run into a build error in which modules `crypto` and `stream` are `undefined`
a work around for this is to go into your node-modules and at `/angular-cli-files/models/webpack-configs/browser.js` change the `node: false` to `node: {crypto: true, stream: true}` as mentioned [here](https://github.com/ethereum/web3.js/issues/2260#issuecomment-458519127)
a workaround for this is to go into your node-modules and at `/angular-cli-files/models/webpack-configs/browser.js` change the `node: false` to `node: {crypto: true, stream: true}` as mentioned [here](https://github.com/ethereum/web3.js/issues/2260#issuecomment-458519127)
Another variation of this problem was an [issue opned on angular-cli](https://github.com/angular/angular-cli/issues/1548)
Expand Down

0 comments on commit aae9d4a

Please sign in to comment.