@azure/communication-react 1.4.2-alpha-202211080016.0 → 1.4.2-alpha-202211090017.0
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 +13 -14
- package/dist/dist-cjs/communication-react/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetry.d.ts +10 -0
- package/dist/dist-esm/acs-ui-common/src/telemetry.js +10 -0
- package/dist/dist-esm/acs-ui-common/src/telemetry.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/react-components/src/components/TroubleshootingGuideErrorBar.js +3 -3
- package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.d.ts +1 -5
- package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js +0 -11
- package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js.map +1 -1
- package/package.json +8 -8
@@ -4,6 +4,16 @@
|
|
4
4
|
export declare const sanitize: (version: string) => string;
|
5
5
|
/**
|
6
6
|
* Application ID to be included in telemetry data from the UI library.
|
7
|
+
* Template: acXYYY/<version>
|
8
|
+
* Where:
|
9
|
+
* - X describes a platform, [r: web, i: iOS, a: Android]
|
10
|
+
* - YYY describes what's running on this platform (optional, currently unused by this library):
|
11
|
+
* Y[0] is high-level artifact,
|
12
|
+
* [0: undefined, 1: AzureCommunicationLibrary, 2: ACS SampleApp]
|
13
|
+
* Y[1] is specific implementation,
|
14
|
+
* [0: undefined, 1: Call Composite, 2: Chat Composite, 3: CallWithChatComposite, 4: UI Components]
|
15
|
+
* Y[2] is reserved for implementation details,
|
16
|
+
* [0: undefined]
|
7
17
|
*
|
8
18
|
* @internal
|
9
19
|
*/
|
@@ -15,6 +15,16 @@ export const sanitize = (version) => {
|
|
15
15
|
};
|
16
16
|
/**
|
17
17
|
* Application ID to be included in telemetry data from the UI library.
|
18
|
+
* Template: acXYYY/<version>
|
19
|
+
* Where:
|
20
|
+
* - X describes a platform, [r: web, i: iOS, a: Android]
|
21
|
+
* - YYY describes what's running on this platform (optional, currently unused by this library):
|
22
|
+
* Y[0] is high-level artifact,
|
23
|
+
* [0: undefined, 1: AzureCommunicationLibrary, 2: ACS SampleApp]
|
24
|
+
* Y[1] is specific implementation,
|
25
|
+
* [0: undefined, 1: Call Composite, 2: Chat Composite, 3: CallWithChatComposite, 4: UI Components]
|
26
|
+
* Y[2] is reserved for implementation details,
|
27
|
+
* [0: undefined]
|
18
28
|
*
|
19
29
|
* @internal
|
20
30
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"telemetry.js","sourceRoot":"","sources":["../../../../../acs-ui-common/src/telemetry.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,KAAK,gBAAgB,MAAM,oBAAoB,CAAC;AAEvD;;GAEG;AACH,qFAAqF;AACrF,gEAAgE;AAChE,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,OAAe,EAAU,EAAE;IAClD,MAAM,UAAU,GAAG,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC3C,IAAI,UAAU,IAAI,CAAC,EAAE;QACnB,OAAO,OAAO,CAAC,SAAS,CAAC,CAAC,EAAE,UAAU,GAAG,CAAC,CAAC,CAAC;KAC7C;IACD,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC;AAEF
|
1
|
+
{"version":3,"file":"telemetry.js","sourceRoot":"","sources":["../../../../../acs-ui-common/src/telemetry.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,KAAK,gBAAgB,MAAM,oBAAoB,CAAC;AAEvD;;GAEG;AACH,qFAAqF;AACrF,gEAAgE;AAChE,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,OAAe,EAAU,EAAE;IAClD,MAAM,UAAU,GAAG,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC3C,IAAI,UAAU,IAAI,CAAC,EAAE;QACnB,OAAO,OAAO,CAAC,SAAS,CAAC,CAAC,EAAE,UAAU,GAAG,CAAC,CAAC,CAAC;KAC7C;IACD,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAW,EAAE;IAC5C,MAAM,OAAO,GAAG,gBAAgB,CAAC,SAAS,CAAC,CAAC;IAC5C,OAAO,QAAQ,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC;AACpC,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport * as telemetryVersion from './telemetryVersion';\n\n/**\n * @private\n */\n// Removes long suffixes that don't fit the constraints for telemetry application ID.\n// e.g., the build suffix is dropped for alpha package versions.\nexport const sanitize = (version: string): string => {\n const alphaIndex = version.search(/alpha/);\n if (alphaIndex >= 0) {\n return version.substring(0, alphaIndex + 5);\n }\n return version;\n};\n\n/**\n * Application ID to be included in telemetry data from the UI library.\n * Template: acXYYY/<version>\n * Where:\n * - X describes a platform, [r: web, i: iOS, a: Android]\n * - YYY describes what's running on this platform (optional, currently unused by this library):\n * Y[0] is high-level artifact,\n * [0: undefined, 1: AzureCommunicationLibrary, 2: ACS SampleApp]\n * Y[1] is specific implementation,\n * [0: undefined, 1: Call Composite, 2: Chat Composite, 3: CallWithChatComposite, 4: UI Components]\n * Y[2] is reserved for implementation details,\n * [0: undefined]\n *\n * @internal\n */\nexport const _getApplicationId = (): string => {\n const version = telemetryVersion['default'];\n return sanitize(`acr/${version}`);\n};\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"telemetryVersion.js","sourceRoot":"","sources":["../../../../../acs-ui-common/src/telemetryVersion.js"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;AAElC,wCAAwC;AAExC,MAAM,CAAC,OAAO,GAAG,4BAA4B,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n// GENERATED FILE. DO NOT EDIT MANUALLY.\n\nmodule.exports = '1.4.2-alpha-
|
1
|
+
{"version":3,"file":"telemetryVersion.js","sourceRoot":"","sources":["../../../../../acs-ui-common/src/telemetryVersion.js"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;AAElC,wCAAwC;AAExC,MAAM,CAAC,OAAO,GAAG,4BAA4B,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n// GENERATED FILE. DO NOT EDIT MANUALLY.\n\nmodule.exports = '1.4.2-alpha-202211090017.0';\n"]}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
import React, { useEffect, useState } from 'react';
|
4
4
|
import { Link, MessageBar, MessageBarButton, Stack, useTheme } from '@fluentui/react';
|
5
5
|
import { useLocale } from '../localization';
|
6
|
-
import { dismissButtonStyle,
|
6
|
+
import { dismissButtonStyle, messageBarStyle } from './styles/TroubleshootingGuideErrorBar.styles';
|
7
7
|
import { dismissError, dropDismissalsForInactiveErrors, errorsToShow, messageBarIconProps, messageBarType } from './utils';
|
8
8
|
/**
|
9
9
|
* @internal
|
@@ -28,14 +28,14 @@ export const _TroubleshootingGuideErrorBar = (props) => {
|
|
28
28
|
const devicePermissionErrorBar = (React.createElement("div", null,
|
29
29
|
strings[error.type],
|
30
30
|
' ',
|
31
|
-
onPermissionsTroubleshootingClick && (React.createElement(Link, {
|
31
|
+
onPermissionsTroubleshootingClick && (React.createElement(Link, { onClick: () => {
|
32
32
|
onPermissionsTroubleshootingClick(permissionsState);
|
33
33
|
}, underline: true },
|
34
34
|
React.createElement("span", null, troubleshootingGuideStrings.devicePermissionLinkText)))));
|
35
35
|
const networkErrorBar = (React.createElement("div", null,
|
36
36
|
strings[error.type],
|
37
37
|
' ',
|
38
|
-
onNetworkingTroubleshootingClick && (React.createElement(Link, {
|
38
|
+
onNetworkingTroubleshootingClick && (React.createElement(Link, { onClick: onNetworkingTroubleshootingClick, underline: true },
|
39
39
|
React.createElement("span", null, troubleshootingGuideStrings.networkTroubleshootingLinkText)))));
|
40
40
|
return (React.createElement(MessageBar, Object.assign({}, props, { styles: messageBarStyle(theme, messageBarType(error.type)), key: error.type, messageBarType: messageBarType(error.type), messageBarIconProps: messageBarIconProps(error.type), actions: React.createElement(MessageBarButton, { text: troubleshootingGuideStrings.dismissButtonText, styles: dismissButtonStyle(theme), onClick: () => {
|
41
41
|
setDismissedErrors(dismissError(dismissedErrors, error));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TroubleshootingGuideErrorBar.js","sourceRoot":"","sources":["../../../../../../react-components/src/components/TroubleshootingGuideErrorBar.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,gBAAgB,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACtF,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,OAAO,EAAE,kBAAkB,EAAE,
|
1
|
+
{"version":3,"file":"TroubleshootingGuideErrorBar.js","sourceRoot":"","sources":["../../../../../../react-components/src/components/TroubleshootingGuideErrorBar.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,gBAAgB,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACtF,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,O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AAC;KACjC;AACH,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport React, { useEffect, useState } from 'react';\nimport { Link, MessageBar, MessageBarButton, Stack, useTheme } from '@fluentui/react';\nimport { useLocale } from '../localization';\nimport { ErrorBarProps } from './ErrorBar';\nimport { dismissButtonStyle, messageBarStyle } from './styles/TroubleshootingGuideErrorBar.styles';\nimport {\n DismissedError,\n dismissError,\n dropDismissalsForInactiveErrors,\n errorsToShow,\n messageBarIconProps,\n messageBarType\n} from './utils';\n\n/**\n * Strings for {@link _TroubleshootingGuideErrorBar}.\n *\n * @internal\n */\nexport interface _TroubleshootingGuideErrorBarStrings {\n devicePermissionLinkText?: string;\n networkTroubleshootingLinkText?: string;\n dismissButtonText?: string;\n}\n\n/**\n * Props for {@link _TroubleshootingGuideErrorBar}.\n *\n * @internal\n */\nexport interface _TroubleshootingGuideErrorBarProps extends ErrorBarProps {\n /**\n * permissions state for camera/microphone\n */\n permissionsState?: {\n camera: PermissionState;\n microphone: PermissionState;\n };\n /**\n * Callback you may provide to supply users with further steps to troubleshoot why they have been\n * unable to grant your site the required permissions for the call.\n *\n * @example\n * ```ts\n * onPermissionsTroubleshootingClick: () =>\n * window.open('https://contoso.com/permissions-troubleshooting', '_blank');\n * ```\n *\n * @remarks\n * if this is not supplied, the composite will not show a 'further troubleshooting' link.\n */\n onPermissionsTroubleshootingClick?: (permissionsState: {\n camera: PermissionState;\n microphone: PermissionState;\n }) => void;\n /**\n * Optional callback to supply users with further troubleshooting steps for network issues\n * experienced when connecting to a call.\n *\n * @example\n * ```ts\n * onNetworkingTroubleshootingClick?: () =>\n * window.open('https://contoso.com/network-troubleshooting', '_blank');\n * ```\n *\n * @remarks\n * if this is not supplied, the composite will not show a 'network troubleshooting' link.\n */\n onNetworkingTroubleshootingClick?: () => void;\n /**\n * strings related to trouble shooting guidance link and dismiss button\n */\n troubleshootingGuideStrings: _TroubleshootingGuideErrorBarStrings;\n}\n\n/**\n * @internal\n * A component to show device Permission/network connection related errors, contains link that leads to further trouble shooting guide\n */\nexport const _TroubleshootingGuideErrorBar = (props: _TroubleshootingGuideErrorBarProps): JSX.Element => {\n const theme = useTheme();\n // error bar strings\n const localeStrings = useLocale().strings.errorBar;\n const strings = props.strings ?? localeStrings;\n\n const [dismissedErrors, setDismissedErrors] = useState<DismissedError[]>([]);\n\n const {\n onPermissionsTroubleshootingClick,\n onNetworkingTroubleshootingClick,\n permissionsState = {\n camera: 'denied',\n microphone: 'denied'\n },\n troubleshootingGuideStrings\n } = props;\n\n // dropDismissalsForInactiveErrors only returns a new object if `dismissedErrors` actually changes.\n // Without this behaviour, this `useEffect` block would cause a render loop.\n useEffect(\n () => setDismissedErrors(dropDismissalsForInactiveErrors(props.activeErrorMessages, dismissedErrors)),\n [props.activeErrorMessages, dismissedErrors]\n );\n\n const toShow = errorsToShow(props.activeErrorMessages, dismissedErrors);\n\n return (\n <Stack data-ui-id=\"error-bar-stack\">\n {toShow.map((error) => {\n const devicePermissionErrorBar = (\n <div>\n {strings[error.type]}{' '}\n {onPermissionsTroubleshootingClick && (\n <Link\n onClick={() => {\n onPermissionsTroubleshootingClick(permissionsState);\n }}\n underline\n >\n <span>{troubleshootingGuideStrings.devicePermissionLinkText}</span>\n </Link>\n )}\n </div>\n );\n\n const networkErrorBar = (\n <div>\n {strings[error.type]}{' '}\n {onNetworkingTroubleshootingClick && (\n <Link onClick={onNetworkingTroubleshootingClick} underline>\n <span>{troubleshootingGuideStrings.networkTroubleshootingLinkText}</span>\n </Link>\n )}\n </div>\n );\n\n return (\n <MessageBar\n {...props}\n styles={messageBarStyle(theme, messageBarType(error.type))}\n key={error.type}\n messageBarType={messageBarType(error.type)}\n messageBarIconProps={messageBarIconProps(error.type)}\n actions={\n <MessageBarButton\n text={troubleshootingGuideStrings.dismissButtonText}\n styles={dismissButtonStyle(theme)}\n onClick={() => {\n setDismissedErrors(dismissError(dismissedErrors, error));\n }}\n ariaLabel={strings.dismissButtonAriaLabel}\n />\n }\n isMultiline={false}\n >\n {showErrorBar(error.type, devicePermissionErrorBar, networkErrorBar)}\n </MessageBar>\n );\n })}\n </Stack>\n );\n};\n\nconst showErrorBar = (\n errorType: string,\n devicePermissionErrorBar: JSX.Element,\n networkErrorBar: JSX.Element\n): JSX.Element => {\n if (errorType === 'callNetworkQualityLow') {\n return networkErrorBar;\n } else {\n return devicePermissionErrorBar;\n }\n};\n"]}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { IButtonStyles,
|
1
|
+
import { IButtonStyles, IMessageBarStyles, ITheme, MessageBarType } from '@fluentui/react';
|
2
2
|
/**
|
3
3
|
* @private
|
4
4
|
*/
|
@@ -7,8 +7,4 @@ export declare const dismissButtonStyle: (theme: ITheme) => IButtonStyles;
|
|
7
7
|
* @private
|
8
8
|
*/
|
9
9
|
export declare const messageBarStyle: (theme: ITheme, errorType: MessageBarType) => IMessageBarStyles;
|
10
|
-
/**
|
11
|
-
* @private
|
12
|
-
*/
|
13
|
-
export declare const linkStyle: (theme: ITheme) => ILinkStyles;
|
14
10
|
//# sourceMappingURL=TroubleshootingGuideErrorBar.styles.d.ts.map
|
package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js
CHANGED
@@ -22,7 +22,6 @@ export const messageBarStyle = (theme, errorType) => ({
|
|
22
22
|
innerText: {
|
23
23
|
paddingTop: errorType === MessageBarType.warning ? '0.15rem' : '0.1rem',
|
24
24
|
lineHeight: 'none',
|
25
|
-
color: theme.palette.black,
|
26
25
|
alignSelf: 'center',
|
27
26
|
whiteSpace: 'normal'
|
28
27
|
},
|
@@ -38,14 +37,4 @@ export const messageBarStyle = (theme, errorType) => ({
|
|
38
37
|
paddingTop: '0.8rem'
|
39
38
|
}
|
40
39
|
});
|
41
|
-
/**
|
42
|
-
* @private
|
43
|
-
*/
|
44
|
-
export const linkStyle = (theme) => ({
|
45
|
-
root: {
|
46
|
-
span: {
|
47
|
-
color: theme.palette.black
|
48
|
-
}
|
49
|
-
}
|
50
|
-
});
|
51
40
|
//# sourceMappingURL=TroubleshootingGuideErrorBar.styles.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TroubleshootingGuideErrorBar.styles.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,
|
1
|
+
{"version":3,"file":"TroubleshootingGuideErrorBar.styles.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAA4C,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAE3F;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,KAAa,EAAiB,EAAE,CAAC,CAAC;IACnE,IAAI,EAAE;QACJ,OAAO,EAAE,kBAAkB;QAC3B,KAAK,EAAE,SAAS;QAChB,MAAM,EAAE,MAAM;QACd,UAAU,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK;QAC/B,MAAM,EAAE,aAAa,KAAK,CAAC,OAAO,CAAC,oBAAoB,EAAE;QACzD,YAAY,EAAE,UAAU;QACxB,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK;KAC3B;CACF,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,KAAa,EAAE,SAAyB,EAAqB,EAAE,CAAC,CAAC;IAC/F,SAAS,EAAE;QACT,UAAU,EAAE,SAAS,KAAK,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ;QACvE,UAAU,EAAE,MAAM;QAClB,SAAS,EAAE,QAAQ;QACnB,UAAU,EAAE,QAAQ;KACrB;IACD,IAAI,EAAE;QACJ,SAAS,EAAE,UAAU;QACrB,YAAY,EAAE,UAAU;KACzB;IACD,OAAO,EAAE;QACP,UAAU,EAAE,SAAS;KACtB;IACD,SAAS,EAAE;QACT,MAAM,EAAE,CAAC;QACT,UAAU,EAAE,QAAQ;KACrB;CACF,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { IButtonStyles, IMessageBarStyles, ITheme, MessageBarType } from '@fluentui/react';\n\n/**\n * @private\n */\nexport const dismissButtonStyle = (theme: ITheme): IButtonStyles => ({\n root: {\n padding: '0.375rem 1.25rem',\n width: '3.75rem',\n height: '2rem',\n background: theme.palette.white,\n border: `1px solid ${theme.palette.neutralQuaternaryAlt}`,\n borderRadius: '0.063rem',\n color: theme.palette.black\n }\n});\n\n/**\n * @private\n */\nexport const messageBarStyle = (theme: ITheme, errorType: MessageBarType): IMessageBarStyles => ({\n innerText: {\n paddingTop: errorType === MessageBarType.warning ? '0.15rem' : '0.1rem', // to move the inner text of the message bar down to be centered\n lineHeight: 'none',\n alignSelf: 'center',\n whiteSpace: 'normal'\n },\n icon: {\n marginTop: '0.375rem',\n marginBottom: '0.375rem'\n },\n content: {\n lineHeight: 'inherit'\n },\n dismissal: {\n height: 0,\n paddingTop: '0.8rem'\n }\n});\n"]}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@azure/communication-react",
|
3
|
-
"version": "1.4.2-alpha-
|
3
|
+
"version": "1.4.2-alpha-202211090017.0",
|
4
4
|
"sideEffects": false,
|
5
5
|
"description": "React library for building modern communication user experiences utilizing Azure Communication Services",
|
6
6
|
"keywords": [
|
@@ -86,13 +86,13 @@
|
|
86
86
|
"@azure/core-auth": "1.3.2",
|
87
87
|
"@babel/cli": "~7.16.0",
|
88
88
|
"@babel/core": "~7.16.0",
|
89
|
-
"@internal/calling-component-bindings": "1.4.2-alpha-
|
90
|
-
"@internal/calling-stateful-client": "1.4.2-alpha-
|
91
|
-
"@internal/chat-component-bindings": "1.4.2-alpha-
|
92
|
-
"@internal/chat-stateful-client": "1.4.2-alpha-
|
93
|
-
"@internal/fake-backends": "1.4.2-alpha-
|
94
|
-
"@internal/react-components": "1.4.2-alpha-
|
95
|
-
"@internal/react-composites": "1.4.2-alpha-
|
89
|
+
"@internal/calling-component-bindings": "1.4.2-alpha-202211090017.0",
|
90
|
+
"@internal/calling-stateful-client": "1.4.2-alpha-202211090017.0",
|
91
|
+
"@internal/chat-component-bindings": "1.4.2-alpha-202211090017.0",
|
92
|
+
"@internal/chat-stateful-client": "1.4.2-alpha-202211090017.0",
|
93
|
+
"@internal/fake-backends": "1.4.2-alpha-202211090017.0",
|
94
|
+
"@internal/react-components": "1.4.2-alpha-202211090017.0",
|
95
|
+
"@internal/react-composites": "1.4.2-alpha-202211090017.0",
|
96
96
|
"@microsoft/api-documenter": "~7.12.11",
|
97
97
|
"@microsoft/api-extractor": "~7.18.0",
|
98
98
|
"@rollup/plugin-json": "~4.1.0",
|