@lvce-editor/extension-host-worker 6.1.0 → 6.2.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.
|
@@ -778,6 +778,7 @@ const setConfigurations = preferences => {
|
|
|
778
778
|
};
|
|
779
779
|
|
|
780
780
|
const DebugWorker$1 = 55;
|
|
781
|
+
const RendererWorker$1 = 1;
|
|
781
782
|
|
|
782
783
|
const rpcs$2 = Object.create(null);
|
|
783
784
|
const set$c = (id, rpc) => {
|
|
@@ -812,7 +813,7 @@ const create$a = rpcId => {
|
|
|
812
813
|
};
|
|
813
814
|
|
|
814
815
|
const {
|
|
815
|
-
invoke: invoke$
|
|
816
|
+
invoke: invoke$5,
|
|
816
817
|
invokeAndTransfer: invokeAndTransfer$3,
|
|
817
818
|
set: set$b,
|
|
818
819
|
dispose
|
|
@@ -821,7 +822,7 @@ const {
|
|
|
821
822
|
const DebugWorker = {
|
|
822
823
|
__proto__: null,
|
|
823
824
|
dispose,
|
|
824
|
-
invoke: invoke$
|
|
825
|
+
invoke: invoke$5,
|
|
825
826
|
invokeAndTransfer: invokeAndTransfer$3,
|
|
826
827
|
set: set$b
|
|
827
828
|
};
|
|
@@ -1710,7 +1711,7 @@ const send$1 = (transport, method, ...params) => {
|
|
|
1710
1711
|
const message = create$4$2(method, params);
|
|
1711
1712
|
transport.send(message);
|
|
1712
1713
|
};
|
|
1713
|
-
const invoke$
|
|
1714
|
+
const invoke$4 = (ipc, method, ...params) => {
|
|
1714
1715
|
return invokeHelper(ipc, method, params, false);
|
|
1715
1716
|
};
|
|
1716
1717
|
const invokeAndTransfer$2 = (ipc, method, ...params) => {
|
|
@@ -1749,7 +1750,7 @@ const createRpc$1 = ipc => {
|
|
|
1749
1750
|
send$1(ipc, method, ...params);
|
|
1750
1751
|
},
|
|
1751
1752
|
invoke(method, ...params) {
|
|
1752
|
-
return invoke$
|
|
1753
|
+
return invoke$4(ipc, method, ...params);
|
|
1753
1754
|
},
|
|
1754
1755
|
invokeAndTransfer(method, ...params) {
|
|
1755
1756
|
return invokeAndTransfer$2(ipc, method, ...params);
|
|
@@ -1907,6 +1908,9 @@ const WebWorkerRpcClient = {
|
|
|
1907
1908
|
create: create$7
|
|
1908
1909
|
};
|
|
1909
1910
|
|
|
1911
|
+
const {
|
|
1912
|
+
invoke: invoke$3} = create$a(RendererWorker$1);
|
|
1913
|
+
|
|
1910
1914
|
const {
|
|
1911
1915
|
invoke: invoke$2
|
|
1912
1916
|
} = DebugWorker;
|
|
@@ -3354,6 +3358,10 @@ const setWorkspacePath = path => {
|
|
|
3354
3358
|
const getWorkspaceFolder = path => {
|
|
3355
3359
|
return state$6.workspacePath;
|
|
3356
3360
|
};
|
|
3361
|
+
const handleWorkspaceRefresh = async () => {
|
|
3362
|
+
// @ts-ignore
|
|
3363
|
+
await invoke$3('Layout.handleWorkspaceRefresh');
|
|
3364
|
+
};
|
|
3357
3365
|
|
|
3358
3366
|
class FormattingError extends Error {
|
|
3359
3367
|
constructor(message, codeFrame) {
|
|
@@ -3412,7 +3420,7 @@ const api = {
|
|
|
3412
3420
|
// Errors
|
|
3413
3421
|
FormattingError,
|
|
3414
3422
|
VError,
|
|
3415
|
-
// Exec
|
|
3423
|
+
// Exec`
|
|
3416
3424
|
exec: exec,
|
|
3417
3425
|
// File System
|
|
3418
3426
|
registerFileSystemProvider: registerFileSystemProvider,
|
|
@@ -3476,6 +3484,7 @@ const api = {
|
|
|
3476
3484
|
// Worker
|
|
3477
3485
|
createWorker: createWorker,
|
|
3478
3486
|
// Workspace
|
|
3487
|
+
handleWorkspaceRefresh: handleWorkspaceRefresh,
|
|
3479
3488
|
getWorkspaceFolder: getWorkspaceFolder
|
|
3480
3489
|
};
|
|
3481
3490
|
|