@lvce-editor/explorer-view 2.31.0 → 2.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -442,7 +442,7 @@ const create$4 = (method, params) => {
|
|
|
442
442
|
};
|
|
443
443
|
};
|
|
444
444
|
const callbacks = Object.create(null);
|
|
445
|
-
const set$
|
|
445
|
+
const set$1 = (id, fn) => {
|
|
446
446
|
callbacks[id] = fn;
|
|
447
447
|
};
|
|
448
448
|
const get$2 = id => {
|
|
@@ -461,7 +461,7 @@ const registerPromise = () => {
|
|
|
461
461
|
resolve,
|
|
462
462
|
promise
|
|
463
463
|
} = Promise.withResolvers();
|
|
464
|
-
set$
|
|
464
|
+
set$1(id, resolve);
|
|
465
465
|
return {
|
|
466
466
|
id,
|
|
467
467
|
promise
|
|
@@ -1013,7 +1013,7 @@ const EditingDirectoryExpanded = DirectoryExpanded + DELTA_EDITING;
|
|
|
1013
1013
|
const RendererWorker = 1;
|
|
1014
1014
|
|
|
1015
1015
|
const rpcs = Object.create(null);
|
|
1016
|
-
const set$
|
|
1016
|
+
const set$3 = (id, rpc) => {
|
|
1017
1017
|
rpcs[id] = rpc;
|
|
1018
1018
|
};
|
|
1019
1019
|
const get$1 = id => {
|
|
@@ -5112,7 +5112,7 @@ const listen = async () => {
|
|
|
5112
5112
|
const rpc = await WebWorkerRpcClient.create({
|
|
5113
5113
|
commandMap: commandMap
|
|
5114
5114
|
});
|
|
5115
|
-
set$
|
|
5115
|
+
set$3(RendererWorker, rpc);
|
|
5116
5116
|
};
|
|
5117
5117
|
|
|
5118
5118
|
const main = async () => {
|