diff --git a/packages/tools/devtools/devtools-core/api-report/devtools-core.api.md b/packages/tools/devtools/devtools-core/api-report/devtools-core.api.md index 06fc9d9bf4df..dbebfa7261d6 100644 --- a/packages/tools/devtools/devtools-core/api-report/devtools-core.api.md +++ b/packages/tools/devtools/devtools-core/api-report/devtools-core.api.md @@ -155,12 +155,12 @@ export namespace ContainerStateHistory { export interface ContainerStateMetadata extends ContainerMetadata { // (undocumented) attachState: AttachState; - audienceId?: string; // (undocumented) clientId?: string; closed: boolean; // (undocumented) connectionState: ConnectionState; + userId?: string; } // @internal diff --git a/packages/tools/devtools/devtools-core/src/ContainerDevtools.ts b/packages/tools/devtools/devtools-core/src/ContainerDevtools.ts index 398888a22d87..097573cf8cc2 100644 --- a/packages/tools/devtools/devtools-core/src/ContainerDevtools.ts +++ b/packages/tools/devtools/devtools-core/src/ContainerDevtools.ts @@ -579,8 +579,7 @@ export class ContainerDevtools implements IContainerDevtools { connectionState: this.container.connectionState, closed: this.container.closed, clientId: this.container.clientId, - audienceId: - clientId === undefined ? undefined : this.audience.getMember(clientId)?.user.id, + userId: clientId === undefined ? undefined : this.audience.getMember(clientId)?.user.id, }; } diff --git a/packages/tools/devtools/devtools-core/src/ContainerMetadata.ts b/packages/tools/devtools/devtools-core/src/ContainerMetadata.ts index 4554b3e7c305..de0a978836b1 100644 --- a/packages/tools/devtools/devtools-core/src/ContainerMetadata.ts +++ b/packages/tools/devtools/devtools-core/src/ContainerMetadata.ts @@ -62,5 +62,5 @@ export interface ContainerStateMetadata extends ContainerMetadata { * * @remarks Will be undefined when the Container is not connected. */ - audienceId?: string; + userId?: string; } diff --git a/packages/tools/devtools/devtools-view/src/components/ContainerSummaryView.tsx b/packages/tools/devtools/devtools-view/src/components/ContainerSummaryView.tsx index 6a7d927e0436..b46b821ba9ef 100644 --- a/packages/tools/devtools/devtools-view/src/components/ContainerSummaryView.tsx +++ b/packages/tools/devtools/devtools-view/src/components/ContainerSummaryView.tsx @@ -256,7 +256,7 @@ export function ContainerSummaryView(props: ContainerSummaryViewProps): React.Re {DataRow("Container", containerState.id, columnSizing_unstable)} {ContainerStatusRow(statusComponents)} {DataRow("Client ID", containerState.clientId, columnSizing_unstable)} - {DataRow("Audience ID", containerState.audienceId, columnSizing_unstable)} + {DataRow("User ID", containerState.userId, columnSizing_unstable)}