diff --git a/src/lib/utils.ts b/src/lib/utils.ts index d19e9a8..87603fb 100644 --- a/src/lib/utils.ts +++ b/src/lib/utils.ts @@ -1,4 +1,4 @@ -import { SupportedWallet } from "@sats-connect/core"; +import { Config } from "@sats-connect/core"; import { customElement } from "solid-element"; import { WalletProviderSelector } from "./WalletProviderSelector"; @@ -11,6 +11,8 @@ import { walletOpen as walletOpenEventName, } from "./constants"; +export type { Config } from "@sats-connect/core"; + export const elementId = "sats-connect-wallet-provider-selector"; export const elementName = elementId; @@ -45,10 +47,6 @@ export interface InstallPrompt { url: string; } -export interface Config { - providers: SupportedWallet[]; -} - export function selectWalletProvider(config: Config): Promise { return new Promise((resolve, reject) => { const walletSelectorElement = getWalletProviderSelectorElement();