@100mslive/roomkit-react 0.2.7-alpha.3 → 0.2.7-alpha.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-NDCESLVD.js → HLSView-G6CC37I3.js} +2 -2
- package/dist/{chunk-AGREPSFA.js → chunk-2A3RS7ZT.js} +85 -83
- package/dist/{chunk-AGREPSFA.js.map → chunk-2A3RS7ZT.js.map} +3 -3
- package/dist/index.cjs.js +85 -83
- package/dist/index.cjs.js.map +3 -3
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +11 -11
- package/dist/meta.esbuild.json +17 -17
- package/package.json +6 -6
- package/src/Prebuilt/components/Chat/ChatFooter.tsx +6 -2
- /package/dist/{HLSView-NDCESLVD.js.map → HLSView-G6CC37I3.js.map} +0 -0
package/dist/index.cjs.js
CHANGED
@@ -10,18 +10,18 @@ var __getProtoOf = Object.getPrototypeOf;
|
|
10
10
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
11
11
|
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
12
12
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
13
|
-
var __spreadValues = (a2,
|
14
|
-
for (var prop in
|
15
|
-
if (__hasOwnProp.call(
|
16
|
-
__defNormalProp(a2, prop,
|
13
|
+
var __spreadValues = (a2, b) => {
|
14
|
+
for (var prop in b || (b = {}))
|
15
|
+
if (__hasOwnProp.call(b, prop))
|
16
|
+
__defNormalProp(a2, prop, b[prop]);
|
17
17
|
if (__getOwnPropSymbols)
|
18
|
-
for (var prop of __getOwnPropSymbols(
|
19
|
-
if (__propIsEnum.call(
|
20
|
-
__defNormalProp(a2, prop,
|
18
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
19
|
+
if (__propIsEnum.call(b, prop))
|
20
|
+
__defNormalProp(a2, prop, b[prop]);
|
21
21
|
}
|
22
22
|
return a2;
|
23
23
|
};
|
24
|
-
var __spreadProps = (a2,
|
24
|
+
var __spreadProps = (a2, b) => __defProps(a2, __getOwnPropDescs(b));
|
25
25
|
var __objRest = (source, exclude) => {
|
26
26
|
var target = {};
|
27
27
|
for (var prop in source)
|
@@ -108,7 +108,7 @@ var __async = (__this, __arguments, generator) => {
|
|
108
108
|
var define_process_env_default;
|
109
109
|
var init_define_process_env = __esm({
|
110
110
|
"<define:process.env>"() {
|
111
|
-
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_6a269208-7fd8-416d-b3d5-74914386c675", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.21 npm/? node/v18.19.0 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.9.7-alpha.3", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_6a269208-7fd8-416d-b3d5-74914386c675", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.0/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.12.7-alpha.3", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.7", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.6", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.1.10909125", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "594", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_devDependencies__rollup_plugin_image: "^3.0.2", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.7/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240212.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.0/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.0-alpha.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:19664", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__rollup_plugin_commonjs: "^21.0.3", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.2.7-alpha.3", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "7974353237", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "696d255e5bbde485a185ef420c2f00fefdb85426", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "5005a786d499af9d6c35142526e2e992df9849137903272a7d88469192e0e582", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1708436194527-0.9508270279083462:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1708436194331-0.8119815297394637:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1708436172474-0.3832567401059286:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1708436172296-0.06163994155577224:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.19.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_6bc63913-2d7b-4d0d-8381-8b0c1ac3ce8f", INVOCATION_ID: "dd170ba13a07460c8f5045474160b433", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", GOROOT_1_19_X64: "/opt/hostedtoolcache/go/1.19.13/x64", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "443", GITHUB_TRIGGERING_ACTOR: "KaustubhKumar05", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 322", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_devDependencies_rollup_plugin_import_css: "^3.3.1", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.9.7-alpha.3", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.2.7-alpha.3", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "696d255e5bbde485a185ef420c2f00fefdb85426", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "KaustubhKumar05", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_6a269208-7fd8-416d-b3d5-74914386c675", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "57426646", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.1-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_6a269208-7fd8-416d-b3d5-74914386c675", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_6a269208-7fd8-416d-b3d5-74914386c675" };
|
111
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_b054c605-9d62-4730-85d1-c1bd39b90f9a", 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.1 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.5", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_b054c605-9d62-4730-85d1-c1bd39b90f9a", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.1/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.5", 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.2.11394342", 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: "597", 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: "20240218.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:17359", 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.5", 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: "7988307485", 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: "8d0b837912949aa44009226d6930333007d5faa3", 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: "52b2eed1518a1611d3948b842272b4eaa21cfea634244c7d204596203f69bdb7", 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--1708515041107-0.8309530542738488:/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.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1708515040913-0.9427060713087052:/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.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1708515018887-0.4278552555578661:/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.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1708515018690-0.1891974958606757:/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.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/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.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_05eed65a-0c0c-453e-8c0b-a54c414f921e", INVOCATION_ID: "81d1c9eb5da544a9ba47c7abb97704bf", 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: "445", 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 441", 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.5", 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.5", 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: "8d0b837912949aa44009226d6930333007d5faa3", 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_b054c605-9d62-4730-85d1-c1bd39b90f9a", 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.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_b054c605-9d62-4730-85d1-c1bd39b90f9a", 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_b054c605-9d62-4730-85d1-c1bd39b90f9a" };
|
112
112
|
}
|
113
113
|
});
|
114
114
|
|
@@ -9742,12 +9742,12 @@ var init_utils2 = __esm({
|
|
9742
9742
|
const hour = hours !== 0 ? `${hours < 10 ? "0" : ""}${hours}:` : "";
|
9743
9743
|
return `${hour}${minutes < 10 ? "0" : ""}${minutes}:${seconds < 10 ? "0" : ""}${seconds}`;
|
9744
9744
|
};
|
9745
|
-
compareArrays = (a2,
|
9746
|
-
if (a2.length !==
|
9745
|
+
compareArrays = (a2, b) => {
|
9746
|
+
if (a2.length !== b.length)
|
9747
9747
|
return false;
|
9748
9748
|
else {
|
9749
9749
|
for (var i = 0; i < a2.length; i++) {
|
9750
|
-
if (a2[i] !==
|
9750
|
+
if (a2[i] !== b[i]) {
|
9751
9751
|
return false;
|
9752
9752
|
}
|
9753
9753
|
}
|
@@ -13769,8 +13769,8 @@ var init_DesktopOptions = __esm({
|
|
13769
13769
|
});
|
13770
13770
|
|
13771
13771
|
// ../../node_modules/reselect/es/index.js
|
13772
|
-
function defaultEqualityCheck(a2,
|
13773
|
-
return a2 ===
|
13772
|
+
function defaultEqualityCheck(a2, b) {
|
13773
|
+
return a2 === b;
|
13774
13774
|
}
|
13775
13775
|
function areArgumentsShallowlyEqual(equalityCheck, prev, next) {
|
13776
13776
|
if (prev === null || next === null || prev.length !== next.length) {
|
@@ -16314,9 +16314,9 @@ function shimGetUserMedia(window2, browserDetails) {
|
|
16314
16314
|
}
|
16315
16315
|
constraints = JSON.parse(JSON.stringify(constraints));
|
16316
16316
|
if (constraints && typeof constraints.audio === "object") {
|
16317
|
-
const remap = function(obj, a2,
|
16318
|
-
if (a2 in obj && !(
|
16319
|
-
obj[
|
16317
|
+
const remap = function(obj, a2, b) {
|
16318
|
+
if (a2 in obj && !(b in obj)) {
|
16319
|
+
obj[b] = obj[a2];
|
16320
16320
|
delete obj[a2];
|
16321
16321
|
}
|
16322
16322
|
};
|
@@ -17076,9 +17076,9 @@ function shimGetUserMedia2(window2, browserDetails) {
|
|
17076
17076
|
navigator2.mediaDevices.getUserMedia(constraints).then(onSuccess, onError);
|
17077
17077
|
};
|
17078
17078
|
if (!(browserDetails.version > 55 && "autoGainControl" in navigator2.mediaDevices.getSupportedConstraints())) {
|
17079
|
-
const remap = function(obj, a2,
|
17080
|
-
if (a2 in obj && !(
|
17081
|
-
obj[
|
17079
|
+
const remap = function(obj, a2, b) {
|
17080
|
+
if (a2 in obj && !(b in obj)) {
|
17081
|
+
obj[b] = obj[a2];
|
17082
17082
|
delete obj[a2];
|
17083
17083
|
}
|
17084
17084
|
};
|
@@ -19555,7 +19555,7 @@ function rt(a2) {
|
|
19555
19555
|
let e = false, t = false, i = false;
|
19556
19556
|
return (r = a2 == null ? void 0 : a2.publishParams) != null && r.allowed && (e = a2.publishParams.allowed.includes("video"), t = a2.publishParams.allowed.includes("audio"), i = a2.publishParams.allowed.includes("screen")), { video: e, audio: t, screen: i };
|
19557
19557
|
}
|
19558
|
-
function
|
19558
|
+
function A(a2) {
|
19559
19559
|
return (e) => (t) => a2(t, e);
|
19560
19560
|
}
|
19561
19561
|
function Oa() {
|
@@ -19596,7 +19596,7 @@ function Xh(a2) {
|
|
19596
19596
|
return a2 ? e.sessionStore[a2] : e.sessionStore;
|
19597
19597
|
};
|
19598
19598
|
}
|
19599
|
-
var import_lodash3, import_uuid3, import_uuid4, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, Rt, import_eventemitter24, import_uuid9, import_uuid10, ga, Ta, fa, Ot, Fr, Gr, Br, m, P, Qi, ya, c, nr, zi, Pa, $r, Yi, Wr, V, Ea, kn, En, G, Bt, jr, w, Xi,
|
19599
|
+
var import_lodash3, import_uuid3, import_uuid4, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, Rt, import_eventemitter24, import_uuid9, import_uuid10, ga, Ta, fa, Ot, Fr, Gr, Br, m, P, Qi, ya, c, nr, zi, Pa, $r, Yi, Wr, V, Ea, kn, En, G, Bt, jr, w, Xi, Aa, Pe, In, ba, ae, Ia, Q, pe, Rn, Hn, Z, K, Ra, Qr, Cn, Ln, er, Ha, Dn, _n, Nn, On, xn, Un, Vn, Bn, st, Ca, Fn, z, Yr, Gn, oe, $n, Ft, La, Xr, Wn, Zr, Kn, qn, jn, Jn, Qn, zn, Yn, Xn, es, ic, wa, rc, is, tr, rs, ss, as, os, ns, cs, ds, ls, us, Da, d, he, N, ps, Ce, Na, uc, hs, Ss, gs, Ve, v, f, xa, h, sr, Ts, ne, fs, Ms, ys, R, M, dr, q, lr, ur, As, bs, pr, Cs, hr, Ls, Sr, mr, _s, Ns, Je, ht, y, Ar, St, Gs, no, co, j, br, lo, uo, po, ho, So, J, Yh, eS, si, $s, tS, iS, rS, mo, go, aS, Ws, oS, To, nS, cS, dS, lS, uS, pS, Ks, qs, SS, mS, js, gS, TS, Js, fS, vS, MS, Qs, zs, fo, vo, Mo, yS, PS, kS, ES, AS, Ys, OS, yo, xS, US, VS, ko, Eo, Lr, fe, $, xi, Ki, Wo, Ko, qo, jo, Sa, Jo, ma, xr, Me, Qo, zo, Yo, Xo, Zo, en, tn, rn, sn, an, Ur, on, nn, cn, dn, ln, un;
|
19600
19600
|
var init_dist = __esm({
|
19601
19601
|
"../hms-video-store/dist/index.js"() {
|
19602
19602
|
"use strict";
|
@@ -19667,7 +19667,7 @@ var init_dist = __esm({
|
|
19667
19667
|
n((t = t.apply(a2, e)).next());
|
19668
19668
|
});
|
19669
19669
|
nr = ya((Qc, Va) => {
|
19670
|
-
Va.exports = { version: "0.11.7-alpha.
|
19670
|
+
Va.exports = { version: "0.11.7-alpha.5", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "src"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^2.0.0-beta.2", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
|
19671
19671
|
});
|
19672
19672
|
zi = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(zi || {});
|
19673
19673
|
Pa = ((e) => (e.CHAT = "chat", e))(Pa || {});
|
@@ -19683,11 +19683,11 @@ var init_dist = __esm({
|
|
19683
19683
|
jr = (a2) => a2.messages.allIDs;
|
19684
19684
|
w = (a2) => a2.tracks;
|
19685
19685
|
Xi = (a2) => a2.appData;
|
19686
|
-
|
19686
|
+
Aa = (a2) => a2.speakers;
|
19687
19687
|
Pe = createSelector([V], (a2) => a2 && a2.isConnected);
|
19688
19688
|
In = createSelector([Pe, V], (a2, e) => a2 ? e.peerCount !== void 0 ? e.peerCount || 1 : e.peers.length : Math.max(e.peerCount !== void 0 ? e.peerCount : e.peers.length - 1, 0));
|
19689
|
-
|
19690
|
-
ae = createSelector([V, G,
|
19689
|
+
ba = (a2) => a2.hideLocalPeer;
|
19690
|
+
ae = createSelector([V, G, ba], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
|
19691
19691
|
Ia = createSelector(w, (a2) => Object.values(a2));
|
19692
19692
|
Q = createSelector(V, G, (a2, e) => e[a2.localPeer]);
|
19693
19693
|
pe = createSelector(V, (a2) => a2.localPeer);
|
@@ -19701,7 +19701,7 @@ var init_dist = __esm({
|
|
19701
19701
|
return a2 && i.unshift(a2), e && i.unshift(e), i;
|
19702
19702
|
});
|
19703
19703
|
Cn = createSelector(ae, (a2) => a2.filter((e) => !e.isLocal));
|
19704
|
-
Ln = createSelector(G,
|
19704
|
+
Ln = createSelector(G, Aa, (a2, e) => {
|
19705
19705
|
let t = Object.entries(e).sort((i, r) => {
|
19706
19706
|
var n, l;
|
19707
19707
|
let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
|
@@ -20225,8 +20225,8 @@ var init_dist = __esm({
|
|
20225
20225
|
q = new dr();
|
20226
20226
|
lr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(lr || {});
|
20227
20227
|
ur = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(ur || {});
|
20228
|
-
|
20229
|
-
|
20228
|
+
As = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(As || {});
|
20229
|
+
bs = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(bs || {});
|
20230
20230
|
pr = class {
|
20231
20231
|
constructor() {
|
20232
20232
|
this.TAG = "[HMSIntersectionObserverWrapper]";
|
@@ -20357,13 +20357,13 @@ var init_dist = __esm({
|
|
20357
20357
|
}
|
20358
20358
|
};
|
20359
20359
|
y.level = 0;
|
20360
|
-
|
20360
|
+
Ar = (a2, e) => e;
|
20361
20361
|
St = (a2, e) => e;
|
20362
20362
|
Gs = (a2, e) => e;
|
20363
20363
|
no = (a2, e) => e;
|
20364
20364
|
co = (a2, e) => e;
|
20365
|
-
j = createSelector([G,
|
20366
|
-
|
20365
|
+
j = createSelector([G, Ar], (a2, e) => e ? a2[e] : null);
|
20366
|
+
br = createSelector([w, St], (a2, e) => e ? a2[e] : null);
|
20367
20367
|
lo = createSelector([w, St], (a2, e) => {
|
20368
20368
|
if (!e)
|
20369
20369
|
return null;
|
@@ -20389,94 +20389,94 @@ var init_dist = __esm({
|
|
20389
20389
|
return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
20390
20390
|
});
|
20391
20391
|
So = createSelector([es, co], (a2, e) => e ? a2[e] : null);
|
20392
|
-
J =
|
20393
|
-
Yh =
|
20392
|
+
J = A(j);
|
20393
|
+
Yh = A(createSelector([Xi, no], (a2, e) => {
|
20394
20394
|
if (a2)
|
20395
20395
|
return e ? a2[e] : a2;
|
20396
20396
|
}));
|
20397
|
-
eS =
|
20398
|
-
si =
|
20399
|
-
$s =
|
20400
|
-
tS =
|
20401
|
-
iS =
|
20402
|
-
rS =
|
20403
|
-
mo =
|
20397
|
+
eS = A(createSelector(j, (a2) => a2 == null ? void 0 : a2.name));
|
20398
|
+
si = A(br);
|
20399
|
+
$s = A(lo);
|
20400
|
+
tS = A(uo);
|
20401
|
+
iS = A(po);
|
20402
|
+
rS = A(ho);
|
20403
|
+
mo = A((a2, e) => {
|
20404
20404
|
let t = j(a2, e);
|
20405
20405
|
if (t && t.videoTrack && t.videoTrack !== "")
|
20406
20406
|
return a2.tracks[t.videoTrack];
|
20407
20407
|
});
|
20408
|
-
go =
|
20408
|
+
go = A((a2, e) => {
|
20409
20409
|
let t = j(a2, e);
|
20410
20410
|
if (t && t.audioTrack && t.audioTrack !== "")
|
20411
20411
|
return a2.tracks[t.audioTrack];
|
20412
20412
|
});
|
20413
|
-
aS =
|
20413
|
+
aS = A((a2, e) => {
|
20414
20414
|
let t = j(a2, e);
|
20415
20415
|
return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
|
20416
20416
|
});
|
20417
20417
|
Ws = (a2, e) => e ? a2.speakers[e] : null;
|
20418
|
-
oS =
|
20418
|
+
oS = A(createSelector(Ws, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
20419
20419
|
To = (a2, e) => {
|
20420
20420
|
let t = go(e)(a2);
|
20421
20421
|
return Ws(a2, t == null ? void 0 : t.id);
|
20422
20422
|
};
|
20423
|
-
nS =
|
20424
|
-
cS =
|
20423
|
+
nS = A(createSelector(To, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
20424
|
+
cS = A((a2, e) => {
|
20425
20425
|
if (e)
|
20426
20426
|
return a2.connectionQualities[e];
|
20427
20427
|
});
|
20428
|
-
dS =
|
20428
|
+
dS = A((a2, e) => {
|
20429
20429
|
let t = j(a2, e);
|
20430
20430
|
if (t) {
|
20431
20431
|
let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => et(a2.tracks[r]));
|
20432
20432
|
return i ? a2.tracks[i] : void 0;
|
20433
20433
|
}
|
20434
20434
|
});
|
20435
|
-
lS =
|
20435
|
+
lS = A(createSelector(w, j, (a2, e) => {
|
20436
20436
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
20437
20437
|
let r = a2[i];
|
20438
20438
|
return it(r) && tt(r);
|
20439
20439
|
});
|
20440
20440
|
return t ? a2[t] : void 0;
|
20441
20441
|
}));
|
20442
|
-
uS =
|
20442
|
+
uS = A(createSelector(w, j, (a2, e) => {
|
20443
20443
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
20444
20444
|
let r = a2[i];
|
20445
20445
|
return it(r) && et(r);
|
20446
20446
|
});
|
20447
20447
|
return t ? a2[t] : void 0;
|
20448
20448
|
}));
|
20449
|
-
pS =
|
20449
|
+
pS = A(createSelector(w, j, (a2, e) => {
|
20450
20450
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
20451
20451
|
let r = a2[i];
|
20452
20452
|
return Vt(r) && et(r);
|
20453
20453
|
});
|
20454
20454
|
return t ? a2[t] : void 0;
|
20455
20455
|
}));
|
20456
|
-
Ks =
|
20456
|
+
Ks = A(createSelector(w, j, (a2, e) => He(a2, e)));
|
20457
20457
|
qs = (a2) => createSelector(Ks(a2), (e) => e.audio);
|
20458
|
-
SS =
|
20458
|
+
SS = A((a2, e) => {
|
20459
20459
|
let t = j(a2, e);
|
20460
20460
|
return xe(a2, t == null ? void 0 : t.audioTrack);
|
20461
20461
|
});
|
20462
|
-
mS =
|
20462
|
+
mS = A((a2, e) => {
|
20463
20463
|
let t = j(a2, e);
|
20464
20464
|
return xe(a2, t == null ? void 0 : t.videoTrack);
|
20465
20465
|
});
|
20466
|
-
js =
|
20466
|
+
js = A((a2, e) => {
|
20467
20467
|
if (e && a2.tracks[e])
|
20468
20468
|
return a2.tracks[e].volume === 0;
|
20469
20469
|
});
|
20470
|
-
gS =
|
20470
|
+
gS = A((a2, e) => {
|
20471
20471
|
let t = j(a2, e);
|
20472
20472
|
return js(t == null ? void 0 : t.audioTrack)(a2);
|
20473
20473
|
});
|
20474
|
-
TS =
|
20474
|
+
TS = A((a2, e) => {
|
20475
20475
|
let t = qs(e)(a2);
|
20476
20476
|
return js(t == null ? void 0 : t.id)(a2);
|
20477
20477
|
});
|
20478
|
-
Js =
|
20479
|
-
let t =
|
20478
|
+
Js = A((a2, e) => {
|
20479
|
+
let t = br(a2, e);
|
20480
20480
|
if (t) {
|
20481
20481
|
if (t.type !== "audio") {
|
20482
20482
|
y.w("Please pass audio track here");
|
@@ -20485,16 +20485,16 @@ var init_dist = __esm({
|
|
20485
20485
|
return t.volume;
|
20486
20486
|
}
|
20487
20487
|
});
|
20488
|
-
fS =
|
20488
|
+
fS = A((a2, e) => {
|
20489
20489
|
let t = j(a2, e);
|
20490
20490
|
return Js(t == null ? void 0 : t.audioTrack)(a2);
|
20491
20491
|
});
|
20492
|
-
vS =
|
20492
|
+
vS = A((a2, e) => {
|
20493
20493
|
let t = qs(e)(a2);
|
20494
20494
|
return Js(t == null ? void 0 : t.id)(a2);
|
20495
20495
|
});
|
20496
|
-
MS =
|
20497
|
-
let t =
|
20496
|
+
MS = A((a2, e) => {
|
20497
|
+
let t = br(a2, e);
|
20498
20498
|
if (t) {
|
20499
20499
|
if (t.type !== "video") {
|
20500
20500
|
y.w("Please pass video track here");
|
@@ -20503,7 +20503,7 @@ var init_dist = __esm({
|
|
20503
20503
|
return t.layer;
|
20504
20504
|
}
|
20505
20505
|
});
|
20506
|
-
Qs = createSelector([st, pe,
|
20506
|
+
Qs = createSelector([st, pe, Ar], (a2, e, t) => {
|
20507
20507
|
if (t)
|
20508
20508
|
return a2.filter((i) => {
|
20509
20509
|
var r;
|
@@ -20522,13 +20522,13 @@ var init_dist = __esm({
|
|
20522
20522
|
return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
|
20523
20523
|
}));
|
20524
20524
|
vo = createSelector([zs, Gs], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
20525
|
-
Mo = createSelector([Qs,
|
20525
|
+
Mo = createSelector([Qs, Ar], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
20526
20526
|
yS = createSelector(fo, (a2) => a2.filter((e) => !e.read).length);
|
20527
|
-
PS =
|
20528
|
-
kS =
|
20529
|
-
ES =
|
20530
|
-
|
20531
|
-
Ys =
|
20527
|
+
PS = A(Qs);
|
20528
|
+
kS = A(zs);
|
20529
|
+
ES = A(vo);
|
20530
|
+
AS = A(Mo);
|
20531
|
+
Ys = A(So);
|
20532
20532
|
OS = createSelector([G, w], (a2, e) => Object.values(a2).map((i) => {
|
20533
20533
|
var r;
|
20534
20534
|
return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
|
@@ -20638,18 +20638,18 @@ var init_dist = __esm({
|
|
20638
20638
|
sn = createSelector([ma, jo], (a2, e) => e ? a2[e] : void 0);
|
20639
20639
|
an = createSelector([Jo, Sa], (a2, e) => e ? a2[e] : void 0);
|
20640
20640
|
Ur = createSelector([xr, Sa], (a2, e) => e ? a2[e] : void 0);
|
20641
|
-
on =
|
20642
|
-
nn =
|
20641
|
+
on = A(sn);
|
20642
|
+
nn = A(an);
|
20643
20643
|
cn = createSelector([xr, Ko], (a2, e) => {
|
20644
20644
|
var t;
|
20645
20645
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
20646
20646
|
});
|
20647
|
-
dn =
|
20647
|
+
dn = A(createSelector(Ur, (a2) => a2 == null ? void 0 : a2[0]));
|
20648
20648
|
ln = createSelector([xr, qo], (a2, e) => {
|
20649
20649
|
var t;
|
20650
20650
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
20651
20651
|
});
|
20652
|
-
un =
|
20652
|
+
un = A(createSelector(Ur, (a2) => a2));
|
20653
20653
|
}
|
20654
20654
|
});
|
20655
20655
|
|
@@ -20928,7 +20928,7 @@ var init_StreamActions = __esm({
|
|
20928
20928
|
};
|
20929
20929
|
RecordingPauseStatus = () => {
|
20930
20930
|
const recording = (0, import_react_sdk31.useHMSStore)(import_react_sdk31.selectRecordingState);
|
20931
|
-
if (recording.hls && recording.hls.state ===
|
20931
|
+
if (recording.hls && recording.hls.state === As.PAUSED) {
|
20932
20932
|
return /* @__PURE__ */ import_react72.default.createElement(
|
20933
20933
|
Tooltip,
|
20934
20934
|
{
|
@@ -23557,10 +23557,10 @@ var init_PollsQuizMenu = __esm({
|
|
23557
23557
|
const sortedPolls = (0, import_react101.useMemo)(
|
23558
23558
|
() => {
|
23559
23559
|
var _a7;
|
23560
|
-
return (_a7 = polls == null ? void 0 : polls.sort((a2,
|
23560
|
+
return (_a7 = polls == null ? void 0 : polls.sort((a2, b) => {
|
23561
23561
|
var _a8, _b7;
|
23562
|
-
return (((_a8 =
|
23563
|
-
})) == null ? void 0 : _a7.sort((a2,
|
23562
|
+
return (((_a8 = b.createdAt) == null ? void 0 : _a8.getTime()) || 0) - (((_b7 = a2.createdAt) == null ? void 0 : _b7.getTime()) || 0);
|
23563
|
+
})) == null ? void 0 : _a7.sort((a2, b) => (b.state === "started" ? 1 : 0) - (a2.state === "started" ? 1 : 0));
|
23564
23564
|
},
|
23565
23565
|
[polls]
|
23566
23566
|
);
|
@@ -26324,7 +26324,7 @@ var init_ChatFooter = __esm({
|
|
26324
26324
|
}
|
26325
26325
|
});
|
26326
26326
|
ChatFooter = ({ onSend, children }) => {
|
26327
|
-
var _a7, _b7, _c, _d;
|
26327
|
+
var _a7, _b7, _c, _d, _e;
|
26328
26328
|
const hmsActions = (0, import_react_sdk64.useHMSActions)();
|
26329
26329
|
const inputRef = (0, import_react136.useRef)(null);
|
26330
26330
|
const [draftMessage, setDraftMessage] = useChatDraftMessage();
|
@@ -26340,13 +26340,15 @@ var init_ChatFooter = __esm({
|
|
26340
26340
|
const selection = selectedPeer.name || selectedRole || defaultSelection;
|
26341
26341
|
const isLocalPeerBlacklisted = useIsPeerBlacklisted({ local: true });
|
26342
26342
|
(0, import_react136.useEffect)(() => {
|
26343
|
-
var _a8;
|
26343
|
+
var _a8, _b8;
|
26344
26344
|
if (!selectedPeer.id && !selectedRole && !["Everyone", ""].includes(defaultSelection)) {
|
26345
26345
|
setRoleSelector(defaultSelection);
|
26346
26346
|
} else {
|
26347
|
-
(_a8 =
|
26347
|
+
if (!((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.disable_autofocus)) {
|
26348
|
+
(_b8 = inputRef.current) == null ? void 0 : _b8.focus();
|
26349
|
+
}
|
26348
26350
|
}
|
26349
|
-
}, [defaultSelection, selectedPeer, selectedRole, setRoleSelector]);
|
26351
|
+
}, [defaultSelection, (_e = elements == null ? void 0 : elements.chat) == null ? void 0 : _e.disable_autofocus, selectedPeer, selectedRole, setRoleSelector]);
|
26350
26352
|
const sendMessage = (0, import_react136.useCallback)(() => __async(void 0, null, function* () {
|
26351
26353
|
var _a8;
|
26352
26354
|
const message = (_a8 = inputRef == null ? void 0 : inputRef.current) == null ? void 0 : _a8.value;
|
@@ -30524,8 +30526,8 @@ var init_PlayButton = __esm({
|
|
30524
30526
|
});
|
30525
30527
|
|
30526
30528
|
// src/Prebuilt/components/HMSVideo/HMSVIdeoUtils.js
|
30527
|
-
function getPercentage(a2,
|
30528
|
-
return a2 /
|
30529
|
+
function getPercentage(a2, b) {
|
30530
|
+
return a2 / b * 100;
|
30529
30531
|
}
|
30530
30532
|
function getDurationFromSeconds2(timeInSeconds) {
|
30531
30533
|
let time = Math.floor(timeInSeconds);
|