@azure/communication-react 1.9.0-alpha-202310110013 → 1.9.0-alpha-202310111702

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.
@@ -73,7 +73,7 @@ import { LatestNetworkDiagnostics } from '@azure/communication-calling';
73
73
  import { LocalVideoStream } from '@azure/communication-calling';
74
74
  import type { MediaDiagnosticChangedEventArgs } from '@azure/communication-calling';
75
75
  import { MediaStreamType } from '@azure/communication-calling';
76
- import { MicrosoftBotKind } from '@azure/communication-common';
76
+ import { MicrosoftTeamsAppKind } from '@azure/communication-common';
77
77
  import { MicrosoftTeamsUserIdentifier } from '@azure/communication-common';
78
78
  import { MicrosoftTeamsUserKind } from '@azure/communication-common';
79
79
  import type { NetworkDiagnosticChangedEventArgs } from '@azure/communication-calling';
@@ -2216,7 +2216,7 @@ export declare type CallErrors = {
2216
2216
  *
2217
2217
  * @public
2218
2218
  */
2219
- export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.dispose' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | 'CallClient.createTeamsCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallClient.getEnvironmentInfo' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker' | 'IncomingCall.accept' | 'IncomingCall.reject' | /* @conditional-compile-remove(calling-beta-sdk) */ /* @conditional-compile-remove(teams-identity-support) */ 'TeamsCall.addParticipant' | 'VideoEffectsFeature.startEffects' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallAgent.handlePushNotification' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.admit' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.rejectParticipant' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.admitAll' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.setConstraints';
2219
+ export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.dispose' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | 'CallClient.createTeamsCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallClient.getEnvironmentInfo' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker' | 'IncomingCall.accept' | 'IncomingCall.reject' | /* @conditional-compile-remove(calling-beta-sdk) */ /* @conditional-compile-remove(teams-identity-support) */ 'TeamsCall.addParticipant' | 'VideoEffectsFeature.startEffects' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallAgent.handlePushNotification' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.admit' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.rejectParticipant' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.admitAll' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.muteAllRemoteParticipants' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.setConstraints';
2220
2220
 
2221
2221
  /**
2222
2222
  * Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
@@ -8584,7 +8584,7 @@ export declare interface RemoteParticipantState {
8584
8584
  /**
8585
8585
  * Proxy of {@link @azure/communication-calling#RemoteParticipant.identifier}.
8586
8586
  */
8587
- identifier: CommunicationUserKind | PhoneNumberKind | MicrosoftTeamsUserKind | UnknownIdentifierKind | /* @conditional-compile-remove(communication-common-beta-v3) */ MicrosoftBotKind;
8587
+ identifier: CommunicationUserKind | PhoneNumberKind | MicrosoftTeamsUserKind | UnknownIdentifierKind | MicrosoftTeamsAppKind;
8588
8588
  /**
8589
8589
  * Proxy of {@link @azure/communication-calling#RemoteParticipant.displayName}.
8590
8590
  */
@@ -177,7 +177,7 @@ const _isValidIdentifier = (identifier) => {
177
177
  // Copyright (c) Microsoft Corporation.
178
178
  // Licensed under the MIT License.
179
179
  // GENERATED FILE. DO NOT EDIT MANUALLY.
180
- var telemetryVersion = '1.9.0-alpha-202310110013';
180
+ var telemetryVersion = '1.9.0-alpha-202310111702';
181
181
 
182
182
  // Copyright (c) Microsoft Corporation.
183
183
  /**
@@ -1165,9 +1165,8 @@ const createDefaultTeamsCallingHandlers = memoizeOne__default["default"]((callCl
1165
1165
  if (communicationCommon.isCommunicationUserIdentifier(participant)) {
1166
1166
  throw new Error('CommunicationIdentifier in Teams call is not supported!');
1167
1167
  }
1168
- /* @conditional-compile-remove(communication-common-beta-v3) */
1169
- if (communicationCommon.isMicrosoftBotIdentifier(participant)) {
1170
- throw new Error('Adding Microsoft Bot Identifier is not supported!');
1168
+ if (communicationCommon.isMicrosoftTeamsAppIdentifier(participant)) {
1169
+ throw new Error('Adding Microsoft Teams app identifier is not supported!');
1171
1170
  }
1172
1171
  /* @conditional-compile-remove(teams-identity-support) */
1173
1172
  if (communicationCommon.isPhoneNumberIdentifier(participant)) {
@@ -1180,9 +1179,8 @@ const createDefaultTeamsCallingHandlers = memoizeOne__default["default"]((callCl
1180
1179
  if (communicationCommon.isCommunicationUserIdentifier(participant)) {
1181
1180
  throw new Error('CommunicationIdentifier in Teams call is not supported!');
1182
1181
  }
1183
- /* @conditional-compile-remove(communication-common-beta-v3) */
1184
- if (communicationCommon.isMicrosoftBotIdentifier(participant)) {
1185
- throw new Error('Removing Microsoft Bot Identifier is not supported!');
1182
+ if (communicationCommon.isMicrosoftTeamsAppIdentifier(participant)) {
1183
+ throw new Error('Removing Microsoft Teams app identifier is not supported!');
1186
1184
  }
1187
1185
  /* @conditional-compile-remove(teams-identity-support) */
1188
1186
  yield (call === null || call === void 0 ? void 0 : call.removeParticipant(participant));
@@ -18579,8 +18577,7 @@ const convertRemoteParticipantsToParticipantListParticipants = (remoteParticipan
18579
18577
  return (remoteParticipants
18580
18578
  // Filter out MicrosoftBot participants
18581
18579
  .filter((participant) => {
18582
- /* @conditional-compile-remove(communication-common-beta-v3) */
18583
- return !communicationCommon.isMicrosoftBotIdentifier(participant.identifier);
18580
+ return !communicationCommon.isMicrosoftTeamsAppIdentifier(participant.identifier);
18584
18581
  })
18585
18582
  /**
18586
18583
  * hiding participants who are inLobby, idle, or connecting in ACS clients till we can admit users through ACS clients.