Commit Graph

18 Commits

Author SHA1 Message Date
Jaco Greeff
a94836977a
Extend message/request ids as string (#48)
* Extend message/request ids as string

* Only decode the current method (as meta available)

* Dep-dup id generation
2019-06-03 13:58:33 +02:00
Jaco Greeff
ff591dc057
Minor, adjust badge color/bg across browsers (#47) 2019-06-03 12:46:22 +02:00
Jaco Greeff
0e3193a358
Metadata for known chains (#40)
* Metadata for known chains

* Decode from metadata
2019-06-02 16:23:16 +02:00
Jaco Greeff
e7c6272e98
url from sender/tab, better per-extension errors (#44)
* url from sender/tab, better per-extension errors

* Remove debug log
2019-06-02 15:36:16 +02:00
Jaco Greeff
d7b0b6fcf5
Expose subscribe on Accounts interface (#42)
* Expose subscribe on Accounts interface

* Basic subscription for accounts on background

* Subscriptions should be in-place...

* Add web3AccountsSubscribe
2019-05-31 16:36:07 +02:00
Jaco Greeff
01f2f16b79
Convert messaging to use ports (#38)
* Convert messageing to use ports

* Small listeneing cleanups
2019-05-30 14:28:41 +02:00
Jaco Greeff
5df1dc3e73
Rename page and content scripts (self-explanatory) (#33) 2019-05-29 14:33:15 +02:00
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