Commit Graph

15 Commits

Author SHA1 Message Date
Jaco Greeff
e20b6e0f16
Split messages into pub/pri (#139)
* Split messages into pub/pri

* Cleanup types for contexts

* genesisHash to edit/create

* (Auth|Sign)Request to record (not tuple)

* Align naming with messages

* Pass account with SignRequest

* Ordering

* Ordering
2019-09-06 10:52:57 +02:00
Jaco Greeff
92f749c8ab
Typescript-eslint 2 (#132)
* Setup

* Linting fixes
2019-08-31 09:20:00 +02:00
Jaco Greeff
e21c900a1f
Bump deps (#131) 2019-08-29 20:39:59 +02:00
Thibaut Sardan
5ee9ed944f
Fix web3Enable not resolving (#129)
* fix web3Enable not resolving

* lint
2019-08-27 18:28:54 +02:00
Jaco Greeff
afb8aedb0a
Bump deps (#127)
* Bump deps

* Linting fixed (new)
2019-08-27 14:41:47 +02:00
Jaco Greeff
616505634d
extension-inject (no direct globals for extension/dapp) (#75)
* extension-inject (no direct globals for extension/dapp)

* Update tsconfig.json

* Update index.ts
2019-07-12 21:22:06 +02:00
Jaco Greeff
c70d9a0e63
Swap to eslint (#72)
* 626 problems (430 errors, 196 warnings)

* A start.

* < 200

* 80

* 0
2019-07-12 20:09:44 +02:00
Jaco Greeff
f4413a209b
Auto-unsubscribe on disconnection (#50)
* Auto-unsubscribe on disconnection

* Use subscriptions for all in popup

* Cleanup state setters

* Plural for address(es)
2019-06-03 18:20:36 +02:00
Jaco Greeff
17d9565e7f
Allow extensions with opt. subscribe & fallback (#51) 2019-06-03 17:50:28 +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
bb99f8a27b
Compat with other extensions (#36) 2019-05-30 09:21:56 +02:00
Jaco Greeff
889d81f203
README updates (#30)
* README updates

* Consistent eventTarget
2019-05-24 23:50:26 +02:00
Jaco Greeff
29c6f59f2f Undefined check 2019-05-24 16:29:32 +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