@azure/communication-react 1.13.0-alpha-202402220012 → 1.13.0-alpha-202402230012
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/dist/dist-cjs/communication-react/index.js +8 -4
- package/dist/dist-cjs/communication-react/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.js +1 -1
- package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +4 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
- package/package.json +1 -1
@@ -173,7 +173,7 @@ function getDefaultExportFromCjs (x) {
|
|
173
173
|
// Copyright (c) Microsoft Corporation.
|
174
174
|
// Licensed under the MIT License.
|
175
175
|
// GENERATED FILE. DO NOT EDIT MANUALLY.
|
176
|
-
var telemetryVersion = '1.13.0-alpha-
|
176
|
+
var telemetryVersion = '1.13.0-alpha-202402230012';
|
177
177
|
|
178
178
|
|
179
179
|
var telemetryVersion$1 = /*@__PURE__*/getDefaultExportFromCjs(telemetryVersion);
|
@@ -21981,7 +21981,7 @@ class ResourceDownloadQueue {
|
|
21981
21981
|
message.resourceCache = {};
|
21982
21982
|
}
|
21983
21983
|
for (const attachment of attachments) {
|
21984
|
-
if (attachment.previewUrl) {
|
21984
|
+
if (attachment.previewUrl && attachment.attachmentType === 'image') {
|
21985
21985
|
const blobUrl = yield operation(attachment.previewUrl, this._credential);
|
21986
21986
|
message.resourceCache[attachment.previewUrl] = blobUrl;
|
21987
21987
|
}
|
@@ -24851,7 +24851,7 @@ const ChatScreen = (props) => {
|
|
24851
24851
|
if (e.key === 'Enter') {
|
24852
24852
|
onInlineImageClicked(inlineImage.imgAttrs.id || '', inlineImage.messageId);
|
24853
24853
|
}
|
24854
|
-
} }, defaultOnRender(inlineImage)));
|
24854
|
+
}, style: { cursor: 'pointer' } }, defaultOnRender(inlineImage)));
|
24855
24855
|
}
|
24856
24856
|
};
|
24857
24857
|
/* @conditional-compile-remove(image-overlay) */
|
@@ -25326,7 +25326,7 @@ const getEndedCallPageProps = (locale, endedCall) => {
|
|
25326
25326
|
*/
|
25327
25327
|
const getCallCompositePage = (call, previousCall, transferCall, unsupportedBrowserInfo) => {
|
25328
25328
|
/* @conditional-compile-remove(unsupported-browser) */
|
25329
|
-
if (isUnsupportedEnvironment(unsupportedBrowserInfo.environmentInfo, unsupportedBrowserInfo.unsupportedBrowserVersionOptedIn)) {
|
25329
|
+
if (isUnsupportedEnvironment(unsupportedBrowserInfo === null || unsupportedBrowserInfo === void 0 ? void 0 : unsupportedBrowserInfo.environmentInfo, unsupportedBrowserInfo === null || unsupportedBrowserInfo === void 0 ? void 0 : unsupportedBrowserInfo.unsupportedBrowserVersionOptedIn)) {
|
25330
25330
|
return 'unsupportedEnvironment';
|
25331
25331
|
}
|
25332
25332
|
/* @conditional-compile-remove(call-transfer) */
|
@@ -34024,6 +34024,10 @@ class AzureCommunicationCallAdapter {
|
|
34024
34024
|
}
|
34025
34025
|
leaveCall(forEveryone) {
|
34026
34026
|
return __awaiter$5(this, void 0, void 0, function* () {
|
34027
|
+
if (this.getState().page === 'transferring') {
|
34028
|
+
const transferCall = this.callAgent.calls.filter((call) => { var _a; return call.id === ((_a = this.getState().acceptedTransferCallState) === null || _a === void 0 ? void 0 : _a.id); })[0];
|
34029
|
+
transferCall === null || transferCall === void 0 ? void 0 : transferCall.hangUp();
|
34030
|
+
}
|
34027
34031
|
yield this.handlers.onHangUp(forEveryone);
|
34028
34032
|
this.unsubscribeCallEvents();
|
34029
34033
|
this.handlers = createHandlers(this.callClient, this.callAgent, this.deviceManager, this.call,
|