fix import
This commit is contained in:
parent
bf118276cb
commit
6775855e0c
2 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
FROM --platform=linux/amd64 node:19-alpine as build
|
FROM --platform=linux/amd64 node:slim as build
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY package.json .
|
COPY package.json .
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import { NDKNip46Backend } from "@nostr-dev-kit/ndk";
|
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 {
|
export default class PublishEventHandlingStrategy implements IEventHandlingStrategy {
|
||||||
async handle(backend: NDKNip46Backend, remotePubkey: string, params: string[]): Promise<string|undefined> {
|
async handle(backend: NDKNip46Backend, remotePubkey: string, params: string[]): Promise<string|undefined> {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue