@azure/communication-react 1.5.1-beta.3 → 1.5.1-beta.4

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/CHANGELOG.beta.md CHANGED
@@ -1,9 +1,17 @@
1
1
  # Change Log - @azure/communication-react
2
2
 
3
- This log was last generated on Mon, 24 Apr 2023 15:39:35 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 28 Apr 2023 23:16:11 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [1.5.1-beta.4](https://github.com/azure/communication-ui-library/tree/@azure/communication-react_v1.5.1-beta.4)
8
+
9
+ Fri, 28 Apr 2023 23:16:11 GMT
10
+ [Compare changes](https://github.com/azure/communication-ui-library/compare/@azure/communication-react_v1.5.1-beta.3...@azure/communication-react_v1.5.1-beta.4)
11
+
12
+ ### Bug fixes
13
+ - Revert a breaking change for createAzureCommunicationCallWithChatAdapterFromClients
14
+
7
15
  ## [1.5.1-beta.3](https://github.com/azure/communication-ui-library/tree/1.5.1-beta.3)
8
16
 
9
17
  Mon, 24 Apr 2023 15:39:35 GMT
package/CHANGELOG.json CHANGED
@@ -1,6 +1,53 @@
1
1
  {
2
2
  "name": "@azure/communication-react",
3
3
  "entries": [
4
+ {
5
+ "date": "Fri, 28 Apr 2023 23:16:11 GMT",
6
+ "tag": "@azure/communication-react_v1.5.1-beta.4",
7
+ "version": "1.5.1-beta.4",
8
+ "comments": {
9
+ "none": [
10
+ {
11
+ "author": "41898282+github-actions[bot]@users.noreply.github.com",
12
+ "package": "@azure/communication-react",
13
+ "commit": "5ebc7c05bc801577b43366c7d04bf92a440a9eeb",
14
+ "comment": "Bumped"
15
+ },
16
+ {
17
+ "author": "41898282+github-actions[bot]@users.noreply.github.com",
18
+ "package": "@azure/communication-react",
19
+ "commit": "810937843fd0b95bf6ff562321a45c98b1472158",
20
+ "comment": "Create"
21
+ }
22
+ ],
23
+ "prerelease": [
24
+ {
25
+ "author": "joshlai@microsoft.com",
26
+ "package": "@azure/communication-react",
27
+ "commit": "91ed8bcb2ddf81263b0fb3e1aadcd535eb76d034",
28
+ "comment": "[ChatMessageContent] Updating the warning text to be string | undefined"
29
+ },
30
+ {
31
+ "author": "joshlai@microsoft.com",
32
+ "package": "@azure/communication-react",
33
+ "commit": "f5a3bd3322380aab059d41af4df753206c41be94",
34
+ "comment": "[MessageThread] Remove extra arguments on CancelEditCallback"
35
+ },
36
+ {
37
+ "author": "joshlai@microsoft.com",
38
+ "package": "@azure/communication-react",
39
+ "commit": "250f8b2206489f1cbb44ba69b038f061ef18beb3",
40
+ "comment": "[AzureCommunicationCallWithChatAdapter] Creating call with chat adapter from state now take an options bag"
41
+ },
42
+ {
43
+ "author": "jiangnanhello@live.com",
44
+ "package": "@azure/communication-react",
45
+ "commit": "63361154b6beb8e861a6fcd84f52ff30908b72c3",
46
+ "comment": "Revert \"[Chat][Feature] Preliminary implementation of _AtMentionFlyout component (#2879)\""
47
+ }
48
+ ]
49
+ }
50
+ },
4
51
  {
5
52
  "date": "Mon, 24 Apr 2023 15:39:35 GMT",
6
53
  "tag": "@azure/communication-react_v1.5.1-beta.3",
@@ -4499,7 +4499,7 @@ export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, dis
4499
4499
  *
4500
4500
  * @public
4501
4501
  */
4502
- export declare function createAzureCommunicationCallWithChatAdapterFromClients(callClient: StatefulCallClient, callAgent: CallAgent, callLocator: CallAdapterLocator | TeamsMeetingLinkLocator, chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient, options?: AzureCommunicationChatAdapterOptions): Promise<CallWithChatAdapter>;
4502
+ export declare const createAzureCommunicationCallWithChatAdapterFromClients: ({ callClient, callAgent, callLocator, chatClient, chatThreadClient, options }: AzureCommunicationCallWithChatAdapterFromClientArgs) => Promise<CallWithChatAdapter>;
4503
4503
 
4504
4504
  /**
4505
4505
  * Create a {@link ChatAdapter} backed by Azure Communication Services.
@@ -161,7 +161,7 @@ const _toCommunicationIdentifier = (id) => {
161
161
  // Copyright (c) Microsoft Corporation.
162
162
  // Licensed under the MIT license.
163
163
  // GENERATED FILE. DO NOT EDIT MANUALLY.
164
- var telemetryVersion = '1.5.1-beta.3';
164
+ var telemetryVersion = '1.5.1-beta.4';
165
165
 
166
166
  // Copyright (c) Microsoft Corporation.
167
167
  /**
@@ -25981,18 +25981,16 @@ beforeDispose) => {
25981
25981
  *
25982
25982
  * @public
25983
25983
  */
25984
- function createAzureCommunicationCallWithChatAdapterFromClients(callClient, callAgent, callLocator, chatClient, chatThreadClient,
25984
+ const createAzureCommunicationCallWithChatAdapterFromClients = ({ callClient, callAgent, callLocator, chatClient, chatThreadClient,
25985
25985
  /* @conditional-compile-remove(teams-inline-images) */
25986
- options) {
25987
- return __awaiter(this, void 0, void 0, function* () {
25988
- const createCallAdapterPromise = createAzureCommunicationCallAdapterFromClient(callClient, callAgent, callLocator);
25989
- const createChatAdapterPromise = createAzureCommunicationChatAdapterFromClient(chatClient, chatThreadClient,
25990
- /* @conditional-compile-remove(teams-inline-images) */
25991
- options);
25992
- const [callAdapter, chatAdapter] = yield Promise.all([createCallAdapterPromise, createChatAdapterPromise]);
25993
- return new AzureCommunicationCallWithChatAdapter(callAdapter, chatAdapter);
25994
- });
25995
- }
25986
+ options }) => __awaiter(void 0, void 0, void 0, function* () {
25987
+ const createCallAdapterPromise = createAzureCommunicationCallAdapterFromClient(callClient, callAgent, callLocator);
25988
+ const createChatAdapterPromise = createAzureCommunicationChatAdapterFromClient(chatClient, chatThreadClient,
25989
+ /* @conditional-compile-remove(teams-inline-images) */
25990
+ options);
25991
+ const [callAdapter, chatAdapter] = yield Promise.all([createCallAdapterPromise, createChatAdapterPromise]);
25992
+ return new AzureCommunicationCallWithChatAdapter(callAdapter, chatAdapter);
25993
+ });
25996
25994
  const isTeamsMeetingLinkLocator = (locator) => {
25997
25995
  return 'meetingLink' in locator;
25998
25996
  };