@atproto/pds 0.4.65 → 0.4.67

Sign up to get free protection for your applications and to get access to all the features.
Files changed (429) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/account-manager/db/index.d.ts.map +1 -1
  3. package/dist/account-manager/db/migrations/001-init.js +2 -3
  4. package/dist/account-manager/db/migrations/001-init.js.map +1 -1
  5. package/dist/account-manager/db/migrations/002-account-deactivation.js +2 -3
  6. package/dist/account-manager/db/migrations/002-account-deactivation.js.map +1 -1
  7. package/dist/account-manager/db/migrations/003-privileged-app-passwords.js +2 -3
  8. package/dist/account-manager/db/migrations/003-privileged-app-passwords.js.map +1 -1
  9. package/dist/account-manager/db/migrations/004-oauth.js +2 -3
  10. package/dist/account-manager/db/migrations/004-oauth.js.map +1 -1
  11. package/dist/account-manager/helpers/account.d.ts.map +1 -1
  12. package/dist/account-manager/helpers/auth.d.ts +0 -1
  13. package/dist/account-manager/helpers/auth.d.ts.map +1 -1
  14. package/dist/account-manager/helpers/authorization-request.d.ts.map +1 -1
  15. package/dist/account-manager/helpers/device-account.d.ts.map +1 -1
  16. package/dist/account-manager/helpers/device-account.js +3 -3
  17. package/dist/account-manager/helpers/device-account.js.map +1 -1
  18. package/dist/account-manager/helpers/device.d.ts.map +1 -1
  19. package/dist/account-manager/helpers/email-token.d.ts.map +1 -1
  20. package/dist/account-manager/helpers/invite.d.ts.map +1 -1
  21. package/dist/account-manager/helpers/password.d.ts.map +1 -1
  22. package/dist/account-manager/helpers/repo.d.ts.map +1 -1
  23. package/dist/account-manager/helpers/scrypt.d.ts.map +1 -1
  24. package/dist/account-manager/helpers/token.d.ts.map +1 -1
  25. package/dist/account-manager/helpers/used-refresh-token.d.ts.map +1 -1
  26. package/dist/account-manager/index.d.ts +0 -1
  27. package/dist/account-manager/index.d.ts.map +1 -1
  28. package/dist/actor-store/blob/reader.d.ts +0 -1
  29. package/dist/actor-store/blob/reader.d.ts.map +1 -1
  30. package/dist/actor-store/blob/transactor.d.ts +0 -1
  31. package/dist/actor-store/blob/transactor.d.ts.map +1 -1
  32. package/dist/actor-store/db/index.d.ts.map +1 -1
  33. package/dist/actor-store/db/migrations/001-init.js +2 -3
  34. package/dist/actor-store/db/migrations/001-init.js.map +1 -1
  35. package/dist/actor-store/migrate.d.ts.map +1 -1
  36. package/dist/actor-store/record/transactor.d.ts +1 -1
  37. package/dist/actor-store/record/transactor.d.ts.map +1 -1
  38. package/dist/actor-store/repo/sql-repo-reader.d.ts +0 -1
  39. package/dist/actor-store/repo/sql-repo-reader.d.ts.map +1 -1
  40. package/dist/api/app/bsky/actor/getPreferences.js +1 -1
  41. package/dist/api/app/bsky/actor/getPreferences.js.map +1 -1
  42. package/dist/api/app/bsky/actor/getProfile.js +1 -1
  43. package/dist/api/app/bsky/actor/getProfile.js.map +1 -1
  44. package/dist/api/app/bsky/actor/getProfiles.js +1 -1
  45. package/dist/api/app/bsky/actor/getProfiles.js.map +1 -1
  46. package/dist/api/app/bsky/actor/index.js +1 -1
  47. package/dist/api/app/bsky/actor/index.js.map +1 -1
  48. package/dist/api/app/bsky/actor/putPreferences.js +1 -1
  49. package/dist/api/app/bsky/actor/putPreferences.js.map +1 -1
  50. package/dist/api/app/bsky/feed/getActorLikes.js +1 -1
  51. package/dist/api/app/bsky/feed/getActorLikes.js.map +1 -1
  52. package/dist/api/app/bsky/feed/getAuthorFeed.js +1 -1
  53. package/dist/api/app/bsky/feed/getAuthorFeed.js.map +1 -1
  54. package/dist/api/app/bsky/feed/getFeed.js +1 -1
  55. package/dist/api/app/bsky/feed/getFeed.js.map +1 -1
  56. package/dist/api/app/bsky/feed/getPostThread.js +1 -1
  57. package/dist/api/app/bsky/feed/getPostThread.js.map +1 -1
  58. package/dist/api/app/bsky/feed/getTimeline.js +1 -1
  59. package/dist/api/app/bsky/feed/getTimeline.js.map +1 -1
  60. package/dist/api/app/bsky/feed/index.js +1 -1
  61. package/dist/api/app/bsky/feed/index.js.map +1 -1
  62. package/dist/api/app/bsky/index.js +1 -1
  63. package/dist/api/app/bsky/index.js.map +1 -1
  64. package/dist/api/app/bsky/notification/index.js +1 -1
  65. package/dist/api/app/bsky/notification/index.js.map +1 -1
  66. package/dist/api/app/bsky/notification/registerPush.js +1 -1
  67. package/dist/api/app/bsky/notification/registerPush.js.map +1 -1
  68. package/dist/api/app/bsky/util/resolver.d.ts.map +1 -1
  69. package/dist/api/com/atproto/admin/deleteAccount.js +1 -1
  70. package/dist/api/com/atproto/admin/deleteAccount.js.map +1 -1
  71. package/dist/api/com/atproto/admin/disableAccountInvites.js +1 -1
  72. package/dist/api/com/atproto/admin/disableAccountInvites.js.map +1 -1
  73. package/dist/api/com/atproto/admin/disableInviteCodes.js +1 -1
  74. package/dist/api/com/atproto/admin/disableInviteCodes.js.map +1 -1
  75. package/dist/api/com/atproto/admin/enableAccountInvites.js +1 -1
  76. package/dist/api/com/atproto/admin/enableAccountInvites.js.map +1 -1
  77. package/dist/api/com/atproto/admin/getAccountInfo.js +1 -1
  78. package/dist/api/com/atproto/admin/getAccountInfo.js.map +1 -1
  79. package/dist/api/com/atproto/admin/getAccountInfos.js +1 -1
  80. package/dist/api/com/atproto/admin/getAccountInfos.js.map +1 -1
  81. package/dist/api/com/atproto/admin/getInviteCodes.js +1 -1
  82. package/dist/api/com/atproto/admin/getInviteCodes.js.map +1 -1
  83. package/dist/api/com/atproto/admin/getSubjectStatus.js +1 -1
  84. package/dist/api/com/atproto/admin/getSubjectStatus.js.map +1 -1
  85. package/dist/api/com/atproto/admin/index.js +1 -1
  86. package/dist/api/com/atproto/admin/index.js.map +1 -1
  87. package/dist/api/com/atproto/admin/sendEmail.js +1 -1
  88. package/dist/api/com/atproto/admin/sendEmail.js.map +1 -1
  89. package/dist/api/com/atproto/admin/updateAccountEmail.js +1 -1
  90. package/dist/api/com/atproto/admin/updateAccountEmail.js.map +1 -1
  91. package/dist/api/com/atproto/admin/updateAccountHandle.js +1 -1
  92. package/dist/api/com/atproto/admin/updateAccountHandle.js.map +1 -1
  93. package/dist/api/com/atproto/admin/updateAccountPassword.js +1 -1
  94. package/dist/api/com/atproto/admin/updateAccountPassword.js.map +1 -1
  95. package/dist/api/com/atproto/admin/updateSubjectStatus.js +1 -1
  96. package/dist/api/com/atproto/admin/updateSubjectStatus.js.map +1 -1
  97. package/dist/api/com/atproto/admin/util.js +2 -3
  98. package/dist/api/com/atproto/admin/util.js.map +1 -1
  99. package/dist/api/com/atproto/identity/getRecommendedDidCredentials.js +1 -1
  100. package/dist/api/com/atproto/identity/getRecommendedDidCredentials.js.map +1 -1
  101. package/dist/api/com/atproto/identity/index.js +1 -1
  102. package/dist/api/com/atproto/identity/index.js.map +1 -1
  103. package/dist/api/com/atproto/identity/requestPlcOperationSignature.js +1 -1
  104. package/dist/api/com/atproto/identity/requestPlcOperationSignature.js.map +1 -1
  105. package/dist/api/com/atproto/identity/resolveHandle.js +1 -1
  106. package/dist/api/com/atproto/identity/resolveHandle.js.map +1 -1
  107. package/dist/api/com/atproto/identity/signPlcOperation.js +1 -1
  108. package/dist/api/com/atproto/identity/signPlcOperation.js.map +1 -1
  109. package/dist/api/com/atproto/identity/submitPlcOperation.js +1 -1
  110. package/dist/api/com/atproto/identity/submitPlcOperation.js.map +1 -1
  111. package/dist/api/com/atproto/identity/updateHandle.d.ts.map +1 -1
  112. package/dist/api/com/atproto/identity/updateHandle.js +16 -6
  113. package/dist/api/com/atproto/identity/updateHandle.js.map +1 -1
  114. package/dist/api/com/atproto/index.js +1 -1
  115. package/dist/api/com/atproto/index.js.map +1 -1
  116. package/dist/api/com/atproto/repo/applyWrites.js +1 -1
  117. package/dist/api/com/atproto/repo/applyWrites.js.map +1 -1
  118. package/dist/api/com/atproto/repo/createRecord.js +1 -1
  119. package/dist/api/com/atproto/repo/createRecord.js.map +1 -1
  120. package/dist/api/com/atproto/repo/deleteRecord.js +1 -1
  121. package/dist/api/com/atproto/repo/deleteRecord.js.map +1 -1
  122. package/dist/api/com/atproto/repo/describeRepo.js +1 -1
  123. package/dist/api/com/atproto/repo/describeRepo.js.map +1 -1
  124. package/dist/api/com/atproto/repo/getRecord.js +1 -1
  125. package/dist/api/com/atproto/repo/getRecord.js.map +1 -1
  126. package/dist/api/com/atproto/repo/importRepo.js +1 -1
  127. package/dist/api/com/atproto/repo/importRepo.js.map +1 -1
  128. package/dist/api/com/atproto/repo/index.js +1 -1
  129. package/dist/api/com/atproto/repo/index.js.map +1 -1
  130. package/dist/api/com/atproto/repo/listMissingBlobs.js +1 -1
  131. package/dist/api/com/atproto/repo/listMissingBlobs.js.map +1 -1
  132. package/dist/api/com/atproto/repo/listRecords.js +1 -1
  133. package/dist/api/com/atproto/repo/listRecords.js.map +1 -1
  134. package/dist/api/com/atproto/repo/putRecord.js +1 -1
  135. package/dist/api/com/atproto/repo/putRecord.js.map +1 -1
  136. package/dist/api/com/atproto/repo/uploadBlob.js +1 -1
  137. package/dist/api/com/atproto/repo/uploadBlob.js.map +1 -1
  138. package/dist/api/com/atproto/server/activateAccount.js +1 -1
  139. package/dist/api/com/atproto/server/activateAccount.js.map +1 -1
  140. package/dist/api/com/atproto/server/checkAccountStatus.js +1 -1
  141. package/dist/api/com/atproto/server/checkAccountStatus.js.map +1 -1
  142. package/dist/api/com/atproto/server/confirmEmail.js +1 -1
  143. package/dist/api/com/atproto/server/confirmEmail.js.map +1 -1
  144. package/dist/api/com/atproto/server/createAccount.js +1 -1
  145. package/dist/api/com/atproto/server/createAccount.js.map +1 -1
  146. package/dist/api/com/atproto/server/createAppPassword.js +1 -1
  147. package/dist/api/com/atproto/server/createAppPassword.js.map +1 -1
  148. package/dist/api/com/atproto/server/createInviteCode.js +1 -1
  149. package/dist/api/com/atproto/server/createInviteCode.js.map +1 -1
  150. package/dist/api/com/atproto/server/createInviteCodes.js +1 -1
  151. package/dist/api/com/atproto/server/createInviteCodes.js.map +1 -1
  152. package/dist/api/com/atproto/server/createSession.js +1 -1
  153. package/dist/api/com/atproto/server/createSession.js.map +1 -1
  154. package/dist/api/com/atproto/server/deactivateAccount.js +1 -1
  155. package/dist/api/com/atproto/server/deactivateAccount.js.map +1 -1
  156. package/dist/api/com/atproto/server/deleteAccount.js +1 -1
  157. package/dist/api/com/atproto/server/deleteAccount.js.map +1 -1
  158. package/dist/api/com/atproto/server/deleteSession.js +1 -1
  159. package/dist/api/com/atproto/server/deleteSession.js.map +1 -1
  160. package/dist/api/com/atproto/server/describeServer.js +1 -1
  161. package/dist/api/com/atproto/server/describeServer.js.map +1 -1
  162. package/dist/api/com/atproto/server/getAccountInviteCodes.js +1 -1
  163. package/dist/api/com/atproto/server/getAccountInviteCodes.js.map +1 -1
  164. package/dist/api/com/atproto/server/getServiceAuth.js +1 -1
  165. package/dist/api/com/atproto/server/getServiceAuth.js.map +1 -1
  166. package/dist/api/com/atproto/server/getSession.js +1 -1
  167. package/dist/api/com/atproto/server/getSession.js.map +1 -1
  168. package/dist/api/com/atproto/server/index.js +1 -1
  169. package/dist/api/com/atproto/server/index.js.map +1 -1
  170. package/dist/api/com/atproto/server/listAppPasswords.js +1 -1
  171. package/dist/api/com/atproto/server/listAppPasswords.js.map +1 -1
  172. package/dist/api/com/atproto/server/refreshSession.js +1 -1
  173. package/dist/api/com/atproto/server/refreshSession.js.map +1 -1
  174. package/dist/api/com/atproto/server/requestAccountDelete.js +1 -1
  175. package/dist/api/com/atproto/server/requestAccountDelete.js.map +1 -1
  176. package/dist/api/com/atproto/server/requestEmailConfirmation.js +1 -1
  177. package/dist/api/com/atproto/server/requestEmailConfirmation.js.map +1 -1
  178. package/dist/api/com/atproto/server/requestEmailUpdate.js +1 -1
  179. package/dist/api/com/atproto/server/requestEmailUpdate.js.map +1 -1
  180. package/dist/api/com/atproto/server/requestPasswordReset.js +1 -1
  181. package/dist/api/com/atproto/server/requestPasswordReset.js.map +1 -1
  182. package/dist/api/com/atproto/server/reserveSigningKey.js +1 -1
  183. package/dist/api/com/atproto/server/reserveSigningKey.js.map +1 -1
  184. package/dist/api/com/atproto/server/resetPassword.js +1 -1
  185. package/dist/api/com/atproto/server/resetPassword.js.map +1 -1
  186. package/dist/api/com/atproto/server/revokeAppPassword.js +1 -1
  187. package/dist/api/com/atproto/server/revokeAppPassword.js.map +1 -1
  188. package/dist/api/com/atproto/server/updateEmail.js +1 -1
  189. package/dist/api/com/atproto/server/updateEmail.js.map +1 -1
  190. package/dist/api/com/atproto/server/util.d.ts.map +1 -1
  191. package/dist/api/com/atproto/sync/deprecated/getCheckout.js +1 -1
  192. package/dist/api/com/atproto/sync/deprecated/getCheckout.js.map +1 -1
  193. package/dist/api/com/atproto/sync/deprecated/getHead.js +1 -1
  194. package/dist/api/com/atproto/sync/deprecated/getHead.js.map +1 -1
  195. package/dist/api/com/atproto/sync/getBlob.js +1 -1
  196. package/dist/api/com/atproto/sync/getBlob.js.map +1 -1
  197. package/dist/api/com/atproto/sync/getBlocks.js +1 -1
  198. package/dist/api/com/atproto/sync/getBlocks.js.map +1 -1
  199. package/dist/api/com/atproto/sync/getLatestCommit.js +1 -1
  200. package/dist/api/com/atproto/sync/getLatestCommit.js.map +1 -1
  201. package/dist/api/com/atproto/sync/getRecord.js +1 -1
  202. package/dist/api/com/atproto/sync/getRecord.js.map +1 -1
  203. package/dist/api/com/atproto/sync/getRepo.d.ts +0 -1
  204. package/dist/api/com/atproto/sync/getRepo.d.ts.map +1 -1
  205. package/dist/api/com/atproto/sync/getRepo.js +1 -1
  206. package/dist/api/com/atproto/sync/getRepo.js.map +1 -1
  207. package/dist/api/com/atproto/sync/getRepoStatus.js +1 -1
  208. package/dist/api/com/atproto/sync/getRepoStatus.js.map +1 -1
  209. package/dist/api/com/atproto/sync/index.js +1 -1
  210. package/dist/api/com/atproto/sync/index.js.map +1 -1
  211. package/dist/api/com/atproto/sync/listBlobs.js +1 -1
  212. package/dist/api/com/atproto/sync/listBlobs.js.map +1 -1
  213. package/dist/api/com/atproto/sync/listRepos.js +1 -1
  214. package/dist/api/com/atproto/sync/listRepos.js.map +1 -1
  215. package/dist/api/com/atproto/sync/subscribeRepos.js +1 -1
  216. package/dist/api/com/atproto/sync/subscribeRepos.js.map +1 -1
  217. package/dist/api/com/atproto/sync/util.d.ts.map +1 -1
  218. package/dist/api/com/atproto/temp/checkSignupQueue.js +1 -1
  219. package/dist/api/com/atproto/temp/checkSignupQueue.js.map +1 -1
  220. package/dist/api/com/atproto/temp/index.js +1 -1
  221. package/dist/api/com/atproto/temp/index.js.map +1 -1
  222. package/dist/api/index.js +1 -1
  223. package/dist/api/index.js.map +1 -1
  224. package/dist/api/proxy.d.ts +0 -1
  225. package/dist/api/proxy.d.ts.map +1 -1
  226. package/dist/api/proxy.js +2 -2
  227. package/dist/api/proxy.js.map +1 -1
  228. package/dist/auth-routes.d.ts.map +1 -1
  229. package/dist/auth-routes.js +1 -0
  230. package/dist/auth-routes.js.map +1 -1
  231. package/dist/auth-verifier.d.ts +0 -1
  232. package/dist/auth-verifier.d.ts.map +1 -1
  233. package/dist/basic-routes.d.ts.map +1 -1
  234. package/dist/db/cast.d.ts +1 -1
  235. package/dist/db/cast.d.ts.map +1 -1
  236. package/dist/db/cast.js +2 -2
  237. package/dist/db/cast.js.map +1 -1
  238. package/dist/db/pagination.d.ts +1 -1
  239. package/dist/db/pagination.d.ts.map +1 -1
  240. package/dist/db/util.d.ts.map +1 -1
  241. package/dist/did-cache/db/index.d.ts.map +1 -1
  242. package/dist/did-cache/db/migrations.d.ts.map +1 -1
  243. package/dist/disk-blobstore.d.ts +0 -1
  244. package/dist/disk-blobstore.d.ts.map +1 -1
  245. package/dist/handle/index.d.ts.map +1 -1
  246. package/dist/image/index.d.ts +0 -1
  247. package/dist/image/index.d.ts.map +1 -1
  248. package/dist/image/index.js +3 -3
  249. package/dist/image/index.js.map +1 -1
  250. package/dist/index.d.ts +0 -3
  251. package/dist/index.d.ts.map +1 -1
  252. package/dist/lexicon/index.js +2 -2
  253. package/dist/lexicon/index.js.map +1 -1
  254. package/dist/lexicon/types/app/bsky/actor/defs.js +48 -49
  255. package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
  256. package/dist/lexicon/types/app/bsky/actor/profile.js +2 -3
  257. package/dist/lexicon/types/app/bsky/actor/profile.js.map +1 -1
  258. package/dist/lexicon/types/app/bsky/embed/defs.js +2 -3
  259. package/dist/lexicon/types/app/bsky/embed/defs.js.map +1 -1
  260. package/dist/lexicon/types/app/bsky/embed/external.js +8 -9
  261. package/dist/lexicon/types/app/bsky/embed/external.js.map +1 -1
  262. package/dist/lexicon/types/app/bsky/embed/images.js +8 -9
  263. package/dist/lexicon/types/app/bsky/embed/images.js.map +1 -1
  264. package/dist/lexicon/types/app/bsky/embed/record.js +12 -13
  265. package/dist/lexicon/types/app/bsky/embed/record.js.map +1 -1
  266. package/dist/lexicon/types/app/bsky/embed/recordWithMedia.js +4 -5
  267. package/dist/lexicon/types/app/bsky/embed/recordWithMedia.js.map +1 -1
  268. package/dist/lexicon/types/app/bsky/embed/video.js +6 -7
  269. package/dist/lexicon/types/app/bsky/embed/video.js.map +1 -1
  270. package/dist/lexicon/types/app/bsky/feed/defs.js +35 -35
  271. package/dist/lexicon/types/app/bsky/feed/defs.js.map +1 -1
  272. package/dist/lexicon/types/app/bsky/feed/describeFeedGenerator.js +4 -5
  273. package/dist/lexicon/types/app/bsky/feed/describeFeedGenerator.js.map +1 -1
  274. package/dist/lexicon/types/app/bsky/feed/generator.js +2 -3
  275. package/dist/lexicon/types/app/bsky/feed/generator.js.map +1 -1
  276. package/dist/lexicon/types/app/bsky/feed/getLikes.js +2 -3
  277. package/dist/lexicon/types/app/bsky/feed/getLikes.js.map +1 -1
  278. package/dist/lexicon/types/app/bsky/feed/like.js +2 -3
  279. package/dist/lexicon/types/app/bsky/feed/like.js.map +1 -1
  280. package/dist/lexicon/types/app/bsky/feed/post.js +8 -9
  281. package/dist/lexicon/types/app/bsky/feed/post.js.map +1 -1
  282. package/dist/lexicon/types/app/bsky/feed/postgate.js +4 -5
  283. package/dist/lexicon/types/app/bsky/feed/postgate.js.map +1 -1
  284. package/dist/lexicon/types/app/bsky/feed/repost.js +2 -3
  285. package/dist/lexicon/types/app/bsky/feed/repost.js.map +1 -1
  286. package/dist/lexicon/types/app/bsky/feed/threadgate.js +8 -9
  287. package/dist/lexicon/types/app/bsky/feed/threadgate.js.map +1 -1
  288. package/dist/lexicon/types/app/bsky/graph/block.js +2 -3
  289. package/dist/lexicon/types/app/bsky/graph/block.js.map +1 -1
  290. package/dist/lexicon/types/app/bsky/graph/defs.js +17 -17
  291. package/dist/lexicon/types/app/bsky/graph/defs.js.map +1 -1
  292. package/dist/lexicon/types/app/bsky/graph/follow.js +2 -3
  293. package/dist/lexicon/types/app/bsky/graph/follow.js.map +1 -1
  294. package/dist/lexicon/types/app/bsky/graph/list.js +2 -3
  295. package/dist/lexicon/types/app/bsky/graph/list.js.map +1 -1
  296. package/dist/lexicon/types/app/bsky/graph/listblock.js +2 -3
  297. package/dist/lexicon/types/app/bsky/graph/listblock.js.map +1 -1
  298. package/dist/lexicon/types/app/bsky/graph/listitem.js +2 -3
  299. package/dist/lexicon/types/app/bsky/graph/listitem.js.map +1 -1
  300. package/dist/lexicon/types/app/bsky/graph/starterpack.js +4 -5
  301. package/dist/lexicon/types/app/bsky/graph/starterpack.js.map +1 -1
  302. package/dist/lexicon/types/app/bsky/labeler/defs.js +8 -9
  303. package/dist/lexicon/types/app/bsky/labeler/defs.js.map +1 -1
  304. package/dist/lexicon/types/app/bsky/labeler/service.js +2 -3
  305. package/dist/lexicon/types/app/bsky/labeler/service.js.map +1 -1
  306. package/dist/lexicon/types/app/bsky/notification/listNotifications.js +2 -3
  307. package/dist/lexicon/types/app/bsky/notification/listNotifications.js.map +1 -1
  308. package/dist/lexicon/types/app/bsky/richtext/facet.js +10 -11
  309. package/dist/lexicon/types/app/bsky/richtext/facet.js.map +1 -1
  310. package/dist/lexicon/types/app/bsky/unspecced/defs.js +4 -5
  311. package/dist/lexicon/types/app/bsky/unspecced/defs.js.map +1 -1
  312. package/dist/lexicon/types/app/bsky/unspecced/getTaggedSuggestions.js +2 -3
  313. package/dist/lexicon/types/app/bsky/unspecced/getTaggedSuggestions.js.map +1 -1
  314. package/dist/lexicon/types/app/bsky/video/defs.js +2 -3
  315. package/dist/lexicon/types/app/bsky/video/defs.js.map +1 -1
  316. package/dist/lexicon/types/app/bsky/video/uploadVideo.d.ts +0 -2
  317. package/dist/lexicon/types/app/bsky/video/uploadVideo.d.ts.map +1 -1
  318. package/dist/lexicon/types/chat/bsky/actor/declaration.js +2 -3
  319. package/dist/lexicon/types/chat/bsky/actor/declaration.js.map +1 -1
  320. package/dist/lexicon/types/chat/bsky/actor/defs.js +2 -3
  321. package/dist/lexicon/types/chat/bsky/actor/defs.js.map +1 -1
  322. package/dist/lexicon/types/chat/bsky/actor/exportAccountData.d.ts +0 -1
  323. package/dist/lexicon/types/chat/bsky/actor/exportAccountData.d.ts.map +1 -1
  324. package/dist/lexicon/types/chat/bsky/convo/defs.js +20 -21
  325. package/dist/lexicon/types/chat/bsky/convo/defs.js.map +1 -1
  326. package/dist/lexicon/types/chat/bsky/convo/sendMessageBatch.js +2 -3
  327. package/dist/lexicon/types/chat/bsky/convo/sendMessageBatch.js.map +1 -1
  328. package/dist/lexicon/types/chat/bsky/moderation/getActorMetadata.js +2 -3
  329. package/dist/lexicon/types/chat/bsky/moderation/getActorMetadata.js.map +1 -1
  330. package/dist/lexicon/types/com/atproto/admin/defs.js +8 -9
  331. package/dist/lexicon/types/com/atproto/admin/defs.js.map +1 -1
  332. package/dist/lexicon/types/com/atproto/label/defs.js +10 -11
  333. package/dist/lexicon/types/com/atproto/label/defs.js.map +1 -1
  334. package/dist/lexicon/types/com/atproto/label/subscribeLabels.d.ts +0 -3
  335. package/dist/lexicon/types/com/atproto/label/subscribeLabels.d.ts.map +1 -1
  336. package/dist/lexicon/types/com/atproto/label/subscribeLabels.js +4 -5
  337. package/dist/lexicon/types/com/atproto/label/subscribeLabels.js.map +1 -1
  338. package/dist/lexicon/types/com/atproto/repo/applyWrites.js +12 -13
  339. package/dist/lexicon/types/com/atproto/repo/applyWrites.js.map +1 -1
  340. package/dist/lexicon/types/com/atproto/repo/defs.js +2 -3
  341. package/dist/lexicon/types/com/atproto/repo/defs.js.map +1 -1
  342. package/dist/lexicon/types/com/atproto/repo/importRepo.d.ts +0 -2
  343. package/dist/lexicon/types/com/atproto/repo/importRepo.d.ts.map +1 -1
  344. package/dist/lexicon/types/com/atproto/repo/listMissingBlobs.js +2 -3
  345. package/dist/lexicon/types/com/atproto/repo/listMissingBlobs.js.map +1 -1
  346. package/dist/lexicon/types/com/atproto/repo/listRecords.js +2 -3
  347. package/dist/lexicon/types/com/atproto/repo/listRecords.js.map +1 -1
  348. package/dist/lexicon/types/com/atproto/repo/strongRef.js +2 -3
  349. package/dist/lexicon/types/com/atproto/repo/strongRef.js.map +1 -1
  350. package/dist/lexicon/types/com/atproto/repo/uploadBlob.d.ts +0 -2
  351. package/dist/lexicon/types/com/atproto/repo/uploadBlob.d.ts.map +1 -1
  352. package/dist/lexicon/types/com/atproto/server/createAppPassword.js +2 -3
  353. package/dist/lexicon/types/com/atproto/server/createAppPassword.js.map +1 -1
  354. package/dist/lexicon/types/com/atproto/server/createInviteCodes.js +2 -3
  355. package/dist/lexicon/types/com/atproto/server/createInviteCodes.js.map +1 -1
  356. package/dist/lexicon/types/com/atproto/server/defs.js +4 -5
  357. package/dist/lexicon/types/com/atproto/server/defs.js.map +1 -1
  358. package/dist/lexicon/types/com/atproto/server/describeServer.js +4 -5
  359. package/dist/lexicon/types/com/atproto/server/describeServer.js.map +1 -1
  360. package/dist/lexicon/types/com/atproto/server/listAppPasswords.js +2 -3
  361. package/dist/lexicon/types/com/atproto/server/listAppPasswords.js.map +1 -1
  362. package/dist/lexicon/types/com/atproto/sync/getBlob.d.ts +0 -1
  363. package/dist/lexicon/types/com/atproto/sync/getBlob.d.ts.map +1 -1
  364. package/dist/lexicon/types/com/atproto/sync/getBlocks.d.ts +0 -1
  365. package/dist/lexicon/types/com/atproto/sync/getBlocks.d.ts.map +1 -1
  366. package/dist/lexicon/types/com/atproto/sync/getCheckout.d.ts +0 -1
  367. package/dist/lexicon/types/com/atproto/sync/getCheckout.d.ts.map +1 -1
  368. package/dist/lexicon/types/com/atproto/sync/getRecord.d.ts +0 -1
  369. package/dist/lexicon/types/com/atproto/sync/getRecord.d.ts.map +1 -1
  370. package/dist/lexicon/types/com/atproto/sync/getRepo.d.ts +0 -1
  371. package/dist/lexicon/types/com/atproto/sync/getRepo.d.ts.map +1 -1
  372. package/dist/lexicon/types/com/atproto/sync/listRepos.js +2 -3
  373. package/dist/lexicon/types/com/atproto/sync/listRepos.js.map +1 -1
  374. package/dist/lexicon/types/com/atproto/sync/subscribeRepos.d.ts +0 -3
  375. package/dist/lexicon/types/com/atproto/sync/subscribeRepos.d.ts.map +1 -1
  376. package/dist/lexicon/types/com/atproto/sync/subscribeRepos.js +16 -17
  377. package/dist/lexicon/types/com/atproto/sync/subscribeRepos.js.map +1 -1
  378. package/dist/lexicon/types/tools/ozone/communication/defs.js +2 -3
  379. package/dist/lexicon/types/tools/ozone/communication/defs.js.map +1 -1
  380. package/dist/lexicon/types/tools/ozone/moderation/defs.js +59 -60
  381. package/dist/lexicon/types/tools/ozone/moderation/defs.js.map +1 -1
  382. package/dist/lexicon/types/tools/ozone/server/getConfig.js +4 -5
  383. package/dist/lexicon/types/tools/ozone/server/getConfig.js.map +1 -1
  384. package/dist/lexicon/types/tools/ozone/set/defs.js +4 -5
  385. package/dist/lexicon/types/tools/ozone/set/defs.js.map +1 -1
  386. package/dist/lexicon/types/tools/ozone/signature/defs.js +2 -3
  387. package/dist/lexicon/types/tools/ozone/signature/defs.js.map +1 -1
  388. package/dist/lexicon/types/tools/ozone/signature/findRelatedAccounts.js +2 -3
  389. package/dist/lexicon/types/tools/ozone/signature/findRelatedAccounts.js.map +1 -1
  390. package/dist/lexicon/types/tools/ozone/team/defs.js +3 -3
  391. package/dist/lexicon/types/tools/ozone/team/defs.js.map +1 -1
  392. package/dist/lexicon/util.js +2 -3
  393. package/dist/lexicon/util.js.map +1 -1
  394. package/dist/logger.d.ts +0 -2
  395. package/dist/logger.d.ts.map +1 -1
  396. package/dist/oauth/provider.d.ts +0 -2
  397. package/dist/oauth/provider.d.ts.map +1 -1
  398. package/dist/pipethrough.d.ts +1 -3
  399. package/dist/pipethrough.d.ts.map +1 -1
  400. package/dist/pipethrough.js +5 -5
  401. package/dist/pipethrough.js.map +1 -1
  402. package/dist/read-after-write/util.d.ts +0 -1
  403. package/dist/read-after-write/util.d.ts.map +1 -1
  404. package/dist/read-after-write/viewer.d.ts.map +1 -1
  405. package/dist/repo/prepare.d.ts.map +1 -1
  406. package/dist/sequencer/db/index.d.ts.map +1 -1
  407. package/dist/sequencer/db/migrations/001-init.js +2 -3
  408. package/dist/sequencer/db/migrations/001-init.js.map +1 -1
  409. package/dist/sequencer/events.d.ts.map +1 -1
  410. package/dist/sequencer/events.js +4 -1
  411. package/dist/sequencer/events.js.map +1 -1
  412. package/dist/sequencer/outbox.d.ts +0 -1
  413. package/dist/sequencer/outbox.d.ts.map +1 -1
  414. package/dist/sequencer/sequencer.d.ts.map +1 -1
  415. package/dist/util/compression.js +1 -1
  416. package/dist/util/compression.js.map +1 -1
  417. package/dist/util/debug.d.ts.map +1 -1
  418. package/dist/well-known.d.ts.map +1 -1
  419. package/jest.config.js +5 -1
  420. package/package.json +7 -4
  421. package/src/api/com/atproto/identity/updateHandle.ts +22 -4
  422. package/src/auth-routes.ts +1 -0
  423. package/src/sequencer/events.ts +4 -1
  424. package/tests/oauth.test.ts +152 -0
  425. package/tests/proxied/proxy-catchall.test.ts +3 -3
  426. package/tests/proxied/proxy-header.test.ts +8 -3
  427. package/tests/sequencer.test.ts +46 -2
  428. package/tsconfig.build.tsbuildinfo +1 -0
  429. package/tsconfig.tests.tsbuildinfo +1 -0
