Commit Graph

9 Commits

Author SHA1 Message Date
hensm
c1f34ffeda Add additional error/lifetime handling to bridge 2019-09-03 16:22:46 +01:00
hensm
14d3b2c833 Fix unused parameters 2019-08-16 21:12:44 +01:00
hensm
e2eca07876 Fix unused locals and better receiver selector available media checking 2019-08-16 13:07:18 +01:00
hensm
1c67354e1d TSLint compliance 2019-08-16 11:20:29 +01:00
hensm
cec5db503f Misc formatting/import changes 2019-08-05 18:04:40 +01:00
hensm
9e196465e5 Allow mediaCast sender to run in background context 2019-07-27 07:57:49 +01:00
Matt Hensman
ba8c28bf39 Restructure background script (#70)
Splits some background script functionality into separate modules:
 - Receiver selector handling is moved to ./SelectorManager.
 - Status bridge handling is moved to ./StatusManager.
 - Menu creation and updates are handled in ./createMenus.
 - Shim creation is handled in ./createShim.

TypedEventTarget allows EventTarget-derived classes to export typed events.

Options type definition is moved to ./lib/options, module assumes more responsibility for update handling and provides a "changed" event.

Private cast._requestSession method allows bypassing receiver selector.
2019-07-26 00:09:51 +01:00
hensm
9c381c763a Enable ts strict mode for app 2019-05-24 17:02:59 +01:00
Matt Hensman
474dbad1aa Add snap support (#60)
* Initial app daemon implementation

* Pass script path to child bridge processes

* Change WebSocket server port

* Fix error sending message whilst WebSocket connection is closing

* Initial ext daemon connection implementation
2019-05-15 11:30:30 +01:00