Skip to content

Commit 5529f45

Browse files
chore(release): 5.4.0 [skip ci]
# [5.4.0](Rapsssito/react-native-tcp-socket@v5.3.1...v5.4.0) (2021-10-26) ### Features * Publish Socket timeout property ([Rapsssito#131](Rapsssito#131)) ([b87a282](Rapsssito@b87a282))
1 parent b87a282 commit 5529f45

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# [5.4.0](https://github.com/Rapsssito/react-native-tcp-socket/compare/v5.3.1...v5.4.0) (2021-10-26)
2+
3+
4+
### Features
5+
6+
* Publish Socket timeout property ([#131](https://github.com/Rapsssito/react-native-tcp-socket/issues/131)) ([b87a282](https://github.com/Rapsssito/react-native-tcp-socket/commit/b87a2827ecf11aad8deff4ae9e3b45567d57b580))
7+
18
## [5.3.1](https://github.com/Rapsssito/react-native-tcp-socket/compare/v5.3.0...v5.3.1) (2021-09-13)
29

310

coverage/coverage-final.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

lib/types/Socket.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default class Socket extends EventEmitter<SocketEvents & ReadableEvents,
4343
private _msgEvtEmitter;
4444
/** @type {number} @private */
4545
private _timeoutMsecs;
46-
/** @private */
46+
/** @type {number | undefined} @private */
4747
private _timeout;
4848
/** @type {number} @private */
4949
private _state;
@@ -72,6 +72,7 @@ export default class Socket extends EventEmitter<SocketEvents & ReadableEvents,
7272
remoteAddress: string | undefined;
7373
remotePort: number | undefined;
7474
remoteFamily: string | undefined;
75+
get timeout(): number | undefined;
7576
/**
7677
* @package
7778
* @param {number} id

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-native-tcp-socket",
33
"title": "React Native Tcp Socket",
4-
"version": "5.3.1",
4+
"version": "5.4.0",
55
"description": "React Native TCP socket API for Android & iOS with SSL/TLS support",
66
"main": "src/index.js",
77
"types": "lib/types/index.d.ts",

0 commit comments

Comments
 (0)