Commit Graph

85 Commits

Author SHA1 Message Date
greenkeeper[bot] c1b7ba5b5e chore(package): update awesome-typescript-loader to version 3.4.0 (#424) 2017-11-18 12:44:27 -06:00
greenkeeper[bot] 7699dcefd5 chore(package): update node-sass to version 4.7.1 (#422) 2017-11-18 01:31:23 -06:00
greenkeeper[bot] ca76661957 chore(package): update copy-webpack-plugin to version 4.2.1 (#417) 2017-11-17 10:34:22 -08:00
greenkeeper[bot] 531015924c chore(package): update cache-loader to version 1.2.0 (#418) 2017-11-17 10:34:02 -08:00
greenkeeper[bot] 625d4b83c4 chore(package): update @types/react to version 16.0.25 (#419) 2017-11-17 10:33:43 -08:00
greenkeeper[bot] d48fb9cc21 chore(package): update ts-jest to version 21.2.3 (#416) 2017-11-16 22:49:16 -08:00
greenkeeper[bot] f4fbb16dd8 chore(package): update @types/react to version 16.0.24 (#410) 2017-11-16 12:14:41 -06:00
greenkeeper[bot] dc9fc8aaeb chore(package): update @types/react-redux to version 5.0.13 (#407) 2017-11-15 21:58:22 -06:00
greenkeeper[bot] b007359bd5 chore(package): update enzyme-adapter-react-16 to version 1.1.0 (#404) 2017-11-15 11:05:15 -06:00
greenkeeper[bot] 22cb76e7f8 Update @types/react to the latest version 🚀 (#406)
* chore(package): update @types/react to version 16.0.23

* Update package.json
2017-11-15 10:59:54 -06:00
greenkeeper[bot] ef2ed3f201 chore(package): update enzyme to version 3.2.0 (#403) 2017-11-15 10:56:57 -06:00
greenkeeper[bot] 76b2d567cf chore(package): update react-hot-loader to version 3.1.3 (#405) 2017-11-15 10:55:07 -06:00
greenkeeper[bot] 7e7c070abe chore(package): update @types/redux-form to version 7.0.9 (#363) 2017-11-14 19:47:29 -06:00
greenkeeper[bot] 4edfe67885 chore(package): update @types/react-router-dom to version 4.2.1 (#360) 2017-11-14 19:43:54 -06:00
Daniel Ternyak 3fa6374c91
chore(package): update redux-test-utils to version 0.2.1 (#399)
Closes #365
2017-11-14 19:43:32 -06:00
greenkeeper[bot] 0f8f6fded2 chore(package): update @types/react-dom to version 16.0.3 (#359) 2017-11-14 19:41:20 -06:00
greenkeeper[bot] 7c0fb0a7b7 chore(package): update @types/react-router to version 4.0.17 (#361) 2017-11-14 19:38:16 -06:00
Daniel Ternyak 9d51e16bc4
chore(package): update react-test-renderer to version 16.1.1 (#398)
Closes #367
2017-11-14 19:37:34 -06:00
Daniel Ternyak f1deca5a2f
chore(package): update @types/lodash to version 4.14.85 (#395)
Closes #357
2017-11-14 19:36:42 -06:00
Daniel Ternyak 55dfece6cd
fix(package): update react-dom to version 16.1.1 (#397)
Closes #369
2017-11-14 19:36:07 -06:00
greenkeeper[bot] f8056abc4b chore(package): update @types/react-router-redux to version 5.0.10 (#362) 2017-11-14 19:34:53 -06:00
Daniel Ternyak 39b573737a
fix(package): update react to version 16.1.1 (#396)
Closes #368
2017-11-14 19:31:11 -06:00
greenkeeper[bot] 1d31ce7b56 chore(package): update @types/jest to version 21.1.6 (#376) 2017-11-14 19:27:53 -06:00
greenkeeper[bot] b73c0f3983 fix(package): update react-markdown to version 2.5.1 (#374) 2017-11-14 19:25:03 -06:00
greenkeeper[bot] 1231c4af75 chore(package): update lint-staged to version 5.0.0 (#377) 2017-11-14 19:24:05 -06:00
greenkeeper[bot] 68eecd4fcb chore(package): update prettier to version 1.8.2 (#364) 2017-11-14 19:23:36 -06:00
greenkeeper[bot] 8ad64326d0 chore(package): update @types/react to version 16.0.22 (#358) 2017-11-14 19:22:16 -06:00
greenkeeper[bot] 744e10a598 fix(package): update qrcode to version 1.0.0 (#353) 2017-11-14 19:20:55 -06:00
greenkeeper[bot] 31b9f29bbb fix(package): update moment to version 2.19.2 (#380) 2017-11-14 19:11:38 -06:00
greenkeeper[bot] 6571f0a501 chore(package): update node-sass to version 4.6.1 (#381) 2017-11-14 19:07:44 -06:00
greenkeeper[bot] 8bab29af43 chore(package): update react-hot-loader to version 3.1.2 (#354) 2017-11-14 14:56:42 -06:00
greenkeeper[bot] c8011c19fb chore(package): update enzyme-to-json to version 3.2.2 (#352) 2017-11-14 14:52:07 -06:00
greenkeeper[bot] 66ef325591 chore(package): update ts-jest to version 21.2.0 (#349) 2017-11-14 14:29:25 -06:00
HenryNguyen5 8fe664c171 Replace bignumber.js with bn.js (#319)
* Add definition file for bn.js

* Remove types-bn

* make isBN a static property

* progress commit -- swap out bignumber.js for bn.js

* Swap out bignumber for bn in vendor

* Change modn to number return

* Start to strip out units lib for a string manipulation based lib

* Convert codebase to only base units

* Get rid of useless component

* Handle only wei in values

* Use unit conversion in sidebar

* Automatically strip hex prefix, and  handle decimal edge case

* Handle base 16 wei in transactions

* Make a render callback component for dealing with unit conversion

* Switch contracts to use bn.js, and get transaction values from signedTx instead of state

* Get send transaction  working with bn.js

* Remove redundant hex stripping,  return base value of tokens

* Cleanup unit file

* Re-implement toFixed for strings

* Use formatNumber in codebase

* Cleanup code

* Undo package test changes

* Update snapshot and remove console logs

* Use TokenValue / Wei more consistently where applicable

* Add typing to deterministicWallets, fix confirmation modal, make UnitDisplay more flexible

* Clean up prop handling in UnitDisplay

* Change instanceof to typeof check, change boolean of displayBalance

* Fix tsc errors

* Fix token row displaying wrong decimals

* Fix deterministic modal token display

* Handle hex and non hex strings automatically in BN conversion

* Fix handling of strings and numbers for BN

* add web3 fixes & comments

* Display short balances on deterministic modals

* add more tests, fix rounding

* Add spacer to balance sidebar network name

* Fix tsc error
2017-11-12 11:45:52 -08:00
greenkeeper[bot] 5766735a5a Update dependencies to enable Greenkeeper 🌴 (#344)
* chore(package): update dependencies

* docs(readme): add Greenkeeper badge

* Remove package lock and add it to ignore

* Pin typescript to 2.5.2

* Pin package versions to the versions previously in package-lock.json
2017-11-07 15:59:27 -08:00
HenryNguyen5 3bea632a9a EthereumJS-Wallet (Part 2) (#310)
* Progress commit -- ethereumjs-wallet typings

* Add hdkey module + better wallet typing

* Add provider-engine typings

* Add jsdoc descriptions for hdkey constructor methods

* Fix missing return type

* Fix another missing return

* Make provider engine options optional

* Add priv/pubkey members to wallet instance

* Turn into SFC + Use ethereumjs-lib

* Use proper interface naming for V3Wallet

* Switch to ethereumjs-wallet

* Switch to ethereumjs-wallet and refactor using NewTabLink

* Use proper interface naming for V3Wallet

* Use proper interface naming for PublicKeyOnlyWallet

* Fix broken test, re-add scryptsy to make this PR pass

* Fix definition module for thirdparty wallets

* Decrease n-factor to 1024, checksum address of keystore

* Update typedef for react-dom from 15 to 16

* Lock react-dom, set typescript to 2.5.2
2017-11-07 10:42:53 -08:00
James Prado 2075a416ae Animate transaction notifications & fix styles (#305)
* Add disclaimer modal to footer

* Remove duplicate code & unnecessary styles

* Fix formatting noise

* remove un-used css style

* Fix tslint error & add media query for modals

* Nest Media Query

* Add react-transition-group

* Animate notifications with react-transition-group

* Identify issue with notifications getting overridden

* Update RTG (react-transition-group) to v2 & identify keys as animation issue

* Add unique id on successful transactions for unique keys

* update classNames, remove unused import

* Revert removing lodash

* Remove unnecessary test util

* Remove formatting noise

* Remove all formatting noise

* Update CSS & Change notification unique id

* Add unique id for each notification
2017-11-06 22:20:19 -08:00
HenryNguyen5 05725b660b EthereumJS-Wallet Prep (Definition and Package) (#309)
* Progress commit -- ethereumjs-wallet typings

* Add hdkey module + better wallet typing

* Add provider-engine typings

* Add jsdoc descriptions for hdkey constructor methods

* Fix missing return type

* Fix another missing return

* Make provider engine options optional

* Add priv/pubkey members to wallet instance

* Use proper interface naming for V3Wallet

* Use proper interface naming for PublicKeyOnlyWallet
2017-10-25 17:20:05 -07:00
HenryNguyen5 346f777976 Add definition file for bn.js (#317)
* Add definition file for bn.js

* Remove types-bn

* make isBN a static property

* Swap out bignumber for bn in vendor

* Remove types-bn
2017-10-25 12:33:57 -07:00
James Prado 70a2b3ca9a Update Jest & Enzyme, Add snapshot tests (#307)
* Add disclaimer modal to footer

* Remove duplicate code & unnecessary styles

* Fix formatting noise

* remove un-used css style

* Fix tslint error & add media query for modals

* Nest Media Query

* Update Jest & Enzyme, Add snapshot tests

* Fix tslint errors in /spec, Update mock localstorage

* Update types in tests, Fix tslint error

* Specify module versions for browser

* Update sendTransaction snapshot
2017-10-24 19:17:26 -07:00
William O'Beirne baea6aaf5f Use babel minifier instead of uglify (#273) 2017-10-08 18:31:26 -07:00
skubakdj aac0176ca2 Wallet Decrypt - Ledger (#238)
* add static vendor js libraries

* add ledger config

* add ledger components

* add ledger wallet

* bugfix: trezor, set dPath on change

* add rlp type package, update types

* change address to public

* update tslint script to exclude all files in directory

* revert to private address and use getAddress()

* remove unnecessary eslint line out of library files

* remove IWallet import

* Fix ts errors

* Remove version controlled vendor files from DLL
2017-10-05 16:29:14 -07:00
James Prado 6f7e3c27e2 Fix regressions introduced in #241 (#247)
* Fix location query

* Remove unnecessary polyfill

* Fix tslint error & update history types

* Parse search str using Node Query String

* Revert "Parse search str using Node Query String"

This reverts commit 0a482dabf29c3fbcbfd3112b974d6b98c14dca2e.

* fix formatting

* Add query-string

* Rename App container to TabSection & pass it location prop

* Add react-router withRouter HOC to NavigationLink

* various adjustments/finalizations

* Add location to props interface
2017-10-03 21:13:49 -07:00
William O'Beirne 1a09c6a7a6 Refactor Dropdowns, Rainbow Node Selector (#244)
* Convert all dropdowns to use a single dropdown shell component. Restyle header ones to look like v3.

* Right align some.

* Color dropdown component, which node selector uses.

* Prettier fixes.
2017-10-02 15:36:59 -07:00
James Prado ad83b5a181 Update React-Router(-DOM) to 4.x and Simplify Routing (#241) 2017-09-28 19:09:01 -07:00
Daniel Ternyak 5b2f7efac5 React 16.0.0 (#240)
- bump react version to 16.0.0
- remove unneeded Perf plugin
2017-09-27 11:47:20 -07:00
Daniel Ternyak af84a589c5 Redux promise middleware (v2) (#233)
* add redux-promise-middleware to package.json and update package-lock.json

* intergrate redux-promise-middleware and simplify rates by replacing saga with promise

* fix unrelated breaking test

* -improve user messaging when network request fails. \n Clean up rates actions and reducers

* Address tslint errors
2017-09-25 20:41:11 -07:00
HenryNguyen5 5d4b36d453 Migrate to Typescript (#224)
* Refactor babel/types

* Refactor entry point

* Refactor actions

* Refactor api

* Full project refactor -- Broad type fixing sweep

* - completely fix merge conflicts
- handle various type errors

* Add tslint to package.json

* Dependency cleanup

* Fix module resolution

* Work on type definitions for untyped libs

* progress commit

* Add more definition typing

* various type additions

* Add unit types

* Fix sagaiterator  + unit types

* various types added

* additional type additions

* Fix typing on Sagas

* remove flowfixmes; swap translate for translateRaw

* Get rid of contracts - awaiting Henry's contract PR

* Remove contracts from routing

* Fix most of actions/reducers

* refactor actions directory structure

* fix reducer action type imports

* Fix most of type errors pre-actions refactor

* fix action creator imports in containers

* Refactor more

* Refactor index of actions

* fix action imports; use module level index export

* package-lock.json updated

* Use action types in props

* Type up action creators

* Fix most of connect errors

* Typefixing progress

* More types

* Fix run-time errors

* Caching improvements for webpack

* Remove path resolve from webpack

* Update non-breaking packages to latest version

* Fix token typing

* Remove unused color code

* Fix wallet decrypt dispatch

* Set redux-form related props/functions to ANY, since we're stripping it out later on

* Revert BigNumber.js package changes

* Extend window to custom object for Perf

* Format Navigation

* Typecase keystore errors as any (since we shouldnt touch this)

* Push wallet context fix

* - find/replace value->payload in swap
- properly type swap state properties
- extract inline reducer into reducer function

* - type local storage retrieved items as generic

* - bind all RPCClient methods with fat arrow

* - reformat

* Change to enums for constants

* Change state into any

* Fix swap errors

* ensure that seconds are passed into state as integers

* Fix rest of errors

* use parseInt explicitly instead of type coercion

* Fix derivation-checker, remove flow command, add tslint command, add tslint-react, tell travis to use tslint instead of flow.

* Whoops, remove those tests.

* Remove unsupported (yet) config option.

* Fix precommit to target ts and tsx files.

* Fix some errors, ignore some silly rules.

* Revert jest to v19, use ts-jest and make all tests typescript. Fixes all but one.

* Get rid of saga tests

* Fix tslint errors
2017-09-24 19:06:28 -07:00
William O'Beirne 5e66cccac5 Command for HTTPS dev server (#212)
* HTTPS dev command.

* Remove unused declaration.

* check-node-version for dev:https
2017-09-19 17:47:46 -07:00
skubakdj c88e96d603 Wallet Decrypt - Mnemonic (#180)
* add 'bip39' package

* add mnemonic decrypt, wallet wrapper

* add mnemonic path config

* add mnemonic support to deterministic components

* add mnemonic support

* accomodate for ledger ETH path

* remove comments

* update comments regarding path length

* rename modal open handler

* make several props optional

* add basic tests for mnemonic decrypt

* make flow happy, add user error notifications

* convert dpaths to js file, update references

* add ledger path to test

* Trezor DPath Fix (#196)

* Match v3 more closely.

* Require wallet index on deterministic wallets, update trezor to send index.

* remove redundent stripAndLower function and rename existing stripHex to stripHexPrefixAndLower
2017-09-15 12:29:38 -07:00