@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.
@@ -286,10 +286,10 @@ Key:
286
286
  <tr>
287
287
  <td><strong>Imperative label ('!no-unauthenticated') on author profile when logged out</strong></td>
288
288
  <td>
289
-
289
+
290
290
  </td>
291
291
  <td>
292
-
292
+ 🚫
293
293
  </td>
294
294
  <td>
295
295
  🚫
@@ -152,9 +152,10 @@ Key:
152
152
  <tr>
153
153
  <td><strong>Imperative label ('!no-unauthenticated') on profile when logged out</strong></td>
154
154
  <td>
155
-
155
+
156
156
  </td>
157
157
  <td>
158
+ 🚫
158
159
 
159
160
  </td>
160
161
  <td>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atproto/api",
3
- "version": "0.7.2",
3
+ "version": "0.7.4",
4
4
  "license": "MIT",
5
5
  "description": "Client library for atproto and Bluesky",
6
6
  "keywords": [
@@ -28,7 +28,7 @@
28
28
  "devDependencies": {
29
29
  "common-tags": "^1.8.2",
30
30
  "@atproto/lex-cli": "^0.2.5",
31
- "@atproto/dev-env": "^0.2.19"
31
+ "@atproto/dev-env": "^0.2.21"
32
32
  },
33
33
  "scripts": {
34
34
  "codegen": "pnpm docgen && node ./scripts/generate-code.mjs && lex gen-api ./src/client ../../lexicons/com/atproto/*/* ../../lexicons/app/bsky/*/*",
@@ -7325,6 +7325,10 @@ export const schemaDict = {
7325
7325
  ref: 'lex:app.bsky.notification.listNotifications#notification',
7326
7326
  },
7327
7327
  },
7328
+ seenAt: {
7329
+ type: 'string',
7330
+ format: 'datetime',
7331
+ },
7328
7332
  },
7329
7333
  },
7330
7334
  },
@@ -20,6 +20,7 @@ export type InputSchema = undefined
20
20
  export interface OutputSchema {
21
21
  cursor?: string
22
22
  notifications: Notification[]
23
+ seenAt?: string
23
24
  [k: string]: unknown
24
25
  }
25
26
 
@@ -41,6 +41,8 @@ export function filterAccountLabels(labels?: Label[]): Label[] {
41
41
  return []
42
42
  }
43
43
  return labels.filter(
44
- (label) => !label.uri.endsWith('/app.bsky.actor.profile/self'),
44
+ (label) =>
45
+ !label.uri.endsWith('/app.bsky.actor.profile/self') ||
46
+ label.val === '!no-unauthenticated',
45
47
  )
46
48
  }