move wasm and system out of index.tsx

This commit is contained in:
Martti Malmi
2024-01-04 15:15:46 +02:00
parent e08da34aa8
commit 5ea2eb711f
9 changed files with 146 additions and 142 deletions

View File

@ -3,7 +3,8 @@ import { EventKind, NostrPrefix, encodeTLVEntries, TLVEntryType, TLVEntry, decod
import { GiftWrapCache } from "@/Cache/GiftWrapCache";
import { UnwrappedGift } from "@/Db";
import { Chat, ChatSystem, ChatType, lastReadInChat } from "@/chat";
import { GetPowWorker } from "@/index";
import { GetPowWorker } from "@/wasm";
export class Nip24ChatSystem extends ExternalStore<Array<Chat>> implements ChatSystem {
#cache: GiftWrapCache;