@azure/communication-react 1.25.0-alpha-202502210016 → 1.25.0-alpha-202502250016

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.
Files changed (36) hide show
  1. package/dist/dist-cjs/communication-react/{ChatMessageComponentAsRichTextEditBox-DsokkWhL.js → ChatMessageComponentAsRichTextEditBox-DfQUlB6r.js} +2 -2
  2. package/dist/dist-cjs/communication-react/{ChatMessageComponentAsRichTextEditBox-DsokkWhL.js.map → ChatMessageComponentAsRichTextEditBox-DfQUlB6r.js.map} +1 -1
  3. package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-_CM_ICZr.js → RichTextSendBoxWrapper-DrOXsKBz.js} +2 -2
  4. package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-_CM_ICZr.js.map → RichTextSendBoxWrapper-DrOXsKBz.js.map} +1 -1
  5. package/dist/dist-cjs/communication-react/{index-B1vKDCnW.js → index-ASncWLFs.js} +39 -31
  6. package/dist/dist-cjs/communication-react/{index-B1vKDCnW.js.map → index-ASncWLFs.js.map} +1 -1
  7. package/dist/dist-cjs/communication-react/index.js +1 -1
  8. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  9. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  10. package/dist/dist-esm/react-components/src/localization/locales/sv-SE/strings.json +2 -2
  11. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +9 -1
  12. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  13. package/dist/dist-esm/react-composites/src/composites/localization/locales/ar-SA/strings.json +1 -1
  14. package/dist/dist-esm/react-composites/src/composites/localization/locales/cs-CZ/strings.json +1 -1
  15. package/dist/dist-esm/react-composites/src/composites/localization/locales/cy-GB/strings.json +1 -1
  16. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +1 -1
  17. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +1 -1
  18. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +1 -1
  19. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-MX/strings.json +1 -1
  20. package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/strings.json +1 -1
  21. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-CA/strings.json +1 -1
  22. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +1 -1
  23. package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/strings.json +1 -1
  24. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +1 -1
  25. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +1 -1
  26. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +1 -1
  27. package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/strings.json +1 -1
  28. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +1 -1
  29. package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/strings.json +1 -1
  30. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +1 -1
  31. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +1 -1
  32. package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/strings.json +4 -4
  33. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +1 -1
  34. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +1 -1
  35. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +1 -1
  36. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-B1vKDCnW.js');
3
+ var index = require('./index-ASncWLFs.js');
4
4
  require('react');
5
5
  require('@fluentui/react');
6
6
  require('@fluentui/react-components');
@@ -2,5 +2,5 @@
2
2
  // Copyright (c) Microsoft Corporation.
3
3
  // Licensed under the MIT License.
4
4
  // GENERATED FILE. DO NOT EDIT MANUALLY.
5
- module.exports = '1.25.0-alpha-202502210016';
5
+ module.exports = '1.25.0-alpha-202502250016';
6
6
  //# sourceMappingURL=telemetryVersion.js.map
@@ -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-202502210016';\n"]}
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-202502250016';\n"]}
@@ -571,13 +571,13 @@
571
571
  "dismissButtonAriaLabel": "Stäng"
572
572
  },
573
573
  "recordingAndTranscriptionStarted": {
574
- "title": "Inspelning och avskrift har startats.",
574
+ "title": "Inspelning och transkription har startats.",
575
575
  "message": "Genom att ansluta ger du ditt medgivande för att det här mötet ska transkriberas.",
576
576
  "dismissButtonAriaLabel": "Stäng"
577
577
  },
578
578
  "recordingAndTranscriptionStopped": {
579
579
  "title": "Inspelning och transkription sparas.",
580
- "message": "Inspelning och avskrift har avslutats.",
580
+ "message": "Inspelning och transkription har avslutats.",
581
581
  "dismissButtonAriaLabel": "Stäng"
582
582
  },
583
583
  "recordingStoppedStillTranscribing": {
@@ -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 : 50);
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, () => {