Improve relay broadcasting and use

This commit is contained in:
Jon Staab
2024-11-14 13:17:47 -08:00
parent 995a9869ae
commit 1b4819c8ad
4 changed files with 10 additions and 8 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
<script lang="ts">
import "@src/app.css"
import {onMount} from "svelte"
import {nip19} from "nostr-tools"
import {get, derived} from "svelte/store"
import {page} from "$app/stores"
import {dev} from "$app/environment"
@@ -71,7 +72,7 @@
let ready: Promise<unknown> = Promise.resolve()
onMount(async () => {
Object.assign(window, {get, ...lib, ...util, ...net, ...app, ...state, ...notifications})
Object.assign(window, {get, nip19, ...lib, ...util, ...net, ...app, ...state, ...notifications})
const getScoreEvent = () => {
const ALWAYS_KEEP = Infinity
+1 -1
View File
@@ -55,7 +55,7 @@
<Collapse class="card2 bg-alt column gap-4">
<h2 slot="title" class="flex items-center gap-3 text-xl">
<Icon icon="earth" />
Broadcast Relays
Outbox Relays
</h2>
<p slot="description" class="text-sm">
These relays will be advertised on your profile as places where you send your public notes. Be