@huddle01/web-core
Advanced tools
Comparing version 2.0.13-dev.1 to 2.0.13-dev.2
import { | ||
ActiveSpeakers_default | ||
} from "./chunk-NDARRWFA.js"; | ||
import "./chunk-2HNQCWLA.js"; | ||
import "./chunk-SSKZWKIS.js"; | ||
} from "./chunk-HLLXO4UG.js"; | ||
import "./chunk-KD24MOYC.js"; | ||
import "./chunk-L73C57FB.js"; | ||
import "./chunk-WA3QABYS.js"; | ||
import "./chunk-P6ECWQ7C.js"; | ||
@@ -7,0 +8,0 @@ import "./chunk-NTD5WULD.js"; |
@@ -10,3 +10,6 @@ import { MediaKind } from 'mediasoup-client/lib/RtpParameters'; | ||
declare const estimateSize: (obj: unknown) => number; | ||
declare const isBrowser: () => boolean; | ||
declare const isNode: () => boolean; | ||
declare const isReactNative: () => boolean; | ||
export { estimateSize, getMediaDeviceKind, getMediaStreamKind, getMediaTrack }; | ||
export { estimateSize, getMediaDeviceKind, getMediaStreamKind, getMediaTrack, isBrowser, isNode, isReactNative }; |
@@ -5,4 +5,7 @@ import { | ||
getMediaStreamKind, | ||
getMediaTrack | ||
} from "../chunk-GQI4XTJR.js"; | ||
getMediaTrack, | ||
isBrowser, | ||
isNode, | ||
isReactNative | ||
} from "../chunk-WA3QABYS.js"; | ||
import "../chunk-YSQDPG26.js"; | ||
@@ -13,3 +16,6 @@ export { | ||
getMediaStreamKind, | ||
getMediaTrack | ||
getMediaTrack, | ||
isBrowser, | ||
isNode, | ||
isReactNative | ||
}; |
import LocalPeer from './LocalPeer.js'; | ||
import Socket from './Socket.js'; | ||
import { R as Room } from './common.types.d-_0RvT28q.js'; | ||
import 'mediasoup-client/lib/types'; | ||
import { R as Room } from './common.types.d-DnVqBsbF.js'; | ||
import { HandlerFactory } from 'mediasoup-client/lib/types'; | ||
import 'mediasoup-client'; | ||
@@ -67,2 +67,4 @@ import 'types/dist/common.types'; | ||
}; | ||
wsPolyfill?: typeof WebSocket; | ||
handlerFactory: HandlerFactory; | ||
}; | ||
@@ -69,0 +71,0 @@ }); |
import { | ||
HuddleClient_default | ||
} from "./chunk-I2ZMRIMI.js"; | ||
import "./chunk-CGB26D33.js"; | ||
import "./chunk-JEAPOYOK.js"; | ||
} from "./chunk-7NR7II5M.js"; | ||
import "./chunk-VCESU4AN.js"; | ||
import "./chunk-7G26MV3E.js"; | ||
import "./chunk-JEQRQORU.js"; | ||
import "./chunk-GQI4XTJR.js"; | ||
import "./chunk-RNHML2PX.js"; | ||
import "./chunk-NDARRWFA.js"; | ||
import "./chunk-2HNQCWLA.js"; | ||
import "./chunk-SSKZWKIS.js"; | ||
import "./chunk-HLLXO4UG.js"; | ||
import "./chunk-KD24MOYC.js"; | ||
import "./chunk-L73C57FB.js"; | ||
import "./chunk-WA3QABYS.js"; | ||
import "./chunk-P6ECWQ7C.js"; | ||
@@ -13,0 +13,0 @@ import "./chunk-NTD5WULD.js"; |
export { default as HuddleClient } from './HuddleClient.js'; | ||
export { R as Room } from './common.types.d-_0RvT28q.js'; | ||
export { R as Room } from './common.types.d-DnVqBsbF.js'; | ||
export { default as RemotePeer } from './RemotePeer.js'; | ||
@@ -10,2 +10,3 @@ export { default as LocalPeer } from './LocalPeer.js'; | ||
export { default as Transport } from './Transport.js'; | ||
import 'mediasoup-client/lib/types'; | ||
import './common-js/EnhancedEventEmitter.js'; | ||
@@ -17,3 +18,2 @@ import './types/common.types.js'; | ||
import 'mediasoup-client/lib/DataConsumer'; | ||
import 'mediasoup-client/lib/types'; | ||
import 'mediasoup-client'; | ||
@@ -20,0 +20,0 @@ import 'types/dist/common.types'; |
import { | ||
HuddleClient_default | ||
} from "./chunk-I2ZMRIMI.js"; | ||
} from "./chunk-7NR7II5M.js"; | ||
import { | ||
LocalPeer_default, | ||
RemotePeer_default | ||
} from "./chunk-CGB26D33.js"; | ||
} from "./chunk-VCESU4AN.js"; | ||
import { | ||
Transport_default | ||
} from "./chunk-JEAPOYOK.js"; | ||
} from "./chunk-7G26MV3E.js"; | ||
import "./chunk-JEQRQORU.js"; | ||
import "./chunk-GQI4XTJR.js"; | ||
import "./chunk-RNHML2PX.js"; | ||
import "./chunk-NDARRWFA.js"; | ||
import "./chunk-HLLXO4UG.js"; | ||
import { | ||
Room_default | ||
} from "./chunk-2HNQCWLA.js"; | ||
} from "./chunk-KD24MOYC.js"; | ||
import { | ||
Socket_default | ||
} from "./chunk-SSKZWKIS.js"; | ||
} from "./chunk-L73C57FB.js"; | ||
import "./chunk-WA3QABYS.js"; | ||
import "./chunk-P6ECWQ7C.js"; | ||
@@ -22,0 +22,0 @@ import "./chunk-NTD5WULD.js"; |
@@ -1,2 +0,2 @@ | ||
import { Producer, AppData } from 'mediasoup-client/lib/types'; | ||
import { Producer, HandlerFactory, AppData } from 'mediasoup-client/lib/types'; | ||
import { Device } from 'mediasoup-client'; | ||
@@ -88,2 +88,6 @@ import { TDataMessage, TVolatileDataMessage, TPermissions, TTransportType } from 'types/dist/common.types'; | ||
/** | ||
* custom handler factory for device, required when using aiortc client or something custom | ||
*/ | ||
private __handlerFactory?; | ||
/** | ||
* SendTransport handles the sending of media from the client to the server | ||
@@ -247,3 +251,3 @@ */ | ||
transportExists: (transportType: TTransportType) => Transport | null; | ||
static create(): LocalPeer; | ||
static create(handlerFactory?: HandlerFactory): LocalPeer; | ||
static getInstance(): LocalPeer; | ||
@@ -250,0 +254,0 @@ private constructor(); |
import { | ||
LocalPeer_default | ||
} from "./chunk-CGB26D33.js"; | ||
import "./chunk-JEAPOYOK.js"; | ||
} from "./chunk-VCESU4AN.js"; | ||
import "./chunk-7G26MV3E.js"; | ||
import "./chunk-JEQRQORU.js"; | ||
import "./chunk-GQI4XTJR.js"; | ||
import "./chunk-RNHML2PX.js"; | ||
import "./chunk-NDARRWFA.js"; | ||
import "./chunk-2HNQCWLA.js"; | ||
import "./chunk-SSKZWKIS.js"; | ||
import "./chunk-HLLXO4UG.js"; | ||
import "./chunk-KD24MOYC.js"; | ||
import "./chunk-L73C57FB.js"; | ||
import "./chunk-WA3QABYS.js"; | ||
import "./chunk-P6ECWQ7C.js"; | ||
@@ -12,0 +12,0 @@ import "./chunk-NTD5WULD.js"; |
import { | ||
RemotePeer_default | ||
} from "./chunk-CGB26D33.js"; | ||
import "./chunk-JEAPOYOK.js"; | ||
} from "./chunk-VCESU4AN.js"; | ||
import "./chunk-7G26MV3E.js"; | ||
import "./chunk-JEQRQORU.js"; | ||
import "./chunk-GQI4XTJR.js"; | ||
import "./chunk-RNHML2PX.js"; | ||
import "./chunk-NDARRWFA.js"; | ||
import "./chunk-2HNQCWLA.js"; | ||
import "./chunk-SSKZWKIS.js"; | ||
import "./chunk-HLLXO4UG.js"; | ||
import "./chunk-KD24MOYC.js"; | ||
import "./chunk-L73C57FB.js"; | ||
import "./chunk-WA3QABYS.js"; | ||
import "./chunk-P6ECWQ7C.js"; | ||
@@ -12,0 +12,0 @@ import "./chunk-NTD5WULD.js"; |
import './common-js/EnhancedEventEmitter.js'; | ||
import './RemotePeer.js'; | ||
import './types/common.types.js'; | ||
export { a as RoomEvents, b as RoomStates, e as RoomStats, R as default } from './common.types.d-_0RvT28q.js'; | ||
export { a as RoomEvents, b as RoomStates, e as RoomStats, R as default } from './common.types.d-DnVqBsbF.js'; | ||
import './ActiveSpeakers.js'; | ||
@@ -6,0 +6,0 @@ import './Consumer.js'; |
import { | ||
Room_default | ||
} from "./chunk-2HNQCWLA.js"; | ||
import "./chunk-SSKZWKIS.js"; | ||
} from "./chunk-KD24MOYC.js"; | ||
import "./chunk-L73C57FB.js"; | ||
import "./chunk-WA3QABYS.js"; | ||
import "./chunk-P6ECWQ7C.js"; | ||
@@ -6,0 +7,0 @@ import "./chunk-NTD5WULD.js"; |
@@ -18,4 +18,4 @@ import { ClientToSushiEvents } from 'types/dist/clientToSushiEvents'; | ||
reconnected: []; | ||
'region-updated': [region: string]; | ||
'token-updated': [token: string | null]; | ||
"region-updated": [region: string]; | ||
"token-updated": [token: string | null]; | ||
}; | ||
@@ -43,2 +43,6 @@ type MessagePayload<T = SushiToClientEvents> = { | ||
/** | ||
* websocket polyfill | ||
*/ | ||
private __wsPolyfill; | ||
/** | ||
* Underlying WebSocket connection, until we dont call Socket.connect(); this will be null | ||
@@ -111,3 +115,3 @@ */ | ||
*/ | ||
static create(): Socket<SushiToClientEvents>; | ||
static create(wsPolyfill?: typeof WebSocket): Socket<SushiToClientEvents>; | ||
/** | ||
@@ -114,0 +118,0 @@ * Returns the instance of the socket connection, throws an error if the connection is not initialized |
import { | ||
Socket_default | ||
} from "./chunk-SSKZWKIS.js"; | ||
} from "./chunk-L73C57FB.js"; | ||
import "./chunk-WA3QABYS.js"; | ||
import "./chunk-P6ECWQ7C.js"; | ||
@@ -5,0 +6,0 @@ import "./chunk-NTD5WULD.js"; |
import { | ||
Transport_default | ||
} from "./chunk-JEAPOYOK.js"; | ||
} from "./chunk-7G26MV3E.js"; | ||
import "./chunk-JEQRQORU.js"; | ||
import "./chunk-GQI4XTJR.js"; | ||
import "./chunk-RNHML2PX.js"; | ||
import "./chunk-SSKZWKIS.js"; | ||
import "./chunk-L73C57FB.js"; | ||
import "./chunk-WA3QABYS.js"; | ||
import "./chunk-P6ECWQ7C.js"; | ||
@@ -9,0 +9,0 @@ import "./chunk-NTD5WULD.js"; |
@@ -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-_0RvT28q.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-DnVqBsbF.js'; | ||
export { MessagePayload, SocketEvents } from '../Socket.js'; | ||
@@ -12,0 +12,0 @@ export { TransportEvents } from '../Transport.js'; |
{ | ||
"name": "@huddle01/web-core", | ||
"version": "2.0.13-dev.1", | ||
"version": "2.0.13-dev.2", | ||
"description": "The Huddle01 Javascript SDK offers a comprehensive suite of methods and event listeners that allow for seamless real-time audio and video communication with minimal coding required.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
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
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
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
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
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
1020931
27950