mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Import Sentry into workers
This commit is contained in:
parent
a1810219f1
commit
39fb1eee5f
2 changed files with 2 additions and 0 deletions
|
|
@ -2,6 +2,7 @@ import Debug from '@soapbox/stickynotes/debug';
|
|||
import * as Comlink from 'comlink';
|
||||
|
||||
import './handlers/abortsignal.ts';
|
||||
import '@/sentry.ts';
|
||||
|
||||
const debug = Debug('ditto:fetch.worker');
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ import * as Comlink from 'comlink';
|
|||
import { VerifiedEvent, verifyEvent } from 'nostr-tools';
|
||||
|
||||
import '@/nostr-wasm.ts';
|
||||
import '@/sentry.ts';
|
||||
|
||||
export const VerifyWorker = {
|
||||
verifyEvent(event: NostrEvent): event is VerifiedEvent {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue