UNPKG

onairos

Version:

The Onairos Library is a collection of functions that enable Applications to connect and communicate data with Onairos Identities via User Authorization. Integration for developers is seamless, simple and effective for all applications. LLM SDK capabiliti

48 lines (42 loc) 1.85 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Clean Onairos Build Test</title> <script src="https://unpkg.com/react@18/umd/react.development.js"></script> <script src="https://unpkg.com/react-dom@18/umd/react-dom.development.js"></script> <script src="https://cdn.tailwindcss.com"></script> </head> <body> <div id="root" class="p-8"> <h1 class="text-2xl font-bold mb-4">Clean Onairos Build Test</h1> <p class="mb-4 text-gray-600">✅ No Othent dependencies</p> <p class="mb-4 text-gray-600">✅ No crypto-key-composer issues</p> <p class="mb-4 text-gray-600">✅ No node-forge import errors</p> <div id="button-container"></div> </div> <script src="./dist/main.bundle.js"></script> <script> console.log('🔥 Testing clean Onairos build...'); // Test the Onairos button const { OnairosButton } = window.Onairos; function handleComplete(result) { console.log('✅ Onboarding completed successfully:', result); alert('✅ Success! Onboarding completed without errors.'); } // Create the button element const buttonElement = React.createElement(OnairosButton, { requestData: ['email', 'profile', 'social'], webpageName: 'Clean Test App', onComplete: handleComplete, buttonType: 'pill', visualType: 'full', textColor: 'black' }); // Render the button ReactDOM.render(buttonElement, document.getElementById('button-container')); console.log('✅ Onairos button rendered successfully!'); </script> </body> </html>