UNPKG

@thirdweb-dev/wallets

Version:

<p align="center"> <br /> <a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/legacy_packages/sdk/logo.svg?raw=true" width="200" alt=""/></a> <br /> </p> <h1 align="center">thirdweb Wallet SDK</h1> <p align="center"> <a h

14 lines (12 loc) 292 B
/** * @internal */ function getInjectedXDEFIProvider() { if (typeof window === "undefined") { return; } if (globalThis.window && globalThis.window.xfi && globalThis.window.xfi.ethereum) { return globalThis.window.xfi.ethereum; } } export { getInjectedXDEFIProvider as g };