Commit Graph

16 Commits

Author SHA1 Message Date
hensm
41d8edcab4 prettier: Re-format .ts files 2021-08-31 08:28:23 +01:00
hensm
d343ac4629 Replace webpack with esbuild 2021-05-26 22:05:14 +01:00
hensm
453274307f Add additional comments 2021-05-04 12:20:31 +01:00
hensm
f44d142631 Replace StatusManager 2021-04-28 06:21:55 +01:00
hensm
d478742c4b Switch to eslint and fix issues 2021-04-26 05:36:55 +01:00
hensm
f8003d99a0 Use old message format with getInfo message for compat 2021-04-25 04:26:53 +01:00
hensm
d48efe4840 Remove leading slash from message names 2021-04-25 04:26:53 +01:00
hensm
d806bfcf0c Reformat extension message definitions 2021-04-25 04:26:53 +01:00
hensm
139a1c8f34 Allow patch versions to remain compatible 2020-09-13 16:18:58 +01:00
hensm
0e41d32570 Increase bridge timeout 2020-09-13 16:18:58 +01:00
hensm
865bde56a4 Let bridge module handle timeout 2020-08-13 03:48:56 +01:00
hensm
c608596edd Use Messenger class and move messaging module to top-level 2020-08-11 05:39:11 +01:00
hensm
2eeaff4c15 Add typed messaging 2020-02-18 07:37:20 +00:00
hensm
f6e09ca687 Replace remaining console calls with logger calls 2020-01-23 01:14:57 +00:00
hensm
7f84b90431 Enable strict mode for extension build 2020-01-23 00:58:33 +00: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