@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 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,
@@ -6880,6 +6880,10 @@ export declare const schemaDict: {
6880
6880
  ref: string;
6881
6881
  };
6882
6882
  };
6883
+ seenAt: {
6884
+ type: string;
6885
+ format: string;
6886
+ };
6883
6887
  };
6884
6888
  };
6885
6889
  };
@@ -11,6 +11,7 @@ export declare type InputSchema = undefined;
11
11
  export interface OutputSchema {
12
12
  cursor?: string;
13
13
  notifications: Notification[];
14
+ seenAt?: string;
14
15
  [k: string]: unknown;
15
16
  }
16
17
  export interface CallOptions {
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