@atproto/pds 0.4.144 → 0.4.145

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.
Files changed (27) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/auth-verifier.d.ts.map +1 -1
  3. package/dist/auth-verifier.js +10 -1
  4. package/dist/auth-verifier.js.map +1 -1
  5. package/dist/lexicon/index.d.ts +4 -4
  6. package/dist/lexicon/index.d.ts.map +1 -1
  7. package/dist/lexicon/index.js +6 -6
  8. package/dist/lexicon/index.js.map +1 -1
  9. package/dist/lexicon/lexicons.d.ts +100 -100
  10. package/dist/lexicon/lexicons.js +52 -52
  11. package/dist/lexicon/lexicons.js.map +1 -1
  12. package/dist/lexicon/types/app/bsky/unspecced/{getPostThreadHiddenV2.d.ts → getPostThreadOtherV2.d.ts} +7 -7
  13. package/dist/lexicon/types/app/bsky/unspecced/getPostThreadOtherV2.d.ts.map +1 -0
  14. package/dist/lexicon/types/app/bsky/unspecced/getPostThreadOtherV2.js +16 -0
  15. package/dist/lexicon/types/app/bsky/unspecced/getPostThreadOtherV2.js.map +1 -0
  16. package/dist/lexicon/types/app/bsky/unspecced/getPostThreadV2.d.ts +2 -2
  17. package/dist/lexicon/types/app/bsky/unspecced/getPostThreadV2.d.ts.map +1 -1
  18. package/package.json +5 -5
  19. package/src/auth-verifier.ts +20 -6
  20. package/src/lexicon/index.ts +14 -14
  21. package/src/lexicon/lexicons.ts +54 -54
  22. package/src/lexicon/types/app/bsky/unspecced/{getPostThreadHiddenV2.ts → getPostThreadOtherV2.ts} +10 -10
  23. package/src/lexicon/types/app/bsky/unspecced/getPostThreadV2.ts +2 -2
  24. package/tsconfig.build.tsbuildinfo +1 -1
  25. package/dist/lexicon/types/app/bsky/unspecced/getPostThreadHiddenV2.d.ts.map +0 -1
  26. package/dist/lexicon/types/app/bsky/unspecced/getPostThreadHiddenV2.js +0 -16
  27. package/dist/lexicon/types/app/bsky/unspecced/getPostThreadHiddenV2.js.map +0 -1
@@ -6992,6 +6992,47 @@ exports.schemaDict = {
6992
6992
  },
6993
6993
  },
6994
6994
  },
6995
+ AppBskyFeedGetPosts: {
6996
+ lexicon: 1,
6997
+ id: 'app.bsky.feed.getPosts',
6998
+ defs: {
6999
+ main: {
7000
+ type: 'query',
7001
+ description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.",
7002
+ parameters: {
7003
+ type: 'params',
7004
+ required: ['uris'],
7005
+ properties: {
7006
+ uris: {
7007
+ type: 'array',
7008
+ description: 'List of post AT-URIs to return hydrated views for.',
7009
+ items: {
7010
+ type: 'string',
7011
+ format: 'at-uri',
7012
+ },
7013
+ maxLength: 25,
7014
+ },
7015
+ },
7016
+ },
7017
+ output: {
7018
+ encoding: 'application/json',
7019
+ schema: {
7020
+ type: 'object',
7021
+ required: ['posts'],
7022
+ properties: {
7023
+ posts: {
7024
+ type: 'array',
7025
+ items: {
7026
+ type: 'ref',
7027
+ ref: 'lex:app.bsky.feed.defs#postView',
7028
+ },
7029
+ },
7030
+ },
7031
+ },
7032
+ },
7033
+ },
7034
+ },
7035
+ },
6995
7036
  AppBskyFeedGetPostThread: {
6996
7037
  lexicon: 1,
6997
7038
  id: 'app.bsky.feed.getPostThread',
@@ -7053,47 +7094,6 @@ exports.schemaDict = {
7053
7094
  },
7054
7095
  },
7055
7096
  },
7056
- AppBskyFeedGetPosts: {
7057
- lexicon: 1,
7058
- id: 'app.bsky.feed.getPosts',
7059
- defs: {
7060
- main: {
7061
- type: 'query',
7062
- description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.",
7063
- parameters: {
7064
- type: 'params',
7065
- required: ['uris'],
7066
- properties: {
7067
- uris: {
7068
- type: 'array',
7069
- description: 'List of post AT-URIs to return hydrated views for.',
7070
- items: {
7071
- type: 'string',
7072
- format: 'at-uri',
7073
- },
7074
- maxLength: 25,
7075
- },
7076
- },
7077
- },
7078
- output: {
7079
- encoding: 'application/json',
7080
- schema: {
7081
- type: 'object',
7082
- required: ['posts'],
7083
- properties: {
7084
- posts: {
7085
- type: 'array',
7086
- items: {
7087
- type: 'ref',
7088
- ref: 'lex:app.bsky.feed.defs#postView',
7089
- },
7090
- },
7091
- },
7092
- },
7093
- },
7094
- },
7095
- },
7096
- },
7097
7097
  AppBskyFeedGetQuotes: {
7098
7098
  lexicon: 1,
7099
7099
  id: 'app.bsky.feed.getQuotes',
@@ -10011,13 +10011,13 @@ exports.schemaDict = {
10011
10011
  },
10012
10012
  },
10013
10013
  },
