@atproto/api 0.7.2 → 0.7.4
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 +12 -0
- package/definitions/post-moderation-behaviors.json +6 -0
- package/definitions/profile-moderation-behaviors.json +6 -0
- package/dist/client/lexicons.d.ts +4 -0
- package/dist/client/types/app/bsky/notification/listNotifications.d.ts +1 -0
- package/dist/index.js +5 -1
- package/dist/index.js.map +2 -2
- package/docs/moderation-behaviors/posts.md +2 -2
- package/docs/moderation-behaviors/profiles.md +2 -1
- package/package.json +2 -2
- package/src/client/lexicons.ts +4 -0
- package/src/client/types/app/bsky/notification/listNotifications.ts +1 -0
- package/src/moderation/subjects/account.ts +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atproto/api
|
|
2
2
|
|
|
3
|
+
## 0.7.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1966](https://github.com/bluesky-social/atproto/pull/1966) [`8f3f43cb`](https://github.com/bluesky-social/atproto/commit/8f3f43cb40f79ff7c52f81290daec55cfb000093) Thanks [@pfrazee](https://github.com/pfrazee)! - Fix to the application of the no-unauthenticated label
|
|
8
|
+
|
|
9
|
+
## 0.7.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#1962](https://github.com/bluesky-social/atproto/pull/1962) [`7dec9df3`](https://github.com/bluesky-social/atproto/commit/7dec9df3b583ee8c06c0c6a7e32c259820dc84a5) Thanks [@pfrazee](https://github.com/pfrazee)! - Add seenAt time to listNotifications output
|
|
14
|
+
|
|
3
15
|
## 0.7.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -271,6 +271,12 @@
|
|
|
271
271
|
"author": "alice",
|
|
272
272
|
"labels": { "profile": ["!no-unauthenticated"] },
|
|
273
273
|
"behaviors": {
|
|
274
|
+
"content": {
|
|
275
|
+
"cause": "label:!no-unauthenticated",
|
|
276
|
+
"filter": true,
|
|
277
|
+
"blur": true,
|
|
278
|
+
"noOverride": true
|
|
279
|
+
},
|
|
274
280
|
"avatar": {
|
|
275
281
|
"cause": "label:!no-unauthenticated",
|
|
276
282
|
"blur": true,
|
|
@@ -185,6 +185,12 @@
|
|
|
185
185
|
"author": "alice",
|
|
186
186
|
"labels": { "profile": ["!no-unauthenticated"] },
|
|
187
187
|
"behaviors": {
|
|
188
|
+
"account": {
|
|
189
|
+
"cause": "label:!no-unauthenticated",
|
|
190
|
+
"filter": true,
|
|
191
|
+
"blur": true,
|
|
192
|
+
"noOverride": true
|
|
193
|
+
},
|
|
188
194
|
"profile": {
|
|
189
195
|
"cause": "label:!no-unauthenticated",
|
|
190
196
|
"blur": true,
|
package/dist/index.js
CHANGED
|
@@ -22925,6 +22925,10 @@ var schemaDict = {
|
|
|
22925
22925
|
type: "ref",
|
|
22926
22926
|
ref: "lex:app.bsky.notification.listNotifications#notification"
|
|
22927
22927
|
}
|
|
22928
|
+
},
|
|
22929
|
+
seenAt: {
|
|
22930
|
+
type: "string",
|
|
22931
|
+
format: "datetime"
|
|
22928
22932
|
}
|
|
22929
22933
|
}
|
|
22930
22934
|
}
|
|
@@ -30239,7 +30243,7 @@ function filterAccountLabels(labels) {
|
|
|
30239
30243
|
if (!labels) {
|
|
30240
30244
|
return [];
|
|
30241
30245
|
}
|
|
30242
|
-
return labels.filter((label) => !label.uri.endsWith("/app.bsky.actor.profile/self"));
|
|
30246
|
+
return labels.filter((label) => !label.uri.endsWith("/app.bsky.actor.profile/self") || label.val === "!no-unauthenticated");
|
|
30243
30247
|
}
|
|
30244
30248
|
|
|
30245
30249
|
// src/moderation/subjects/profile.ts
|