🏠
Author: danabra.mov (did:plc:fpruhuo22xkm5o7ttr2ktxdo)

Record🤔

uri:
"at://did:plc:fpruhuo22xkm5o7ttr2ktxdo/app.bsky.feed.post/3l4ahh42yiz2t"
cid:
"bafyreidp5eyi522vqsibtphpfrpdx2f5gw5yjgscq5gqrugrasf72yurge"
value:
text:
"what"
$type:
"app.bsky.feed.post"
embed:
$type:
"app.bsky.embed.images"
images:
  • alt:
    "// HACK
    // React native has a bug that inflates the size of jpegs on upload
    // we get around that by renaming the file ext to .bin
    // see https://github.com/facebook/react-native/issues/27099
    // -prf
    async function withSafeFile<T>(
      uri: string,
      fn: (path: string) => Promise<T>,
    ): Promise<T> {
      if (uri.endsWith('.jpeg') || uri.endsWith('.jpg')) {
        // Since we don't "own" the file, we should avoid renaming or modifying it.
        // Instead, let's copy it to a temporary file and use that"
    image:
    View blob content
    $type:
    "blob"
    ref:
    $link:
    "bafkreiaydpqxqkxjr5rcc5lspokcqtxmym7wmdowgvq2kl35gktf6p345y"
    mimeType:
    "image/jpeg"
    size:
    524901
    aspectRatio:
    width:
    2000
    height:
    1000
langs:
  • "en"
reply:
root:
cid:
"bafyreifuhrrwz3ukqai3te6doulqq3epaibu4mvskacnenlqfv7tjiyz64"
parent:
cid:
"bafyreifuhrrwz3ukqai3te6doulqq3epaibu4mvskacnenlqfv7tjiyz64"
createdAt:
"2024-09-16T02:30:10.959Z"