@@ -1,24 +1,23 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.validateSetView = exports.isSetView = exports.validateSet = exports.isSet = void 0;
3
+ exports.isSet = isSet;
4
+ exports.validateSet = validateSet;
5
+ exports.isSetView = isSetView;
6
+ exports.validateSetView = validateSetView;
4
7
  const lexicons_1 = require("../../../../lexicons");
5
8
  const util_1 = require("../../../../util");
6
9
  function isSet(v) {
7
10
  return ((0, util_1.isObj)(v) && (0, util_1.hasProp)(v, '$type') && v.$type === 'tools.ozone.set.defs#set');
8
11
  }
9
- exports.isSet = isSet;
10
12
  function validateSet(v) {
11
13
  return lexicons_1.lexicons.validate('tools.ozone.set.defs#set', v);
12
14
  }
13
- exports.validateSet = validateSet;
14
15
  function isSetView(v) {
15
16
  return ((0, util_1.isObj)(v) &&
16
17
  (0, util_1.hasProp)(v, '$type') &&
17
18
  v.$type === 'tools.ozone.set.defs#setView');
18
19
  }
19
- exports.isSetView = isSetView;
20
20
  function validateSetView(v) {
21
21
  return lexicons_1.lexicons.validate('tools.ozone.set.defs#setView', v);
22
22
  }
