tangled
alpha
login
or
join now
moth11.net
/
xcvr
2
fork
atom
frontend for xcvr appview
2
fork
atom
overview
issues
pulls
pipelines
this is what's up
moth11.net
4 months ago
708bf0f9
d2d8a9f0
+4
-4
1 changed file
expand all
collapse all
unified
split
src
lib
wscontext.svelte.ts
+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
0
0
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) => {
0
0
268
this.atpblob = atpblob
269
}
270
)