@netless/appliance-plugin 1.1.43 → 1.1.44

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.
Files changed (34) hide show
  1. package/dist/appliance-plugin.js +1 -1
  2. package/dist/appliance-plugin.mjs +3 -3
  3. package/dist/{bridge-GmRa7-tp.js → bridge-B7BW1lpB.js} +1 -1
  4. package/dist/{bridge-D30E9dr6.mjs → bridge-DQud78k4.mjs} +1 -1
  5. package/dist/bridge.js +1 -1
  6. package/dist/bridge.mjs +1 -1
  7. package/dist/core/mainEngine.d.ts +10 -2
  8. package/dist/core/mainThread/base.d.ts +5 -1
  9. package/dist/core/mainThread/subServiceThread.d.ts +2 -0
  10. package/dist/core/tools/image.d.ts +1 -0
  11. package/dist/core/utils/serviceImageRecovery.d.ts +9 -0
  12. package/dist/core/worker/base.d.ts +5 -1
  13. package/dist/core/worker/fullWorkerService.d.ts +3 -0
  14. package/dist/core/worker/simpleWorker.d.ts +2 -2
  15. package/dist/fullWorker.js +98 -98
  16. package/dist/{index-CatWUcZt.mjs → index-4ZI3GxVI.mjs} +1 -1
  17. package/dist/{index-DGdruTPt.js → index-AJCkfnUu.js} +1 -1
  18. package/dist/{index-rDe1jjPM.mjs → index-B8Ls8sf_.mjs} +1 -1
  19. package/dist/{index-CQuJ6lL1.mjs → index-BBtV40zU.mjs} +597 -493
  20. package/dist/{index-Ct5ShjRI.js → index-BOzOWS7h.js} +1 -1
  21. package/dist/index-BQiBrpib.js +1 -0
  22. package/dist/index-BYriQtGa.js +1 -0
  23. package/dist/{index-CrJWLjuD.mjs → index-C2tUvh2a.mjs} +12105 -12033
  24. package/dist/{index-C-pO2InQ.mjs → index-DSFxl2wM.mjs} +8068 -7982
  25. package/dist/index-DnJkIouU.js +570 -0
  26. package/dist/index-DptnZ-h8.js +570 -0
  27. package/dist/{index-DYDy0dd5.mjs → index-ZUpKkvbD.mjs} +597 -493
  28. package/dist/plugin/baseApplianceManager.d.ts +2 -2
  29. package/dist/subWorker.js +74 -74
  30. package/package.json +57 -56
  31. package/dist/index-B44Av4kp.js +0 -1
  32. package/dist/index-CKtpWZ9L.js +0 -1
  33. package/dist/index-DLzvL8jo.js +0 -570
  34. package/dist/index-LmgcnMI8.js +0 -570
@@ -7,7 +7,7 @@ import { TextEditorManager } from "../component/textEditor";
7
7
  import type { Camera, Displayer, DisplayerCallbacks, ISVGMarkmapInformation, ISVGUrlInformation, IconifyInformation, MarkmapId, Player, Rectangle, RequiredAppliancePluginOptions, Room, RoomMember, _ArrayTrue } from "./types";
8
8
  import { CursorManager } from "../cursors";
9
9
  import { ViewContainerManager } from "./baseViewContainerManager";
10
- import { MasterControlForWorker, type ForceDoneReason, type ViewForceDoneAck } from "../core/mainEngine";
10
+ import { MasterControlForWorker, type ForceDoneReason, type ForceDoneOptions, type ViewForceDoneAck } from "../core/mainEngine";
11
11
  import { EToolsKey, type ECanvasContextType } from "../core/enum";
12
12
  import { BaseShapeOptions } from "../core/tools/base";
13
13
  import { ICameraOpt } from "../core/types";
@@ -254,7 +254,7 @@ export declare abstract class BaseApplianceManager {
254
254
  * 将当前可持久化的本地操作统一收口为 Done,并等待 Render/Storage/Undo 屏障。
255
255
  * lifecycle 调用方必须在原 setWritable(false)/disconnect/destroy 之前 await。
256
256
  */
257
- forceDoneLocalWorks(reason: ForceDoneReason, targetViewIds?: readonly string[]): Promise<ForceDoneAck>;
257
+ forceDoneLocalWorks(reason: ForceDoneReason, targetViewIds?: readonly string[], options?: ForceDoneOptions): Promise<ForceDoneAck>;
258
258
  private waitForForceDoneOrInvalidation;
259
259
  private logLifecycleError;
260
260
  /** 销毁;默认保留 storage,仅在连接且可写时先统一 force-Done。 */