23
- exports.validateSetView = validateSetView;
24
23
  //# sourceMappingURL=defs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/set/defs.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;AASjD,SAAgB,KAAK,CAAC,CAAU;IAC9B,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC,IAAI,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK,0BAA0B,CAC1E,CAAA;AACH,CAAC;AAJD,sBAIC;AAED,SAAgB,WAAW,CAAC,CAAU;IACpC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,0BAA0B,EAAE,CAAC,CAAC,CAAA;AACzD,CAAC;AAFD,kCAEC;AAWD,SAAgB,SAAS,CAAC,CAAU;IAClC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,8BAA8B,CAC3C,CAAA;AACH,CAAC;AAND,8BAMC;AAED,SAAgB,eAAe,CAAC,CAAU;IACxC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAA;AAC7D,CAAC;AAFD,0CAEC"}
1
+ {"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/set/defs.ts"],"names":[],"mappings":";;AAcA,sBAIC;AAED,kCAEC;AAWD,8BAMC;AAED,0CAEC;AAvCD,mDAA+C;AAC/C,2CAAiD;AASjD,SAAgB,KAAK,CAAC,CAAU;IAC9B,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC,IAAI,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK,0BAA0B,CAC1E,CAAA;AACH,CAAC;AAED,SAAgB,WAAW,CAAC,CAAU;IACpC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,0BAA0B,EAAE,CAAC,CAAC,CAAA;AACzD,CAAC;AAWD,SAAgB,SAAS,CAAC,CAAU;IAClC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,8BAA8B,CAC3C,CAAA;AACH,CAAC;AAED,SAAgB,eAAe,CAAC,CAAU;IACxC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAA;AAC7D,CAAC"}
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.validateSigDetail = exports.isSigDetail = void 0;
3
+ exports.isSigDetail = isSigDetail;
4
+ exports.validateSigDetail = validateSigDetail;
4
5
  const lexicons_1 = require("../../../../lexicons");
