fix(core): remove crypto randomuuid api (#10268)

This commit is contained in:
EYHN
2025-02-19 07:32:01 +00:00
parent e5315087cb
commit 60a9572c88
5 changed files with 9 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
import { OpClient, transfer } from '@toeverything/infra/op';
import { v4 as uuid } from 'uuid';
import { DummyConnection } from '../connection';
import { AwarenessFrontend, BlobFrontend, DocFrontend } from '../frontend';
@@ -33,7 +34,7 @@ export class StoreManagerClient {
const { port1, port2 } = new MessageChannel();
const client = new OpClient<WorkerOps>(port1);
const closeKey = crypto.randomUUID();
const closeKey = uuid();
this.client
.call(