Skip to content

Commit cf149e8

Browse files
authored
Upgrade communication signaling version to 1.0.0.beta.12 (#1352)
* Upgrade @azure/communication-signaling to 1.0.0.beta.12 * Change files * Adding new dep to pnpm-lock
1 parent 61e59fc commit cf149e8

14 files changed

Lines changed: 86 additions & 32 deletions
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "Upgrade @azure/communication-signaling to 1.0.0.beta.12",
4+
"packageName": "@internal/chat-component-bindings",
5+
"email": "anjulgarg@live.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "Upgrade @azure/communication-signaling to 1.0.0.beta.12",
4+
"packageName": "@internal/chat-stateful-client",
5+
"email": "anjulgarg@live.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "Upgrade @azure/communication-signaling to 1.0.0.beta.12",
4+
"packageName": "@internal/react-composites",
5+
"email": "anjulgarg@live.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "Upgrade @azure/communication-signaling to 1.0.0.beta.12",
4+
"packageName": "@internal/storybook",
5+
"email": "anjulgarg@live.com",
6+
"dependentChangeType": "patch"
7+
}

common/config/rush/pnpm-lock.yaml

Lines changed: 24 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

common/config/rush/variants/stable/pnpm-lock.yaml

Lines changed: 24 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/chat-component-bindings/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
},
3030
"dependencies": {
3131
"@azure/communication-common": "1.0.0",
32-
"@azure/communication-signaling": "1.0.0-beta.5",
32+
"@azure/communication-signaling": "1.0.0-beta.12",
3333
"@azure/core-paging": "~1.1.3",
3434
"@internal/acs-ui-common": "1.0.1-beta.1",
3535
"@internal/chat-stateful-client": "1.0.1-beta.1",

packages/chat-stateful-client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"_test:by-flavor": "(if-env COMMUNICATION_REACT_FLAVOR=stable && rushx preprocess || if-env COMMUNICATION_REACT_FLAVOR=beta && echo \"skip preprocess\") && jest"
2929
},
3030
"dependencies": {
31-
"@azure/communication-signaling": "1.0.0-beta.5",
31+
"@azure/communication-signaling": "1.0.0-beta.12",
3232
"@azure/core-paging": "~1.1.3",
3333
"@internal/acs-ui-common": "1.0.1-beta.1",
3434
"events": "~3.3.0",

packages/chat-stateful-client/src/EventSubscriber.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ export class EventSubscriber {
4747
senderDisplayName: event.senderDisplayName,
4848
sequenceId: '', // Note: there is a bug in chatMessageReceived event that it is missing sequenceId
4949
createdOn: new Date(event.createdOn),
50-
editedOn: 'editedOn' in event ? event.editedOn : undefined
50+
editedOn: 'editedOn' in event ? event.editedOn : undefined,
51+
metadata: event.metadata
5152
});
5253
};
5354

packages/chat-stateful-client/src/StatefulChatClient.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ describe('declarative chatClient subscribe to event properly after startRealtime
166166
sender: { kind: 'communicationUser', communicationUserId: 'sender1' },
167167
senderDisplayName: '',
168168
message: 'message',
169-
recipient: { kind: 'communicationUser', communicationUserId: 'userId1' }
169+
recipient: { kind: 'communicationUser', communicationUserId: 'userId1' },
170+
metadata: {}
170171
};
171172

172173
await client.triggerEvent('chatMessageReceived', event);

0 commit comments

Comments
 (0)