Jaco Greeff
837fb52a3a
Bumps w/ eslint ( #338 )
...
* Bumps w/ eslint
* Additional
* Additional
* Additional
* Additional
* Additional
* Linting done, tsc fixes remain
* Final round
2020-05-24 12:17:53 +02:00
Jaco Greeff
21059e82ce
readyState complete ( #324 )
...
* readyState complete
* alphabetical
2020-04-24 12:26:31 +02:00
Jaco Greeff
06277067d1
Adjust load init (Only create on ready) ( #323 )
2020-04-24 12:05:42 +02:00
Jaco Greeff
6455e246c8
Adjust web3Enable with document readyState ( #321 )
...
* Adjust web3Enable with document readyState
* Bumps
2020-04-21 15:06:20 +02:00
Jaco Greeff
0d87b50a20
Rewrite yarn.lock ( #305 )
2020-04-01 23:24:07 +02:00
Jaco Greeff
de78c703f5
Bump dev (incl. lint fixes) ( #304 )
2020-04-01 18:49:49 +02:00
Amaury Martiny
452ce41b71
Provider Injection ( #253 )
...
* Add PostMessageProvider
* Remove coder
* Add provier in state
* Add msg handling
* Fix lint
* Fix little bugs
* Make send work
* Small tweaks
* Make subscriptions work
* Add readme
* Remove useless file
* Roder alphabet
* Fix lint
* List & start provider
* Add unsubscribe
* List and Use providers
* Update packages/extension/src/background/types.ts
Co-Authored-By: Jaco Greeff <jacogr@gmail.com>
* Update packages/extension/src/background/handlers/State.ts
Co-Authored-By: Jaco Greeff <jacogr@gmail.com>
* Update packages/extension/src/background/handlers/State.ts
Co-Authored-By: Jaco Greeff <jacogr@gmail.com>
* Update packages/extension/src/background/handlers/State.ts
Co-Authored-By: Jaco Greeff <jacogr@gmail.com>
* Update packages/extension/src/background/handlers/State.ts
Co-Authored-By: Jaco Greeff <jacogr@gmail.com>
* Update packages/extension-dapp/src/index.ts
Co-Authored-By: Jaco Greeff <jacogr@gmail.com>
* Update README
* Remove circular dep
* Remove useless function
* Update README
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-02-26 17:18:44 +01:00
Jaco Greeff
7efd915506
Bump deps ( #216 )
2020-01-06 15:27:25 +01:00
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