Skip to content

Commit

Permalink
Only export DeclarativeCallAgent in beta builds (#2469)
Browse files Browse the repository at this point in the history
  • Loading branch information
prprabhu-ms authored Oct 28, 2022
1 parent 1ebf2f2 commit fbfe38e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "Only export DeclarativeCallAgent in beta build",
"packageName": "@internal/calling-stateful-client",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
```ts

import { AudioDeviceInfo } from '@azure/communication-calling';
import { CallAgent } from '@azure/communication-calling';
import { CallClient } from '@azure/communication-calling';
import { CallClientOptions } from '@azure/communication-calling';
import { CallDirection } from '@azure/communication-calling';
Expand Down Expand Up @@ -107,9 +106,6 @@ export type CreateViewResult = {
view: VideoStreamRendererView;
};

// @public
export type DeclarativeCallAgent = CallAgent;

// @public
export type DeviceManagerState = {
isSpeakerSelectionAvailable: boolean;
Expand Down
1 change: 1 addition & 0 deletions packages/calling-stateful-client/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export type {
VideoStreamRendererViewState
} from './CallClientState';
export type { CreateViewResult } from './StreamUtils';
/* @conditional-compile-remove(one-to-n-calling) */
export type { DeclarativeCallAgent } from './CallAgentDeclarative';
/* @conditional-compile-remove(one-to-n-calling) */
export type { DeclarativeIncomingCall } from './IncomingCallDeclarative';
Original file line number Diff line number Diff line change
Expand Up @@ -1339,9 +1339,6 @@ export interface CustomMessage extends MessageCommon {
// @public
export const darkTheme: PartialTheme & CallingTheme;

// @public
export type DeclarativeCallAgent = CallAgent;

// @public
export const DEFAULT_COMPONENT_ICONS: {
ChatMessageOptions: JSX.Element;
Expand Down
1 change: 1 addition & 0 deletions packages/communication-react/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ export type {
export * from '../../react-components/src/localization/locales';
export * from '../../react-components/src/theming';
export * from '../../calling-stateful-client/src';
/* @conditional-compile-remove(one-to-n-calling) */
export type { DeclarativeCallAgent } from '../../calling-stateful-client/src';
export { createStatefulChatClient } from '../../chat-stateful-client/src';
export type {
Expand Down

0 comments on commit fbfe38e

Please sign in to comment.