Compare commits

...

2 commits

Author SHA1 Message Date
Thomas Rupprecht 9921e37605 0.9.5 2023-09-13 21:51:09 +02:00
Thomas Rupprecht c6feec3a67 fix(background): fix init on addon reload 2023-09-13 21:50:31 +02:00
5 changed files with 13 additions and 5 deletions

View file

@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
## \[unreleased] ## \[unreleased]
### 🐛 Bug Fixes
- Fix init on addon reload
## \[[0.9.4](https://git.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.9.4)] - 2023-09-13
### ⛰️ Features ### ⛰️ Features
- Add `eslint` with `unicorn`, `jsdoc`, `no-unsanitized` plugins - Add `eslint` with `unicorn`, `jsdoc`, `no-unsanitized` plugins

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "usrspace-browser-addon", "name": "usrspace-browser-addon",
"version": "0.9.4", "version": "0.9.5",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "usrspace-browser-addon", "name": "usrspace-browser-addon",
"version": "0.9.4", "version": "0.9.5",
"hasInstallScript": true, "hasInstallScript": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {

View file

@ -1,7 +1,7 @@
{ {
"name": "usrspace-browser-addon", "name": "usrspace-browser-addon",
"description": "WebExtension for the Hacker-/Maker-Space /usr/space", "description": "WebExtension for the Hacker-/Maker-Space /usr/space",
"version": "0.9.4", "version": "0.9.5",
"dependencies": { "dependencies": {
"webextension-polyfill": "^0.10.0" "webextension-polyfill": "^0.10.0"
}, },

View file

@ -11,7 +11,7 @@ browser.runtime.onInstalled.addListener(async (details) => {
} }
}); });
browser.runtime.onStartup.addListener(async () => { browser.runtime.onStartup.addListener(() => {
init(); init();
}); });
@ -113,3 +113,5 @@ function init() {
periodInMinutes: REFRESH_TIMEOUT, periodInMinutes: REFRESH_TIMEOUT,
}); });
} }
init();

View file

@ -2,7 +2,7 @@
"manifest_version": 3, "manifest_version": 3,
"name": "__MSG_extensionName__", "name": "__MSG_extensionName__",
"description": "__MSG_extensionDescription__", "description": "__MSG_extensionDescription__",
"version": "0.9.4", "version": "0.9.5",
"icons": { "icons": {
"48": "icons/favicon.svg", "48": "icons/favicon.svg",
"96": "icons/favicon.svg" "96": "icons/favicon.svg"