10014
- AppBskyUnspeccedGetPostThreadHiddenV2: {
10014
+ AppBskyUnspeccedGetPostThreadOtherV2: {
10015
10015
  lexicon: 1,
10016
- id: 'app.bsky.unspecced.getPostThreadHiddenV2',
10016
+ id: 'app.bsky.unspecced.getPostThreadOtherV2',
10017
10017
  defs: {
10018
10018
  main: {
10019
10019
  type: 'query',
10020
- description: "(NOTE: this endpoint is under development and WILL change without notice. Don't use it until it is moved out of `unspecced` or your application WILL break) Get the hidden posts in a thread. It is based in an anchor post at any depth of the tree, and returns hidden replies (recursive replies, with branching to their replies) below the anchor. It does not include ancestors nor the anchor. This should be called after exhausting `app.bsky.unspecced.getPostThreadV2`. Does not require auth, but additional metadata and filtering will be applied for authed requests.",
10020
+ description: "(NOTE: this endpoint is under development and WILL change without notice. Don't use it until it is moved out of `unspecced` or your application WILL break) Get additional posts under a thread e.g. replies hidden by threadgate. Based on an anchor post at any depth of the tree, returns top-level replies below that anchor. It does not include ancestors nor the anchor itself. This should be called after exhausting `app.bsky.unspecced.getPostThreadV2`. Does not require auth, but additional metadata and filtering will be applied for authed requests.",
10021
10021
  parameters: {
10022
10022
  type: 'params',
10023
10023
  required: ['anchor'],
@@ -10042,17 +10042,17 @@ exports.schemaDict = {
10042
10042
  properties: {
10043
10043
  thread: {
10044
10044
  type: 'array',
10045
- description: 'A flat list of hidden thread items. The depth of each item is indicated by the depth property inside the item.',
10045
+ description: 'A flat list of other thread items. The depth of each item is indicated by the depth property inside the item.',
10046
10046
  items: {
10047
10047
  type: 'ref',
10048
- ref: 'lex:app.bsky.unspecced.getPostThreadHiddenV2#threadHiddenItem',
10048
+ ref: 'lex:app.bsky.unspecced.getPostThreadOtherV2#threadItem',
10049
10049
  },
10050
10050
  },
10051
10051
  },
10052
10052
  },
10053
10053
  },
10054
10054
  },
10055
- threadHiddenItem: {
10055
+ threadItem: {
10056
10056
  type: 'object',
10057
10057
  required: ['uri', 'depth', 'value'],
10058
10058
  properties: {
@@ -10124,7 +10124,7 @@ exports.schemaDict = {
10124
10124
  encoding: 'application/json',
10125
10125
  schema: {
10126
10126
  type: 'object',
10127
- required: ['thread', 'hasHiddenReplies'],
10127
+ required: ['thread', 'hasOtherReplies'],
10128
10128
  properties: {
10129
10129
  thread: {
10130
10130
  type: 'array',
@@ -10138,9 +10138,9 @@ exports.schemaDict = {
10138
10138
  type: 'ref',
10139
10139
  ref: 'lex:app.bsky.feed.defs#threadgateView',
10140
10140
  },
10141
- hasHiddenReplies: {
10141
+ hasOtherReplies: {
10142
10142
  type: 'boolean',
10143
- description: 'Whether this thread has hidden replies. If true, a call can be made to the `getPostThreadHiddenV2` endpoint to retrieve them.',
10143
+ description: 'Whether this thread has additional replies. If true, a call can be made to the `getPostThreadOtherV2` endpoint to retrieve them.',
10144
10144
  },
10145
10145
  },
10146
10146
  },
@@ -15976,8 +15976,8 @@ exports.ids = {
15976
15976
  AppBskyFeedGetFeedSkeleton: 'app.bsky.feed.getFeedSkeleton',
15977
15977
  AppBskyFeedGetLikes: 'app.bsky.feed.getLikes',
15978
15978
  AppBskyFeedGetListFeed: 'app.bsky.feed.getListFeed',
15979
- AppBskyFeedGetPostThread: 'app.bsky.feed.getPostThread',
15980
15979
  AppBskyFeedGetPosts: 'app.bsky.feed.getPosts',
15980
+ AppBskyFeedGetPostThread: 'app.bsky.feed.getPostThread',
15981
15981
  AppBskyFeedGetQuotes: 'app.bsky.feed.getQuotes',
15982
15982
  AppBskyFeedGetRepostedBy: 'app.bsky.feed.getRepostedBy',
15983
15983
  AppBskyFeedGetSuggestedFeeds: 'app.bsky.feed.getSuggestedFeeds',
@@ -16031,7 +16031,7 @@ exports.ids = {
16031
16031
  AppBskyUnspeccedDefs: 'app.bsky.unspecced.defs',
16032
16032
  AppBskyUnspeccedGetConfig: 'app.bsky.unspecced.getConfig',
16033
16033
  AppBskyUnspeccedGetPopularFeedGenerators: 'app.bsky.unspecced.getPopularFeedGenerators',
16034
- AppBskyUnspeccedGetPostThreadHiddenV2: 'app.bsky.unspecced.getPostThreadHiddenV2',
16034
+ AppBskyUnspeccedGetPostThreadOtherV2: 'app.bsky.unspecced.getPostThreadOtherV2',
16035
16035
  AppBskyUnspeccedGetPostThreadV2: 'app.bsky.unspecced.getPostThreadV2',
16036
16036
  AppBskyUnspeccedGetSuggestedFeeds: 'app.bsky.unspecced.getSuggestedFeeds',
16037
16037
  AppBskyUnspeccedGetSuggestedFeedsSkeleton: 'app.bsky.unspecced.getSuggestedFeedsSkeleton',