From 83ffd70169bc6d20a5153f7232b902c73cfe9be4 Mon Sep 17 00:00:00 2001 From: Jahanzaib Nawaz Date: Fri, 1 Oct 2021 03:40:31 -0400 Subject: [PATCH 1/2] Utils _ (underscore lib) context removed #4403 --- docs/web3-utils.rst | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/docs/web3-utils.rst b/docs/web3-utils.rst index cb292942c16..5948fcec2d9 100644 --- a/docs/web3-utils.rst +++ b/docs/web3-utils.rst @@ -89,36 +89,6 @@ Example ------------------------------------------------------------------------------- - -_ -===================== - -.. code-block:: javascript - - web3.utils._() - -The `underscore `_ library for many convenience JavaScript functions. - -See the `underscore API reference `_ for details. - -------- -Example -------- - -.. code-block:: javascript - - var _ = web3.utils._; - - _.union([1,2],[3]); - > [1,2,3] - - _.each({my: 'object'}, function(value, key){ ... }) - - ... - - - ------------------------------------------------------------------------------ .. _utils-bn: From 48a489615790e3e5e996a4f60842425a6b513470 Mon Sep 17 00:00:00 2001 From: Jahanzaib Nawaz Date: Sat, 2 Oct 2021 11:50:41 -0400 Subject: [PATCH 2/2] changelog updated for #4403 --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 20cb5861ac7..4f62e5bc976 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -465,3 +465,4 @@ 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)