diff --git a/src/nostrMiddleware.ts b/src/nostrMiddleware.ts index 44b6add7..19a138af 100644 --- a/src/nostrMiddleware.ts +++ b/src/nostrMiddleware.ts @@ -1,10 +1,11 @@ -import Main, { NofferData } from "./services/main/index.js" +import Main from "./services/main/index.js" import Nostr from "./services/nostr/index.js" import { NostrEvent, NostrSend, NostrSettings } from "./services/nostr/handler.js" import * as Types from '../proto/autogenerated/ts/types.js' import NewNostrTransport, { NostrRequest } from '../proto/autogenerated/ts/nostr_transport.js'; import { ERROR, getLogger } from "./services/helpers/logger.js"; import { NdebitData } from "nostr-tools/lib/types/nip68.js"; +import { NofferData } from "nostr-tools/lib/types/nip69.js"; export default (serverMethods: Types.ServerMethods, mainHandler: Main, nostrSettings: NostrSettings, onClientEvent: (e: { requestId: string }, fromPub: string) => void): { Stop: () => void, Send: NostrSend } => { const log = getLogger({})