Skip to content

Commit

Permalink
fix: fix wrong version in API
Browse files Browse the repository at this point in the history
  • Loading branch information
robsonos committed Dec 19, 2023
1 parent 0cf2b47 commit 345f6b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,8 @@ Contains data related to the DFU update process, such as progress and speed.
| **`avgSpeed`** | <code>number</code> | The average speed in bytes per millisecond. | 1.0.0 |
| **`currentPart`** | <code>number</code> | 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`** | <code>number</code> | The total number of parts. | 1.0.0 |
| **`duration`** | <code>number</code> | The total time elapsed since the start of the DFU process in milliseconds | 1.0.1 |
| **`remainingTime`** | <code>number</code> | The estimated remaining time to the end of the DFU process in milliseconds | 1.0.1 |
| **`duration`** | <code>number</code> | The total time elapsed since the start of the DFU process in milliseconds | 1.1.0 |
| **`remainingTime`** | <code>number</code> | The estimated remaining time to the end of the DFU process in milliseconds | 1.1.0 |


### Type Aliases
Expand Down
4 changes: 2 additions & 2 deletions src/definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 345f6b4

Please sign in to comment.