From 654fd143b34042519f5ec17099905d7975e0ee16 Mon Sep 17 00:00:00 2001 From: Brendan Early Date: Mon, 25 Oct 2021 09:49:02 -0500 Subject: [PATCH 1/3] Stop removing old cookies --- src/background.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/background.ts b/src/background.ts index e413edb73..9e4e99450 100644 --- a/src/background.ts +++ b/src/background.ts @@ -38,7 +38,6 @@ chrome.runtime.onMessage.addListener((message, sender, sendResponse) => { getBackupToken(message.action); } else if (message.action === "lock") { cachedPassphrase = ""; - document.cookie = 'passphrase=";expires=Thu, 01 Jan 1970 00:00:00 GMT"'; } else if (message.action === "resetAutolock") { clearTimeout(autolockTimeout); setAutolock(); From b2f21346c90031d743a15e9c6be65865e10855c2 Mon Sep 17 00:00:00 2001 From: Brendan Early Date: Mon, 25 Oct 2021 09:49:54 -0500 Subject: [PATCH 2/3] 6.3.4 --- manifests/manifest-chrome.json | 2 +- manifests/manifest-edge.json | 2 +- manifests/manifest-firefox.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manifests/manifest-chrome.json b/manifests/manifest-chrome.json index bb9756fb1..2a6a166ef 100644 --- a/manifests/manifest-chrome.json +++ b/manifests/manifest-chrome.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "__MSG_extName__", "short_name": "__MSG_extShortName__", - "version": "6.3.3", + "version": "6.3.4", "default_locale": "en", "description": "__MSG_extDesc__", "icons": { diff --git a/manifests/manifest-edge.json b/manifests/manifest-edge.json index fe1da9f21..20ff01223 100644 --- a/manifests/manifest-edge.json +++ b/manifests/manifest-edge.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "Authenticator: 2FA Client", "short_name": "__MSG_extShortName__", - "version": "6.3.3", + "version": "6.3.4", "default_locale": "en", "description": "__MSG_extDesc__", "icons": { diff --git a/manifests/manifest-firefox.json b/manifests/manifest-firefox.json index 4de000749..48151a940 100644 --- a/manifests/manifest-firefox.json +++ b/manifests/manifest-firefox.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "__MSG_extName__", "short_name": "__MSG_extShortName__", - "version": "6.3.3", + "version": "6.3.4", "default_locale": "en", "description": "__MSG_extDesc__", "applications": { From 16d6b654ebf722d017f8527c0182d3f6befa88ab Mon Sep 17 00:00:00 2001 From: Brendan Early Date: Mon, 25 Oct 2021 09:50:53 -0500 Subject: [PATCH 3/3] update readme --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3eeaaffe2..a2795852b 100644 --- a/README.md +++ b/README.md @@ -12,14 +12,21 @@ # install development dependencies npm install # compile -npm run [chrome, firefox] +npm run [chrome, firefox, prod] +``` + +To reproduce a build: + +``` bash +npm ci +npm run prod ``` ## Development (Chrome) ``` bash # install development dependencies -npm install +npm install # compiles the Chrome extension to the `./test/chrome` directory npm run dev:chrome # load the unpacked extension from the `./test/chrome/ directory in Chrome