@tomorrowevening/hermes 0.0.164 → 0.0.166

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.164",
10
+ "version": "0.0.166",
11
11
  "homepage": "https://github.com/tomorrowevening/hermes#readme",
12
12
  "bugs": {
13
13
  "url": "https://github.com/tomorrowevening/hermes/issues"
@@ -81,6 +81,7 @@ export declare class Application extends EventDispatcher<ToolEvent> {
81
81
  get connected(): boolean;
82
82
  get debugEnabled(): boolean;
83
83
  get mode(): ApplicationMode;
84
+ set mode(value: ApplicationMode);
84
85
  get isApp(): boolean;
85
86
  set isApp(value: boolean);
86
87
  get editor(): boolean;
@@ -1,5 +1,4 @@
1
- import { IProject, IRafDriver, ISheet, ISheetObject } from '@theatre/core';
2
- import { Application } from '../Application';
1
+ import { IProject, ISheet, ISheetObject } from '@theatre/core';
3
2
  import BaseRemote from './BaseRemote';
4
3
  import { BroadcastData, DataUpdateCallback, VoidCallback } from '../types';
5
4
  type KeyframeVector = {
@@ -16,10 +15,7 @@ export default class RemoteTheatre extends BaseRemote {
16
15
  sheetObjectUnsubscribe: Map<string, VoidCallback>;
17
16
  activeSheet: ISheet | undefined;
18
17
  studio: any;
19
- rafDriver?: IRafDriver;
20
- constructor(app: Application, createRaf?: boolean);
21
18
  dispose(): void;
22
- update(now: number): void;
23
19
  getSheetInstance(name: string, instanceId?: string): string;
24
20
  sheet(name: string, instanceId?: string): ISheet | undefined;
25
21
  playSheet(name: string, params?: any, instanceId?: string): Promise<boolean>;