diff --git a/.gitignore b/.gitignore index 9b4ae14..717048a 100644 --- a/.gitignore +++ b/.gitignore @@ -18,10 +18,4 @@ Thumbs.db log.txt Trash/ -# Environment files -.env - -# Aider files -.aider.chat.history.md -.aider.input.history -.aider.tags.cache.v3/ +nostr-login/ \ No newline at end of file diff --git a/README.md b/README.md index 491adec..03d730e 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,11 @@ await NOSTR_LOGIN_LITE.init({ enabled: true, hPosition: 0.95, // 0.0-1.0 or '95%' from left vPosition: 0.5, // 0.0-1.0 or '50%' from top + getUserInfo: true, // Fetch user profile name from relays + getUserRelay: [ // Relays for profile queries + 'wss://relay.damus.io', + 'wss://nos.lol' + ], appearance: { style: 'pill', // 'pill', 'square', 'circle', 'minimal' theme: 'auto', // 'auto' follows main theme diff --git a/examples/button.html b/examples/button.html index 7f9dd8d..e0da565 100644 --- a/examples/button.html +++ b/examples/button.html @@ -51,7 +51,7 @@ + + + + + + \ No newline at end of file