@azure/communication-react 1.25.0-alpha-202502210016 → 1.25.0-alpha-202502220016
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dist-cjs/communication-react/{ChatMessageComponentAsRichTextEditBox-DsokkWhL.js → ChatMessageComponentAsRichTextEditBox-Ba_jF3Wg.js} +2 -2
- package/dist/dist-cjs/communication-react/{ChatMessageComponentAsRichTextEditBox-DsokkWhL.js.map → ChatMessageComponentAsRichTextEditBox-Ba_jF3Wg.js.map} +1 -1
- package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-_CM_ICZr.js → RichTextSendBoxWrapper-BD4jRhIU.js} +2 -2
- package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-_CM_ICZr.js.map → RichTextSendBoxWrapper-BD4jRhIU.js.map} +1 -1
- package/dist/dist-cjs/communication-react/{index-B1vKDCnW.js → index-Q5MUexJ_.js} +15 -7
- package/dist/dist-cjs/communication-react/{index-B1vKDCnW.js.map → index-Q5MUexJ_.js.map} +1 -1
- package/dist/dist-cjs/communication-react/index.js +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +9 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"telemetryVersion.js","sourceRoot":"","sources":["../../../../../acs-ui-common/src/telemetryVersion.js"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;AAElC,wCAAwC;AAExC,MAAM,CAAC,OAAO,GAAG,2BAA2B,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// GENERATED FILE. DO NOT EDIT MANUALLY.\n\nmodule.exports = '1.25.0-alpha-
|
1
|
+
{"version":3,"file":"telemetryVersion.js","sourceRoot":"","sources":["../../../../../acs-ui-common/src/telemetryVersion.js"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;AAElC,wCAAwC;AAExC,MAAM,CAAC,OAAO,GAAG,2BAA2B,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// GENERATED FILE. DO NOT EDIT MANUALLY.\n\nmodule.exports = '1.25.0-alpha-202502220016';\n"]}
|
@@ -29,6 +29,14 @@ import { createProfileStateModifier } from './OnFetchProfileCallback';
|
|
29
29
|
import { getBackgroundEffectFromSelectedEffect } from '../utils';
|
30
30
|
import { getSelectedCameraFromAdapterState } from '../utils';
|
31
31
|
import { CallingSoundSubscriber } from './CallingSoundSubscriber';
|
32
|
+
/**
|
33
|
+
* For each time that we use the hook {@link useSelector} in the {@link CallComposite} we add another listener
|
34
|
+
* to the `stateChanged` event on the this adapter. This number is set in relation to the number of
|
35
|
+
* times that we are using the hook useSelector in the CallComposite.
|
36
|
+
*
|
37
|
+
* We will need to update this as the threshold is reached with more usages of useSelector.
|
38
|
+
*/
|
39
|
+
const EVENT_LISTENER_WARNING_WARNING_LIMIT = 125;
|
32
40
|
/** Context of call, which is a centralized context for all state updates */
|
33
41
|
class CallContext {
|
34
42
|
constructor(clientState, isTeamsCall, isTeamsMeeting, isRoomsCall, options, targetCallees) {
|
@@ -62,7 +70,7 @@ class CallContext {
|
|
62
70
|
sounds: options === null || options === void 0 ? void 0 : options.callingSounds,
|
63
71
|
reactions: options === null || options === void 0 ? void 0 : options.reactionResources
|
64
72
|
};
|
65
|
-
this.emitter.setMaxListeners((_j = options === null || options === void 0 ? void 0 : options.maxListeners) !== null && _j !== void 0 ? _j :
|
73
|
+
this.emitter.setMaxListeners((_j = options === null || options === void 0 ? void 0 : options.maxListeners) !== null && _j !== void 0 ? _j : EVENT_LISTENER_WARNING_WARNING_LIMIT);
|
66
74
|
this.bindPublicMethods();
|
67
75
|
this.displayNameModifier = (options === null || options === void 0 ? void 0 : options.onFetchProfile)
|
68
76
|
? createProfileStateModifier(options.onFetchProfile, () => {
|