chore: upgrade wasm lib

This commit is contained in:
2025-01-20 16:34:11 +00:00
parent ea07f91651
commit e3a8495c01
12 changed files with 482 additions and 518 deletions

View File

@ -1,5 +1,13 @@
import { debugLog, setLogging } from "./debug";
import { EventMetadata, NostrEvent, OkResponse, ReqCommand, WorkerMessage, WorkerMessageCommand, unixNowMs } from "./types";
import {
EventMetadata,
NostrEvent,
OkResponse,
ReqCommand,
WorkerMessage,
WorkerMessageCommand,
unixNowMs,
} from "./types";
import { v4 as uuid } from "uuid";
export interface InitAargs {
@ -118,7 +126,7 @@ export class WorkerRelayInterface {
reject(cmdReply.args.error);
return;
}
debugLog("interface", `${cmd} took ${(unixNowMs() - start).toFixed(1)}ms`, args);
//debugLog("interface", `${cmd} took ${(unixNowMs() - start).toFixed(1)}ms`, args);
resolve(cmdReply.args);
});
});