Skip to content

Commit

Permalink
fix: downgrade manifest.js back to v2 (#2655)
Browse files Browse the repository at this point in the history
* Revert "fix: manifest.json (#2632)"

This reverts commit bd79f2a.

* chore: set sporran to v2024.9.11
  • Loading branch information
kilted-andres committed Sep 11, 2024
1 parent 963356e commit 37891fc
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 22 deletions.
4 changes: 2 additions & 2 deletions src/components/Settings/__snapshots__/Settings.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ exports[`Settings menu should be visible when menu button clicked 1`] = `
role="menuitem"
tabindex="-1"
>
Version 2024.9.10
Version 2024.9.11
</a>
</li>
</ul>
Expand Down Expand Up @@ -225,7 +225,7 @@ exports[`Settings should render the endpoint item in the internal build 1`] = `
role="menuitem"
tabindex="-1"
>
Version 2024.9.10
Version 2024.9.11
</a>
</li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion src/configuration/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const internalFeatures: Features = {

// Duplicates the value in src/static/manifest.json
// We can’t use browser.runtime.getManifest().version, as it’s unavailable in injected scripts
const version = '2024.9.10';
const version = '2024.9.11';

export const configuration: ConfigurationType = {
version,
Expand Down
27 changes: 9 additions & 18 deletions src/static/manifest.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"manifest_version": 3,
"manifest_version": 2,
"name": "__MSG_manifest_name__",
"short_name": "__MSG_manifest_short_name__",
"description": "__MSG_manifest_description__",
"version": "2024.9.10",
"version": "2024.9.11",
"default_locale": "en",
"action": {
"browser_action": {
"default_icon": {
"16": "icon/light/16.png",
"32": "icon/light/32.png",
Expand All @@ -15,7 +15,10 @@
"default_popup": "popup.html"
},
"background": {
"service_worker": "js/backgroundScript.js"
"scripts": [
"js/backgroundScript.js"
],
"persistent": true
},
"content_scripts": [
{
Expand All @@ -38,20 +41,8 @@
"clipboardWrite",
"storage"
],
"host_permissions": [
"*://*/*"
],
"content_security_policy": {
"extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self'"
},
"content_security_policy": "script-src 'self' 'wasm-eval'; object-src 'self';",
"web_accessible_resources": [
{
"resources": [
"js/injectedScript.js"
],
"matches": [
"*://*/*"
]
}
"js/injectedScript.js"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ exports[`GenericError should render generic error when an error happens 1`] = `
class="details"
readonly=""
>
Sporran@2024.9.10
Sporran@2024.9.11
Testing GenericError
Expand Down

0 comments on commit 37891fc

Please sign in to comment.