detectSafeApp()
detectSafeApp(
timeout):Promise<boolean>
Defined in: packages/orbit-core/src/utils/isSafeApp.ts:7
Checks if the current window is running inside a Safe App iframe by attempting postMessage communication with the parent window.
Parameters
timeout
number = 1000
Returns
Promise<boolean>
Promise that resolves to true if running inside Safe Wallet, false otherwise
Last updated on