@atproto/api 0.24.2 → 0.25.0

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.
Files changed (36) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/client/index.d.ts +31 -0
  3. package/dist/client/index.d.ts.map +1 -1
  4. package/dist/client/index.js +40 -0
  5. package/dist/client/index.js.map +1 -1
  6. package/dist/client/lexicons.d.ts +1539 -77
  7. package/dist/client/lexicons.d.ts.map +1 -1
  8. package/dist/client/lexicons.js +760 -13
  9. package/dist/client/lexicons.js.map +1 -1
  10. package/dist/client/types/app/bsky/actor/defs.d.ts +15 -0
  11. package/dist/client/types/app/bsky/actor/defs.d.ts.map +1 -1
  12. package/dist/client/types/app/bsky/actor/defs.js +7 -0
  13. package/dist/client/types/app/bsky/actor/defs.js.map +1 -1
  14. package/dist/client/types/app/bsky/actor/link.d.ts +19 -0
  15. package/dist/client/types/app/bsky/actor/link.d.ts.map +1 -0
  16. package/dist/client/types/app/bsky/actor/link.js +18 -0
  17. package/dist/client/types/app/bsky/actor/link.js.map +1 -0
  18. package/dist/client/types/app/bsky/actor/profile.d.ts +2 -0
  19. package/dist/client/types/app/bsky/actor/profile.d.ts.map +1 -1
  20. package/dist/client/types/app/bsky/actor/profile.js.map +1 -1
  21. package/dist/client/types/app/bsky/embed/external.d.ts +103 -0
  22. package/dist/client/types/app/bsky/embed/external.d.ts.map +1 -1
  23. package/dist/client/types/app/bsky/embed/external.js +42 -0
  24. package/dist/client/types/app/bsky/embed/external.js.map +1 -1
  25. package/dist/client/types/app/bsky/embed/getEmbedExternalView.d.ts +15 -4
  26. package/dist/client/types/app/bsky/embed/getEmbedExternalView.d.ts.map +1 -1
  27. package/dist/client/types/app/bsky/embed/getEmbedExternalView.js.map +1 -1
  28. package/dist/client/types/app/bsky/notification/getGroupedNotifications.d.ts +49 -2
  29. package/dist/client/types/app/bsky/notification/getGroupedNotifications.d.ts.map +1 -1
  30. package/dist/client/types/app/bsky/notification/getGroupedNotifications.js +42 -0
  31. package/dist/client/types/app/bsky/notification/getGroupedNotifications.js.map +1 -1
  32. package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.d.ts +88 -0
  33. package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.d.ts.map +1 -0
  34. package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.js +56 -0
  35. package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.js.map +1 -0
  36. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # @atproto/api
2
2
 
