Skip to content

Commit 154ed85

Browse files
committed
add notification
1 parent b8e1602 commit 154ed85

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/background.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,14 @@ chrome.runtime.onInstalled.addListener(async (details) => {
174174
if (details.reason === 'install') {
175175
// TODO: Signin Anonymously
176176
} else if (details.reason === 'update') {
177-
// TODO: Signin Anonymously
177+
AlertHandler.create({
178+
key: 'wg-sunset-notice',
179+
category: AlertCategory.News,
180+
name: "Wallet Guard Sunset Notice",
181+
details: `The Wallet Guard extension will be discontinued on March 31st, 2025. Please install MetaMask to continue using Wallet Guard's security features.`,
182+
link: "https://www.walletguard.app/blog/wallet-guard-sunset-notice",
183+
createdAt: new Date().toISOString()
184+
});
178185
}
179186

180187
localStorageHelpers.get<SimulationSettings>(WgKeys.SimulationSettings).then((res) => {

0 commit comments

Comments
 (0)