Skip to content

Commit

Permalink
chore(connect): deprecate device.label
Browse files Browse the repository at this point in the history
  • Loading branch information
komret committed Sep 24, 2024
1 parent 0961884 commit 1fef125
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/connect/src/types/device.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export type KnownDevice = {
type: 'acquired';
id: string | null;
path: string;
/** @deprecated, use features.label instead */
label: string;
error?: typeof undefined;
firmware: DeviceFirmwareStatus;
Expand All @@ -82,6 +83,7 @@ export type UnknownDevice = {
type: 'unacquired';
id?: null;
path: string;
/** @deprecated, use features.label instead */
label: string;
error?: typeof undefined;
features?: typeof undefined;
Expand All @@ -102,6 +104,7 @@ export type UnreadableDevice = {
type: 'unreadable';
id?: null;
path: string;
/** @deprecated, use features.label instead */
label: string;
error: string;
features?: typeof undefined;
Expand Down

0 comments on commit 1fef125

Please sign in to comment.