@atproto/api 0.10.4 → 0.10.5
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 +6 -0
- package/dist/client/lexicons.d.ts +5 -0
- package/dist/client/types/app/bsky/actor/defs.d.ts +1 -1
- package/dist/client/types/com/atproto/admin/defs.d.ts +1 -0
- package/dist/index.js +7 -2
- package/dist/index.js.map +2 -2
- package/package.json +2 -2
- package/src/bsky-agent.ts +1 -1
- package/src/client/lexicons.ts +5 -0
- package/src/client/types/app/bsky/actor/defs.ts +1 -1
- package/src/client/types/com/atproto/admin/defs.ts +2 -0
- package/tests/bsky-agent.test.ts +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atproto/api
|
|
2
2
|
|
|
3
|
+
## 0.10.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2279](https://github.com/bluesky-social/atproto/pull/2279) [`192223f12`](https://github.com/bluesky-social/atproto/commit/192223f127c0b226287df1ecfcd953636db08655) Thanks [@gaearon](https://github.com/gaearon)! - Change Following feed prefs to only show replies from people you follow by default
|
|
8
|
+
|
|
3
9
|
## 0.10.4
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -779,6 +779,10 @@ export declare const schemaDict: {
|
|
|
779
779
|
type: string;
|
|
780
780
|
description: string;
|
|
781
781
|
};
|
|
782
|
+
content: {
|
|
783
|
+
type: string;
|
|
784
|
+
description: string;
|
|
785
|
+
};
|
|
782
786
|
comment: {
|
|
783
787
|
type: string;
|
|
784
788
|
description: string;
|
|
@@ -4731,6 +4735,7 @@ export declare const schemaDict: {
|
|
|
4731
4735
|
hideRepliesByUnfollowed: {
|
|
4732
4736
|
type: string;
|
|
4733
4737
|
description: string;
|
|
4738
|
+
default: boolean;
|
|
4734
4739
|
};
|
|
4735
4740
|
hideRepliesByLikeCount: {
|
|
4736
4741
|
type: string;
|
|
@@ -88,7 +88,7 @@ export declare function validatePersonalDetailsPref(v: unknown): ValidationResul
|
|
|
88
88
|
export interface FeedViewPref {
|
|
89
89
|
feed: string;
|
|
90
90
|
hideReplies?: boolean;
|
|
91
|
-
hideRepliesByUnfollowed
|
|
91
|
+
hideRepliesByUnfollowed: boolean;
|
|
92
92
|
hideRepliesByLikeCount?: number;
|
|
93
93
|
hideReposts?: boolean;
|
|
94
94
|
hideQuotePosts?: boolean;
|
|
@@ -313,6 +313,7 @@ export declare function isModEventUnmute(v: unknown): v is ModEventUnmute;
|
|
|
313
313
|
export declare function validateModEventUnmute(v: unknown): ValidationResult;
|
|
314
314
|
export interface ModEventEmail {
|
|
315
315
|
subjectLine: string;
|
|
316
|
+
content?: string;
|
|
316
317
|
comment?: string;
|
|
317
318
|
[k: string]: unknown;
|
|
318
319
|
}
|
package/dist/index.js
CHANGED
|
@@ -16582,6 +16582,10 @@ var schemaDict = {
|
|
|
16582
16582
|
type: "string",
|
|
16583
16583
|
description: "The subject line of the email sent to the user."
|
|
16584
16584
|
},
|
|
16585
|
+
content: {
|
|
16586
|
+
type: "string",
|
|
16587
|
+
description: "The content of the email sent to the user."
|
|
16588
|
+
},
|
|
16585
16589
|
comment: {
|
|
16586
16590
|
type: "string",
|
|
16587
16591
|
description: "Additional comment about the outgoing comm."
|
|
@@ -20729,7 +20733,8 @@ var schemaDict = {
|
|
|
20729
20733
|
},
|
|
20730
20734
|
hideRepliesByUnfollowed: {
|
|
20731
20735
|
type: "boolean",
|
|
20732
|
-
description: "Hide replies in the feed if they are not by followed users."
|
|
20736
|
+
description: "Hide replies in the feed if they are not by followed users.",
|
|
20737
|
+
default: true
|
|
20733
20738
|
},
|
|
20734
20739
|
hideRepliesByLikeCount: {
|
|
20735
20740
|
type: "integer",
|
|
@@ -31887,7 +31892,7 @@ var LABEL_GROUPS = {
|
|
|
31887
31892
|
// src/bsky-agent.ts
|
|
31888
31893
|
var FEED_VIEW_PREF_DEFAULTS = {
|
|
31889
31894
|
hideReplies: false,
|
|
31890
|
-
hideRepliesByUnfollowed:
|
|
31895
|
+
hideRepliesByUnfollowed: true,
|
|
31891
31896
|
hideRepliesByLikeCount: 0,
|
|
31892
31897
|
hideReposts: false,
|
|
31893
31898
|
hideQuotePosts: false
|