Commit Graph
127 Commits
Author SHA1 Message Date
Andre Medeiros 632b3734a0 fix: pass specific connection errors instead of leaking 2019-01-17 11:16:54 -05:00
Iuri Matias 0262ebe70e Merge pull request #34 from embark-framework/feat/enable-regular-txs
feat(@embarkjs): Add console warning if using metamask and geth
2018-12-21 12:49:38 -05:00
emizzle 930789f12a feat(@embarkjs): Add console warning if using metamask and geth
Add console warning to inform user they may experience stuck transactions due to a known bug with geth caused by use with metamask. Embark can work around these struck transactions using regular transactions, however they must be enabled first.

The console warning includes a URL to the cockpit with the query string parameter included that enables the regular transactions.

Coincides with https://github.com/embark-framework/embark/pull/1220
2018-12-21 19:03:33 +11:00
Iuri Matias 00ec6bc4f5 update to 0.5.0 2018-12-07 18:31:59 -05:00
Iuri Matias 3856564232 Merge pull request #31 from embark-framework/refactor/extract-web3
Extract Web3 from Blockchain and into a plugin
0.5.0
2018-12-07 18:26:04 -05:00
Jonathan Rainville dae392a61c refactor(blockchcain): extract web3 and use a blockchain connector 2018-12-07 13:26:48 -05:00
Iuri Matias af87171d04 Merge pull request #33 from embark-framework/feature/pass-current-network-information-to-onready
feature: pass network info to onReady
2018-12-07 10:22:28 -05:00
Iuri Matias d8dd05be2a Merge pull request #29 from embark-framework/fix/no-dapp-connection-rejection-error
fix(@embarkjs): fix unhandled promise rejection
2018-12-07 09:38:33 -05:00
Iuri Matias 24609ccbb9 Merge pull request #27 from embark-framework/feat/eip1102
feat: allow end user to enable ethereum manually
2018-12-07 09:30:27 -05:00
Andre Medeiros 8aff0a8b04 feature: pass network info to onReady 2018-12-02 14:33:10 -05:00
André Medeiros aacb23f3e9 Merge pull request #30 from embark-framework/feature/babel-watch
feature: add "babel:watch" to trigger automatic rebuilds
2018-11-30 14:08:52 -05:00
Andre Medeiros 3914e3082d feature: add "babel:watch" to trigger automatic rebuilds. 2018-11-30 14:01:26 -05:00
emizzle 5da7aab5d6 fix(@embarkjs): fix unhandled promise rejection
Previously, after EmbarkJS checked for working storage dappConnections but couldn’t find any that worked, there was an unhandled promise rejection error being logged.

The cause of this was because there was a new error being thrown inside of the `async.detectSeries` callback function (the function that executes after `detectSeries` completes). This new error was being caught by a try/catch block inside of the `detectSeries` loop.

