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

@huddle01/web-core

Package Overview
Dependencies
Maintainers
6
Versions
258
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 1.0.0-dev.39 to 1.0.0-dev.40

dist/chunk-COHRBP46.js

4

dist/Consumer.js
import {
Consumer_default
} from "./chunk-FE7RZJBI.js";
} from "./chunk-ISGZIUR3.js";
import "./chunk-7OTQAFXE.js";
import "./chunk-EVXWMCNT.js";
import "./chunk-7OTQAFXE.js";
import "./chunk-UXIASGQL.js";

@@ -7,0 +7,0 @@ export {

import {
DeviceHandler_default
} from "./chunk-SOT5VN77.js";
} from "./chunk-XU22MCQF.js";
import "./chunk-A3HCACHA.js";
import "./chunk-XHXVBEEH.js";
import "./chunk-7OTQAFXE.js";
import "./chunk-EVXWMCNT.js";
import "./chunk-7OTQAFXE.js";
import "./chunk-UXIASGQL.js";

@@ -9,0 +9,0 @@ export {

import LocalPeer from './LocalPeer.js';
import Socket from './Socket.js';
import { R as Room } from './common.types.d-884d33a5.js';
import { R as Room } from './common.types.d-eb2a71d0.js';
import 'mediasoup-client/lib/types';

@@ -60,2 +60,7 @@ import 'mediasoup-client';

projectId: string;
options?: {
activeSpeakers?: {
size: number;
};
};
});

@@ -62,0 +67,0 @@ /**

import {
HuddleClient_default
} from "./chunk-JON3EVIO.js";
import "./chunk-IXGFVEOW.js";
import "./chunk-RVJHWFBV.js";
} from "./chunk-O6RRLLWY.js";
import "./chunk-COHRBP46.js";
import "./chunk-GZLJOUZ3.js";
import "./chunk-7PO7E25R.js";
import "./chunk-FE7RZJBI.js";
import "./chunk-SOT5VN77.js";
import "./chunk-PYD4CES4.js";
import "./chunk-SSCVNXAL.js";
import "./chunk-ISGZIUR3.js";
import "./chunk-XU22MCQF.js";
import "./chunk-A3HCACHA.js";
import "./chunk-XHXVBEEH.js";
import "./chunk-E6D2FC5R.js";
import "./chunk-V4S3N66D.js";
import "./chunk-4KJLO5F7.js";
import "./chunk-PYD4CES4.js";
import "./chunk-SSCVNXAL.js";
import "./chunk-NHTBVDNH.js";
import "./chunk-7OTQAFXE.js";
import "./chunk-EVXWMCNT.js";
import "./chunk-7OTQAFXE.js";
import "./chunk-UXIASGQL.js";

@@ -20,0 +17,0 @@ export {

export { default as HuddleClient } from './HuddleClient.js';
export { R as Room } from './common.types.d-884d33a5.js';
export { R as Room } from './common.types.d-eb2a71d0.js';
export { default as RemotePeer } from './RemotePeer.js';

@@ -4,0 +4,0 @@ export { default as LocalPeer } from './LocalPeer.js';

import {
HuddleClient_default
} from "./chunk-JON3EVIO.js";
} from "./chunk-O6RRLLWY.js";
import {
LocalPeer_default,
RemotePeer_default
} from "./chunk-IXGFVEOW.js";
import {
RemotePeer_default,
Room_default,
Socket_default,
Transport_default
} from "./chunk-RVJHWFBV.js";
} from "./chunk-COHRBP46.js";
import "./chunk-GZLJOUZ3.js";
import "./chunk-7PO7E25R.js";
import "./chunk-PYD4CES4.js";
import "./chunk-SSCVNXAL.js";
import {
Consumer_default
} from "./chunk-FE7RZJBI.js";
} from "./chunk-ISGZIUR3.js";
import {
DeviceHandler_default
} from "./chunk-SOT5VN77.js";
} from "./chunk-XU22MCQF.js";
import "./chunk-A3HCACHA.js";
import "./chunk-XHXVBEEH.js";
import {
Room_default
} from "./chunk-E6D2FC5R.js";
import {
Permissions_default
} from "./chunk-V4S3N66D.js";
import {
Socket_default
} from "./chunk-4KJLO5F7.js";
import "./chunk-PYD4CES4.js";
import "./chunk-SSCVNXAL.js";
} from "./chunk-NHTBVDNH.js";
import "./chunk-7OTQAFXE.js";
import "./chunk-EVXWMCNT.js";
import "./chunk-7OTQAFXE.js";
import "./chunk-UXIASGQL.js";

@@ -35,0 +29,0 @@ export {

@@ -1,2 +0,2 @@

import { Producer, AppData, DataProducer } from 'mediasoup-client/lib/types';
import { Producer, AppData } from 'mediasoup-client/lib/types';
import { Device } from 'mediasoup-client';

@@ -121,3 +121,3 @@ import { TDataMessage, TVolatileDataMessage, TPermissions } from 'types/dist/common.types';

private __pendingProducerTasks;
private __pendingDataProducerTasks;
private __pendingTasks;
/**

@@ -144,2 +144,6 @@ * Pending Transport Tasks, Stores the transportType and the promise of the transport

/**
* Stores all the pending consume tasks which are waiting for recv transport to be re-connected
*/
private __waitingToConsume;
/**
* DeviceHandler Instance, Handles the media devices for this client

@@ -273,6 +277,2 @@ * e.g. Camera, Microphone

}) => Promise<Producer<AppData>>;
produceData: (data: {
label: string;
appData?: AppData | undefined;
}) => Promise<DataProducer<AppData>>;
/**

@@ -362,4 +362,2 @@ * Enables the local web cam and starts producing the stream with the label `video`

* `NOTE: This will notify all the RemotePeers that this producer has stopped producing and they should stop consuming it.`
*
* @param data Data to stop producing { label: string }
*/

