From ef294d0cfc48a9143aa9a70f54bec910cbee3ce4 Mon Sep 17 00:00:00 2001 From: "Shah, Kevin" Date: Thu, 29 Aug 2024 15:52:14 -0400 Subject: [PATCH] fix: Updated descriptions for few APIs --- src/sdks/core/sdk.config.json | 2 +- src/sdks/core/test/suite/device.test.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/sdks/core/sdk.config.json b/src/sdks/core/sdk.config.json index f34bf72c8..c682afc3b 100644 --- a/src/sdks/core/sdk.config.json +++ b/src/sdks/core/sdk.config.json @@ -129,7 +129,7 @@ "module": "SecondScreen", "use": [ "xrn:firebolt:capability:protocol:dial", - "xrn:firebolt:capability:device:info" + "xrn:firebolt:capability:secondscreen:protocol" ] }, { diff --git a/src/sdks/core/test/suite/device.test.ts b/src/sdks/core/test/suite/device.test.ts index 7f9601cac..f5a55849d 100644 --- a/src/sdks/core/test/suite/device.test.ts +++ b/src/sdks/core/test/suite/device.test.ts @@ -112,17 +112,17 @@ test("Device.make()", () => { }); test("Device.hdcp()", () => { - const expectedOutput: Device.BooleanMap = { + const expectedOutput: Device.HDCPVersionMap = { "hdcp1.4": true, "hdcp2.2": true, }; - return Device.hdcp().then((res: Device.BooleanMap) => { + return Device.hdcp().then((res: Device.HDCPVersionMap) => { expect(res).toEqual(expectedOutput); }); }); test("Device.hdcp(subscriber)", () => { - return Device.hdcp((supportedHdrProfiles: Device.BooleanMap) => {}).then( + return Device.hdcp((supportedHdrProfiles: Device.HDCPVersionMap) => {}).then( (res: number) => { expect(res > 0).toBe(true); }