Skip to content

Commit 36c2439

Browse files
committed
fix: correct data_collection_permissions format for Firefox AMO
AMO requires data_collection_permissions as an object, not an array: { required: ['none'] } Also bumps strict_min_version to 140.0 (when this field was introduced).
1 parent e67079d commit 36c2439

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

build/build.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ interface FirefoxManifest extends ManifestBase {
5858
gecko: {
5959
id: string;
6060
strict_min_version: string;
61-
data_collection_permissions: string[];
61+
data_collection_permissions: { required: string[] };
6262
};
6363
};
6464
background: { scripts: string[] };
@@ -172,8 +172,8 @@ function buildFirefoxManifest(patterns: string[]): FirefoxManifest {
172172
browser_specific_settings: {
173173
gecko: {
174174
id: 'copy-as-markdown@bvolpato',
175-
strict_min_version: '109.0',
176-
data_collection_permissions: [],
175+
strict_min_version: '140.0',
176+
data_collection_permissions: { required: ['none'] },
177177
},
178178
},
179179
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "copy-as-markdown",
3-
"version": "1.1.2",
3+
"version": "1.1.3",
44
"description": "Context-aware Copy as Markdown buttons — the fastest way to share web content with LLMs",
55
"type": "module",
66
"scripts": {

0 commit comments

Comments
 (0)