frontend for xcvr appview

this is what's up

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