@huddle01/web-core
Advanced tools
Comparing version 0.0.13-beta.0 to 0.0.13-beta.1
@@ -0,1 +1,2 @@ | ||
import { MediaStream as MediaStream$1 } from 'react-native-webrtc'; | ||
import * as mediasoup from 'mediasoup-client'; | ||
@@ -13,3 +14,3 @@ import { Socket } from 'socket.io-client'; | ||
} | ||
interface IPeer$1 { | ||
interface IPeer { | ||
peerId: string; | ||
@@ -37,2 +38,3 @@ role: IRoleEnum; | ||
} | {}; | ||
type TMediaStream = MediaStream | MediaStream$1; | ||
@@ -69,9 +71,9 @@ type Events = Record<string, unknown[]>; | ||
'app:initialized': []; | ||
'app:cam-on': [MediaStream]; | ||
'app:cam-on': [TMediaStream]; | ||
'app:cam-off': []; | ||
'app:mic-on': [MediaStream]; | ||
'app:mic-on': [TMediaStream]; | ||
'app:mic-off': []; | ||
'lobby:joined': [string]; | ||
'lobby:failed': [Error]; | ||
'room:joined': [Map<string, IPeer$1>]; | ||
'room:joined': [Map<string, IPeer>]; | ||
'room:failed': [any]; | ||
@@ -82,3 +84,3 @@ 'room:cam-produce-start': []; | ||
'room:mic-produce-stop': []; | ||
'room:peer-joined': [IPeer$1]; | ||
'room:peer-joined': [IPeer]; | ||
'room:peer-left': [string]; | ||
@@ -118,3 +120,3 @@ 'room:peer-produce-start': [TPeerProduceStart]; | ||
protected _createConsumersOnJoin: boolean; | ||
protected _peers: Map<string, IPeer$1>; | ||
protected _peers: Map<string, IPeer>; | ||
protected _peersConsumers: Map<string, Record<TMediaTypes, string>>; | ||
@@ -224,4 +226,4 @@ protected _turn: { | ||
closeCamConsumer: (peerId: string) => void; | ||
getPeers: () => IPeer$1[]; | ||
getPeer: (peerId: string) => IPeer$1; | ||
getPeers: () => IPeer[]; | ||
getPeer: (peerId: string) => IPeer; | ||
getPeerTracks: (peerId: string) => { | ||
@@ -239,4 +241,3 @@ audio: MediaStreamTrack; | ||
type TEvents = THClientEvents; | ||
type IPeer = IPeer$1; | ||
export { IPeer, TEvents, huddleClient, sayHello }; |
{ | ||
"name": "@huddle01/web-core", | ||
"version": "0.0.13-beta.0", | ||
"version": "0.0.13-beta.1", | ||
"description": "Huddle01 Web Core Library - The Communication Toolkit", | ||
@@ -28,3 +28,4 @@ "main": "dist/index.js", | ||
"types": "workspace:*", | ||
"typescript": "^5.1.3" | ||
"typescript": "^5.1.3", | ||
"react-native-webrtc": "^111.0.1" | ||
}, | ||
@@ -31,0 +32,0 @@ "publishConfig": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3534876
38041
4