Skip to content

2.1.1

Compare
Choose a tag to compare
@houd1ni houd1ni released this 09 Feb 19:51
· 95 commits to master since this release

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.