From 20a51e7dce2b9fef66377d7dd4e6a2b7b4d1d121 Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Thu, 5 Feb 2026 16:58:45 +0000 Subject: [PATCH] fix: Explicitly import UI components in demo to ensure registration Co-Authored-By: Claude Opus 4.5 --- src/encryptid/demo.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/encryptid/demo.html b/src/encryptid/demo.html index c60892b..39d58c5 100644 --- a/src/encryptid/demo.html +++ b/src/encryptid/demo.html @@ -428,8 +428,14 @@ signData, verifySignature, AuthLevel, + // Import UI components to trigger custom element registration + GuardianSetupElement, + EncryptIDLoginButton, } from '/dist/index.js'; + // Force side effects (custom element registration) + console.log('EncryptID components loaded:', GuardianSetupElement.name, EncryptIDLoginButton.name); + // ======================================================================== // CAPABILITY DETECTION // ========================================================================