UNPKG

ara-context

Version:

ARA context to encapsulate things like Web3, etc

155 lines (58 loc) 5.68 kB
## [1.0.5](https://github.com/AraBlocks/ara-context/compare/1.0.4...1.0.5) (2021-04-14) ## [1.0.4](https://github.com/AraBlocks/ara-context/compare/1.0.3...1.0.4) (2021-04-14) ### Bug Fixes * connect to web3 if possible, handle testnet providers ([c7c96fa](https://github.com/AraBlocks/ara-context/commit/c7c96fa4f841d927f9985d2ff922e3710548c263)) ## [1.0.3](https://github.com/AraBlocks/ara-context/compare/1.0.2...1.0.3) (2021-04-08) ## [1.0.2](https://github.com/AraBlocks/ara-context/compare/1.0.1...1.0.2) (2021-03-31) ### Bug Fixes * **test/web3:** fix lint ([118e582](https://github.com/AraBlocks/ara-context/commit/118e582d32a83a3902b761ee12ec5b2ae38af090)) * **web3.js:** fix typo (fixes [#16](https://github.com/AraBlocks/ara-context/issues/16)) ([521678a](https://github.com/AraBlocks/ara-context/commit/521678a263d343642bd0b0da1ce91189a7c8ccc0)) ## [1.0.1](https://github.com/AraBlocks/ara-context/compare/1.0.0...1.0.1) (2021-03-30) ### Bug Fixes * **test/web3.j:** fix broken test ([009ea3f](https://github.com/AraBlocks/ara-context/commit/009ea3f484972a197c3faaf733cf101b69c5125f)) # [1.0.0](https://github.com/AraBlocks/ara-context/compare/0.6.4...1.0.0) (2021-03-30) ## [0.6.4](https://github.com/AraBlocks/ara-context/compare/0.6.3...0.6.4) (2019-04-19) ## [0.6.3](https://github.com/AraBlocks/ara-context/compare/0.6.2...0.6.3) (2019-04-19) ### Bug Fixes * **package.json:** Match 'web3' version with 'eth-provider' ([65c94a8](https://github.com/AraBlocks/ara-context/commit/65c94a8ed712b593876ea63dc5bcb91b262444f6)) ## [0.6.2](https://github.com/AraBlocks/ara-context/compare/0.6.1...0.6.2) (2019-04-19) ### Bug Fixes * **.:** Handle web3 changes and empty providers ([e8cc09b](https://github.com/AraBlocks/ara-context/commit/e8cc09b5b761e1e988f99e1d373198af18b8389b)) ## [0.6.1](https://github.com/AraBlocks/ara-context/compare/0.6.0...0.6.1) (2019-04-19) ### Bug Fixes * **index.js:** Handle backwards compat for web3 ([83589f9](https://github.com/AraBlocks/ara-context/commit/83589f9a2717f4e2a2c327f136e1620a047742c6)) # [0.6.0](https://github.com/AraBlocks/ara-context/compare/0.5.7...0.6.0) (2019-04-16) ## [0.5.7](https://github.com/AraBlocks/ara-context/compare/0.5.6...0.5.7) (2019-04-16) ### Bug Fixes * **package.json:** Downgrade web3 ([6a0f7ff](https://github.com/AraBlocks/ara-context/commit/6a0f7ff69f13b210776dc2be805334bbca10dbdf)) ## [0.5.6](https://github.com/AraBlocks/ara-context/compare/0.5.4...0.5.6) (2019-04-16) ## [0.5.4](https://github.com/AraBlocks/ara-context/compare/0.5.3...0.5.4) (2019-03-27) ## [0.5.3](https://github.com/AraBlocks/ara-context/compare/0.5.1...0.5.3) (2019-01-29) ### Bug Fixes * **package.json:** Hardcoded web3 at 1.0.0-beta.37 ([4b4bdd3](https://github.com/AraBlocks/ara-context/commit/4b4bdd35bd03edea7b06b21b6622d285b2a2665d)) * add timeout for awaiting provider ([3c1afe0](https://github.com/AraBlocks/ara-context/commit/3c1afe04a58661aff863dc19f312fba6c76e9803)) * change provider timeout to constant ([eec6840](https://github.com/AraBlocks/ara-context/commit/eec6840f3fedf25a11bb6a1da1bbb35a5f7ccd0e)) * lint ([b3bd44e](https://github.com/AraBlocks/ara-context/commit/b3bd44e53f1193c6f87005df4595324119dbf4a2)) ## [0.5.1](https://github.com/AraBlocks/ara-context/compare/0.4.0...0.5.1) (2018-11-29) ### Bug Fixes * add more checks ([381a012](https://github.com/AraBlocks/ara-context/commit/381a012b4df540f2c0fa3c8ea609bc6922edee2f)) * lint ([f9e1323](https://github.com/AraBlocks/ara-context/commit/f9e1323ee0c8fbd34f754cab6736645d1e60be39)) * listen to provider connect event ([4bc9f5c](https://github.com/AraBlocks/ara-context/commit/4bc9f5cf284c2b49a82701dc428cc4aa61215cb9)) * remove async keyword ([381cd7e](https://github.com/AraBlocks/ara-context/commit/381cd7ee674179c7ec3624f2c37b1778882f1a84)) * remove unnecessary require ([e5a7316](https://github.com/AraBlocks/ara-context/commit/e5a7316074ca27ffc3bc395291438ce1d4faea70)) * seems to be working ([03b13ae](https://github.com/AraBlocks/ara-context/commit/03b13aef26b8b1d96cd6d7f2534a0385d67e1c26)) # [0.4.0](https://github.com/AraBlocks/ara-context/compare/0.3.0...0.4.0) (2018-10-15) ### Bug Fixes * **web3.js:** Add check for network_id before getProvider ([3677811](https://github.com/AraBlocks/ara-context/commit/3677811bc47100da0054a085a025080ff88f886a)) # [0.3.0](https://github.com/AraBlocks/ara-context/compare/0.1.0...0.3.0) (2018-10-02) ### Bug Fixes * **web3.js:** providers => provider ([51b497b](https://github.com/AraBlocks/ara-context/commit/51b497b303e79f13b8095f4cb89aec99278269c5)) * **web3.js:** remove getProvider export ([5581508](https://github.com/AraBlocks/ara-context/commit/5581508d587c5a70dd3db9e42c60a60b012878eb)) * remove bin/ara-context ([dd80921](https://github.com/AraBlocks/ara-context/commit/dd80921636c5e0df6a087692095879f8cb37893b)) * **web3.js:** readd web3 and web3.provider checks ([5511564](https://github.com/AraBlocks/ara-context/commit/5511564a9c49d20c911530497538be60c51046d9)) ### Features * allow for multiple geth providers for privatnet, testnet, mainnet etc ([e5686c6](https://github.com/AraBlocks/ara-context/commit/e5686c6df8ee8d242b8484b60bf23c1a82e510ad)) * network switching based on ararc web3.network_id ([9ea88cc](https://github.com/AraBlocks/ara-context/commit/9ea88cc7549c99df8c716d6bcb88af543bc9b50e)) # [0.1.0](https://github.com/AraBlocks/ara-context/compare/e5580d07803b92880e377eddc9ff01bab89627cd...0.1.0) (2018-05-22) ### Features * **{index,web3}.js:** Initial implementation ([e5580d0](https://github.com/AraBlocks/ara-context/commit/e5580d07803b92880e377eddc9ff01bab89627cd))