fix import

This commit is contained in:
pablof7z 2023-06-25 15:35:48 +02:00
parent bf118276cb
commit 6775855e0c
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
FROM --platform=linux/amd64 node:19-alpine as build
FROM --platform=linux/amd64 node:slim as build
WORKDIR /app
COPY package.json .

View File

@ -1,5 +1,5 @@
import { NDKNip46Backend } from "@nostr-dev-kit/ndk";
import { IEventHandlingStrategy } from '@nostr-dev-kit/ndk/lib/src/signers/nip46/backend';
import { IEventHandlingStrategy } from '@nostr-dev-kit/ndk';
export default class PublishEventHandlingStrategy implements IEventHandlingStrategy {
async handle(backend: NDKNip46Backend, remotePubkey: string, params: string[]): Promise<string|undefined> {