Commit Graph

61 Commits

Author SHA1 Message Date
Jaco Greeff
886b36c20a
Use postMessage between page/content (#31) 2019-05-26 09:45:55 +02:00
Jaco Greeff
889d81f203
README updates (#30)
* README updates

* Consistent eventTarget
2019-05-24 23:50:26 +02:00
Jaco Greeff
73733dc8bc
Add @polkadot/extension-dapp (#28)
* Add @polkadot/extension-dapp

* Add skeleton READMEs

* Extend with additional helpers

* Adapdt for new name-less interface

* Additional comments

* Readability

* Flatter promise

* Naming consistency

* Readability
2019-05-24 11:13:06 +02:00
Jaco Greeff
85704d5beb
Small margin adjustment for Address (#24)
* Small margin adjustment for Address

* https
2019-05-23 18:17:47 +02:00
Jaco Greeff
ebe20c3e23
Cross-browser extension interface (#21)
* Cross-browser extension interface

* Allow eventTarget

* Use extension.* in State
2019-05-23 13:37:18 +02:00
Jaco Greeff
f241e7191d
Introduce the enable() interface (prompts user) (#20)
* Introduce the enable() interface

* Provider

* Add auth requests to state

* injector comments

* Background extension list, spprove & reject

* Cleanups

* Untested, but the UI parts are there (test next)

* linting

* Not pretty, but seems to auth

* Small styling adjustments

* Adjust Box layout slightly

* Small styling adjustments

* signing -> transactions

* isDanger for links

* Styling defaults
2019-05-23 12:43:55 +02:00
Jaco Greeff
4a2768cee8
Display genesis (or chain, if known), update deps (#19)
* Display genesis (or chain, if known), update deps

* Build optimizations
2019-05-22 13:16:40 +02:00
Jaco Greeff
cdf5579b8e
Rework context with HOCs (#16)
* Rework context with HOCs

* Type for signing requests list
2019-05-21 17:25:39 +02:00
Jaco Greeff
93b135d685
Forget confirmation & account name editing (#4)
* Forget confirmation & account name editing

* Update ActionBar padding
2019-05-20 15:56:11 +02:00
Jaco Greeff
f5a00988b0 Refresh accounts on create/import, add forget 2019-05-20 13:23:28 +02:00
Jaco Greeff
0b6bcd2bb9 Initial commit aka code from heaven 2019-05-20 12:40:44 +02:00