frontend for xcvr appview

yeak idk

+2 -1
+2 -1
src/lib/wscontext.svelte.ts
··· 187 187 188 188 pubImage = (alt: string) => { 189 189 if (this.atpblob) { 190 - const image: ATPImage = { $type: "string", alt: alt, blob: this.atpblob } 190 + const image: ATPImage = { $type: "org.xcvr.lrc.image", alt: alt, blob: this.atpblob } 191 191 const record = { 192 192 ...(this.mySignet && { signetURI: this.mySignet.uri }), 193 193 ...(this.channelUri && { channelURI: this.channelUri }), ··· 196 196 image: image, 197 197 ...(this.nick && { nick: this.nick }), 198 198 ...(this.color && { color: this.color }), 199 + type: "image" 199 200 } 200 201 const api = import.meta.env.VITE_API_URL 201 202 const recordstrungified = JSON.stringify(record)