mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-06 23:24:22 +01:00
Upgrade nostr-tools to v2.1.5
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { Comlink, type NostrEvent, type VerifiedEvent, verifySignature } from '@/deps.ts';
|
||||
import { Comlink, type NostrEvent, type VerifiedEvent, verifyEvent } from '@/deps.ts';
|
||||
|
||||
export const VerifyWorker = {
|
||||
verifySignature(event: NostrEvent): event is VerifiedEvent {
|
||||
return verifySignature(event);
|
||||
return verifyEvent(event);
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user