@huddle01/web-core
Advanced tools
Comparing version 1.0.0-alpha.15 to 1.0.0-alpha.16
@@ -63,2 +63,3 @@ import { EnhancedEventEmitter } from './common-js/EnhancedEventEmitter.js'; | ||
declare class DeviceHandler extends EnhancedEventEmitter<DeviceHandlerEvents> { | ||
readonly SCREEN_DEFAULT_DEVICE: string; | ||
/** | ||
@@ -76,3 +77,2 @@ * Map of streams currently running which is managed by the Huddle01 SDK | ||
*/ | ||
readonly SCREEN_DEFAULT_DEVICE: string; | ||
private __activeStreams; | ||
@@ -173,14 +173,2 @@ /** | ||
/** | ||
* @description Check the permission for the given type | ||
* @param data `{ type: 'cam' | 'mic' | 'speaker' }` ( `IMediaDeviceType` ) | ||
* @returns { hasPermission: boolean, error?: StreamPermissionsError } | ||
* @example await checkPermission({ type: 'cam' }) | ||
*/ | ||
checkPermission: (data: { | ||
mediaDeviceKind: CustomMediaDevice; | ||
}) => Promise<{ | ||
hasPermission: boolean; | ||
error?: StreamPermissionsError | undefined; | ||
}>; | ||
/** | ||
* @description Get the media permission for the given type | ||
@@ -187,0 +175,0 @@ * @param data { type: 'video' | 'audio' } |
import { | ||
DeviceHandler_default | ||
} from "./chunk-MFQPKMZ4.js"; | ||
} from "./chunk-EQKIDG3Z.js"; | ||
import "./chunk-ECJWSCEU.js"; | ||
@@ -5,0 +5,0 @@ import "./chunk-UBA4U2PP.js"; |
import { | ||
HuddleClient_default | ||
} from "./chunk-KSCEITDD.js"; | ||
import "./chunk-PHXYFQOO.js"; | ||
} from "./chunk-KCMKV5S6.js"; | ||
import "./chunk-VODZB643.js"; | ||
import "./chunk-HPL2MDFQ.js"; | ||
@@ -9,3 +9,3 @@ import "./chunk-7PO7E25R.js"; | ||
import "./chunk-N24AG534.js"; | ||
import "./chunk-MFQPKMZ4.js"; | ||
import "./chunk-EQKIDG3Z.js"; | ||
import "./chunk-ECJWSCEU.js"; | ||
@@ -12,0 +12,0 @@ import "./chunk-UBA4U2PP.js"; |
import { | ||
HuddleClient_default | ||
} from "./chunk-KSCEITDD.js"; | ||
} from "./chunk-KCMKV5S6.js"; | ||
import { | ||
LocalPeer_default, | ||
RemotePeer_default | ||
} from "./chunk-PHXYFQOO.js"; | ||
} from "./chunk-VODZB643.js"; | ||
import { | ||
@@ -18,3 +18,3 @@ Transport_default | ||
DeviceHandler_default | ||
} from "./chunk-MFQPKMZ4.js"; | ||
} from "./chunk-EQKIDG3Z.js"; | ||
import "./chunk-ECJWSCEU.js"; | ||
@@ -21,0 +21,0 @@ import "./chunk-UBA4U2PP.js"; |
@@ -93,3 +93,3 @@ import { Producer, AppData } from 'mediasoup-client/lib/types'; | ||
*/ | ||
private readonly __turn; | ||
private __turn; | ||
/** | ||
@@ -149,3 +149,3 @@ * Get the current device ( chrome, firefox, safari, reactnative ) for this client | ||
canProduce: boolean; | ||
canProduceSources: ("cam" | "mic" | "screen")[]; | ||
canProduceSources: ("mic" | "cam" | "screen")[]; | ||
canSendData: boolean; | ||
@@ -250,3 +250,2 @@ canRecvData: boolean; | ||
* @throws { Error } If the stream is not found | ||
* @throws { Error } If the stream is already being produced | ||
*/ | ||
@@ -253,0 +252,0 @@ enableVideo: () => Promise<void>; |
import { | ||
LocalPeer_default | ||
} from "./chunk-PHXYFQOO.js"; | ||
} from "./chunk-VODZB643.js"; | ||
import "./chunk-HPL2MDFQ.js"; | ||
@@ -8,3 +8,3 @@ import "./chunk-7PO7E25R.js"; | ||
import "./chunk-N24AG534.js"; | ||
import "./chunk-MFQPKMZ4.js"; | ||
import "./chunk-EQKIDG3Z.js"; | ||
import "./chunk-ECJWSCEU.js"; | ||
@@ -11,0 +11,0 @@ import "./chunk-UBA4U2PP.js"; |
import { | ||
RemotePeer_default | ||
} from "./chunk-PHXYFQOO.js"; | ||
} from "./chunk-VODZB643.js"; | ||
import "./chunk-HPL2MDFQ.js"; | ||
@@ -8,3 +8,3 @@ import "./chunk-7PO7E25R.js"; | ||
import "./chunk-N24AG534.js"; | ||
import "./chunk-MFQPKMZ4.js"; | ||
import "./chunk-EQKIDG3Z.js"; | ||
import "./chunk-ECJWSCEU.js"; | ||
@@ -11,0 +11,0 @@ import "./chunk-UBA4U2PP.js"; |
{ | ||
"name": "@huddle01/web-core", | ||
"version": "1.0.0-alpha.15", | ||
"version": "1.0.0-alpha.16", | ||
"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", |
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
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
2
460729
6426