@atproto/api 0.29.6 → 0.30.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +40 -0
- package/dist/client/index.d.ts +34 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +45 -0
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +686 -20
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +356 -10
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getAtmosphereApps.d.ts +40 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereApps.d.ts.map +1 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereApps.js +21 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereApps.js.map +1 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.d.ts +13 -4
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getAtmosphereTimeline.d.ts +81 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereTimeline.d.ts.map +1 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereTimeline.js +49 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereTimeline.js.map +1 -0
- package/dist/client/types/com/atproto/label/record.d.ts +22 -0
- package/dist/client/types/com/atproto/label/record.d.ts.map +1 -0
- package/dist/client/types/com/atproto/label/record.js +18 -0
- package/dist/client/types/com/atproto/label/record.js.map +1 -0
- package/dist/client/types/tools/ozone/inbox/defs.d.ts +12 -0
- package/dist/client/types/tools/ozone/inbox/defs.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/inbox/defs.js +7 -0
- package/dist/client/types/tools/ozone/inbox/defs.js.map +1 -1
- package/dist/client/types/tools/ozone/inbox/getAccountStatus.d.ts +4 -0
- package/dist/client/types/tools/ozone/inbox/getAccountStatus.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/inbox/getAccountStatus.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/emitEvent.d.ts +2 -0
- package/dist/client/types/tools/ozone/moderation/emitEvent.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/emitEvent.js.map +1 -1
- package/dist/client/types/tools/ozone/report/closeReports.d.ts +2 -0
- package/dist/client/types/tools/ozone/report/closeReports.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/report/closeReports.js.map +1 -1
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,45 @@
|
|
|
1
1
|
# @atproto/api
|
|
2
2
|
|
|
3
|
+
## 0.30.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#5817](https://github.com/bluesky-social/atproto/pull/5817) [`d4f2c91`](https://github.com/bluesky-social/atproto/commit/d4f2c919697d37af8f411f724e12b8ce2b88f922) Thanks [@foysalit](https://github.com/foysalit)! - Support linking report closures to existing moderation events and targeting all subjects owned by an account from a moderation event.
|
|
8
|
+
- Updated dependencies []:
|
|
9
|
+
- @atproto/common-web@0.5.17
|
|
10
|
+
- @atproto/lexicon@0.7.19
|
|
11
|
+
- @atproto/xrpc@0.8.18
|
|
12
|
+
|
|
13
|
+
## 0.30.2
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [#5809](https://github.com/bluesky-social/atproto/pull/5809) [`7b640e8`](https://github.com/bluesky-social/atproto/commit/7b640e8fee709d22a0d62262068db0ddb3106741) Thanks [@blackmichael](https://github.com/blackmichael)! - Expose optional author-declared bskyPostRef strong references beside view on unspecced Atmosphere timeline activities and Explore article and livestream items, without changing external embed schemas or fetching the referenced post.
|
|
18
|
+
|
|
19
|
+
- [#5799](https://github.com/bluesky-social/atproto/pull/5799) [`9537a65`](https://github.com/bluesky-social/atproto/commit/9537a659a9d85bbeef1bb423fcb4be9d2e618ff2) Thanks [@dholms](https://github.com/dholms)! - Add the `com.atproto.label.record` lexicon
|
|
20
|
+
|
|
21
|
+
- [#5813](https://github.com/bluesky-social/atproto/pull/5813) [`43b0be2`](https://github.com/bluesky-social/atproto/commit/43b0be2fa15e49479c11254101a056e9da137c84) Thanks [@foysalit](https://github.com/foysalit)! - Expose account enforcement and best-effort profile information in the moderation inbox.
|
|
22
|
+
|
|
23
|
+
- [#5818](https://github.com/bluesky-social/atproto/pull/5818) [`ba75afa`](https://github.com/bluesky-social/atproto/commit/ba75afad9fab6d1f5c207b1b5d12a7ecfc5b379d) Thanks [@foysalit](https://github.com/foysalit)! - Expose whether an account has active strikes in its moderation inbox status.
|
|
24
|
+
|
|
25
|
+
- [#5806](https://github.com/bluesky-social/atproto/pull/5806) [`b794e18`](https://github.com/bluesky-social/atproto/commit/b794e186bc81ce979d29de18f3ca9ab03b7e3d29) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Use geo headers instead of countryCode and regionCode query parameters when selecting curated Atmosphere Explore content.
|
|
26
|
+
|
|
27
|
+
## 0.30.1
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- [#5801](https://github.com/bluesky-social/atproto/pull/5801) [`11f52c5`](https://github.com/bluesky-social/atproto/commit/11f52c5588279d159ab12404a1b323731a467fdd) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Add getAtmosphereApps with optional category filtering and known followers in app profiles.
|
|
32
|
+
- Updated dependencies []:
|
|
33
|
+
- @atproto/common-web@0.5.16
|
|
34
|
+
- @atproto/lexicon@0.7.18
|
|
35
|
+
- @atproto/xrpc@0.8.17
|
|
36
|
+
|
|
37
|
+
## 0.30.0
|
|
38
|
+
|
|
39
|
+
### Minor Changes
|
|
40
|
+
|
|
41
|
+
- [#5783](https://github.com/bluesky-social/atproto/pull/5783) [`d6e1945`](https://github.com/bluesky-social/atproto/commit/d6e1945e095da70e0b188d5c6684a5797ce9ee8c) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Keep `featured` as a required, deprecated compatibility field on `app.bsky.unspecced.getAtmosphereExploreTab` article, publication, photo, and livestream items; it is always `false`. Retired content scheduling no longer selects or orders articles, publications, and photos. Livestreams are shown from `previewAt` (or `startsAt`) until `endsAt`, and are reported inactive until `startsAt`. App cards now include an optional `profile` (`app.bsky.actor.defs#profileViewDetailed`) hydrated from the app's account, whose avatar and banner back `logo` and `backgroundImage`.
|
|
42
|
+
|
|
3
43
|
## 0.29.6
|
|
4
44
|
|
|
5
45
|
### Patch Changes
|
package/dist/client/index.d.ts
CHANGED
|
@@ -105,8 +105,10 @@ import * as AppBskyNotificationRegisterPush from './types/app/bsky/notification/
|
|
|
105
105
|
import * as AppBskyNotificationUnregisterPush from './types/app/bsky/notification/unregisterPush.js';
|
|
106
106
|
import * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen.js';
|
|
107
107
|
import * as AppBskyUnspeccedGetAgeAssuranceState from './types/app/bsky/unspecced/getAgeAssuranceState.js';
|
|
108
|
+
import * as AppBskyUnspeccedGetAtmosphereApps from './types/app/bsky/unspecced/getAtmosphereApps.js';
|
|
108
109
|
import * as AppBskyUnspeccedGetAtmosphereExploreArticleRecommendations from './types/app/bsky/unspecced/getAtmosphereExploreArticleRecommendations.js';
|
|
109
110
|
import * as AppBskyUnspeccedGetAtmosphereExploreTab from './types/app/bsky/unspecced/getAtmosphereExploreTab.js';
|
|
111
|
+
import * as AppBskyUnspeccedGetAtmosphereTimeline from './types/app/bsky/unspecced/getAtmosphereTimeline.js';
|
|
110
112
|
import * as AppBskyUnspeccedGetConfig from './types/app/bsky/unspecced/getConfig.js';
|
|
111
113
|
import * as AppBskyUnspeccedGetOnboardingSuggestedStarterPacks from './types/app/bsky/unspecced/getOnboardingSuggestedStarterPacks.js';
|
|
112
114
|
import * as AppBskyUnspeccedGetOnboardingSuggestedStarterPacksSkeleton from './types/app/bsky/unspecced/getOnboardingSuggestedStarterPacksSkeleton.js';
|
|
@@ -219,6 +221,7 @@ import * as ComAtprotoIdentitySignPlcOperation from './types/com/atproto/identit
|
|
|
219
221
|
import * as ComAtprotoIdentitySubmitPlcOperation from './types/com/atproto/identity/submitPlcOperation.js';
|
|
220
222
|
import * as ComAtprotoIdentityUpdateHandle from './types/com/atproto/identity/updateHandle.js';
|
|
221
223
|
import * as ComAtprotoLabelQueryLabels from './types/com/atproto/label/queryLabels.js';
|
|
224
|
+
import * as ComAtprotoLabelRecord from './types/com/atproto/label/record.js';
|
|
222
225
|
import * as ComAtprotoLexiconResolveLexicon from './types/com/atproto/lexicon/resolveLexicon.js';
|
|
223
226
|
import * as ComAtprotoLexiconSchema from './types/com/atproto/lexicon/schema.js';
|
|
224
227
|
import * as ComAtprotoModerationCreateReport from './types/com/atproto/moderation/createReport.js';
|
|
@@ -482,8 +485,10 @@ export * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/up
|
|
|
482
485
|
export * as AppBskyRichtextFacet from './types/app/bsky/richtext/facet.js';
|
|
483
486
|
export * as AppBskyUnspeccedDefs from './types/app/bsky/unspecced/defs.js';
|
|
484
487
|
export * as AppBskyUnspeccedGetAgeAssuranceState from './types/app/bsky/unspecced/getAgeAssuranceState.js';
|
|
488
|
+
export * as AppBskyUnspeccedGetAtmosphereApps from './types/app/bsky/unspecced/getAtmosphereApps.js';
|
|
485
489
|
export * as AppBskyUnspeccedGetAtmosphereExploreArticleRecommendations from './types/app/bsky/unspecced/getAtmosphereExploreArticleRecommendations.js';
|
|
486
490
|
export * as AppBskyUnspeccedGetAtmosphereExploreTab from './types/app/bsky/unspecced/getAtmosphereExploreTab.js';
|
|
491
|
+
export * as AppBskyUnspeccedGetAtmosphereTimeline from './types/app/bsky/unspecced/getAtmosphereTimeline.js';
|
|
487
492
|
export * as AppBskyUnspeccedGetConfig from './types/app/bsky/unspecced/getConfig.js';
|
|
488
493
|
export * as AppBskyUnspeccedGetOnboardingSuggestedStarterPacks from './types/app/bsky/unspecced/getOnboardingSuggestedStarterPacks.js';
|
|
489
494
|
export * as AppBskyUnspeccedGetOnboardingSuggestedStarterPacksSkeleton from './types/app/bsky/unspecced/getOnboardingSuggestedStarterPacksSkeleton.js';
|
|
@@ -607,6 +612,7 @@ export * as ComAtprotoIdentitySubmitPlcOperation from './types/com/atproto/ident
|
|
|
607
612
|
export * as ComAtprotoIdentityUpdateHandle from './types/com/atproto/identity/updateHandle.js';
|
|
608
613
|
export * as ComAtprotoLabelDefs from './types/com/atproto/label/defs.js';
|
|
609
614
|
export * as ComAtprotoLabelQueryLabels from './types/com/atproto/label/queryLabels.js';
|
|
615
|
+
export * as ComAtprotoLabelRecord from './types/com/atproto/label/record.js';
|
|
610
616
|
export * as ComAtprotoLabelSubscribeLabels from './types/com/atproto/label/subscribeLabels.js';
|
|
611
617
|
export * as ComAtprotoLexiconResolveLexicon from './types/com/atproto/lexicon/resolveLexicon.js';
|
|
612
618
|
export * as ComAtprotoLexiconSchema from './types/com/atproto/lexicon/schema.js';
|
|
@@ -1538,8 +1544,10 @@ export declare class AppBskyUnspeccedNS {
|
|
|
1538
1544
|
_client: XrpcClient;
|
|
1539
1545
|
constructor(client: XrpcClient);
|
|
1540
1546
|
getAgeAssuranceState(params?: AppBskyUnspeccedGetAgeAssuranceState.QueryParams, opts?: AppBskyUnspeccedGetAgeAssuranceState.CallOptions): Promise<AppBskyUnspeccedGetAgeAssuranceState.Response>;
|
|
1547
|
+
getAtmosphereApps(params?: AppBskyUnspeccedGetAtmosphereApps.QueryParams, opts?: AppBskyUnspeccedGetAtmosphereApps.CallOptions): Promise<AppBskyUnspeccedGetAtmosphereApps.Response>;
|
|
1541
1548
|
getAtmosphereExploreArticleRecommendations(params?: AppBskyUnspeccedGetAtmosphereExploreArticleRecommendations.QueryParams, opts?: AppBskyUnspeccedGetAtmosphereExploreArticleRecommendations.CallOptions): Promise<AppBskyUnspeccedGetAtmosphereExploreArticleRecommendations.Response>;
|
|
1542
1549
|
getAtmosphereExploreTab(params?: AppBskyUnspeccedGetAtmosphereExploreTab.QueryParams, opts?: AppBskyUnspeccedGetAtmosphereExploreTab.CallOptions): Promise<AppBskyUnspeccedGetAtmosphereExploreTab.Response>;
|
|
1550
|
+
getAtmosphereTimeline(params?: AppBskyUnspeccedGetAtmosphereTimeline.QueryParams, opts?: AppBskyUnspeccedGetAtmosphereTimeline.CallOptions): Promise<AppBskyUnspeccedGetAtmosphereTimeline.Response>;
|
|
1543
1551
|
getConfig(params?: AppBskyUnspeccedGetConfig.QueryParams, opts?: AppBskyUnspeccedGetConfig.CallOptions): Promise<AppBskyUnspeccedGetConfig.Response>;
|
|
1544
1552
|
getOnboardingSuggestedStarterPacks(params?: AppBskyUnspeccedGetOnboardingSuggestedStarterPacks.QueryParams, opts?: AppBskyUnspeccedGetOnboardingSuggestedStarterPacks.CallOptions): Promise<AppBskyUnspeccedGetOnboardingSuggestedStarterPacks.Response>;
|
|
1545
1553
|
getOnboardingSuggestedStarterPacksSkeleton(params?: AppBskyUnspeccedGetOnboardingSuggestedStarterPacksSkeleton.QueryParams, opts?: AppBskyUnspeccedGetOnboardingSuggestedStarterPacksSkeleton.CallOptions): Promise<AppBskyUnspeccedGetOnboardingSuggestedStarterPacksSkeleton.Response>;
|
|
@@ -1749,9 +1757,35 @@ export declare class ComAtprotoIdentityNS {
|
|
|
1749
1757
|
}
|
|
1750
1758
|
export declare class ComAtprotoLabelNS {
|
|
1751
1759
|
_client: XrpcClient;
|
|
1760
|
+
record: ComAtprotoLabelRecordRecord;
|
|
1752
1761
|
constructor(client: XrpcClient);
|
|
1753
1762
|
queryLabels(params?: ComAtprotoLabelQueryLabels.QueryParams, opts?: ComAtprotoLabelQueryLabels.CallOptions): Promise<ComAtprotoLabelQueryLabels.Response>;
|
|
1754
1763
|
}
|
|
1764
|
+
export declare class ComAtprotoLabelRecordRecord {
|
|
1765
|
+
_client: XrpcClient;
|
|
1766
|
+
constructor(client: XrpcClient);
|
|
1767
|
+
list(params: OmitKey<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
|
|
1768
|
+
cursor?: string;
|
|
1769
|
+
records: {
|
|
1770
|
+
uri: string;
|
|
1771
|
+
value: ComAtprotoLabelRecord.Record;
|
|
1772
|
+
}[];
|
|
1773
|
+
}>;
|
|
1774
|
+
get(params: OmitKey<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
1775
|
+
uri: string;
|
|
1776
|
+
cid: string;
|
|
1777
|
+
value: ComAtprotoLabelRecord.Record;
|
|
1778
|
+
}>;
|
|
1779
|
+
create(params: OmitKey<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<ComAtprotoLabelRecord.Record>, headers?: Record<string, string>): Promise<{
|
|
1780
|
+
uri: string;
|
|
1781
|
+
cid: string;
|
|
1782
|
+
}>;
|
|
1783
|
+
put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<ComAtprotoLabelRecord.Record>, headers?: Record<string, string>): Promise<{
|
|
1784
|
+
uri: string;
|
|
1785
|
+
cid: string;
|
|
1786
|
+
}>;
|
|
1787
|
+
delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
1788
|
+
}
|
|
1755
1789
|
export declare class ComAtprotoLexiconNS {
|
|
1756
1790
|
_client: XrpcClient;
|
|
1757
1791
|
schema: ComAtprotoLexiconSchemaRecord;
|