@layerswap/wallet-fuel 1.4.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -149,6 +149,7 @@ export default function useFuelConnection({ networks }) {
149
149
  }, [connectors]);
150
150
  const availableConnectors = connectors.map(c => {
151
151
  const isInstalled = c.installed && !c['dAppWindow'];
152
+ const isLoadable = c.metadata?.install?.action !== 'Install';
152
153
  return {
153
154
  name: c.name,
154
155
  id: c.name,
@@ -156,6 +157,7 @@ export default function useFuelConnection({ networks }) {
156
157
  type: isInstalled ? 'injected' : 'other',
157
158
  installUrl: c.metadata.install.link,
158
159
  extensionNotFound: !c.installed,
160
+ isLoadable,
159
161
  providerName: name
160
162
  };
161
163
  });