@formant/realtime-sdk 0.0.11 → 0.0.14

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.
@@ -13,7 +13,7 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
16
+ var global = Function('return this')();
17
17
 
18
18
  var google_protobuf_wrappers_pb = require('google-protobuf/google/protobuf/wrappers_pb.js');
19
19
  goog.object.extend(proto, google_protobuf_wrappers_pb);
@@ -1,6 +1,7 @@
1
1
  export { AuthClient } from "../../client/AuthClient";
2
2
  export { RtcSignalingClient } from "../../client/RtcSignalingClient";
3
3
  export { Credentials } from "../../common/Credentials";
4
+ export { IRtcStream } from "../../model/IRtcStream";
4
5
  export { SignalingPromiseClient } from "../../protos/api/signaling/v1/signaling_grpc_web_pb";
5
6
  export { IRtcClientConfiguration } from "../../rtc-client/models/IRtcClientConfiguration";
6
7
  export { IRtcConnectConfiguration } from "../../rtc-client/models/IRtcConnectConfiguration";
@@ -8,5 +9,8 @@ export { IRtcConnectionStatsInfo } from "../../rtc-client/models/IRtcConnectionS
8
9
  export { IRtcSendConfiguration } from "../../rtc-client/models/IRtcSendConfiguration";
9
10
  export { IRtcSessionMetricsMessageCounts } from "../../rtc-client/models/IRtcSessionMetricsMessageCounts";
10
11
  export { IRtcStreamMessage } from "../../rtc-client/models/IRtcStreamMessage";
12
+ export { IRtcStreamMessageHeader } from "../../rtc-client/models/IRtcStreamMessageHeader";
13
+ export { IRtcStreamPayload } from "../../rtc-client/models/IRtcStreamPayload";
11
14
  export { IStreamControl } from "../../rtc-client/models/IStreamControl";
12
15
  export { RtcClient } from "../../rtc-client/RtcClient";
16
+ export { createRtcStreamMessage } from "../../rtc-client/utils/createRtcStreamMessage";
@@ -1,4 +1,5 @@
1
1
  import { IRtcStream } from "../../model/IRtcStream";
2
2
  import { IRtcStreamMessage } from "../models/IRtcStreamMessage";
3
+ import { IRtcStreamMessageHeader } from "../models/IRtcStreamMessageHeader";
3
4
  import { IRtcStreamPayload } from "../models/IRtcStreamPayload";
4
- export declare function createRtcStreamMessage(stream: IRtcStream, payload: IRtcStreamPayload): IRtcStreamMessage;
5
+ export declare function createRtcStreamMessage(stream: IRtcStream, payload: IRtcStreamPayload, header?: IRtcStreamMessageHeader): IRtcStreamMessage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formant/realtime-sdk",
3
- "version": "0.0.11",
3
+ "version": "0.0.14",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/realtime-sdk/src/index.d.ts",
@@ -23,7 +23,7 @@
23
23
  "circular-dependency-plugin": "^5.2.2",
24
24
  "copy-webpack-plugin": "^6.4.1",
25
25
  "file-loader": "^5.1.0",
26
- "fork-ts-checker-webpack-plugin": "^4.1.0",
26
+ "fork-ts-checker-webpack-plugin": "^6.5.0",
27
27
  "terser-webpack-plugin": "^2.3.5",
28
28
  "ts-loader": "^6.2.1",
29
29
  "tsc-alias": "^1.4.1",