The examples here call functions defined by the @github/webauthn-json/browser-ponyfill package (available at https://ga.jspm.io/npm:@github/[email protected]/dist/esm/webauthn-json.browser-ponyfill.js).
Registration endpoints are for signed-in users. Provide the user's JWT as usual.