@atproto/api 0.7.0 → 0.7.1

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.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#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.
8
+
3
9
  ## 0.7.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.js CHANGED
@@ -28999,7 +28999,7 @@ function detectFacets(text) {
28999
28999
  }
29000
29000
  const start = text.utf16.indexOf(match[2], match.index);
29001
29001
  const index = { start, end: start + match[2].length };
29002
- if (/[.,;!?]$/.test(uri2)) {
29002
+ if (/[.,;:!?]$/.test(uri2)) {
29003
29003
  uri2 = uri2.slice(0, -1);
29004
29004
  index.end--;
29005
29005
  }