@deeptrekker/api-channels 0.1.4 → 0.3.0

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,3 +1,4 @@
1
+ import { HubConnection, LogLevel } from "@microsoft/signalr";
1
2
  /**
2
3
  * Answer Event
3
4
  *
@@ -72,6 +73,7 @@ export interface ConnectionSettings {
72
73
  connectionState?: ConnectionState;
73
74
  onConnectionStateChange?: (newState: ConnectionState) => void;
74
75
  onDeviceError?: (deviceError: boolean) => void;
76
+ onSocketConnected?: (socket: HubConnection) => void;
75
77
  }
76
78
  /**
77
79
  * WebRTC Options
@@ -102,6 +104,7 @@ export interface ConfigProperties {
102
104
  defaultAddress?: string;
103
105
  defaultConnectionString?: string;
104
106
  clientId?: string;
107
+ socketLogging?: LogLevel;
105
108
  }
106
109
  export type RTCVideoTrackInfo = {
107
110
  trackEvent: RTCTrackEvent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deeptrekker/api-channels",
3
- "version": "0.1.4",
3
+ "version": "0.3.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",