Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions scripts/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ const targets = {
"Preparing the Firefox dist directory"
);
await cp("./dist/src", "./dist/firefox");
await appendToFile("./dist/firefox/background/background.js", "./dist/firefox/background-firefox/consent.js");

rem(
"Preparing the Safari dist directory"
Expand Down Expand Up @@ -110,12 +109,6 @@ const targets = {
await cp("./static/icons", "./dist/firefox/icons");
await cp("./static/icons", "./dist/safari");

rem(
"Copying static consent pages to Firefox dist directory"
);
await cp("./static/_locales", "./dist/firefox/_locales");
await cp("./static/views", "./dist/firefox/views");

rem(
"Setting up the Firefox manifest"
);
Expand Down
34 changes: 0 additions & 34 deletions src/background-firefox/consent.ts

This file was deleted.

23 changes: 0 additions & 23 deletions src/models/Browser/Runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,6 @@
*/

export default interface Runtime {
/**
* Fired when the extension is first installed, when the extension is updated to a new version, and when the browser is
* updated to a new version.
*
* Note that runtime.onInstalled is not the same as management.onInstalled. The runtime.onInstalled event is fired only
* for your extension. The browser.management.onInstalled event is fired for any extensions.
*
* @see https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onInstalled
*/
onInstalled: {
addListener: (callback: OnInstalledCallback) => void;
};

/**
* A string representing the extension ID.
*
Expand Down Expand Up @@ -139,16 +126,6 @@ export interface Port {
sender?: any;
}

export type OnInstallReason = "install" | "update" | "chrome_update" | "shared_module_update";

export interface OnInstalledDetails {
id?: string;
previousVersion?: string;
reason: OnInstallReason;
temporary: boolean;
}

export type OnInstalledCallback = (details: OnInstalledDetails, sender: MessageSender, sendResponse?: any) => Promise<any> | void | boolean;
export type OnMessageCallback = (message: any, sender: MessageSender, sendResponse?: any) => Promise<any> | void | boolean;

export interface MessageSender {
Expand Down
6 changes: 4 additions & 2 deletions static/firefox/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
"name": "Web eID",
"version": "{{package.version}}",
"description": "Use your electronic identification card for secure authentication and digital signing.",
"default_locale": "en",
"browser_specific_settings": {
"gecko": {
"id": "{e68418bc-f2b0-4459-a9ea-3e72b6751b07}"
"id": "{e68418bc-f2b0-4459-a9ea-3e72b6751b07}",
"data_collection_permissions": {
"required": []
}
}
},
"icons": {
Expand Down
6 changes: 4 additions & 2 deletions static/firefox/manifest_v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
"name": "Web eID",
"version": "{{package.version}}",
"description": "Use your electronic identification card for secure authentication and digital signing.",
"default_locale": "en",
"browser_specific_settings": {
"gecko": {
"id": "{e68418bc-f2b0-4459-a9ea-3e72b6751b07}"
"id": "{e68418bc-f2b0-4459-a9ea-3e72b6751b07}",
"data_collection_permissions": {
"required": []
}
}
},
"icons": {
Expand Down
114 changes: 0 additions & 114 deletions static/views/installed.css

This file was deleted.

32 changes: 0 additions & 32 deletions static/views/installed.html

This file was deleted.

45 changes: 0 additions & 45 deletions static/views/installed.js

This file was deleted.

Loading