Remove nostr-login dependency and update lockfile.

This commit is contained in:
user
2025-11-20 21:01:08 +01:00
parent 0c0fec948a
commit aff3f32c9b
7 changed files with 1140 additions and 1174 deletions

View File

@@ -68,6 +68,10 @@
{{--@include('components.layouts.partials.notification-buttons')--}}
<x-button label="Mit Nostr verbinden" @click="openNostrLogin"
x-show="!$store.nostr.user"/>
<!-- Info button -->
<div class="relative inline-flex" x-data="{ open: false }">
<button
@@ -162,5 +166,24 @@
</div>
</div>
@livewireScriptConfig
<script>
window.wnjParams = {
position: 'bottom',
// The only accepted value is 'bottom', default is top
accent: 'orange',
// Supported values: cyan (default), green, purple, red, orange, neutral, stone
startHidden: false,
// If the host page has a button that call `getPublicKey` to start a
// login procedure, the minimized widget can be hidden until connected
compactMode: false,
// Show the minimized widget in a compact form
disableOverflowFix: false,
// If the host page on mobile has an horizontal scrolling, the floating
// element/modal are pushed to the extreme right/bottom and exit the
// viewport. A style is injected in the html/body elements fix this.
// This option permit to disable this default behavior
}
</script>
<script src="{{ asset('dist/window.nostr.min.js.js') }}"></script>
</body>
</html>