Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit cecca9f

Browse files
authored
Merge branch '1.0' into documentation/web3-module-example
2 parents 57f7542 + cf5a8d8 commit cecca9f

22 files changed

+2
-2719
lines changed

docs/getting-started.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ The web3.js library is a collection of modules which contain specific functional
88

99
- The ``web3-eth`` is for the Ethereum blockchain and smart contracts
1010
- The ``web3-shh`` is for the whisper protocol to communicate p2p and broadcast
11-
- The ``web3-bzz`` is for the swarm protocol, the decentralized file storage
1211
- The ``web3-utils`` contains useful helper functions for DApp developers.
1312

1413

docs/include_package-core.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -277,12 +277,11 @@ setProvider
277277
web3.setProvider(myProvider)
278278
web3.eth.setProvider(myProvider)
279279
web3.shh.setProvider(myProvider)
280-
web3.bzz.setProvider(myProvider)
281280
...
282281
283282
Will change the provider for its module.
284283

285-
.. note:: When called on the umbrella package ``web3`` it will also set the provider for all sub modules ``web3.eth``, ``web3.shh``, etc EXCEPT ``web3.bzz`` which needs a separate provider at all times.
284+
.. note:: When called on the umbrella package ``web3`` it will also set the provider for all sub modules ``web3.eth``, ``web3.shh``, etc.
286285

287286
----------
288287
Parameters
@@ -378,7 +377,6 @@ givenProvider
378377
Web3.givenProvider
379378
web3.eth.givenProvider
380379
web3.shh.givenProvider
381-
web3.bzz.givenProvider
382380
...
383381
384382
When using web3.js in an Ethereum compatible browser, it will set with the current native provider by that browser.
@@ -411,7 +409,6 @@ currentProvider
411409
web3.currentProvider
412410
web3.eth.currentProvider
413411
web3.shh.currentProvider
414-
web3.bzz.currentProvider
415412
...
416413
417414
Will return the current provider.

docs/include_package-net.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ getId
77
.. code-block:: javascript
88
99
web3.eth.net.getId([callback])
10-
web3.bzz.net.getId([callback])
1110
web3.shh.net.getId([callback])
1211
1312
Gets the current network ID.
@@ -41,7 +40,6 @@ isListening
4140
.. code-block:: javascript
4241
4342
web3.eth.net.isListening([callback])
44-
web3.bzz.net.isListening([callback])
4543
web3.shh.net.isListening([callback])
4644
4745
Checks if the node is listening for peers.
@@ -75,7 +73,6 @@ getPeerCount
7573
.. code-block:: javascript
7674
7775
web3.eth.net.getPeerCount([callback])
78-
web3.bzz.net.getPeerCount([callback])
7976
web3.shh.net.getPeerCount([callback])
8077
8178
Get the number of peers connected to.

docs/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ Contents:
3939
web3-eth-net
4040
web3-eth-abi
4141
web3-net
42-
web3-bzz
4342
web3-shh
4443
web3-utils
4544
web3-module

docs/web3-bzz.rst

Lines changed: 0 additions & 305 deletions
This file was deleted.

docs/web3-net.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ The ``web3-net`` package allows you to interact with the Ethereum nodes network
2323
const web3 = new Web3(Web3.givenProvider || 'ws://some.local-or-remote.node:8546', null, options);
2424
2525
// -> web3.eth.net
26-
// -> web3.bzz.net
2726
// -> web3.shh.net
2827
2928

0 commit comments

Comments
 (0)