5
6
  const util_1 = require("../../../../util");
6
7
  function isSigDetail(v) {
@@ -8,9 +9,7 @@ function isSigDetail(v) {
8
9
  (0, util_1.hasProp)(v, '$type') &&
9
10
  v.$type === 'tools.ozone.signature.defs#sigDetail');
10
11
  }
11
- exports.isSigDetail = isSigDetail;
12
12
  function validateSigDetail(v) {
13
13
  return lexicons_1.lexicons.validate('tools.ozone.signature.defs#sigDetail', v);
14
14
  }
15
- exports.validateSigDetail = validateSigDetail;
16
15
  //# sourceMappingURL=defs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/signature/defs.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;AASjD,SAAgB,WAAW,CAAC,CAAU;IACpC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,sCAAsC,CACnD,CAAA;AACH,CAAC;AAND,kCAMC;AAED,SAAgB,iBAAiB,CAAC,CAAU;IAC1C,OAAO,mBAAQ,CAAC,QAAQ,CAAC,sCAAsC,EAAE,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,8CAEC"}
1
+ {"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/signature/defs.ts"],"names":[],"mappings":";;AAcA,kCAMC;AAED,8CAEC;AApBD,mDAA+C;AAC/C,2CAAiD;AASjD,SAAgB,WAAW,CAAC,CAAU;IACpC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,sCAAsC,CACnD,CAAA;AACH,CAAC;AAED,SAAgB,iBAAiB,CAAC,CAAU;IAC1C,OAAO,mBAAQ,CAAC,QAAQ,CAAC,sCAAsC,EAAE,CAAC,CAAC,CAAA;AACrE,CAAC"}
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.validateRelatedAccount = exports.isRelatedAccount = void 0;
3
+ exports.isRelatedAccount = isRelatedAccount;
4
+ exports.validateRelatedAccount = validateRelatedAccount;
4
5
  const lexicons_1 = require("../../../../lexicons");
