From 345f6b4570f3422e971110671a386097764f49de Mon Sep 17 00:00:00 2001 From: Robson Oliveira dos Santos Date: Mon, 18 Dec 2023 22:18:38 -0300 Subject: [PATCH] fix: fix wrong version in API --- README.md | 4 ++-- src/definitions.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 55bcbac..2242b89 100644 --- a/README.md +++ b/README.md @@ -243,8 +243,8 @@ Contains data related to the DFU update process, such as progress and speed. | **`avgSpeed`** | number | The average speed in bytes per millisecond. | 1.0.0 | | **`currentPart`** | number | The number of parts being sent. In case the ZIP file contains a Soft Device and/or a Bootloader together with the application the SD+BL are sent as part 1, then the service starts again and send the application as part 2. | 1.0.0 | | **`partsTotal`** | number | The total number of parts. | 1.0.0 | -| **`duration`** | number | The total time elapsed since the start of the DFU process in milliseconds | 1.0.1 | -| **`remainingTime`** | number | The estimated remaining time to the end of the DFU process in milliseconds | 1.0.1 | +| **`duration`** | number | The total time elapsed since the start of the DFU process in milliseconds | 1.1.0 | +| **`remainingTime`** | number | The estimated remaining time to the end of the DFU process in milliseconds | 1.1.0 | ### Type Aliases diff --git a/src/definitions.ts b/src/definitions.ts index 7c67c2d..a94a190 100644 --- a/src/definitions.ts +++ b/src/definitions.ts @@ -152,14 +152,14 @@ export interface DfuUpdateData { /** * The total time elapsed since the start of the DFU process in milliseconds * - * @since 1.0.1 + * @since 1.1.0 */ duration?: number; /** * The estimated remaining time to the end of the DFU process in milliseconds * - * @since 1.0.1 + * @since 1.1.0 */ remainingTime?: number; }