From 76e7d64dace1f9ad97cfb41dbf8c2bf754eec617 Mon Sep 17 00:00:00 2001 From: wearrrrr Date: Sat, 16 Mar 2024 22:58:01 -0500 Subject: [PATCH] Change console.warns for bcc version and found implementation to console.debug --- src/Switcher.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Switcher.ts b/src/Switcher.ts index 53940d4..4e1d079 100644 --- a/src/Switcher.ts +++ b/src/Switcher.ts @@ -2,7 +2,7 @@ import { BareTransport } from "./BareTypes"; import RemoteTransport from "./RemoteClient"; self.BCC_VERSION = "3.0.4"; -console.warn("BCC_VERSION: " + self.BCC_VERSION); +console.debug("BCC_VERSION: " + self.BCC_VERSION); declare global { interface ServiceWorkerGlobalScope { @@ -65,7 +65,7 @@ export function findSwitcher(): Switcher { _parent = _parent.parent; if (_parent && _parent["gSwitcher"]) { - console.warn("found implementation on parent"); + console.debug("Found implementation on parent"); globalThis.gSwitcher = _parent["gSwitcher"]; return _parent["gSwitcher"]; }