From 0646e403cabe7567ae935383206b9d07e2320b8c Mon Sep 17 00:00:00 2001 From: "Shah, Kevin" Date: Fri, 20 Sep 2024 11:58:30 -0400 Subject: [PATCH] fix: Added deprecation note in screen resolution method --- package-lock.json | 6 +++--- src/openrpc/device.json | 6 ++++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7e07c8c8b..09f7dff67 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16962,7 +16962,7 @@ }, "src/sdks/core": { "name": "@firebolt-js/sdk", - "version": "1.4.0-next.10", + "version": "1.4.0-next.11", "license": "Apache-2.0", "devDependencies": { "jest": "^28.1.0", @@ -16973,7 +16973,7 @@ }, "src/sdks/discovery": { "name": "@firebolt-js/discovery-sdk", - "version": "1.4.0-next.10", + "version": "1.4.0-next.11", "license": "Apache-2.0", "devDependencies": { "jest": "^28.1.0", @@ -16984,7 +16984,7 @@ }, "src/sdks/manage": { "name": "@firebolt-js/manage-sdk", - "version": "1.4.0-next.10", + "version": "1.4.0-next.11", "license": "Apache-2.0", "devDependencies": { "jest": "^28.1.0", diff --git a/src/openrpc/device.json b/src/openrpc/device.json index b1f51c47b..9c64ed25c 100644 --- a/src/openrpc/device.json +++ b/src/openrpc/device.json @@ -446,7 +446,7 @@ }, { "name": "screenResolution", - "summary": "Get the resolution for the graphical surface of the app. \n\nThe pairs returned will be of a [width, height] format and will correspond to the following values: \n\nNTSC Standard Definition (SD): [720, 480] \n\nPAL Standard Definition (SD): [720, 576] \n\nHigh Definition (HD): [1280, 720] \n\nFull HD (FHD): [1920, 1080]\n\n4K Ultra High Definition (UHD): [3840, 2160]", + "summary": "Get the resolution for the graphical surface of the app. \n\nThe pairs returned will be of a [width, height] format and will correspond to the following values: \n\nNTSC Standard Definition (SD): [720, 480] \n\nPAL Standard Definition (SD): [720, 576] \n\nHigh Definition (HD): [1280, 720] \n\nFull HD (FHD): [1920, 1080]\n\n4K Ultra High Definition (UHD): [3840, 2160] \n\n**Deprecated:** Use non-Firebolt APIs specific to your platform, e.g. W3C APIs", "params": [], "tags": [ { @@ -459,7 +459,9 @@ ] }, { - "name": "deprecated" + "name": "deprecated", + "x-alternative": "Use non-Firebolt APIs specific to your platform, e.g. W3C APIs", + "x-since": "1.4.0" } ], "result": {