Commit Graph

250 Commits

Author SHA1 Message Date
Richard Ramos f62e3fc907
Adds lerna and receive web3 object instead of provider (#75)
* Lerna
* React components extracted to separate package
* Subspace requires a web3 object instead of a provider due to https://github.com/ethereum/web3.js/issues/1510
* Update react example to use components
2020-03-04 14:24:51 -04:00
Richard Ramos a0bf6d0764
feat: adding react components (#74)
* feat: adding react components
* fix: ignore react files on build
2020-03-04 14:18:22 -04:00
Richard Ramos 97c1131fc5
feat: observable events (#73)
* feat: use observables instead of subjects for events
* Combine ws and http event syncer in a single file and complete observables
* Remove event scanners and simplify db serve function
2020-03-04 14:18:14 -04:00
Iuri Matias 48164fc0f0
Merge pull request #72 from embarklabs/feat/call-interval
feat: calculate call interval using average block time
2020-02-18 13:16:11 -05:00
Richard Ramos 018c724529 feat: calculate call interval using average block time 2020-02-17 08:56:09 -04:00
Richard Ramos af735816e9 fix: package config 2020-02-15 17:01:30 -04:00
Richard Ramos f9c18af546 change init to async 2020-02-15 09:22:22 -04:00
Richard Ramos 0bfaf32228 extract map function to utils 2020-02-15 09:19:06 -04:00
Richard Ramos 3c349e4ef7 use observable to trigger tracking subscribers 2020-02-15 09:05:33 -04:00
Richard Ramos d3284cb1e5 fix: checksum address 2020-02-15 00:51:47 -04:00
Richard Ramos 8dea143adc
feat: observables for callable functions (#71)
* return eth subscription and observable array
* adding checksum address function to utils
* use observables triggered by a subject
2020-02-15 00:28:22 -04:00
Richard Ramos 2646cd58d1
feat: add null coalesce and optional chaining (#70) 2020-02-14 18:52:01 -04:00
Richard Ramos 65c2cb1799
feat: setup jest (#69)
* remove teller from tests
* jest config and sample spec
2020-02-14 18:49:55 -04:00
Richard Ramos 1a6620adb3
Update README.md 2020-02-12 16:12:14 -04:00
Richard Ramos 2b70d0b260
fix: lint (#68)
* refactor: support private methods and attributes
* Adding eslint and prettier config
* fix: lint files
* fix: promise then/catch
* fix: cb
2020-02-12 15:53:33 -04:00
Richard Ramos e3ce6d87e8 refactor: subjects 2020-02-12 14:22:03 -04:00
Richard Ramos 1f6d536e5c v1.3.0 2020-02-11 10:07:21 -04:00
Richard Ramos 81e09f1a8a
feat: use subject dictionary to avoid creating multiple duplicated subscriptions (#67)
* feat: keep track of props subjects
* Keep track of subjects for event and log trackers
2020-02-11 09:39:37 -04:00
Richard Ramos 556bf5191e feat: update readme 2020-02-11 09:37:25 -04:00
Richard Ramos 5ee1234f0f
feat: track gas price, avg block time, blocknumbers and blocks (#65)
* feat: block stats
* load last 10 blocks
2020-02-10 08:43:46 -04:00
Richard Ramos 4232fc3231
fix: change output from webpack to babel (#64)
* fix: use webpack to transpile js code and removed webpack
* fix: update tests
* fix: node version
* fix: code review
2020-02-03 19:51:19 -04:00
Richard Ramos 2c8ca287ac v1.2.0 2020-01-27 15:33:35 -04:00
Iuri Matias ae72da4d3e
Merge pull request #63 from embarklabs/feat/graphql-example
feat: graphql example with react
2020-01-23 09:09:59 -05:00
Richard Ramos ddedf64af9 fix: rename org 2020-01-22 15:45:25 -04:00
Richard Ramos 924a7ba577 feat: graphql example 2020-01-22 15:45:25 -04:00
Richard Ramos 4c2d4e5b26 fix: getting from value and adding 'track' to events 2020-01-22 15:45:25 -04:00
Richard Ramos f821569301
chore: rename org to @embarklabs (#62)
* chore: rename org to @embarklabs
* fix: remove yarn-error.log
2020-01-22 15:44:51 -04:00
Richard Ramos b4905fbb49 fix: var name 2020-01-20 16:08:47 -04:00
Richard Ramos f7868aa75f Determine if provider supports subscriptiosn 2020-01-20 16:05:27 -04:00
Richard Ramos dc65a68868
feat: support both http and ws providers (#61)
* feat: using polling instead of subscriptions for getting events
* calling data from db
* feat: http event syncer WIP
* support both http and ws providers
2020-01-20 14:19:40 -04:00
dependabot[bot] a9f10e04a0 chore(deps): bump handlebars from 4.2.0 to 4.5.3 in /examples/react (#59)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.2.0 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.2.0...v4.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-01-19 10:24:32 -04:00
dependabot[bot] b49f814e36 chore(deps): bump handlebars in /examples/react-redux (#58)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.2.0 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.2.0...v4.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-01-19 10:24:25 -04:00
dependabot[bot] 9626602b30 chore(deps): bump handlebars in /examples/react-apollo (#57)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.2.0 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.2.0...v4.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-01-19 10:24:15 -04:00
dependabot[bot] 1a93de405b chore(deps): bump handlebars in /examples/react-example1 (#56)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.2.0 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.2.0...v4.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-01-19 10:24:09 -04:00
Richard Ramos 87fd30e06c Update package.json 2019-11-18 15:07:47 -04:00
Richard Ramos ef3bb14c8d fix: erc20 balance tracking and react unsubscribe 2019-11-16 18:58:56 -04:00
Richard Ramos 423c6860e7
Update package.json 2019-10-28 13:58:36 -04:00
Richard Ramos 505b94e5aa
Update package.json 2019-10-28 13:56:57 -04:00
Richard Ramos fe45ae9df1
Update to 1.1.0 2019-10-28 13:28:11 -04:00
Iuri Matias b7fc01864d
Merge pull request #52 from embark-framework/feat/vue-example
feat: vue example
2019-10-23 14:58:11 -04:00
Richard Ramos cf241ed2de feat: vue example 2019-10-23 14:44:45 -04:00
Iuri Matias e61b87c1b9
Merge pull request #51 from embark-framework/fix/net-id
fix: take netId in account when tracking
2019-10-22 13:31:05 -04:00
Richard Ramos 737d189092 fix: take netid in account when tracking 2019-10-22 09:13:33 -04:00
Iuri Matias 355deaee2d
Merge pull request #50 from embark-framework/no_db_option
support disabling database
2019-10-21 14:55:40 -04:00
Iuri Matias 583c7a3b60 support disabling database 2019-10-21 14:22:49 -04:00
Richard Ramos 5a7ed7238b
Update README.md 2019-10-21 08:57:05 -04:00
Richard Ramos 32073f6f24
fix: typo 2019-10-21 08:56:38 -04:00
Richard Ramos 7bf22ebb2c feat: update documentation 2019-10-21 08:55:20 -04:00
Richard Ramos 918b457ffe
Update README.md 2019-10-10 11:00:02 +09:00
Richard Ramos 3bebea2dad fix: add missing docs 2019-10-10 10:57:14 +09:00