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

Utils _ (underscore lib) context removed #4403 #4417

Merged
merged 3 commits into from
Oct 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,7 @@ Released with 1.0.0-beta.37 code base.
- Not considering `tx.chainId` if `tx.common.customChain.chainId` is provided for `web3.eth.accounts.signTransaction` function (#4293)
- Added missing PromiEvent handler types (#4194)
- Updated README to include Webpack 5 angular support instructions (#4174)
- Updated the documentation for the `Web3.utils`, removed context for `_` (underscore lib) (#4403)
- Emit subscription id with connect event when creating a subscription (#4300)
- Introduced new configuration "blockHeaderTimeout" for waiting of block headers for transaction receipt (#3891)
- Format `block.baseFeePerGas` to number (#4330)
Expand Down
30 changes: 0 additions & 30 deletions docs/web3-utils.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,36 +89,6 @@ Example



------------------------------------------------------------------------------

_
=====================

.. code-block:: javascript

web3.utils._()

The `underscore <http://underscorejs.org>`_ library for many convenience JavaScript functions.

See the `underscore API reference <http://underscorejs.org>`_ for details.

-------
Example
-------

.. code-block:: javascript

var _ = web3.utils._;

_.union([1,2],[3]);
> [1,2,3]

_.each({my: 'object'}, function(value, key){ ... })

...



------------------------------------------------------------------------------

.. _utils-bn:
Expand Down