@formant/realtime-sdk 1.1.0 → 1.2.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.
package/README.md CHANGED
@@ -18,6 +18,11 @@ Distributed under the MIT License. See LICENSE.txt for more information.
18
18
 
19
19
  ## Changelog
20
20
 
21
+ ### **1.2.0** - 2023-08-18
22
+
23
+ #### Added
24
+ - Exporting `IRtcPeer` and `RtcStreamType`.
25
+
21
26
  ### **1.1.0** - 2023-08-18
22
27
 
23
28
  #### Fixed
@@ -0,0 +1,25 @@
1
+ load("@rules_proto//proto:defs.bzl", "proto_library")
2
+ load("@io_bazel_rules_go//go:def.bzl", "go_library")
3
+ load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
4
+
5
+ proto_library(
6
+ name = "signaling_proto",
7
+ srcs = ["signaling.proto"],
8
+ visibility = ["//visibility:public"],
9
+ deps = ["@com_google_protobuf//:wrappers_proto"],
10
+ )
11
+
12
+ go_proto_library(
13
+ name = "signaling_go_proto",
14
+ compilers = ["@io_bazel_rules_go//proto:go_grpc"],
15
+ importpath = "github.com/FormantIO/genproto/go/v1/api/signaling",
16
+ proto = ":signaling_proto",
17
+ visibility = ["//visibility:public"],
18
+ )
19
+
20
+ go_library(
21
+ name = "signaling",
22
+ embed = [":signaling_go_proto"],
23
+ importpath = "github.com/FormantIO/genproto/go/v1/api/signaling",
24
+ visibility = ["//visibility:public"],
25
+ )
@@ -6,6 +6,8 @@ export { RtcClient } from "../../rtc-client/RtcClient";
6
6
  export { RtcClientV1 } from "../../rtc-client/RtcClientV1";
7
7
  export { createRtcStreamMessage } from "../../rtc-client/utils/createRtcStreamMessage";
8
8
  export type { IRtcStream } from "../../model/IRtcStream";
9
+ export type { IRtcPeer } from "../../model/IRtcPeer";
10
+ export type { RtcStreamType } from "../../model/RtcStreamType";
9
11
  export type { IRtcClientConfigurationV1 } from "../../rtc-client/models-v1/IRtcClientConfigurationV1";
10
12
  export type { IRtcClientConfiguration } from "../../rtc-client/models/IRtcClientConfiguration";
11
13
  export type { IRtcConnectionStatsInfo } from "../../rtc-client/models/IRtcConnectionStatsInfo";
@@ -55,7 +55,7 @@ export declare class RtcConnectionV1 implements IHasPeerConnection {
55
55
  getPing(): number | undefined;
56
56
  getLastMessageTimestamp(): number | undefined;
57
57
  getSessionId(): string;
58
- getRemotePeer(): import("../model/IRtcPeer").IRtcPeer;
58
+ getRemotePeer(): import("src").IRtcPeer;
59
59
  private initializeChannels;
60
60
  private sendOffer;
61
61
  private getChannelFromLabel;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formant/realtime-sdk",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/realtime-sdk/src/index.d.ts",