Skip to content

v3.0.0

Compare
Choose a tag to compare
@foxxyz foxxyz released this 05 Sep 02:06
· 58 commits to master since this release

Breaking changes

  • The rootObject argument for Server and Client has been removed. Instead, the included JSONObjSerializer can be passed to the new serializer argument to Server or Client to achieve the same behavior:
import { Server } from 'ws-plus'
import { JSONObjSerializer } from 'ws-plus/serializers'

const server = new Server({ port: 8088, serializer: JSONObjSerializer })

Other changes

  • The underlying ws version has been upgraded to version 8.