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/index.js
CHANGED
|
@@ -10294,7 +10294,11 @@ class PassiveStatusEmitter {
|
|
|
10294
10294
|
constructor(adapter) {
|
|
10295
10295
|
_PassiveStatusEmitter_emitter.set(this, new events_1.EventEmitter());
|
|
10296
10296
|
_PassiveStatusEmitter_adapter.set(this, void 0);
|
|
10297
|
-
// Bind public event emitter interface
|
|
10297
|
+
// Bind public event emitter interface. Use explicit generic signatures keyed
|
|
10298
|
+
// on StatusEvents rather than `Emitter['on']`: extracting the indexed `on`
|
|
10299
|
+
// type out of strict-event-emitter-types degrades to its unique-symbol
|
|
10300
|
+
// compatibility overload under newer TypeScript, so consumers calling
|
|
10301
|
+
// `.on('status', …)` would fail to typecheck. The runtime is unchanged.
|
|
10298
10302
|
this.on = __classPrivateFieldGet(this, _PassiveStatusEmitter_emitter, "f").addListener.bind(__classPrivateFieldGet(this, _PassiveStatusEmitter_emitter, "f"));
|
|
10299
10303
|
this.off = __classPrivateFieldGet(this, _PassiveStatusEmitter_emitter, "f").removeListener.bind(__classPrivateFieldGet(this, _PassiveStatusEmitter_emitter, "f"));
|
|
10300
10304
|
this.once = __classPrivateFieldGet(this, _PassiveStatusEmitter_emitter, "f").once.bind(__classPrivateFieldGet(this, _PassiveStatusEmitter_emitter, "f"));
|
|
@@ -11912,7 +11916,11 @@ class StatusEmitter {
|
|
|
11912
11916
|
* Lock used to avoid media slot query races
|
|
11913
11917
|
*/
|
|
11914
11918
|
_StatusEmitter_mediaSlotQueryLock.set(this, new async_mutex_1.Mutex());
|
|
11915
|
-
// Bind public event emitter interface
|
|
11919
|
+
// Bind public event emitter interface. Use explicit generic signatures keyed
|
|
11920
|
+
// on StatusEvents rather than `Emitter['on']`: extracting the indexed `on`
|
|
11921
|
+
// type out of strict-event-emitter-types degrades to its unique-symbol
|
|
11922
|
+
// compatibility overload under newer TypeScript, so consumers calling
|
|
11923
|
+
// `.on('status', …)` would fail to typecheck. The runtime is unchanged.
|
|
11916
11924
|
this.on = __classPrivateFieldGet(this, _StatusEmitter_emitter, "f").addListener.bind(__classPrivateFieldGet(this, _StatusEmitter_emitter, "f"));
|
|
11917
11925
|
this.off = __classPrivateFieldGet(this, _StatusEmitter_emitter, "f").removeListener.bind(__classPrivateFieldGet(this, _StatusEmitter_emitter, "f"));
|
|
11918
11926
|
this.once = __classPrivateFieldGet(this, _StatusEmitter_emitter, "f").once.bind(__classPrivateFieldGet(this, _StatusEmitter_emitter, "f"));
|