Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor!: manifest v3 support #1051 #1124

Merged
merged 62 commits into from
Mar 22, 2023
Merged
Changes from 1 commit
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
58d6307
refactor!: manifest v3 support #1051
escapedcat Jul 8, 2022
7f61c9a
refactor!: fix manifest v3 errors #1051
escapedcat Jul 8, 2022
992efc5
test: update ext-id finding #1051
escapedcat Jul 11, 2022
a4c5d69
fix(axios): use fetach-adapter within service-worker #1124
escapedcat Jul 12, 2022
902713c
chore: update opera version #1051
escapedcat Sep 1, 2022
3a21e4e
revert: remove outdated function wich was added earlier in this PR #1051
escapedcat Sep 9, 2022
8321efb
fix: use further axios adapters #1051
escapedcat Sep 9, 2022
a9a61a1
fix(notifications): update imageUrl for manifest v3 #1051
escapedcat Sep 9, 2022
acd58b1
fix(manfifest): add mssing bundle to ressources for manifest v3 #1051
escapedcat Sep 9, 2022
afe92ff
fix(seticon): use action for manifest v3 #1051
escapedcat Sep 9, 2022
29ebf1e
chore: remove rebase issue #1051
escapedcat Sep 9, 2022
c9f359f
chore: trigger actions
escapedcat Oct 10, 2022
50f7925
chore: trigger actions
escapedcat Oct 10, 2022
f84b183
chore: merge master
escapedcat Oct 11, 2022
8818410
fix: use further axios adapters #1051
escapedcat Oct 11, 2022
f247a23
fix: use storage sessions for pw #1051
escapedcat Nov 8, 2022
117a7dc
chore: messy storage.session progress #1051
escapedcat Nov 11, 2022
d1d04d2
chore: move addListeners to teeh top #1051
escapedcat Nov 11, 2022
b90d101
chore: revert settings handling and cleanup #1051
escapedcat Nov 11, 2022
231e5a3
feat: support pw-change and further cleanup #1051
escapedcat Nov 11, 2022
6e4cc0c
feat: merge master and adjust nostr, revert axios to v0 #1051
escapedcat Nov 11, 2022
6eb2ed0
chore: update unit-tests
escapedcat Nov 14, 2022
c5f3262
refactor: centralize chrome.storage.session usage #1051
escapedcat Nov 14, 2022
05fa220
refactor: use polyfill but ignore type #1051
escapedcat Nov 15, 2022
54edc6d
feat: add mv3 check #1051
escapedcat Nov 15, 2022
077200c
feat: support seticon for v2 and v3 #1051
escapedcat Nov 16, 2022
62106e8
test: update test for v3 #1051
escapedcat Nov 16, 2022
54d3370
fix: patch jest-webextension-mock getManifest support #1051
escapedcat Nov 16, 2022
5d0481d
fix: getCurrency test-setup #1051
escapedcat Nov 16, 2022
56b901c
fix: check for null and undefined password #1051
escapedcat Nov 17, 2022
253ecce
chore: add linting for tests #1051
escapedcat Nov 17, 2022
f490aa8
fix: patch lnmessage for comando #1051
escapedcat Nov 17, 2022
e17cb3f
feat: create correct manifest for chrome v3 and v2 for FF and opera #…
escapedcat Nov 17, 2022
91f62bf
refactor: update to lnmessage v0.14 #1051
escapedcat Nov 18, 2022
925016a
Merge branch 'master' into refactor/manifest-v3-support
bumi Nov 20, 2022
f363647
fix: nostr #1051
escapedcat Nov 21, 2022
657760b
fix: manifest warning #1051
escapedcat Nov 22, 2022
461acdd
chore: merge master #1051
escapedcat Nov 22, 2022
9433185
chore: update jest-webextension-mock getManifest support #1051
escapedcat Nov 26, 2022
81ee21e
chore: merge master #1051
escapedcat Dec 1, 2022
5383e5c
chore: merge master #1051
escapedcat Dec 2, 2022
affbc4f
chore: merge master #1051
escapedcat Dec 5, 2022
5064114
Merge branch 'master' into refactor/manifest-v3-support
escapedcat Dec 8, 2022
bc7b862
feat: show prefixed error messages #1051
escapedcat Dec 8, 2022
b9d97f3
fix: nostr getPublicKey #1051
escapedcat Dec 8, 2022
bf8a9d1
Merge branch 'master' into refactor/manifest-v3-support
escapedcat Dec 13, 2022
955581f
fix(notifications): update imageUrl for manifest v3 #1051
escapedcat Dec 13, 2022
f624f63
Merge branch 'master' into refactor/manifest-v3-support
bumi Jan 9, 2023
1acacba
Merge branch 'master' into HEAD
im-adithya Feb 2, 2023
7acf4ae
chore: merge master #1051
escapedcat Feb 7, 2023
dd91efc
test: fix nostr tests #1051
escapedcat Feb 7, 2023
18fa751
test: skip auth test till axios-fetch is fixed #1051
escapedcat Feb 7, 2023
20fe751
Merge branch 'master' into refactor/manifest-v3-support
escapedcat Feb 13, 2023
26a9c5f
fix(lock): close tabs/popup for chrome and firefox #1051
escapedcat Feb 13, 2023
b009251
fix: types after merge master #1051
escapedcat Mar 2, 2023
43a4091
fix: use further axios adapters #1051
escapedcat Mar 2, 2023
dd85f9a
chore: merge master #1051
escapedcat Mar 20, 2023
05802a9
fix(commando): revert lnmessage to v0.0.19 #1051
escapedcat Mar 20, 2023
3ea8086
fix(commando): use lnmessage 0.3.0 beta #1051
escapedcat Mar 22, 2023
b695b58
fix: window error within SW #1051
escapedcat Mar 22, 2023
573268b
chore: remove unused dep #1051
escapedcat Mar 22, 2023
9b53a29
fix: use further axios adapters #1051
escapedcat Mar 22, 2023
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
16 changes: 12 additions & 4 deletions src/extension/background-script/state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,18 @@ const state = createState<State>((set, get) => ({
} else {
set({ mv2Password: null });
}
const allTabs = browser.extension.getViews({ type: "tab" });
for (const tab of allTabs) {
tab.close();
}

const allTabs = await browser.tabs.query({ title: "Alby" });
escapedcat marked this conversation as resolved.
Show resolved Hide resolved

// https://stackoverflow.com/a/54317362/1667461
const allTabIds = Array.from(allTabs, (tab) => tab.id).filter(
(i): i is number => {
return typeof i === "number";
}
);

browser.tabs.remove(allTabIds);

const connector = get().connector;
if (connector) {
await connector.unload();
Expand Down