alphatheta-connect 0.21.0 → 0.21.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cli.js +5 -1
- package/lib/cli.js.map +1 -1
- package/lib/index.js +10 -2
- package/lib/index.js.map +1 -1
- package/lib/passive/status.d.ts +10 -6
- package/lib/remotedb/fields.d.ts +6 -6
- package/lib/status/index.d.ts +3 -6
- package/package.json +1 -1
package/lib/cli.js
CHANGED
|
@@ -9778,7 +9778,11 @@ class StatusEmitter {
|
|
|
9778
9778
|
* Lock used to avoid media slot query races
|
|
9779
9779
|
*/
|
|
9780
9780
|
_StatusEmitter_mediaSlotQueryLock.set(this, new async_mutex_1.Mutex());
|
|
9781
|
-
// Bind public event emitter interface
|
|
9781
|
+
// Bind public event emitter interface. Use explicit generic signatures keyed
|
|
9782
|
+
// on StatusEvents rather than `Emitter['on']`: extracting the indexed `on`
|
|
9783
|
+
// type out of strict-event-emitter-types degrades to its unique-symbol
|
|
9784
|
+
// compatibility overload under newer TypeScript, so consumers calling
|
|
9785
|
+
// `.on('status', …)` would fail to typecheck. The runtime is unchanged.
|
|
9782
9786
|
this.on = __classPrivateFieldGet(this, _StatusEmitter_emitter, "f").addListener.bind(__classPrivateFieldGet(this, _StatusEmitter_emitter, "f"));
|
|
9783
9787
|
this.off = __classPrivateFieldGet(this, _StatusEmitter_emitter, "f").removeListener.bind(__classPrivateFieldGet(this, _StatusEmitter_emitter, "f"));
|
|
9784
9788
|
this.once = __classPrivateFieldGet(this, _StatusEmitter_emitter, "f").once.bind(__classPrivateFieldGet(this, _StatusEmitter_emitter, "f"));
|