@formant/data-sdk 0.0.81 → 0.0.84

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.
@@ -1,6 +1,9 @@
1
1
  export declare type AppMessage = {
2
2
  type: "go_to_time";
3
3
  time: number;
4
+ } | {
5
+ type: "go_to_device";
6
+ deviceId: string;
4
7
  } | {
5
8
  type: "request_module_data";
6
9
  module: string;
@@ -82,6 +85,7 @@ export declare class App {
82
85
  static getCurrentModuleContext(): string | null;
83
86
  static isModule(): boolean;
84
87
  static goToTime(date: Date): void;
88
+ static goToDevice(deviceId: string): void;
85
89
  static showMessage(message: string): void;
86
90
  static requestModuleData(): void;
87
91
  static setModuleDateTimeRange(beforeInMilliseconds: number, afterInMilliseconds?: number): void;
@@ -81,7 +81,7 @@ export declare class Device implements IRealtimeDevice {
81
81
  private handleMessage;
82
82
  getRealtimeStatus(): "disconnected" | "connecting" | "connected";
83
83
  getRealtimePing(): number | undefined;
84
- startRealtimeConnection(sessionType?: SessionType): Promise<void>;
84
+ startRealtimeConnection(): Promise<void>;
85
85
  addRealtimeListener(listener: RealtimeListener): void;
86
86
  removeRealtimeListener(listener: RealtimeListener): void;
87
87
  getRealtimeVideoStreams(): Promise<RealtimeVideoStream[]>;
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "require": "./dist/data-sdk.umd.js"
19
19
  }
20
20
  },
21
- "version": "0.0.81",
21
+ "version": "0.0.84",
22
22
  "scripts": {
23
23
  "dev": "vite --port 9146",
24
24
  "build": "tsc && vite build",
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "types": "./dist/types/data-sdk/src/main.d.ts",
34
34
  "dependencies": {
35
- "@formant/realtime-sdk": "0.0.8",
35
+ "@formant/realtime-sdk": "0.0.9",
36
36
  "@types/google-protobuf": "^3.15.5",
37
37
  "typedoc": "^0.22.13"
38
38
  }