mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-03 18:01:39 +00:00
refactor: remove profile card component
This commit is contained in:
@@ -43,11 +43,6 @@ templ passkeyDropzone(addr string, userHandle string, challenge string) {
|
||||
</sl-button>
|
||||
}
|
||||
|
||||
script base64URLEncode(buffer) {
|
||||
const base64 = btoa(String.fromCharCode(...new Uint8Array(buffer)));
|
||||
return base64.replace(/\+/g, '-').replace(/\//g, '_').replace(/=/g, '');
|
||||
}
|
||||
|
||||
script createPasskey(userId string, userHandle string, challenge string) {
|
||||
const publicKey = {
|
||||
challenge: Uint8Array.from(challenge, (c) => c.charCodeAt(0)),
|
||||
|
||||
Reference in New Issue
Block a user