···3535 this change is pretty big, where it used to be that `@atcute/client` would ship type definitions
3636 for core lexicon types (`At.Did`, `At.ResourceUri`, `At.CidLink` and so on) and `com.atproto.*`
3737 interfaces, they're now decoupled into their own packages:
3838-3938 - `@atcute/lexicons` for core lexicon types
4039 - `@atcute/atproto` for `com.atproto.*` interfaces
4140···4342 from `com.atproto.*`, then you'd need to install `@atcute/atproto` as well.
44434544 migration notes:
4646-4745 - the `At` namespace is gone, you can import `Did`, `ResourceUri` and many other core types
4846 directly from `@atcute/lexicons`
4947···9896 get them.
999710098 ```ts
101101- import type {
102102- InferInput,
103103- InferOutput,
104104- InferXRPCBodyInput,
105105- InferXRPCBodyOutput,
106106- } from '@atcute/lexicons';
9999+ import type { InferInput, InferOutput, InferXRPCBodyInput, InferXRPCBodyOutput } from '@atcute/lexicons';
107100108101 import type { AppBskyActorSearchActors } from '@atcute/bluesky';
109102···184177- 49028fb: a new Client class for making API requests, replacing the previous `XRPC` class.
185178186179 key changes include:
187187-188180 - **explicit error handling**: the new `Client` class returns an object of `{ ok, data }` instead
189181 of throwing on non-successful responses. this should make it easier to handle these exceptional
190182 cases without needing to wrap the request in a try-catch block.
···242234243235 - **configurable response format**: the `as` field can be used to configure how the response body
244236 should be returned:
245245-246237 - `"json"` parsed as JSON
247238 - `"blob"` returns a Blob
248239 - `"bytes"` returns a Uint8Array
···253244 return a JSON response. (e.g. `com.atproto.sync.getBlob`)
254245255246 - **clearer naming**:
256256-257247 - `.call()` method is renamed to `.post()` to better reflect that it makes an HTTP POST request.
258248 - configuring service proxying should be less confusing.
259249···286276- d3fbc7e: consistent casing on types and interfaces
287277288278 no more capitalized/pascalcase mixing, these following types are renamed:
289289-290279 - `At.CID` → `At.Cid`
291280 - `At.CIDLink` → `At.CidLink`
292281 - `At.DID` → `At.Did`
···1616 but clearly these convenient interfaces are still worth having, so while it now exists, the
1717 compromise is that these interfaces now have been renamed to ensure they don't conflict with any
1818 definitions ever:
1919-2019 - `Params` to `$params`, for query parameters
2120 - `Input` to `$input`, for request body
2221 - `Output` to `$output`, for response body
···1616 but clearly these convenient interfaces are still worth having, so while it now exists, the
1717 compromise is that these interfaces now have been renamed to ensure they don't conflict with any
1818 definitions ever:
1919-2019 - `Params` to `$params`, for query parameters
2120 - `Input` to `$input`, for request body
2221 - `Output` to `$output`, for response body
···8180 this change is pretty big, where it used to be that `@atcute/client` would ship type definitions
8281 for core lexicon types (`At.Did`, `At.ResourceUri`, `At.CidLink` and so on) and `com.atproto.*`
8382 interfaces, they're now decoupled into their own packages:
8484-8583 - `@atcute/lexicons` for core lexicon types
8684 - `@atcute/atproto` for `com.atproto.*` interfaces
8785···8987 from `com.atproto.*`, then you'd need to install `@atcute/atproto` as well.
90889189 migration notes:
9292-9390 - the `At` namespace is gone, you can import `Did`, `ResourceUri` and many other core types
9491 directly from `@atcute/lexicons`
9592···144141 get them.
145142146143 ```ts
147147- import type {
148148- InferInput,
149149- InferOutput,
150150- InferXRPCBodyInput,
151151- InferXRPCBodyOutput,
152152- } from '@atcute/lexicons';
144144+ import type { InferInput, InferOutput, InferXRPCBodyInput, InferXRPCBodyOutput } from '@atcute/lexicons';
153145154146 import type { AppBskyActorSearchActors } from '@atcute/bluesky';
155147···215207- d3fbc7e: consistent casing on types and interfaces
216208217209 no more capitalized/pascalcase mixing, these following types are renamed:
218218-219210 - `At.CID` → `At.Cid`
220211 - `At.CIDLink` → `At.CidLink`
221212 - `At.DID` → `At.Did`
···4444 but clearly these convenient interfaces are still worth having, so while it now exists, the
4545 compromise is that these interfaces now have been renamed to ensure they don't conflict with any
4646 definitions ever:
4747-4847 - `Params` to `$params`, for query parameters
4948 - `Input` to `$input`, for request body
5049 - `Output` to `$output`, for response body
···112111 this change is pretty big, where it used to be that `@atcute/client` would ship type definitions
113112 for core lexicon types (`At.Did`, `At.ResourceUri`, `At.CidLink` and so on) and `com.atproto.*`
114113 interfaces, they're now decoupled into their own packages:
115115-116114 - `@atcute/lexicons` for core lexicon types
117115 - `@atcute/atproto` for `com.atproto.*` interfaces
118116···120118 from `com.atproto.*`, then you'd need to install `@atcute/atproto` as well.
121119122120 migration notes:
123123-124121 - the `At` namespace is gone, you can import `Did`, `ResourceUri` and many other core types
125122 directly from `@atcute/lexicons`
126123···175172 get them.
176173177174 ```ts
178178- import type {
179179- InferInput,
180180- InferOutput,
181181- InferXRPCBodyInput,
182182- InferXRPCBodyOutput,
183183- } from '@atcute/lexicons';
175175+ import type { InferInput, InferOutput, InferXRPCBodyInput, InferXRPCBodyOutput } from '@atcute/lexicons';
184176185177 import type { AppBskyActorSearchActors } from '@atcute/bluesky';
186178···278270- d3fbc7e: consistent casing on types and interfaces
279271280272 no more capitalized/pascalcase mixing, these following types are renamed:
281281-282273 - `At.CID` → `At.Cid`
283274 - `At.CIDLink` → `At.CidLink`
284275 - `At.DID` → `At.Did`
···1616 but clearly these convenient interfaces are still worth having, so while it now exists, the
1717 compromise is that these interfaces now have been renamed to ensure they don't conflict with any
1818 definitions ever:
1919-2019 - `Params` to `$params`, for query parameters
2120 - `Input` to `$input`, for request body
2221 - `Output` to `$output`, for response body
···2525 but clearly these convenient interfaces are still worth having, so while it now exists, the
2626 compromise is that these interfaces now have been renamed to ensure they don't conflict with any
2727 definitions ever:
2828-2928 - `Params` to `$params`, for query parameters
3029 - `Input` to `$input`, for request body
3130 - `Output` to `$output`, for response body
···9089 this change is pretty big, where it used to be that `@atcute/client` would ship type definitions
9190 for core lexicon types (`At.Did`, `At.ResourceUri`, `At.CidLink` and so on) and `com.atproto.*`
9291 interfaces, they're now decoupled into their own packages:
9393-9492 - `@atcute/lexicons` for core lexicon types
9593 - `@atcute/atproto` for `com.atproto.*` interfaces
9694···9896 from `com.atproto.*`, then you'd need to install `@atcute/atproto` as well.
999710098 migration notes:
101101-10299 - the `At` namespace is gone, you can import `Did`, `ResourceUri` and many other core types
103100 directly from `@atcute/lexicons`
104101···153150 get them.
154151155152 ```ts
156156- import type {
157157- InferInput,
158158- InferOutput,
159159- InferXRPCBodyInput,
160160- InferXRPCBodyOutput,
161161- } from '@atcute/lexicons';
153153+ import type { InferInput, InferOutput, InferXRPCBodyInput, InferXRPCBodyOutput } from '@atcute/lexicons';
162154163155 import type { AppBskyActorSearchActors } from '@atcute/bluesky';
164156···242234- d3fbc7e: consistent casing on types and interfaces
243235244236 no more capitalized/pascalcase mixing, these following types are renamed:
245245-246237 - `At.CID` → `At.Cid`
247238 - `At.CIDLink` → `At.CidLink`
248239 - `At.DID` → `At.Did`
···1616 but clearly these convenient interfaces are still worth having, so while it now exists, the
1717 compromise is that these interfaces now have been renamed to ensure they don't conflict with any
1818 definitions ever:
1919-2019 - `Params` to `$params`, for query parameters
2120 - `Input` to `$input`, for request body
2221 - `Output` to `$output`, for response body
···5352 this change is pretty big, where it used to be that `@atcute/client` would ship type definitions
5453 for core lexicon types (`At.Did`, `At.ResourceUri`, `At.CidLink` and so on) and `com.atproto.*`
5554 interfaces, they're now decoupled into their own packages:
5656-5755 - `@atcute/lexicons` for core lexicon types
5856 - `@atcute/atproto` for `com.atproto.*` interfaces
5957···6159 from `com.atproto.*`, then you'd need to install `@atcute/atproto` as well.
62606361 migration notes:
6464-6562 - the `At` namespace is gone, you can import `Did`, `ResourceUri` and many other core types
6663 directly from `@atcute/lexicons`
6764···116113 get them.
117114118115 ```ts
119119- import type {
120120- InferInput,
121121- InferOutput,
122122- InferXRPCBodyInput,
123123- InferXRPCBodyOutput,
124124- } from '@atcute/lexicons';
116116+ import type { InferInput, InferOutput, InferXRPCBodyInput, InferXRPCBodyOutput } from '@atcute/lexicons';
125117126118 import type { AppBskyActorSearchActors } from '@atcute/bluesky';
127119···186178- d3fbc7e: consistent casing on types and interfaces
187179188180 no more capitalized/pascalcase mixing, these following types are renamed:
189189-190181 - `At.CID` → `At.Cid`
191182 - `At.CIDLink` → `At.CidLink`
192183 - `At.DID` → `At.Did`
···2222 but clearly these convenient interfaces are still worth having, so while it now exists, the
2323 compromise is that these interfaces now have been renamed to ensure they don't conflict with any
2424 definitions ever:
2525-2625 - `Params` to `$params`, for query parameters
2726 - `Input` to `$input`, for request body
2827 - `Output` to `$output`, for response body
···9796- d3fbc7e: consistent casing on types and interfaces
98979998 no more capitalized/pascalcase mixing, these following types are renamed:
100100-10199 - `At.CID` → `At.Cid`
102100 - `At.CIDLink` → `At.CidLink`
103101 - `At.DID` → `At.Did`