@lvce-editor/find-widget-worker 1.10.0 → 1.11.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.
|
@@ -1015,7 +1015,7 @@ const focusCloseButton = state => {
|
|
|
1015
1015
|
};
|
|
1016
1016
|
|
|
1017
1017
|
const rpcs = Object.create(null);
|
|
1018
|
-
const set$
|
|
1018
|
+
const set$g = (id, rpc) => {
|
|
1019
1019
|
rpcs[id] = rpc;
|
|
1020
1020
|
};
|
|
1021
1021
|
const get = id => {
|
|
@@ -1039,7 +1039,7 @@ const create = rpcId => {
|
|
|
1039
1039
|
return rpc.invokeAndTransfer(method, ...params);
|
|
1040
1040
|
},
|
|
1041
1041
|
set(rpc) {
|
|
1042
|
-
set$
|
|
1042
|
+
set$g(rpcId, rpc);
|
|
1043
1043
|
},
|
|
1044
1044
|
async dispose() {
|
|
1045
1045
|
const rpc = get(rpcId);
|
|
@@ -1049,11 +1049,11 @@ const create = rpcId => {
|
|
|
1049
1049
|
};
|
|
1050
1050
|
const EditorWorker$1 = 99;
|
|
1051
1051
|
const {
|
|
1052
|
-
invoke: invoke$
|
|
1052
|
+
invoke: invoke$d,
|
|
1053
1053
|
set: set$c} = create(EditorWorker$1);
|
|
1054
1054
|
const EditorWorker = {
|
|
1055
1055
|
__proto__: null,
|
|
1056
|
-
invoke: invoke$
|
|
1056
|
+
invoke: invoke$d,
|
|
1057
1057
|
set: set$c
|
|
1058
1058
|
};
|
|
1059
1059
|
|