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:
1 parent
f46a4418c9
commit
158eb100fa
3 files changed
+6
-2
No files matched your search
@@ -10,6 +10,7 @@ export type WalletStorage = Storage;
|
||||
export type InjectionConfig = {
|
||||
callbackUrl: string;
|
||||
connectTimeout?: number;
|
||||
closeAppOnActions?: boolean;
|
||||
}
|
||||
|
||||
export type WebApp = typeof WebAppConst;
|
||||
|
||||
Reference in new issue
Block a user