Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release 0.7.4 #188

Merged
merged 29 commits into from
May 16, 2019
Merged

release 0.7.4 #188

merged 29 commits into from
May 16, 2019

Conversation

cmeisl
Copy link
Member

@cmeisl cmeisl commented May 16, 2019

No description provided.

lnbc1QWFyb24 and others added 29 commits May 8, 2019 21:50
)

* Test contract decoration matches snapshot

* Update yarn.lock

* Improve Contract test coverage

* Classify existing Contract tests as unit tests

* Run contract tests with multiple web3 versions

* Clear localStorage between contract tests

* Improve comment

* Remove redundant comment

* Mock websocket in contract test

* Remove mock-socket from contract tests

* Only snapshot test a subset of decoratedContract

* Remove redundant logic

* Mock the web3 websocket connection

* Cleanup

* Use a complex ABI for contract decoration tests

* Refactor contract delegation for web3 >beta.37

* Improve comments

* Hardcode userAgent in tests
* - Allow user to spawn custom notifications
- Allow specifying custom timeouts for notifications

* - Improve userInitiatedNotify func name
- Validate userInitiatedNotify arguments

* Check assist is ready for userInitiatedNotify

* Remove options param from userInitiatedNotify

* Move notify method to assistInstance

* Add notity docs

* Improve notify docs

* Improve comment

* Don't call setHeight when no notifications

* Fix userInitiatedNotify validation

* Improve docs

* Fix notify function signature in docs

* Improve notify docs example

* Improve import syntax

* Test for a potential difficult to detect bug

* Fix notify customTimeout not working sometimes

* Mention HMTL can be embedded in customNotify msgs

* Show timer in custom "pending" notification

* Add ui-rendering tests for custom notify events

* Test that customTimeout works

* Specify notify customTimeout in an options object

* - Fix customNotify bug
- Improve customNotify test suite

* Specify customTimeout type

* Log custom events to the server

* Improve test

* Update yarn.lock

* Improve tests

* Improve comment

* Validate customCode

* Limit customCode to 24 characters

* Improve user-initiated-notify tests

* Increase test run speed

* Improve customCode default

* change eventCode for custom notification
* Create updateStyle method

* Add updateStyle docs

* Allow updating notificationsPosition

* Test updating notifPos doesn't throw an error

* Update notify docs

* Improve comments
* onboard returns current user state upon completion

* fixed tests

* remove describe statement

* remove test.only
* update tests

* onboard reject now returns state
* modify eslint config

* refactor network functions to resolve values

* add network checks to call methods and show wrong network modal if user is on the wrong network
* updated readme to reflect how onboard resolves with the state object (#161)

* Fix/onboard reject state (#160)

* update tests

* onboard reject now returns state

* Enhancement/network check contract call (#163)

* modify eslint config

* refactor network functions to resolve values

* add network checks to call methods and show wrong network modal if user is on the wrong network

* update to version 0.7.1
* Test contract decoration matches snapshot

* Update yarn.lock

* Improve Contract test coverage

* Classify existing Contract tests as unit tests

* Run contract tests with multiple web3 versions

* Clear localStorage between contract tests

* Improve comment

* Remove redundant comment

* Mock websocket in contract test

* Remove mock-socket from contract tests

* Only snapshot test a subset of decoratedContract

* Remove redundant logic

* Mock the web3 websocket connection

* Cleanup

* Use a complex ABI for contract decoration tests

* Refactor contract delegation for web3 >beta.37

* Improve comments

* Hardcode userAgent in tests

* Setup a ganache instance for use in the test env

* Improve ganache error handling

* Create web3.js test structure

* - Add test for web3Func bigNumber
- Add test for web3Func gasPrice

* Handle restarting ganache when jest is watching

* Add test for web3Funcs.contractGas

* Set ganache account generation to be deterministic

* - Add test for web3Func txGas
- Add test for web3Func balance
- Add test for web3Func accounts
- Add test for web3Func txReceipt

* Create ganacheConfig.js

* Deploy contract to testing ganache chain

* Remove redundant console.log

* Add truffle-contract dependency

* Change the contract deployed to test ganache chain

* Test estimating gas of a truffle method call

* Reduce logic duplication

* Improve comments

* Explicitly end tests once ganache is shutdown

* Fix estimateGas on truffle contract methods

* use latest web3 beta 55 in tests
* fixed bug where txStall event would be fired when the transaction has not stalled

* added check for status approved
* fixed bug where txStall event would be fired when the transaction has not stalled

* added check for status approved

* resolve with promiEvent
* added extra check for confirmed

* dont remomve from queue
* Test contract decoration matches snapshot

* Update yarn.lock

* Improve Contract test coverage

* Classify existing Contract tests as unit tests

* Run contract tests with multiple web3 versions

* Clear localStorage between contract tests

* Improve comment

* Remove redundant comment

* Mock websocket in contract test

* Remove mock-socket from contract tests

* Only snapshot test a subset of decoratedContract

* Remove redundant logic

* Mock the web3 websocket connection

* Cleanup

* Use a complex ABI for contract decoration tests

* Refactor contract delegation for web3 >beta.37

* Improve comments

* Hardcode userAgent in tests

* Setup a ganache instance for use in the test env

* Improve ganache error handling

* Create web3.js test structure

* - Add test for web3Func bigNumber
- Add test for web3Func gasPrice

* Handle restarting ganache when jest is watching

* Add test for web3Funcs.contractGas

* Set ganache account generation to be deterministic

* - Add test for web3Func txGas
- Add test for web3Func balance
- Add test for web3Func accounts
- Add test for web3Func txReceipt

* Create ganacheConfig.js

* Deploy contract to testing ganache chain

* Remove redundant console.log

* Add truffle-contract dependency

* Change the contract deployed to test ganache chain

* Test estimating gas of a truffle method call

* Reduce logic duplication

* Improve comments

* Explicitly end tests once ganache is shutdown

* Fix estimateGas on truffle contract methods

* Test truffle contract decoration

* Update snapshot
@cmeisl cmeisl merged commit cea237c into master May 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants