Skip to content

Commit

Permalink
Merge pull request #243 from DinoLeung/develop
Browse files Browse the repository at this point in the history
export util classes
  • Loading branch information
DinoLeung authored Apr 7, 2023
2 parents 077b0e3 + dd73124 commit c596386
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.5.6

- Export util classes, so users can catch http client exceptions

## 0.5.5

- Fixed typo in response object
Expand Down
24 changes: 24 additions & 0 deletions lib/util.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/**
* TeleDart - Telegram Bot API for Dart
* Copyright (C) 2019 Dino PH Leung
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

/// Util classes for TeleDart
library telegram;

export 'src/util/http_client.dart';
export 'src/util/time_helper.dart';
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: teledart
description: A Dart library interfacing with the latest Telegram Bot API.
version: 0.5.5
version: 0.5.6
homepage: https://github.com/DinoLeung/TeleDart
issue_tracker: https://github.com/DinoLeung/TeleDart/issues

Expand Down

0 comments on commit c596386

Please sign in to comment.