Skip to content

Commit e907045

Browse files
sdk updates (#4533)
1 parent fe31f06 commit e907045

15 files changed

Lines changed: 51 additions & 61 deletions

File tree

common/config/rush/variants/stable/common-versions.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
*/
2626
// "some-library": "1.2.3"
2727
// This is the version for stable build (please also update allowedAlternativeVersions below)
28-
"@azure/communication-calling": "^1.23.1",
28+
"@azure/communication-calling": "^1.23.2",
2929
"@azure/communication-common": "2.3.0",
3030
"@azure/communication-chat": "^1.5.0",
3131
"@azure/communication-signaling": "1.0.0-beta.26"
@@ -57,7 +57,7 @@
5757
*/
5858
"allowedAlternativeVersions": {
5959
// This is the version for stable build (please also update preferredVersions above)
60-
"@azure/communication-calling": ["^1.23.1"],
60+
"@azure/communication-calling": ["^1.23.2"],
6161
"@azure/communication-common": ["2.3.0"],
6262
"@azure/communication-chat": ["^1.5.0"],
6363
"@azure/communication-signaling": ["1.0.0-beta.26"],

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

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

packages/calling-component-bindings/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@
3838
"reselect": "^4.0.0"
3939
},
4040
"peerDependencies": {
41-
"@azure/communication-calling": "1.24.1-beta.2 || ^1.23.1",
41+
"@azure/communication-calling": "1.24.1-beta.2 || ^1.23.2",
4242
"@azure/communication-calling-effects": "1.0.1",
4343
"@types/react": ">=16.8.0 <19.0.0",
4444
"react": ">=16.8.0 <19.0.0"
4545
},
4646
"devDependencies": {
47-
"@azure/communication-calling": "1.24.1-beta.2 || ^1.23.1",
47+
"@azure/communication-calling": "1.24.1-beta.2 || ^1.23.2",
4848
"@azure/communication-calling-effects": "1.0.1",
4949
"@babel/cli": "^7.23.9",
5050
"@babel/core": "^7.24.3",

packages/calling-stateful-client/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@
3636
"immer": "10.0.4"
3737
},
3838
"peerDependencies": {
39-
"@azure/communication-calling": "1.24.1-beta.2 || ^1.23.1"
39+
"@azure/communication-calling": "1.24.1-beta.2 || ^1.23.2"
4040
},
4141
"devDependencies": {
42-
"@azure/communication-calling": "1.24.1-beta.2 || ^1.23.1",
42+
"@azure/communication-calling": "1.24.1-beta.2 || ^1.23.2",
4343
"@azure/core-auth": "^1.4.0",
4444
"@babel/cli": "^7.23.9",
4545
"@babel/core": "^7.24.3",

packages/calling-stateful-client/src/CallAgentDeclarative.test.ts

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ import {
1616
CallFeatureFactory,
1717
StartCallOptions,
1818
RoomLocator,
19-
TeamsMeetingIdLocator
19+
TeamsMeetingIdLocator,
20+
ConnectionStateChangedEvent,
21+
ConnectionState
2022
} from '@azure/communication-calling';
2123
/* @conditional-compile-remove(calling-beta-sdk) */
2224
import {
2325
CallAgentFeature,
2426
MeetingLocator,
2527
GroupChatCallLocator,
26-
PushNotificationData,
27-
ConnectionStateChangedEvent,
28-
ConnectionState
28+
PushNotificationData
2929
} from '@azure/communication-calling';
3030
import { CommunicationUserIdentifier, PhoneNumberIdentifier, UnknownIdentifier } from '@azure/communication-common';
3131
import EventEmitter from 'events';
@@ -75,7 +75,6 @@ const mockCallId = 'b';
7575
class MockCallAgent implements CallAgent {
7676
calls: MockCall[] = [];
7777
displayName = undefined;
78-
/* @conditional-compile-remove(calling-beta-sdk) */
7978
connectionState = 'Disconnected' as ConnectionState;
8079
kind = 'CallAgent' as CallAgentKind;
8180
emitter = new EventEmitter();
@@ -119,14 +118,12 @@ class MockCallAgent implements CallAgent {
119118
}
120119
on(event: 'incomingCall', listener: IncomingCallEvent): void;
121120
on(event: 'callsUpdated', listener: CollectionUpdatedEvent<Call>): void;
122-
/* @conditional-compile-remove(calling-beta-sdk) */
123121
on(event: 'connectionStateChanged', listener: ConnectionStateChangedEvent): void;
124122
on(event: any, listener: any): void {
125123
this.emitter.on(event, listener);
126124
}
127125
off(event: 'incomingCall', listener: IncomingCallEvent): void;
128126
off(event: 'callsUpdated', listener: CollectionUpdatedEvent<Call>): void;
129-
/* @conditional-compile-remove(calling-beta-sdk) */
130127
off(event: 'connectionStateChanged', listener: ConnectionStateChangedEvent): void;
131128
off(event: any, listener: any): void {
132129
this.emitter.off(event, listener);

packages/communication-react/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"uuid": "^9.0.0"
5757
},
5858
"peerDependencies": {
59-
"@azure/communication-calling": "1.24.1-beta.2 || ^1.23.1",
59+
"@azure/communication-calling": "1.24.1-beta.2 || ^1.23.2",
6060
"@azure/communication-calling-effects": "1.0.1",
6161
"@azure/communication-chat": "1.6.0-beta.1 || >=1.5.0",
6262
"@types/react": ">=16.8.0 <19.0.0",
@@ -98,7 +98,7 @@
9898
"_by-flavor": "rushx _current-flavor && env-cmd -f ../../common/config/env/.env --use-shell"
9999
},
100100
"devDependencies": {
101-
"@azure/communication-calling": "1.24.1-beta.2 || ^1.23.1",
101+
"@azure/communication-calling": "1.24.1-beta.2 || ^1.23.2",
102102
"@azure/communication-calling-effects": "1.0.1",
103103
"@azure/communication-chat": "1.6.0-beta.1 || ^1.5.0",
104104
"@azure/core-auth": "^1.4.0",

packages/react-composites/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"nanoid": "3.3.6"
7272
},
7373
"peerDependencies": {
74-
"@azure/communication-calling": "1.24.1-beta.2 || ^1.23.1",
74+
"@azure/communication-calling": "1.24.1-beta.2 || ^1.23.2",
7575
"@azure/communication-calling-effects": "1.0.1",
7676
"@azure/communication-chat": "1.6.0-beta.1 || >=1.5.0",
7777
"@types/react": ">=16.8.0 <19.0.0",
@@ -80,7 +80,7 @@
8080
"react-dom": ">=16.8.0 <19.0.0"
8181
},
8282
"devDependencies": {
83-
"@azure/communication-calling": "1.24.1-beta.2 || ^1.23.1",
83+
"@azure/communication-calling": "1.24.1-beta.2 || ^1.23.2",
8484
"@azure/communication-calling-effects": "1.0.1",
8585
"@azure/communication-chat": "1.6.0-beta.1 || ^1.5.0",
8686
"@azure/communication-identity": "^1.3.0",

packages/react-composites/src/composites/CallWithChatComposite/adapter/TestUtils.ts

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ import {
1818
VideoDeviceInfo,
1919
AudioDeviceInfo,
2020
RoomLocator,
21-
TeamsMeetingIdLocator
21+
TeamsMeetingIdLocator,
22+
ConnectionState,
23+
ConnectionStateChangedEvent
2224
} from '@azure/communication-calling';
2325
/* @conditional-compile-remove(unsupported-browser) */
2426
import { EnvironmentInfo } from '@azure/communication-calling';
@@ -33,13 +35,7 @@ import {
3335
UnknownIdentifierKind
3436
} from '@azure/communication-common';
3537
/* @conditional-compile-remove(calling-beta-sdk) */
36-
import {
37-
GroupChatCallLocator,
38-
MeetingLocator,
39-
PushNotificationData,
40-
ConnectionState,
41-
ConnectionStateChangedEvent
42-
} from '@azure/communication-calling';
38+
import { GroupChatCallLocator, MeetingLocator, PushNotificationData } from '@azure/communication-calling';
4339
import {
4440
CallState,
4541
CallClientState,
@@ -273,7 +269,6 @@ function createMockCall(mockCallId: string): CallState {
273269
export class MockCallAgent implements CallAgent {
274270
calls: Call[] = [];
275271
displayName = undefined;
276-
/* @conditional-compile-remove(calling-beta-sdk) */
277272
connectionState = 'Disconnected' as ConnectionState;
278273
kind = 'CallAgent' as CallAgentKind;
279274
emitter = new EventEmitter();
@@ -311,15 +306,13 @@ export class MockCallAgent implements CallAgent {
311306
}
312307
on(event: 'incomingCall', listener: IncomingCallEvent): void;
313308
on(event: 'callsUpdated', listener: CollectionUpdatedEvent<Call>): void;
314-
/* @conditional-compile-remove(calling-beta-sdk) */
315309
on(event: 'connectionStateChanged', listener: ConnectionStateChangedEvent): void;
316310
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
317311
on(event: any, listener: any): void {
318312
this.emitter.on(event, listener);
319313
}
320314
off(event: 'incomingCall', listener: IncomingCallEvent): void;
321315
off(event: 'callsUpdated', listener: CollectionUpdatedEvent<Call>): void;
322-
/* @conditional-compile-remove(calling-beta-sdk) */
323316
off(event: 'connectionStateChanged', listener: ConnectionStateChangedEvent): void;
324317
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
325318
off(event: any, listener: any): void {

packages/storybook/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
},
2222
"license": "MIT",
2323
"dependencies": {
24-
"@azure/communication-calling": "1.24.1-beta.2 || ^1.23.1",
24+
"@azure/communication-calling": "1.24.1-beta.2 || ^1.23.2",
2525
"@azure/communication-chat": "1.6.0-beta.1 || ^1.5.0",
2626
"@azure/communication-common": "^2.3.1",
2727
"@azure/communication-identity": "^1.3.0",

packages/storybook8/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
"license": "MIT",
2626
"dependencies": {
27-
"@azure/communication-calling": "1.24.1-beta.2 || ^1.23.1",
27+
"@azure/communication-calling": "1.24.1-beta.2 || ^1.23.2",
2828
"@azure/communication-chat": "1.6.0-beta.1 || ^1.5.0",
2929
"@azure/communication-common": "^2.3.1",
3030
"@azure/communication-identity": "^1.3.0",

0 commit comments

Comments
 (0)