From c141d4232ed5e50920e9440d6a1ec8ef558597b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enes=20Yak=C4=B1=C5=9Ft=C4=B1r?= Date: Fri, 4 Sep 2026 07:07:55 +0300 Subject: [PATCH] fix(client): registerClient function without module.exports in browser --- client.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/client.js b/client.js index 5a9fed7..a794711 100644 --- a/client.js +++ b/client.js @@ -1,4 +1,3 @@ -function register() { - console.log('[YakNet Auth] Client script loaded'); +function registerClient({ registerHook, peertubeHelpers }) { + // YakNet client script } -module.exports = { register };