Skip to content

Commit

Permalink
Merge pull request #287 from skyway/staging
Browse files Browse the repository at this point in the history
Release v4.1.1
  • Loading branch information
ibuibu authored Dec 8, 2020
2 parents b397df2 + 2b291e6 commit deac18b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## release note

## [v4.1.1](https://github.com/skyway/skyway-js-sdk/releases/tag/v4.1.1) - 2020-12-08

### Fixed

- Add MeshRoom.getPeerConnections() and SfuRoom.getPeerConnection() to type definition file.

## [v4.1.0](https://github.com/skyway/skyway-js-sdk/releases/tag/v4.1.0) - 2020-12-07

### Added
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "skyway-js",
"version": "4.1.0",
"version": "4.1.1",
"description": "The official JavaScript SDK for SkyWay",
"main": "dist/skyway.js",
"module": "src/peer.js",
Expand Down
4 changes: 4 additions & 0 deletions skyway-js.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,17 @@ export declare class MeshRoom extends Room {
connections: {
[peerId: string]: MediaConnection[] | DataConnection[];
};
getPeerConnections(): {
[peerId: string]: RTCPeerConnection;
};
}

export declare class SfuRoom extends Room {
remoteStreams: {
[peerId: string]: RoomStream;
};
members: string[];
getPeerConnection(): RTCPeerConnection | null;
}

declare class Peer extends EventEmitter {
Expand Down

0 comments on commit deac18b

Please sign in to comment.