@100mslive/roomkit-react 0.3.21-alpha.1 → 0.3.21-alpha.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-3JERKVTE.js → HLSView-DGDWG7V5.js} +2 -2
- package/dist/{HLSView-3CVLSXRH.css → HLSView-ZWYXQX6E.css} +3 -3
- package/dist/{HLSView-3CVLSXRH.css.map → HLSView-ZWYXQX6E.css.map} +1 -1
- package/dist/{chunk-J5FLGI2T.js → chunk-BRVEA35D.js} +89 -91
- package/dist/{chunk-J5FLGI2T.js.map → chunk-BRVEA35D.js.map} +3 -3
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +297 -299
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +15 -25
- package/dist/meta.esbuild.json +24 -34
- package/package.json +7 -7
- package/src/Prebuilt/components/VideoLayouts/EqualProminence.tsx +2 -4
- /package/dist/{HLSView-3JERKVTE.js.map → HLSView-DGDWG7V5.js.map} +0 -0
@@ -107,7 +107,7 @@ var __async = (__this, __arguments, generator) => {
|
|
107
107
|
var define_process_env_default;
|
108
108
|
var init_define_process_env = __esm({
|
109
109
|
"<define:process.env>"() {
|
110
|
-
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_2fd49eb0-2158-4741-b970-37de932b0d4e", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", 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", npm_package_dependencies__100mslive_hms_whiteboard: "0.0.11-alpha.1", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.4 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", 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.10.21-alpha.1", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_2fd49eb0-2158-4741-b970-37de932b0d4e", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.4/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.13.21-alpha.1", 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.12", 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.10.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.1.12297006", 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: "613", 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_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.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240915.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.7/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.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:5326", 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__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.3.21-alpha.1", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "10992692463", STATS_VMFE: "true", 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_dependencies_ts_pattern: "4.3.0", 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: "0a20a1cccaa0c7d4b42eaee308d1132efb938bb2", 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: "1fabd1a9e22a4ded73444263fe5b4dc9dbb53af8228251c4eaf963d5af8723aa", 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--1727088432167-0.12323804271835304:/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.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1727088431972-0.8217328614932575:/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.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1727088406198-0.5045339109208111:/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.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1727088406021-0.6566894725083408:/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.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/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.20.4/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_9f9b5346-06e9-4eae-8420-7d97ae27986c", INVOCATION_ID: "c3bae4d11f8e45f0a2f02b86cbe7dd1f", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", 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: "676", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", 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", 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_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 281", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", 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_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/27.1.12297006", 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.10.21-alpha.1", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.21-alpha.1", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_resolutions_axios: "^1.7.4", 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", GITHUB_SHA: "0a20a1cccaa0c7d4b42eaee308d1132efb938bb2", 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: "github-actions[bot]", 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_2fd49eb0-2158-4741-b970-37de932b0d4e", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", 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.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_2fd49eb0-2158-4741-b970-37de932b0d4e", 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/27.1.12297006", 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.189/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_knip: "^5.11.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/27.1.12297006", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_2fd49eb0-2158-4741-b970-37de932b0d4e" };
|
110
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_d3828dc1-7b6a-463e-b0ab-c0dad7cf759a", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", 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", npm_package_dependencies__100mslive_hms_whiteboard: "0.0.11-alpha.2", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.4 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", 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.10.21-alpha.2", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_d3828dc1-7b6a-463e-b0ab-c0dad7cf759a", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.4/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.13.21-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.12", 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.10.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.1.12297006", 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: "616", 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_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.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240915.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.7/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.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:4408", 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__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.3.21-alpha.2", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "11031418226", STATS_VMFE: "true", 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_dependencies_ts_pattern: "4.3.0", 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: "e0cb9db14277a5335a89b8c71f7fc3212018bc68", 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: "91e9898327a79b835ee4bed1bacf9cbc9b3fc857b26e0fe51a4f08252f24c893", 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--1727261151103-0.23025663037765032:/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.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1727261150907-0.5223822869537762:/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.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1727261124201-0.1203937082818658:/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.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1727261124023-0.5951403803497486:/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.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/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.20.4/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_5e18eb59-ee1d-40e7-bb51-aa96853da107", INVOCATION_ID: "2a790fe37e0640538825fe5d47f61f86", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", 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: "677", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", 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", 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_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 36", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", 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_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/27.1.12297006", 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.10.21-alpha.2", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.21-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_resolutions_axios: "^1.7.4", 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", GITHUB_SHA: "e0cb9db14277a5335a89b8c71f7fc3212018bc68", 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: "github-actions[bot]", 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_d3828dc1-7b6a-463e-b0ab-c0dad7cf759a", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", 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.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_d3828dc1-7b6a-463e-b0ab-c0dad7cf759a", 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/27.1.12297006", 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.189/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_knip: "^5.11.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/27.1.12297006", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_d3828dc1-7b6a-463e-b0ab-c0dad7cf759a" };
|
111
111
|
}
|
112
112
|
});
|
113
113
|
|
@@ -12927,7 +12927,7 @@ import {
|
|
12927
12927
|
HMSRoomProvider,
|
12928
12928
|
selectIsConnectedToRoom as selectIsConnectedToRoom13,
|
12929
12929
|
useHMSActions as useHMSActions59,
|
12930
|
-
useHMSStore as
|
12930
|
+
useHMSStore as useHMSStore96
|
12931
12931
|
} from "@100mslive/react-sdk";
|
12932
12932
|
|
12933
12933
|
// src/Prebuilt/components/AppData/AppData.tsx
|
@@ -14654,7 +14654,7 @@ import {
|
|
14654
14654
|
selectRoomState as selectRoomState8,
|
14655
14655
|
useAwayNotifications as useAwayNotifications3,
|
14656
14656
|
useHMSActions as useHMSActions50,
|
14657
|
-
useHMSStore as
|
14657
|
+
useHMSStore as useHMSStore86
|
14658
14658
|
} from "@100mslive/react-sdk";
|
14659
14659
|
|
14660
14660
|
// src/Prebuilt/components/Footer/Footer.tsx
|
@@ -21429,7 +21429,7 @@ var c = (a2, e, t) => new Promise((i, r) => {
|
|
21429
21429
|
n((t = t.apply(a2, e)).next());
|
21430
21430
|
});
|
21431
21431
|
var yr = so((Nc, mo) => {
|
21432
|
-
mo.exports = { version: "0.12.21-alpha.
|
21432
|
+
mo.exports = { version: "0.12.21-alpha.2", 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": "^1.0.1", 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/ua-parser-js": "^0.7.36", "@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"] };
|
21433
21433
|
});
|
21434
21434
|
var Tr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Tr || {});
|
21435
21435
|
var ao = ((e) => (e.CHAT = "chat", e))(ao || {});
|
@@ -29347,7 +29347,7 @@ import {
|
|
29347
29347
|
selectIsLocalScreenShared as selectIsLocalScreenShared2,
|
29348
29348
|
selectLocalPeerRoleName as selectLocalPeerRoleName6,
|
29349
29349
|
useHMSActions as useHMSActions48,
|
29350
|
-
useHMSStore as
|
29350
|
+
useHMSStore as useHMSStore83
|
29351
29351
|
} from "@100mslive/react-sdk";
|
29352
29352
|
import { PeopleAddIcon as PeopleAddIcon3, ShareScreenIcon as ShareScreenIcon5 } from "@100mslive/react-icons";
|
29353
29353
|
|
@@ -29360,7 +29360,7 @@ import {
|
|
29360
29360
|
selectPeers as selectPeers3,
|
29361
29361
|
selectPeerScreenSharing as selectPeerScreenSharing2,
|
29362
29362
|
selectWhiteboard as selectWhiteboard2,
|
29363
|
-
useHMSStore as
|
29363
|
+
useHMSStore as useHMSStore79,
|
29364
29364
|
useHMSVanillaStore as useHMSVanillaStore13
|
29365
29365
|
} from "@100mslive/react-sdk";
|
29366
29366
|
|
@@ -29368,7 +29368,6 @@ import {
|
|
29368
29368
|
init_define_process_env();
|
29369
29369
|
import React144, { useEffect as useEffect49, useState as useState59 } from "react";
|
29370
29370
|
import { useMedia as useMedia31 } from "react-use";
|
29371
|
-
import { selectPeerCount as selectPeerCount6, useHMSStore as useHMSStore74 } from "@100mslive/react-sdk";
|
29372
29371
|
import { PeopleAddIcon as PeopleAddIcon2 } from "@100mslive/react-icons";
|
29373
29372
|
|
29374
29373
|
// src/Prebuilt/layouts/WaitingView.tsx
|
@@ -29744,7 +29743,6 @@ function EqualProminence({ isInsetEnabled = false, peers, onPageChange, onPageSi
|
|
29744
29743
|
const isMobile = useMedia31(config.media.md);
|
29745
29744
|
let maxTileCount = useUISettings(UI_SETTINGS.maxTileCount);
|
29746
29745
|
maxTileCount = isMobile ? Math.min(maxTileCount, 6) : maxTileCount;
|
29747
|
-
const peerCount = useHMSStore74(selectPeerCount6);
|
29748
29746
|
const pageList = usePagesWithTiles({
|
29749
29747
|
peers,
|
29750
29748
|
maxTileCount
|
@@ -29774,8 +29772,8 @@ function EqualProminence({ isInsetEnabled = false, peers, onPageChange, onPageSi
|
|
29774
29772
|
), pageList.length === 0 ? /* @__PURE__ */ React144.createElement(
|
29775
29773
|
WaitingView,
|
29776
29774
|
{
|
29777
|
-
title:
|
29778
|
-
subtitle:
|
29775
|
+
title: "You're the only one here",
|
29776
|
+
subtitle: "Sit back and relax till others join",
|
29779
29777
|
icon: /* @__PURE__ */ React144.createElement(PeopleAddIcon2, { width: "56px", height: "56px", style: { color: "white" } })
|
29780
29778
|
}
|
29781
29779
|
) : null, isInsetEnabled && /* @__PURE__ */ React144.createElement(InsetTile, null));
|
@@ -29785,13 +29783,13 @@ function EqualProminence({ isInsetEnabled = false, peers, onPageChange, onPageSi
|
|
29785
29783
|
init_define_process_env();
|
29786
29784
|
import React147, { useEffect as useEffect51, useState as useState61 } from "react";
|
29787
29785
|
import { useMedia as useMedia33 } from "react-use";
|
29788
|
-
import { selectLocalPeer as selectLocalPeer11, useHMSStore as
|
29786
|
+
import { selectLocalPeer as selectLocalPeer11, useHMSStore as useHMSStore75 } from "@100mslive/react-sdk";
|
29789
29787
|
|
29790
29788
|
// src/Prebuilt/components/SecondaryTiles.tsx
|
29791
29789
|
init_define_process_env();
|
29792
29790
|
import React146, { useEffect as useEffect50, useRef as useRef29, useState as useState60 } from "react";
|
29793
29791
|
import { useMedia as useMedia32 } from "react-use";
|
29794
|
-
import { selectAppData as selectAppData10, selectSessionStore as selectSessionStore12, selectTrackByID as selectTrackByID4, useHMSStore as
|
29792
|
+
import { selectAppData as selectAppData10, selectSessionStore as selectSessionStore12, selectTrackByID as selectTrackByID4, useHMSStore as useHMSStore74 } from "@100mslive/react-sdk";
|
29795
29793
|
|
29796
29794
|
// src/Prebuilt/components/VideoLayouts/ProminenceLayout.tsx
|
29797
29795
|
init_define_process_env();
|
@@ -29878,10 +29876,10 @@ var SecondaryTiles = ({ peers, onPageChange, onPageSize, edgeToEdge, hasSidebar
|
|
29878
29876
|
const isMobile = useMedia32(config.media.md);
|
29879
29877
|
const maxTileCount = isMobile ? 2 : 4;
|
29880
29878
|
const [page, setPage] = useState60(0);
|
29881
|
-
const pinnedTrackId =
|
29882
|
-
const spotlightPeerId =
|
29883
|
-
const activeScreensharePeerId =
|
29884
|
-
const pinnedPeer = (_a7 =
|
29879
|
+
const pinnedTrackId = useHMSStore74(selectAppData10(APP_DATA.pinnedTrackId));
|
29880
|
+
const spotlightPeerId = useHMSStore74(selectSessionStore12("spotlight" /* SPOTLIGHT */));
|
29881
|
+
const activeScreensharePeerId = useHMSStore74(selectAppData10(APP_DATA.activeScreensharePeerId));
|
29882
|
+
const pinnedPeer = (_a7 = useHMSStore74(selectTrackByID4(pinnedTrackId))) == null ? void 0 : _a7.peerId;
|
29885
29883
|
const pageChangedAfterPinning = useRef29(false);
|
29886
29884
|
const pagesWithTiles = usePagesWithTiles({
|
29887
29885
|
peers: spotlightPeerId || pinnedPeer ? [...peers].sort((p1, p2) => {
|
@@ -29981,7 +29979,7 @@ function RoleProminence({
|
|
29981
29979
|
}) {
|
29982
29980
|
var _a7;
|
29983
29981
|
const { prominentPeers, secondaryPeers } = useRoleProminencePeers(prominentRoles, peers, isInsetEnabled);
|
29984
|
-
const localPeer =
|
29982
|
+
const localPeer = useHMSStore75(selectLocalPeer11);
|
29985
29983
|
const isMobile = useMedia33(config.media.md);
|
29986
29984
|
let maxTileCount = useUISettings(UI_SETTINGS.maxTileCount);
|
29987
29985
|
maxTileCount = isMobile ? 4 : maxTileCount;
|
@@ -30017,7 +30015,7 @@ function RoleProminence({
|
|
30017
30015
|
init_define_process_env();
|
30018
30016
|
import React151, { useEffect as useEffect52, useMemo as useMemo18, useState as useState64 } from "react";
|
30019
30017
|
import { useMedia as useMedia35 } from "react-use";
|
30020
|
-
import { selectPeersScreenSharing, useHMSStore as
|
30018
|
+
import { selectPeersScreenSharing, useHMSStore as useHMSStore77 } from "@100mslive/react-sdk";
|
30021
30019
|
|
30022
30020
|
// src/Prebuilt/components/ScreenshareTile.tsx
|
30023
30021
|
init_define_process_env();
|
@@ -30029,7 +30027,7 @@ import {
|
|
30029
30027
|
selectPeerByID as selectPeerByID4,
|
30030
30028
|
selectScreenShareAudioByPeerID,
|
30031
30029
|
selectScreenShareByPeerID as selectScreenShareByPeerID2,
|
30032
|
-
useHMSStore as
|
30030
|
+
useHMSStore as useHMSStore76
|
30033
30031
|
} from "@100mslive/react-sdk";
|
30034
30032
|
import { ExpandIcon as ExpandIcon3, ShrinkIcon as ShrinkIcon2 } from "@100mslive/react-icons";
|
30035
30033
|
|
@@ -30184,10 +30182,10 @@ var labelStyles = {
|
|
30184
30182
|
flexShrink: 0
|
30185
30183
|
};
|
30186
30184
|
var Tile2 = ({ peerId, width = "100%", height = "100%" }) => {
|
30187
|
-
const isLocal =
|
30188
|
-
const track =
|
30185
|
+
const isLocal = useHMSStore76(selectLocalPeerID12) === peerId;
|
30186
|
+
const track = useHMSStore76(selectScreenShareByPeerID2(peerId));
|
30189
30187
|
const { theme: theme2 } = useTheme();
|
30190
|
-
const peer =
|
30188
|
+
const peer = useHMSStore76(selectPeerByID4(peerId));
|
30191
30189
|
const isAudioOnly = useUISettings(UI_SETTINGS.isAudioOnly);
|
30192
30190
|
const [isMouseHovered, setIsMouseHovered] = useState63(false);
|
30193
30191
|
const isMobile = useMedia34(config.media.md);
|
@@ -30198,7 +30196,7 @@ var Tile2 = ({ peerId, width = "100%", height = "100%" }) => {
|
|
30198
30196
|
onClose: () => setFullscreen(false)
|
30199
30197
|
});
|
30200
30198
|
const isFullScreenSupported = screenfull2.isEnabled;
|
30201
|
-
const audioTrack =
|
30199
|
+
const audioTrack = useHMSStore76(selectScreenShareAudioByPeerID(peer == null ? void 0 : peer.id));
|
30202
30200
|
if (isLocal && (track == null ? void 0 : track.displaySurface) && !["browser", "window", "application"].includes(track.displaySurface)) {
|
30203
30201
|
return /* @__PURE__ */ React150.createElement(ScreenshareDisplay, null);
|
30204
30202
|
}
|
@@ -30278,7 +30276,7 @@ var ScreenshareTile_default = ScreenshareTile;
|
|
30278
30276
|
// src/Prebuilt/components/VideoLayouts/ScreenshareLayout.tsx
|
30279
30277
|
var ScreenshareLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
|
30280
30278
|
var _a7;
|
30281
|
-
const peersSharing =
|
30279
|
+
const peersSharing = useHMSStore77(selectPeersScreenSharing);
|
30282
30280
|
const [, setActiveScreenSharePeer] = useSetAppDataByKey(APP_DATA.activeScreensharePeerId);
|
30283
30281
|
const [page, setPage] = useState64(0);
|
30284
30282
|
const [layoutMode, setLayoutMode] = useSetUiSettings(UI_SETTINGS.layoutMode);
|
@@ -30330,7 +30328,7 @@ init_define_process_env();
|
|
30330
30328
|
import React152, { useEffect as useEffect53, useMemo as useMemo19 } from "react";
|
30331
30329
|
import { useMedia as useMedia36 } from "react-use";
|
30332
30330
|
import { Whiteboard } from "@100mslive/hms-whiteboard";
|
30333
|
-
import { selectPeerByCondition, selectWhiteboard, useHMSStore as
|
30331
|
+
import { selectPeerByCondition, selectWhiteboard, useHMSStore as useHMSStore78, useWhiteboard as useWhiteboard2 } from "@100mslive/react-sdk";
|
30334
30332
|
var WhiteboardEmbed = () => {
|
30335
30333
|
const isMobile = useMedia36(config.media.md);
|
30336
30334
|
const { token, endpoint, zoomToContent } = useWhiteboard2(isMobile);
|
@@ -30354,8 +30352,8 @@ var WhiteboardEmbed = () => {
|
|
30354
30352
|
);
|
30355
30353
|
};
|
30356
30354
|
var WhiteboardLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
|
30357
|
-
const whiteboard =
|
30358
|
-
const whiteboardOwner =
|
30355
|
+
const whiteboard = useHMSStore78(selectWhiteboard);
|
30356
|
+
const whiteboardOwner = useHMSStore78(selectPeerByCondition((peer) => peer.customerUserId === (whiteboard == null ? void 0 : whiteboard.owner)));
|
30359
30357
|
const [layoutMode, setLayoutMode] = useSetUiSettings(UI_SETTINGS.layoutMode);
|
30360
30358
|
const isMobile = useMedia36(config.media.md);
|
30361
30359
|
const hasSidebar = !isMobile && layoutMode === LayoutMode.SIDEBAR;
|
@@ -30500,12 +30498,12 @@ var GridLayout = ({
|
|
30500
30498
|
edge_to_edge = false,
|
30501
30499
|
hide_metadata_on_tile = false
|
30502
30500
|
}) => {
|
30503
|
-
const peerSharing =
|
30504
|
-
const whiteboard =
|
30501
|
+
const peerSharing = useHMSStore79(selectPeerScreenSharing2);
|
30502
|
+
const whiteboard = useHMSStore79(selectWhiteboard2);
|
30505
30503
|
const pinnedTrack = usePinnedTrack();
|
30506
|
-
const peers =
|
30507
|
-
const localPeerRole =
|
30508
|
-
const localPeerID =
|
30504
|
+
const peers = useHMSStore79(selectPeers3);
|
30505
|
+
const localPeerRole = useHMSStore79(selectLocalPeerRoleName5);
|
30506
|
+
const localPeerID = useHMSStore79(selectLocalPeerID13);
|
30509
30507
|
const [activeScreensharePeerId] = useSetAppDataByKey(APP_DATA.activeScreensharePeerId);
|
30510
30508
|
const isRoleProminence = prominentRoles.length && peers.some(
|
30511
30509
|
(peer) => peer.roleName && prominentRoles.includes(peer.roleName) && (peer.videoTrack || peer.audioTrack)
|
@@ -30604,13 +30602,13 @@ var GridLayout = ({
|
|
30604
30602
|
// src/Prebuilt/layouts/EmbedView.jsx
|
30605
30603
|
init_define_process_env();
|
30606
30604
|
import React154, { useEffect as useEffect55, useMemo as useMemo21 } from "react";
|
30607
|
-
import { selectAppData as selectAppData11, selectPeers as selectPeers4, selectPeerScreenSharing as selectPeerScreenSharing3, useEmbedShare, useHMSStore as
|
30605
|
+
import { selectAppData as selectAppData11, selectPeers as selectPeers4, selectPeerScreenSharing as selectPeerScreenSharing3, useEmbedShare, useHMSStore as useHMSStore80 } from "@100mslive/react-sdk";
|
30608
30606
|
var EmbedView = () => {
|
30609
30607
|
return /* @__PURE__ */ React154.createElement(EmbedScreenShareView, null, /* @__PURE__ */ React154.createElement(EmbedComponent, null));
|
30610
30608
|
};
|
30611
30609
|
var EmbedScreenShareView = ({ children }) => {
|
30612
|
-
const peers =
|
30613
|
-
const peerPresenting =
|
30610
|
+
const peers = useHMSStore80(selectPeers4);
|
30611
|
+
const peerPresenting = useHMSStore80(selectPeerScreenSharing3);
|
30614
30612
|
const [, setActiveScreenSharePeer] = useSetAppDataByKey(APP_DATA.activeScreensharePeerId);
|
30615
30613
|
const smallTilePeers = useMemo21(() => {
|
30616
30614
|
const smallTilePeers2 = peers.filter((peer) => peer.id !== (peerPresenting == null ? void 0 : peerPresenting.id));
|
@@ -30625,7 +30623,7 @@ var EmbedScreenShareView = ({ children }) => {
|
|
30625
30623
|
return /* @__PURE__ */ React154.createElement(ProminenceLayout.Root, null, /* @__PURE__ */ React154.createElement(ProminenceLayout.ProminentSection, null, children), /* @__PURE__ */ React154.createElement(SecondaryTiles, { peers: smallTilePeers }));
|
30626
30624
|
};
|
30627
30625
|
var EmbedComponent = () => {
|
30628
|
-
const embedConfig =
|
30626
|
+
const embedConfig = useHMSStore80(selectAppData11(APP_DATA.embedConfig));
|
30629
30627
|
const resetConfig = useResetEmbedConfig();
|
30630
30628
|
const { iframeRef, startEmbedShare, isEmbedShareInProgress } = useEmbedShare(resetConfig);
|
30631
30629
|
useEffect55(() => {
|
@@ -30741,7 +30739,7 @@ import { useMedia as useMedia37 } from "react-use";
|
|
30741
30739
|
import {
|
30742
30740
|
selectIsTranscriptionEnabled as selectIsTranscriptionEnabled5,
|
30743
30741
|
selectPeerNameByID as selectPeerNameByID6,
|
30744
|
-
useHMSStore as
|
30742
|
+
useHMSStore as useHMSStore81,
|
30745
30743
|
useTranscript
|
30746
30744
|
} from "@100mslive/react-sdk";
|
30747
30745
|
var SimpleQueue = class {
|
@@ -30877,7 +30875,7 @@ var CaptionMaintainerQueue = class {
|
|
30877
30875
|
}
|
30878
30876
|
};
|
30879
30877
|
var TranscriptView = ({ peer_id, data: data3 }) => {
|
30880
|
-
const peerName =
|
30878
|
+
const peerName = useHMSStore81(selectPeerNameByID6(peer_id)) || "Participant";
|
30881
30879
|
data3 = data3.trim();
|
30882
30880
|
if (!data3)
|
30883
30881
|
return null;
|
@@ -30905,7 +30903,7 @@ var CaptionsViewer = ({
|
|
30905
30903
|
const [captionQueue] = useState66(new CaptionMaintainerQueue());
|
30906
30904
|
const [currentData, setCurrentData] = useState66([]);
|
30907
30905
|
const isCaptionEnabled = useIsCaptionEnabled();
|
30908
|
-
const isTranscriptionEnabled =
|
30906
|
+
const isTranscriptionEnabled = useHMSStore81(selectIsTranscriptionEnabled5);
|
30909
30907
|
const nodeRef = useRef31(null);
|
30910
30908
|
useEffect57(() => {
|
30911
30909
|
const timeInterval = setInterval(() => {
|
@@ -30975,9 +30973,9 @@ var CaptionsViewer = ({
|
|
30975
30973
|
// src/Prebuilt/components/hooks/useCloseScreenshareWhiteboard.tsx
|
30976
30974
|
init_define_process_env();
|
30977
30975
|
import { useEffect as useEffect58 } from "react";
|
30978
|
-
import { selectPeerScreenSharing as selectPeerScreenSharing4, useHMSStore as
|
30976
|
+
import { selectPeerScreenSharing as selectPeerScreenSharing4, useHMSStore as useHMSStore82, useWhiteboard as useWhiteboard3 } from "@100mslive/react-sdk";
|
30979
30977
|
var useCloseScreenshareWhiteboard = () => {
|
30980
|
-
const peerSharing =
|
30978
|
+
const peerSharing = useHMSStore82(selectPeerScreenSharing4);
|
30981
30979
|
const { isOwner: isWhiteboardOwner, toggle: toggleWhiteboard } = useWhiteboard3();
|
30982
30980
|
useEffect58(() => {
|
30983
30981
|
if (isWhiteboardOwner && peerSharing) {
|
@@ -30987,16 +30985,16 @@ var useCloseScreenshareWhiteboard = () => {
|
|
30987
30985
|
};
|
30988
30986
|
|
30989
30987
|
// src/Prebuilt/layouts/VideoStreamingSection.tsx
|
30990
|
-
var HLSView = React157.lazy(() => import("./HLSView-
|
30988
|
+
var HLSView = React157.lazy(() => import("./HLSView-DGDWG7V5.js"));
|
30991
30989
|
var VideoStreamingSection = ({
|
30992
30990
|
screenType,
|
30993
30991
|
elements,
|
30994
30992
|
hideControls = false
|
30995
30993
|
}) => {
|
30996
30994
|
var _a7;
|
30997
|
-
const localPeerRoleName =
|
30998
|
-
const isConnected =
|
30999
|
-
const isSharingScreen =
|
30995
|
+
const localPeerRoleName = useHMSStore83(selectLocalPeerRoleName6);
|
30996
|
+
const isConnected = useHMSStore83(selectIsConnectedToRoom9);
|
30997
|
+
const isSharingScreen = useHMSStore83(selectIsLocalScreenShared2);
|
31000
30998
|
const hmsActions = useHMSActions48();
|
31001
30999
|
const urlToIframe = useUrlToEmbed();
|
31002
31000
|
const pdfAnnotatorActive = usePDFConfig();
|
@@ -31106,7 +31104,7 @@ init_define_process_env();
|
|
31106
31104
|
init_define_process_env();
|
31107
31105
|
import React160 from "react";
|
31108
31106
|
import { useMedia as useMedia40 } from "react-use";
|
31109
|
-
import { HMSRoomState as HMSRoomState7, selectRoomState as selectRoomState7, useHMSStore as
|
31107
|
+
import { HMSRoomState as HMSRoomState7, selectRoomState as selectRoomState7, useHMSStore as useHMSStore85 } from "@100mslive/react-sdk";
|
31110
31108
|
|
31111
31109
|
// src/Prebuilt/components/Header/RoomDetailsHeader.tsx
|
31112
31110
|
init_define_process_env();
|
@@ -31143,7 +31141,7 @@ import {
|
|
31143
31141
|
selectVideoTrackByID as selectVideoTrackByID7,
|
31144
31142
|
useDevices as useDevices3,
|
31145
31143
|
useHMSActions as useHMSActions49,
|
31146
|
-
useHMSStore as
|
31144
|
+
useHMSStore as useHMSStore84
|
31147
31145
|
} from "@100mslive/react-sdk";
|
31148
31146
|
import {
|
31149
31147
|
BluetoothIcon,
|
@@ -31158,9 +31156,9 @@ var CamaraFlipActions = () => {
|
|
31158
31156
|
const actions = useHMSActions49();
|
31159
31157
|
const { allDevices } = useDevices3();
|
31160
31158
|
const { videoInput } = allDevices;
|
31161
|
-
const isVideoOn =
|
31162
|
-
const videoTrackId =
|
31163
|
-
const localVideoTrack =
|
31159
|
+
const isVideoOn = useHMSStore84(selectIsLocalVideoEnabled8);
|
31160
|
+
const videoTrackId = useHMSStore84(selectLocalVideoTrackID3);
|
31161
|
+
const localVideoTrack = useHMSStore84(selectVideoTrackByID7(videoTrackId));
|
31164
31162
|
if (!videoInput || !(videoInput == null ? void 0 : videoInput.length) || !(localVideoTrack == null ? void 0 : localVideoTrack.facingMode)) {
|
31165
31163
|
return null;
|
31166
31164
|
}
|
@@ -31299,7 +31297,7 @@ var SelectWithLabel = ({ label, icon = /* @__PURE__ */ React159.createElement(Re
|
|
31299
31297
|
|
31300
31298
|
// src/Prebuilt/components/Header/Header.tsx
|
31301
31299
|
var Header2 = () => {
|
31302
|
-
const roomState =
|
31300
|
+
const roomState = useHMSStore85(selectRoomState7);
|
31303
31301
|
const isMobile = useMedia40(config.media.md);
|
31304
31302
|
if (roomState !== HMSRoomState7.Connected) {
|
31305
31303
|
return /* @__PURE__ */ React160.createElement(React160.Fragment, null);
|
@@ -31345,11 +31343,11 @@ var ConferenceScreen = () => {
|
|
31345
31343
|
const { userName, endpoints, onJoin: onJoinFunc } = useHMSPrebuiltContext();
|
31346
31344
|
const screenProps = useRoomLayoutConferencingScreen();
|
31347
31345
|
const { isPreviewScreenEnabled } = useRoomLayoutPreviewScreen();
|
31348
|
-
const roomState =
|
31349
|
-
const isConnectedToRoom =
|
31346
|
+
const roomState = useHMSStore86(selectRoomState8);
|
31347
|
+
const isConnectedToRoom = useHMSStore86(selectIsConnectedToRoom10);
|
31350
31348
|
const hmsActions = useHMSActions50();
|
31351
31349
|
const [hideControls, setHideControls] = useState68(false);
|
31352
|
-
const dropdownList =
|
31350
|
+
const dropdownList = useHMSStore86(selectAppData12(APP_DATA.dropdownList));
|
31353
31351
|
const authTokenInAppData = useAuthToken();
|
31354
31352
|
const headerRef = useRef32(null);
|
31355
31353
|
const footerRef = useRef32(null);
|
@@ -31593,7 +31591,7 @@ import React163, { useEffect as useEffect63 } from "react";
|
|
31593
31591
|
// src/Prebuilt/services/FeatureFlags.jsx
|
31594
31592
|
init_define_process_env();
|
31595
31593
|
import { useEffect as useEffect62 } from "react";
|
31596
|
-
import { selectRoomID, useHMSStore as
|
31594
|
+
import { selectRoomID, useHMSStore as useHMSStore87 } from "@100mslive/react-sdk";
|
31597
31595
|
var FeatureFlags = class {
|
31598
31596
|
static init(roomId) {
|
31599
31597
|
if (!window.HMS) {
|
@@ -31618,7 +31616,7 @@ __publicField(FeatureFlags, "enableTranscription", define_process_env_default.RE
|
|
31618
31616
|
__publicField(FeatureFlags, "enableStatsForNerds", define_process_env_default.REACT_APP_ENABLE_STATS_FOR_NERDS === "true");
|
31619
31617
|
__publicField(FeatureFlags, "enableWhiteboard", define_process_env_default.REACT_APP_ENABLE_WHITEBOARD && define_process_env_default.REACT_APP_PUSHER_APP_KEY && define_process_env_default.REACT_APP_PUSHER_AUTHENDPOINT);
|
31620
31618
|
function FeatureFlagsInit() {
|
31621
|
-
const roomId =
|
31619
|
+
const roomId = useHMSStore87(selectRoomID);
|
31622
31620
|
useEffect62(() => {
|
31623
31621
|
if (roomId) {
|
31624
31622
|
FeatureFlags.init(roomId);
|
@@ -32333,7 +32331,7 @@ import {
|
|
32333
32331
|
useAwayNotifications as useAwayNotifications5,
|
32334
32332
|
useCustomEvent as useCustomEvent4,
|
32335
32333
|
useHMSNotifications as useHMSNotifications11,
|
32336
|
-
useHMSStore as
|
32334
|
+
useHMSStore as useHMSStore91,
|
32337
32335
|
useHMSVanillaStore as useHMSVanillaStore17
|
32338
32336
|
} from "@100mslive/react-sdk";
|
32339
32337
|
import { GroupIcon as GroupIcon2 } from "@100mslive/react-icons";
|
@@ -32373,12 +32371,12 @@ function AutoplayBlockedModal() {
|
|
32373
32371
|
init_define_process_env();
|
32374
32372
|
import React170, { useEffect as useEffect66 } from "react";
|
32375
32373
|
import { v4 as uuid4 } from "uuid";
|
32376
|
-
import { selectLocalPeerID as selectLocalPeerID14, selectSessionStore as selectSessionStore13, useHMSStore as
|
32374
|
+
import { selectLocalPeerID as selectLocalPeerID14, selectSessionStore as selectSessionStore13, useHMSStore as useHMSStore88 } from "@100mslive/react-sdk";
|
32377
32375
|
import { ChatIcon as ChatIcon2, ChatUnreadIcon } from "@100mslive/react-icons";
|
32378
32376
|
var NOTIFICATION_TIME_DIFFERENCE = 5e3;
|
32379
32377
|
var ChatNotifications = () => {
|
32380
|
-
const chatState =
|
32381
|
-
const localPeerId =
|
32378
|
+
const chatState = useHMSStore88(selectSessionStore13("chatState" /* CHAT_STATE */));
|
32379
|
+
const localPeerId = useHMSStore88(selectLocalPeerID14);
|
32382
32380
|
useEffect66(() => {
|
32383
32381
|
var _a7, _b7;
|
32384
32382
|
if (!chatState || ((_a7 = chatState.updatedBy) == null ? void 0 : _a7.peerId) === localPeerId) {
|
@@ -32412,7 +32410,7 @@ import {
|
|
32412
32410
|
selectRoomState as selectRoomState9,
|
32413
32411
|
useAwayNotifications as useAwayNotifications4,
|
32414
32412
|
useHMSNotifications as useHMSNotifications2,
|
32415
|
-
useHMSStore as
|
32413
|
+
useHMSStore as useHMSStore90,
|
32416
32414
|
useHMSVanillaStore as useHMSVanillaStore16
|
32417
32415
|
} from "@100mslive/react-sdk";
|
32418
32416
|
|
@@ -32422,7 +32420,7 @@ init_define_process_env();
|
|
32422
32420
|
// src/Prebuilt/components/Toast/ToastConfig.jsx
|
32423
32421
|
init_define_process_env();
|
32424
32422
|
import React171, { useCallback as useCallback35 } from "react";
|
32425
|
-
import { selectPeerByID as selectPeerByID5, useHMSActions as useHMSActions53, useHMSStore as
|
32423
|
+
import { selectPeerByID as selectPeerByID5, useHMSActions as useHMSActions53, useHMSStore as useHMSStore89 } from "@100mslive/react-sdk";
|
32426
32424
|
import {
|
32427
32425
|
ChatUnreadIcon as ChatUnreadIcon2,
|
32428
32426
|
ConnectivityIcon,
|
@@ -32444,7 +32442,7 @@ var HandRaiseAction = React171.forwardRef(({ id = "", isSingleHandRaise = true }
|
|
32444
32442
|
const hmsActions = useHMSActions53();
|
32445
32443
|
const toggleSidepane = useSidepaneToggle(SIDE_PANE_OPTIONS.PARTICIPANTS);
|
32446
32444
|
const isParticipantsOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.PARTICIPANTS);
|
32447
|
-
const peer =
|
32445
|
+
const peer = useHMSStore89(selectPeerByID5(id));
|
32448
32446
|
const layout = useRoomLayout();
|
32449
32447
|
const {
|
32450
32448
|
bring_to_stage_label,
|
@@ -32653,11 +32651,11 @@ ToastManager.addListener(ToastBatcher.syncUItoast.bind(ToastBatcher));
|
|
32653
32651
|
var HandRaisedNotifications = () => {
|
32654
32652
|
var _a7, _b7;
|
32655
32653
|
const notification = useHMSNotifications2(HMSNotificationTypes2.HAND_RAISE_CHANGED);
|
32656
|
-
const roomState =
|
32654
|
+
const roomState = useHMSStore90(selectRoomState9);
|
32657
32655
|
const vanillaStore = useHMSVanillaStore16();
|
32658
32656
|
const { on_stage_exp } = useRoomLayoutConferencingScreen().elements || {};
|
32659
32657
|
const isSubscribing = !!useSubscribedNotifications(SUBSCRIBED_NOTIFICATIONS.METADATA_UPDATED);
|
32660
|
-
const amIScreenSharing =
|
32658
|
+
const amIScreenSharing = useHMSStore90(selectIsLocalScreenShared3);
|
32661
32659
|
const { showNotification } = useAwayNotifications4();
|
32662
32660
|
const logoURL = (_b7 = (_a7 = useRoomLayout()) == null ? void 0 : _a7.logo) == null ? void 0 : _b7.url;
|
32663
32661
|
useEffect67(() => {
|
@@ -33051,17 +33049,17 @@ var TranscriptionNotifications = () => {
|
|
33051
33049
|
var pollToastKey = {};
|
33052
33050
|
function Notifications() {
|
33053
33051
|
var _a7, _b7;
|
33054
|
-
const localPeerID =
|
33052
|
+
const localPeerID = useHMSStore91(selectLocalPeerID15);
|
33055
33053
|
const notification = useHMSNotifications11();
|
33056
33054
|
const subscribedNotifications = useSubscribedNotifications() || {};
|
33057
|
-
const roomState =
|
33055
|
+
const roomState = useHMSStore91(selectRoomState10);
|
33058
33056
|
const updateRoomLayoutForRole = useUpdateRoomLayout();
|
33059
33057
|
const isNotificationDisabled = useIsNotificationDisabled();
|
33060
33058
|
const screenProps = useRoomLayoutConferencingScreen();
|
33061
33059
|
const vanillaStore = useHMSVanillaStore17();
|
33062
33060
|
const togglePollView = usePollViewToggle();
|
33063
33061
|
const { showNotification } = useAwayNotifications5();
|
33064
|
-
const amIScreenSharing =
|
33062
|
+
const amIScreenSharing = useHMSStore91(selectIsLocalScreenShared4);
|
33065
33063
|
const logoURL = (_b7 = (_a7 = useRoomLayout()) == null ? void 0 : _a7.logo) == null ? void 0 : _b7.url;
|
33066
33064
|
const { pipWindow } = usePIPWindow();
|
33067
33065
|
const handleRoleChangeDenied = useCallback36((request) => {
|
@@ -33258,7 +33256,7 @@ var PreviewScreen = () => {
|
|
33258
33256
|
// src/Prebuilt/components/Toast/ToastContainer.jsx
|
33259
33257
|
init_define_process_env();
|
33260
33258
|
import React181, { useEffect as useEffect77, useState as useState77 } from "react";
|
33261
|
-
import { selectIsConnectedToRoom as selectIsConnectedToRoom11, useHMSStore as
|
33259
|
+
import { selectIsConnectedToRoom as selectIsConnectedToRoom11, useHMSStore as useHMSStore92 } from "@100mslive/react-sdk";
|
33262
33260
|
|
33263
33261
|
// src/Prebuilt/components/Toast/Toast.jsx
|
33264
33262
|
init_define_process_env();
|
@@ -33281,7 +33279,7 @@ var Toast2 = (_a7) => {
|
|
33281
33279
|
|
33282
33280
|
// src/Prebuilt/components/Toast/ToastContainer.jsx
|
33283
33281
|
var ToastContainer = () => {
|
33284
|
-
const isConnected =
|
33282
|
+
const isConnected = useHMSStore92(selectIsConnectedToRoom11);
|
33285
33283
|
const [toasts, setToast] = useState77([]);
|
33286
33284
|
useEffect77(() => {
|
33287
33285
|
ToastManager.addListener(setToast);
|
@@ -33304,7 +33302,7 @@ var ToastContainer = () => {
|
|
33304
33302
|
// src/Prebuilt/layouts/Sheet.tsx
|
33305
33303
|
init_define_process_env();
|
33306
33304
|
import React183 from "react";
|
33307
|
-
import { selectAppData as selectAppData14, useHMSStore as
|
33305
|
+
import { selectAppData as selectAppData14, useHMSStore as useHMSStore93 } from "@100mslive/react-sdk";
|
33308
33306
|
|
33309
33307
|
// src/Prebuilt/components/RoomDetails/RoomDetailsSheet.tsx
|
33310
33308
|
init_define_process_env();
|
@@ -33328,7 +33326,7 @@ var RoomDetailsSheet = () => {
|
|
33328
33326
|
|
33329
33327
|
// src/Prebuilt/layouts/Sheet.tsx
|
33330
33328
|
var Sheet2 = () => {
|
33331
|
-
const sheet =
|
33329
|
+
const sheet = useHMSStore93(selectAppData14(APP_DATA.sheet));
|
33332
33330
|
let ViewComponent;
|
33333
33331
|
if (sheet === SHEET_OPTIONS.ROOM_DETAILS) {
|
33334
33332
|
ViewComponent = /* @__PURE__ */ React183.createElement(RoomDetailsSheet, null);
|
@@ -33346,7 +33344,7 @@ import {
|
|
33346
33344
|
selectPeerNameByID as selectPeerNameByID8,
|
33347
33345
|
useCustomEvent as useCustomEvent5,
|
33348
33346
|
useHMSActions as useHMSActions56,
|
33349
|
-
useHMSStore as
|
33347
|
+
useHMSStore as useHMSStore94,
|
33350
33348
|
useHMSVanillaStore as useHMSVanillaStore18
|
33351
33349
|
} from "@100mslive/react-sdk";
|
33352
33350
|
var emojiCount = 1;
|
@@ -33373,12 +33371,12 @@ var getStartingPoints = (isMobile) => {
|
|
33373
33371
|
return arr;
|
33374
33372
|
};
|
33375
33373
|
function FlyingEmoji() {
|
33376
|
-
const localPeerId =
|
33374
|
+
const localPeerId = useHMSStore94(selectLocalPeerID16);
|
33377
33375
|
const vanillaStore = useHMSVanillaStore18();
|
33378
33376
|
const hmsActions = useHMSActions56();
|
33379
33377
|
const [emojis, setEmojis] = useState78([]);
|
33380
33378
|
const isMobile = useMedia46(config.media.md);
|
33381
|
-
const isLargeRoom =
|
33379
|
+
const isLargeRoom = useHMSStore94(selectIsLargeRoom4);
|
33382
33380
|
const startingPoints = useMemo23(() => getStartingPoints(isMobile), [isMobile]);
|
33383
33381
|
const showFlyingEmoji = useCallback38(
|
33384
33382
|
(_0) => __async(this, [_0], function* ({ emojiId, senderId }) {
|
@@ -33496,15 +33494,15 @@ import {
|
|
33496
33494
|
selectIsConnectedToRoom as selectIsConnectedToRoom12,
|
33497
33495
|
selectPermissions as selectPermissions20,
|
33498
33496
|
useHMSActions as useHMSActions58,
|
33499
|
-
useHMSStore as
|
33497
|
+
useHMSStore as useHMSStore95,
|
33500
33498
|
useRecordingStreaming as useRecordingStreaming12
|
33501
33499
|
} from "@100mslive/react-sdk";
|
33502
33500
|
var useAutoStartStreaming = () => {
|
33503
33501
|
const [isHLSStarted, setHLSStarted] = useSetAppDataByKey(APP_DATA.hlsStarted);
|
33504
|
-
const permissions =
|
33502
|
+
const permissions = useHMSStore95(selectPermissions20);
|
33505
33503
|
const showStreamingUI = useShowStreamingUI();
|
33506
33504
|
const hmsActions = useHMSActions58();
|
33507
|
-
const isConnected =
|
33505
|
+
const isConnected = useHMSStore95(selectIsConnectedToRoom12);
|
33508
33506
|
const { isHLSRunning, isRTMPRunning, isHLSRecordingOn, isBrowserRecordingOn } = useRecordingStreaming12();
|
33509
33507
|
const streamStartedRef = useRef34(false);
|
33510
33508
|
const startHLS = useCallback40(() => __async(void 0, null, function* () {
|
@@ -33696,7 +33694,7 @@ var AppStates = ({ activeState }) => {
|
|
33696
33694
|
return match16({ activeState, isPreviewScreenEnabled, isLeaveScreenEnabled }).with({ activeState: "preview" /* PREVIEW */, isPreviewScreenEnabled: true }, () => /* @__PURE__ */ React186.createElement(PreviewScreen, null)).with({ activeState: "leave" /* LEAVE */, isLeaveScreenEnabled: true }, () => /* @__PURE__ */ React186.createElement(LeaveScreen, null)).otherwise(() => /* @__PURE__ */ React186.createElement(ConferenceScreen, null));
|
33697
33695
|
};
|
33698
33696
|
var BackSwipe = () => {
|
33699
|
-
const isConnectedToRoom =
|
33697
|
+
const isConnectedToRoom = useHMSStore96(selectIsConnectedToRoom13);
|
33700
33698
|
const hmsActions = useHMSActions59();
|
33701
33699
|
useEffect80(() => {
|
33702
33700
|
const onRouteLeave = () => __async(void 0, null, function* () {
|
@@ -33769,7 +33767,7 @@ import {
|
|
33769
33767
|
selectLocalMediaSettings,
|
33770
33768
|
selectTrackAudioByID as selectTrackAudioByID2,
|
33771
33769
|
useHMSActions as useHMSActions60,
|
33772
|
-
useHMSStore as
|
33770
|
+
useHMSStore as useHMSStore97
|
33773
33771
|
} from "@100mslive/react-sdk";
|
33774
33772
|
import { MicOnIcon as MicOnIcon7, SpeakerIcon as SpeakerIcon5, StopIcon as StopIcon3 } from "@100mslive/react-icons";
|
33775
33773
|
|
@@ -33924,12 +33922,12 @@ var SelectContainer = ({ children }) => /* @__PURE__ */ React190.createElement(B
|
|
33924
33922
|
var MicTest = ({ setError }) => {
|
33925
33923
|
var _a7, _b7;
|
33926
33924
|
const { hmsDiagnostics } = useDiagnostics();
|
33927
|
-
const devices =
|
33925
|
+
const devices = useHMSStore97(selectDevices);
|
33928
33926
|
const [isRecording, setIsRecording] = useState80(false);
|
33929
33927
|
const [selectedMic, setSelectedMic] = useState80(((_a7 = devices.audioInput[0]) == null ? void 0 : _a7.deviceId) || "default");
|
33930
|
-
const trackID =
|
33931
|
-
const audioLevel =
|
33932
|
-
const { audioOutputDeviceId } =
|
33928
|
+
const trackID = useHMSStore97(selectLocalAudioTrackID2);
|
33929
|
+
const audioLevel = useHMSStore97(selectTrackAudioByID2(trackID));
|
33930
|
+
const { audioOutputDeviceId } = useHMSStore97(selectLocalMediaSettings);
|
33933
33931
|
const { playing, setPlaying, audioRef } = useAudioOutputTest({
|
33934
33932
|
deviceId: audioOutputDeviceId || ((_b7 = devices.audioOutput[0]) == null ? void 0 : _b7.deviceId)
|
33935
33933
|
});
|
@@ -34005,8 +34003,8 @@ var MicTest = ({ setError }) => {
|
|
34005
34003
|
var SpeakerTest = () => {
|
34006
34004
|
var _a7;
|
34007
34005
|
const actions = useHMSActions60();
|
34008
|
-
const devices =
|
34009
|
-
const { audioOutputDeviceId } =
|
34006
|
+
const devices = useHMSStore97(selectDevices);
|
34007
|
+
const { audioOutputDeviceId } = useHMSStore97(selectLocalMediaSettings);
|
34010
34008
|
if (devices.audioOutput.length === 0) {
|
34011
34009
|
return /* @__PURE__ */ React190.createElement(React190.Fragment, null);
|
34012
34010
|
}
|
@@ -34396,15 +34394,15 @@ import {
|
|
34396
34394
|
selectDevices as selectDevices2,
|
34397
34395
|
selectLocalMediaSettings as selectLocalMediaSettings2,
|
34398
34396
|
selectLocalVideoTrackID as selectLocalVideoTrackID4,
|
34399
|
-
useHMSStore as
|
34397
|
+
useHMSStore as useHMSStore98
|
34400
34398
|
} from "@100mslive/react-sdk";
|
34401
34399
|
import { VideoOnIcon as VideoOnIcon5 } from "@100mslive/react-icons";
|
34402
34400
|
var VideoTest = () => {
|
34403
34401
|
const { hmsDiagnostics, updateStep } = useDiagnostics();
|
34404
|
-
const allDevices =
|
34402
|
+
const allDevices = useHMSStore98(selectDevices2);
|
34405
34403
|
const { videoInput } = allDevices;
|
34406
|
-
const trackID =
|
34407
|
-
const sdkSelectedDevices =
|
34404
|
+
const trackID = useHMSStore98(selectLocalVideoTrackID4);
|
34405
|
+
const sdkSelectedDevices = useHMSStore98(selectLocalMediaSettings2);
|
34408
34406
|
const [error, setError] = useState83();
|
34409
34407
|
useEffect83(() => {
|
34410
34408
|
hmsDiagnostics == null ? void 0 : hmsDiagnostics.startCameraCheck().catch((err) => {
|
@@ -34685,4 +34683,4 @@ object-assign/index.js:
|
|
34685
34683
|
@license MIT
|
34686
34684
|
*)
|
34687
34685
|
*/
|
34688
|
-
//# sourceMappingURL=chunk-
|
34686
|
+
//# sourceMappingURL=chunk-BRVEA35D.js.map
|