3
+ ## 0.25.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#5610](https://github.com/bluesky-social/atproto/pull/5610) [`d70b673`](https://github.com/bluesky-social/atproto/commit/d70b673be6bce3b6f4d7478254e359913a101c18) Thanks [@vineyardbovines](https://github.com/vineyardbovines)! - Add the `app.bsky.actor.link` record, a `links` field on `app.bsky.actor.profile`, and `links` on `profileViewDetailed`.
8
+
9
+ ### Patch Changes
10
+
11
+ - [#5631](https://github.com/bluesky-social/atproto/pull/5631) [`647cb41`](https://github.com/bluesky-social/atproto/commit/647cb412576f1ba92c63aa00c71743cb400bdf8d) Thanks [@rafaeleyng](https://github.com/rafaeleyng)! - Return basic starter-pack views in grouped notifications, avoiding feed and list-member hydration.
12
+
13
+ - [#5636](https://github.com/bluesky-social/atproto/pull/5636) [`5e0e11d`](https://github.com/bluesky-social/atproto/commit/5e0e11db6d42758e4fb763bcbfb6d2affdf7b2e9) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Make `app.bsky.embed.getEmbedExternalView` resolve a single canonical record (from `canonicalUri`, or normalized from the legacy `uris` input, which is now optional), validate it against the requested URL before building views, return generic `data` alongside the Standard.site-only legacy `view`, and report records that fail validation in `unverifiedAssociatedRefs`/`unverifiedAssociatedRecords`.
14
+
15
+ - [#5633](https://github.com/bluesky-social/atproto/pull/5633) [`dbb0bb5`](https://github.com/bluesky-social/atproto/commit/dbb0bb54a6228021b4169a82a3e8dbe38b42fd4c) Thanks [@rafaeleyng](https://github.com/rafaeleyng)! - Extend grouped notification spotlighting to reposts and via-repost interactions, with up to three spotlights per page.
16
+
17
+ - [#5631](https://github.com/bluesky-social/atproto/pull/5631) [`647cb41`](https://github.com/bluesky-social/atproto/commit/647cb412576f1ba92c63aa00c71743cb400bdf8d) Thanks [@rafaeleyng](https://github.com/rafaeleyng)! - Return basic profiles with known followers in grouped notification related views, avoiding detailed-profile and activity-subscription hydration.
18
+
19
+ ## 0.24.3
20
+
21
+ ### Patch Changes
22
+
23
+ - [#5617](https://github.com/bluesky-social/atproto/pull/5617) [`94e3838`](https://github.com/bluesky-social/atproto/commit/94e3838ea3bb1785a1989931a815b62b2057e5db) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Add app.bsky.unspecced.getAtmosphereExploreTab with curated CMS content, canonical external modality views, and BSKY_ATMOSPHERE_EXPLORE_TAB_SERVICE configuration. Accept optional langs, countryCode, and regionCode parameters, forwarding countryCode and regionCode to the CMS.
24
+
25
+ - [#5599](https://github.com/bluesky-social/atproto/pull/5599) [`648f7c9`](https://github.com/bluesky-social/atproto/commit/648f7c9ebff13a51341977abd7fe2f5b603a2783) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Add canonical Atmosphere modality view schemas.
26
+
3
27
  ## 0.24.2
4
28
 
5
29
  ### Patch Changes
@@ -8,6 +8,7 @@ import * as AppBskyActorGetPreferences from './types/app/bsky/actor/getPreferenc
8
8
  import * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile.js';
9
9
  import * as AppBskyActorGetProfiles from './types/app/bsky/actor/getProfiles.js';
10
10
  import * as AppBskyActorGetSuggestions from './types/app/bsky/actor/getSuggestions.js';
11
+ import * as AppBskyActorLink from './types/app/bsky/actor/link.js';
11
12
  import * as AppBskyActorProfile from './types/app/bsky/actor/profile.js';
12
13
  import * as AppBskyActorPutPreferences from './types/app/bsky/actor/putPreferences.js';
13
14
  import * as AppBskyActorSearchActors from './types/app/bsky/actor/searchActors.js';
@@ -104,6 +105,7 @@ import * as AppBskyNotificationRegisterPush from './types/app/bsky/notification/
104
105
  import * as AppBskyNotificationUnregisterPush from './types/app/bsky/notification/unregisterPush.js';
105
106
  import * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen.js';
106
107
  import * as AppBskyUnspeccedGetAgeAssuranceState from './types/app/bsky/unspecced/getAgeAssuranceState.js';
108
+ import * as AppBskyUnspeccedGetAtmosphereExploreTab from './types/app/bsky/unspecced/getAtmosphereExploreTab.js';
107
109
  import * as AppBskyUnspeccedGetConfig from './types/app/bsky/unspecced/getConfig.js';
108
110
  import * as AppBskyUnspeccedGetOnboardingSuggestedStarterPacks from './types/app/bsky/unspecced/getOnboardingSuggestedStarterPacks.js';
109
111
  import * as AppBskyUnspeccedGetOnboardingSuggestedStarterPacksSkeleton from './types/app/bsky/unspecced/getOnboardingSuggestedStarterPacksSkeleton.js';
@@ -363,6 +365,7 @@ export * as AppBskyActorGetPreferences from './types/app/bsky/actor/getPreferenc
363
365
  export * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile.js';
364
366
  export * as AppBskyActorGetProfiles from './types/app/bsky/actor/getProfiles.js';
365
367
  export * as AppBskyActorGetSuggestions from './types/app/bsky/actor/getSuggestions.js';
368
+ export * as AppBskyActorLink from './types/app/bsky/actor/link.js';
366
369
  export * as AppBskyActorProfile from './types/app/bsky/actor/profile.js';
367
370
  export * as AppBskyActorPutPreferences from './types/app/bsky/actor/putPreferences.js';
368
371
  export * as AppBskyActorSearchActors from './types/app/bsky/actor/searchActors.js';
@@ -476,6 +479,7 @@ export * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/up
476
479
  export * as AppBskyRichtextFacet from './types/app/bsky/richtext/facet.js';
477
480
  export * as AppBskyUnspeccedDefs from './types/app/bsky/unspecced/defs.js';
478
481
  export * as AppBskyUnspeccedGetAgeAssuranceState from './types/app/bsky/unspecced/getAgeAssuranceState.js';
482
+ export * as AppBskyUnspeccedGetAtmosphereExploreTab from './types/app/bsky/unspecced/getAtmosphereExploreTab.js';
479
483
  export * as AppBskyUnspeccedGetConfig from './types/app/bsky/unspecced/getConfig.js';
480
484
  export * as AppBskyUnspeccedGetOnboardingSuggestedStarterPacks from './types/app/bsky/unspecced/getOnboardingSuggestedStarterPacks.js';
481
485
  export * as AppBskyUnspeccedGetOnboardingSuggestedStarterPacksSkeleton from './types/app/bsky/unspecced/getOnboardingSuggestedStarterPacksSkeleton.js';
@@ -882,6 +886,7 @@ export declare class AppBskyNS {
882
886
  export declare class AppBskyActorNS {
883
887
  _client: XrpcClient;
884
888
  contentVisibilityDeclaration: AppBskyActorContentVisibilityDeclarationRecord;
889
+ link: AppBskyActorLinkRecord;
885
890
  profile: AppBskyActorProfileRecord;
886
891
  status: AppBskyActorStatusRecord;
887
892
  constructor(client: XrpcClient);
@@ -918,6 +923,31 @@ export declare class AppBskyActorContentVisibilityDeclarationRecord {
918
923
  }>;
919
924
  delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
920
925
  }
926
+ export declare class AppBskyActorLinkRecord {
927
+ _client: XrpcClient;
928
+ constructor(client: XrpcClient);
929
+ list(params: OmitKey<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
930
+ cursor?: string;
931
+ records: {
932
+ uri: string;
933
+ value: AppBskyActorLink.Record;
934
+ }[];
935
+ }>;
936
+ get(params: OmitKey<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
937
+ uri: string;
938
+ cid: string;
939
+ value: AppBskyActorLink.Record;
940
+ }>;
941
+ create(params: OmitKey<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<AppBskyActorLink.Record>, headers?: Record<string, string>): Promise<{
942
+ uri: string;
943
+ cid: string;
944
+ }>;
945
+ put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<AppBskyActorLink.Record>, headers?: Record<string, string>): Promise<{
946
+ uri: string;
947
+ cid: string;
948
+ }>;
949
+ delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
950
+ }
921
951
  export declare class AppBskyActorProfileRecord {
922
952
  _client: XrpcClient;
923
953
  constructor(client: XrpcClient);
@@ -1502,6 +1532,7 @@ export declare class AppBskyUnspeccedNS {
1502
1532
  _client: XrpcClient;
1503
1533
  constructor(client: XrpcClient);
1504
1534
  getAgeAssuranceState(params?: AppBskyUnspeccedGetAgeAssuranceState.QueryParams, opts?: AppBskyUnspeccedGetAgeAssuranceState.CallOptions): Promise<AppBskyUnspeccedGetAgeAssuranceState.Response>;
1535
+ getAtmosphereExploreTab(params?: AppBskyUnspeccedGetAtmosphereExploreTab.QueryParams, opts?: AppBskyUnspeccedGetAtmosphereExploreTab.CallOptions): Promise<AppBskyUnspeccedGetAtmosphereExploreTab.Response>;
1505
1536
  getConfig(params?: AppBskyUnspeccedGetConfig.QueryParams, opts?: AppBskyUnspeccedGetConfig.CallOptions): Promise<AppBskyUnspeccedGetConfig.Response>;
1506
1537
  getOnboardingSuggestedStarterPacks(params?: AppBskyUnspeccedGetOnboardingSuggestedStarterPacks.QueryParams, opts?: AppBskyUnspeccedGetOnboardingSuggestedStarterPacks.CallOptions): Promise<AppBskyUnspeccedGetOnboardingSuggestedStarterPacks.Response>;
1507
1538
  getOnboardingSuggestedStarterPacksSkeleton(params?: AppBskyUnspeccedGetOnboardingSuggestedStarterPacksSkeleton.QueryParams, opts?: AppBskyUnspeccedGetOnboardingSuggestedStarterPacksSkeleton.CallOptions): Promise<AppBskyUnspeccedGetOnboardingSuggestedStarterPacksSkeleton.Response>;