frontend for xcvr appview

this is what's up

+4 -4
+4 -4
src/lib/wscontext.svelte.ts
··· 11 11 // so i want to make that side of things better 12 12 type ATPBlob = { 13 13 $type: string 14 - ref: string 14 + ref: { 15 + $link: string 16 + } 15 17 mimeType: string 16 18 size: number 17 19 } ··· 236 238 }).then((val) => console.log(val), (val) => console.log(val)) 237 239 }, 2000) 238 240 }) 239 - const contentAddress = `${api}/lrc/getImage?handle=${this.handle}&cid=${this.atpblob.ref.link}` 241 + const contentAddress = `${api}/lrc/getImage?handle=${this.handle}&cid=${this.atpblob.ref["$link"]}` 240 242 if (this.mediaactive) { 241 243 pubImage(alt, contentAddress, this) 242 244 } ··· 263 265 }).then((response) => { 264 266 if (response.ok) { 265 267 response.json().then((atpblob) => { 266 - 267 - console.log(atpblob) 268 268 this.atpblob = atpblob 269 269 } 270 270 )