···11----
22-"prototypey": minor
33----
44-55-Infer `lx.blob(...)` as `BlobRef` instead of the browser's `Blob`.
66-77-The browser's `Blob` describes binary data on the client, not the AT Protocol blob shape that actually appears in records over the wire. Lexicons using `lx.blob(...)` now infer to a locally-defined `BlobRef`:
88-99-```ts
1010-type BlobRef = {
1111- $type: "blob";
1212- ref: { $link: string } | Cid;
1313- mimeType: string;
1414- size: number;
1515-};
1616-```
1717-1818-This mirrors `BlobRef` from [`@atproto/api`](https://github.com/bluesky-social/atproto/tree/main/packages/api) / [`@atproto/lex-data`](https://github.com/bluesky-social/atproto/tree/main/packages/lex-data) without taking either as a dependency. `BlobRef` is exported from the package root for direct use.
1919-2020-**Breaking:** code that previously read blob fields as `Blob` (e.g. calling `.arrayBuffer()` on them) will need to update to the `BlobRef` shape.
+21
packages/prototypey/CHANGELOG.md
···11# prototypey
2233+## 0.8.0
44+55+### Minor Changes
66+77+- 8bf9b2b: Infer `lx.blob(...)` as `BlobRef` instead of the browser's `Blob`.
88+99+ The browser's `Blob` describes binary data on the client, not the AT Protocol blob shape that actually appears in records over the wire. Lexicons using `lx.blob(...)` now infer to a locally-defined `BlobRef`:
1010+1111+ ```ts
1212+ type BlobRef = {
1313+ $type: "blob";
1414+ ref: { $link: string } | Cid;
1515+ mimeType: string;
1616+ size: number;
1717+ };
1818+ ```
1919+2020+ This mirrors `BlobRef` from [`@atproto/api`](https://github.com/bluesky-social/atproto/tree/main/packages/api) / [`@atproto/lex-data`](https://github.com/bluesky-social/atproto/tree/main/packages/lex-data) without taking either as a dependency. `BlobRef` is exported from the package root for direct use.
2121+2222+ **Breaking:** code that previously read blob fields as `Blob` (e.g. calling `.arrayBuffer()` on them) will need to update to the `BlobRef` shape.
2323+324## 0.7.0
425526### Minor Changes