@huddle01/web-core
Advanced tools
Comparing version 2.0.12 to 2.0.13-alpha.0
import { | ||
ActiveSpeakers_default | ||
} from "./chunk-G4AEWLOC.js"; | ||
import "./chunk-JR7VIVQR.js"; | ||
import "./chunk-YTD3NKTA.js"; | ||
} from "./chunk-PFKKOLCW.js"; | ||
import "./chunk-HTHQHFCH.js"; | ||
import "./chunk-JJTAK3MJ.js"; | ||
import "./chunk-P6ECWQ7C.js"; | ||
import "./chunk-NTD5WULD.js"; | ||
import "./chunk-WA3QABYS.js"; | ||
import "./chunk-TUULEVTI.js"; | ||
@@ -9,0 +10,0 @@ import "./chunk-YRBORJ4H.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-QL5Z4YYP.js"; | ||
import "./chunk-BW2L43UF.js"; | ||
import "./chunk-D4JOIGRW.js"; | ||
} from "./chunk-YNVK6HWC.js"; | ||
import "./chunk-CGQRXVHD.js"; | ||
import "./chunk-BT65KYK2.js"; | ||
import "./chunk-JEQRQORU.js"; | ||
import "./chunk-GQI4XTJR.js"; | ||
import "./chunk-RNHML2PX.js"; | ||
import "./chunk-G4AEWLOC.js"; | ||
import "./chunk-JR7VIVQR.js"; | ||
import "./chunk-YTD3NKTA.js"; | ||
import "./chunk-PFKKOLCW.js"; | ||
import "./chunk-HTHQHFCH.js"; | ||
import "./chunk-JJTAK3MJ.js"; | ||
import "./chunk-P6ECWQ7C.js"; | ||
import "./chunk-NTD5WULD.js"; | ||
import "./chunk-WA3QABYS.js"; | ||
import "./chunk-TUULEVTI.js"; | ||
@@ -15,0 +15,0 @@ import "./chunk-YRBORJ4H.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-QL5Z4YYP.js"; | ||
} from "./chunk-YNVK6HWC.js"; | ||
import { | ||
LocalPeer_default, | ||
RemotePeer_default | ||
} from "./chunk-BW2L43UF.js"; | ||
} from "./chunk-CGQRXVHD.js"; | ||
import { | ||
Transport_default | ||
} from "./chunk-D4JOIGRW.js"; | ||
} from "./chunk-BT65KYK2.js"; | ||
import "./chunk-JEQRQORU.js"; | ||
import "./chunk-GQI4XTJR.js"; | ||
import "./chunk-RNHML2PX.js"; | ||
import "./chunk-G4AEWLOC.js"; | ||
import "./chunk-PFKKOLCW.js"; | ||
import { | ||
Room_default | ||
} from "./chunk-JR7VIVQR.js"; | ||
} from "./chunk-HTHQHFCH.js"; | ||
import { | ||
Socket_default | ||
} from "./chunk-YTD3NKTA.js"; | ||
} from "./chunk-JJTAK3MJ.js"; | ||
import "./chunk-P6ECWQ7C.js"; | ||
import "./chunk-NTD5WULD.js"; | ||
import "./chunk-WA3QABYS.js"; | ||
import "./chunk-TUULEVTI.js"; | ||
@@ -24,0 +24,0 @@ import "./chunk-YRBORJ4H.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; | ||
@@ -453,3 +457,3 @@ private constructor(); | ||
* Send Data Gives the functionality to send data to other remote peers or the whole room | ||
* @throws { Error } If unable to send data, Can be due to multiple reasons. | ||
* @returns { success: boolean, error?: string } - error will be present if failed to send data | ||
*/ | ||
@@ -460,3 +464,6 @@ sendData: (data: { | ||
label?: string | undefined; | ||
}) => Promise<void>; | ||
}) => Promise<{ | ||
success: boolean; | ||
error?: string | undefined; | ||
}>; | ||
produceData: () => void; | ||
@@ -463,0 +470,0 @@ /** |
import { | ||
LocalPeer_default | ||
} from "./chunk-BW2L43UF.js"; | ||
import "./chunk-D4JOIGRW.js"; | ||
} from "./chunk-CGQRXVHD.js"; | ||
import "./chunk-BT65KYK2.js"; | ||
import "./chunk-JEQRQORU.js"; | ||
import "./chunk-GQI4XTJR.js"; | ||
import "./chunk-RNHML2PX.js"; | ||
import "./chunk-G4AEWLOC.js"; | ||
import "./chunk-JR7VIVQR.js"; | ||
import "./chunk-YTD3NKTA.js"; | ||
import "./chunk-PFKKOLCW.js"; | ||
import "./chunk-HTHQHFCH.js"; | ||
import "./chunk-JJTAK3MJ.js"; | ||
import "./chunk-P6ECWQ7C.js"; | ||
import "./chunk-NTD5WULD.js"; | ||
import "./chunk-WA3QABYS.js"; | ||
import "./chunk-TUULEVTI.js"; | ||
@@ -14,0 +14,0 @@ import "./chunk-YRBORJ4H.js"; |
import { | ||
RemotePeer_default | ||
} from "./chunk-BW2L43UF.js"; | ||
import "./chunk-D4JOIGRW.js"; | ||
} from "./chunk-CGQRXVHD.js"; | ||
import "./chunk-BT65KYK2.js"; | ||
import "./chunk-JEQRQORU.js"; | ||
import "./chunk-GQI4XTJR.js"; | ||
import "./chunk-RNHML2PX.js"; | ||
import "./chunk-G4AEWLOC.js"; | ||
import "./chunk-JR7VIVQR.js"; | ||
import "./chunk-YTD3NKTA.js"; | ||
import "./chunk-PFKKOLCW.js"; | ||
import "./chunk-HTHQHFCH.js"; | ||
import "./chunk-JJTAK3MJ.js"; | ||
import "./chunk-P6ECWQ7C.js"; | ||
import "./chunk-NTD5WULD.js"; | ||
import "./chunk-WA3QABYS.js"; | ||
import "./chunk-TUULEVTI.js"; | ||
@@ -14,0 +14,0 @@ import "./chunk-YRBORJ4H.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-JR7VIVQR.js"; | ||
import "./chunk-YTD3NKTA.js"; | ||
} from "./chunk-HTHQHFCH.js"; | ||
import "./chunk-JJTAK3MJ.js"; | ||
import "./chunk-P6ECWQ7C.js"; | ||
import "./chunk-NTD5WULD.js"; | ||
import "./chunk-WA3QABYS.js"; | ||
import "./chunk-TUULEVTI.js"; | ||
@@ -8,0 +9,0 @@ import "./chunk-YRBORJ4H.js"; |
@@ -42,2 +42,6 @@ import { ClientToSushiEvents } from 'types/dist/clientToSushiEvents'; | ||
/** | ||
* websocket polyfill | ||
*/ | ||
private __wsPolyfill; | ||
/** | ||
* Underlying WebSocket connection, until we dont call Socket.connect(); this will be null | ||
@@ -110,3 +114,3 @@ */ | ||
*/ | ||
static create(): Socket<SushiToClientEvents>; | ||
static create(wsPolyfill?: typeof WebSocket): Socket<SushiToClientEvents>; | ||
/** | ||
@@ -113,0 +117,0 @@ * Returns the instance of the socket connection, throws an error if the connection is not initialized |
import { | ||
Socket_default | ||
} from "./chunk-YTD3NKTA.js"; | ||
} from "./chunk-JJTAK3MJ.js"; | ||
import "./chunk-P6ECWQ7C.js"; | ||
import "./chunk-NTD5WULD.js"; | ||
import "./chunk-WA3QABYS.js"; | ||
import "./chunk-TUULEVTI.js"; | ||
@@ -7,0 +8,0 @@ import "./chunk-YRBORJ4H.js"; |
import { | ||
Transport_default | ||
} from "./chunk-D4JOIGRW.js"; | ||
} from "./chunk-BT65KYK2.js"; | ||
import "./chunk-JEQRQORU.js"; | ||
import "./chunk-GQI4XTJR.js"; | ||
import "./chunk-RNHML2PX.js"; | ||
import "./chunk-YTD3NKTA.js"; | ||
import "./chunk-JJTAK3MJ.js"; | ||
import "./chunk-P6ECWQ7C.js"; | ||
import "./chunk-NTD5WULD.js"; | ||
import "./chunk-WA3QABYS.js"; | ||
import "./chunk-TUULEVTI.js"; | ||
@@ -11,0 +11,0 @@ import "./chunk-YRBORJ4H.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.12", | ||
"version": "2.0.13-alpha.0", | ||
"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.", | ||
@@ -8,3 +8,6 @@ "type": "module", | ||
"types": "dist/index.d.ts", | ||
"files": ["dist", "types.d.ts"], | ||
"files": [ | ||
"dist", | ||
"types.d.ts" | ||
], | ||
"scripts": { | ||
@@ -32,3 +35,8 @@ "build": "rm -rf dist && tsup --format esm,cjs", | ||
}, | ||
"keywords": ["huddle01", "web-core", "RTC", "web3"], | ||
"keywords": [ | ||
"huddle01", | ||
"web-core", | ||
"RTC", | ||
"web3" | ||
], | ||
"author": "a4748g", | ||
@@ -35,0 +43,0 @@ "license": "ISC", |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1020943
27950
4
2