@huddle01/iframe
Advanced tools
Comparing version 0.0.13 to 0.0.14-dev.0
import HuddleIframe from './components/HuddleIframe'; | ||
import { IColorScheme, THuddleEventsMap, TLivestreamInput, TReaction } from './types'; | ||
import { IColorScheme, THuddleEventsMap, TReaction } from './types'; | ||
declare class IFrameApi { | ||
@@ -31,3 +31,7 @@ initialize: (eventData: Partial<{ | ||
stopRecording: () => void; | ||
startLiveStreaming: (eventData: TLivestreamInput) => void; | ||
startLiveStreaming: (eventData: { | ||
streamKey: string; | ||
streamUrl: string; | ||
recordLivestream: boolean; | ||
}) => void; | ||
stopLiveStreaming: () => void; | ||
@@ -34,0 +38,0 @@ } |
@@ -126,9 +126,2 @@ import { TRecData, TRejectReasons } from 'types/dist/common.types'; | ||
export declare const lightTheme: IColorScheme; | ||
type TStreamKey = { | ||
streamKey: string; | ||
}; | ||
export type TOmitLivepeerInput = Omit<TLivepeerInput, 'roomId' | 'type' | 'hostName'>; | ||
export type TOmitTokenGatedLivepeerInput = Omit<TTokenGatedLivepeerInput, 'roomId' | 'type' | 'hostName'> & TStreamKey; | ||
export type TOmitOthersInput = Omit<TOthersInput, 'roomId' | 'type' | 'hostName'> & TStreamKey; | ||
export type TLivestreamInput = TOmitLivepeerInput | TOmitTokenGatedLivepeerInput | TOmitOthersInput; | ||
export {}; |
{ | ||
"name": "@huddle01/iframe", | ||
"version": "0.0.13", | ||
"version": "0.0.14-dev.0", | ||
"description": "", | ||
@@ -34,3 +34,3 @@ "main": "dist/huddle01-iframe.cjs.js", | ||
"@babel/preset-typescript": "^7.18.6", | ||
"@huddle01/server-sdk": "1.0.0-alpha.25", | ||
"@huddle01/server-sdk": "2.1.0", | ||
"@preconstruct/cli": "^2.3.0", | ||
@@ -37,0 +37,0 @@ "@types/react": "^18.2.6", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
673264
2889