window.nostr.js 0.2.2 → 0.4.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
@@ -18,6 +18,11 @@ The script supports some optional configurations to personalize the design:
18
18
  // The only accepted value is 'bottom', default is top
19
19
  accent: 'green',
20
20
  // Supported values: cyan (default), green, purple, red, orange, neutral, stone
21
+ startHidden: true,
22
+ // If the host page has a button that call `getPublicKey` to start a
23
+ // login procedure, the minimized widget can be hidden until connected
24
+ compactMode: true,
25
+ // Show the minimized widget in a compact form
21
26
  disableOverflowFix: true,
22
27
  // If the host page on mobile has an horizontal scrolling, the floating
23
28
  // element/modal are pushed to the extreme right/bottom and exit the
@@ -0,0 +1 @@
1
+ <script src="iframe.js"></script>