ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

The short of the bug is: our CBOR library was parsing anything over `2^32` (even safe JS ints) as a bigint rather than as a number. The lexicon validation code expected javascript numbers and was therefore failing Again big apologies to anyone that is affected by this 🙏

Feb 1, 2025, 12:14 AM

Record data

{
  "uri": "at://did:plc:yk4dd2qkboz2yv6tpubpc6co/app.bsky.feed.post/3lh3a6uwr4c2l",
  "cid": "bafyreic2j76urdbyuf7neuho45pdwsvnmggror45g3yvcplhzysqy3jck4",
  "value": {
    "text": "The short of the bug is: our CBOR library was parsing anything over `2^32` (even safe JS ints) as a bigint rather than as a number. The lexicon validation code expected javascript numbers and was therefore failing\n\nAgain big apologies to anyone that is affected by this 🙏",
    "$type": "app.bsky.feed.post",
    "langs": [
      "en"
    ],
    "reply": {
      "root": {
        "cid": "bafyreigov2pp6ycvh2dgt5c2y72h2rnljv32k7mhfip5ruawoz4g3cppoi",
        "uri": "at://did:plc:yk4dd2qkboz2yv6tpubpc6co/app.bsky.feed.post/3lh37wu37ps2l"
      },
      "parent": {
        "cid": "bafyreiboklnft7ieecer7vjtxahbhd736pidpvyoelilirwfrea4jrpu4u",
        "uri": "at://did:plc:yk4dd2qkboz2yv6tpubpc6co/app.bsky.feed.post/3lh3a3prajk2l"
      }
    },
    "createdAt": "2025-02-01T00:14:08.125Z"
  }
}