@@ -371,4 +369,2 @@ disableAudio: () => Promise<void>;

* `NOTE: This will notify all the RemotePeers that this producer has stopped producing and they should stop consuming it. if you have joined the room, else it will just close the stream`
*
* @param data Data to stop producing { label: string }
*/

@@ -409,7 +405,7 @@ stopScreenShare: () => Promise<void>;

}) => void;
sendVolatileData: (data: {
to?: string[] | '*';
label: string;
payload: unknown;
}) => Promise<void>;
/**
* Function to activate the volatile data messaging
* @throws {Error} If activation of notification fails.
*/
activateSpeakerNotification: () => Promise<void>;
sendData: (data: {

@@ -439,4 +435,2 @@ to: string[] | '*';

private __createProducer;
activateVolatileMessages: () => Promise<void>;
private __createDataProducer;
private __createTransportOnServer;

@@ -443,0 +437,0 @@ /**

import {
LocalPeer_default
} from "./chunk-IXGFVEOW.js";
import "./chunk-RVJHWFBV.js";
} from "./chunk-COHRBP46.js";
import "./chunk-GZLJOUZ3.js";
import "./chunk-7PO7E25R.js";
import "./chunk-FE7RZJBI.js";
import "./chunk-SOT5VN77.js";
import "./chunk-PYD4CES4.js";
import "./chunk-SSCVNXAL.js";
import "./chunk-ISGZIUR3.js";
import "./chunk-XU22MCQF.js";
import "./chunk-A3HCACHA.js";
import "./chunk-XHXVBEEH.js";
import "./chunk-E6D2FC5R.js";
import "./chunk-V4S3N66D.js";
import "./chunk-4KJLO5F7.js";
import "./chunk-PYD4CES4.js";
import "./chunk-SSCVNXAL.js";
import "./chunk-NHTBVDNH.js";
import "./chunk-7OTQAFXE.js";
import "./chunk-EVXWMCNT.js";
import "./chunk-7OTQAFXE.js";
import "./chunk-UXIASGQL.js";

@@ -19,0 +16,0 @@ export {

import {
Permissions_default,
checkPermissions
} from "./chunk-V4S3N66D.js";
} from "./chunk-NHTBVDNH.js";
import "./chunk-7OTQAFXE.js";
import "./chunk-EVXWMCNT.js";
import "./chunk-7OTQAFXE.js";
import "./chunk-UXIASGQL.js";

@@ -8,0 +8,0 @@ export {

import {
RemotePeer_default
} from "./chunk-IXGFVEOW.js";
import "./chunk-RVJHWFBV.js";
} from "./chunk-COHRBP46.js";
import "./chunk-GZLJOUZ3.js";
import "./chunk-7PO7E25R.js";
import "./chunk-FE7RZJBI.js";
import "./chunk-SOT5VN77.js";
import "./chunk-PYD4CES4.js";
import "./chunk-SSCVNXAL.js";
import "./chunk-ISGZIUR3.js";
import "./chunk-XU22MCQF.js";
import "./chunk-A3HCACHA.js";
import "./chunk-XHXVBEEH.js";
import "./chunk-E6D2FC5R.js";
import "./chunk-V4S3N66D.js";
import "./chunk-4KJLO5F7.js";
import "./chunk-PYD4CES4.js";
import "./chunk-SSCVNXAL.js";
import "./chunk-NHTBVDNH.js";
import "./chunk-7OTQAFXE.js";
import "./chunk-EVXWMCNT.js";
import "./chunk-7OTQAFXE.js";
import "./chunk-UXIASGQL.js";

@@ -19,0 +16,0 @@ export {

import './common-js/EnhancedEventEmitter.js';
import './RemotePeer.js';
import './types/common.types.js';
export { a as RoomEvents, b as RoomStates, R as default } from './common.types.d-884d33a5.js';
export { a as RoomEvents, b as RoomStates, R as default } from './common.types.d-eb2a71d0.js';
import './Consumer.js';

@@ -6,0 +6,0 @@ import 'mediasoup-client/lib/types';

import {
Room_default
} from "./chunk-E6D2FC5R.js";
import "./chunk-V4S3N66D.js";
import "./chunk-4KJLO5F7.js";
} from "./chunk-COHRBP46.js";
import "./chunk-GZLJOUZ3.js";
import "./chunk-7PO7E25R.js";
import "./chunk-PYD4CES4.js";
import "./chunk-SSCVNXAL.js";
import "./chunk-ISGZIUR3.js";
import "./chunk-XU22MCQF.js";
import "./chunk-A3HCACHA.js";
import "./chunk-XHXVBEEH.js";
import "./chunk-NHTBVDNH.js";
import "./chunk-7OTQAFXE.js";
import "./chunk-EVXWMCNT.js";
import "./chunk-7OTQAFXE.js";
import "./chunk-UXIASGQL.js";

@@ -11,0 +16,0 @@ export {

import {
Socket_default
} from "./chunk-4KJLO5F7.js";
} from "./chunk-COHRBP46.js";
import "./chunk-GZLJOUZ3.js";
import "./chunk-7PO7E25R.js";
import "./chunk-PYD4CES4.js";
import "./chunk-SSCVNXAL.js";
import "./chunk-ISGZIUR3.js";
import "./chunk-XU22MCQF.js";
import "./chunk-A3HCACHA.js";
import "./chunk-XHXVBEEH.js";
import "./chunk-NHTBVDNH.js";
import "./chunk-7OTQAFXE.js";
import "./chunk-EVXWMCNT.js";
import "./chunk-7OTQAFXE.js";
import "./chunk-UXIASGQL.js";

@@ -9,0 +16,0 @@ export {

@@ -82,16 +82,8 @@ import * as mediasoup from 'mediasoup-client';

private __iceRestartDebounce;
/**
* Connection State, which handles the connection state.
*
* - `connected` - Transport is connected.
* - `disconnected` - Transport is disconnected.
* - `failed` - Transport connection failed.
* - `reconnecting` - Transport is reconnecting.
* - `connecting` - Transport is connecting.
*/
connectionState: 'connected' | 'disconnected' | 'failed' | 'reconnecting' | 'connecting';
get device(): mediasoup.types.Device;
get mediasoupTransport(): mediasoup.types.Transport<mediasoup.types.AppData>;
get connectionState(): mediasoup.types.ConnectionState;
get producers(): Map<string, mediasoup.types.Producer<mediasoup.types.AppData>>;
get dataProducers(): Map<string, mediasoup.types.DataProducer<mediasoup.types.AppData>>;
get dataConsumers(): Map<string, mediasoup.types.DataProducer<mediasoup.types.AppData>>;
get consumers(): EnhancedMap<Consumer>;

@@ -148,2 +140,3 @@ getProducerById(producerId: string): Producer;

label: string;
ordered: boolean;
}>>;

@@ -150,0 +143,0 @@ consume: (data: TConsumeResponseData) => Promise<{

import {
Transport_default
} from "./chunk-RVJHWFBV.js";
} from "./chunk-COHRBP46.js";
import "./chunk-GZLJOUZ3.js";
import "./chunk-7PO7E25R.js";
import "./chunk-FE7RZJBI.js";
import "./chunk-XHXVBEEH.js";
import "./chunk-4KJLO5F7.js";
import "./chunk-PYD4CES4.js";
import "./chunk-SSCVNXAL.js";
import "./chunk-ISGZIUR3.js";
import "./chunk-XU22MCQF.js";
import "./chunk-A3HCACHA.js";
import "./chunk-XHXVBEEH.js";
import "./chunk-NHTBVDNH.js";
import "./chunk-7OTQAFXE.js";
import "./chunk-EVXWMCNT.js";
import "./chunk-7OTQAFXE.js";
import "./chunk-UXIASGQL.js";

@@ -14,0 +16,0 @@ export {

@@ -9,3 +9,3 @@ export { Producer } from 'mediasoup-client/lib/types';

export { RemotePeerEvents } from '../RemotePeer.js';
export { N as NewRoomControls, P as ProduceSources, d as RoomControls, a as RoomEvents, c as RoomInfo, b as RoomStates, T as TPermissions } from '../common.types.d-884d33a5.js';
export { N as NewRoomControls, P as ProduceSources, d as RoomControls, a as RoomEvents, c as RoomInfo, b as RoomStates, T as TPermissions } from '../common.types.d-eb2a71d0.js';
export { MessagePayload, SocketEvents } from '../Socket.js';

@@ -12,0 +12,0 @@ export { TransportEvents } from '../Transport.js';

{
"name": "@huddle01/web-core",
"version": "1.0.0-dev.39",
"version": "1.0.0-dev.40",
"description": "",

@@ -13,3 +13,4 @@ "type": "module",

"pub": "npm publish --access public --tag dev",
"test": "vitest"
"test": "vitest",
"test:types": "vitest typecheck"
},

@@ -16,0 +17,0 @@ "exports": {

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