@atproto/api 0.7.0 → 0.7.2

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.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1776](https://github.com/bluesky-social/atproto/pull/1776) [`ffe39aae`](https://github.com/bluesky-social/atproto/commit/ffe39aae8394394f73bbfaa9047a8b5818aa053a) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Add `posts_and_author_threads` filter to `getAuthorFeed`
8
+
9
+ ## 0.7.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [#1944](https://github.com/bluesky-social/atproto/pull/1944) [`60deea17`](https://github.com/bluesky-social/atproto/commit/60deea17622f7c574c18432a55ced4e1cdc1b3a1) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Strip trailing colon from URLs in rich-text facet detection.
14
+
3
15
  ## 0.7.0
4
16
 
5
17
  ### Minor Changes
@@ -4,7 +4,7 @@ export interface QueryParams {
4
4
  actor: string;
5
5
  limit?: number;
6
6
  cursor?: string;
7
- filter?: 'posts_with_replies' | 'posts_no_replies' | 'posts_with_media' | (string & {});
7
+ filter?: 'posts_with_replies' | 'posts_no_replies' | 'posts_with_media' | 'posts_and_author_threads' | (string & {});
8
8
  }
9
9
  export declare type InputSchema = undefined;
10
10
  export interface OutputSchema {
package/dist/index.js CHANGED
@@ -21180,7 +21180,8 @@ var schemaDict = {
21180
21180
  knownValues: [
21181
21181
  "posts_with_replies",
21182
21182
  "posts_no_replies",
21183
- "posts_with_media"
21183
+ "posts_with_media",
21184
+ "posts_and_author_threads"
21184
21185
  ],
21185
21186
  default: "posts_with_replies"
21186
21187
  }
@@ -28999,7 +29000,7 @@ function detectFacets(text) {
28999
29000
  }
29000
29001
  const start = text.utf16.indexOf(match[2], match.index);
29001
29002
  const index = { start, end: start + match[2].length };
29002
- if (/[.,;!?]$/.test(uri2)) {
29003
+ if (/[.,;:!?]$/.test(uri2)) {
29003
29004
  uri2 = uri2.slice(0, -1);
29004
29005
  index.end--;
29005
29006
  }
@@ -29368,20 +29369,20 @@ var LABELS = {
29368
29369
  strings: {
29369
29370
  settings: {
29370
29371
  en: {
29371
- name: "Requested Hidden to Logged-out Users",
29372
- description: "This user has requested that their content only be shown to logged-in accounts."
29372
+ name: "Sign-in Required",
29373
+ description: "This user has requested that their account only be shown to signed-in users."
29373
29374
  }
29374
29375
  },
29375
29376
  account: {
29376
29377
  en: {
29377
29378
  name: "Sign-in Required",
29378
- description: "This user has requested that their content only be shown to logged-in accounts."
29379
+ description: "This user has requested that their account only be shown to signed-in users."
29379
29380
  }
29380
29381
  },
29381
29382
  content: {
29382
29383
  en: {
29383
29384
  name: "Sign-in Required",
29384
- description: "This user has requested that their content only be shown to logged-in accounts."
29385
+ description: "This user has requested that their content only be shown to signed-in users."
29385
29386
  }
29386
29387
  }
29387
29388
  }