Commit Graph

218 Commits

Author SHA1 Message Date
Richard Ramos 7160031807 fix: adding react readme.md 2020-03-09 11:39:53 -04:00
Richard Ramos 0344cb3c93 Add README 2020-03-09 11:35:19 -04:00
Richard Ramos 243dc067e2 refactor: moving docs to repo 2020-03-09 11:31:29 -04:00
Richard Ramos 75cd97ebe9 types for react 2020-03-09 11:06:28 -04:00
Richard Ramos 433300aa62 feat: type definition 2020-03-09 08:46:25 -04:00
Richard Ramos d507a63c58 fix: update readme 2020-03-08 09:29:41 -04:00
Richard Ramos 6644638ca5 fix: update react-graphql-example1 2020-03-08 09:15:04 -04:00
Richard Ramos f9b724478b fix: adding missing files in react-apollo example 2020-03-06 16:02:50 -04:00
Richard Ramos 9bcebf17f6 fix: update react-apollo example 2020-03-06 16:02:24 -04:00
Richard Ramos 9fa62bec38 fix: update react-example1 2020-03-06 14:21:08 -04:00
Richard Ramos 34fba9d812 fix: wait for subspace to init 2020-03-06 14:20:31 -04:00
Richard Ramos 4ffe324a80 fix: return empty array for unknown event key 2020-03-06 14:20:16 -04:00
Richard Ramos 0106e406b3 Update react-redux example 2020-03-06 13:37:24 -04:00
Richard Ramos 4976ccf5f5 feat: update READMEs for root and core package 2020-03-04 15:12:16 -04:00
Richard Ramos 445c89856c fix: ignore files 2020-03-04 15:05:23 -04:00
Richard Ramos 728157bc37 fix: examples 2020-03-04 14:55:29 -04:00
Richard Ramos 85c4d9300a fix: tests 2020-03-04 14:48:08 -04:00
Richard Ramos a2a133f2cf fix: tracking blocks 2020-03-04 14:48:01 -04:00
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