Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@huddle01/web-core

Package Overview
Dependencies
Maintainers
5
Versions
257
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@huddle01/web-core - npm Package Compare versions

Comparing version 0.0.13 to 0.0.14

21

dist/index.d.ts

@@ -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;

@@ -47,3 +49,3 @@ type Events = Record<string, unknown[]>;

listeners<K extends keyof E>(eventName: K): ((...args: E[K]) => void)[];
protected emit<K extends keyof E>(eventName: K, ...args: E[K]): boolean;
emit<K extends keyof E>(eventName: K, ...args: E[K]): boolean;
protected safeEmit<K extends keyof E>(eventName: K, ...args: E[K]): boolean;

@@ -70,9 +72,9 @@ once<K extends keyof E>(eventName: K, listener: (...args: E[K]) => void): this;

'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];

@@ -83,3 +85,3 @@ 'room:cam-produce-start': [];

'room:mic-produce-stop': [];
'room:peer-joined': [IPeer$1];
'room:peer-joined': [IPeer];
'room:peer-left': [string];

@@ -119,3 +121,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>>;

@@ -225,4 +227,4 @@ protected _turn: {

closeCamConsumer: (peerId: string) => void;
getPeers: () => IPeer$1[];
getPeer: (peerId: string) => IPeer$1;
getPeers: () => IPeer[];
getPeer: (peerId: string) => IPeer;
getPeerTracks: (peerId: string) => {

@@ -240,4 +242,3 @@ audio: MediaStreamTrack;

type TEvents = THClientEvents;
type IPeer = IPeer$1;
export { IPeer, TEvents, huddleClient, sayHello };

@@ -237,2 +237,5 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var _class; var _class2; var _class3; var _class4; var _class5;// src/client/HuddleWebClient.ts

}
if (!this._audioStream) {
this._audioStream = stream;
}
if (this._audioProducer) {

@@ -289,2 +292,5 @@ this.logger.warn(

}
if (!this._videoStream) {
this._videoStream = stream;
}
if (this._videoProducer) {

@@ -291,0 +297,0 @@ this.logger.warn(

{
"name": "@huddle01/web-core",
"version": "0.0.13",
"version": "0.0.14",
"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 too big to display

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc