UNPKG

@web3auth/no-modal

Version:
11 lines (8 loc) 329 B
import { inject } from 'vue'; import { WalletServicesContextKey } from '../context/WalletServicesContext.js'; const useWalletServicesPlugin = () => { const context = inject(WalletServicesContextKey); if (!context) throw new Error("WalletServicesContext not found"); return context; }; export { useWalletServicesPlugin };