@jitsi/react-sdk
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -19,3 +19,3 @@ import { ReactElement } from 'react'; | ||
*/ | ||
declare const JaaSMeeting: ({ appId, roomName, useStaging, ...rest }: IJaaSMeetingProps) => ReactElement; | ||
declare const JaaSMeeting: ({ appId, roomName, useStaging, release, ...rest }: IJaaSMeetingProps) => ReactElement; | ||
export default JaaSMeeting; |
@@ -32,5 +32,5 @@ var __rest = (this && this.__rest) || function (s, e) { | ||
const JaaSMeeting = (_a) => { | ||
var { appId, roomName, useStaging } = _a, rest = __rest(_a, ["appId", "roomName", "useStaging"]); | ||
return (_jsx(JitsiMeeting, Object.assign({ domain: getJaaSDomain(useStaging), roomName: getRoomName(roomName, appId) }, rest), void 0)); | ||
var { appId, roomName, useStaging, release } = _a, rest = __rest(_a, ["appId", "roomName", "useStaging", "release"]); | ||
return (_jsx(JitsiMeeting, Object.assign({ domain: getJaaSDomain(useStaging), roomName: getRoomName(roomName, appId), release: release }, rest), void 0)); | ||
}; | ||
export default JaaSMeeting; |
@@ -19,3 +19,3 @@ import { ReactElement } from 'react'; | ||
*/ | ||
declare const JitsiMeeting: ({ domain, roomName, configOverwrite, interfaceConfigOverwrite, jwt, invitees, devices, userInfo, spinner: Spinner, onApiReady, onReadyToClose, getIFrameRef }: IJitsiMeetingProps) => ReactElement; | ||
declare const JitsiMeeting: ({ domain, roomName, configOverwrite, interfaceConfigOverwrite, jwt, invitees, devices, userInfo, release, spinner: Spinner, onApiReady, onReadyToClose, getIFrameRef }: IJitsiMeetingProps) => ReactElement; | ||
export default JitsiMeeting; |
@@ -22,3 +22,3 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime"; | ||
*/ | ||
const JitsiMeeting = ({ domain = DEFAULT_DOMAIN, roomName, configOverwrite, interfaceConfigOverwrite, jwt, invitees, devices, userInfo, spinner: Spinner, onApiReady, onReadyToClose, getIFrameRef }) => { | ||
const JitsiMeeting = ({ domain = DEFAULT_DOMAIN, roomName, configOverwrite, interfaceConfigOverwrite, jwt, invitees, devices, userInfo, release, spinner: Spinner, onApiReady, onReadyToClose, getIFrameRef }) => { | ||
const [componentId, setComponentId] = useState(''); | ||
@@ -48,2 +48,3 @@ const [loading, setLoading] = useState(true); | ||
userInfo, | ||
release, | ||
parentNode: meetingRef.current | ||
@@ -50,0 +51,0 @@ }); |
@@ -60,2 +60,7 @@ import React from 'react'; | ||
/** | ||
* The `stage.8x8.vc` or `8x8.vc` release version to test. | ||
* Expects the following format: `release-${number}`. | ||
*/ | ||
release?: string; | ||
/** | ||
* The custom spinner to be displayed while the iframe is loading. | ||
@@ -62,0 +67,0 @@ */ |
@@ -77,2 +77,7 @@ import { IJitsiMeetExternalApi } from '.'; | ||
/** | ||
* The `stage.8x8.vc` or `8x8.vc` release version to test. | ||
* Expects the following format: `release-${number}`. | ||
*/ | ||
release?: string; | ||
/** | ||
* The HTML DOM Element where the IFrame is added as a child. | ||
@@ -79,0 +84,0 @@ */ |
{ | ||
"name": "@jitsi/react-sdk", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "React SDK for the Jitsi Meet IFrame", | ||
@@ -13,3 +13,3 @@ "main": "lib/index.js", | ||
"watch": "watch 'npm run build' src", | ||
"demo": "npm run build && cd ./example/jitsiMeeting && npm i && npm start" | ||
"demo": "npm run build && cd ./example && npm i && npm start" | ||
}, | ||
@@ -16,0 +16,0 @@ "repository": { |
@@ -96,2 +96,5 @@ # Jitsi Meet React SDK | ||
###### `release` | ||
Optional. Information regarding the `stage.8x8.vc` or `8x8.vc` release version. Expects the following format: `release-${number}`. | ||
###### `spinner` | ||
@@ -98,0 +101,0 @@ Optional. Custom loading view while the IFrame is loading. |
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
40306
719
107