@microsoft/teams-js 2.0.0-experimental.0 → 2.0.0-experimental.1
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.
@@ -65,7 +65,7 @@
|
|
65
65
|
},
|
66
66
|
"../dts/private/interactive.d.ts": {
|
67
67
|
"src": "../dts/private/interactive.d.ts",
|
68
|
-
"integrity": "sha384-
|
68
|
+
"integrity": "sha384-IFR9vMTaIe2Ud+OvBnZdCVUfg8bEoeex1vR5Aa5POb6kbwHknYmESNZWBuxWlhBg"
|
69
69
|
},
|
70
70
|
"../dts/private/interfaces.d.ts": {
|
71
71
|
"src": "../dts/private/interfaces.d.ts",
|
@@ -161,7 +161,7 @@
|
|
161
161
|
},
|
162
162
|
"../dts/public/meeting.d.ts": {
|
163
163
|
"src": "../dts/public/meeting.d.ts",
|
164
|
-
"integrity": "sha384
|
164
|
+
"integrity": "sha384-zev9BntWRy4hwLRpXkglR+rlgkU/B+ko55vC1PE/fNK8a+PRI/mkzxsL4n7/ty61"
|
165
165
|
},
|
166
166
|
"../dts/public/menus.d.ts": {
|
167
167
|
"src": "../dts/public/menus.d.ts",
|
@@ -217,18 +217,18 @@
|
|
217
217
|
},
|
218
218
|
"MicrosoftTeams.js": {
|
219
219
|
"src": "MicrosoftTeams.js",
|
220
|
-
"integrity": "sha384-
|
220
|
+
"integrity": "sha384-SJrLealpWZUkCvq862x/gC8yGhf1jSFDNFhWLnuGoCYQh3Fgr9IggFdYx8cYuw/V"
|
221
221
|
},
|
222
222
|
"MicrosoftTeams.js.map": {
|
223
223
|
"src": "MicrosoftTeams.js.map",
|
224
|
-
"integrity": "sha384-
|
224
|
+
"integrity": "sha384-OaGuY0jT9JB4kCgTFTwSp7ZOCqJrvnTUpy7nR9eqCuJjrfF3PYINmd3EcWNQp8EY"
|
225
225
|
},
|
226
226
|
"MicrosoftTeams.min.js": {
|
227
227
|
"src": "MicrosoftTeams.min.js",
|
228
|
-
"integrity": "sha384-
|
228
|
+
"integrity": "sha384-Vwm5Kdr9NT4o557/m+2vM4WSys/9usuLF6gUVgHpgv2aecwRnyDeUL3fJSZRUFZo"
|
229
229
|
},
|
230
230
|
"MicrosoftTeams.min.js.map": {
|
231
231
|
"src": "MicrosoftTeams.min.js.map",
|
232
|
-
"integrity": "sha384-
|
232
|
+
"integrity": "sha384-ySHzHHMm/+GKVMrd+gedzLepdyHZplRRmGbUetpJ8aNpSYj+4G0wi+j6SbHs+Qpy"
|
233
233
|
}
|
234
234
|
}
|
package/dist/MicrosoftTeams.d.ts
CHANGED
@@ -842,6 +842,11 @@ export namespace interactive {
|
|
842
842
|
* Endpoint to configure for storage.
|
843
843
|
*/
|
844
844
|
storageEndpoint: string;
|
845
|
+
/**
|
846
|
+
* New Service Endpoint for Fluid 1.0. The `ordererEndpoint` and `storageEndpoint` props
|
847
|
+
* will soon be deprecated.
|
848
|
+
*/
|
849
|
+
serviceEndpoint?: string;
|
845
850
|
}
|
846
851
|
/**
|
847
852
|
* @hidden
|
@@ -4185,6 +4190,20 @@ export namespace meeting {
|
|
4185
4190
|
*/
|
4186
4191
|
isSpeakingDetected: boolean;
|
4187
4192
|
}
|
4193
|
+
interface IRaiseHandState {
|
4194
|
+
/** Indicates whether the selfParticipant's hand is raised or not*/
|
4195
|
+
isHandRaised: boolean;
|
4196
|
+
}
|
4197
|
+
interface IRaiseHandStateChangedEventData {
|
4198
|
+
/**
|
4199
|
+
* entire raiseHandState object for the selfParticipant
|
4200
|
+
*/
|
4201
|
+
raiseHandState: IRaiseHandState;
|
4202
|
+
/**
|
4203
|
+
* error object in case there is a failure
|
4204
|
+
*/
|
4205
|
+
error?: SdkError;
|
4206
|
+
}
|
4188
4207
|
enum MeetingType {
|
4189
4208
|
Unknown = "Unknown",
|
4190
4209
|
Adhoc = "Adhoc",
|
@@ -4361,6 +4380,15 @@ export namespace meeting {
|
|
4361
4380
|
* @param handler The handler to invoke when the speaking state of any participant changes (start/stop speaking).
|
4362
4381
|
*/
|
4363
4382
|
function registerSpeakingStateChangeHandler(handler: (speakingState: ISpeakingState) => void): void;
|
4383
|
+
/**
|
4384
|
+
* Registers a handler for changes to the selfParticipant raiseHand state. If the selfParticipant raises their hand, isHandRaised
|
4385
|
+
* will be true. By default and if the selfParticipant hand is lowered, isHandRaised will be false. This API will return {@link IRaiseHandStateChangedEvent}
|
4386
|
+
* that will have the raiseHand state or an error object. Only one handler can be registered at a time. A subsequent registration
|
4387
|
+
* replaces an existing registration.
|
4388
|
+
*
|
4389
|
+
* @param handler The handler to invoke when the selfParticipant's raiseHand state changes.
|
4390
|
+
*/
|
4391
|
+
function registerRaiseHandStateChangedHandler(handler: (raiseHandStateChangedEvent: IRaiseHandStateChangedEventData) => void): void;
|
4364
4392
|
}
|
4365
4393
|
|
4366
4394
|
/**
|
package/dist/MicrosoftTeams.js
CHANGED
@@ -1123,7 +1123,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
1123
1123
|
});
|
1124
1124
|
|
1125
1125
|
;// CONCATENATED MODULE: ./src/internal/constants.ts
|
1126
|
-
var version = "2.0.0-experimental.
|
1126
|
+
var version = "2.0.0-experimental.1";
|
1127
1127
|
/**
|
1128
1128
|
* @hidden
|
1129
1129
|
* The client version when all SDK APIs started to check platform compatibility for the APIs was 1.6.0.
|
@@ -5796,6 +5796,22 @@ var meeting;
|
|
5796
5796
|
registerHandler('meeting.speakingStateChanged', handler);
|
5797
5797
|
}
|
5798
5798
|
meeting.registerSpeakingStateChangeHandler = registerSpeakingStateChangeHandler;
|
5799
|
+
/**
|
5800
|
+
* Registers a handler for changes to the selfParticipant raiseHand state. If the selfParticipant raises their hand, isHandRaised
|
5801
|
+
* will be true. By default and if the selfParticipant hand is lowered, isHandRaised will be false. This API will return {@link IRaiseHandStateChangedEvent}
|
5802
|
+
* that will have the raiseHand state or an error object. Only one handler can be registered at a time. A subsequent registration
|
5803
|
+
* replaces an existing registration.
|
5804
|
+
*
|
5805
|
+
* @param handler The handler to invoke when the selfParticipant's raiseHand state changes.
|
5806
|
+
*/
|
5807
|
+
function registerRaiseHandStateChangedHandler(handler) {
|
5808
|
+
if (!handler) {
|
5809
|
+
throw new Error('[registerRaiseHandStateChangedHandler] Handler cannot be null');
|
5810
|
+
}
|
5811
|
+
ensureInitialized(FrameContexts.sidePanel, FrameContexts.meetingStage);
|
5812
|
+
registerHandler('meeting.raiseHandStateChanged', handler);
|
5813
|
+
}
|
5814
|
+
meeting.registerRaiseHandStateChangedHandler = registerRaiseHandStateChangedHandler;
|
5799
5815
|
})(meeting || (meeting = {}));
|
5800
5816
|
|
5801
5817
|
;// CONCATENATED MODULE: ./src/public/monetization.ts
|