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

17 lines (13 loc) 462 B
'use strict'; var assertWindowEthereum = require('./assertWindowEthereum-0709ee9e.cjs.dev.js'); function getInjectedOneKeyProvider() { if (typeof window === "undefined") { return; } if (assertWindowEthereum.assertWindowEthereum(globalThis.window)) { if (globalThis.window.$onekey && globalThis.window.$onekey.ethereum) { return globalThis.window.$onekey.ethereum; } } } exports.getInjectedOneKeyProvider = getInjectedOneKeyProvider;