MyCrypto/common/utils
Eddie Wang 980366694c RPC Error Handling (#384)
* create ensureOkResponse and check against RPC responses

* Merge with develop branch

* added single unit test

* main nodes added

* getBalance method

* remove console.log

* minor conflict fix - readd polyfill to integration test

* added two more method tests

* seperate rpcnode from extended classes

* fixes etherscan

* added all tests

* revert files with only formatting changes

* remove console.logs - still need to update snapshot before tests will pass

* updated snapshot due to RpcNode fixes for Infura and Etherscan nodes

* added RpcNodeTest config so we don't rely on constants in code

* undo formatting changes

* Multiple fixes to error handling tokens.

* Fixed TSC errors

* Minor styling edit - change async func to promise

* changed shape of tokenBalances

* change balance type back to stricter TokenValue type

* remove package.json change and include test for error state.

* minor change removing unneeded line of code

* added longer timeout for api

* update snapshot
2017-11-29 23:35:17 -06:00
..
blob.ts Migrate to Typescript (#224) 2017-09-24 19:06:28 -07:00
formatters.ts Replace bignumber.js with bn.js (#319) 2017-11-12 11:45:52 -08:00
helpers.ts Remove addProperties helper (#318) 2017-10-23 19:59:18 -07:00
isMobile.ts EthereumJS-Wallet (Part 2) (#310) 2017-11-07 10:42:53 -08:00
localStorage.ts Add "No Unused Params and Locals" Linting Rule (#297) 2017-10-18 19:29:49 -07:00
node.ts Read-Only Address Wallet (#386) 2017-11-29 17:14:57 -06:00
printElement.ts RPC Error Handling (#384) 2017-11-29 23:35:17 -06:00
types.ts Redux promise middleware (v2) (#233) 2017-09-25 20:41:11 -07:00