To fix the issue, there is no new error being thrown, instead the error is logged to the console.
2018-11-28 17:54:47 +11:00
Iuri Matias c2c8c811ab Merge pull request #28 from embark-framework/feat/secureSend/hashCb
feat(utils): add callback for transactionhash in secureSend
2018-11-21 17:52:24 -05:00
Pascal Precht 753c9c41a2 feat(utils): add callback for transactionhash in secureSend
This is to make sure there's a way to retrieve the transaction hash
during deployment of Smart Contracts as early as possible
2018-11-21 11:44:11 +01:00
Anthony Laibe 031863ff88 feat: allow end user to enable ethereum manually 2018-11-19 11:28:14 +00:00
Iuri Matias 01b0c93714 update to 0.4.5 0.4.5 2018-11-07 09:04:04 -05:00
Anthony Laibe 0e3fe0dd5e Merge pull request #25 from embark-framework/bugfix/check-for-window
Use window for check
2018-11-01 11:47:26 +01:00
Anthony Laibe ec94088530 Use window for check 2018-11-01 11:45:09 +01:00
emizzle 103a78fa43 0.4.4 v0.4.4 2018-10-31 11:18:39 +01:00
Anthony Laibe 5383e76289 Merge pull request #24 from embark-framework/feature/eip1102-new
Update EIP 1102 according to new specs
2018-10-31 11:03:22 +01:00
Anthony Laibe 0bfcf4e310 Update EIP 1102 according to new specs 2018-10-31 10:41:01 +01:00
Iuri Matias 735251bbaf update to 0.4.3 0.4.3 2018-09-26 18:41:23 -04:00
Iuri Matias 36c2088fd7 Merge pull request #23 from embark-framework/gas_fix
don't estimate gas which was overriding caller given gas param
2018-09-26 18:40:18 -04:00
Iuri Matias a99541f47d don't estimate gas which was overriding caller given gas param 2018-09-26 18:34:46 -04:00
Iuri Matias 11aed3c894 Merge pull request #22 from embark-framework/features/npm-engine-strict
spec npm version in pkg json "engines", >=6.4.1, same as embark
2018-09-21 09:45:36 -04:00
Michael Bradley, Jr 8296173c62 spec npm version in pkg json "engines", >=6.4.1, same as embark 2018-09-20 14:30:31 -05:00
Iuri Matias a119f548dd update to 0.4.2 0.4.2 2018-09-17 12:54:13 -04:00
Iuri Matias 323eea0d96 Merge pull request #21 from embark-framework/bug_fix/on-ready-error
Actually return the error for onReady
2018-09-12 18:59:23 -04:00
Iuri Matias b216a5045d Merge pull request #19 from embark-framework/feature/metamask-eip-1102
Ready for EIP 1102
2018-09-12 18:59:08 -04:00
Jonathan Rainville 201a1bfd23 return false when provider not set 2018-09-11 17:10:06 -04:00
Jonathan Rainville d5b34ad396 fix onReady not returning the error 2018-09-11 17:08:51 -04:00
Anthony Laibe a7ae1fd37d Use timeout 2018-09-10 09:09:18 +01:00
Iuri Matias 848238dc80 Merge pull request #20 from embark-framework/bugfix/onReady
Fix showing the indicator
2018-09-07 18:45:56 -04:00
Iuri Matias 722631084c Merge pull request #15 from embark-framework/bug_fix/contract-provider
Remove setProvider on contract
2018-09-07 18:45:44 -04:00
Anthony Laibe 91475d44b9 Fix showing the indicator 2018-09-07 15:38:28 +01:00
Anthony Laibe 072f95d698 Ready for EIP 1102 2018-09-07 14:30:04 +01:00
Iuri Matias 52122e12a5 update to 0.4.1 0.4.1 2018-09-06 08:11:11 -04:00
Michael Bradley 6f40edd5b4 Merge pull request #17 from embark-framework/async-es
async-es for optimized browser builds
2018-09-05 11:19:36 -05:00
Jonathan Rainville 4dcdca85c2 remove setProvider on contract 2018-09-05 11:41:20 -04:00
Jonathan Rainville 2e636e1258 Merge pull request #18 from embark-framework/bug_fix/this-not-self
bad reference in onReady
2018-09-04 08:53:24 -04:00
Michael Bradley, Jr b908d854d1 bad self reference in onReady, should be this 2018-09-02 20:02:56 -05:00
Michael Bradley, Jr 72db70c5c3 parameterize build, export, import of async vs. async-es 2018-08-31 17:03:55 -05:00
Michael Bradley, Jr 9f46dcc49f async-es dep 2018-08-31 17:00:53 -05:00
Michael Bradley, Jr 5b92fa3d70 don't need to append .js, and be consistent about not doing so 2018-08-31 17:00:27 -05:00
Michael Bradley, Jr 9ed6053363 use shorthand to re-export the default import 2018-08-31 17:00:01 -05:00
Iuri Matias b310a783d5 update to 0.4.0 0.4.0 2018-08-31 16:58:46 -04:00
Iuri Matias ecfeb27e82 Merge pull request #16 from embark-framework/dapp_connection
Move dapp connection logic to EmbarkJS; put Contract inside Blockchain Component
2018-08-31 16:44:28 -04:00
Iuri Matias dbcfc634bb update mm message 2018-08-31 15:59:32 -04:00
Iuri Matias 3ade131796 replace reduce with async reduce; refactor 2018-08-31 15:57:08 -04:00