fix(core): remove crypto randomuuid api (#10268)
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
"lodash-es": "^4.17.21",
|
||||
"nanoid": "^5.0.9",
|
||||
"rxjs": "^7.8.1",
|
||||
"uuid": "^11.0.3",
|
||||
"y-protocols": "^1.0.6",
|
||||
"yjs": "^13.6.21"
|
||||
},
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user