@lvce-editor/output-view 1.18.0 → 1.19.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.
|
@@ -1377,8 +1377,8 @@ const {
|
|
|
1377
1377
|
wrapCommand,
|
|
1378
1378
|
wrapGetter,
|
|
1379
1379
|
getKeys,
|
|
1380
|
-
getCommandIds
|
|
1381
|
-
} = create$2();
|
|
1380
|
+
getCommandIds,
|
|
1381
|
+
registerCommands} = create$2();
|
|
1382
1382
|
|
|
1383
1383
|
const create = (id, uri, x, y, width, height, platform, parentId) => {
|
|
1384
1384
|
number(parentId);
|
|
@@ -2317,6 +2317,7 @@ const commandMap = {
|
|
|
2317
2317
|
const commandMapRef = {};
|
|
2318
2318
|
|
|
2319
2319
|
const listen = async () => {
|
|
2320
|
+
registerCommands(commandMap);
|
|
2320
2321
|
Object.assign(commandMapRef, commandMap);
|
|
2321
2322
|
const rpc = await WebWorkerRpcClient.create({
|
|
2322
2323
|
commandMap: commandMapRef
|