5
6
  const util_1 = require("../../../../util");
6
7
  function isRelatedAccount(v) {
@@ -8,9 +9,7 @@ function isRelatedAccount(v) {
8
9
  (0, util_1.hasProp)(v, '$type') &&
9
10
  v.$type === 'tools.ozone.signature.findRelatedAccounts#relatedAccount');
10
11
  }
11
- exports.isRelatedAccount = isRelatedAccount;
12
12
  function validateRelatedAccount(v) {
13
13
  return lexicons_1.lexicons.validate('tools.ozone.signature.findRelatedAccounts#relatedAccount', v);
14
14
  }
15
- exports.validateRelatedAccount = validateRelatedAccount;
16
15
  //# sourceMappingURL=findRelatedAccounts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"findRelatedAccounts.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/signature/findRelatedAccounts.ts"],"names":[],"mappings":";;;AAKA,mDAA+C;AAC/C,2CAAiD;AAmDjD,SAAgB,gBAAgB,CAAC,CAAU;IACzC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,0DAA0D,CACvE,CAAA;AACH,CAAC;AAND,4CAMC;AAED,SAAgB,sBAAsB,CAAC,CAAU;IAC/C,OAAO,mBAAQ,CAAC,QAAQ,CACtB,0DAA0D,EAC1D,CAAC,CACF,CAAA;AACH,CAAC;AALD,wDAKC"}
1
+ {"version":3,"file":"findRelatedAccounts.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/signature/findRelatedAccounts.ts"],"names":[],"mappings":";;AAyDA,4CAMC;AAED,wDAKC;AAjED,mDAA+C;AAC/C,2CAAiD;AAmDjD,SAAgB,gBAAgB,CAAC,CAAU;IACzC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,0DAA0D,CACvE,CAAA;AACH,CAAC;AAED,SAAgB,sBAAsB,CAAC,CAAU;IAC/C,OAAO,mBAAQ,CAAC,QAAQ,CACtB,0DAA0D,EAC1D,CAAC,CACF,CAAA;AACH,CAAC"}
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ROLETRIAGE = exports.ROLEMODERATOR = exports.ROLEADMIN = exports.validateMember = exports.isMember = void 0;
3
+ exports.ROLETRIAGE = exports.ROLEMODERATOR = exports.ROLEADMIN = void 0;
4
+ exports.isMember = isMember;
5
+ exports.validateMember = validateMember;
4
6
  const lexicons_1 = require("../../../../lexicons");
5
7
  const util_1 = require("../../../../util");
6
8
  function isMember(v) {
@@ -8,11 +10,9 @@ function isMember(v) {
8
10
  (0, util_1.hasProp)(v, '$type') &&
9
11
  v.$type === 'tools.ozone.team.defs#member');
10
12
  }
11
- exports.isMember = isMember;
12
13
  function validateMember(v) {
13
14
  return lexicons_1.lexicons.validate('tools.ozone.team.defs#member', v);
14
15
  }
15
- exports.validateMember = validateMember;
16
16
  /** Admin role. Highest level of access, can perform all actions. */
17
17
  exports.ROLEADMIN = 'tools.ozone.team.defs#roleAdmin';
18
18
  /** Moderator role. Can perform most actions. */
@@ -1 +1 @@
1
- {"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/team/defs.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;AAmBjD,SAAgB,QAAQ,CAAC,CAAU;IACjC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,8BAA8B,CAC3C,CAAA;AACH,CAAC;AAND,4BAMC;AAED,SAAgB,cAAc,CAAC,CAAU;IACvC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAA;AAC7D,CAAC;AAFD,wCAEC;AAED,oEAAoE;AACvD,QAAA,SAAS,GAAG,iCAAiC,CAAA;AAC1D,gDAAgD;AACnC,QAAA,aAAa,GAAG,qCAAqC,CAAA;AAClE,yEAAyE;AAC5D,QAAA,UAAU,GAAG,kCAAkC,CAAA"}
1
+ {"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/team/defs.ts"],"names":[],"mappings":";;;AAwBA,4BAMC;AAED,wCAEC;AA9BD,mDAA+C;AAC/C,2CAAiD;AAmBjD,SAAgB,QAAQ,CAAC,CAAU;IACjC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,8BAA8B,CAC3C,CAAA;AACH,CAAC;AAED,SAAgB,cAAc,CAAC,CAAU;IACvC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAA;AAC7D,CAAC;AAED,oEAAoE;AACvD,QAAA,SAAS,GAAG,iCAAiC,CAAA;AAC1D,gDAAgD;AACnC,QAAA,aAAa,GAAG,qCAAqC,CAAA;AAClE,yEAAyE;AAC5D,QAAA,UAAU,GAAG,kCAAkC,CAAA"}
@@ -1,15 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.hasProp = exports.isObj = void 0;
3
+ exports.isObj = isObj;
4
+ exports.hasProp = hasProp;
4
5
  /**
5
6
  * GENERATED CODE - DO NOT MODIFY
6
7
  */
7
8
  function isObj(v) {
8
9
  return typeof v === 'object' && v !== null;
9
10
  }
10
- exports.isObj = isObj;
11
11
  function hasProp(data, prop) {
12
12
  return prop in data;
13
13
  }
14
- exports.hasProp = hasProp;
15
14
  //# sourceMappingURL=util.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"util.js","sourceRoot":"","sources":["../../src/lexicon/util.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,SAAgB,KAAK,CAAC,CAAU;IAC9B,OAAO,OAAO,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,IAAI,CAAA;AAC5C,CAAC;AAFD,sBAEC;AAED,SAAgB,OAAO,CACrB,IAAY,EACZ,IAAO;IAEP,OAAO,IAAI,IAAI,IAAI,CAAA;AACrB,CAAC;AALD,0BAKC"}
1
+ {"version":3,"file":"util.js","sourceRoot":"","sources":["../../src/lexicon/util.ts"],"names":[],"mappings":";;AAGA,sBAEC;AAED,0BAKC;AAZD;;GAEG;AACH,SAAgB,KAAK,CAAC,CAAU;IAC9B,OAAO,OAAO,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,IAAI,CAAA;AAC5C,CAAC;AAED,SAAgB,OAAO,CACrB,IAAY,EACZ,IAAO;IAEP,OAAO,IAAI,IAAI,IAAI,CAAA;AACrB,CAAC"}
package/dist/logger.d.ts CHANGED
@@ -1,5 +1,3 @@
1
- /// <reference types="node" />
2
- /// <reference types="node/http" />
3
1
  import { type IncomingMessage } from 'node:http';
4
2
  export declare const dbLogger: import("pino").default.Logger<never>;
5
3
  export declare const didCacheLogger: import("pino").default.Logger<never>;
