Skip to content

Releases: houd1ni/WebsocketPromisify

2.7.0: Multiple fixes & features.

28 Jul 00:11
Compare
Choose a tag to compare

API:

  • reconnection_attempts config option added. It is a number.
  • open() method is now available. It opens previously closed connection without need to recreate the whole client.
  • ping is now pinging only if nothing was sent between pinging period: no excess pings now! Closes #43
  • Multiple reconnection bugs fixed.

Deps: upgraded.

Code:

  • internal types update.
  • Tests upgraded.
  • Cleanups and some cleaner rework.

2.6.0: 'timeout' event added.

07 Mar 13:51
Compare
Choose a tag to compare

Packaging: import { WSC } from 'wspromisify/src/WebSocketClient' and other stuff from src/ is now available due to addition in package.json.

API: timeout event added. The argument is a data that was trying to send.

Deps: upgraded.

Types: internal types update.

Code:

2.5.0

05 Feb 08:35
Compare
Choose a tag to compare

Issues fixed: #38, #23, #31

Tests:

  • Have been rewritten to typescript.
  • Moved from ava to uvu as much better solution for typescript (ava indeed has no plans to support it as far as I can see).
  • Moved from moribund circle-ci to scrutinizer.

Code:

  • Recomposition.

2.4.2: Deps upgrade

17 Jan 09:16
Compare
Choose a tag to compare

Only dependency upgrade and a new format of tests work in progress.

2.1.11

17 Feb 16:07
Compare
Choose a tag to compare

Improvements:

  • Types improvement 9d56c9f
  • Documentation (README) improved, added badges.
  • Deps have been updated.

Other changes:

  • CI updated & coverage detection added (nyc + codeconv).
  • Added dependecies freshness control (david).

2.1.3

10 Feb 18:25
Compare
Choose a tag to compare

Fixes:

  • Excess console statement removed (with encoded).
  • Shared config fixed. You might faced this issue after 2.0.0 version and used more than one connection per VM.

2.1.1

09 Feb 19:51
Compare
Choose a tag to compare

Features

  • new WSP({ url: '/lalala' }) is now the same as new WSP({ url: `${location.hostname}:${location.port}/lalala` }). Throws in non-browsers.
  • ~0.5Kb less bundle size.
  • Resolves .ready() with non-null error code (2) in the case of CLOSING or CLOSED socket state.

Underhood

  • Much faster id generation, shorter ids with unicode 48 -> 122.
  • cleanup, tests structure heavily improved.
  • Upgrade deps including ava test runner.

2.0.0 Full types.

02 Feb 13:31
Compare
Choose a tag to compare
  • Typings are far better, fixes constructor's options any instead of Partial.
  • Project structure improved.

1.1.1

30 May 15:23
Compare
Choose a tag to compare

Refactoring.

FEATURE added: encoder/decoder. See in README.

full tested release with build!

19 Dec 15:22
Compare
Choose a tag to compare

The same as previous, but pre-built.