Skip to content

4.0.0

Compare
Choose a tag to compare
@darrachequesne darrachequesne released this 22 Nov 13:21
· 6 commits to main since this release
4810bd7

BREAKING CHANGES

emitReserved() is renamed to _emitReserved() in order to enable proper mangling.

New syntax:

import { Emitter } from "@socket.io/component-emitter";

class MyEmitter extends Emitter {
  foo() {
    this._emitReserved("input");
  }
}

Diff: 3.1.0...4.0.0