window.nostr.js 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -28,6 +28,14 @@ The script supports some optional configurations to personalize the design:
28
28
  // element/modal are pushed to the extreme right/bottom and exit the
29
29
  // viewport. A style is injected in the html/body elements fix this.
30
30
  // This option permit to disable this default behavior
31
+ nostrConnectRelays: ['wss://bucket.coracle.social', 'wss://relay.nsec.app', 'wss://nos.lol', 'wss://relay.primal.net']
32
+ // For when prompting the user to a scan a QR code to login.
33
+ appMetadata: {
34
+ name: 'example app',
35
+ image: 'https://example.com/logo.png',
36
+ url: 'https://example.com',
37
+ }
38
+ // Values sent to the remote signer through the QR code, when undefined the current URL and domain name will be used.
31
39
  }
32
40
  </script>
33
41
  <script src="https://cdn.jsdelivr.net/npm/window.nostr.js/dist/window.nostr.min.js"></script>
package/dist/index.html CHANGED
@@ -4,7 +4,7 @@
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>dev</title>
7
- <script type="module" crossorigin src="/assets/index-Ct8-MMGf.js"></script>
7
+ <script type="module" crossorigin src="/assets/index-DPTZwfOP.js"></script>
8
8
  </head>
9
9
  <body
10
10
  style="