@atproto/api 0.7.3 → 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 CHANGED
@@ -1,5 +1,11 @@
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
+
3
9
  ## 0.7.3
4
10
 
5
11
  ### 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
@@ -30243,7 +30243,7 @@ function filterAccountLabels(labels) {
30243
30243
  if (!labels) {
30244
30244
  return [];
30245
30245
  }
30246
- 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");
30247
30247
  }
30248
30248
 
30249
30249
  // src/moderation/subjects/profile.ts