embark/packages/stack
Michael Bradley, Jr 030fb4acc6 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.
2020-02-03 10:17:07 -06:00
..
api chore(prerelease): 5.1.1-nightly.4 2020-02-03 00:13:02 +00:00
authenticator chore(prerelease): 5.1.1-nightly.2 2020-01-31 00:12:28 +00:00
blockchain chore(prerelease): 5.1.1-nightly.2 2020-01-31 00:12:28 +00:00
blockchain-client build(deps): bump web3[-*] from 1.2.4 to 1.2.6 2020-02-03 10:17:07 -06:00
communication chore(prerelease): 5.1.1-nightly.2 2020-01-31 00:12:28 +00:00
compiler chore(prerelease): 5.1.1-nightly.2 2020-01-31 00:12:28 +00:00
contracts-manager build(deps): bump web3[-*] from 1.2.4 to 1.2.6 2020-02-03 10:17:07 -06:00
deployment chore(prerelease): 5.1.1-nightly.2 2020-01-31 00:12:28 +00:00
embarkjs chore(prerelease): 5.1.1-nightly.2 2020-01-31 00:12:28 +00:00
library-manager build(deps): bump web3[-*] from 1.2.4 to 1.2.6 2020-02-03 10:17:07 -06:00
namesystem chore(prerelease): 5.1.1-nightly.2 2020-01-31 00:12:28 +00:00
pipeline chore(prerelease): 5.1.1-nightly.2 2020-01-31 00:12:28 +00:00
process-logs-api-manager chore(prerelease): 5.1.1-nightly.2 2020-01-31 00:12:28 +00:00
proxy build(deps): bump web3[-*] from 1.2.4 to 1.2.6 2020-02-03 10:17:07 -06:00
storage chore(prerelease): 5.1.1-nightly.2 2020-01-31 00:12:28 +00:00
test-runner build(deps): bump web3[-*] from 1.2.4 to 1.2.6 2020-02-03 10:17:07 -06:00
watcher chore(prerelease): 5.1.1-nightly.2 2020-01-31 00:12:28 +00:00
webserver chore(prerelease): 5.1.1-nightly.2 2020-01-31 00:12:28 +00:00