@jitsi/react-sdk
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -38,3 +38,4 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime"; | ||
const loadIFrame = useCallback((JitsiMeetExternalAPI) => { | ||
apiRef.current = new JitsiMeetExternalAPI(domain, Object.assign(Object.assign({ roomName, | ||
apiRef.current = new JitsiMeetExternalAPI(domain, { | ||
roomName, | ||
configOverwrite, | ||
@@ -45,3 +46,6 @@ interfaceConfigOverwrite, | ||
devices, | ||
userInfo }, release ? { release: `release-${release}` } : {}), { parentNode: meetingRef.current })); | ||
userInfo, | ||
release, | ||
parentNode: meetingRef.current | ||
}); | ||
setLoading(false); | ||
@@ -48,0 +52,0 @@ if (apiRef.current) { |
@@ -10,5 +10,5 @@ import { JitsiMeetExternalApi } from './types'; | ||
* @param {string} domain - The domain of the external API | ||
* @param {string} release - The Jitsi Meet release | ||
* @param {string} release - The Jitsi Meet release. Expected format: 'release-1234' | ||
* @returns {Promise<JitsiMeetExternalApi>} - The JitsiMeetExternalAPI or an error | ||
*/ | ||
export declare const fetchExternalApi: (domain?: string, release?: string | undefined) => Promise<JitsiMeetExternalApi>; |
@@ -17,3 +17,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
const script = document.createElement('script'); | ||
const releaseParam = release ? `?release=release-${release}` : ''; | ||
const releaseParam = release ? `?release=${release}` : ''; | ||
script.async = true; | ||
@@ -35,3 +35,3 @@ script.src = `https://${domain}/external_api.js${releaseParam}`; | ||
* @param {string} domain - The domain of the external API | ||
* @param {string} release - The Jitsi Meet release | ||
* @param {string} release - The Jitsi Meet release. Expected format: 'release-1234' | ||
* @returns {Promise<JitsiMeetExternalApi>} - The JitsiMeetExternalAPI or an error | ||
@@ -38,0 +38,0 @@ */ |
@@ -61,2 +61,3 @@ import React from 'react'; | ||
* The `stage.8x8.vc` or `8x8.vc` release version to test. | ||
* Expects the following format: `release-1234`. | ||
*/ | ||
@@ -63,0 +64,0 @@ release?: string; |
@@ -78,3 +78,3 @@ import { IJitsiMeetExternalApi } from '.'; | ||
* The `stage.8x8.vc` or `8x8.vc` release version to test. | ||
* Expects the following format: `release-${string}`. | ||
* Expects the following format: `release-1234`. | ||
*/ | ||
@@ -81,0 +81,0 @@ release?: string; |
{ | ||
"name": "@jitsi/react-sdk", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "React SDK for the Jitsi Meet IFrame", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -97,3 +97,3 @@ # Jitsi Meet React SDK | ||
###### `release` | ||
Optional. Information regarding the `stage.8x8.vc` or `8x8.vc` release version. | ||
Optional. Information regarding the `stage.8x8.vc` or `8x8.vc` release version. Expects the following format: `release-1234`. | ||
@@ -100,0 +100,0 @@ ###### `spinner` |
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
40896
727