@@ -1 +1 @@
1
- {"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../src/logger.ts"],"names":[],"mappings":";;AAAA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,WAAW,CAAA;AAKhD,eAAO,MAAM,QAAQ,sCAA4B,CAAA;AACjD,eAAO,MAAM,cAAc,sCAAmC,CAAA;AAC9D,eAAO,MAAM,gBAAgB,sCAAqC,CAAA;AAClE,eAAO,MAAM,WAAW,sCAA+B,CAAA;AACvD,eAAO,MAAM,SAAS,sCAAmC,CAAA;AACzD,eAAO,MAAM,YAAY,sCAAgC,CAAA;AACzD,eAAO,MAAM,aAAa,sCAAiC,CAAA;AAC3D,eAAO,MAAM,aAAa,sCAAiC,CAAA;AAC3D,eAAO,MAAM,UAAU,sCAAyB,CAAA;AAChD,eAAO,MAAM,WAAW,sCAA+B,CAAA;AACvD,eAAO,MAAM,WAAW,sCAA+B,CAAA;AAEvD,eAAO,MAAM,gBAAgB,wGAa3B,CAAA"}
1
+ {"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../src/logger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,WAAW,CAAA;AAKhD,eAAO,MAAM,QAAQ,sCAA4B,CAAA;AACjD,eAAO,MAAM,cAAc,sCAAmC,CAAA;AAC9D,eAAO,MAAM,gBAAgB,sCAAqC,CAAA;AAClE,eAAO,MAAM,WAAW,sCAA+B,CAAA;AACvD,eAAO,MAAM,SAAS,sCAAmC,CAAA;AACzD,eAAO,MAAM,YAAY,sCAAgC,CAAA;AACzD,eAAO,MAAM,aAAa,sCAAiC,CAAA;AAC3D,eAAO,MAAM,aAAa,sCAAiC,CAAA;AAC3D,eAAO,MAAM,UAAU,sCAAyB,CAAA;AAChD,eAAO,MAAM,WAAW,sCAA+B,CAAA;AACvD,eAAO,MAAM,WAAW,sCAA+B,CAAA;AAEvD,eAAO,MAAM,gBAAgB,wGAa3B,CAAA"}
@@ -1,5 +1,3 @@
1
- /// <reference types="node/http" />
2
- /// <reference types="pino-http" />
3
1
  import { OAuthProvider, OAuthProviderOptions } from '@atproto/oauth-provider';
4
2
  import { AccountManager } from '../account-manager/index';
5
3
  import { ActorStore } from '../actor-store/index';
@@ -1 +1 @@
1
- {"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src/oauth/provider.ts"],"names":[],"mappings":";;AAAA,OAAO,EAEL,aAAa,EACb,oBAAoB,EACrB,MAAM,yBAAyB,CAAA;AAEhC,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CA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B;IAwCtB,YAAY;CAKb"}
@@ -1,5 +1,3 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
1
  import express from 'express';
4
2
  import { Readable } from 'node:stream';
5
3
  import { CatchallHandler, HandlerPipeThroughBuffer, HandlerPipeThroughStream } from '@atproto/xrpc-server';
@@ -27,7 +25,7 @@ export declare function pipethrough(ctx: AppContext, req: express.Request, optio
27
25
  headers: Record<string, string>;
28
26
  encoding: string;
29
27
  }>;
30
- export declare const parseProxyHeader: (ctx: Pick<AppContext, 'idResolver'>, proxyTo: string) => Promise<{
28
+ export declare const parseProxyHeader: (ctx: Pick<AppContext, "idResolver">, proxyTo: string) => Promise<{
31
29
  did: string;
32
30
  url: string;
33
31
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"pipethrough.d.ts","sourceRoot":"","sources":["../src/pipethrough.ts"],"names":[],"mappings":";;AAAA,OAAO,OAAO,MAAM,SAAS,CAAA;AAE7B,OAAO,EAAe,QAAQ,EAAE,MAAM,aAAa,CAAA;AAUnD,OAAO,EACL,eAAe,EACf,wBAAwB,EACxB,wBAAwB,EAKzB,MAAM,sBAAsB,CAAA;AAE7B,OAAO,UAAU,MAAM,WAAW,CAAA;AAIlC,eAAO,MAAM,YAAY,QAAS,UAAU,KAAG,eA4E9C,CAAA;AAgBD,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,CAAA;AAED,wBAAsB,WAAW,CAC/B,GAAG,EAAE,UAAU,EACf,GAAG,EAAE,OAAO,CAAC,OAAO,EACpB,OAAO,CAAC,EAAE,kBAAkB,GAC3B,OAAO,CACR,wBAAwB,GAAG;IACzB,MAAM,EAAE,QAAQ,CAAA;IAChB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA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pB,OAAO,CAAC,EAAE,kBAAkB,GAC3B,OAAO,CACR,wBAAwB,GAAG;IACzB,MAAM,EAAE,QAAQ,CAAA;IAChB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC/B,QAAQ,EAAE,MAAM,CAAA;CACjB,CACF,CAwDA;AAqBD,eAAO,MAAM,gBAAgB,QAEtB,IAAI,CAAC,UAAU,EAAE,YAAY,CAAC,WAC1B,MAAM,KACd,OAAO,CAAC;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAoCtC,CAAA;AAuND,wBAAgB,iBAAiB,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAG3E;AAuCD,wBAAsB,sBAAsB,CAC1C,QAAQ,EAAE,QAAQ,EAClB,eAAe,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAClC,OAAO,CAAC,MAAM,CAAC,CAoBjB;AAED,wBAAsB,mBAAmB,CACvC,KAAK,EAAE,wBAAwB,GAC9B,OAAO,CAAC,wBAAwB,CAAC,CASnC;AAmCD,eAAO,MAAM,kBAAkB,aAgB7B,CAAA;AAKF,eAAO,MAAM,iBAAiB,aAgB5B,CAAA"}
@@ -1,6 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PROTECTED_METHODS = exports.PRIVILEGED_METHODS = exports.asPipeThroughBuffer = exports.bufferUpstreamResponse = exports.isJsonContentType = exports.parseProxyHeader = exports.pipethrough = exports.proxyHandler = void 0;
3
+ exports.PROTECTED_METHODS = exports.PRIVILEGED_METHODS = exports.parseProxyHeader = exports.proxyHandler = void 0;
4
+ exports.pipethrough = pipethrough;
5
+ exports.isJsonContentType = isJsonContentType;
6
+ exports.bufferUpstreamResponse = bufferUpstreamResponse;
7
+ exports.asPipeThroughBuffer = asPipeThroughBuffer;
4
8
  const node_stream_1 = require("node:stream");
5
9
  const common_1 = require("@atproto/common");
6
10
  const xrpc_1 = require("@atproto/xrpc");
@@ -124,7 +128,6 @@ async function pipethrough(ctx, req, options) {
124
128
  stream: body,
125
129
  };
126
130
  }
127
- exports.pipethrough = pipethrough;
128
131
  // Request setup/formatting
129
132
  // -------------------
