build(deps): bump web3[-*] from 1.2.4 to 1.2.6

Remove `bignumber.js` workaround (in the root, from PR #2152) because it's no
longer needed (verified locally).

Remove the `"skipLibCheck"` workaround (in `packages/plugins/solidity-tests`,
from PR #2152) because it's no longer needed (verified locally).

Refactor a typing in `packages/plugins/geth`. What's happening is that in web3
v1.2.4 `sendTransaction` has a return type of `PromiEvent<TransactionReceipt>`
but in v1.2.6 it has a return type of `PromiEvent<TransactionReceipt |
TransactionRevertInstructionError>`.

Compare:
* [v1.2.4/packages/web3-eth/types/index.d.ts#L291-L294](https://github.com/ethereum/web3.js/blob/v1.2.4/packages/web3-eth/types/index.d.ts#L291-L294)
* [v1.2.6/packages/web3-eth/types/index.d.ts#L295-L298](https://github.com/ethereum/web3.js/blob/v1.2.6/packages/web3-eth/types/index.d.ts#L295-L298)

The problem is that the `TransactionRevertInstructionError` type doesn't have a
`transactionHash` property. Since at present the code in
`packages/plugins/geth/src/devtxs.ts` only deals with the success case re:
`sendTransaction`, import the `TransactionReceipt` type from `web3-eth` and
cast the resolved return value's type using TypeScript's `as` operator.
This commit is contained in:
Michael Bradley, Jr 2020-02-02 14:22:53 -06:00 committed by Michael Bradley
parent 5fc96c089f
commit 030fb4acc6
39 changed files with 314 additions and 78 deletions

View File

@ -15,7 +15,6 @@
"babel-eslint": "10.0.3",
"babel-plugin-dynamic-import-node": "2.3.0",
"babel-plugin-macros": "2.7.1",
"bignumber.js": "5.0.0",
"chalk": "2.4.2",
"coveralls": "3.0.9",
"eslint": "6.2.2",
@ -102,7 +101,6 @@
"embark-dapp-test-app/embark-dapp-test-service",
"embark-dapp-test-app/zeppelin-solidity",
"embark-ui/@storybook/**",
"embark-ui/bignumber.js",
"embark-ui/react-scripts",
"embark-ui/react-scripts/**",
"embark/embark-test-contract-0",

View File

@ -104,7 +104,7 @@
"typescript": "3.7.2",
"uuid": "3.3.2",
"velocity-react": "1.4.3",
"web3": "1.2.4",
"web3": "1.2.6",
"webpack": "4.41.2"
},
"eslintConfig": {

View File

@ -59,7 +59,7 @@
"fs-extra": "8.1.0",
"parse-json": "5.0.0",
"vm2": "3.8.4",
"web3": "1.2.4"
"web3": "1.2.6"
},
"devDependencies": {
"@babel/core": "7.7.7",

View File

@ -66,8 +66,8 @@
"parse-json": "4.0.0",
"shelljs": "0.8.3",
"uuid": "3.3.2",
"web3": "1.2.4",
"web3-utils": "1.2.4",
"web3": "1.2.6",
"web3-utils": "1.2.6",
"window-size": "1.1.1"
},
"devDependencies": {

View File

@ -69,9 +69,9 @@
"ora": "4.0.3",
"pretty-ms": "5.1.0",
"shelljs": "0.8.3",
"web3": "1.2.4",
"web3-eth": "1.2.4",
"web3-eth-abi": "1.2.4",
"web3": "1.2.6",
"web3-eth": "1.2.6",
"web3-eth-abi": "1.2.6",
"ws": "7.1.2"
},
"devDependencies": {

View File

@ -116,25 +116,25 @@
"term.js": "0.0.7",
"viz.js": "1.8.2",
"vm2": "3.6.4",
"web3": "1.2.4",
"web3-bzz": "1.2.4",
"web3-core": "1.2.4",
"web3-core-helpers": "1.2.4",
"web3-core-method": "1.2.4",
"web3-core-promievent": "1.2.4",
"web3-core-subscriptions": "1.2.4",
"web3-eth": "1.2.4",
"web3-eth-abi": "1.2.4",
"web3-eth-accounts": "1.2.4",
"web3-eth-contract": "1.2.4",
"web3-eth-iban": "1.2.4",
"web3-eth-personal": "1.2.4",
"web3-net": "1.2.4",
"web3-providers-http": "1.2.4",
"web3-providers-ipc": "1.2.4",
"web3-providers-ws": "1.2.4",
"web3-shh": "1.2.4",
"web3-utils": "1.2.4",
"web3": "1.2.6",
"web3-bzz": "1.2.6",
"web3-core": "1.2.6",
"web3-core-helpers": "1.2.6",
"web3-core-method": "1.2.6",
"web3-core-promievent": "1.2.6",
"web3-core-subscriptions": "1.2.6",
"web3-eth": "1.2.6",
"web3-eth-abi": "1.2.6",
"web3-eth-accounts": "1.2.6",
"web3-eth-contract": "1.2.6",
"web3-eth-iban": "1.2.6",
"web3-eth-personal": "1.2.6",
"web3-net": "1.2.6",
"web3-providers-http": "1.2.6",
"web3-providers-ipc": "1.2.6",
"web3-providers-ws": "1.2.6",
"web3-shh": "1.2.6",
"web3-utils": "1.2.6",
"window-size": "1.1.1"
},
"devDependencies": {

View File

@ -79,7 +79,7 @@
"nyc": "13.1.0",
"rimraf": "3.0.0",
"source-map-support": "0.5.13",
"web3": "1.2.4"
"web3": "1.2.6"
},
"engines": {
"node": ">=10.17.0",

View File

@ -28,7 +28,7 @@ EmbarkJS.Contract = function() {
throw new Error('EmbarkJS.Contract is deprecated: please use EmbarkJS.Blockchain.Contract instead');
};
EmbarkJS.isNewWeb3 = function() {
throw new Error('EmbarkJS.isNewWeb3 is deprecated: only Web3 >=1.2.4 is supported now');
throw new Error('EmbarkJS.isNewWeb3 is deprecated: only Web3 >=1.2.6 is supported now');
};
export default EmbarkJS;

View File

@ -51,7 +51,7 @@
"core-js": "3.4.3",
"embarkjs": "^5.1.1-nightly.2",
"eth-ens-namehash": "2.0.8",
"web3": "1.2.4"
"web3": "1.2.6"
},
"devDependencies": {
"ajv": "6.10.2",

View File

@ -50,7 +50,7 @@
"@babel/runtime-corejs3": "7.7.4",
"core-js": "3.4.3",
"swarm-api": "0.1.2",
"web3": "1.2.4"
"web3": "1.2.6"
},
"devDependencies": {
"ajv": "6.10.2",

View File

@ -49,7 +49,7 @@
"dependencies": {
"@babel/runtime-corejs3": "7.7.4",
"core-js": "3.4.3",
"web3": "1.2.4"
"web3": "1.2.6"
},
"devDependencies": {
"ajv": "6.10.2",

View File

@ -50,7 +50,7 @@
"@babel/runtime-corejs3": "7.7.4",
"core-js": "3.4.3",
"rxjs": "6.4.0",
"web3": "1.2.4"
"web3": "1.2.6"
},
"devDependencies": {
"ajv": "6.10.2",

View File

@ -52,7 +52,7 @@
"embark-i18n": "^5.1.1-nightly.2",
"embark-logger": "^5.1.1-nightly.2",
"embark-utils": "^5.1.1-nightly.2",
"web3": "1.2.4"
"web3": "1.2.6"
},
"devDependencies": {
"embark-solo": "^5.1.1-nightly.2",

View File

@ -57,8 +57,8 @@
"prettier-plugin-solidity": "1.0.0-alpha.25",
"semver": "5.6.0",
"solidity-parser-antlr": "0.4.5",
"web3-core": "1.2.4",
"web3-eth-contract": "1.2.4"
"web3-core": "1.2.6",
"web3-eth-contract": "1.2.6"
},
"devDependencies": {
"@babel/cli": "7.7.4",

View File

@ -49,7 +49,7 @@
"embark-logger": "^5.1.1-nightly.2",
"embark-utils": "^5.1.1-nightly.2",
"fs-extra": "8.1.0",
"web3": "1.2.4"
"web3": "1.2.6"
},
"devDependencies": {
"embark-solo": "^5.1.1-nightly.2",

View File

@ -53,7 +53,7 @@
"embarkjs-ens": "^5.1.1-nightly.2",
"eth-ens-namehash": "2.0.8",
"lodash.clonedeep": "4.5.0",
"web3": "1.2.4"
"web3": "1.2.6"
},
"devDependencies": {
"@babel/core": "7.7.4",

View File

@ -52,8 +52,8 @@
"embark-utils": "^5.1.1-nightly.2",
"embarkjs": "^5.1.1-nightly.2",
"ethereumjs-util": "6.0.0",
"web3": "1.2.4",
"web3-core-requestmanager": "1.2.4"
"web3": "1.2.6",
"web3-core-requestmanager": "1.2.6"
},
"devDependencies": {
"embark-solo": "^5.1.1-nightly.2",

View File

@ -56,7 +56,8 @@
"fs-extra": "8.1.0",
"netcat": "1.3.5",
"semver": "5.6.0",
"web3": "1.2.4",
"web3": "1.2.6",
"web3-eth": "1.2.6",
"ws": "7.1.2"
},
"devDependencies": {

View File

@ -2,6 +2,7 @@ import { __ } from 'embark-i18n';
import { Embark, EmbarkEvents } from "embark-core";
import { Logger } from "embark-logger";
import Web3 from "web3";
import { TransactionReceipt } from "web3-eth";
import constants from "embark-core/constants.json";
export default class DevTxs {
private embark: Embark;
@ -65,7 +66,7 @@ export default class DevTxs {
matches: ["senddevtx"],
process: async (_cmd, callback) => {
this.logger.info(__("Sending a tx from the dev account..."));
const receipt = await this.sendTx();
const receipt = (await this.sendTx()) as TransactionReceipt;
callback(null, __("Transaction sent. Tx hash: ") + `\n${JSON.stringify(receipt && receipt.transactionHash)}`);
}
});

View File

@ -55,7 +55,7 @@
"embark-utils": "^5.1.1-nightly.2",
"embarkjs": "^5.1.1-nightly.2",
"mocha": "6.2.2",
"web3": "1.2.4"
"web3": "1.2.6"
},
"devDependencies": {
"embark-solo": "^5.1.1-nightly.2",

View File

@ -48,8 +48,8 @@
"ascii-table": "0.0.9",
"async": "2.6.1",
"core-js": "3.4.3",
"web3": "1.2.4",
"web3-utils": "1.2.4"
"web3": "1.2.6",
"web3-utils": "1.2.6"
},
"devDependencies": {
"embark-solo": "^5.1.1-nightly.2",

View File

@ -53,7 +53,7 @@
"embark-i18n": "^5.1.1-nightly.2",
"embark-logger": "^5.1.1-nightly.2",
"embark-utils": "^5.1.1-nightly.2",
"web3": "1.2.4"
"web3": "1.2.6"
},
"devDependencies": {
"cross-env": "5.2.0",

View File

@ -50,7 +50,7 @@
"embark-logger": "^5.1.1-nightly.2",
"embark-utils": "^5.1.1-nightly.2",
"handlebars": "4.3.0",
"web3-utils": "1.2.4"
"web3-utils": "1.2.6"
},
"devDependencies": {
"embark-solo": "^5.1.1-nightly.2",

View File

@ -27,11 +27,7 @@
"types": "./dist/lib/index.d.ts",
"embark-collective": {
"build:node": true,
"typecheck": {
"compilerOptions": {
"skipLibCheck": true
}
}
"typecheck": true
},
"scripts": {
"_build": "npm run solo -- build",
@ -54,12 +50,11 @@
"core-js": "3.4.3",
"embark-utils": "^5.1.1-nightly.2",
"remix-tests": "0.1.24",
"web3": "1.2.4",
"web3": "1.2.6",
"yo-yoify": "4.3.0"
},
"devDependencies": {
"embark-solo": "^5.1.1-nightly.2",
"embark-utils": "^5.0.0-alpha.4",
"eslint": "5.7.0",
"mocha": "6.2.2",
"npm-run-all": "4.1.5",

View File

@ -3,7 +3,6 @@
"composite": true,
"declarationDir": "./dist",
"rootDir": "./src",
"skipLibCheck": true,
"tsBuildInfoFile": "./node_modules/.cache/tsc/tsconfig.embark-solidity-tests.tsbuildinfo"
},
"extends": "../../../tsconfig.base.json",

View File

@ -54,8 +54,8 @@
"embark-utils": "^5.1.1-nightly.2",
"ethereumjs-tx": "1.3.7",
"ethereumjs-util": "6.0.0",
"web3": "1.2.4",
"web3-utils": "1.2.4"
"web3": "1.2.6",
"web3-utils": "1.2.6"
},
"devDependencies": {
"embark-solo": "^5.1.1-nightly.2",

View File

@ -58,7 +58,7 @@
"eslint": "5.7.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"web3": "1.2.4"
"web3": "1.2.6"
},
"engines": {
"node": ">=10.17.0",

View File

@ -58,7 +58,7 @@
"eslint": "5.7.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"web3": "1.2.4"
"web3": "1.2.6"
},
"engines": {
"node": ">=10.17.0",

View File

@ -46,7 +46,7 @@
"dependencies": {
"@babel/runtime-corejs3": "7.7.4",
"core-js": "3.4.3",
"web3": "1.2.4"
"web3": "1.2.6"
},
"devDependencies": {
"embark-solo": "^5.1.1-nightly.2",

View File

@ -54,8 +54,8 @@
"embark-i18n": "^5.1.1-nightly.2",
"embark-logger": "^5.1.1-nightly.2",
"embark-utils": "^5.1.1-nightly.2",
"web3": "1.2.4",
"web3-utils": "1.2.4"
"web3": "1.2.6",
"web3-utils": "1.2.6"
},
"devDependencies": {
"embark-solo": "^5.1.1-nightly.2",

View File

@ -57,7 +57,7 @@
"eslint": "5.7.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"web3": "1.2.4"
"web3": "1.2.6"
},
"engines": {
"node": ">=10.17.0",

View File

@ -57,8 +57,8 @@
"embark-utils": "^5.1.1-nightly.2",
"express": "4.17.1",
"express-ws": "4.0.0",
"web3-core-requestmanager": "1.2.4",
"web3-providers-ws": "1.2.4"
"web3-core-requestmanager": "1.2.6",
"web3-providers-ws": "1.2.6"
},
"devDependencies": {
"embark-solo": "^5.1.1-nightly.2",

View File

@ -62,7 +62,7 @@
"istanbul-reports": "2.2.4",
"mocha": "6.2.2",
"open": "6.4.0",
"web3": "1.2.4"
"web3": "1.2.6"
},
"devDependencies": {
"embark-solo": "^5.1.1-nightly.2",

View File

@ -19,7 +19,7 @@ It goes without saying, the entire web is JS. Look around you - JS. View the s
JavaScript, specifically Node, really is in everything we use, and that now also applies to our wonderful world of Cryptocurrencies.
As I mentioned briefly in my [***last*** article](/news/2019/11/28/nim-vs-crystal-part-3-cryto-dapps-p2p/), my ***next*** article series is going to be about building your first DApp from start to finish. Inevitably, the frontend of our DApp needs to be able to communicate with the Ethereum Network. This is where [Web3.js](https://web3js.readthedocs.io/en/v1.2.4/index.html) comes into the mix. `Web3.js` is a collection of APIs allowing us such functionality as: Reading & Writing data from Smart Contracts, sending and receiving Ether, encrypting / decrypting wallets & data, and *a whole bunch* of other stuff too. Basically, *most* of the backend functionality available on the Ethereum Network natively becomes available for use in the browser.
As I mentioned briefly in my [***last*** article](/news/2019/11/28/nim-vs-crystal-part-3-cryto-dapps-p2p/), my ***next*** article series is going to be about building your first DApp from start to finish. Inevitably, the frontend of our DApp needs to be able to communicate with the Ethereum Network. This is where [Web3.js](https://web3js.readthedocs.io/en/v1.2.6/index.html) comes into the mix. `Web3.js` is a collection of APIs allowing us such functionality as: Reading & Writing data from Smart Contracts, sending and receiving Ether, encrypting / decrypting wallets & data, and *a whole bunch* of other stuff too. Basically, *most* of the backend functionality available on the Ethereum Network natively becomes available for use in the browser.
This is how the `web3.js` library talks to the Ethereum Network:

View File

@ -90,7 +90,7 @@ This will request account access and if the user grants access to his accounts,
### Components
* [EmbarkJS.Contract](contracts_javascript.html) - To interact with smart contracts. Typically Embark automatically initializes all your deployed contracts with this. uses web3.js 1.2.4
* [EmbarkJS.Contract](contracts_javascript.html) - To interact with smart contracts. Typically Embark automatically initializes all your deployed contracts with this. uses web3.js 1.2.6
* [EmbarkJS.Storage](storage_javascript.html) - To interact with the configured decentralized storage. Includes bindings to save & retrieve data, upload & download files, etc..
* [EmbarkJS.Communication](messages_javascript.html) - To interact with the configured decentralized messages system. Includes bindings to listen to topics and send messages.
* [EmbarkJS.Names](naming_javascript.html) - To interact with the configured decentralized naming system such as ENS. Includes bindings to look up the address of a domain name as well as retrieve a domain name given an address.

View File

@ -101,7 +101,7 @@ try {
This guide only touched on getting started with EmbarkJS. There are many more APIs to explore, depending on what we're achieving to build. Have a look at the dedicated guides to learn more:
* [EmbarkJS.Contract](contracts_javascript.html) - To interact with smart contracts. Typically Embark automatically initializes all your deployed contracts with this. uses web3.js 1.2.4
* [EmbarkJS.Contract](contracts_javascript.html) - To interact with smart contracts. Typically Embark automatically initializes all your deployed contracts with this. uses web3.js 1.2.6
* [EmbarkJS.Storage](storage_javascript.html) - To interact with the configured decentralized storage. Includes bindings to save & retrieve data, upload & download files, etc..
* [EmbarkJS.Communication](messages_javascript.html) - To interact with the configured decentralized messages system. Includes bindings to listen to topics and send messages.
* [EmbarkJS.Names](naming_javascript.html) - To interact with the configured decentralized naming system such as ENS. Includes bindings to look up the address of a domain name as well as retrieve a domain name given an address.

View File

@ -36,4 +36,4 @@ SimpleStorage.methods.get().call().then(function(value) { console.log(value) });
SimpleStorage.methods.storedData().call().then(function(value) { console.log(value) });
```
The syntax used is <a href="https://web3js.readthedocs.io/en/v1.2.4/" target="_blank">web3.js 1.2.4</a>
The syntax used is <a href="https://web3js.readthedocs.io/en/v1.2.6/" target="_blank">web3.js 1.2.6</a>

View File

@ -1,4 +1,4 @@
title: Web3.js Documentation
---
The documentation for Web3.js can be found [here](https://web3js.readthedocs.io/en/v1.2.4/)
The documentation for Web3.js can be found [here](https://web3js.readthedocs.io/en/v1.2.6/)

254
yarn.lock
View File

@ -6318,11 +6318,6 @@ bignumber.js@2.0.7:
resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-2.0.7.tgz#86eb0707cf6a5110909d23e6ea7434c14f500f1c"
integrity sha1-husHB89qURCQnSPm6nQ0wU9QDxw=
bignumber.js@5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-5.0.0.tgz#fbce63f09776b3000a83185badcde525daf34833"
integrity sha512-KWTu6ZMVk9sxlDJQh2YH1UOnfDP8O8TpxUxgQG/vKASoSnEjK9aVuOueFaPcQEYQ5fyNXNTOYwYw3099RYebWg==
bignumber.js@^2.3.0:
version "2.4.0"
resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-2.4.0.tgz#838a992da9f9d737e0f4b2db0be62bb09dd0c5e8"
@ -10043,6 +10038,15 @@ eth-lib@^0.1.26:
ws "^3.0.0"
xhr-request-promise "^0.1.2"
eth-lib@^0.2.8:
version "0.2.8"
resolved "https://registry.yarnpkg.com/eth-lib/-/eth-lib-0.2.8.tgz#b194058bef4b220ad12ea497431d6cb6aa0623c8"
integrity sha512-ArJ7x1WcWOlSpzdoTBX8vkwlkSQ85CjjifSZtV4co64vWxSV8geWfPI9x4SVYu3DSxnX4yWFVTtGL+j9DUFLNw==
dependencies:
bn.js "^4.11.6"
elliptic "^6.4.0"
xhr-request-promise "^0.1.2"
eth-sig-util@^2.1.1:
version "2.4.4"
resolved "https://registry.yarnpkg.com/eth-sig-util/-/eth-sig-util-2.4.4.tgz#8804ead83de8648bcf81eadbfac1e3ccdd360aea"
@ -23149,6 +23153,16 @@ web3-bzz@1.2.4:
swarm-js "0.1.39"
underscore "1.9.1"
web3-bzz@1.2.6:
version "1.2.6"
resolved "https://registry.yarnpkg.com/web3-bzz/-/web3-bzz-1.2.6.tgz#0b88c0b96029eaf01b10cb47c4d5f79db4668883"
integrity sha512-9NiHLlxdI1XeFtbPJAmi2jnnIHVF+GNy517wvOS72P7ZfuJTPwZaSNXfT01vWgPPE9R96/uAHDWHOg+T4WaDQQ==
dependencies:
"@types/node" "^10.12.18"
got "9.6.0"
swarm-js "0.1.39"
underscore "1.9.1"
web3-core-helpers@1.2.4:
version "1.2.4"
resolved "https://registry.yarnpkg.com/web3-core-helpers/-/web3-core-helpers-1.2.4.tgz#ffd425861f4d66b3f38df032afdb39ea0971fc0f"
@ -23158,6 +23172,15 @@ web3-core-helpers@1.2.4:
web3-eth-iban "1.2.4"
web3-utils "1.2.4"
web3-core-helpers@1.2.6:
version "1.2.6"
resolved "https://registry.yarnpkg.com/web3-core-helpers/-/web3-core-helpers-1.2.6.tgz#7aacd25bf8015adcdfc0f3243d0dcfdff0373f7d"
integrity sha512-gYKWmC2HmO7RcDzpo4L1K8EIoy5L8iubNDuTC6q69UxczwqKF/Io0kbK/1Z10Av++NlzOSiuyGp2gc4t4UOsDw==
dependencies:
underscore "1.9.1"
web3-eth-iban "1.2.6"
web3-utils "1.2.6"
web3-core-method@1.2.4:
version "1.2.4"
resolved "https://registry.yarnpkg.com/web3-core-method/-/web3-core-method-1.2.4.tgz#a0fbc50b8ff5fd214021435cc2c6d1e115807aed"
@ -23169,6 +23192,17 @@ web3-core-method@1.2.4:
web3-core-subscriptions "1.2.4"
web3-utils "1.2.4"
web3-core-method@1.2.6:
version "1.2.6"
resolved "https://registry.yarnpkg.com/web3-core-method/-/web3-core-method-1.2.6.tgz#f5a3e4d304abaf382923c8ab88ec8eeef45c1b3b"
integrity sha512-r2dzyPEonqkBg7Mugq5dknhV5PGaZTHBZlS/C+aMxNyQs3T3eaAsCTqlQDitwNUh/sUcYPEGF0Vo7ahYK4k91g==
dependencies:
underscore "1.9.1"
web3-core-helpers "1.2.6"
web3-core-promievent "1.2.6"
web3-core-subscriptions "1.2.6"
web3-utils "1.2.6"
web3-core-promievent@1.2.4:
version "1.2.4"
resolved "https://registry.yarnpkg.com/web3-core-promievent/-/web3-core-promievent-1.2.4.tgz#75e5c0f2940028722cdd21ba503ebd65272df6cb"
@ -23177,6 +23211,14 @@ web3-core-promievent@1.2.4:
any-promise "1.3.0"
eventemitter3 "3.1.2"
web3-core-promievent@1.2.6:
version "1.2.6"
resolved "https://registry.yarnpkg.com/web3-core-promievent/-/web3-core-promievent-1.2.6.tgz#b1550a3a4163e48b8b704c1fe4b0084fc2dad8f5"
integrity sha512-km72kJef/qtQNiSjDJJVHIZvoVOm6ytW3FCYnOcCs7RIkviAb5JYlPiye0o4pJOLzCXYID7DK7Q9bhY8qWb1lw==
dependencies:
any-promise "1.3.0"
eventemitter3 "3.1.2"
web3-core-requestmanager@1.2.4:
version "1.2.4"
resolved "https://registry.yarnpkg.com/web3-core-requestmanager/-/web3-core-requestmanager-1.2.4.tgz#0a7020a23fb91c6913c611dfd3d8c398d1e4b4a8"
@ -23188,6 +23230,17 @@ web3-core-requestmanager@1.2.4:
web3-providers-ipc "1.2.4"
web3-providers-ws "1.2.4"
web3-core-requestmanager@1.2.6:
version "1.2.6"
resolved "https://registry.yarnpkg.com/web3-core-requestmanager/-/web3-core-requestmanager-1.2.6.tgz#5808c0edc0d6e2991a87b65508b3a1ab065b68ec"
integrity sha512-QU2cbsj9Dm0r6om40oSwk8Oqbp3wTa08tXuMpSmeOTkGZ3EMHJ1/4LiJ8shwg1AvPMrKVU0Nri6+uBNCdReZ+g==
dependencies:
underscore "1.9.1"
web3-core-helpers "1.2.6"
web3-providers-http "1.2.6"
web3-providers-ipc "1.2.6"
web3-providers-ws "1.2.6"
web3-core-subscriptions@1.2.4:
version "1.2.4"
resolved "https://registry.yarnpkg.com/web3-core-subscriptions/-/web3-core-subscriptions-1.2.4.tgz#0dc095b5cfd82baa527a39796e3515a846b21b99"
@ -23197,6 +23250,15 @@ web3-core-subscriptions@1.2.4:
underscore "1.9.1"
web3-core-helpers "1.2.4"
web3-core-subscriptions@1.2.6:
version "1.2.6"
resolved "https://registry.yarnpkg.com/web3-core-subscriptions/-/web3-core-subscriptions-1.2.6.tgz#9d44189e2321f8f1abc31f6c09103b5283461b57"
integrity sha512-M0PzRrP2Ct13x3wPulFtc5kENH4UtnPxO9YxkfQlX2WRKENWjt4Rfq+BCVGYEk3rTutDfWrjfzjmqMRvXqEY5Q==
dependencies:
eventemitter3 "3.1.2"
underscore "1.9.1"
web3-core-helpers "1.2.6"
web3-core@1.2.4:
version "1.2.4"
resolved "https://registry.yarnpkg.com/web3-core/-/web3-core-1.2.4.tgz#2df13b978dcfc59c2abaa887d27f88f21ad9a9d6"
@ -23210,6 +23272,18 @@ web3-core@1.2.4:
web3-core-requestmanager "1.2.4"
web3-utils "1.2.4"
web3-core@1.2.6:
version "1.2.6"
resolved "https://registry.yarnpkg.com/web3-core/-/web3-core-1.2.6.tgz#bb42a1d7ae49a7258460f0d95ddb00906f59ef92"
integrity sha512-y/QNBFtr5cIR8vxebnotbjWJpOnO8LDYEAzZjeRRUJh2ijmhjoYk7dSNx9ExgC0UCfNFRoNCa9dGRu/GAxwRlw==
dependencies:
"@types/bn.js" "^4.11.4"
"@types/node" "^12.6.1"
web3-core-helpers "1.2.6"
web3-core-method "1.2.6"
web3-core-requestmanager "1.2.6"
web3-utils "1.2.6"
web3-eth-abi@1.2.4:
version "1.2.4"
resolved "https://registry.yarnpkg.com/web3-eth-abi/-/web3-eth-abi-1.2.4.tgz#5b73e5ef70b03999227066d5d1310b168845e2b8"
@ -23219,6 +23293,15 @@ web3-eth-abi@1.2.4:
underscore "1.9.1"
web3-utils "1.2.4"
web3-eth-abi@1.2.6:
version "1.2.6"
resolved "https://registry.yarnpkg.com/web3-eth-abi/-/web3-eth-abi-1.2.6.tgz#b495383cc5c0d8e2857b26e7fe25606685983b25"
integrity sha512-w9GAyyikn8nSifSDZxAvU9fxtQSX+W2xQWMmrtTXmBGCaE4/ywKOSPAO78gq8AoU4Wq5yqVGKZLLbfpt7/sHlA==
dependencies:
ethers "4.0.0-beta.3"
underscore "1.9.1"
web3-utils "1.2.6"
web3-eth-accounts@1.2.4:
version "1.2.4"
resolved "https://registry.yarnpkg.com/web3-eth-accounts/-/web3-eth-accounts-1.2.4.tgz#ada6edc49542354328a85cafab067acd7f88c288"
@ -23237,6 +23320,24 @@ web3-eth-accounts@1.2.4:
web3-core-method "1.2.4"
web3-utils "1.2.4"
web3-eth-accounts@1.2.6:
version "1.2.6"
resolved "https://registry.yarnpkg.com/web3-eth-accounts/-/web3-eth-accounts-1.2.6.tgz#a1ba4bf75fa8102a3ec6cddd0eccd72462262720"
integrity sha512-cDVtonHRgzqi/ZHOOf8kfCQWFEipcfQNAMzXIaKZwc0UUD9mgSI5oJrN45a89Ze+E6Lz9m77cDG5Ax9zscSkcw==
dependencies:
"@web3-js/scrypt-shim" "^0.1.0"
any-promise "1.3.0"
crypto-browserify "3.12.0"
eth-lib "^0.2.8"
ethereumjs-common "^1.3.2"
ethereumjs-tx "^2.1.1"
underscore "1.9.1"
uuid "3.3.2"
web3-core "1.2.6"
web3-core-helpers "1.2.6"
web3-core-method "1.2.6"
web3-utils "1.2.6"
web3-eth-contract@1.2.4:
version "1.2.4"
resolved "https://registry.yarnpkg.com/web3-eth-contract/-/web3-eth-contract-1.2.4.tgz#68ef7cc633232779b0a2c506a810fbe903575886"
@ -23252,6 +23353,21 @@ web3-eth-contract@1.2.4:
web3-eth-abi "1.2.4"
web3-utils "1.2.4"
web3-eth-contract@1.2.6:
version "1.2.6"
resolved "https://registry.yarnpkg.com/web3-eth-contract/-/web3-eth-contract-1.2.6.tgz#39111543960035ed94c597a239cf5aa1da796741"
integrity sha512-ak4xbHIhWgsbdPCkSN+HnQc1SH4c856y7Ly+S57J/DQVzhFZemK5HvWdpwadJrQTcHET3ZeId1vq3kmW7UYodw==
dependencies:
"@types/bn.js" "^4.11.4"
underscore "1.9.1"
web3-core "1.2.6"
web3-core-helpers "1.2.6"
web3-core-method "1.2.6"
web3-core-promievent "1.2.6"
web3-core-subscriptions "1.2.6"
web3-eth-abi "1.2.6"
web3-utils "1.2.6"
web3-eth-ens@1.2.4:
version "1.2.4"
resolved "https://registry.yarnpkg.com/web3-eth-ens/-/web3-eth-ens-1.2.4.tgz#b95b3aa99fb1e35c802b9e02a44c3046a3fa065e"
@ -23266,6 +23382,20 @@ web3-eth-ens@1.2.4:
web3-eth-contract "1.2.4"
web3-utils "1.2.4"
web3-eth-ens@1.2.6:
version "1.2.6"
resolved "https://registry.yarnpkg.com/web3-eth-ens/-/web3-eth-ens-1.2.6.tgz#bf86a624c4c72bc59913c2345180d3ea947e110d"
integrity sha512-8UEqt6fqR/dji/jBGPFAyBs16OJjwi0t2dPWXPyGXmty/fH+osnXwWXE4HRUyj4xuafiM5P1YkXMsPhKEadjiw==
dependencies:
eth-ens-namehash "2.0.8"
underscore "1.9.1"
web3-core "1.2.6"
web3-core-helpers "1.2.6"
web3-core-promievent "1.2.6"
web3-eth-abi "1.2.6"
web3-eth-contract "1.2.6"
web3-utils "1.2.6"
web3-eth-iban@1.2.4:
version "1.2.4"
resolved "https://registry.yarnpkg.com/web3-eth-iban/-/web3-eth-iban-1.2.4.tgz#8e0550fd3fd8e47a39357d87fe27dee9483ee476"
@ -23274,6 +23404,14 @@ web3-eth-iban@1.2.4:
bn.js "4.11.8"
web3-utils "1.2.4"
web3-eth-iban@1.2.6:
version "1.2.6"
resolved "https://registry.yarnpkg.com/web3-eth-iban/-/web3-eth-iban-1.2.6.tgz#0b22191fd1aa6e27f7ef0820df75820bfb4ed46b"
integrity sha512-TPMc3BW9Iso7H+9w+ytbqHK9wgOmtocyCD3PaAe5Eie50KQ/j7ThA60dGJnxItVo6yyRv5pZAYxPVob9x/fJlg==
dependencies:
bn.js "4.11.8"
web3-utils "1.2.6"
web3-eth-personal@1.2.4:
version "1.2.4"
resolved "https://registry.yarnpkg.com/web3-eth-personal/-/web3-eth-personal-1.2.4.tgz#3224cca6851c96347d9799b12c1b67b2a6eb232b"
@ -23286,6 +23424,18 @@ web3-eth-personal@1.2.4:
web3-net "1.2.4"
web3-utils "1.2.4"
web3-eth-personal@1.2.6:
version "1.2.6"
resolved "https://registry.yarnpkg.com/web3-eth-personal/-/web3-eth-personal-1.2.6.tgz#47a0a0657ec04dd77f95451a6869d4751d324b6b"
integrity sha512-T2NUkh1plY8d7wePXSoHnaiKOd8dLNFaQfgBl9JHU6S7IJrG9jnYD9bVxLEgRUfHs9gKf9tQpDf7AcPFdq/A8g==
dependencies:
"@types/node" "^12.6.1"
web3-core "1.2.6"
web3-core-helpers "1.2.6"
web3-core-method "1.2.6"
web3-net "1.2.6"
web3-utils "1.2.6"
web3-eth@1.2.4:
version "1.2.4"
resolved "https://registry.yarnpkg.com/web3-eth/-/web3-eth-1.2.4.tgz#24c3b1f1ac79351bbfb808b2ab5c585fa57cdd00"
@ -23305,6 +23455,25 @@ web3-eth@1.2.4:
web3-net "1.2.4"
web3-utils "1.2.4"
web3-eth@1.2.6:
version "1.2.6"
resolved "https://registry.yarnpkg.com/web3-eth/-/web3-eth-1.2.6.tgz#15a8c65fdde0727872848cae506758d302d8d046"
integrity sha512-ROWlDPzh4QX6tlGGGlAK6X4kA2n0/cNj/4kb0nNVWkRouGmYO0R8k6s47YxYHvGiXt0s0++FUUv5vAbWovtUQw==
dependencies:
underscore "1.9.1"
web3-core "1.2.6"
web3-core-helpers "1.2.6"
web3-core-method "1.2.6"
web3-core-subscriptions "1.2.6"
web3-eth-abi "1.2.6"
web3-eth-accounts "1.2.6"
web3-eth-contract "1.2.6"
web3-eth-ens "1.2.6"
web3-eth-iban "1.2.6"
web3-eth-personal "1.2.6"
web3-net "1.2.6"
web3-utils "1.2.6"
web3-net@1.2.4:
version "1.2.4"
resolved "https://registry.yarnpkg.com/web3-net/-/web3-net-1.2.4.tgz#1d246406d3aaffbf39c030e4e98bce0ca5f25458"
@ -23314,6 +23483,15 @@ web3-net@1.2.4:
web3-core-method "1.2.4"
web3-utils "1.2.4"
web3-net@1.2.6:
version "1.2.6"
resolved "https://registry.yarnpkg.com/web3-net/-/web3-net-1.2.6.tgz#035ca0fbe55282fda848ca17ebb4c8966147e5ea"
integrity sha512-hsNHAPddrhgjWLmbESW0KxJi2GnthPcow0Sqpnf4oB6+/+ZnQHU9OsIyHb83bnC1OmunrK2vf9Ye2mLPdFIu3A==
dependencies:
web3-core "1.2.6"
web3-core-method "1.2.6"
web3-utils "1.2.6"
web3-providers-http@1.2.4:
version "1.2.4"
resolved "https://registry.yarnpkg.com/web3-providers-http/-/web3-providers-http-1.2.4.tgz#514fcad71ae77832c2c15574296282fbbc5f4a67"
@ -23322,6 +23500,14 @@ web3-providers-http@1.2.4:
web3-core-helpers "1.2.4"
xhr2-cookies "1.1.0"
web3-providers-http@1.2.6:
version "1.2.6"
resolved "https://registry.yarnpkg.com/web3-providers-http/-/web3-providers-http-1.2.6.tgz#3c7b1252751fb37e53b873fce9dbb6340f5e31d9"
integrity sha512-2+SaFCspb5f82QKuHB3nEPQOF9iSWxRf7c18fHtmnLNVkfG9SwLN1zh67bYn3tZGUdOI3gj8aX4Uhfpwx9Ezpw==
dependencies:
web3-core-helpers "1.2.6"
xhr2-cookies "1.1.0"
web3-providers-ipc@1.2.4:
version "1.2.4"
resolved "https://registry.yarnpkg.com/web3-providers-ipc/-/web3-providers-ipc-1.2.4.tgz#9d6659f8d44943fb369b739f48df09092be459bd"
@ -23331,6 +23517,15 @@ web3-providers-ipc@1.2.4:
underscore "1.9.1"
web3-core-helpers "1.2.4"
web3-providers-ipc@1.2.6:
version "1.2.6"
resolved "https://registry.yarnpkg.com/web3-providers-ipc/-/web3-providers-ipc-1.2.6.tgz#adabab5ac66b3ff8a26c7dc97af3f1a6a7609701"
integrity sha512-b0Es+/GTZyk5FG3SgUDW+2/mBwJAXWt5LuppODptiOas8bB2khLjG6+Gm1K4uwOb+1NJGPt5mZZ8Wi7vibtQ+A==
dependencies:
oboe "2.1.4"
underscore "1.9.1"
web3-core-helpers "1.2.6"
web3-providers-ws@1.2.4:
version "1.2.4"
resolved "https://registry.yarnpkg.com/web3-providers-ws/-/web3-providers-ws-1.2.4.tgz#099ee271ee03f6ea4f5df9cfe969e83f4ce0e36f"
@ -23340,6 +23535,15 @@ web3-providers-ws@1.2.4:
underscore "1.9.1"
web3-core-helpers "1.2.4"
web3-providers-ws@1.2.6:
version "1.2.6"
resolved "https://registry.yarnpkg.com/web3-providers-ws/-/web3-providers-ws-1.2.6.tgz#3cecc49f7c99f07a75076d3c54247050bc4f7e11"
integrity sha512-20waSYX+gb5M5yKhug5FIwxBBvkKzlJH7sK6XEgdOx6BZ9YYamLmvg9wcRVtnSZO8hV/3cWenO/tRtTrHVvIgQ==
dependencies:
"@web3-js/websocket" "^1.0.29"
underscore "1.9.1"
web3-core-helpers "1.2.6"
web3-shh@1.2.4:
version "1.2.4"
resolved "https://registry.yarnpkg.com/web3-shh/-/web3-shh-1.2.4.tgz#5c8ff5ab624a3b14f08af0d24d2b16c10e9f70dd"
@ -23350,6 +23554,16 @@ web3-shh@1.2.4:
web3-core-subscriptions "1.2.4"
web3-net "1.2.4"
web3-shh@1.2.6:
version "1.2.6"
resolved "https://registry.yarnpkg.com/web3-shh/-/web3-shh-1.2.6.tgz#2492616da4cac32d4c7534b890f43bac63190c14"
integrity sha512-rouWyOOM6YMbLQd65grpj8BBezQfgNeRRX+cGyW4xsn6Xgu+B73Zvr6OtA/ftJwwa9bqHGpnLrrLMeWyy4YLUw==
dependencies:
web3-core "1.2.6"
web3-core-method "1.2.6"
web3-core-subscriptions "1.2.6"
web3-net "1.2.6"
web3-utils@1.2.4:
version "1.2.4"
resolved "https://registry.yarnpkg.com/web3-utils/-/web3-utils-1.2.4.tgz#96832a39a66b05bf8862a5b0bdad2799d709d951"
@ -23364,7 +23578,35 @@ web3-utils@1.2.4:
underscore "1.9.1"
utf8 "3.0.0"
web3@1.2.4, web3@^1.2.4:
web3-utils@1.2.6:
version "1.2.6"
resolved "https://registry.yarnpkg.com/web3-utils/-/web3-utils-1.2.6.tgz#b9a25432da00976457fcc1094c4af8ac6d486db9"
integrity sha512-8/HnqG/l7dGmKMgEL9JeKPTtjScxOePTzopv5aaKFExPfaBrYRkgoMqhoowCiAl/s16QaTn4DoIF1QC4YsT7Mg==
dependencies:
bn.js "4.11.8"
eth-lib "0.2.7"
ethereum-bloom-filters "^1.0.6"
ethjs-unit "0.1.6"
number-to-bn "1.7.0"
randombytes "^2.1.0"
underscore "1.9.1"
utf8 "3.0.0"
web3@1.2.6:
version "1.2.6"
resolved "https://registry.yarnpkg.com/web3/-/web3-1.2.6.tgz#c497dcb14cdd8d6d9fb6b445b3b68ff83f8ccf68"
integrity sha512-tpu9fLIComgxGrFsD8LUtA4s4aCZk7px8UfcdEy6kS2uDi/ZfR07KJqpXZMij7Jvlq+cQrTAhsPSiBVvoMaivA==
dependencies:
"@types/node" "^12.6.1"
web3-bzz "1.2.6"
web3-core "1.2.6"
web3-eth "1.2.6"
web3-eth-personal "1.2.6"
web3-net "1.2.6"
web3-shh "1.2.6"
web3-utils "1.2.6"
web3@^1.2.4:
version "1.2.4"
resolved "https://registry.yarnpkg.com/web3/-/web3-1.2.4.tgz#6e7ab799eefc9b4648c2dab63003f704a1d5e7d9"
integrity sha512-xPXGe+w0x0t88Wj+s/dmAdASr3O9wmA9mpZRtixGZxmBexAF0MjfqYM+MS4tVl5s11hMTN3AZb8cDD4VLfC57A==