2.1.1
Features
new WSP({ url: '/lalala' })
is now the same asnew 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.