@netless/appliance-plugin 1.1.34 → 1.1.35

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 (42) hide show
  1. package/bridge.d.ts +1 -0
  2. package/cdn/cdn.js +1 -1
  3. package/cdn/fullWorker-BBlLKX.js +486 -0
  4. package/cdn/subWorker-CoPwom.js +486 -0
  5. package/dist/appliance-plugin.js +1 -1
  6. package/dist/appliance-plugin.mjs +1 -1
  7. package/dist/assets/fullWorker-Cud7fwjG.js +593 -0
  8. package/dist/assets/subWorker-BL9l8peV.js +593 -0
  9. package/dist/bridge-28U3vx4e.js +1 -0
  10. package/dist/bridge-DUU4aNx2.mjs +67 -0
  11. package/dist/bridge-runtime.d.ts +11 -0
  12. package/dist/bridge.d.ts +5 -0
  13. package/dist/bridge.js +1 -0
  14. package/dist/bridge.mjs +7 -0
  15. package/dist/collector/collector.d.ts +1 -0
  16. package/dist/component/textEditor/utils.d.ts +3 -0
  17. package/dist/core/mainEngine.d.ts +1 -0
  18. package/dist/fullWorker.js +137 -137
  19. package/dist/{index-BTxxBSIk.mjs → index-0fHpKu9i.mjs} +2 -2
  20. package/dist/index-BXXQq9TJ.mjs +1262 -0
  21. package/dist/index-BXh3eQEk.js +1 -0
  22. package/dist/index-BsHV7nh_.js +1 -0
  23. package/dist/{index-BPFYMff6.mjs → index-CJN2Kuo1.mjs} +2 -2
  24. package/dist/index-CZRunvvh.mjs +9883 -0
  25. package/dist/index-Crnj0IHn.mjs +16625 -0
  26. package/dist/{index-DVZBBduh.js → index-DP9oeLip.js} +2 -2
  27. package/dist/index-MFIjYwT5.js +3 -0
  28. package/dist/{index-CFIySwek.js → index-pEXetfdb.js} +1 -1
  29. package/dist/index-vyNIKk26.js +1 -0
  30. package/dist/{index-CIPJM93i.mjs → index-zUtKU6c_.mjs} +2933 -2935
  31. package/dist/plugin/baseApplianceManager.d.ts +2 -1
  32. package/dist/plugin/external.bridge.d.ts +1 -0
  33. package/dist/plugin/utils.d.ts +8 -0
  34. package/dist/subWorker.js +137 -137
  35. package/dist/svgToImageLoader-B3gIDAQo.js +1 -0
  36. package/dist/svgToImageLoader-DZz5bAo4.mjs +22 -0
  37. package/package.json +31 -6
  38. package/cdn/fullWorker-oI42U9.js +0 -486
  39. package/cdn/subWorker-Bk6qRb.js +0 -486
  40. package/dist/index-BzcHKXGG.js +0 -1
  41. package/dist/svgToImageLoader-DPRAAhwW.js +0 -1
  42. package/dist/svgToImageLoader-mXH53h-l.mjs +0 -18
@@ -3,7 +3,7 @@ import { EStrokeType, MemberState, AppliancePluginLike } from "./types";
3
3
  import { Collector, ViewId } from "../collector";
4
4
  import { RoomMemberManager } from "../members";
5
5
  import { TextEditorManager } from "../component/textEditor";
6
- import type { Camera, Displayer, DisplayerCallbacks, ISVGMarkmapInformation, ISVGUrlInformation, IconifyInformation, MarkmapId, Player, Rectangle, RequiredAppliancePluginOptions, Room, RoomMember, _ArrayTrue } from "./types";
6
+ import type { Camera, Displayer, DisplayerCallbacks, ISVGMarkmapInformation, ISVGUrlInformation, IconifyInformation, Logger, MarkmapId, Player, Rectangle, RequiredAppliancePluginOptions, Room, RoomMember, _ArrayTrue } from "./types";
7
7
  import { CursorManager } from "../cursors";
8
8
  import { ViewContainerManager } from "./baseViewContainerManager";
9
9
  import { MasterControlForWorker } from "../core/mainEngine";
@@ -25,6 +25,7 @@ export declare abstract class BaseApplianceManager {
25
25
  static PublicMsgEmitter: EventEmitter2;
26
26
  readonly version: string;
27
27
  plugin?: AppliancePluginLike;
28
+ readonly logger: Logger;
28
29
  readonly room?: Room;
29
30
  readonly play?: Player;
30
31
  collector?: Collector;
@@ -0,0 +1 @@
1
+ export declare const toJS: typeof import("white-web-sdk").toJS, autorun: typeof import("white-web-sdk").autorun, isRoom: typeof import("white-web-sdk").isRoom, isPlayer: typeof import("white-web-sdk").isPlayer, InvisiblePlugin: typeof import("white-web-sdk").InvisiblePlugin, RoomPhase: typeof import("white-web-sdk").RoomPhase;
@@ -1,6 +1,14 @@
1
+ import { Logger } from "./types";
1
2
  export declare function isTouchEvent(event: any): any;
2
3
  export declare function isOnlyOneTouch(event: any): any;
3
4
  export declare function getPosition(event: any): {
4
5
  x: any;
5
6
  y: any;
6
7
  };
8
+ export declare class LoggerUtils implements Logger {
9
+ private _logger?;
10
+ constructor(_logger?: Logger);
11
+ error(...args: any[]): void;
12
+ info(...args: any[]): void;
13
+ warn(...args: any[]): void;
14
+ }