text: /*
   * Welcome to your app's main JavaScript file!
   *
   * We recommend including the built version of this JavaScript file
   * (and its CSS file) in your base layout (base.html.twig).
   */
  
  // any CSS you import will output into a single css file (app.css in this case)
  import '../css/app.css';
  import {useLogin, useRegistration} from "webauthn-helper";
  
  // Need jQuery? Install it with "yarn add jquery", then uncomment to import it.
  // import $ from 'jquery';
  
  console.log('Hello Webpack Encore! Edit me in assets/js/app.js');
  
  window.loginWithWebauthn = useLogin({
      actionUrl: '/webauthn/login',
      optionsUrl: '/webauthn/login/options'
  })
  
  window.registerWithWebauthn = useRegistration({
      actionUrl: '/webauthn/register',
      optionsUrl: '/webauthn/register/options'
  })
  