From b0b266d9a1c3220025a93dfd1392d64dac7a5acc Mon Sep 17 00:00:00 2001 From: Andre Rossi Date: Mon, 9 May 2022 14:36:30 -0300 Subject: [PATCH] Removed unused 'timeout' from command class --- CHANGELOG.md | 5 +++++ lib/src/protocol/command.dart | 4 ---- pubspec.yaml | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 380b1d8..d4920c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 0.0.15 + +* Removed unused 'timeout' from command class +* added unit tests + ## 0.0.14 * Fixed NotificationEventExtension diff --git a/lib/src/protocol/command.dart b/lib/src/protocol/command.dart index 8f04251..6b7341e 100644 --- a/lib/src/protocol/command.dart +++ b/lib/src/protocol/command.dart @@ -34,9 +34,6 @@ class Command extends Envelope { /// Indicates a reason for the status Reason? reason; - // Indicates that the command returned timeout - bool? timeout; - /// Initializes a new instance of the Command class. Command({ final String? id, @@ -50,7 +47,6 @@ class Command extends Envelope { this.resource, this.status, this.type, - this.timeout, }) : super(id: id ?? guid(), from: from, to: to, pp: pp, metadata: metadata); /// Allows converting a [Command] object to a [Map] collection of key/value pairs diff --git a/pubspec.yaml b/pubspec.yaml index 968d1b2..ee2d9ab 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: lime description: LIME Protocol for Dart/Flutter - A lightweight messaging library -version: 0.0.14 +version: 0.0.15 homepage: https://limeprotocol.org/ repository: https://github.com/takenet/lime-dart