@huddle01/web-core
Advanced tools
Comparing version 1.0.0-alpha.17 to 1.0.0-alpha.18
import { | ||
EnhancedEventEmitter | ||
} from "../chunk-NZZLDVRO.js"; | ||
} from "../chunk-7OTQAFXE.js"; | ||
import "../chunk-UXIASGQL.js"; | ||
@@ -5,0 +5,0 @@ export { |
import { | ||
deviceConstraints_default | ||
} from "../chunk-ECJWSCEU.js"; | ||
import "../chunk-UBA4U2PP.js"; | ||
} from "../chunk-5CUUFMPO.js"; | ||
import "../chunk-7NJ3IR37.js"; | ||
import "../chunk-UXIASGQL.js"; | ||
@@ -6,0 +6,0 @@ export { |
@@ -57,3 +57,3 @@ import { RtpEncodingParameters } from 'mediasoup-client/lib/types'; | ||
video: RtpEncodingParameters[]; | ||
"screen-video": { | ||
'screen-video': { | ||
scalabilityMode: string; | ||
@@ -60,0 +60,0 @@ dtx: boolean; |
@@ -9,3 +9,3 @@ import { | ||
encodingViaMediaType | ||
} from "../chunk-UBA4U2PP.js"; | ||
} from "../chunk-7NJ3IR37.js"; | ||
import "../chunk-UXIASGQL.js"; | ||
@@ -12,0 +12,0 @@ export { |
@@ -101,3 +101,3 @@ import * as mediasoup_client_lib_types from 'mediasoup-client/lib/types'; | ||
*/ | ||
get state(): "playable" | "unavailable" | "paused" | "available"; | ||
get state(): 'playable' | 'unavailable' | 'paused' | 'available'; | ||
/** | ||
@@ -104,0 +104,0 @@ * Get the stats of the Consumer, it is only available when the Consumer is consuming a media. |
import { | ||
Consumer_default | ||
} from "./chunk-N24AG534.js"; | ||
import "./chunk-YOQRRMW7.js"; | ||
import "./chunk-NZZLDVRO.js"; | ||
} from "./chunk-FE7RZJBI.js"; | ||
import "./chunk-EVXWMCNT.js"; | ||
import "./chunk-7OTQAFXE.js"; | ||
import "./chunk-UXIASGQL.js"; | ||
@@ -7,0 +7,0 @@ export { |
import { EnhancedEventEmitter } from './common-js/EnhancedEventEmitter.js'; | ||
type StreamPermissions = "granted" | "denied" | "prompt"; | ||
type StreamPermissions = 'granted' | 'denied' | 'prompt'; | ||
type StreamPermissionsError = { | ||
@@ -19,5 +19,5 @@ blocked?: { | ||
}>; | ||
type FetchScreenResponse = Promise<Omit<Awaited<FetchStreamResponse>, "track" | "deviceId">>; | ||
type CustomMediaKind = "cam" | "mic" | "screen"; | ||
type CustomMediaDevice = "mic" | "cam" | "speaker"; | ||
type FetchScreenResponse = Promise<Omit<Awaited<FetchStreamResponse>, 'track' | 'deviceId'>>; | ||
type CustomMediaKind = 'cam' | 'mic' | 'screen'; | ||
type CustomMediaDevice = 'mic' | 'cam' | 'speaker'; | ||
type StreamAdded = { | ||
@@ -29,21 +29,7 @@ stream: MediaStream; | ||
type DeviceHandlerEvents = { | ||
"device-change": []; | ||
"stream-fetched": [data: { | ||
mediaKind: CustomMediaKind; | ||
stream: MediaStream; | ||
}]; | ||
"stream-stopped": [data: { | ||
mediaKind: CustomMediaKind; | ||
}]; | ||
"screen-fetched": [data: { | ||
mediaKind: CustomMediaKind; | ||
stream: MediaStream; | ||
}]; | ||
"screen-stopped": [data: { | ||
mediaKind: CustomMediaKind; | ||
}]; | ||
"permission-granted": [data: { | ||
'device-change': []; | ||
'permission-granted': [data: { | ||
deviceKind: CustomMediaDevice; | ||
}]; | ||
"permission-denied": [ | ||
'permission-denied': [ | ||
data: { | ||
@@ -54,3 +40,3 @@ deviceKind: CustomMediaDevice; | ||
]; | ||
"preferred-device-change": [ | ||
'preferred-device-change': [ | ||
data: { | ||
@@ -68,15 +54,2 @@ deviceKind: CustomMediaDevice; | ||
/** | ||
* Map of streams currently running which is managed by the Huddle01 SDK | ||
* It can also be extended to store multiple streams from the same device | ||
* | ||
* Having an array also stands as a safety check for multiple streams from the same device, | ||
* and closing all of them. | ||
* | ||
* @example | ||
* { | ||
* "deviceId": [MediaStream] | ||
* } | ||
*/ | ||
private __activeStreams; | ||
/** | ||
* User Selected Devices, If no device is selected, it will use the default device of the system | ||
@@ -98,6 +71,2 @@ * | ||
get preferredDevices(): Map<CustomMediaDevice, string | null>; | ||
getStreamOfPreferredDevice(data: { | ||
kind: Exclude<CustomMediaDevice, "speaker">; | ||
}): MediaStream | null; | ||
getStreamOfScreen(): MediaStream | null; | ||
/** | ||
@@ -134,3 +103,3 @@ * Get all the devices which are currently available in the system, also updates the `__mediaDevicesInfo` record | ||
*/ | ||
getDeviceFromFacingMode: (facing: "environment" | "user" | undefined, mediaDeviceKind: CustomMediaDevice) => MediaDeviceInfo | null; | ||
getDeviceFromFacingMode: (facing: 'environment' | 'user' | undefined, mediaDeviceKind: CustomMediaDevice) => MediaDeviceInfo | null; | ||
setPreferredDevice: (data: { | ||
@@ -150,3 +119,3 @@ deviceId: string; | ||
fetchStream: (data: { | ||
mediaDeviceKind: Exclude<CustomMediaDevice, "speaker">; | ||
mediaDeviceKind: Exclude<CustomMediaDevice, 'speaker'>; | ||
}) => Promise<FetchStreamResponse>; | ||
@@ -186,9 +155,6 @@ /** | ||
}) => Promise<{ | ||
permission: "granted" | "denied"; | ||
permission: 'granted' | 'denied'; | ||
error?: StreamPermissionsError; | ||
}>; | ||
stopStream: (data: { | ||
mediaDeviceKind: Exclude<CustomMediaDevice, "speaker">; | ||
}) => void; | ||
stopScreen: () => void; | ||
stopStream: (stream?: MediaStream) => void; | ||
destroy: () => void; | ||
@@ -195,0 +161,0 @@ /** |
import { | ||
DeviceHandler_default | ||
} from "./chunk-YYRAQC7R.js"; | ||
import "./chunk-ECJWSCEU.js"; | ||
import "./chunk-UBA4U2PP.js"; | ||
import "./chunk-YOQRRMW7.js"; | ||
import "./chunk-NZZLDVRO.js"; | ||
} from "./chunk-N7GJQWHX.js"; | ||
import "./chunk-5CUUFMPO.js"; | ||
import "./chunk-7NJ3IR37.js"; | ||
import "./chunk-EVXWMCNT.js"; | ||
import "./chunk-7OTQAFXE.js"; | ||
import "./chunk-UXIASGQL.js"; | ||
@@ -9,0 +9,0 @@ export { |
import { | ||
getMediaStreamKind, | ||
getMediaTrack | ||
} from "../chunk-OZOR2RLF.js"; | ||
} from "../chunk-GZLJOUZ3.js"; | ||
import "../chunk-UXIASGQL.js"; | ||
@@ -6,0 +6,0 @@ export { |
import { | ||
HuddleClient_default | ||
} from "./chunk-RU25E4O6.js"; | ||
import "./chunk-I5JIBRVS.js"; | ||
import "./chunk-HPL2MDFQ.js"; | ||
} from "./chunk-X7LCRQYZ.js"; | ||
import "./chunk-W4M2UGTP.js"; | ||
import "./chunk-YC5LRRV4.js"; | ||
import "./chunk-7PO7E25R.js"; | ||
import "./chunk-OZOR2RLF.js"; | ||
import "./chunk-N24AG534.js"; | ||
import "./chunk-YYRAQC7R.js"; | ||
import "./chunk-ECJWSCEU.js"; | ||
import "./chunk-UBA4U2PP.js"; | ||
import "./chunk-4VF3VETZ.js"; | ||
import "./chunk-WLSB47W7.js"; | ||
import "./chunk-PHWUOEBN.js"; | ||
import "./chunk-GZLJOUZ3.js"; | ||
import "./chunk-FE7RZJBI.js"; | ||
import "./chunk-N7GJQWHX.js"; | ||
import "./chunk-5CUUFMPO.js"; | ||
import "./chunk-7NJ3IR37.js"; | ||
import "./chunk-BHBY3EM6.js"; | ||
import "./chunk-UFKA6YHN.js"; | ||
import "./chunk-JS7I6KGI.js"; | ||
import "./chunk-PYD4CES4.js"; | ||
import "./chunk-OYKTKRTB.js"; | ||
import "./chunk-YOQRRMW7.js"; | ||
import "./chunk-NZZLDVRO.js"; | ||
import "./chunk-GAFMQRFA.js"; | ||
import "./chunk-EVXWMCNT.js"; | ||
import "./chunk-7OTQAFXE.js"; | ||
import "./chunk-UXIASGQL.js"; | ||
@@ -20,0 +20,0 @@ export { |
import { | ||
HuddleClient_default | ||
} from "./chunk-RU25E4O6.js"; | ||
} from "./chunk-X7LCRQYZ.js"; | ||
import { | ||
LocalPeer_default, | ||
RemotePeer_default | ||
} from "./chunk-I5JIBRVS.js"; | ||
} from "./chunk-W4M2UGTP.js"; | ||
import { | ||
Transport_default | ||
} from "./chunk-HPL2MDFQ.js"; | ||
} from "./chunk-YC5LRRV4.js"; | ||
import "./chunk-7PO7E25R.js"; | ||
import "./chunk-OZOR2RLF.js"; | ||
import "./chunk-GZLJOUZ3.js"; | ||
import { | ||
Consumer_default | ||
} from "./chunk-N24AG534.js"; | ||
} from "./chunk-FE7RZJBI.js"; | ||
import { | ||
DeviceHandler_default | ||
} from "./chunk-YYRAQC7R.js"; | ||
import "./chunk-ECJWSCEU.js"; | ||
import "./chunk-UBA4U2PP.js"; | ||
} from "./chunk-N7GJQWHX.js"; | ||
import "./chunk-5CUUFMPO.js"; | ||
import "./chunk-7NJ3IR37.js"; | ||
import { | ||
Room_default | ||
} from "./chunk-4VF3VETZ.js"; | ||
} from "./chunk-BHBY3EM6.js"; | ||
import { | ||
Permissions_default | ||
} from "./chunk-WLSB47W7.js"; | ||
} from "./chunk-UFKA6YHN.js"; | ||
import { | ||
Socket_default | ||
} from "./chunk-PHWUOEBN.js"; | ||
} from "./chunk-JS7I6KGI.js"; | ||
import "./chunk-PYD4CES4.js"; | ||
import "./chunk-OYKTKRTB.js"; | ||
import "./chunk-YOQRRMW7.js"; | ||
import "./chunk-NZZLDVRO.js"; | ||
import "./chunk-GAFMQRFA.js"; | ||
import "./chunk-EVXWMCNT.js"; | ||
import "./chunk-7OTQAFXE.js"; | ||
import "./chunk-UXIASGQL.js"; | ||
@@ -35,0 +35,0 @@ export { |
@@ -5,3 +5,3 @@ import { Producer, AppData } from 'mediasoup-client/lib/types'; | ||
import { ESocketCloseCode } from 'types/dist/socket.types'; | ||
import DeviceHandler from './DeviceHandler.js'; | ||
import DeviceHandler, { CustomMediaKind } from './DeviceHandler.js'; | ||
import Transport from './Transport.js'; | ||
@@ -21,7 +21,7 @@ import Consumer from './Consumer.js'; | ||
type LocalPeerEvents = { | ||
"stream-playabale": [data: { | ||
'stream-playabale': [data: { | ||
label: string; | ||
producer: Producer; | ||
}]; | ||
"stream-closed": [ | ||
'stream-closed': [ | ||
data: { | ||
@@ -31,3 +31,14 @@ label: string; | ||
]; | ||
"data-message": [data: { | ||
'stream-fetched': [ | ||
data: { | ||
mediaKind: CustomMediaKind; | ||
stream: MediaStream; | ||
label: string; | ||
} | ||
]; | ||
'stream-stopped': [data: { | ||
mediaKind: CustomMediaKind; | ||
label: string; | ||
}]; | ||
'data-message': [data: { | ||
peerId: string; | ||
@@ -37,14 +48,14 @@ label: string; | ||
}]; | ||
"receive-data": [data: TDataMessage]; | ||
'receive-data': [data: TDataMessage]; | ||
reconnected: [data: Socket]; | ||
"metadata-updated": [data: { | ||
'metadata-updated': [data: { | ||
metadata: unknown; | ||
}]; | ||
"device-created": [data: { | ||
'device-created': [data: { | ||
device: Device; | ||
}]; | ||
"new-send-transport": [data: { | ||
'new-send-transport': [data: { | ||
transport: Transport; | ||
}]; | ||
"new-recv-transport": [data: { | ||
'new-recv-transport': [data: { | ||
transport: Transport; | ||
@@ -130,2 +141,6 @@ }]; | ||
/** | ||
* ActiveStream Map holds MediaStream as Value and Key as Label | ||
*/ | ||
private __activeStreams; | ||
/** | ||
* Handle the Client Side Permission for the Local Peer. | ||
@@ -188,2 +203,8 @@ */ | ||
/** | ||
* getStream returns the stream with the given label | ||
*/ | ||
getStream: (data: { | ||
label: string; | ||
}) => MediaStream | null; | ||
/** | ||
* Updates the metadata associated to the LocalPeer, Triggers the `metadata-updated` event | ||
@@ -255,3 +276,3 @@ * @param metadata | ||
*/ | ||
enableVideo: () => Promise<void>; | ||
enableVideo: (customVideoStream?: MediaStream | undefined) => Promise<void>; | ||
/** | ||
@@ -282,3 +303,3 @@ * Enables the local screen share and starts producing the screen sharing stream | ||
*/ | ||
enableAudio: () => Promise<void>; | ||
enableAudio: (customAudioStream?: MediaStream | undefined) => Promise<void>; | ||
/** | ||
@@ -302,2 +323,4 @@ * Stops the underlying producing of a stream for a particular label | ||
disableVideo: () => Promise<void>; | ||
replaceVideoStream: (stream: MediaStream) => Promise<void>; | ||
replaceAudioStream: (stream: MediaStream) => Promise<void>; | ||
/** | ||
@@ -353,3 +376,3 @@ * Stops the underlying producing of a microphone stream, stops the local track and closes the producer | ||
sendData: (data: { | ||
to: string[] | "*"; | ||
to: string[] | '*'; | ||
payload: string; | ||
@@ -356,0 +379,0 @@ }) => void; |
import { | ||
LocalPeer_default | ||
} from "./chunk-I5JIBRVS.js"; | ||
import "./chunk-HPL2MDFQ.js"; | ||
} from "./chunk-W4M2UGTP.js"; | ||
import "./chunk-YC5LRRV4.js"; | ||
import "./chunk-7PO7E25R.js"; | ||
import "./chunk-OZOR2RLF.js"; | ||
import "./chunk-N24AG534.js"; | ||
import "./chunk-YYRAQC7R.js"; | ||
import "./chunk-ECJWSCEU.js"; | ||
import "./chunk-UBA4U2PP.js"; | ||
import "./chunk-4VF3VETZ.js"; | ||
import "./chunk-WLSB47W7.js"; | ||
import "./chunk-PHWUOEBN.js"; | ||
import "./chunk-GZLJOUZ3.js"; | ||
import "./chunk-FE7RZJBI.js"; | ||
import "./chunk-N7GJQWHX.js"; | ||
import "./chunk-5CUUFMPO.js"; | ||
import "./chunk-7NJ3IR37.js"; | ||
import "./chunk-BHBY3EM6.js"; | ||
import "./chunk-UFKA6YHN.js"; | ||
import "./chunk-JS7I6KGI.js"; | ||
import "./chunk-PYD4CES4.js"; | ||
import "./chunk-OYKTKRTB.js"; | ||
import "./chunk-YOQRRMW7.js"; | ||
import "./chunk-NZZLDVRO.js"; | ||
import "./chunk-GAFMQRFA.js"; | ||
import "./chunk-EVXWMCNT.js"; | ||
import "./chunk-7OTQAFXE.js"; | ||
import "./chunk-UXIASGQL.js"; | ||
@@ -19,0 +19,0 @@ export { |
@@ -1,2 +0,2 @@ | ||
type LogLevel = "trace" | "debug" | "info" | "warn" | "error" | "silent"; | ||
type LogLevel = 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'silent'; | ||
interface Logger { | ||
@@ -3,0 +3,0 @@ trace(...args: any[]): void; |
@@ -6,3 +6,3 @@ import { | ||
setLoggerFactory | ||
} from "./chunk-YOQRRMW7.js"; | ||
} from "./chunk-EVXWMCNT.js"; | ||
import "./chunk-UXIASGQL.js"; | ||
@@ -9,0 +9,0 @@ export { |
import { | ||
Permissions_default, | ||
checkPermissions | ||
} from "./chunk-WLSB47W7.js"; | ||
import "./chunk-YOQRRMW7.js"; | ||
import "./chunk-NZZLDVRO.js"; | ||
} from "./chunk-UFKA6YHN.js"; | ||
import "./chunk-EVXWMCNT.js"; | ||
import "./chunk-7OTQAFXE.js"; | ||
import "./chunk-UXIASGQL.js"; | ||
@@ -8,0 +8,0 @@ export { |
@@ -7,3 +7,3 @@ import Consumer from './Consumer.js'; | ||
type RemotePeerEvents = { | ||
"stream-available": [ | ||
'stream-available': [ | ||
data: { | ||
@@ -16,3 +16,3 @@ label: string; | ||
]; | ||
"stream-playable": [ | ||
'stream-playable': [ | ||
data: { | ||
@@ -23,3 +23,3 @@ label: string; | ||
]; | ||
"stream-stopped": [ | ||
'stream-stopped': [ | ||
data: { | ||
@@ -30,3 +30,3 @@ label: string; | ||
]; | ||
"stream-closed": [ | ||
'stream-closed': [ | ||
data: { | ||
@@ -36,3 +36,3 @@ label: string; | ||
]; | ||
"metadata-updated": [ | ||
'metadata-updated': [ | ||
data: { | ||
@@ -92,2 +92,14 @@ metadata: string; | ||
/** | ||
* Update the Permissions of the Remote Peer in the Room. This will emit an event `updated` with the updated permissions. | ||
*/ | ||
updatePermissions: (data: Partial<{ | ||
admin: boolean; | ||
canConsume: boolean; | ||
canProduce: boolean; | ||
canProduceSources: ("cam" | "mic" | "screen")[]; | ||
canSendData: boolean; | ||
canRecvData: boolean; | ||
canUpdateMetadata: boolean; | ||
}>) => Promise<void>; | ||
/** | ||
* Removes all the states of the remote peer and clears memory; | ||
@@ -94,0 +106,0 @@ * |
import { | ||
RemotePeer_default | ||
} from "./chunk-I5JIBRVS.js"; | ||
import "./chunk-HPL2MDFQ.js"; | ||
} from "./chunk-W4M2UGTP.js"; | ||
import "./chunk-YC5LRRV4.js"; | ||
import "./chunk-7PO7E25R.js"; | ||
import "./chunk-OZOR2RLF.js"; | ||
import "./chunk-N24AG534.js"; | ||
import "./chunk-YYRAQC7R.js"; | ||
import "./chunk-ECJWSCEU.js"; | ||
import "./chunk-UBA4U2PP.js"; | ||
import "./chunk-4VF3VETZ.js"; | ||
import "./chunk-WLSB47W7.js"; | ||
import "./chunk-PHWUOEBN.js"; | ||
import "./chunk-GZLJOUZ3.js"; | ||
import "./chunk-FE7RZJBI.js"; | ||
import "./chunk-N7GJQWHX.js"; | ||
import "./chunk-5CUUFMPO.js"; | ||
import "./chunk-7NJ3IR37.js"; | ||
import "./chunk-BHBY3EM6.js"; | ||
import "./chunk-UFKA6YHN.js"; | ||
import "./chunk-JS7I6KGI.js"; | ||
import "./chunk-PYD4CES4.js"; | ||
import "./chunk-OYKTKRTB.js"; | ||
import "./chunk-YOQRRMW7.js"; | ||
import "./chunk-NZZLDVRO.js"; | ||
import "./chunk-GAFMQRFA.js"; | ||
import "./chunk-EVXWMCNT.js"; | ||
import "./chunk-7OTQAFXE.js"; | ||
import "./chunk-UXIASGQL.js"; | ||
@@ -19,0 +19,0 @@ export { |
@@ -10,18 +10,18 @@ import { EnhancedEventEmitter } from './common-js/EnhancedEventEmitter.js'; | ||
type RoomEvents = { | ||
"room-joined": []; | ||
"room-joined-failed": [ | ||
'room-joined': []; | ||
'room-joined-failed': [ | ||
data: { | ||
message: string; | ||
status: "DENIED" | "ROOM_CLOSED" | "ROOM_NOT_FOUND" | "ROOM_ERRORED"; | ||
status: 'DENIED' | 'ROOM_CLOSED' | 'ROOM_NOT_FOUND' | 'ROOM_ERRORED'; | ||
} | ||
]; | ||
"room-closed": []; | ||
"room-left": []; | ||
"room-connecting": []; | ||
"new-peer-joined": [data: NewPeerJoined]; | ||
"lobby-peers-updated": [peerIds: string[]]; | ||
"peer-left": [peerId: string]; | ||
"room-controls-updated": [data: TNewRoomControls]; | ||
'room-closed': []; | ||
'room-left': []; | ||
'room-connecting': []; | ||
'new-peer-joined': [data: NewPeerJoined]; | ||
'lobby-peers-updated': [peerIds: string[]]; | ||
'peer-left': [peerId: string]; | ||
'room-controls-updated': [data: TNewRoomControls]; | ||
}; | ||
type RoomStates = "idle" | "connecting" | "connected" | "failed" | "left" | "closed"; | ||
type RoomStates = 'idle' | 'connecting' | 'connected' | 'failed' | 'left' | 'closed'; | ||
declare class Room extends EnhancedEventEmitter<RoomEvents> { | ||
@@ -105,4 +105,4 @@ /** | ||
*/ | ||
get config(): TRoomInfo["config"]; | ||
set config(config: TRoomInfo["config"]); | ||
get config(): TRoomInfo['config']; | ||
set config(config: TRoomInfo['config']); | ||
/** | ||
@@ -109,0 +109,0 @@ * Remote Peers Map, Stores all the remote peers |
import { | ||
Room_default | ||
} from "./chunk-4VF3VETZ.js"; | ||
import "./chunk-WLSB47W7.js"; | ||
import "./chunk-PHWUOEBN.js"; | ||
} from "./chunk-BHBY3EM6.js"; | ||
import "./chunk-UFKA6YHN.js"; | ||
import "./chunk-JS7I6KGI.js"; | ||
import "./chunk-PYD4CES4.js"; | ||
import "./chunk-OYKTKRTB.js"; | ||
import "./chunk-YOQRRMW7.js"; | ||
import "./chunk-NZZLDVRO.js"; | ||
import "./chunk-GAFMQRFA.js"; | ||
import "./chunk-EVXWMCNT.js"; | ||
import "./chunk-7OTQAFXE.js"; | ||
import "./chunk-UXIASGQL.js"; | ||
@@ -11,0 +11,0 @@ export { |
@@ -19,4 +19,4 @@ import { ClientToSushiEvents } from 'types/dist/clientToSushiEvents.types'; | ||
reconnected: []; | ||
"region-updated": [region: string]; | ||
"token-updated": [token: string]; | ||
'region-updated': [region: string]; | ||
'token-updated': [token: string]; | ||
}; | ||
@@ -23,0 +23,0 @@ type MessagePayload<T = SushiToClientEvents> = { |
import { | ||
Socket_default | ||
} from "./chunk-PHWUOEBN.js"; | ||
} from "./chunk-JS7I6KGI.js"; | ||
import "./chunk-PYD4CES4.js"; | ||
import "./chunk-OYKTKRTB.js"; | ||
import "./chunk-YOQRRMW7.js"; | ||
import "./chunk-NZZLDVRO.js"; | ||
import "./chunk-GAFMQRFA.js"; | ||
import "./chunk-EVXWMCNT.js"; | ||
import "./chunk-7OTQAFXE.js"; | ||
import "./chunk-UXIASGQL.js"; | ||
@@ -9,0 +9,0 @@ export { |
@@ -79,3 +79,3 @@ import * as mediasoup from 'mediasoup-client'; | ||
*/ | ||
connectionState: "connected" | "disconnected" | "failed" | "reconnecting" | "connecting"; | ||
connectionState: 'connected' | 'disconnected' | 'failed' | 'reconnecting' | 'connecting'; | ||
get device(): mediasoup.types.Device; | ||
@@ -82,0 +82,0 @@ get mediasoupTransport(): mediasoup.types.Transport<mediasoup.types.AppData>; |
import { | ||
Transport_default | ||
} from "./chunk-HPL2MDFQ.js"; | ||
} from "./chunk-YC5LRRV4.js"; | ||
import "./chunk-7PO7E25R.js"; | ||
import "./chunk-OZOR2RLF.js"; | ||
import "./chunk-N24AG534.js"; | ||
import "./chunk-UBA4U2PP.js"; | ||
import "./chunk-PHWUOEBN.js"; | ||
import "./chunk-GZLJOUZ3.js"; | ||
import "./chunk-FE7RZJBI.js"; | ||
import "./chunk-7NJ3IR37.js"; | ||
import "./chunk-JS7I6KGI.js"; | ||
import "./chunk-PYD4CES4.js"; | ||
import "./chunk-OYKTKRTB.js"; | ||
import "./chunk-YOQRRMW7.js"; | ||
import "./chunk-NZZLDVRO.js"; | ||
import "./chunk-GAFMQRFA.js"; | ||
import "./chunk-EVXWMCNT.js"; | ||
import "./chunk-7OTQAFXE.js"; | ||
import "./chunk-UXIASGQL.js"; | ||
@@ -14,0 +14,0 @@ export { |
@@ -7,3 +7,3 @@ import RemotePeer from '../RemotePeer.js'; | ||
type ConnectionState = "uninitialized" | "connecting" | "connected" | "failed" | "closed"; | ||
type ConnectionState = 'uninitialized' | 'connecting' | 'connected' | 'failed' | 'closed'; | ||
type NewPeerJoined = { | ||
@@ -10,0 +10,0 @@ peer: RemotePeer; |
import "../chunk-PYD4CES4.js"; | ||
import { | ||
ConnectionParameterSchema | ||
} from "../chunk-OYKTKRTB.js"; | ||
} from "../chunk-GAFMQRFA.js"; | ||
import "../chunk-UXIASGQL.js"; | ||
@@ -6,0 +6,0 @@ |
import { | ||
ConnectionParameterSchema, | ||
GeolocationSchema | ||
} from "../chunk-OYKTKRTB.js"; | ||
} from "../chunk-GAFMQRFA.js"; | ||
import "../chunk-UXIASGQL.js"; | ||
@@ -6,0 +6,0 @@ export { |
@@ -5,3 +5,3 @@ import "../chunk-PYD4CES4.js"; | ||
GeolocationSchema | ||
} from "../chunk-OYKTKRTB.js"; | ||
} from "../chunk-GAFMQRFA.js"; | ||
import "../chunk-UXIASGQL.js"; | ||
@@ -8,0 +8,0 @@ export { |
{ | ||
"name": "@huddle01/web-core", | ||
"version": "1.0.0-alpha.17", | ||
"version": "1.0.0-alpha.18", | ||
"description": "", | ||
@@ -8,6 +8,3 @@ "type": "module", | ||
"types": "dist/index.d.ts", | ||
"files": [ | ||
"dist", | ||
"types.d.ts" | ||
], | ||
"files": ["dist", "types.d.ts"], | ||
"scripts": { | ||
@@ -14,0 +11,0 @@ "build": "rm -rf dist && tsup", |
@@ -1,1 +0,1 @@ | ||
export * from "./dist/types"; | ||
export * from './dist/types'; |
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
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
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
463093
6451
3