@azure/communication-react 1.9.0-alpha-202310120012 → 1.9.0-alpha-202310121540

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.
@@ -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-202310120012';
180
+ var telemetryVersion = '1.9.0-alpha-202310121540';
181
181
 
182
182
  // Copyright (c) Microsoft Corporation.
183
183
  /**
@@ -30418,8 +30418,6 @@ class AzureCommunicationCallAdapter {
30418
30418
  throw new Error('You are already in the call.');
30419
30419
  }
30420
30420
  const idsToAdd = participants.map((participant) => {
30421
- // FIXME: `onStartCall` does not allow a Teams user.
30422
- // Need some way to return an error if a Teams user is provided.
30423
30421
  const backendId = _toCommunicationIdentifier(participant);
30424
30422
  if (communicationCommon.isPhoneNumberIdentifier(backendId)) {
30425
30423
  if ((options === null || options === void 0 ? void 0 : options.alternateCallerId) === undefined) {
@@ -30430,6 +30428,12 @@ class AzureCommunicationCallAdapter {
30430
30428
  else if (communicationCommon.isCommunicationUserIdentifier(backendId)) {
30431
30429
  return backendId;
30432
30430
  }
30431
+ else if (communicationCommon.isMicrosoftTeamsAppIdentifier(backendId)) {
30432
+ return backendId;
30433
+ }
30434
+ else if (communicationCommon.isMicrosoftTeamsUserIdentifier(backendId)) {
30435
+ return backendId;
30436
+ }
30433
30437
  return backendId;
30434
30438
  });
30435
30439
  const call = this.handlers.onStartCall(idsToAdd, options);