Skip to content

Commit e437185

Browse files
committed
Merge branch 'release/v2.3.1'
2 parents ee8e18c + d095cf3 commit e437185

File tree

5 files changed

+10618
-1459
lines changed

5 files changed

+10618
-1459
lines changed

CHANGELOG.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [Unreleased]
99

10+
## [v2.3.1] - 2020-11-07
11+
### Fixed
12+
- [#23](https://github.com/ivanmarban/winston-telegram/pull/23) Fixed Typescript definition.
13+
1014
## [v2.3.0] - 2020-05-31
1115
### Added
1216
- [#17](https://github.com/ivanmarban/winston-telegram/pull/17) [#19](https://github.com/ivanmarban/winston-telegram/pull/19) Parse mode support for messages.
@@ -112,7 +116,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
112116
## [v0.1.0] - 2015-11-12
113117
- First version.
114118

115-
[unreleased]: https://github.com/ivanmarban/winston-telegram/compare/v2.3.0...develop
119+
[unreleased]: https://github.com/ivanmarban/winston-telegram/compare/v2.3.1...develop
120+
[v2.3.1]: https://github.com/ivanmarban/winston-telegram/compare/v2.3.0...v2.3.1
116121
[v2.3.0]: https://github.com/ivanmarban/winston-telegram/compare/v2.2.2...v2.3.0
117122
[v2.2.2]: https://github.com/ivanmarban/winston-telegram/compare/v2.2.1...v2.2.2
118123
[v2.2.1]: https://github.com/ivanmarban/winston-telegram/compare/v2.2.0...v2.2.1

README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ A [Telegram][0] transport for [winston][1].
1212
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
1313
[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SJLW6PTHQQNBS)
1414

15-
## winston-telegram@3
15+
## winston-telegram@2
1616

1717
Installation:
1818
``` sh
@@ -21,13 +21,16 @@ $ npm install winston-telegram@2
2121
```
2222

2323
## Looking for `[email protected]` ?
24-
Documentation below is for `winston-telegram@3`. [Read the `[email protected]` documentation][2].
24+
Documentation below is for `winston-telegram@2`. [Read the `[email protected]` documentation][2].
2525

2626
## Usage
2727
``` js
2828
const logger = require('winston')
2929
const TelegramLogger = require('winston-telegram')
3030

31+
// or
32+
import * as TelegramLogger from 'winston-telegram';
33+
3134
logger.add(new TelegramLogger(options))
3235
```
3336

lib/winston-telegram.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ declare namespace WinstonTelegram {
4242

4343
}
4444

45-
export default WinstonTelegram
45+
export = WinstonTelegram

0 commit comments

Comments
 (0)