130
133
  async function parseProxyInfo(ctx, req, lxm) {
@@ -321,7 +324,6 @@ function isJsonContentType(contentType) {
321
324
  return undefined;
322
325
  return /application\/(?:\w+\+)?json/i.test(contentType);
323
326
  }
324
- exports.isJsonContentType = isJsonContentType;
325
327
  async function tryParsingError(headers, readable) {
326
328
  if (isJsonContentType(headers['content-type']) === false) {
327
329
  // We don't known how to parse non JSON content types so we can discard the
@@ -364,7 +366,6 @@ async function bufferUpstreamResponse(readable, contentEncoding) {
364
366
  throw new xrpc_server_1.XRPCError(xrpc_1.ResponseType.UpstreamFailure, err instanceof TypeError ? err.message : 'unable to decode request body', undefined, { cause: err });
365
367
  }
366
368
  }
367
- exports.bufferUpstreamResponse = bufferUpstreamResponse;
368
369
  async function asPipeThroughBuffer(input) {
369
370
  return {
370
371
  buffer: await bufferUpstreamResponse(input.stream, input.headers?.['content-encoding']),
@@ -372,7 +373,6 @@ async function asPipeThroughBuffer(input) {
372
373
  encoding: input.encoding,
373
374
  };
374
375
  }
375
- exports.asPipeThroughBuffer = asPipeThroughBuffer;
376
376
  // Response parsing/forwarding
377
377
  // -------------------
378
378
  const RES_HEADERS_TO_FORWARD = ['atproto-repo-rev', 'atproto-content-labelers'];
@@ -1 +1 @@
1
- {"version":3,"file":"pipethrough.js","sourceRoot":"","sources":["../src/pipethrough.ts"],"names":[],"mappings":";;;AAEA,6CAAmD;AAGnD,4CAKwB;AACxB,wCAA0E;AAC1E,sDAQ6B;AAG7B,iDAAwC;AACxC,qCAAqC;AAE9B,MAAM,YAAY,GAAG,CAAC,GAAe,EAAmB,EAAE;IAC/D,MAAM,cAAc,GAAG,GAAG,CAAC,YAAY,CAAC,cAAc,EAAE,CAAA;IACxD,OAAO,KAAK,EA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K,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAA;AAClD,CAAC,CAAA;AAED,SAAS,gBAAgB,CAAuB,GAAY;IAC1D,mBAAU,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,EAAE,oCAAoC,CAAC,CAAA;AAChE,CAAC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { HeadersMap } from '@atproto/xrpc';
3
2
  import { HandlerPipeThrough } from '@atproto/xrpc-server';
4
3
  import express from 'express';
@@ -1 +1 @@
1
- {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../src/read-after-write/util.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EACL,kBAAkB,EAGnB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,OAAO,MAAM,SAAS,CAAA;AAE7B,OAAO,UAAU,MAAM,YAAY,CAAA;AAQnC,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAKhE,eAAO,MAAM,UAAU,YAAa,UAAU,KAAG,MAAM,GAAG,SAEzD,CAAA;AAED,eAAO,MAAM,WAAW,UAAW,YAAY,KAAG,MAAM,GAAG,SAS1D,CAAA;AAED,eAAO,MAAM,yBAAyB,WAC/B,UAAU,UACP;IAAE,GAAG,EAAE,eAAe,CAAC;IAAC,IAAI,EAAE;QAAE,WAAW,EAAE;YAAE,GAAG,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,CAAA;CAAE,SACjE,QAAQ,CAAC,CAAC,KAChB,QAAQ,gBAAgB,CAAC,CAAC,GAAG,kBAAkB,CA4CjD,CAAA;AAED,eAAO,MAAM,oBAAoB,YACzB,CAAC,QACD,MAAM,KACX,gBAAgB,CAAC,CASlB,CAAA"}
1
+ {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../src/read-after-write/util.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UA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CAAC,EAAE,GAAG,GAAG,IAAI,CAAA;CACrB,KAAG,cAOH,CAAA;AAED,eAAO,MAAM,eAAe,UAAW,cAAc,KAAG,cAKtD,CAAA;AAEF,eAAO,MAAM,eAAe,UAAW,cAAc,KAAG,cAKtD,CAAA;AAEF,eAAO,MAAM,eAAe,UAAW,cAAc,KAAG,cAItD,CAAA;AAEF,eAAO,MAAM,SAAS,UAAW,aAAa,KAAG,aAWhD,CAAA;AA4CD,KAAK,YAAY,GAAG;IAClB,GAAG,EAAE,OAAO,CAAA;IACZ,IAAI,EAAE,MAAM,EAAE,CAAA;CACf,CAAA;AAED,eAAO,MAAM,aAAa,WAChB,UAAU,YACR,OAAO,KAChB,eAAe,EAmBjB,CAAA;AAED,eAAO,MAAM,YAAY,QAClB,QAAQ,SACP,MAAM,EAAE,qBAEb,YAAY,EA6Bd,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sequencer/db/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAC7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAG5C,cAAc,UAAU,CAAA;AAExB,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC,iBAAiB,CAAC,CAAA;AAErD,eAAO,MAAM,KAAK,aACN,MAAM,oDAOjB,CAAA;AAED,eAAO,MAAM,WAAW,OAAQ,SAAS,iBAAiB,CAAC,gCAE1D,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sequencer/db/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAC7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAG5C,cAAc,UAAU,CAAA;AAExB,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC,iBAAiB,CAAC,CAAA;AAErD,eAAO,MAAM,KAAK,aACN,MAAM,yCAEf,WAKF,CAAA;AAED,eAAO,MAAM,WAAW,OAAQ,QAAQ,CAAC,iBAAiB,CAAC,gCAE1D,CAAA"}
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.down = exports.up = void 0;
3
+ exports.up = up;
4
+ exports.down = down;
4
5
  async function up(db) {
5
6
  await db.schema
6
7
  .createTable('repo_seq')
@@ -30,9 +31,7 @@ async function up(db) {
30
31
  .column('sequencedAt')
31
32
  .execute();
32
33
  }
33
- exports.up = up;
34
34
  async function down(db) {
35
35
  await db.schema.dropTable('repo_seq').execute();
36
36
  }
37
- exports.down = down;
38
37
  //# sourceMappingURL=001-init.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"001-init.js","sourceRoot":"","sources":["../../../../src/sequencer/db/migrations/001-init.ts"],"names":[],"mappings":";;;AAEO,KAAK,UAAU,EAAE,CAAC,EAAmB;IAC1C,MAAM,EAAE,CAAC,MAAM;SACZ,WAAW,CAAC,UAAU,CAAC;SACvB,SAAS,CAAC,KAAK,EAAE,SAAS,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC,UAAU,EAAE,CAAC;SACtE,SAAS,CAAC,KAAK,EAAE,SAAS,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC;SACnD,SAAS,CAAC,WAAW,EAAE,SAAS,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC;SACzD,SAAS,CAAC,OAAO,EAAE,MAAM,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC;SAClD,SAAS,CAAC,aAAa,EAAE,MAAM,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;SACrE,S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ACF,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAA;AAEnD,eAAO,MAAM,YAAY;;;;;;EAEvB,CAAA;AACF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAA;AAEvD,KAAK,cAAc,GAAG;IACpB,IAAI,EAAE,QAAQ,CAAA;IACd,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,SAAS,CAAA;CACf,CAAA;AACD,KAAK,cAAc,GAAG;IACpB,IAAI,EAAE,QAAQ,CAAA;IACd,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,SAAS,CAAA;CACf,CAAA;AACD,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,UAAU,CAAA;IAChB,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,WAAW,CAAA;CACjB,CAAA;AACD,KAAK,eAAe,GAAG;IACrB,IAAI,EAAE,SAAS,CAAA;IACf,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,UAAU,CAAA;CAChB,CAAA;AACD,KAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,WAAW,CAAA;IACjB,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,YAAY,CAAA;CAClB,CAAA;AACD,MAAM,MAAM,MAAM,GACd,cAAc,GACd,cAAc,GACd,gBAAgB,GAChB,eAAe,GACf,iBAAiB,CAAA"}
@@ -14,7 +14,10 @@ const formatSeqCommit = async (did, commitData, writes) => {
14
14
  if (writes.length > 200 || commitData.newBlocks.byteSize > 1000000) {
15
15
  tooBig = true;
16
16
  const justRoot = new repo_1.BlockMap();
17
- justRoot.add(commitData.newBlocks.get(commitData.cid));
17
+ const rootBlock = commitData.newBlocks.get(commitData.cid);
18
+ if (rootBlock) {
19
+ justRoot.set(commitData.cid, rootBlock);
20
+ }
18
21
  carSlice = await (0, repo_1.blocksToCarFile)(commitData.cid, justRoot);
19
22
  }
20
23
  else {
@@ -1 +1 @@
1
- {"version":3,"file":"events.js","sourceRoot":"","sources":["../../src/sequencer/events.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AACvB,4CAAoD;AACpD,wCAMsB;AAItB,wDAAkD;AAE3C,MAAM,eAAe,GAAG,KAAK,EAClC,GAAW,EACX,UAAsB,EACtB,MAAuB,EACC,EAAE;IAC1B,IAAI,MAAe,CAAA;IACnB,MAAM,GAAG,GAAkB,EAAE,CAAA;IAC7B,MAAM,KAAK,GAAG,IAAI,aAAM,EAAE,CAAA;IAC1B,IAAI,QAAoB,CAAA;IAExB,6BAA6B;IAC7B,IAAI,MAAM,CAAC,MAAM,GAAG,GAAG,IAAI,UAAU,CAAC,SAAS,CAAC,QAAQ,GAAG,OAAO,EAAE,CAAC;QACnE,MAAM,GAAG,IAAI,CAAA;QACb,MAAM,QAAQ,GAAG,IAAI,eAAQ,EAAE,CAAA;QAC/B,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,SAAS,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAA;QACtD,QAAQ,GAAG,MAAM,IAAA,sBAAe,EAAC,UAAU,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAA;IAC5D,CAAC;SAAM,CAAC;QACN,MAAM,GAAG,KAAK,CAAA;QACd,KAAK,MAAM,CAAC,IAAI,MAAM,EAAE,CAAC;YACvB,MAAM,IAAI,GAAG,CAAC,CAAC,GAAG,CAAC,UAAU,GAAG,GAAG,GAAG,CAAC,CAAC,GAAG,CAAC,IAAI,CAAA;YAChD,IAAI,GAAe,CAAA;YACnB,IAAI,CAAC,CAAC,MAAM,KAAK,oBAAa,CAAC,MAAM,EAAE,CAAC;gBACtC,GAAG,GA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AAK,CAAC,mBAAW,CAAC;IACzB,KAAK,EAAE,OAAC,CAAC,KAAK,CAAC,eAAM,CAAC,GAAG,CAAC;CAC3B,CAAC,CAAA;AAGW,QAAA,SAAS,GAAG,OAAC,CAAC,MAAM,CAAC;IAChC,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAA;AAGW,QAAA,WAAW,GAAG,OAAC,CAAC,MAAM,CAAC;IAClC,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC9B,CAAC,CAAA;AAGW,QAAA,UAAU,GAAG,OAAC,CAAC,MAAM,CAAC;IACjC,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,MAAM,EAAE,OAAC,CAAC,OAAO,EAAE;IACnB,MAAM,EAAE,OAAC;SACN,IAAI,CAAC;QACJ,+BAAa,CAAC,SAAS;QACvB,+BAAa,CAAC,SAAS;QACvB,+BAAa,CAAC,OAAO;QACrB,+BAAa,CAAC,WAAW;KAC1B,CAAC;SACD,QAAQ,EAAE;CACd,CAAC,CAAA;AAGW,QAAA,YAAY,GAAG,OAAC,CAAC,MAAM,CAAC;IACnC,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;CAChB,CAAC,CAAA"}
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { AsyncBuffer } from '@atproto/common';
3
2
  import { Sequencer, SeqEvt } from '.';
4
3
  export type OutboxOpts = {
@@ -1 +1 @@
1
- {"version":3,"file":"outbox.d.ts","sourceRoot":"","sources":["../../src/sequencer/outbox.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAwB,MAAM,iBAAiB,CAAA;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,GAAG,CAAA;AAGrC,MAAM,MAAM,UAAU,GAAG;IACvB,aAAa,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,qBAAa,MAAM;IAQR,SAAS,EAAE,SAAS;IAP7B,OAAO,CAAC,QAAQ,CAAQ;IACxB,QAAQ,SAAK;IAEb,aAAa,EAAE,MAAM,EAAE,CAAA;IACvB,SAAS,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;gBAGrB,SAAS,EAAE,SAAS,EAC3B,IAAI,GAAE,OAAO,CAAC,UAAU,CAAM;IAgBzB,MAAM,CACX,cAAc,CAAC,EAAE,MAAM,EACvB,MAAM,CAAC,EAAE,WAAW,GACnB,cAAc,CAAC,MAAM,CAAC;IAsElB,WAAW,CAAC,cAAc,EAAE,MAAM;CAgB1C;AAED,eAAe,MAAM,CAAA"}
1
+ {"version":3,"file":"outbox.d.ts","sourceRoot":"","sources":["../../src/sequencer/outbox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAwB,MAAM,iBAAiB,CAAA;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,GAAG,CAAA;AAGrC,MAAM,MAAM,UAAU,GAAG;IACvB,aAAa,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,qBAAa,MAAM;IAQR,SAAS,EAAE,SAAS;IAP7B,OAAO,CAAC,QAAQ,CAAQ;IACxB,QAAQ,SAAK;IAEb,aAAa,EAAE,MAAM,EAAE,CAAA;IACvB,SAAS,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;gBAGrB,SAAS,EAAE,SAAS,EAC3B,IAAI,GAAE,OAAO,CAAC,UAAU,CAAM;IAgBzB,MAAM,CACX,cAAc,CAAC,EAAE,MAAM,EACvB,MAAM,CAAC,EAAE,WAAW,GACnB,cAAc,CAAC,MAAM,CAAC;IAsElB,WAAW,CAAC,cAAc,EAAE,MAAM;CAgB1C;AAED,eAAe,MAAM,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"sequencer.d.ts","sourceRoot":"","sources":["../../src/sequencer/sequencer.ts"],"names":[],"mappings":"AACA,OAA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,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,aAAa,GACpB,OAAO,CAAC,MAAM,CAAC;IAKZ,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAK/C,gBAAgB,CAAC,GAAG,EAAE,MAAM,EAAE,aAAa,GAAE,MAAM,EAAO;CAUjE;AAED,KAAK,MAAM,GAAG,YAAY,CAAA;AAE1B,KAAK,eAAe,GAAG;IACrB,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,IAAI,CAAA;IAChC,KAAK,EAAE,MAAM,IAAI,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,eAAe,CAAC,CAAA;AAE5D,eAAe,SAAS,CAAA"}
@@ -3,13 +3,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = default_1;
6
7
  const compression_1 = __importDefault(require("compression"));
7
8
  function default_1() {
8
9
  return (0, compression_1.default)({
9
10
  filter,
10
11
  });
11
12
  }
12
- exports.default = default_1;
13
13
  function filter(_req, res) {
14
14
  const contentType = res.getHeader('Content-type');
15
15
  if (contentType === 'application/vnd.ipld.car') {
@@ -1 +1 @@
1
- {"version":3,"file":"compression.js","sourceRoot":"","sources":["../../src/util/compression.ts"],"names":[],"mappings":";;;;;AACA,8DAAqC;AAErC;IACE,OAAO,IAAA,qBAAW,EAAC;QACjB,MAAM;KACP,CAAC,CAAA;AACJ,CAAC;AAJD,4BAIC;AAED,SAAS,MAAM,CAAC,IAAqB,EAAE,GAAqB;IAC1D,MAAM,WAAW,GAAG,GAAG,CAAC,SAAS,CAAC,cAAc,CAAC,CAAA;IACjD,IAAI,WAAW,KAAK,0BAA0B,EAAE,CAAC;QAC/C,OAAO,IAAI,CAAA;IACb,CAAC;IACD,OAAO,qBAAW,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAA;AACtC,CAAC"}
1
+ {"version":3,"file":"compression.js","sourceRoot":"","sources":["../../src/util/compression.ts"],"names":[],"mappings":";;;;;AAGA,4BAIC;AAND,8DAAqC;AAErC;IACE,OAAO,IAAA,qBAAW,EAAC;QACjB,MAAM;KACP,CAAC,CAAA;AACJ,CAAC;AAED,SAAS,MAAM,CAAC,IAAqB,EAAE,GAAqB;IAC1D,MAAM,WAAW,GAAG,GAAG,CAAC,SAAS,CAAC,cAAc,CAAC,CAAA;IACjD,IAAI,WAAW,KAAK,0BAA0B,EAAE,CAAC;QAC/C,OAAO,IAAI,CAAA;IACb,CAAC;IACD,OAAO,qBAAW,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAA;AACtC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../../src/util/debug.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,0BAA2B,GAAG,EAAE,KAAK,GAAG,MAAM,IAAI,eAChD,WAAW,IAAI,CAAC,8BAQxC,CAAA"}
1
+ {"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../../src/util/debug.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,GAAI,IAAI,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,MAAM,IAAI,eAChD,UAAU,CAAC,IAAI,CAAC,8BAQxC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"well-known.d.ts","sourceRoot":"","sources":["../src/well-known.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAA;AAC7B,OAAO,UAAU,MAAM,WAAW,CAAA;AAElC,eAAO,MAAM,YAAY,QAAS,UAAU,KAAG,QAAQ,MAyBtD,CAAA"}
1
+ {"version":3,"file":"well-known.d.ts","sourceRoot":"","sources":["../src/well-known.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAA;AAC7B,OAAO,UAAU,MAAM,WAAW,CAAA;AAElC,eAAO,MAAM,YAAY,QAAS,UAAU,KAAG,OAAO,CAAC,MAyBtD,CAAA"}
package/jest.config.js CHANGED
@@ -2,7 +2,11 @@
2
2
  module.exports = {
3
3
  displayName: 'PDS',
4
4
  transform: { '^.+\\.(t|j)s$': '@swc/jest' },
5
- transformIgnorePatterns: [`<rootDir>/node_modules/(?!get-port)`],
5
+ // Jest requires all ESM dependencies to be transpiled (even if they are
6
+ // dynamically import()ed).
7
+ transformIgnorePatterns: [
8
+ `/node_modules/.pnpm/(?!(get-port|lande|toygrad)@)`,
9
+ ],
6
10
  testTimeout: 60000,
7
11
  setupFiles: ['<rootDir>/../../jest.setup.ts'],
8
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atproto/pds",
3
- "version": "0.4.65",
3
+ "version": "0.4.67",
4
4
  "license": "MIT",
5
5
  "description": "Reference implementation of atproto Personal Data Server (PDS)",
6
6
  "keywords": [
@@ -46,12 +46,12 @@
46
46
  "zod": "^3.23.8",
47
47
  "@atproto-labs/fetch-node": "0.1.3",
48
48
  "@atproto/api": "^0.13.12",
49
- "@atproto/aws": "^0.2.7",
50
49
  "@atproto/common": "^0.4.4",
51
50
  "@atproto/crypto": "^0.4.1",
51
+ "@atproto/aws": "^0.2.7",
52
52
  "@atproto/identity": "^0.4.2",
53
53
  "@atproto/lexicon": "^0.4.2",
54
- "@atproto/oauth-provider": "^0.2.5",
54
+ "@atproto/oauth-provider": "^0.2.6",
55
55
  "@atproto/repo": "^0.5.3",
56
56
  "@atproto/syntax": "^0.3.0",
57
57
  "@atproto/xrpc": "^0.6.3",
@@ -71,10 +71,13 @@
71
71
  "esbuild-plugin-handlebars": "^1.0.3",
72
72
  "get-port": "^6.1.2",
73
73
  "jest": "^28.1.2",
74
+ "puppeteer": "^23.5.2",
74
75
  "ts-node": "^10.8.2",
76
+ "typescript": "^5.6.3",
75
77
  "ws": "^8.12.0",
76
78
  "@atproto/api": "^0.13.12",
77
- "@atproto/bsky": "^0.0.89",
79
+ "@atproto/bsky": "^0.0.90",
80
+ "@atproto/oauth-client-browser-example": "0.0.0",
78
81
  "@atproto/lex-cli": "^0.5.1"
79
82
  },
80
83
  "scripts": {
@@ -53,13 +53,31 @@ export default function (server: Server, ctx: AppContext) {
53
53
  includeDeactivated: true,
54
54
  })
55
55
 
56
- if (account) {
56
+ if (!account) {
57
+ if (requester.startsWith('did:plc:')) {
58
+ await ctx.plcClient.updateHandle(
59
+ requester,
60
+ ctx.plcRotationKey,
61
+ handle,
62
+ )
63
+ } else {
64
+ const resolved = await ctx.idResolver.did.resolveAtprotoData(
65
+ requester,
66
+ true,
67
+ )
68
+ if (resolved.handle !== handle) {
69
+ throw new InvalidRequestError(
70
+ 'DID is not properly configured for handle',
71
+ )
72
+ }
73
+ }
74
+ await ctx.accountManager.updateHandle(requester, handle)
75
+ } else {
76
+ // if we found an account with matching handle, check if it is the same as requester
77
+ // if so emit an identity event, otherwise error.
57
78
  if (account.did !== requester) {
58
79
  throw new InvalidRequestError(`Handle already taken: ${handle}`)
59
80
  }
60
- } else {
61
- await ctx.plcClient.updateHandle(requester, ctx.plcRotationKey, handle)
62
- await ctx.accountManager.updateHandle(requester, handle)
63
81
  }
64
82
 
65
83
  try {
@@ -18,6 +18,7 @@ export const createRouter = ({ authProvider, cfg }: AppContext): Router => {
18
18
  router.get('/.well-known/oauth-protected-resource', (req, res) => {
19
19
  res.setHeader('Access-Control-Allow-Origin', '*')
20
20
  res.setHeader('Access-Control-Allow-Method', '*')
21
+ res.setHeader('Access-Control-Allow-Headers', '*')
21
22
  res.status(200).json(oauthProtectedResourceMetadata)
22
23
  })
23
24