@tomorrowevening/hermes 0.0.40 → 0.0.42

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.
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "module": "./dist/hermes.esm.js",
8
8
  "types": "./types/index.d.ts",
9
9
  "type": "module",
10
- "version": "0.0.40",
10
+ "version": "0.0.42",
11
11
  "homepage": "https://github.com/tomorrowevening/hermes#readme",
12
12
  "bugs": {
13
13
  "url": "https://github.com/tomorrowevening/hermes/issues"
@@ -1,10 +1,9 @@
1
1
  import Application from '../Application';
2
2
  import { BroadcastData } from '../types';
3
3
  export default class BaseRemote {
4
- protected app: Application;
4
+ app: Application;
5
5
  constructor(app: Application);
6
6
  dispose(): void;
7
7
  handleApp(_: BroadcastData): void;
8
8
  handleEditor(_: BroadcastData): void;
9
- handleEditorApp(): void;
10
9
  }
@@ -7,6 +7,7 @@ export default class RemoteTheatre extends BaseRemote {
7
7
  sheetObjects: Map<string, ISheetObject>;
8
8
  sheetObjectCBs: Map<string, DataUpdateCallback>;
9
9
  sheetObjectUnsubscribe: Map<string, VoidCallback>;
10
+ activeSheet: ISheet | undefined;
10
11
  static rafDriver?: IRafDriver | undefined;
11
12
  dispose(): void;
12
13
  sheet(name: string): ISheet | undefined;
@@ -17,5 +18,4 @@ export default class RemoteTheatre extends BaseRemote {
17
18
  unsubscribe(sheetObject: ISheetObject): undefined;
18
19
  handleApp(msg: BroadcastData): void;
19
20
  handleEditor(msg: BroadcastData): void;
20
- handleEditorApp(): void;
21
21
  }
@@ -0,0 +1,3 @@
1
+ import Application from '../core/Application';
2
+ import RemoteTheatre from '../core/remote/RemoteTheatre';
3
+ export declare function theatreEditorApp(app: Application, theatre: RemoteTheatre, studio: any): void;
package/types/index.d.ts CHANGED
@@ -1,8 +1,10 @@
1
+ export * from './core/types';
1
2
  export * from './editor/utils';
2
3
  export { default as Application } from './core/Application';
3
4
  export { debugDispatcher, ToolEvents } from './editor/global';
4
5
  export { default as BaseRemote } from './core/remote/BaseRemote';
5
6
  export { default as RemoteComponents } from './core/remote/RemoteComponents';
7
+ export * from './editor/theatreUtils';
6
8
  export { default as RemoteTheatre } from './core/remote/RemoteTheatre';
7
9
  export { default as RemoteThree } from './core/remote/RemoteThree';
8
10
  export { default as RemoteTweakpane } from './core/remote/RemoteTweakpane';