Add closeAppOnActions option to InjectionConfig and Wallet class

- Introduced closeAppOnActions property in InjectionConfig to control app closure behavior.
- Updated defaultInjectionConfig to set closeAppOnActions to true.
- Modified Wallet class to utilize closeAppOnActions when handling actions, ensuring the app closes as intended based on this configuration.
This commit is contained in:
odiinnn committed 2025-09-30 18:38:11 +03:00
1 parent f46a4418c9
commit 158eb100fa
3 files changed
+6 -2

No files matched your search

+1
View File
@@ -10,6 +10,7 @@ export type WalletStorage = Storage;
export type InjectionConfig = {
callbackUrl: string;
connectTimeout?: number;
closeAppOnActions?: boolean;
}
export type WebApp = typeof WebAppConst;