@atproto/api
Advanced tools
Comparing version 0.13.17 to 0.13.18
# @atproto/api | ||
## 0.13.18 | ||
### Patch Changes | ||
- [#3082](https://github.com/bluesky-social/atproto/pull/3082) [`a3ce23c4c`](https://github.com/bluesky-social/atproto/commit/a3ce23c4ccf4f40998b9d1f5731e5c905390aedc) Thanks [@gaearon](https://github.com/gaearon)! - Add hotness as a thread sorting option | ||
## 0.13.17 | ||
@@ -4,0 +10,0 @@ |
@@ -31,3 +31,3 @@ "use strict"; | ||
const THREAD_VIEW_PREF_DEFAULTS = { | ||
sort: 'oldest', | ||
sort: 'hotness', | ||
prioritizeFollowedUsers: true, | ||
@@ -34,0 +34,0 @@ }; |
@@ -163,3 +163,3 @@ /** | ||
/** Sorting mode for threads. */ | ||
sort?: 'oldest' | 'newest' | 'most-likes' | 'random' | (string & {}); | ||
sort?: 'oldest' | 'newest' | 'most-likes' | 'random' | 'hotness' | (string & {}); | ||
/** Show followed users at the top of all replies. */ | ||
@@ -166,0 +166,0 @@ prioritizeFollowedUsers?: boolean; |
{ | ||
"name": "@atproto/api", | ||
"version": "0.13.17", | ||
"version": "0.13.18", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Client library for atproto and Bluesky", |
@@ -60,3 +60,3 @@ import { TID } from '@atproto/common-web' | ||
const THREAD_VIEW_PREF_DEFAULTS = { | ||
sort: 'oldest', | ||
sort: 'hotness', | ||
prioritizeFollowedUsers: true, | ||
@@ -63,0 +63,0 @@ } |
@@ -335,3 +335,9 @@ /** | ||
/** Sorting mode for threads. */ | ||
sort?: 'oldest' | 'newest' | 'most-likes' | 'random' | (string & {}) | ||
sort?: | ||
| 'oldest' | ||
| 'newest' | ||
| 'most-likes' | ||
| 'random' | ||
| 'hotness' | ||
| (string & {}) | ||
/** Show followed users at the top of all replies. */ | ||
@@ -338,0 +344,0 @@ prioritizeFollowedUsers?: boolean |
@@ -82,3 +82,3 @@ import { TestNetworkNoAppView } from '@atproto/dev-env' | ||
prioritizeFollowedUsers: true, | ||
sort: 'oldest', | ||
sort: 'hotness', | ||
}, | ||
@@ -132,3 +132,3 @@ bskyAppState: { | ||
threadViewPrefs: { | ||
sort: 'oldest', | ||
sort: 'hotness', | ||
prioritizeFollowedUsers: true, | ||
@@ -168,3 +168,3 @@ }, | ||
threadViewPrefs: { | ||
sort: 'oldest', | ||
sort: 'hotness', | ||
prioritizeFollowedUsers: true, | ||
@@ -226,3 +226,3 @@ }, | ||
threadViewPrefs: { | ||
sort: 'oldest', | ||
sort: 'hotness', | ||
prioritizeFollowedUsers: true, | ||
@@ -229,0 +229,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3891068
87792