@100mslive/roomkit-react 0.2.7-alpha.2 → 0.2.7-alpha.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-DQJBCEW4.js → HLSView-AP53XUDF.js} +2 -2
- package/dist/{chunk-GEXL6KL2.js → chunk-LZKKW4D6.js} +117 -98
- package/dist/chunk-LZKKW4D6.js.map +7 -0
- package/dist/index.cjs.js +114 -97
- package/dist/index.cjs.js.map +3 -3
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +32 -22
- package/dist/meta.esbuild.json +38 -28
- 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/Chat/ChatFooter.tsx +6 -2
- 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/chunk-GEXL6KL2.js.map +0 -7
- /package/dist/{HLSView-DQJBCEW4.js.map → HLSView-AP53XUDF.js.map} +0 -0
@@ -9,18 +9,18 @@ var __getProtoOf = Object.getPrototypeOf;
|
|
9
9
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
10
10
|
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
11
11
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
12
|
-
var __spreadValues = (a2,
|
13
|
-
for (var prop in
|
14
|
-
if (__hasOwnProp.call(
|
15
|
-
__defNormalProp(a2, prop,
|
12
|
+
var __spreadValues = (a2, b2) => {
|
13
|
+
for (var prop in b2 || (b2 = {}))
|
14
|
+
if (__hasOwnProp.call(b2, prop))
|
15
|
+
__defNormalProp(a2, prop, b2[prop]);
|
16
16
|
if (__getOwnPropSymbols)
|
17
|
-
for (var prop of __getOwnPropSymbols(
|
18
|
-
if (__propIsEnum.call(
|
19
|
-
__defNormalProp(a2, prop,
|
17
|
+
for (var prop of __getOwnPropSymbols(b2)) {
|
18
|
+
if (__propIsEnum.call(b2, prop))
|
19
|
+
__defNormalProp(a2, prop, b2[prop]);
|
20
20
|
}
|
21
21
|
return a2;
|
22
22
|
};
|
23
|
-
var __spreadProps = (a2,
|
23
|
+
var __spreadProps = (a2, b2) => __defProps(a2, __getOwnPropDescs(b2));
|
24
24
|
var __objRest = (source, exclude) => {
|
25
25
|
var target = {};
|
26
26
|
for (var prop in source)
|
@@ -106,7 +106,7 @@ var __async = (__this, __arguments, generator) => {
|
|
106
106
|
var define_process_env_default;
|
107
107
|
var init_define_process_env = __esm({
|
108
108
|
"<define:process.env>"() {
|
109
|
-
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" };
|
109
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_51382033-37c2-416d-a224-620021da395c", 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.4", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_51382033-37c2-416d-a224-620021da395c", 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.4", 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: "592", 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:18043", 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.4", 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: "7985023264", 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: "fe6292513fff670053581f4bfd630ae348be4aff", 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: "57d3ae0be477dbb421b8b3cd2de1241debaa86824dbe4a00db255cd25ab3e136", npm_package_exports___import: "./dist/index.js", STATS_BLT: "true", 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--1708497531283-0.4844001606642807:/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--1708497531089-0.7377697758673691:/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--1708497509463-0.46048821727744516:/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--1708497509287-0.6652193432979929:/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_9e0b1177-078a-423d-a890-0669407a8d62", INVOCATION_ID: "3eb5ca781e794179bc5f843920d8f518", 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: "444", 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 45", 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.4", 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.4", 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: "fe6292513fff670053581f4bfd630ae348be4aff", 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_51382033-37c2-416d-a224-620021da395c", 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_51382033-37c2-416d-a224-620021da395c", 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_51382033-37c2-416d-a224-620021da395c" };
|
110
110
|
}
|
111
111
|
});
|
112
112
|
|
@@ -10811,7 +10811,7 @@ var usePinnedTrack = () => {
|
|
10811
10811
|
};
|
10812
10812
|
var useSubscribedNotifications = (notificationKey) => {
|
10813
10813
|
const notificationPreference = useHMSStore2(selectAppDataByPath(APP_DATA.subscribedNotifications, notificationKey));
|
10814
|
-
return notificationPreference
|
10814
|
+
return notificationPreference;
|
10815
10815
|
};
|
10816
10816
|
var useIsNotificationDisabled = () => {
|
10817
10817
|
const notificationPreference = useHMSStore2(selectAppDataByPath(APP_DATA.disableNotifications));
|
@@ -11169,12 +11169,12 @@ var formatTime = (timeInSeconds) => {
|
|
11169
11169
|
const hour = hours !== 0 ? `${hours < 10 ? "0" : ""}${hours}:` : "";
|
11170
11170
|
return `${hour}${minutes < 10 ? "0" : ""}${minutes}:${seconds < 10 ? "0" : ""}${seconds}`;
|
11171
11171
|
};
|
11172
|
-
var compareArrays = (a2,
|
11173
|
-
if (a2.length !==
|
11172
|
+
var compareArrays = (a2, b2) => {
|
11173
|
+
if (a2.length !== b2.length)
|
11174
11174
|
return false;
|
11175
11175
|
else {
|
11176
11176
|
for (var i = 0; i < a2.length; i++) {
|
11177
|
-
if (a2[i] !==
|
11177
|
+
if (a2[i] !== b2[i]) {
|
11178
11178
|
return false;
|
11179
11179
|
}
|
11180
11180
|
}
|
@@ -11640,6 +11640,7 @@ import {
|
|
11640
11640
|
selectIsLocalAudioPluginPresent,
|
11641
11641
|
selectLocalAudioTrackID,
|
11642
11642
|
selectLocalVideoTrackID as selectLocalVideoTrackID2,
|
11643
|
+
selectRoom,
|
11643
11644
|
selectRoomState as selectRoomState2,
|
11644
11645
|
selectVideoTrackByID as selectVideoTrackByID2,
|
11645
11646
|
useAVToggle as useAVToggle2,
|
@@ -12555,6 +12556,7 @@ var NoiseCancellation = () => {
|
|
12555
12556
|
const [active, setActive] = useState10(isPluginAdded);
|
12556
12557
|
const [inProgress, setInProgress] = useState10(false);
|
12557
12558
|
const actions = useHMSActions7();
|
12559
|
+
const room = useHMSStore8(selectRoom);
|
12558
12560
|
useEffect10(() => {
|
12559
12561
|
(() => __async(void 0, null, function* () {
|
12560
12562
|
setInProgress(true);
|
@@ -12567,10 +12569,10 @@ var NoiseCancellation = () => {
|
|
12567
12569
|
setInProgress(false);
|
12568
12570
|
}))();
|
12569
12571
|
}, [actions, active, isPluginAdded]);
|
12570
|
-
if (!plugin.isSupported() || !localPeerAudioTrackID) {
|
12572
|
+
if (!plugin.isSupported() || !room.isNoiseCancellationEnabled || !localPeerAudioTrackID) {
|
12571
12573
|
return null;
|
12572
12574
|
}
|
12573
|
-
return /* @__PURE__ */ React32.createElement(
|
12575
|
+
return /* @__PURE__ */ React32.createElement(React32.Fragment, null, /* @__PURE__ */ React32.createElement(
|
12574
12576
|
Dropdown.Item,
|
12575
12577
|
{
|
12576
12578
|
css: {
|
@@ -12597,7 +12599,7 @@ var NoiseCancellation = () => {
|
|
12597
12599
|
}
|
12598
12600
|
}
|
12599
12601
|
)
|
12600
|
-
);
|
12602
|
+
), /* @__PURE__ */ React32.createElement(Dropdown.ItemSeparator, { css: { mx: 0 } }));
|
12601
12603
|
};
|
12602
12604
|
var AudioOutputLabel = ({ deviceId }) => {
|
12603
12605
|
const { playing, setPlaying, audioRef } = useAudioOutputTest({ deviceId });
|
@@ -12693,7 +12695,6 @@ var AudioVideoToggle = ({ hideOptions = false }) => {
|
|
12693
12695
|
))),
|
12694
12696
|
/* @__PURE__ */ React32.createElement(Dropdown.ItemSeparator, { css: { mx: 0 } }),
|
12695
12697
|
/* @__PURE__ */ React32.createElement(NoiseCancellation, null),
|
12696
|
-
/* @__PURE__ */ React32.createElement(Dropdown.ItemSeparator, { css: { mx: 0 } }),
|
12697
12698
|
/* @__PURE__ */ React32.createElement(AudioSettings, { onClick: () => setShowSettings(true) })
|
12698
12699
|
) : null, toggleVideo ? /* @__PURE__ */ React32.createElement(
|
12699
12700
|
IconButtonWithOptions,
|
@@ -14884,8 +14885,8 @@ init_define_process_env();
|
|
14884
14885
|
|
14885
14886
|
// ../../node_modules/reselect/es/index.js
|
14886
14887
|
init_define_process_env();
|
14887
|
-
function defaultEqualityCheck(a2,
|
14888
|
-
return a2 ===
|
14888
|
+
function defaultEqualityCheck(a2, b2) {
|
14889
|
+
return a2 === b2;
|
14889
14890
|
}
|
14890
14891
|
function areArgumentsShallowlyEqual(equalityCheck, prev, next) {
|
14891
14892
|
if (prev === null || next === null || prev.length !== next.length) {
|
@@ -16740,9 +16741,9 @@ function shimGetUserMedia(window2, browserDetails) {
|
|
16740
16741
|
}
|
16741
16742
|
constraints = JSON.parse(JSON.stringify(constraints));
|
16742
16743
|
if (constraints && typeof constraints.audio === "object") {
|
16743
|
-
const remap = function(obj, a2,
|
16744
|
-
if (a2 in obj && !(
|
16745
|
-
obj[
|
16744
|
+
const remap = function(obj, a2, b2) {
|
16745
|
+
if (a2 in obj && !(b2 in obj)) {
|
16746
|
+
obj[b2] = obj[a2];
|
16746
16747
|
delete obj[a2];
|
16747
16748
|
}
|
16748
16749
|
};
|
@@ -17484,9 +17485,9 @@ function shimGetUserMedia2(window2, browserDetails) {
|
|
17484
17485
|
navigator2.mediaDevices.getUserMedia(constraints).then(onSuccess, onError);
|
17485
17486
|
};
|
17486
17487
|
if (!(browserDetails.version > 55 && "autoGainControl" in navigator2.mediaDevices.getSupportedConstraints())) {
|
17487
|
-
const remap = function(obj, a2,
|
17488
|
-
if (a2 in obj && !(
|
17489
|
-
obj[
|
17488
|
+
const remap = function(obj, a2, b2) {
|
17489
|
+
if (a2 in obj && !(b2 in obj)) {
|
17490
|
+
obj[b2] = obj[a2];
|
17490
17491
|
delete obj[a2];
|
17491
17492
|
}
|
17492
17493
|
};
|
@@ -18552,7 +18553,7 @@ import { v4 as to } from "uuid";
|
|
18552
18553
|
import { v4 as ao } from "uuid";
|
18553
18554
|
import { EventEmitter2 as oo } from "eventemitter2";
|
18554
18555
|
var Rt = __toESM(require_lib());
|
18555
|
-
import { EventEmitter2 as
|
18556
|
+
import { EventEmitter2 as bo } from "eventemitter2";
|
18556
18557
|
import { v4 as Ro } from "uuid";
|
18557
18558
|
import { EventEmitter2 as Ho } from "eventemitter2";
|
18558
18559
|
import Co from "eventemitter2";
|
@@ -18601,7 +18602,7 @@ var c = (a2, e, t) => new Promise((i, r) => {
|
|
18601
18602
|
n((t = t.apply(a2, e)).next());
|
18602
18603
|
});
|
18603
18604
|
var nr = ya((Qc, Va) => {
|
18604
|
-
Va.exports = { version: "0.11.7-alpha.
|
18605
|
+
Va.exports = { version: "0.11.7-alpha.4", 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"] };
|
18605
18606
|
});
|
18606
18607
|
var 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 || {});
|
18607
18608
|
var Pa = ((e) => (e.CHAT = "chat", e))(Pa || {});
|
@@ -18652,11 +18653,11 @@ var Bt = (a2) => a2.messages.byID;
|
|
18652
18653
|
var jr = (a2) => a2.messages.allIDs;
|
18653
18654
|
var w = (a2) => a2.tracks;
|
18654
18655
|
var Xi = (a2) => a2.appData;
|
18655
|
-
var
|
18656
|
+
var ba = (a2) => a2.speakers;
|
18656
18657
|
var Pe = createSelector([V], (a2) => a2 && a2.isConnected);
|
18657
18658
|
var 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));
|
18658
|
-
var
|
18659
|
-
var ae = createSelector([V, G,
|
18659
|
+
var Aa = (a2) => a2.hideLocalPeer;
|
18660
|
+
var 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]));
|
18660
18661
|
var Ia = createSelector(w, (a2) => Object.values(a2));
|
18661
18662
|
var Q = createSelector(V, G, (a2, e) => e[a2.localPeer]);
|
18662
18663
|
var pe = createSelector(V, (a2) => a2.localPeer);
|
@@ -18670,7 +18671,7 @@ var Qr = createSelector([Z, K, Ra], (a2, e, t) => {
|
|
18670
18671
|
return a2 && i.unshift(a2), e && i.unshift(e), i;
|
18671
18672
|
});
|
18672
18673
|
var Cn = createSelector(ae, (a2) => a2.filter((e) => !e.isLocal));
|
18673
|
-
var Ln = createSelector(G,
|
18674
|
+
var Ln = createSelector(G, ba, (a2, e) => {
|
18674
18675
|
let t = Object.entries(e).sort((i, r) => {
|
18675
18676
|
var n, l;
|
18676
18677
|
let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
|
@@ -18782,7 +18783,7 @@ var cs = (a2 = "audio") => createSelector(is(a2), tr(a2), (e, t) => {
|
|
18782
18783
|
});
|
18783
18784
|
var ds = { selection: tr("audio"), progress: rs("audio"), currentTime: ss("audio"), playbackRate: as("audio"), volume: os("audio"), list: ns("audio"), selectedItem: cs("audio") };
|
18784
18785
|
var ls = { selection: tr("video"), progress: rs("video"), currentTime: ss("video"), playbackRate: as("video"), volume: os("video"), list: ns("video"), selectedItem: cs("video") };
|
18785
|
-
function
|
18786
|
+
function b(a2) {
|
18786
18787
|
return (e) => (t) => a2(t, e);
|
18787
18788
|
}
|
18788
18789
|
var us = ((l) => (l[l.VERBOSE = 0] = "VERBOSE", l[l.DEBUG = 1] = "DEBUG", l[l.INFO = 2] = "INFO", l[l.WARN = 3] = "WARN", l[l.TIME = 4] = "TIME", l[l.TIMEEND = 5] = "TIMEEND", l[l.ERROR = 6] = "ERROR", l[l.NONE = 7] = "NONE", l))(us || {});
|
@@ -19232,8 +19233,8 @@ function qt(a2, e = 300) {
|
|
19232
19233
|
}, e);
|
19233
19234
|
};
|
19234
19235
|
}
|
19235
|
-
var
|
19236
|
-
var
|
19236
|
+
var 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 || {});
|
19237
|
+
var As = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(As || {});
|
19237
19238
|
var pr = class {
|
19238
19239
|
constructor() {
|
19239
19240
|
this.TAG = "[HMSIntersectionObserverWrapper]";
|
@@ -19364,13 +19365,13 @@ var y = class {
|
|
19364
19365
|
}
|
19365
19366
|
};
|
19366
19367
|
y.level = 0;
|
19367
|
-
var
|
19368
|
+
var br = (a2, e) => e;
|
19368
19369
|
var St = (a2, e) => e;
|
19369
19370
|
var Gs = (a2, e) => e;
|
19370
19371
|
var no = (a2, e) => e;
|
19371
19372
|
var co = (a2, e) => e;
|
19372
|
-
var j = createSelector([G,
|
19373
|
-
var
|
19373
|
+
var j = createSelector([G, br], (a2, e) => e ? a2[e] : null);
|
19374
|
+
var Ar = createSelector([w, St], (a2, e) => e ? a2[e] : null);
|
19374
19375
|
var lo = createSelector([w, St], (a2, e) => {
|
19375
19376
|
if (!e)
|
19376
19377
|
return null;
|
@@ -19396,8 +19397,8 @@ var ho = createSelector([w, St], (a2, e) => {
|
|
19396
19397
|
return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
19397
19398
|
});
|
19398
19399
|
var So = createSelector([es, co], (a2, e) => e ? a2[e] : null);
|
19399
|
-
var J =
|
19400
|
-
var Yh =
|
19400
|
+
var J = b(j);
|
19401
|
+
var Yh = b(createSelector([Xi, no], (a2, e) => {
|
19401
19402
|
if (a2)
|
19402
19403
|
return e ? a2[e] : a2;
|
19403
19404
|
}));
|
@@ -19407,89 +19408,89 @@ function Xh(a2) {
|
|
19407
19408
|
return a2 ? e.sessionStore[a2] : e.sessionStore;
|
19408
19409
|
};
|
19409
19410
|
}
|
19410
|
-
var eS =
|
19411
|
-
var si =
|
19412
|
-
var $s =
|
19413
|
-
var tS =
|
19414
|
-
var iS =
|
19415
|
-
var rS =
|
19416
|
-
var mo =
|
19411
|
+
var eS = b(createSelector(j, (a2) => a2 == null ? void 0 : a2.name));
|
19412
|
+
var si = b(Ar);
|
19413
|
+
var $s = b(lo);
|
19414
|
+
var tS = b(uo);
|
19415
|
+
var iS = b(po);
|
19416
|
+
var rS = b(ho);
|
19417
|
+
var mo = b((a2, e) => {
|
19417
19418
|
let t = j(a2, e);
|
19418
19419
|
if (t && t.videoTrack && t.videoTrack !== "")
|
19419
19420
|
return a2.tracks[t.videoTrack];
|
19420
19421
|
});
|
19421
|
-
var go =
|
19422
|
+
var go = b((a2, e) => {
|
19422
19423
|
let t = j(a2, e);
|
19423
19424
|
if (t && t.audioTrack && t.audioTrack !== "")
|
19424
19425
|
return a2.tracks[t.audioTrack];
|
19425
19426
|
});
|
19426
|
-
var aS =
|
19427
|
+
var aS = b((a2, e) => {
|
19427
19428
|
let t = j(a2, e);
|
19428
19429
|
return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
|
19429
19430
|
});
|
19430
19431
|
var Ws = (a2, e) => e ? a2.speakers[e] : null;
|
19431
|
-
var oS =
|
19432
|
+
var oS = b(createSelector(Ws, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
19432
19433
|
var To = (a2, e) => {
|
19433
19434
|
let t = go(e)(a2);
|
19434
19435
|
return Ws(a2, t == null ? void 0 : t.id);
|
19435
19436
|
};
|
19436
|
-
var nS =
|
19437
|
-
var cS =
|
19437
|
+
var nS = b(createSelector(To, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
19438
|
+
var cS = b((a2, e) => {
|
19438
19439
|
if (e)
|
19439
19440
|
return a2.connectionQualities[e];
|
19440
19441
|
});
|
19441
|
-
var dS =
|
19442
|
+
var dS = b((a2, e) => {
|
19442
19443
|
let t = j(a2, e);
|
19443
19444
|
if (t) {
|
19444
19445
|
let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => et(a2.tracks[r]));
|
19445
19446
|
return i ? a2.tracks[i] : void 0;
|
19446
19447
|
}
|
19447
19448
|
});
|
19448
|
-
var lS =
|
19449
|
+
var lS = b(createSelector(w, j, (a2, e) => {
|
19449
19450
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
19450
19451
|
let r = a2[i];
|
19451
19452
|
return it(r) && tt(r);
|
19452
19453
|
});
|
19453
19454
|
return t ? a2[t] : void 0;
|
19454
19455
|
}));
|
19455
|
-
var uS =
|
19456
|
+
var uS = b(createSelector(w, j, (a2, e) => {
|
19456
19457
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
19457
19458
|
let r = a2[i];
|
19458
19459
|
return it(r) && et(r);
|
19459
19460
|
});
|
19460
19461
|
return t ? a2[t] : void 0;
|
19461
19462
|
}));
|
19462
|
-
var pS =
|
19463
|
+
var pS = b(createSelector(w, j, (a2, e) => {
|
19463
19464
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
19464
19465
|
let r = a2[i];
|
19465
19466
|
return Vt(r) && et(r);
|
19466
19467
|
});
|
19467
19468
|
return t ? a2[t] : void 0;
|
19468
19469
|
}));
|
19469
|
-
var Ks =
|
19470
|
+
var Ks = b(createSelector(w, j, (a2, e) => He(a2, e)));
|
19470
19471
|
var qs = (a2) => createSelector(Ks(a2), (e) => e.audio);
|
19471
|
-
var SS =
|
19472
|
+
var SS = b((a2, e) => {
|
19472
19473
|
let t = j(a2, e);
|
19473
19474
|
return xe(a2, t == null ? void 0 : t.audioTrack);
|
19474
19475
|
});
|
19475
|
-
var mS =
|
19476
|
+
var mS = b((a2, e) => {
|
19476
19477
|
let t = j(a2, e);
|
19477
19478
|
return xe(a2, t == null ? void 0 : t.videoTrack);
|
19478
19479
|
});
|
19479
|
-
var js =
|
19480
|
+
var js = b((a2, e) => {
|
19480
19481
|
if (e && a2.tracks[e])
|
19481
19482
|
return a2.tracks[e].volume === 0;
|
19482
19483
|
});
|
19483
|
-
var gS =
|
19484
|
+
var gS = b((a2, e) => {
|
19484
19485
|
let t = j(a2, e);
|
19485
19486
|
return js(t == null ? void 0 : t.audioTrack)(a2);
|
19486
19487
|
});
|
19487
|
-
var TS =
|
19488
|
+
var TS = b((a2, e) => {
|
19488
19489
|
let t = qs(e)(a2);
|
19489
19490
|
return js(t == null ? void 0 : t.id)(a2);
|
19490
19491
|
});
|
19491
|
-
var Js =
|
19492
|
-
let t =
|
19492
|
+
var Js = b((a2, e) => {
|
19493
|
+
let t = Ar(a2, e);
|
19493
19494
|
if (t) {
|
19494
19495
|
if (t.type !== "audio") {
|
19495
19496
|
y.w("Please pass audio track here");
|
@@ -19498,16 +19499,16 @@ var Js = A((a2, e) => {
|
|
19498
19499
|
return t.volume;
|
19499
19500
|
}
|
19500
19501
|
});
|
19501
|
-
var fS =
|
19502
|
+
var fS = b((a2, e) => {
|
19502
19503
|
let t = j(a2, e);
|
19503
19504
|
return Js(t == null ? void 0 : t.audioTrack)(a2);
|
19504
19505
|
});
|
19505
|
-
var vS =
|
19506
|
+
var vS = b((a2, e) => {
|
19506
19507
|
let t = qs(e)(a2);
|
19507
19508
|
return Js(t == null ? void 0 : t.id)(a2);
|
19508
19509
|
});
|
19509
|
-
var MS =
|
19510
|
-
let t =
|
19510
|
+
var MS = b((a2, e) => {
|
19511
|
+
let t = Ar(a2, e);
|
19511
19512
|
if (t) {
|
19512
19513
|
if (t.type !== "video") {
|
19513
19514
|
y.w("Please pass video track here");
|
@@ -19516,7 +19517,7 @@ var MS = A((a2, e) => {
|
|
19516
19517
|
return t.layer;
|
19517
19518
|
}
|
19518
19519
|
});
|
19519
|
-
var Qs = createSelector([st, pe,
|
19520
|
+
var Qs = createSelector([st, pe, br], (a2, e, t) => {
|
19520
19521
|
if (t)
|
19521
19522
|
return a2.filter((i) => {
|
19522
19523
|
var r;
|
@@ -19535,13 +19536,13 @@ var fo = createSelector(st, (a2) => a2.filter((e) => {
|
|
19535
19536
|
return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
|
19536
19537
|
}));
|
19537
19538
|
var vo = createSelector([zs, Gs], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
19538
|
-
var Mo = createSelector([Qs,
|
19539
|
+
var Mo = createSelector([Qs, br], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
19539
19540
|
var yS = createSelector(fo, (a2) => a2.filter((e) => !e.read).length);
|
19540
|
-
var PS =
|
19541
|
-
var kS =
|
19542
|
-
var ES =
|
19543
|
-
var
|
19544
|
-
var Ys =
|
19541
|
+
var PS = b(Qs);
|
19542
|
+
var kS = b(zs);
|
19543
|
+
var ES = b(vo);
|
19544
|
+
var bS = b(Mo);
|
19545
|
+
var Ys = b(So);
|
19545
19546
|
var OS = createSelector([G, w], (a2, e) => Object.values(a2).map((i) => {
|
19546
19547
|
var r;
|
19547
19548
|
return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
|
@@ -19651,18 +19652,18 @@ var rn = createSelector(Me, (a2) => {
|
|
19651
19652
|
var sn = createSelector([ma, jo], (a2, e) => e ? a2[e] : void 0);
|
19652
19653
|
var an = createSelector([Jo, Sa], (a2, e) => e ? a2[e] : void 0);
|
19653
19654
|
var Ur = createSelector([xr, Sa], (a2, e) => e ? a2[e] : void 0);
|
19654
|
-
var on =
|
19655
|
-
var nn =
|
19655
|
+
var on = b(sn);
|
19656
|
+
var nn = b(an);
|
19656
19657
|
var cn = createSelector([xr, Ko], (a2, e) => {
|
19657
19658
|
var t;
|
19658
19659
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
19659
19660
|
});
|
19660
|
-
var dn =
|
19661
|
+
var dn = b(createSelector(Ur, (a2) => a2 == null ? void 0 : a2[0]));
|
19661
19662
|
var ln = createSelector([xr, qo], (a2, e) => {
|
19662
19663
|
var t;
|
19663
19664
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
19664
19665
|
});
|
19665
|
-
var un =
|
19666
|
+
var un = b(createSelector(Ur, (a2) => a2));
|
19666
19667
|
|
19667
19668
|
// src/Prebuilt/components/Header/StreamActions.tsx
|
19668
19669
|
import {
|
@@ -19932,7 +19933,7 @@ var RecordingStatus = () => {
|
|
19932
19933
|
};
|
19933
19934
|
var RecordingPauseStatus = () => {
|
19934
19935
|
const recording = useHMSStore23(selectRecordingState);
|
19935
|
-
if (recording.hls && recording.hls.state ===
|
19936
|
+
if (recording.hls && recording.hls.state === bs.PAUSED) {
|
19936
19937
|
return /* @__PURE__ */ React54.createElement(
|
19937
19938
|
Tooltip,
|
19938
19939
|
{
|
@@ -20574,7 +20575,7 @@ var RaiseHand = () => {
|
|
20574
20575
|
// src/Prebuilt/components/ScreenShareToggle.jsx
|
20575
20576
|
init_define_process_env();
|
20576
20577
|
import React67, { Fragment as Fragment9 } from "react";
|
20577
|
-
import { selectIsAllowedToPublish, useHMSStore as useHMSStore28, useScreenShare as useScreenShare3 } from "@100mslive/react-sdk";
|
20578
|
+
import { selectIsAllowedToPublish, useAwayNotifications, useHMSStore as useHMSStore28, useScreenShare as useScreenShare3 } from "@100mslive/react-sdk";
|
20578
20579
|
import { ShareScreenIcon as ShareScreenIcon2 } from "@100mslive/react-icons";
|
20579
20580
|
|
20580
20581
|
// src/Prebuilt/components/pdfAnnotator/shareScreenOptions.jsx
|
@@ -21037,6 +21038,7 @@ var ScreenshareToggle = ({ css: css2 = {} }) => {
|
|
21037
21038
|
const isAllowedToPublish = useHMSStore28(selectIsAllowedToPublish);
|
21038
21039
|
const isAudioOnly = useUISettings(UI_SETTINGS.isAudioOnly);
|
21039
21040
|
const { amIScreenSharing, screenShareVideoTrackId: video, toggleScreenShare } = useScreenShare3();
|
21041
|
+
const { requestPermission } = useAwayNotifications();
|
21040
21042
|
const isVideoScreenshare = amIScreenSharing && !!video;
|
21041
21043
|
if (!isAllowedToPublish.screen || !isScreenshareSupported()) {
|
21042
21044
|
return null;
|
@@ -21049,9 +21051,10 @@ var ScreenshareToggle = ({ css: css2 = {} }) => {
|
|
21049
21051
|
active: !isVideoScreenshare,
|
21050
21052
|
css: css2,
|
21051
21053
|
disabled: isAudioOnly,
|
21052
|
-
onClick: () => {
|
21053
|
-
toggleScreenShare();
|
21054
|
-
|
21054
|
+
onClick: () => __async(void 0, null, function* () {
|
21055
|
+
yield toggleScreenShare();
|
21056
|
+
yield requestPermission();
|
21057
|
+
})
|
21055
21058
|
},
|
21056
21059
|
/* @__PURE__ */ React67.createElement(Tooltip, { title: `${!isVideoScreenshare ? "Start" : "Stop"} screen sharing` }, /* @__PURE__ */ React67.createElement(Box, null, /* @__PURE__ */ React67.createElement(ShareScreenIcon2, null)))
|
21057
21060
|
), /* @__PURE__ */ React67.createElement(ShareScreenOptions, null)));
|
@@ -22292,10 +22295,10 @@ var PrevMenu = () => {
|
|
22292
22295
|
const sortedPolls = useMemo5(
|
22293
22296
|
() => {
|
22294
22297
|
var _a7;
|
22295
|
-
return (_a7 = polls == null ? void 0 : polls.sort((a2,
|
22298
|
+
return (_a7 = polls == null ? void 0 : polls.sort((a2, b2) => {
|
22296
22299
|
var _a8, _b7;
|
22297
|
-
return (((_a8 =
|
22298
|
-
})) == null ? void 0 : _a7.sort((a2,
|
22300
|
+
return (((_a8 = b2.createdAt) == null ? void 0 : _a8.getTime()) || 0) - (((_b7 = a2.createdAt) == null ? void 0 : _b7.getTime()) || 0);
|
22301
|
+
})) == null ? void 0 : _a7.sort((a2, b2) => (b2.state === "started" ? 1 : 0) - (a2.state === "started" ? 1 : 0));
|
22299
22302
|
},
|
22300
22303
|
[polls]
|
22301
22304
|
);
|
@@ -24773,7 +24776,7 @@ function EmojiPicker({ onSelect }) {
|
|
24773
24776
|
)));
|
24774
24777
|
}
|
24775
24778
|
var ChatFooter = ({ onSend, children }) => {
|
24776
|
-
var _a7, _b7, _c, _d;
|
24779
|
+
var _a7, _b7, _c, _d, _e;
|
24777
24780
|
const hmsActions = useHMSActions36();
|
24778
24781
|
const inputRef = useRef20(null);
|
24779
24782
|
const [draftMessage, setDraftMessage] = useChatDraftMessage();
|
@@ -24789,13 +24792,15 @@ var ChatFooter = ({ onSend, children }) => {
|
|
24789
24792
|
const selection = selectedPeer.name || selectedRole || defaultSelection;
|
24790
24793
|
const isLocalPeerBlacklisted = useIsPeerBlacklisted({ local: true });
|
24791
24794
|
useEffect27(() => {
|
24792
|
-
var _a8;
|
24795
|
+
var _a8, _b8;
|
24793
24796
|
if (!selectedPeer.id && !selectedRole && !["Everyone", ""].includes(defaultSelection)) {
|
24794
24797
|
setRoleSelector(defaultSelection);
|
24795
24798
|
} else {
|
24796
|
-
(_a8 =
|
24799
|
+
if (!((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.disable_autofocus)) {
|
24800
|
+
(_b8 = inputRef.current) == null ? void 0 : _b8.focus();
|
24801
|
+
}
|
24797
24802
|
}
|
24798
|
-
}, [defaultSelection, selectedPeer, selectedRole, setRoleSelector]);
|
24803
|
+
}, [defaultSelection, (_e = elements == null ? void 0 : elements.chat) == null ? void 0 : _e.disable_autofocus, selectedPeer, selectedRole, setRoleSelector]);
|
24799
24804
|
const sendMessage = useCallback27(() => __async(void 0, null, function* () {
|
24800
24805
|
var _a8;
|
24801
24806
|
const message = (_a8 = inputRef == null ? void 0 : inputRef.current) == null ? void 0 : _a8.value;
|
@@ -28344,7 +28349,7 @@ var useCloseScreenshareWhiteboard = () => {
|
|
28344
28349
|
};
|
28345
28350
|
|
28346
28351
|
// src/Prebuilt/layouts/VideoStreamingSection.tsx
|
28347
|
-
var HLSView = React151.lazy(() => import("./HLSView-
|
28352
|
+
var HLSView = React151.lazy(() => import("./HLSView-AP53XUDF.js"));
|
28348
28353
|
var VideoStreamingSection = ({
|
28349
28354
|
screenType,
|
28350
28355
|
elements,
|
@@ -29188,9 +29193,11 @@ import React169, { useCallback as useCallback34, useEffect as useEffect65 } from
|
|
29188
29193
|
import {
|
29189
29194
|
HMSNotificationTypes as HMSNotificationTypes10,
|
29190
29195
|
HMSRoomState as HMSRoomState10,
|
29196
|
+
selectIsLocalScreenShared as selectIsLocalScreenShared2,
|
29191
29197
|
selectLocalPeerID as selectLocalPeerID16,
|
29192
29198
|
selectPeerNameByID as selectPeerNameByID5,
|
29193
29199
|
selectRoomState as selectRoomState10,
|
29200
|
+
useAwayNotifications as useAwayNotifications2,
|
29194
29201
|
useCustomEvent as useCustomEvent4,
|
29195
29202
|
useHMSNotifications as useHMSNotifications10,
|
29196
29203
|
useHMSStore as useHMSStore86,
|
@@ -29504,12 +29511,12 @@ var HandRaisedNotifications = () => {
|
|
29504
29511
|
const roomState = useHMSStore85(selectRoomState9);
|
29505
29512
|
const vanillaStore = useHMSVanillaStore16();
|
29506
29513
|
const { on_stage_exp } = useRoomLayoutConferencingScreen().elements || {};
|
29507
|
-
const
|
29514
|
+
const isSubscribing = !!useSubscribedNotifications(SUBSCRIBED_NOTIFICATIONS.METADATA_UPDATED);
|
29508
29515
|
useEffect57(() => {
|
29509
29516
|
if (!(notification == null ? void 0 : notification.data)) {
|
29510
29517
|
return;
|
29511
29518
|
}
|
29512
|
-
if (roomState !== HMSRoomState9.Connected || notification.data.isLocal || !on_stage_exp || !
|
29519
|
+
if (roomState !== HMSRoomState9.Connected || notification.data.isLocal || !on_stage_exp || !isSubscribing) {
|
29513
29520
|
return;
|
29514
29521
|
}
|
29515
29522
|
const hasPeerHandRaised = vanillaStore.getState(selectHasPeerHandRaised4(notification.data.id));
|
@@ -29517,7 +29524,7 @@ var HandRaisedNotifications = () => {
|
|
29517
29524
|
ToastBatcher.showToast({ notification, type: "RAISE_HAND" });
|
29518
29525
|
console.debug("Metadata updated", notification.data);
|
29519
29526
|
}
|
29520
|
-
}, [notification, on_stage_exp, roomState,
|
29527
|
+
}, [isSubscribing, notification, on_stage_exp, roomState, vanillaStore]);
|
29521
29528
|
return null;
|
29522
29529
|
};
|
29523
29530
|
|
@@ -29849,15 +29856,19 @@ var TrackUnmuteModal = () => {
|
|
29849
29856
|
// src/Prebuilt/components/Notifications/Notifications.tsx
|
29850
29857
|
var pollToastKey = {};
|
29851
29858
|
function Notifications() {
|
29859
|
+
var _a7, _b7;
|
29852
29860
|
const localPeerID = useHMSStore86(selectLocalPeerID16);
|
29853
29861
|
const notification = useHMSNotifications10();
|
29854
|
-
const subscribedNotifications = useSubscribedNotifications();
|
29862
|
+
const subscribedNotifications = useSubscribedNotifications() || {};
|
29855
29863
|
const roomState = useHMSStore86(selectRoomState10);
|
29856
29864
|
const updateRoomLayoutForRole = useUpdateRoomLayout();
|
29857
29865
|
const isNotificationDisabled = useIsNotificationDisabled();
|
29858
29866
|
const screenProps = useRoomLayoutConferencingScreen();
|
29859
29867
|
const vanillaStore = useHMSVanillaStore17();
|
29860
29868
|
const togglePollView = usePollViewToggle();
|
29869
|
+
const { showNotification } = useAwayNotifications2();
|
29870
|
+
const amIScreenSharing = useHMSStore86(selectIsLocalScreenShared2);
|
29871
|
+
const logoURL = (_b7 = (_a7 = useRoomLayout()) == null ? void 0 : _a7.logo) == null ? void 0 : _b7.url;
|
29861
29872
|
const handleRoleChangeDenied = useCallback34((request) => {
|
29862
29873
|
ToastManager.addToast({
|
29863
29874
|
title: `${request.peerName} denied your request to join the ${request.role.name} role`,
|
@@ -29866,7 +29877,7 @@ function Notifications() {
|
|
29866
29877
|
}, []);
|
29867
29878
|
useCustomEvent4({ type: ROLE_CHANGE_DECLINED, onEvent: handleRoleChangeDenied });
|
29868
29879
|
useEffect65(() => {
|
29869
|
-
var
|
29880
|
+
var _a8, _b8, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n2, _o2, _p;
|
29870
29881
|
if (!notification || isNotificationDisabled) {
|
29871
29882
|
return;
|
29872
29883
|
}
|
@@ -29875,7 +29886,7 @@ function Notifications() {
|
|
29875
29886
|
console.log(notification.data.id + " changed their name to " + notification.data.name);
|
29876
29887
|
break;
|
29877
29888
|
case HMSNotificationTypes10.ERROR:
|
29878
|
-
if (((
|
29889
|
+
if (((_a8 = notification.data) == null ? void 0 : _a8.isTerminal) && ((_b8 = notification.data) == null ? void 0 : _b8.action) !== "INIT") {
|
29879
29890
|
if ([500, 6008].includes((_c = notification.data) == null ? void 0 : _c.code)) {
|
29880
29891
|
ToastManager.addToast({
|
29881
29892
|
title: `Error: ${(_d = notification.data) == null ? void 0 : _d.message}`
|
@@ -29967,6 +29978,14 @@ function Notifications() {
|
|
29967
29978
|
delete pollToastKey[notification == null ? void 0 : notification.data.id];
|
29968
29979
|
}
|
29969
29980
|
break;
|
29981
|
+
case HMSNotificationTypes10.NEW_MESSAGE:
|
29982
|
+
if (amIScreenSharing) {
|
29983
|
+
showNotification(`New message from ${notification.data.senderName}`, {
|
29984
|
+
body: notification.data.message,
|
29985
|
+
icon: logoURL
|
29986
|
+
});
|
29987
|
+
}
|
29988
|
+
break;
|
29970
29989
|
default:
|
29971
29990
|
break;
|
29972
29991
|
}
|
@@ -30602,4 +30621,4 @@ lodash/lodash.js:
|
|
30602
30621
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
30603
30622
|
*)
|
30604
30623
|
*/
|
30605
|
-
//# sourceMappingURL=chunk-
|
30624
|
+
//# sourceMappingURL=chunk-LZKKW4D6.js.map
|