diff --git a/src/daemon/http/index.ts b/src/daemon/http/index.ts index 710e92b..834406e 100644 --- a/src/daemon/http/index.ts +++ b/src/daemon/http/index.ts @@ -267,6 +267,7 @@ export function createDaemonRequestHandler(deps: { provider: string | null; server: { close(cb?: () => void): void }; store: any; + walletClient: CocodClient; walletAdapter: any; storageAdapter: any; providerRegistry: any; @@ -274,8 +275,6 @@ export function createDaemonRequestHandler(deps: { modelManager: any; ensureProvidersBootstrapped: () => Promise; getRoutstr21Models: (forceRefresh?: boolean) => Promise; - runWalletCommand: (args: string[]) => Promise; - parseBalances: (output: string) => Record; mode?: "xcashu" | "apikeys"; usageTrackingDriver: UsageTrackingDriver; }) { diff --git a/src/daemon/index.ts b/src/daemon/index.ts index 62b971b..8f24d4c 100644 --- a/src/daemon/index.ts +++ b/src/daemon/index.ts @@ -15,7 +15,7 @@ import { createBunSqliteDriver, createBunSqliteUsageTrackingDriver, } from "@routstr/sdk/storage"; -import { createWalletAdapter, parseBalances, runWalletCommand } from "./wallet"; +import { createWalletAdapter } from "./wallet"; import { createCocodClient } from "./wallet/cocod-client"; import { createModelService } from "./models"; import { createDaemonRequestHandler } from "./http";