-
Notifications
You must be signed in to change notification settings - Fork 453
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #1416 - All Service Worker services now have a destroy or close method; - Ensure all Services' listeners, connections and connections are properly removed on destroy; - Removed all logic that forced the Service Worker to stay awake; - Ping JSONRPC event no longer triggers Keep Awake logic; - Allow service worker to be paused and resumed; - Ensure the Service Worker is properly restarted on update; - PopupServer instances will automatically self-destroy after being used, as they can be re-created when needed; - Avoid permanent interval by only starting auto-lock timer when wallet is unlocked; - Avoid permanent Content Script interval/looped calls by opening connection, if closed, when needed; - Previously if any of the services threw an exception the service worker would stop working, now it restarts and resumes execution - Updated Dexie to 3.2.7, which brings fixes around a DB corruption [bug](dexie/Dexie.js#543) - Updated Fuel SDK to 0.94.5 - Fixed error in parsing headers, in Provider's middleware, when the selected network goes offline.
- Loading branch information
1 parent
e555035
commit 32abae8
Showing
30 changed files
with
757 additions
and
541 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@fuel-wallet/connections": patch | ||
"fuels-wallet": patch | ||
--- | ||
|
||
Refactored Service Worker and Content Scripts to close running processes and listeners correctly. Fixes memory leaks. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pnpm 9.10.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
import './actions/autoUpdate'; | ||
import './actions/keepAwake'; | ||
import './actions/onInstall'; | ||
import './communication'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.