@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/dist/hermes.cjs.js +15 -15
- package/dist/hermes.es.js +1000 -1002
- package/package.json +1 -1
- package/types/core/remote/BaseRemote.d.ts +1 -2
- package/types/core/remote/RemoteTheatre.d.ts +1 -1
- package/types/editor/theatreUtils.d.ts +3 -0
- package/types/index.d.ts +2 -0
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.
|
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
|
-
|
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
|
}
|
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';
|