@atproto/pds 0.4.140 → 0.4.142
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 +19 -0
- package/dist/account-manager/account-manager.d.ts.map +1 -1
- package/dist/account-manager/account-manager.js +3 -0
- package/dist/account-manager/account-manager.js.map +1 -1
- package/dist/account-manager/helpers/scrypt.d.ts +2 -0
- package/dist/account-manager/helpers/scrypt.d.ts.map +1 -1
- package/dist/account-manager/helpers/scrypt.js +3 -1
- package/dist/account-manager/helpers/scrypt.js.map +1 -1
- package/dist/account-manager/oauth-store.js +1 -1
- package/dist/account-manager/oauth-store.js.map +1 -1
- package/dist/api/com/atproto/admin/updateAccountPassword.d.ts.map +1 -1
- package/dist/api/com/atproto/admin/updateAccountPassword.js +5 -0
- package/dist/api/com/atproto/admin/updateAccountPassword.js.map +1 -1
- package/dist/api/com/atproto/server/createAccount.d.ts.map +1 -1
- package/dist/api/com/atproto/server/createAccount.js +4 -0
- package/dist/api/com/atproto/server/createAccount.js.map +1 -1
- package/dist/api/com/atproto/server/createSession.d.ts.map +1 -1
- package/dist/api/com/atproto/server/createSession.js +4 -0
- package/dist/api/com/atproto/server/createSession.js.map +1 -1
- package/dist/api/com/atproto/server/deleteAccount.d.ts.map +1 -1
- package/dist/api/com/atproto/server/deleteAccount.js +4 -0
- package/dist/api/com/atproto/server/deleteAccount.js.map +1 -1
- package/dist/api/com/atproto/server/resetPassword.d.ts.map +1 -1
- package/dist/api/com/atproto/server/resetPassword.js +5 -0
- package/dist/api/com/atproto/server/resetPassword.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +116 -124
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +68 -66
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/defs.d.ts +33 -0
- package/dist/lexicon/types/app/bsky/unspecced/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/defs.js +36 -0
- package/dist/lexicon/types/app/bsky/unspecced/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadHiddenV2.d.ts +5 -13
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadHiddenV2.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadHiddenV2.js +0 -9
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadHiddenV2.js.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadV2.d.ts +2 -29
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadV2.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadV2.js +0 -36
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadV2.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/defs.js.map +1 -1
- package/package.json +9 -9
- package/src/account-manager/account-manager.ts +4 -0
- package/src/account-manager/helpers/scrypt.ts +3 -0
- package/src/account-manager/oauth-store.ts +1 -1
- package/src/api/com/atproto/admin/updateAccountPassword.ts +7 -0
- package/src/api/com/atproto/server/createAccount.ts +7 -0
- package/src/api/com/atproto/server/createSession.ts +7 -0
- package/src/api/com/atproto/server/deleteAccount.ts +5 -0
- package/src/api/com/atproto/server/resetPassword.ts +6 -0
- package/src/lexicon/lexicons.ts +74 -71
- package/src/lexicon/types/app/bsky/unspecced/defs.ts +73 -0
- package/src/lexicon/types/app/bsky/unspecced/getPostThreadHiddenV2.ts +5 -22
- package/src/lexicon/types/app/bsky/unspecced/getPostThreadV2.ts +5 -72
- package/src/lexicon/types/tools/ozone/moderation/defs.ts +1 -0
- package/tests/proxied/admin.test.ts +1 -1
package/dist/lexicon/lexicons.js
CHANGED
@@ -9863,6 +9863,61 @@ exports.schemaDict = {
|
|
9863
9863
|
},
|
9864
9864
|
},
|
9865
9865
|
},
|
9866
|
+
threadItemPost: {
|
9867
|
+
type: 'object',
|
9868
|
+
required: [
|
9869
|
+
'post',
|
9870
|
+
'moreParents',
|
9871
|
+
'moreReplies',
|
9872
|
+
'opThread',
|
9873
|
+
'hiddenByThreadgate',
|
9874
|
+
'mutedByViewer',
|
9875
|
+
],
|
9876
|
+
properties: {
|
9877
|
+
post: {
|
9878
|
+
type: 'ref',
|
9879
|
+
ref: 'lex:app.bsky.feed.defs#postView',
|
9880
|
+
},
|
9881
|
+
moreParents: {
|
9882
|
+
type: 'boolean',
|
9883
|
+
description: 'This post has more parents that were not present in the response. This is just a boolean, without the number of parents.',
|
9884
|
+
},
|
9885
|
+
moreReplies: {
|
9886
|
+
type: 'integer',
|
9887
|
+
description: 'This post has more replies that were not present in the response. This is a numeric value, which is best-effort and might not be accurate.',
|
9888
|
+
},
|
9889
|
+
opThread: {
|
9890
|
+
type: 'boolean',
|
9891
|
+
description: 'This post is part of a contiguous thread by the OP from the thread root. Many different OP threads can happen in the same thread.',
|
9892
|
+
},
|
9893
|
+
hiddenByThreadgate: {
|
9894
|
+
type: 'boolean',
|
9895
|
+
description: 'The threadgate created by the author indicates this post as a reply to be hidden for everyone consuming the thread.',
|
9896
|
+
},
|
9897
|
+
mutedByViewer: {
|
9898
|
+
type: 'boolean',
|
9899
|
+
description: 'This is by an account muted by the viewer requesting it.',
|
9900
|
+
},
|
9901
|
+
},
|
9902
|
+
},
|
9903
|
+
threadItemNoUnauthenticated: {
|
9904
|
+
type: 'object',
|
9905
|
+
properties: {},
|
9906
|
+
},
|
9907
|
+
threadItemNotFound: {
|
9908
|
+
type: 'object',
|
9909
|
+
properties: {},
|
9910
|
+
},
|
9911
|
+
threadItemBlocked: {
|
9912
|
+
type: 'object',
|
9913
|
+
required: ['author'],
|
9914
|
+
properties: {
|
9915
|
+
author: {
|
9916
|
+
type: 'ref',
|
9917
|
+
ref: 'lex:app.bsky.feed.defs#blockedAuthor',
|
9918
|
+
},
|
9919
|
+
},
|
9920
|
+
},
|
9866
9921
|
},
|
9867
9922
|
},
|
9868
9923
|
AppBskyUnspeccedGetConfig: {
|
@@ -9972,6 +10027,11 @@ exports.schemaDict = {
|
|
9972
10027
|
format: 'at-uri',
|
9973
10028
|
description: 'Reference (AT-URI) to post record. This is the anchor post.',
|
9974
10029
|
},
|
10030
|
+
prioritizeFollowedUsers: {
|
10031
|
+
type: 'boolean',
|
10032
|
+
description: 'Whether to prioritize posts from followed users. It only has effect when the user is authenticated.',
|
10033
|
+
default: false,
|
10034
|
+
},
|
9975
10035
|
},
|
9976
10036
|
},
|
9977
10037
|
output: {
|
@@ -9982,7 +10042,7 @@ exports.schemaDict = {
|
|
9982
10042
|
properties: {
|
9983
10043
|
thread: {
|
9984
10044
|
type: 'array',
|
9985
|
-
description: 'A flat list of thread
|
10045
|
+
description: 'A flat list of hidden thread items. The depth of each item is indicated by the depth property inside the item.',
|
9986
10046
|
items: {
|
9987
10047
|
type: 'ref',
|
9988
10048
|
ref: 'lex:app.bsky.unspecced.getPostThreadHiddenV2#threadHiddenItem',
|
@@ -10006,27 +10066,7 @@ exports.schemaDict = {
|
|
10006
10066
|
},
|
10007
10067
|
value: {
|
10008
10068
|
type: 'union',
|
10009
|
-
refs: [
|
10010
|
-
'lex:app.bsky.unspecced.getPostThreadHiddenV2#threadHiddenItemPost',
|
10011
|
-
],
|
10012
|
-
},
|
10013
|
-
},
|
10014
|
-
},
|
10015
|
-
threadHiddenItemPost: {
|
10016
|
-
type: 'object',
|
10017
|
-
required: ['post', 'hiddenByThreadgate', 'mutedByViewer'],
|
10018
|
-
properties: {
|
10019
|
-
post: {
|
10020
|
-
type: 'ref',
|
10021
|
-
ref: 'lex:app.bsky.feed.defs#postView',
|
10022
|
-
},
|
10023
|
-
hiddenByThreadgate: {
|
10024
|
-
type: 'boolean',
|
10025
|
-
description: 'The threadgate created by the author indicates this post as a reply to be hidden for everyone consuming the thread.',
|
10026
|
-
},
|
10027
|
-
mutedByViewer: {
|
10028
|
-
type: 'boolean',
|
10029
|
-
description: 'This is by an account muted by the viewer requesting it.',
|
10069
|
+
refs: ['lex:app.bsky.unspecced.defs#threadItemPost'],
|
10030
10070
|
},
|
10031
10071
|
},
|
10032
10072
|
},
|
@@ -10121,54 +10161,14 @@ exports.schemaDict = {
|
|
10121
10161
|
value: {
|
10122
10162
|
type: 'union',
|
10123
10163
|
refs: [
|
10124
|
-
'lex:app.bsky.unspecced.
|
10125
|
-
'lex:app.bsky.unspecced.
|
10126
|
-
'lex:app.bsky.unspecced.
|
10127
|
-
'lex:app.bsky.unspecced.
|
10164
|
+
'lex:app.bsky.unspecced.defs#threadItemPost',
|
10165
|
+
'lex:app.bsky.unspecced.defs#threadItemNoUnauthenticated',
|
10166
|
+
'lex:app.bsky.unspecced.defs#threadItemNotFound',
|
10167
|
+
'lex:app.bsky.unspecced.defs#threadItemBlocked',
|
10128
10168
|
],
|
10129
10169
|
},
|
10130
10170
|
},
|
10131
10171
|
},
|
10132
|
-
threadItemPost: {
|
10133
|
-
type: 'object',
|
10134
|
-
required: ['post', 'moreParents', 'moreReplies', 'opThread'],
|
10135
|
-
properties: {
|
10136
|
-
post: {
|
10137
|
-
type: 'ref',
|
10138
|
-
ref: 'lex:app.bsky.feed.defs#postView',
|
10139
|
-
},
|
10140
|
-
moreParents: {
|
10141
|
-
type: 'boolean',
|
10142
|
-
description: 'This post has more parents that were not present in the response. This is just a boolean, without the number of parents.',
|
10143
|
-
},
|
10144
|
-
moreReplies: {
|
10145
|
-
type: 'integer',
|
10146
|
-
description: 'This post has more replies that were not present in the response. This is a numeric value, which is best-effort and might not be accurate.',
|
10147
|
-
},
|
10148
|
-
opThread: {
|
10149
|
-
type: 'boolean',
|
10150
|
-
description: 'This post is part of a contiguous thread by the OP from the thread root. Many different OP threads can happen in the same thread.',
|
10151
|
-
},
|
10152
|
-
},
|
10153
|
-
},
|
10154
|
-
threadItemNoUnauthenticated: {
|
10155
|
-
type: 'object',
|
10156
|
-
properties: {},
|
10157
|
-
},
|
10158
|
-
threadItemNotFound: {
|
10159
|
-
type: 'object',
|
10160
|
-
properties: {},
|
10161
|
-
},
|
10162
|
-
threadItemBlocked: {
|
10163
|
-
type: 'object',
|
10164
|
-
required: ['author'],
|
10165
|
-
properties: {
|
10166
|
-
author: {
|
10167
|
-
type: 'ref',
|
10168
|
-
ref: 'lex:app.bsky.feed.defs#blockedAuthor',
|
10169
|
-
},
|
10170
|
-
},
|
10171
|
-
},
|
10172
10172
|
},
|
10173
10173
|
},
|
10174
10174
|
AppBskyUnspeccedGetSuggestedFeeds: {
|
@@ -12820,6 +12820,7 @@ exports.schemaDict = {
|
|
12820
12820
|
refs: [
|
12821
12821
|
'lex:com.atproto.admin.defs#repoRef',
|
12822
12822
|
'lex:com.atproto.repo.strongRef',
|
12823
|
+
'lex:chat.bsky.convo.defs#messageRef',
|
12823
12824
|
],
|
12824
12825
|
},
|
12825
12826
|
hosting: {
|
@@ -15663,6 +15664,7 @@ exports.schemaDict = {
|
|
15663
15664
|
},
|
15664
15665
|
createdAt: {
|
15665
15666
|
type: 'string',
|
15667
|
+
format: 'datetime',
|
15666
15668
|
description: 'Timestamp for verification record. Defaults to current time when not specified.',
|
15667
15669
|
},
|
15668
15670
|
},
|