@ipcom/asterisk-ari 0.0.108 → 0.0.109
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/dist/cjs/index.cjs
CHANGED
|
@@ -1003,6 +1003,7 @@ var ChannelInstance = class extends import_events2.EventEmitter {
|
|
|
1003
1003
|
const listener = (data) => {
|
|
1004
1004
|
callback(data);
|
|
1005
1005
|
wsClient.off(scopedEvent, listener);
|
|
1006
|
+
wsClient.removeWildcardListeners(this.id, event, "Channel");
|
|
1006
1007
|
};
|
|
1007
1008
|
wsClient.on(scopedEvent, listener);
|
|
1008
1009
|
return this;
|
|
@@ -1523,6 +1524,7 @@ var PlaybackInstance = class extends import_events3.EventEmitter {
|
|
|
1523
1524
|
const listener = (data) => {
|
|
1524
1525
|
callback(data);
|
|
1525
1526
|
wsClient.off(scopedEvent, listener);
|
|
1527
|
+
wsClient.removeWildcardListeners(this.id, event, "Playback");
|
|
1526
1528
|
};
|
|
1527
1529
|
wsClient.on(scopedEvent, listener);
|
|
1528
1530
|
return this;
|