@100mslive/roomkit-react 0.2.7-alpha.2 → 0.2.7-alpha.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-DQJBCEW4.js → HLSView-NDCESLVD.js} +2 -2
- package/dist/{chunk-GEXL6KL2.js → chunk-AGREPSFA.js} +111 -94
- package/dist/{chunk-GEXL6KL2.js.map → chunk-AGREPSFA.js.map} +3 -3
- package/dist/index.cjs.js +108 -93
- package/dist/index.cjs.js.map +3 -3
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +30 -20
- package/dist/meta.esbuild.json +36 -26
- package/package.json +6 -6
- package/src/Prebuilt/components/AppData/useUISettings.js +1 -1
- package/src/Prebuilt/components/AudioVideoToggle.tsx +31 -27
- package/src/Prebuilt/components/Notifications/HandRaisedNotifications.tsx +4 -8
- package/src/Prebuilt/components/Notifications/Notifications.tsx +15 -2
- package/src/Prebuilt/components/ScreenShareToggle.jsx +5 -3
- /package/dist/{HLSView-DQJBCEW4.js.map → HLSView-NDCESLVD.js.map} +0 -0
package/dist/index.cjs.js
CHANGED
@@ -10,18 +10,18 @@ var __getProtoOf = Object.getPrototypeOf;
|
|
10
10
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
11
11
|
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
12
12
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
13
|
-
var __spreadValues = (a2,
|
14
|
-
for (var prop in
|
15
|
-
if (__hasOwnProp.call(
|
16
|
-
__defNormalProp(a2, prop,
|
13
|
+
var __spreadValues = (a2, b2) => {
|
14
|
+
for (var prop in b2 || (b2 = {}))
|
15
|
+
if (__hasOwnProp.call(b2, prop))
|
16
|
+
__defNormalProp(a2, prop, b2[prop]);
|
17
17
|
if (__getOwnPropSymbols)
|
18
|
-
for (var prop of __getOwnPropSymbols(
|
19
|
-
if (__propIsEnum.call(
|
20
|
-
__defNormalProp(a2, prop,
|
18
|
+
for (var prop of __getOwnPropSymbols(b2)) {
|
19
|
+
if (__propIsEnum.call(b2, prop))
|
20
|
+
__defNormalProp(a2, prop, b2[prop]);
|
21
21
|
}
|
22
22
|
return a2;
|
23
23
|
};
|
24
|
-
var __spreadProps = (a2,
|
24
|
+
var __spreadProps = (a2, b2) => __defProps(a2, __getOwnPropDescs(b2));
|
25
25
|
var __objRest = (source, exclude) => {
|
26
26
|
var target = {};
|
27
27
|
for (var prop in source)
|
@@ -108,7 +108,7 @@ var __async = (__this, __arguments, generator) => {
|
|
108
108
|
var define_process_env_default;
|
109
109
|
var init_define_process_env = __esm({
|
110
110
|
"<define:process.env>"() {
|
111
|
-
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_a0851a66-8056-4913-9f79-2e9e713684ed", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.21 npm/? node/v18.19.0 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.9.7-alpha.2", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_a0851a66-8056-4913-9f79-2e9e713684ed", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.0/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.12.7-alpha.2", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.7", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.6", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.1.10909125", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "594", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_devDependencies__rollup_plugin_image: "^3.0.2", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.7/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240212.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.0/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.0-alpha.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:18876", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__rollup_plugin_commonjs: "^21.0.3", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.2.7-alpha.2", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "7972979006", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "4098033b045e93a14929ec5f7480ca9463bbf59b", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "1b12696f67116353b51de59f658eebb5c2cdc5b50d7adf1fd8dd815873c30733", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1708429944195-0.13170405254653716:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1708429943996-0.7689644007613232:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1708429922117-0.6698383679870263:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1708429921937-0.679126605579564:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.19.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_7eb9a3c3-8b56-460e-8770-ed57f441e5a1", INVOCATION_ID: "9bfd650d8c564d87a52fdc66e02cf5ab", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", GOROOT_1_19_X64: "/opt/hostedtoolcache/go/1.19.13/x64", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "442", GITHUB_TRIGGERING_ACTOR: "KaustubhKumar05", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 487", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_devDependencies_rollup_plugin_import_css: "^3.3.1", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.9.7-alpha.2", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.2.7-alpha.2", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "4098033b045e93a14929ec5f7480ca9463bbf59b", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "KaustubhKumar05", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_a0851a66-8056-4913-9f79-2e9e713684ed", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "57426646", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.1-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_a0851a66-8056-4913-9f79-2e9e713684ed", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_a0851a66-8056-4913-9f79-2e9e713684ed" };
|
111
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_6a269208-7fd8-416d-b3d5-74914386c675", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.21 npm/? node/v18.19.0 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.9.7-alpha.3", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_6a269208-7fd8-416d-b3d5-74914386c675", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.0/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.12.7-alpha.3", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.7", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.6", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.1.10909125", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "594", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_devDependencies__rollup_plugin_image: "^3.0.2", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.7/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240212.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.0/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.0-alpha.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:19664", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__rollup_plugin_commonjs: "^21.0.3", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.2.7-alpha.3", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "7974353237", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "696d255e5bbde485a185ef420c2f00fefdb85426", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "5005a786d499af9d6c35142526e2e992df9849137903272a7d88469192e0e582", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1708436194527-0.9508270279083462:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1708436194331-0.8119815297394637:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1708436172474-0.3832567401059286:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1708436172296-0.06163994155577224:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.19.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_6bc63913-2d7b-4d0d-8381-8b0c1ac3ce8f", INVOCATION_ID: "dd170ba13a07460c8f5045474160b433", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", GOROOT_1_19_X64: "/opt/hostedtoolcache/go/1.19.13/x64", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "443", GITHUB_TRIGGERING_ACTOR: "KaustubhKumar05", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 322", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_devDependencies_rollup_plugin_import_css: "^3.3.1", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.9.7-alpha.3", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.2.7-alpha.3", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "696d255e5bbde485a185ef420c2f00fefdb85426", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "KaustubhKumar05", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_6a269208-7fd8-416d-b3d5-74914386c675", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "57426646", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.1-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_6a269208-7fd8-416d-b3d5-74914386c675", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_6a269208-7fd8-416d-b3d5-74914386c675" };
|
112
112
|
}
|
113
113
|
});
|
114
114
|
|
@@ -3869,7 +3869,7 @@ var init_useUISettings = __esm({
|
|
3869
3869
|
};
|
3870
3870
|
useSubscribedNotifications = (notificationKey) => {
|
3871
3871
|
const notificationPreference = (0, import_react_sdk6.useHMSStore)((0, import_react_sdk6.selectAppDataByPath)(APP_DATA.subscribedNotifications, notificationKey));
|
3872
|
-
return notificationPreference
|
3872
|
+
return notificationPreference;
|
3873
3873
|
};
|
3874
3874
|
useIsNotificationDisabled = () => {
|
3875
3875
|
const notificationPreference = (0, import_react_sdk6.useHMSStore)((0, import_react_sdk6.selectAppDataByPath)(APP_DATA.disableNotifications));
|
@@ -9742,12 +9742,12 @@ var init_utils2 = __esm({
|
|
9742
9742
|
const hour = hours !== 0 ? `${hours < 10 ? "0" : ""}${hours}:` : "";
|
9743
9743
|
return `${hour}${minutes < 10 ? "0" : ""}${minutes}:${seconds < 10 ? "0" : ""}${seconds}`;
|
9744
9744
|
};
|
9745
|
-
compareArrays = (a2,
|
9746
|
-
if (a2.length !==
|
9745
|
+
compareArrays = (a2, b2) => {
|
9746
|
+
if (a2.length !== b2.length)
|
9747
9747
|
return false;
|
9748
9748
|
else {
|
9749
9749
|
for (var i = 0; i < a2.length; i++) {
|
9750
|
-
if (a2[i] !==
|
9750
|
+
if (a2[i] !== b2[i]) {
|
9751
9751
|
return false;
|
9752
9752
|
}
|
9753
9753
|
}
|
@@ -11249,6 +11249,7 @@ var init_AudioVideoToggle = __esm({
|
|
11249
11249
|
const [active, setActive] = (0, import_react44.useState)(isPluginAdded);
|
11250
11250
|
const [inProgress, setInProgress] = (0, import_react44.useState)(false);
|
11251
11251
|
const actions = (0, import_react_sdk13.useHMSActions)();
|
11252
|
+
const room = (0, import_react_sdk13.useHMSStore)(import_react_sdk13.selectRoom);
|
11252
11253
|
(0, import_react44.useEffect)(() => {
|
11253
11254
|
(() => __async(void 0, null, function* () {
|
11254
11255
|
setInProgress(true);
|
@@ -11261,10 +11262,10 @@ var init_AudioVideoToggle = __esm({
|
|
11261
11262
|
setInProgress(false);
|
11262
11263
|
}))();
|
11263
11264
|
}, [actions, active, isPluginAdded]);
|
11264
|
-
if (!plugin.isSupported() || !localPeerAudioTrackID) {
|
11265
|
+
if (!plugin.isSupported() || !room.isNoiseCancellationEnabled || !localPeerAudioTrackID) {
|
11265
11266
|
return null;
|
11266
11267
|
}
|
11267
|
-
return /* @__PURE__ */ import_react44.default.createElement(
|
11268
|
+
return /* @__PURE__ */ import_react44.default.createElement(import_react44.default.Fragment, null, /* @__PURE__ */ import_react44.default.createElement(
|
11268
11269
|
Dropdown.Item,
|
11269
11270
|
{
|
11270
11271
|
css: {
|
@@ -11291,7 +11292,7 @@ var init_AudioVideoToggle = __esm({
|
|
11291
11292
|
}
|
11292
11293
|
}
|
11293
11294
|
)
|
11294
|
-
);
|
11295
|
+
), /* @__PURE__ */ import_react44.default.createElement(Dropdown.ItemSeparator, { css: { mx: 0 } }));
|
11295
11296
|
};
|
11296
11297
|
AudioOutputLabel = ({ deviceId }) => {
|
11297
11298
|
const { playing, setPlaying, audioRef } = useAudioOutputTest({ deviceId });
|
@@ -11387,7 +11388,6 @@ var init_AudioVideoToggle = __esm({
|
|
11387
11388
|
))),
|
11388
11389
|
/* @__PURE__ */ import_react44.default.createElement(Dropdown.ItemSeparator, { css: { mx: 0 } }),
|
11389
11390
|
/* @__PURE__ */ import_react44.default.createElement(NoiseCancellation, null),
|
11390
|
-
/* @__PURE__ */ import_react44.default.createElement(Dropdown.ItemSeparator, { css: { mx: 0 } }),
|
11391
11391
|
/* @__PURE__ */ import_react44.default.createElement(AudioSettings, { onClick: () => setShowSettings(true) })
|
11392
11392
|
) : null, toggleVideo ? /* @__PURE__ */ import_react44.default.createElement(
|
11393
11393
|
IconButtonWithOptions,
|
@@ -13769,8 +13769,8 @@ var init_DesktopOptions = __esm({
|
|
13769
13769
|
});
|
13770
13770
|
|
13771
13771
|
// ../../node_modules/reselect/es/index.js
|
13772
|
-
function defaultEqualityCheck(a2,
|
13773
|
-
return a2 ===
|
13772
|
+
function defaultEqualityCheck(a2, b2) {
|
13773
|
+
return a2 === b2;
|
13774
13774
|
}
|
13775
13775
|
function areArgumentsShallowlyEqual(equalityCheck, prev, next) {
|
13776
13776
|
if (prev === null || next === null || prev.length !== next.length) {
|
@@ -16314,9 +16314,9 @@ function shimGetUserMedia(window2, browserDetails) {
|
|
16314
16314
|
}
|
16315
16315
|
constraints = JSON.parse(JSON.stringify(constraints));
|
16316
16316
|
if (constraints && typeof constraints.audio === "object") {
|
16317
|
-
const remap = function(obj, a2,
|
16318
|
-
if (a2 in obj && !(
|
16319
|
-
obj[
|
16317
|
+
const remap = function(obj, a2, b2) {
|
16318
|
+
if (a2 in obj && !(b2 in obj)) {
|
16319
|
+
obj[b2] = obj[a2];
|
16320
16320
|
delete obj[a2];
|
16321
16321
|
}
|
16322
16322
|
};
|
@@ -17076,9 +17076,9 @@ function shimGetUserMedia2(window2, browserDetails) {
|
|
17076
17076
|
navigator2.mediaDevices.getUserMedia(constraints).then(onSuccess, onError);
|
17077
17077
|
};
|
17078
17078
|
if (!(browserDetails.version > 55 && "autoGainControl" in navigator2.mediaDevices.getSupportedConstraints())) {
|
17079
|
-
const remap = function(obj, a2,
|
17080
|
-
if (a2 in obj && !(
|
17081
|
-
obj[
|
17079
|
+
const remap = function(obj, a2, b2) {
|
17080
|
+
if (a2 in obj && !(b2 in obj)) {
|
17081
|
+
obj[b2] = obj[a2];
|
17082
17082
|
delete obj[a2];
|
17083
17083
|
}
|
17084
17084
|
};
|
@@ -19555,7 +19555,7 @@ function rt(a2) {
|
|
19555
19555
|
let e = false, t = false, i = false;
|
19556
19556
|
return (r = a2 == null ? void 0 : a2.publishParams) != null && r.allowed && (e = a2.publishParams.allowed.includes("video"), t = a2.publishParams.allowed.includes("audio"), i = a2.publishParams.allowed.includes("screen")), { video: e, audio: t, screen: i };
|
19557
19557
|
}
|
19558
|
-
function
|
19558
|
+
function b(a2) {
|
19559
19559
|
return (e) => (t) => a2(t, e);
|
19560
19560
|
}
|
19561
19561
|
function Oa() {
|
@@ -19596,7 +19596,7 @@ function Xh(a2) {
|
|
19596
19596
|
return a2 ? e.sessionStore[a2] : e.sessionStore;
|
19597
19597
|
};
|
19598
19598
|
}
|
19599
|
-
var import_lodash3, import_uuid3, import_uuid4, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, Rt, import_eventemitter24, import_uuid9, import_uuid10, ga, Ta, fa, Ot, Fr, Gr, Br, m, P, Qi, ya, c, nr, zi, Pa, $r, Yi, Wr, V, Ea, kn, En, G, Bt, jr, w, Xi,
|
19599
|
+
var import_lodash3, import_uuid3, import_uuid4, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, Rt, import_eventemitter24, import_uuid9, import_uuid10, ga, Ta, fa, Ot, Fr, Gr, Br, m, P, Qi, ya, c, nr, zi, Pa, $r, Yi, Wr, V, Ea, kn, En, G, Bt, jr, w, Xi, ba, Pe, In, Aa, ae, Ia, Q, pe, Rn, Hn, Z, K, Ra, Qr, Cn, Ln, er, Ha, Dn, _n, Nn, On, xn, Un, Vn, Bn, st, Ca, Fn, z, Yr, Gn, oe, $n, Ft, La, Xr, Wn, Zr, Kn, qn, jn, Jn, Qn, zn, Yn, Xn, es, ic, wa, rc, is, tr, rs, ss, as, os, ns, cs, ds, ls, us, Da, d, he, N, ps, Ce, Na, uc, hs, Ss, gs, Ve, v, f, xa, h, sr, Ts, ne, fs, Ms, ys, R, M, dr, q, lr, ur, bs, As, pr, Cs, hr, Ls, Sr, mr, _s, Ns, Je, ht, y, br, St, Gs, no, co, j, Ar, lo, uo, po, ho, So, J, Yh, eS, si, $s, tS, iS, rS, mo, go, aS, Ws, oS, To, nS, cS, dS, lS, uS, pS, Ks, qs, SS, mS, js, gS, TS, Js, fS, vS, MS, Qs, zs, fo, vo, Mo, yS, PS, kS, ES, bS, Ys, OS, yo, xS, US, VS, ko, Eo, Lr, fe, $, xi, Ki, Wo, Ko, qo, jo, Sa, Jo, ma, xr, Me, Qo, zo, Yo, Xo, Zo, en, tn, rn, sn, an, Ur, on, nn, cn, dn, ln, un;
|
19600
19600
|
var init_dist = __esm({
|
19601
19601
|
"../hms-video-store/dist/index.js"() {
|
19602
19602
|
"use strict";
|
@@ -19667,7 +19667,7 @@ var init_dist = __esm({
|
|
19667
19667
|
n((t = t.apply(a2, e)).next());
|
19668
19668
|
});
|
19669
19669
|
nr = ya((Qc, Va) => {
|
19670
|
-
Va.exports = { version: "0.11.7-alpha.
|
19670
|
+
Va.exports = { version: "0.11.7-alpha.3", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "src"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^2.0.0-beta.2", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
|
19671
19671
|
});
|
19672
19672
|
zi = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(zi || {});
|
19673
19673
|
Pa = ((e) => (e.CHAT = "chat", e))(Pa || {});
|
@@ -19683,11 +19683,11 @@ var init_dist = __esm({
|
|
19683
19683
|
jr = (a2) => a2.messages.allIDs;
|
19684
19684
|
w = (a2) => a2.tracks;
|
19685
19685
|
Xi = (a2) => a2.appData;
|
19686
|
-
|
19686
|
+
ba = (a2) => a2.speakers;
|
19687
19687
|
Pe = createSelector([V], (a2) => a2 && a2.isConnected);
|
19688
19688
|
In = createSelector([Pe, V], (a2, e) => a2 ? e.peerCount !== void 0 ? e.peerCount || 1 : e.peers.length : Math.max(e.peerCount !== void 0 ? e.peerCount : e.peers.length - 1, 0));
|
19689
|
-
|
19690
|
-
ae = createSelector([V, G,
|
19689
|
+
Aa = (a2) => a2.hideLocalPeer;
|
19690
|
+
ae = createSelector([V, G, Aa], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
|
19691
19691
|
Ia = createSelector(w, (a2) => Object.values(a2));
|
19692
19692
|
Q = createSelector(V, G, (a2, e) => e[a2.localPeer]);
|
19693
19693
|
pe = createSelector(V, (a2) => a2.localPeer);
|
@@ -19701,7 +19701,7 @@ var init_dist = __esm({
|
|
19701
19701
|
return a2 && i.unshift(a2), e && i.unshift(e), i;
|
19702
19702
|
});
|
19703
19703
|
Cn = createSelector(ae, (a2) => a2.filter((e) => !e.isLocal));
|
19704
|
-
Ln = createSelector(G,
|
19704
|
+
Ln = createSelector(G, ba, (a2, e) => {
|
19705
19705
|
let t = Object.entries(e).sort((i, r) => {
|
19706
19706
|
var n, l;
|
19707
19707
|
let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
|
@@ -20225,8 +20225,8 @@ var init_dist = __esm({
|
|
20225
20225
|
q = new dr();
|
20226
20226
|
lr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(lr || {});
|
20227
20227
|
ur = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(ur || {});
|
20228
|
-
|
20229
|
-
|
20228
|
+
bs = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(bs || {});
|
20229
|
+
As = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(As || {});
|
20230
20230
|
pr = class {
|
20231
20231
|
constructor() {
|
20232
20232
|
this.TAG = "[HMSIntersectionObserverWrapper]";
|
@@ -20357,13 +20357,13 @@ var init_dist = __esm({
|
|
20357
20357
|
}
|
20358
20358
|
};
|
20359
20359
|
y.level = 0;
|
20360
|
-
|
20360
|
+
br = (a2, e) => e;
|
20361
20361
|
St = (a2, e) => e;
|
20362
20362
|
Gs = (a2, e) => e;
|
20363
20363
|
no = (a2, e) => e;
|
20364
20364
|
co = (a2, e) => e;
|
20365
|
-
j = createSelector([G,
|
20366
|
-
|
20365
|
+
j = createSelector([G, br], (a2, e) => e ? a2[e] : null);
|
20366
|
+
Ar = createSelector([w, St], (a2, e) => e ? a2[e] : null);
|
20367
20367
|
lo = createSelector([w, St], (a2, e) => {
|
20368
20368
|
if (!e)
|
20369
20369
|
return null;
|
@@ -20389,94 +20389,94 @@ var init_dist = __esm({
|
|
20389
20389
|
return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
20390
20390
|
});
|
20391
20391
|
So = createSelector([es, co], (a2, e) => e ? a2[e] : null);
|
20392
|
-
J =
|
20393
|
-
Yh =
|
20392
|
+
J = b(j);
|
20393
|
+
Yh = b(createSelector([Xi, no], (a2, e) => {
|
20394
20394
|
if (a2)
|
20395
20395
|
return e ? a2[e] : a2;
|
20396
20396
|
}));
|
20397
|
-
eS =
|
20398
|
-
si =
|
20399
|
-
$s =
|
20400
|
-
tS =
|
20401
|
-
iS =
|
20402
|
-
rS =
|
20403
|
-
mo =
|
20397
|
+
eS = b(createSelector(j, (a2) => a2 == null ? void 0 : a2.name));
|
20398
|
+
si = b(Ar);
|
20399
|
+
$s = b(lo);
|
20400
|
+
tS = b(uo);
|
20401
|
+
iS = b(po);
|
20402
|
+
rS = b(ho);
|
20403
|
+
mo = b((a2, e) => {
|
20404
20404
|
let t = j(a2, e);
|
20405
20405
|
if (t && t.videoTrack && t.videoTrack !== "")
|
20406
20406
|
return a2.tracks[t.videoTrack];
|
20407
20407
|
});
|
20408
|
-
go =
|
20408
|
+
go = b((a2, e) => {
|
20409
20409
|
let t = j(a2, e);
|
20410
20410
|
if (t && t.audioTrack && t.audioTrack !== "")
|
20411
20411
|
return a2.tracks[t.audioTrack];
|
20412
20412
|
});
|
20413
|
-
aS =
|
20413
|
+
aS = b((a2, e) => {
|
20414
20414
|
let t = j(a2, e);
|
20415
20415
|
return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
|
20416
20416
|
});
|
20417
20417
|
Ws = (a2, e) => e ? a2.speakers[e] : null;
|
20418
|
-
oS =
|
20418
|
+
oS = b(createSelector(Ws, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
20419
20419
|
To = (a2, e) => {
|
20420
20420
|
let t = go(e)(a2);
|
20421
20421
|
return Ws(a2, t == null ? void 0 : t.id);
|
20422
20422
|
};
|
20423
|
-
nS =
|
20424
|
-
cS =
|
20423
|
+
nS = b(createSelector(To, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
20424
|
+
cS = b((a2, e) => {
|
20425
20425
|
if (e)
|
20426
20426
|
return a2.connectionQualities[e];
|
20427
20427
|
});
|
20428
|
-
dS =
|
20428
|
+
dS = b((a2, e) => {
|
20429
20429
|
let t = j(a2, e);
|
20430
20430
|
if (t) {
|
20431
20431
|
let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => et(a2.tracks[r]));
|
20432
20432
|
return i ? a2.tracks[i] : void 0;
|
20433
20433
|
}
|
20434
20434
|
});
|
20435
|
-
lS =
|
20435
|
+
lS = b(createSelector(w, j, (a2, e) => {
|
20436
20436
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
20437
20437
|
let r = a2[i];
|
20438
20438
|
return it(r) && tt(r);
|
20439
20439
|
});
|
20440
20440
|
return t ? a2[t] : void 0;
|
20441
20441
|
}));
|
20442
|
-
uS =
|
20442
|
+
uS = b(createSelector(w, j, (a2, e) => {
|
20443
20443
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
20444
20444
|
let r = a2[i];
|
20445
20445
|
return it(r) && et(r);
|
20446
20446
|
});
|
20447
20447
|
return t ? a2[t] : void 0;
|
20448
20448
|
}));
|
20449
|
-
pS =
|
20449
|
+
pS = b(createSelector(w, j, (a2, e) => {
|
20450
20450
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
20451
20451
|
let r = a2[i];
|
20452
20452
|
return Vt(r) && et(r);
|
20453
20453
|
});
|
20454
20454
|
return t ? a2[t] : void 0;
|
20455
20455
|
}));
|
20456
|
-
Ks =
|
20456
|
+
Ks = b(createSelector(w, j, (a2, e) => He(a2, e)));
|
20457
20457
|
qs = (a2) => createSelector(Ks(a2), (e) => e.audio);
|
20458
|
-
SS =
|
20458
|
+
SS = b((a2, e) => {
|
20459
20459
|
let t = j(a2, e);
|
20460
20460
|
return xe(a2, t == null ? void 0 : t.audioTrack);
|
20461
20461
|
});
|
20462
|
-
mS =
|
20462
|
+
mS = b((a2, e) => {
|
20463
20463
|
let t = j(a2, e);
|
20464
20464
|
return xe(a2, t == null ? void 0 : t.videoTrack);
|
20465
20465
|
});
|
20466
|
-
js =
|
20466
|
+
js = b((a2, e) => {
|
20467
20467
|
if (e && a2.tracks[e])
|
20468
20468
|
return a2.tracks[e].volume === 0;
|
20469
20469
|
});
|
20470
|
-
gS =
|
20470
|
+
gS = b((a2, e) => {
|
20471
20471
|
let t = j(a2, e);
|
20472
20472
|
return js(t == null ? void 0 : t.audioTrack)(a2);
|
20473
20473
|
});
|
20474
|
-
TS =
|
20474
|
+
TS = b((a2, e) => {
|
20475
20475
|
let t = qs(e)(a2);
|
20476
20476
|
return js(t == null ? void 0 : t.id)(a2);
|
20477
20477
|
});
|
20478
|
-
Js =
|
20479
|
-
let t =
|
20478
|
+
Js = b((a2, e) => {
|
20479
|
+
let t = Ar(a2, e);
|
20480
20480
|
if (t) {
|
20481
20481
|
if (t.type !== "audio") {
|
20482
20482
|
y.w("Please pass audio track here");
|
@@ -20485,16 +20485,16 @@ var init_dist = __esm({
|
|
20485
20485
|
return t.volume;
|
20486
20486
|
}
|
20487
20487
|
});
|
20488
|
-
fS =
|
20488
|
+
fS = b((a2, e) => {
|
20489
20489
|
let t = j(a2, e);
|
20490
20490
|
return Js(t == null ? void 0 : t.audioTrack)(a2);
|
20491
20491
|
});
|
20492
|
-
vS =
|
20492
|
+
vS = b((a2, e) => {
|
20493
20493
|
let t = qs(e)(a2);
|
20494
20494
|
return Js(t == null ? void 0 : t.id)(a2);
|
20495
20495
|
});
|
20496
|
-
MS =
|
20497
|
-
let t =
|
20496
|
+
MS = b((a2, e) => {
|
20497
|
+
let t = Ar(a2, e);
|
20498
20498
|
if (t) {
|
20499
20499
|
if (t.type !== "video") {
|
20500
20500
|
y.w("Please pass video track here");
|
@@ -20503,7 +20503,7 @@ var init_dist = __esm({
|
|
20503
20503
|
return t.layer;
|
20504
20504
|
}
|
20505
20505
|
});
|
20506
|
-
Qs = createSelector([st, pe,
|
20506
|
+
Qs = createSelector([st, pe, br], (a2, e, t) => {
|
20507
20507
|
if (t)
|
20508
20508
|
return a2.filter((i) => {
|
20509
20509
|
var r;
|
@@ -20522,13 +20522,13 @@ var init_dist = __esm({
|
|
20522
20522
|
return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
|
20523
20523
|
}));
|
20524
20524
|
vo = createSelector([zs, Gs], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
20525
|
-
Mo = createSelector([Qs,
|
20525
|
+
Mo = createSelector([Qs, br], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
20526
20526
|
yS = createSelector(fo, (a2) => a2.filter((e) => !e.read).length);
|
20527
|
-
PS =
|
20528
|
-
kS =
|
20529
|
-
ES =
|
20530
|
-
|
20531
|
-
Ys =
|
20527
|
+
PS = b(Qs);
|
20528
|
+
kS = b(zs);
|
20529
|
+
ES = b(vo);
|
20530
|
+
bS = b(Mo);
|
20531
|
+
Ys = b(So);
|
20532
20532
|
OS = createSelector([G, w], (a2, e) => Object.values(a2).map((i) => {
|
20533
20533
|
var r;
|
20534
20534
|
return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
|
@@ -20638,18 +20638,18 @@ var init_dist = __esm({
|
|
20638
20638
|
sn = createSelector([ma, jo], (a2, e) => e ? a2[e] : void 0);
|
20639
20639
|
an = createSelector([Jo, Sa], (a2, e) => e ? a2[e] : void 0);
|
20640
20640
|
Ur = createSelector([xr, Sa], (a2, e) => e ? a2[e] : void 0);
|
20641
|
-
on =
|
20642
|
-
nn =
|
20641
|
+
on = b(sn);
|
20642
|
+
nn = b(an);
|
20643
20643
|
cn = createSelector([xr, Ko], (a2, e) => {
|
20644
20644
|
var t;
|
20645
20645
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
20646
20646
|
});
|
20647
|
-
dn =
|
20647
|
+
dn = b(createSelector(Ur, (a2) => a2 == null ? void 0 : a2[0]));
|
20648
20648
|
ln = createSelector([xr, qo], (a2, e) => {
|
20649
20649
|
var t;
|
20650
20650
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
20651
20651
|
});
|
20652
|
-
un =
|
20652
|
+
un = b(createSelector(Ur, (a2) => a2));
|
20653
20653
|
}
|
20654
20654
|
});
|
20655
20655
|
|
@@ -20928,7 +20928,7 @@ var init_StreamActions = __esm({
|
|
20928
20928
|
};
|
20929
20929
|
RecordingPauseStatus = () => {
|
20930
20930
|
const recording = (0, import_react_sdk31.useHMSStore)(import_react_sdk31.selectRecordingState);
|
20931
|
-
if (recording.hls && recording.hls.state ===
|
20931
|
+
if (recording.hls && recording.hls.state === bs.PAUSED) {
|
20932
20932
|
return /* @__PURE__ */ import_react72.default.createElement(
|
20933
20933
|
Tooltip,
|
20934
20934
|
{
|
@@ -22207,6 +22207,7 @@ var init_ScreenShareToggle = __esm({
|
|
22207
22207
|
const isAllowedToPublish = (0, import_react_sdk37.useHMSStore)(import_react_sdk37.selectIsAllowedToPublish);
|
22208
22208
|
const isAudioOnly = useUISettings(UI_SETTINGS.isAudioOnly);
|
22209
22209
|
const { amIScreenSharing, screenShareVideoTrackId: video, toggleScreenShare } = (0, import_react_sdk37.useScreenShare)();
|
22210
|
+
const { requestPermission } = (0, import_react_sdk37.useAwayNotifications)();
|
22210
22211
|
const isVideoScreenshare = amIScreenSharing && !!video;
|
22211
22212
|
if (!isAllowedToPublish.screen || !isScreenshareSupported()) {
|
22212
22213
|
return null;
|
@@ -22219,9 +22220,10 @@ var init_ScreenShareToggle = __esm({
|
|
22219
22220
|
active: !isVideoScreenshare,
|
22220
22221
|
css: css2,
|
22221
22222
|
disabled: isAudioOnly,
|
22222
|
-
onClick: () => {
|
22223
|
-
toggleScreenShare();
|
22224
|
-
|
22223
|
+
onClick: () => __async(void 0, null, function* () {
|
22224
|
+
yield toggleScreenShare();
|
22225
|
+
yield requestPermission();
|
22226
|
+
})
|
22225
22227
|
},
|
22226
22228
|
/* @__PURE__ */ import_react87.default.createElement(Tooltip, { title: `${!isVideoScreenshare ? "Start" : "Stop"} screen sharing` }, /* @__PURE__ */ import_react87.default.createElement(Box, null, /* @__PURE__ */ import_react87.default.createElement(import_react_icons36.ShareScreenIcon, null)))
|
22227
22229
|
), /* @__PURE__ */ import_react87.default.createElement(ShareScreenOptions, null)));
|
@@ -23555,10 +23557,10 @@ var init_PollsQuizMenu = __esm({
|
|
23555
23557
|
const sortedPolls = (0, import_react101.useMemo)(
|
23556
23558
|
() => {
|
23557
23559
|
var _a7;
|
23558
|
-
return (_a7 = polls == null ? void 0 : polls.sort((a2,
|
23560
|
+
return (_a7 = polls == null ? void 0 : polls.sort((a2, b2) => {
|
23559
23561
|
var _a8, _b7;
|
23560
|
-
return (((_a8 =
|
23561
|
-
})) == null ? void 0 : _a7.sort((a2,
|
23562
|
+
return (((_a8 = b2.createdAt) == null ? void 0 : _a8.getTime()) || 0) - (((_b7 = a2.createdAt) == null ? void 0 : _b7.getTime()) || 0);
|
23563
|
+
})) == null ? void 0 : _a7.sort((a2, b2) => (b2.state === "started" ? 1 : 0) - (a2.state === "started" ? 1 : 0));
|
23562
23564
|
},
|
23563
23565
|
[polls]
|
23564
23566
|
);
|
@@ -30522,8 +30524,8 @@ var init_PlayButton = __esm({
|
|
30522
30524
|
});
|
30523
30525
|
|
30524
30526
|
// src/Prebuilt/components/HMSVideo/HMSVIdeoUtils.js
|
30525
|
-
function getPercentage(a2,
|
30526
|
-
return a2 /
|
30527
|
+
function getPercentage(a2, b2) {
|
30528
|
+
return a2 / b2 * 100;
|
30527
30529
|
}
|
30528
30530
|
function getDurationFromSeconds2(timeInSeconds) {
|
30529
30531
|
let time = Math.floor(timeInSeconds);
|
@@ -32695,17 +32697,18 @@ var init_HandRaisedNotifications = __esm({
|
|
32695
32697
|
init_ToastBatcher();
|
32696
32698
|
init_useRoomLayoutScreen();
|
32697
32699
|
init_useUISettings();
|
32700
|
+
init_constants();
|
32698
32701
|
HandRaisedNotifications = () => {
|
32699
32702
|
const notification = (0, import_react_sdk107.useHMSNotifications)(import_react_sdk107.HMSNotificationTypes.HAND_RAISE_CHANGED);
|
32700
32703
|
const roomState = (0, import_react_sdk107.useHMSStore)(import_react_sdk107.selectRoomState);
|
32701
32704
|
const vanillaStore = (0, import_react_sdk107.useHMSVanillaStore)();
|
32702
32705
|
const { on_stage_exp } = useRoomLayoutConferencingScreen().elements || {};
|
32703
|
-
const
|
32706
|
+
const isSubscribing = !!useSubscribedNotifications(SUBSCRIBED_NOTIFICATIONS.METADATA_UPDATED);
|
32704
32707
|
(0, import_react209.useEffect)(() => {
|
32705
32708
|
if (!(notification == null ? void 0 : notification.data)) {
|
32706
32709
|
return;
|
32707
32710
|
}
|
32708
|
-
if (roomState !== import_react_sdk107.HMSRoomState.Connected || notification.data.isLocal || !on_stage_exp || !
|
32711
|
+
if (roomState !== import_react_sdk107.HMSRoomState.Connected || notification.data.isLocal || !on_stage_exp || !isSubscribing) {
|
32709
32712
|
return;
|
32710
32713
|
}
|
32711
32714
|
const hasPeerHandRaised = vanillaStore.getState((0, import_react_sdk107.selectHasPeerHandRaised)(notification.data.id));
|
@@ -32713,7 +32716,7 @@ var init_HandRaisedNotifications = __esm({
|
|
32713
32716
|
ToastBatcher.showToast({ notification, type: "RAISE_HAND" });
|
32714
32717
|
console.debug("Metadata updated", notification.data);
|
32715
32718
|
}
|
32716
|
-
}, [notification, on_stage_exp, roomState,
|
32719
|
+
}, [isSubscribing, notification, on_stage_exp, roomState, vanillaStore]);
|
32717
32720
|
return null;
|
32718
32721
|
};
|
32719
32722
|
}
|
@@ -33102,15 +33105,19 @@ var init_TrackUnmuteModal = __esm({
|
|
33102
33105
|
|
33103
33106
|
// src/Prebuilt/components/Notifications/Notifications.tsx
|
33104
33107
|
function Notifications() {
|
33108
|
+
var _a7, _b7;
|
33105
33109
|
const localPeerID = (0, import_react_sdk115.useHMSStore)(import_react_sdk115.selectLocalPeerID);
|
33106
33110
|
const notification = (0, import_react_sdk115.useHMSNotifications)();
|
33107
|
-
const subscribedNotifications = useSubscribedNotifications();
|
33111
|
+
const subscribedNotifications = useSubscribedNotifications() || {};
|
33108
33112
|
const roomState = (0, import_react_sdk115.useHMSStore)(import_react_sdk115.selectRoomState);
|
33109
33113
|
const updateRoomLayoutForRole = useUpdateRoomLayout();
|
33110
33114
|
const isNotificationDisabled = useIsNotificationDisabled();
|
33111
33115
|
const screenProps = useRoomLayoutConferencingScreen();
|
33112
33116
|
const vanillaStore = (0, import_react_sdk115.useHMSVanillaStore)();
|
33113
33117
|
const togglePollView = usePollViewToggle();
|
33118
|
+
const { showNotification } = (0, import_react_sdk115.useAwayNotifications)();
|
33119
|
+
const amIScreenSharing = (0, import_react_sdk115.useHMSStore)(import_react_sdk115.selectIsLocalScreenShared);
|
33120
|
+
const logoURL = (_b7 = (_a7 = useRoomLayout()) == null ? void 0 : _a7.logo) == null ? void 0 : _b7.url;
|
33114
33121
|
const handleRoleChangeDenied = (0, import_react217.useCallback)((request) => {
|
33115
33122
|
ToastManager.addToast({
|
33116
33123
|
title: `${request.peerName} denied your request to join the ${request.role.name} role`,
|
@@ -33119,7 +33126,7 @@ function Notifications() {
|
|
33119
33126
|
}, []);
|
33120
33127
|
(0, import_react_sdk115.useCustomEvent)({ type: ROLE_CHANGE_DECLINED, onEvent: handleRoleChangeDenied });
|
33121
33128
|
(0, import_react217.useEffect)(() => {
|
33122
|
-
var
|
33129
|
+
var _a8, _b8, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n2, _o2, _p;
|
33123
33130
|
if (!notification || isNotificationDisabled) {
|
33124
33131
|
return;
|
33125
33132
|
}
|
@@ -33128,7 +33135,7 @@ function Notifications() {
|
|
33128
33135
|
console.log(notification.data.id + " changed their name to " + notification.data.name);
|
33129
33136
|
break;
|
33130
33137
|
case import_react_sdk115.HMSNotificationTypes.ERROR:
|
33131
|
-
if (((
|
33138
|
+
if (((_a8 = notification.data) == null ? void 0 : _a8.isTerminal) && ((_b8 = notification.data) == null ? void 0 : _b8.action) !== "INIT") {
|
33132
33139
|
if ([500, 6008].includes((_c = notification.data) == null ? void 0 : _c.code)) {
|
33133
33140
|
ToastManager.addToast({
|
33134
33141
|
title: `Error: ${(_d = notification.data) == null ? void 0 : _d.message}`
|
@@ -33220,6 +33227,14 @@ function Notifications() {
|
|
33220
33227
|
delete pollToastKey[notification == null ? void 0 : notification.data.id];
|
33221
33228
|
}
|
33222
33229
|
break;
|
33230
|
+
case import_react_sdk115.HMSNotificationTypes.NEW_MESSAGE:
|
33231
|
+
if (amIScreenSharing) {
|
33232
|
+
showNotification(`New message from ${notification.data.senderName}`, {
|
33233
|
+
body: notification.data.message,
|
33234
|
+
icon: logoURL
|
33235
|
+
});
|
33236
|
+
}
|
33237
|
+
break;
|
33223
33238
|
default:
|
33224
33239
|
break;
|
33225
33240
|
}
|