From c4be2105fe2047c9b8361da9a633bee339e9dd81 Mon Sep 17 00:00:00 2001 From: Jan-Felix Date: Fri, 21 Apr 2023 10:54:37 +0200 Subject: [PATCH] fix aura connect --- extension/src/bridge/iframe.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/extension/src/bridge/iframe.ts b/extension/src/bridge/iframe.ts index 9fafe6c2..b0567910 100644 --- a/extension/src/bridge/iframe.ts +++ b/extension/src/bridge/iframe.ts @@ -110,6 +110,8 @@ export default class BridgeIframe extends EventEmitter { return Promise.resolve() } - // Stakewise only supports MetaMask and Tally as injected providers, so we pretend to be MetaMask - isMetaMask = window.location.hostname === 'app.stakewise.io' + // Some apps don't support generic injected providers, so we pretend to be MetaMask + isMetaMask = + window.location.hostname === 'app.stakewise.io' || + window.location.hostname === 'app.aura.finance' }