@marianmeres/webrtc 1.2.2 → 1.2.4
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/webrtc-manager.js +9 -0
- package/package.json +1 -1
package/dist/webrtc-manager.js
CHANGED
|
@@ -527,6 +527,7 @@ export class WebRtcManager {
|
|
|
527
527
|
return false;
|
|
528
528
|
}
|
|
529
529
|
try {
|
|
530
|
+
// deno-lint-ignore no-explicit-any
|
|
530
531
|
channel.send(data);
|
|
531
532
|
return true;
|
|
532
533
|
}
|
|
@@ -711,6 +712,14 @@ export class WebRtcManager {
|
|
|
711
712
|
}
|
|
712
713
|
}
|
|
713
714
|
// deno-lint-ignore no-explicit-any
|
|
715
|
+
#log(...args) {
|
|
716
|
+
this.#logger.log("[WebRtcManager]", ...args);
|
|
717
|
+
}
|
|
718
|
+
// deno-lint-ignore no-explicit-any
|
|
719
|
+
#warn(...args) {
|
|
720
|
+
this.#logger.warn("[WebRtcManager]", ...args);
|
|
721
|
+
}
|
|
722
|
+
// deno-lint-ignore no-explicit-any
|
|
714
723
|
#error(error) {
|
|
715
724
|
this.#logger.error("[WebRtcManager]", error);
|
|
716
725
|
this.#dispatch(WebRtcFsmEvent.ERROR);
|