@atproto/pds 0.4.90 → 0.4.92

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 (771) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/bin/migration-create.ts +2 -2
  3. package/dist/account-manager/db/index.d.ts.map +1 -1
  4. package/dist/account-manager/db/index.js.map +1 -1
  5. package/dist/account-manager/db/schema/authorization-request.d.ts +1 -1
  6. package/dist/account-manager/db/schema/authorization-request.d.ts.map +1 -1
  7. package/dist/account-manager/db/schema/device.d.ts +1 -1
  8. package/dist/account-manager/db/schema/device.d.ts.map +1 -1
  9. package/dist/account-manager/db/schema/index.d.ts +7 -7
  10. package/dist/account-manager/db/schema/index.d.ts.map +1 -1
  11. package/dist/account-manager/db/schema/token.d.ts +1 -1
  12. package/dist/account-manager/db/schema/token.d.ts.map +1 -1
  13. package/dist/account-manager/db/schema/token.js.map +1 -1
  14. package/dist/account-manager/db/schema/used-refresh-token.d.ts +1 -1
  15. package/dist/account-manager/db/schema/used-refresh-token.d.ts.map +1 -1
  16. package/dist/account-manager/helpers/account.d.ts +8 -8
  17. package/dist/account-manager/helpers/account.d.ts.map +1 -1
  18. package/dist/account-manager/helpers/account.js +1 -1
  19. package/dist/account-manager/helpers/account.js.map +1 -1
  20. package/dist/account-manager/helpers/authorization-request.d.ts +1 -1
  21. package/dist/account-manager/helpers/authorization-request.d.ts.map +1 -1
  22. package/dist/account-manager/helpers/device-account.d.ts +37 -37
  23. package/dist/account-manager/helpers/device-account.d.ts.map +1 -1
  24. package/dist/account-manager/helpers/device-account.js.map +1 -1
  25. package/dist/account-manager/helpers/device.d.ts +2 -2
  26. package/dist/account-manager/helpers/device.d.ts.map +1 -1
  27. package/dist/account-manager/helpers/email-token.js +1 -1
  28. package/dist/account-manager/helpers/email-token.js.map +1 -1
  29. package/dist/account-manager/helpers/invite.d.ts.map +1 -1
  30. package/dist/account-manager/helpers/invite.js.map +1 -1
  31. package/dist/account-manager/helpers/password.d.ts +1 -1
  32. package/dist/account-manager/helpers/password.d.ts.map +1 -1
  33. package/dist/account-manager/helpers/password.js.map +1 -1
  34. package/dist/account-manager/helpers/scrypt.js +6 -6
  35. package/dist/account-manager/helpers/scrypt.js.map +1 -1
  36. package/dist/account-manager/helpers/token.d.ts +201 -201
  37. package/dist/account-manager/helpers/token.d.ts.map +1 -1
  38. package/dist/account-manager/index.d.ts +8 -3
  39. package/dist/account-manager/index.d.ts.map +1 -1
  40. package/dist/account-manager/index.js +34 -5
  41. package/dist/account-manager/index.js.map +1 -1
  42. package/dist/actor-store/actor-store-reader.d.ts +19 -0
  43. package/dist/actor-store/actor-store-reader.d.ts.map +1 -0
  44. package/dist/actor-store/actor-store-reader.js +69 -0
  45. package/dist/actor-store/actor-store-reader.js.map +1 -0
  46. package/dist/actor-store/actor-store-resources.d.ts +8 -0
  47. package/dist/actor-store/actor-store-resources.d.ts.map +1 -0
  48. package/dist/actor-store/actor-store-resources.js +3 -0
  49. package/dist/actor-store/actor-store-resources.js.map +1 -0
  50. package/dist/actor-store/actor-store-transactor.d.ts +17 -0
  51. package/dist/actor-store/actor-store-transactor.d.ts.map +1 -0
  52. package/dist/actor-store/actor-store-transactor.js +58 -0
  53. package/dist/actor-store/actor-store-transactor.js.map +1 -0
  54. package/dist/actor-store/actor-store-writer.d.ts +5 -0
  55. package/dist/actor-store/actor-store-writer.d.ts.map +1 -0
  56. package/dist/actor-store/actor-store-writer.js +14 -0
  57. package/dist/actor-store/actor-store-writer.js.map +1 -0
  58. package/dist/actor-store/actor-store.d.ts +33 -0
  59. package/dist/actor-store/actor-store.d.ts.map +1 -0
  60. package/dist/actor-store/{index.js → actor-store.js} +37 -82
  61. package/dist/actor-store/actor-store.js.map +1 -0
  62. package/dist/actor-store/blob/reader.d.ts +4 -2
  63. package/dist/actor-store/blob/reader.d.ts.map +1 -1
  64. package/dist/actor-store/blob/reader.js +14 -0
  65. package/dist/actor-store/blob/reader.js.map +1 -1
  66. package/dist/actor-store/blob/transactor.d.ts +6 -5
  67. package/dist/actor-store/blob/transactor.d.ts.map +1 -1
  68. package/dist/actor-store/blob/transactor.js +18 -5
  69. package/dist/actor-store/blob/transactor.js.map +1 -1
  70. package/dist/actor-store/db/index.d.ts +1 -1
  71. package/dist/actor-store/db/index.d.ts.map +1 -1
  72. package/dist/actor-store/db/index.js.map +1 -1
  73. package/dist/actor-store/db/schema/index.d.ts +3 -3
  74. package/dist/actor-store/db/schema/index.d.ts.map +1 -1
  75. package/dist/actor-store/migrate.d.ts +1 -1
  76. package/dist/actor-store/migrate.d.ts.map +1 -1
  77. package/dist/actor-store/migrate.js.map +1 -1
  78. package/dist/actor-store/preference/transactor.d.ts +1 -1
  79. package/dist/actor-store/preference/transactor.d.ts.map +1 -1
  80. package/dist/actor-store/preference/transactor.js.map +1 -1
  81. package/dist/actor-store/record/reader.d.ts +18 -6
  82. package/dist/actor-store/record/reader.d.ts.map +1 -1
  83. package/dist/actor-store/record/reader.js +104 -2
  84. package/dist/actor-store/record/reader.js.map +1 -1
  85. package/dist/actor-store/record/transactor.d.ts +3 -3
  86. package/dist/actor-store/record/transactor.d.ts.map +1 -1
  87. package/dist/actor-store/record/transactor.js.map +1 -1
  88. package/dist/actor-store/repo/reader.d.ts +1 -1
  89. package/dist/actor-store/repo/reader.d.ts.map +1 -1
  90. package/dist/actor-store/repo/reader.js +1 -1
  91. package/dist/actor-store/repo/reader.js.map +1 -1
  92. package/dist/actor-store/repo/sql-repo-reader.d.ts +2 -2
  93. package/dist/actor-store/repo/sql-repo-reader.d.ts.map +1 -1
  94. package/dist/actor-store/repo/sql-repo-reader.js +6 -5
  95. package/dist/actor-store/repo/sql-repo-reader.js.map +1 -1
  96. package/dist/actor-store/repo/sql-repo-transactor.d.ts +1 -1
  97. package/dist/actor-store/repo/sql-repo-transactor.d.ts.map +1 -1
  98. package/dist/actor-store/repo/sql-repo-transactor.js +2 -2
  99. package/dist/actor-store/repo/sql-repo-transactor.js.map +1 -1
  100. package/dist/actor-store/repo/transactor.d.ts +7 -6
  101. package/dist/actor-store/repo/transactor.d.ts.map +1 -1
  102. package/dist/actor-store/repo/transactor.js +22 -15
  103. package/dist/actor-store/repo/transactor.js.map +1 -1
  104. package/dist/api/app/bsky/actor/getPreferences.d.ts +1 -1
  105. package/dist/api/app/bsky/actor/getPreferences.d.ts.map +1 -1
  106. package/dist/api/app/bsky/actor/getPreferences.js +1 -1
  107. package/dist/api/app/bsky/actor/getPreferences.js.map +1 -1
  108. package/dist/api/app/bsky/actor/getProfile.d.ts +1 -1
  109. package/dist/api/app/bsky/actor/getProfile.d.ts.map +1 -1
  110. package/dist/api/app/bsky/actor/getProfile.js +1 -2
  111. package/dist/api/app/bsky/actor/getProfile.js.map +1 -1
  112. package/dist/api/app/bsky/actor/getProfiles.d.ts +1 -1
  113. package/dist/api/app/bsky/actor/getProfiles.d.ts.map +1 -1
  114. package/dist/api/app/bsky/actor/getProfiles.js +1 -2
  115. package/dist/api/app/bsky/actor/getProfiles.js.map +1 -1
  116. package/dist/api/app/bsky/actor/index.d.ts +1 -1
  117. package/dist/api/app/bsky/actor/index.d.ts.map +1 -1
  118. package/dist/api/app/bsky/actor/index.js.map +1 -1
  119. package/dist/api/app/bsky/actor/putPreferences.d.ts +1 -1
  120. package/dist/api/app/bsky/actor/putPreferences.d.ts.map +1 -1
  121. package/dist/api/app/bsky/actor/putPreferences.js +1 -1
  122. package/dist/api/app/bsky/actor/putPreferences.js.map +1 -1
  123. package/dist/api/app/bsky/feed/getActorLikes.d.ts +1 -1
  124. package/dist/api/app/bsky/feed/getActorLikes.d.ts.map +1 -1
  125. package/dist/api/app/bsky/feed/getActorLikes.js +1 -2
  126. package/dist/api/app/bsky/feed/getActorLikes.js.map +1 -1
  127. package/dist/api/app/bsky/feed/getAuthorFeed.d.ts +1 -1
  128. package/dist/api/app/bsky/feed/getAuthorFeed.d.ts.map +1 -1
  129. package/dist/api/app/bsky/feed/getAuthorFeed.js +1 -2
  130. package/dist/api/app/bsky/feed/getAuthorFeed.js.map +1 -1
  131. package/dist/api/app/bsky/feed/getFeed.d.ts +1 -1
  132. package/dist/api/app/bsky/feed/getFeed.d.ts.map +1 -1
  133. package/dist/api/app/bsky/feed/getFeed.js +6 -7
  134. package/dist/api/app/bsky/feed/getFeed.js.map +1 -1
  135. package/dist/api/app/bsky/feed/getPostThread.d.ts +1 -1
  136. package/dist/api/app/bsky/feed/getPostThread.d.ts.map +1 -1
  137. package/dist/api/app/bsky/feed/getPostThread.js +4 -5
  138. package/dist/api/app/bsky/feed/getPostThread.js.map +1 -1
  139. package/dist/api/app/bsky/feed/getTimeline.d.ts +1 -1
  140. package/dist/api/app/bsky/feed/getTimeline.d.ts.map +1 -1
  141. package/dist/api/app/bsky/feed/getTimeline.js +1 -2
  142. package/dist/api/app/bsky/feed/getTimeline.js.map +1 -1
  143. package/dist/api/app/bsky/feed/index.d.ts +1 -1
  144. package/dist/api/app/bsky/feed/index.d.ts.map +1 -1
  145. package/dist/api/app/bsky/index.d.ts +1 -1
  146. package/dist/api/app/bsky/index.d.ts.map +1 -1
  147. package/dist/api/app/bsky/notification/index.d.ts +1 -1
  148. package/dist/api/app/bsky/notification/index.d.ts.map +1 -1
  149. package/dist/api/app/bsky/notification/registerPush.d.ts +1 -1
  150. package/dist/api/app/bsky/notification/registerPush.d.ts.map +1 -1
  151. package/dist/api/app/bsky/notification/registerPush.js +6 -6
  152. package/dist/api/app/bsky/notification/registerPush.js.map +1 -1
  153. package/dist/api/app/bsky/util/resolver.d.ts +1 -1
  154. package/dist/api/app/bsky/util/resolver.d.ts.map +1 -1
  155. package/dist/api/app/bsky/util/resolver.js.map +1 -1
  156. package/dist/api/com/atproto/admin/deleteAccount.d.ts +1 -1
  157. package/dist/api/com/atproto/admin/deleteAccount.d.ts.map +1 -1
  158. package/dist/api/com/atproto/admin/deleteAccount.js.map +1 -1
  159. package/dist/api/com/atproto/admin/disableAccountInvites.d.ts +1 -1
  160. package/dist/api/com/atproto/admin/disableAccountInvites.d.ts.map +1 -1
  161. package/dist/api/com/atproto/admin/disableInviteCodes.d.ts +1 -1
  162. package/dist/api/com/atproto/admin/disableInviteCodes.d.ts.map +1 -1
  163. package/dist/api/com/atproto/admin/enableAccountInvites.d.ts +1 -1
  164. package/dist/api/com/atproto/admin/enableAccountInvites.d.ts.map +1 -1
  165. package/dist/api/com/atproto/admin/getAccountInfo.d.ts +1 -1
  166. package/dist/api/com/atproto/admin/getAccountInfo.d.ts.map +1 -1
  167. package/dist/api/com/atproto/admin/getAccountInfo.js.map +1 -1
  168. package/dist/api/com/atproto/admin/getAccountInfos.d.ts +1 -1
  169. package/dist/api/com/atproto/admin/getAccountInfos.d.ts.map +1 -1
  170. package/dist/api/com/atproto/admin/getInviteCodes.d.ts +2 -2
  171. package/dist/api/com/atproto/admin/getInviteCodes.d.ts.map +1 -1
  172. package/dist/api/com/atproto/admin/getInviteCodes.js +1 -1
  173. package/dist/api/com/atproto/admin/getInviteCodes.js.map +1 -1
  174. package/dist/api/com/atproto/admin/getSubjectStatus.d.ts +1 -1
  175. package/dist/api/com/atproto/admin/getSubjectStatus.d.ts.map +1 -1
  176. package/dist/api/com/atproto/admin/index.d.ts +1 -1
  177. package/dist/api/com/atproto/admin/index.d.ts.map +1 -1
  178. package/dist/api/com/atproto/admin/index.js +8 -8
  179. package/dist/api/com/atproto/admin/index.js.map +1 -1
  180. package/dist/api/com/atproto/admin/sendEmail.d.ts +1 -1
  181. package/dist/api/com/atproto/admin/sendEmail.d.ts.map +1 -1
  182. package/dist/api/com/atproto/admin/sendEmail.js +1 -1
  183. package/dist/api/com/atproto/admin/sendEmail.js.map +1 -1
  184. package/dist/api/com/atproto/admin/updateAccountEmail.d.ts +1 -1
  185. package/dist/api/com/atproto/admin/updateAccountEmail.d.ts.map +1 -1
  186. package/dist/api/com/atproto/admin/updateAccountHandle.d.ts +1 -1
  187. package/dist/api/com/atproto/admin/updateAccountHandle.d.ts.map +1 -1
  188. package/dist/api/com/atproto/admin/updateAccountHandle.js.map +1 -1
  189. package/dist/api/com/atproto/admin/updateAccountPassword.d.ts +1 -1
  190. package/dist/api/com/atproto/admin/updateAccountPassword.d.ts.map +1 -1
  191. package/dist/api/com/atproto/admin/updateSubjectStatus.d.ts +1 -1
  192. package/dist/api/com/atproto/admin/updateSubjectStatus.d.ts.map +1 -1
  193. package/dist/api/com/atproto/admin/updateSubjectStatus.js +1 -1
  194. package/dist/api/com/atproto/admin/updateSubjectStatus.js.map +1 -1
  195. package/dist/api/com/atproto/admin/util.d.ts.map +1 -1
  196. package/dist/api/com/atproto/admin/util.js.map +1 -1
  197. package/dist/api/com/atproto/identity/getRecommendedDidCredentials.d.ts +1 -1
  198. package/dist/api/com/atproto/identity/getRecommendedDidCredentials.d.ts.map +1 -1
  199. package/dist/api/com/atproto/identity/index.d.ts +1 -1
  200. package/dist/api/com/atproto/identity/index.d.ts.map +1 -1
  201. package/dist/api/com/atproto/identity/index.js +2 -2
  202. package/dist/api/com/atproto/identity/index.js.map +1 -1
  203. package/dist/api/com/atproto/identity/requestPlcOperationSignature.d.ts +1 -1
  204. package/dist/api/com/atproto/identity/requestPlcOperationSignature.d.ts.map +1 -1
  205. package/dist/api/com/atproto/identity/requestPlcOperationSignature.js +1 -1
  206. package/dist/api/com/atproto/identity/requestPlcOperationSignature.js.map +1 -1
  207. package/dist/api/com/atproto/identity/resolveHandle.d.ts +1 -1
  208. package/dist/api/com/atproto/identity/resolveHandle.d.ts.map +1 -1
  209. package/dist/api/com/atproto/identity/resolveHandle.js +11 -14
  210. package/dist/api/com/atproto/identity/resolveHandle.js.map +1 -1
  211. package/dist/api/com/atproto/identity/signPlcOperation.d.ts +1 -1
  212. package/dist/api/com/atproto/identity/signPlcOperation.d.ts.map +1 -1
  213. package/dist/api/com/atproto/identity/signPlcOperation.js +1 -1
  214. package/dist/api/com/atproto/identity/signPlcOperation.js.map +1 -1
  215. package/dist/api/com/atproto/identity/submitPlcOperation.d.ts +1 -1
  216. package/dist/api/com/atproto/identity/submitPlcOperation.d.ts.map +1 -1
  217. package/dist/api/com/atproto/identity/submitPlcOperation.js.map +1 -1
  218. package/dist/api/com/atproto/identity/updateHandle.d.ts +1 -1
  219. package/dist/api/com/atproto/identity/updateHandle.d.ts.map +1 -1
  220. package/dist/api/com/atproto/identity/updateHandle.js +2 -2
  221. package/dist/api/com/atproto/identity/updateHandle.js.map +1 -1
  222. package/dist/api/com/atproto/index.d.ts +1 -1
  223. package/dist/api/com/atproto/index.d.ts.map +1 -1
  224. package/dist/api/com/atproto/moderation/createReport.d.ts +1 -1
  225. package/dist/api/com/atproto/moderation/createReport.d.ts.map +1 -1
  226. package/dist/api/com/atproto/moderation/createReport.js +2 -2
  227. package/dist/api/com/atproto/moderation/createReport.js.map +1 -1
  228. package/dist/api/com/atproto/moderation/index.d.ts +1 -1
  229. package/dist/api/com/atproto/moderation/index.d.ts.map +1 -1
  230. package/dist/api/com/atproto/repo/applyWrites.d.ts +1 -1
  231. package/dist/api/com/atproto/repo/applyWrites.d.ts.map +1 -1
  232. package/dist/api/com/atproto/repo/applyWrites.js +4 -5
  233. package/dist/api/com/atproto/repo/applyWrites.js.map +1 -1
  234. package/dist/api/com/atproto/repo/createRecord.d.ts +1 -1
  235. package/dist/api/com/atproto/repo/createRecord.d.ts.map +1 -1
  236. package/dist/api/com/atproto/repo/createRecord.js +3 -4
  237. package/dist/api/com/atproto/repo/createRecord.js.map +1 -1
  238. package/dist/api/com/atproto/repo/deleteRecord.d.ts +1 -1
  239. package/dist/api/com/atproto/repo/deleteRecord.d.ts.map +1 -1
  240. package/dist/api/com/atproto/repo/deleteRecord.js +3 -4
  241. package/dist/api/com/atproto/repo/deleteRecord.js.map +1 -1
  242. package/dist/api/com/atproto/repo/describeRepo.d.ts +1 -1
  243. package/dist/api/com/atproto/repo/describeRepo.d.ts.map +1 -1
  244. package/dist/api/com/atproto/repo/describeRepo.js +1 -1
  245. package/dist/api/com/atproto/repo/describeRepo.js.map +1 -1
  246. package/dist/api/com/atproto/repo/getRecord.d.ts +1 -1
  247. package/dist/api/com/atproto/repo/getRecord.d.ts.map +1 -1
  248. package/dist/api/com/atproto/repo/getRecord.js.map +1 -1
  249. package/dist/api/com/atproto/repo/importRepo.d.ts +2 -2
  250. package/dist/api/com/atproto/repo/importRepo.d.ts.map +1 -1
  251. package/dist/api/com/atproto/repo/importRepo.js +6 -22
  252. package/dist/api/com/atproto/repo/importRepo.js.map +1 -1
  253. package/dist/api/com/atproto/repo/index.d.ts +1 -1
  254. package/dist/api/com/atproto/repo/index.d.ts.map +1 -1
  255. package/dist/api/com/atproto/repo/index.js +2 -2
  256. package/dist/api/com/atproto/repo/index.js.map +1 -1
  257. package/dist/api/com/atproto/repo/listMissingBlobs.d.ts +1 -1
  258. package/dist/api/com/atproto/repo/listMissingBlobs.d.ts.map +1 -1
  259. package/dist/api/com/atproto/repo/listRecords.d.ts +1 -1
  260. package/dist/api/com/atproto/repo/listRecords.d.ts.map +1 -1
  261. package/dist/api/com/atproto/repo/listRecords.js +1 -1
  262. package/dist/api/com/atproto/repo/listRecords.js.map +1 -1
  263. package/dist/api/com/atproto/repo/putRecord.d.ts +1 -1
  264. package/dist/api/com/atproto/repo/putRecord.d.ts.map +1 -1
  265. package/dist/api/com/atproto/repo/putRecord.js +5 -6
  266. package/dist/api/com/atproto/repo/putRecord.js.map +1 -1
  267. package/dist/api/com/atproto/repo/uploadBlob.d.ts +1 -1
  268. package/dist/api/com/atproto/repo/uploadBlob.d.ts.map +1 -1
  269. package/dist/api/com/atproto/server/activateAccount.d.ts +1 -1
  270. package/dist/api/com/atproto/server/activateAccount.d.ts.map +1 -1
  271. package/dist/api/com/atproto/server/activateAccount.js +1 -1
  272. package/dist/api/com/atproto/server/activateAccount.js.map +1 -1
  273. package/dist/api/com/atproto/server/checkAccountStatus.d.ts +1 -1
  274. package/dist/api/com/atproto/server/checkAccountStatus.d.ts.map +1 -1
  275. package/dist/api/com/atproto/server/confirmEmail.d.ts +1 -1
  276. package/dist/api/com/atproto/server/confirmEmail.d.ts.map +1 -1
  277. package/dist/api/com/atproto/server/confirmEmail.js.map +1 -1
  278. package/dist/api/com/atproto/server/createAccount.d.ts +1 -1
  279. package/dist/api/com/atproto/server/createAccount.d.ts.map +1 -1
  280. package/dist/api/com/atproto/server/createAccount.js +5 -5
  281. package/dist/api/com/atproto/server/createAccount.js.map +1 -1
  282. package/dist/api/com/atproto/server/createAppPassword.d.ts +1 -1
  283. package/dist/api/com/atproto/server/createAppPassword.d.ts.map +1 -1
  284. package/dist/api/com/atproto/server/createAppPassword.js.map +1 -1
  285. package/dist/api/com/atproto/server/createInviteCode.d.ts +1 -1
  286. package/dist/api/com/atproto/server/createInviteCode.d.ts.map +1 -1
  287. package/dist/api/com/atproto/server/createInviteCodes.d.ts +1 -1
  288. package/dist/api/com/atproto/server/createInviteCodes.d.ts.map +1 -1
  289. package/dist/api/com/atproto/server/createInviteCodes.js.map +1 -1
  290. package/dist/api/com/atproto/server/createSession.d.ts +1 -1
  291. package/dist/api/com/atproto/server/createSession.d.ts.map +1 -1
  292. package/dist/api/com/atproto/server/createSession.js.map +1 -1
  293. package/dist/api/com/atproto/server/deactivateAccount.d.ts +1 -1
  294. package/dist/api/com/atproto/server/deactivateAccount.d.ts.map +1 -1
  295. package/dist/api/com/atproto/server/deleteAccount.d.ts +1 -1
  296. package/dist/api/com/atproto/server/deleteAccount.d.ts.map +1 -1
  297. package/dist/api/com/atproto/server/deleteAccount.js +1 -1
  298. package/dist/api/com/atproto/server/deleteAccount.js.map +1 -1
  299. package/dist/api/com/atproto/server/deleteSession.d.ts +1 -1
  300. package/dist/api/com/atproto/server/deleteSession.d.ts.map +1 -1
  301. package/dist/api/com/atproto/server/describeServer.d.ts +1 -1
  302. package/dist/api/com/atproto/server/describeServer.d.ts.map +1 -1
  303. package/dist/api/com/atproto/server/getAccountInviteCodes.d.ts +1 -1
  304. package/dist/api/com/atproto/server/getAccountInviteCodes.d.ts.map +1 -1
  305. package/dist/api/com/atproto/server/getAccountInviteCodes.js +1 -1
  306. package/dist/api/com/atproto/server/getAccountInviteCodes.js.map +1 -1
  307. package/dist/api/com/atproto/server/getServiceAuth.d.ts +1 -1
  308. package/dist/api/com/atproto/server/getServiceAuth.d.ts.map +1 -1
  309. package/dist/api/com/atproto/server/getServiceAuth.js +2 -2
  310. package/dist/api/com/atproto/server/getServiceAuth.js.map +1 -1
  311. package/dist/api/com/atproto/server/getSession.d.ts +1 -1
  312. package/dist/api/com/atproto/server/getSession.d.ts.map +1 -1
  313. package/dist/api/com/atproto/server/getSession.js +2 -2
  314. package/dist/api/com/atproto/server/getSession.js.map +1 -1
  315. package/dist/api/com/atproto/server/index.d.ts +1 -1
  316. package/dist/api/com/atproto/server/index.d.ts.map +1 -1
  317. package/dist/api/com/atproto/server/index.js +17 -17
  318. package/dist/api/com/atproto/server/index.js.map +1 -1
  319. package/dist/api/com/atproto/server/listAppPasswords.d.ts +1 -1
  320. package/dist/api/com/atproto/server/listAppPasswords.d.ts.map +1 -1
  321. package/dist/api/com/atproto/server/listAppPasswords.js.map +1 -1
  322. package/dist/api/com/atproto/server/refreshSession.d.ts +1 -1
  323. package/dist/api/com/atproto/server/refreshSession.d.ts.map +1 -1
  324. package/dist/api/com/atproto/server/refreshSession.js +1 -1
  325. package/dist/api/com/atproto/server/refreshSession.js.map +1 -1
  326. package/dist/api/com/atproto/server/requestAccountDelete.d.ts +1 -1
  327. package/dist/api/com/atproto/server/requestAccountDelete.d.ts.map +1 -1
  328. package/dist/api/com/atproto/server/requestAccountDelete.js.map +1 -1
  329. package/dist/api/com/atproto/server/requestEmailConfirmation.d.ts +1 -1
  330. package/dist/api/com/atproto/server/requestEmailConfirmation.d.ts.map +1 -1
  331. package/dist/api/com/atproto/server/requestEmailConfirmation.js.map +1 -1
  332. package/dist/api/com/atproto/server/requestEmailUpdate.d.ts +1 -1
  333. package/dist/api/com/atproto/server/requestEmailUpdate.d.ts.map +1 -1
  334. package/dist/api/com/atproto/server/requestEmailUpdate.js +1 -1
  335. package/dist/api/com/atproto/server/requestEmailUpdate.js.map +1 -1
  336. package/dist/api/com/atproto/server/requestPasswordReset.d.ts +1 -1
  337. package/dist/api/com/atproto/server/requestPasswordReset.d.ts.map +1 -1
  338. package/dist/api/com/atproto/server/reserveSigningKey.d.ts +1 -1
  339. package/dist/api/com/atproto/server/reserveSigningKey.d.ts.map +1 -1
  340. package/dist/api/com/atproto/server/resetPassword.d.ts +1 -1
  341. package/dist/api/com/atproto/server/resetPassword.d.ts.map +1 -1
  342. package/dist/api/com/atproto/server/resetPassword.js.map +1 -1
  343. package/dist/api/com/atproto/server/revokeAppPassword.d.ts +1 -1
  344. package/dist/api/com/atproto/server/revokeAppPassword.d.ts.map +1 -1
  345. package/dist/api/com/atproto/server/revokeAppPassword.js.map +1 -1
  346. package/dist/api/com/atproto/server/updateEmail.d.ts +1 -1
  347. package/dist/api/com/atproto/server/updateEmail.d.ts.map +1 -1
  348. package/dist/api/com/atproto/server/updateEmail.js +1 -1
  349. package/dist/api/com/atproto/server/updateEmail.js.map +1 -1
  350. package/dist/api/com/atproto/server/util.d.ts +1 -1
  351. package/dist/api/com/atproto/server/util.d.ts.map +1 -1
  352. package/dist/api/com/atproto/server/util.js +2 -2
  353. package/dist/api/com/atproto/server/util.js.map +1 -1
  354. package/dist/api/com/atproto/sync/deprecated/getCheckout.d.ts +1 -1
  355. package/dist/api/com/atproto/sync/deprecated/getCheckout.d.ts.map +1 -1
  356. package/dist/api/com/atproto/sync/deprecated/getHead.d.ts +1 -1
  357. package/dist/api/com/atproto/sync/deprecated/getHead.d.ts.map +1 -1
  358. package/dist/api/com/atproto/sync/getBlob.d.ts +1 -1
  359. package/dist/api/com/atproto/sync/getBlob.d.ts.map +1 -1
  360. package/dist/api/com/atproto/sync/getBlob.js +2 -2
  361. package/dist/api/com/atproto/sync/getBlob.js.map +1 -1
  362. package/dist/api/com/atproto/sync/getBlocks.d.ts +1 -1
  363. package/dist/api/com/atproto/sync/getBlocks.d.ts.map +1 -1
  364. package/dist/api/com/atproto/sync/getBlocks.js +1 -1
  365. package/dist/api/com/atproto/sync/getBlocks.js.map +1 -1
  366. package/dist/api/com/atproto/sync/getLatestCommit.d.ts +1 -1
  367. package/dist/api/com/atproto/sync/getLatestCommit.d.ts.map +1 -1
  368. package/dist/api/com/atproto/sync/getRecord.d.ts +1 -1
  369. package/dist/api/com/atproto/sync/getRecord.d.ts.map +1 -1
  370. package/dist/api/com/atproto/sync/getRecord.js +1 -1
  371. package/dist/api/com/atproto/sync/getRecord.js.map +1 -1
  372. package/dist/api/com/atproto/sync/getRepo.d.ts +2 -2
  373. package/dist/api/com/atproto/sync/getRepo.d.ts.map +1 -1
  374. package/dist/api/com/atproto/sync/getRepo.js +1 -1
  375. package/dist/api/com/atproto/sync/getRepo.js.map +1 -1
  376. package/dist/api/com/atproto/sync/getRepoStatus.d.ts +1 -1
  377. package/dist/api/com/atproto/sync/getRepoStatus.d.ts.map +1 -1
  378. package/dist/api/com/atproto/sync/getRepoStatus.js +1 -1
  379. package/dist/api/com/atproto/sync/getRepoStatus.js.map +1 -1
  380. package/dist/api/com/atproto/sync/index.d.ts +1 -1
  381. package/dist/api/com/atproto/sync/index.d.ts.map +1 -1
  382. package/dist/api/com/atproto/sync/index.js +4 -4
  383. package/dist/api/com/atproto/sync/index.js.map +1 -1
  384. package/dist/api/com/atproto/sync/listBlobs.d.ts +1 -1
  385. package/dist/api/com/atproto/sync/listBlobs.d.ts.map +1 -1
  386. package/dist/api/com/atproto/sync/listBlobs.js +1 -1
  387. package/dist/api/com/atproto/sync/listBlobs.js.map +1 -1
  388. package/dist/api/com/atproto/sync/listRepos.d.ts +2 -2
  389. package/dist/api/com/atproto/sync/listRepos.d.ts.map +1 -1
  390. package/dist/api/com/atproto/sync/listRepos.js +1 -1
  391. package/dist/api/com/atproto/sync/listRepos.js.map +1 -1
  392. package/dist/api/com/atproto/sync/subscribeRepos.d.ts +1 -1
  393. package/dist/api/com/atproto/sync/subscribeRepos.d.ts.map +1 -1
  394. package/dist/api/com/atproto/sync/subscribeRepos.js +2 -5
  395. package/dist/api/com/atproto/sync/subscribeRepos.js.map +1 -1
  396. package/dist/api/com/atproto/sync/util.d.ts +1 -1
  397. package/dist/api/com/atproto/sync/util.d.ts.map +1 -1
  398. package/dist/api/com/atproto/temp/checkSignupQueue.d.ts +1 -1
  399. package/dist/api/com/atproto/temp/checkSignupQueue.d.ts.map +1 -1
  400. package/dist/api/com/atproto/temp/checkSignupQueue.js +1 -1
  401. package/dist/api/com/atproto/temp/checkSignupQueue.js.map +1 -1
  402. package/dist/api/com/atproto/temp/index.d.ts +1 -1
  403. package/dist/api/com/atproto/temp/index.d.ts.map +1 -1
  404. package/dist/api/index.d.ts +1 -1
  405. package/dist/api/index.d.ts.map +1 -1
  406. package/dist/api/index.js +1 -1
  407. package/dist/api/index.js.map +1 -1
  408. package/dist/api/proxy.d.ts +1 -1
  409. package/dist/api/proxy.d.ts.map +1 -1
  410. package/dist/api/proxy.js.map +1 -1
  411. package/dist/auth-routes.d.ts +1 -1
  412. package/dist/auth-routes.d.ts.map +1 -1
  413. package/dist/auth-routes.js +1 -1
  414. package/dist/auth-routes.js.map +1 -1
  415. package/dist/auth-verifier.d.ts +1 -1
  416. package/dist/auth-verifier.d.ts.map +1 -1
  417. package/dist/auth-verifier.js +2 -2
  418. package/dist/auth-verifier.js.map +1 -1
  419. package/dist/basic-routes.d.ts +3 -3
  420. package/dist/basic-routes.d.ts.map +1 -1
  421. package/dist/basic-routes.js +2 -5
  422. package/dist/basic-routes.js.map +1 -1
  423. package/dist/bsky-app-view.d.ts +15 -0
  424. package/dist/bsky-app-view.d.ts.map +1 -0
  425. package/dist/bsky-app-view.js +43 -0
  426. package/dist/bsky-app-view.js.map +1 -0
  427. package/dist/config/config.js +1 -1
  428. package/dist/config/config.js.map +1 -1
  429. package/dist/context.d.ts +15 -15
  430. package/dist/context.d.ts.map +1 -1
  431. package/dist/context.js +30 -36
  432. package/dist/context.js.map +1 -1
  433. package/dist/crawlers.d.ts.map +1 -1
  434. package/dist/crawlers.js +1 -1
  435. package/dist/crawlers.js.map +1 -1
  436. package/dist/db/db.d.ts +2 -2
  437. package/dist/db/db.d.ts.map +1 -1
  438. package/dist/db/db.js +4 -4
  439. package/dist/db/db.js.map +1 -1
  440. package/dist/db/migrator.d.ts +1 -1
  441. package/dist/db/migrator.d.ts.map +1 -1
  442. package/dist/db/tables/moderation.d.ts +1 -1
  443. package/dist/db/tables/moderation.d.ts.map +1 -1
  444. package/dist/db/util.d.ts.map +1 -1
  445. package/dist/db/util.js +1 -1
  446. package/dist/db/util.js.map +1 -1
  447. package/dist/did-cache/db/index.d.ts.map +1 -1
  448. package/dist/did-cache/db/index.js.map +1 -1
  449. package/dist/disk-blobstore.d.ts +1 -2
  450. package/dist/disk-blobstore.d.ts.map +1 -1
  451. package/dist/disk-blobstore.js +17 -18
  452. package/dist/disk-blobstore.js.map +1 -1
  453. package/dist/error.d.ts.map +1 -1
  454. package/dist/error.js +1 -1
  455. package/dist/error.js.map +1 -1
  456. package/dist/handle/index.d.ts +1 -1
  457. package/dist/handle/index.d.ts.map +1 -1
  458. package/dist/handle/index.js +1 -1
  459. package/dist/handle/index.js.map +1 -1
  460. package/dist/image/image-url-builder.d.ts +8 -0
  461. package/dist/image/image-url-builder.d.ts.map +1 -0
  462. package/dist/image/image-url-builder.js +26 -0
  463. package/dist/image/image-url-builder.js.map +1 -0
  464. package/dist/image/index.d.ts +1 -1
  465. package/dist/image/index.d.ts.map +1 -1
  466. package/dist/image/index.js +1 -1
  467. package/dist/image/index.js.map +1 -1
  468. package/dist/index.d.ts +2 -2
  469. package/dist/index.d.ts.map +1 -1
  470. package/dist/index.js +25 -9
  471. package/dist/index.js.map +1 -1
  472. package/dist/lexicon/lexicons.d.ts +64 -2
  473. package/dist/lexicon/lexicons.d.ts.map +1 -1
  474. package/dist/lexicon/lexicons.js +36 -0
  475. package/dist/lexicon/lexicons.js.map +1 -1
  476. package/dist/lexicon/types/app/bsky/actor/defs.d.ts +19 -1
  477. package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
  478. package/dist/lexicon/types/app/bsky/actor/defs.js +10 -0
  479. package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
  480. package/dist/lexicon/types/app/bsky/feed/postgate.d.ts +1 -0
  481. package/dist/lexicon/types/app/bsky/feed/postgate.d.ts.map +1 -1
  482. package/dist/lexicon/types/app/bsky/feed/postgate.js.map +1 -1
  483. package/dist/lexicon/types/app/bsky/feed/threadgate.d.ts +1 -0
  484. package/dist/lexicon/types/app/bsky/feed/threadgate.d.ts.map +1 -1
  485. package/dist/lexicon/types/app/bsky/feed/threadgate.js.map +1 -1
  486. package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts +2 -0
  487. package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts.map +1 -1
  488. package/dist/lexicon/types/tools/ozone/moderation/defs.js.map +1 -1
  489. package/dist/logger.js +2 -5
  490. package/dist/logger.js.map +1 -1
  491. package/dist/mailer/index.d.ts.map +1 -1
  492. package/dist/mailer/index.js.map +1 -1
  493. package/dist/mailer/moderation.d.ts.map +1 -1
  494. package/dist/mailer/moderation.js.map +1 -1
  495. package/dist/mailer/templates/confirm-email.js +2 -2
  496. package/dist/mailer/templates/confirm-email.js.map +2 -2
  497. package/dist/oauth/provider.d.ts +1 -5
  498. package/dist/oauth/provider.d.ts.map +1 -1
  499. package/dist/oauth/provider.js +2 -6
  500. package/dist/oauth/provider.js.map +1 -1
  501. package/dist/pipethrough.d.ts +2 -2
  502. package/dist/pipethrough.d.ts.map +1 -1
  503. package/dist/pipethrough.js +1 -1
  504. package/dist/pipethrough.js.map +1 -1
  505. package/dist/read-after-write/types.d.ts +3 -3
  506. package/dist/read-after-write/types.d.ts.map +1 -1
  507. package/dist/read-after-write/util.d.ts +2 -2
  508. package/dist/read-after-write/util.d.ts.map +1 -1
  509. package/dist/read-after-write/util.js +1 -2
  510. package/dist/read-after-write/util.js.map +1 -1
  511. package/dist/read-after-write/viewer.d.ts +16 -31
  512. package/dist/read-after-write/viewer.d.ts.map +1 -1
  513. package/dist/read-after-write/viewer.js +28 -110
  514. package/dist/read-after-write/viewer.js.map +1 -1
  515. package/dist/redis.js +2 -2
  516. package/dist/redis.js.map +1 -1
  517. package/dist/repo/prepare.d.ts +2 -2
  518. package/dist/repo/prepare.d.ts.map +1 -1
  519. package/dist/repo/prepare.js +6 -6
  520. package/dist/repo/prepare.js.map +1 -1
  521. package/dist/repo/types.d.ts +2 -2
  522. package/dist/repo/types.d.ts.map +1 -1
  523. package/dist/scripts/rebuild-repo.d.ts +1 -1
  524. package/dist/scripts/rebuild-repo.d.ts.map +1 -1
  525. package/dist/scripts/rebuild-repo.js +3 -46
  526. package/dist/scripts/rebuild-repo.js.map +1 -1
  527. package/dist/sequencer/db/index.d.ts.map +1 -1
  528. package/dist/sequencer/db/index.js.map +1 -1
  529. package/dist/sequencer/events.d.ts +7 -7
  530. package/dist/sequencer/events.d.ts.map +1 -1
  531. package/dist/sequencer/events.js.map +1 -1
  532. package/dist/sequencer/outbox.d.ts +1 -2
  533. package/dist/sequencer/outbox.d.ts.map +1 -1
  534. package/dist/sequencer/outbox.js +0 -1
  535. package/dist/sequencer/outbox.js.map +1 -1
  536. package/dist/sequencer/sequencer.d.ts +4 -4
  537. package/dist/sequencer/sequencer.d.ts.map +1 -1
  538. package/dist/sequencer/sequencer.js +9 -9
  539. package/dist/sequencer/sequencer.js.map +1 -1
  540. package/dist/util/compression.js.map +1 -1
  541. package/dist/util/params.d.ts.map +1 -1
  542. package/dist/util/params.js +1 -1
  543. package/dist/util/params.js.map +1 -1
  544. package/dist/well-known.d.ts +3 -3
  545. package/dist/well-known.d.ts.map +1 -1
  546. package/dist/well-known.js +2 -5
  547. package/dist/well-known.js.map +1 -1
  548. package/package.json +21 -18
  549. package/src/account-manager/db/index.ts +1 -1
  550. package/src/account-manager/db/schema/authorization-request.ts +1 -1
  551. package/src/account-manager/db/schema/device.ts +1 -1
  552. package/src/account-manager/db/schema/index.ts +7 -7
  553. package/src/account-manager/db/schema/token.ts +1 -2
  554. package/src/account-manager/db/schema/used-refresh-token.ts +1 -1
  555. package/src/account-manager/helpers/account.ts +2 -2
  556. package/src/account-manager/helpers/authorization-request.ts +2 -2
  557. package/src/account-manager/helpers/device-account.ts +1 -2
  558. package/src/account-manager/helpers/device.ts +3 -3
  559. package/src/account-manager/helpers/email-token.ts +1 -1
  560. package/src/account-manager/helpers/invite.ts +1 -1
  561. package/src/account-manager/helpers/password.ts +2 -2
  562. package/src/account-manager/helpers/scrypt.ts +2 -2
  563. package/src/account-manager/helpers/token.ts +1 -1
  564. package/src/account-manager/index.ts +38 -8
  565. package/src/actor-store/actor-store-reader.ts +45 -0
  566. package/src/actor-store/actor-store-resources.ts +8 -0
  567. package/src/actor-store/actor-store-transactor.ts +31 -0
  568. package/src/actor-store/actor-store-writer.ts +17 -0
  569. package/src/actor-store/{index.ts → actor-store.ts} +26 -117
  570. package/src/actor-store/blob/reader.ts +17 -2
  571. package/src/actor-store/blob/transactor.ts +25 -10
  572. package/src/actor-store/db/index.ts +1 -1
  573. package/src/actor-store/db/schema/index.ts +3 -3
  574. package/src/actor-store/migrate.ts +1 -1
  575. package/src/actor-store/preference/transactor.ts +2 -2
  576. package/src/actor-store/record/reader.ts +125 -4
  577. package/src/actor-store/record/transactor.ts +3 -3
  578. package/src/actor-store/repo/reader.ts +1 -1
  579. package/src/actor-store/repo/sql-repo-reader.ts +7 -6
  580. package/src/actor-store/repo/sql-repo-transactor.ts +2 -2
  581. package/src/actor-store/repo/transactor.ts +16 -9
  582. package/src/api/app/bsky/actor/getPreferences.ts +4 -3
  583. package/src/api/app/bsky/actor/getProfile.ts +4 -4
  584. package/src/api/app/bsky/actor/getProfiles.ts +4 -4
  585. package/src/api/app/bsky/actor/index.ts +1 -2
  586. package/src/api/app/bsky/actor/putPreferences.ts +4 -3
  587. package/src/api/app/bsky/feed/getActorLikes.ts +4 -4
  588. package/src/api/app/bsky/feed/getAuthorFeed.ts +5 -5
  589. package/src/api/app/bsky/feed/getFeed.ts +8 -8
  590. package/src/api/app/bsky/feed/getPostThread.ts +14 -14
  591. package/src/api/app/bsky/feed/getTimeline.ts +4 -4
  592. package/src/api/app/bsky/feed/index.ts +1 -1
  593. package/src/api/app/bsky/index.ts +1 -1
  594. package/src/api/app/bsky/notification/index.ts +1 -1
  595. package/src/api/app/bsky/notification/registerPush.ts +9 -8
  596. package/src/api/app/bsky/util/resolver.ts +1 -1
  597. package/src/api/com/atproto/admin/deleteAccount.ts +2 -2
  598. package/src/api/com/atproto/admin/disableAccountInvites.ts +1 -1
  599. package/src/api/com/atproto/admin/disableInviteCodes.ts +1 -1
  600. package/src/api/com/atproto/admin/enableAccountInvites.ts +1 -1
  601. package/src/api/com/atproto/admin/getAccountInfo.ts +2 -3
  602. package/src/api/com/atproto/admin/getAccountInfos.ts +1 -1
  603. package/src/api/com/atproto/admin/getInviteCodes.ts +4 -4
  604. package/src/api/com/atproto/admin/getSubjectStatus.ts +1 -1
  605. package/src/api/com/atproto/admin/index.ts +9 -9
  606. package/src/api/com/atproto/admin/sendEmail.ts +2 -2
  607. package/src/api/com/atproto/admin/updateAccountEmail.ts +1 -1
  608. package/src/api/com/atproto/admin/updateAccountHandle.ts +1 -1
  609. package/src/api/com/atproto/admin/updateAccountPassword.ts +1 -1
  610. package/src/api/com/atproto/admin/updateSubjectStatus.ts +3 -3
  611. package/src/api/com/atproto/admin/util.ts +1 -1
  612. package/src/api/com/atproto/identity/getRecommendedDidCredentials.ts +1 -1
  613. package/src/api/com/atproto/identity/index.ts +3 -3
  614. package/src/api/com/atproto/identity/requestPlcOperationSignature.ts +2 -4
  615. package/src/api/com/atproto/identity/resolveHandle.ts +12 -16
  616. package/src/api/com/atproto/identity/signPlcOperation.ts +2 -4
  617. package/src/api/com/atproto/identity/submitPlcOperation.ts +2 -2
  618. package/src/api/com/atproto/identity/updateHandle.ts +3 -3
  619. package/src/api/com/atproto/index.ts +1 -1
  620. package/src/api/com/atproto/moderation/createReport.ts +4 -4
  621. package/src/api/com/atproto/moderation/index.ts +1 -1
  622. package/src/api/com/atproto/repo/applyWrites.ts +9 -7
  623. package/src/api/com/atproto/repo/createRecord.ts +4 -3
  624. package/src/api/com/atproto/repo/deleteRecord.ts +7 -4
  625. package/src/api/com/atproto/repo/describeRepo.ts +3 -3
  626. package/src/api/com/atproto/repo/getRecord.ts +2 -2
  627. package/src/api/com/atproto/repo/importRepo.ts +12 -27
  628. package/src/api/com/atproto/repo/index.ts +3 -3
  629. package/src/api/com/atproto/repo/listMissingBlobs.ts +1 -1
  630. package/src/api/com/atproto/repo/listRecords.ts +2 -2
  631. package/src/api/com/atproto/repo/putRecord.ts +8 -7
  632. package/src/api/com/atproto/repo/uploadBlob.ts +2 -2
  633. package/src/api/com/atproto/server/activateAccount.ts +2 -3
  634. package/src/api/com/atproto/server/checkAccountStatus.ts +1 -1
  635. package/src/api/com/atproto/server/confirmEmail.ts +1 -3
  636. package/src/api/com/atproto/server/createAccount.ts +6 -7
  637. package/src/api/com/atproto/server/createAppPassword.ts +1 -2
  638. package/src/api/com/atproto/server/createInviteCode.ts +1 -1
  639. package/src/api/com/atproto/server/createInviteCodes.ts +2 -2
  640. package/src/api/com/atproto/server/createSession.ts +1 -2
  641. package/src/api/com/atproto/server/deactivateAccount.ts +1 -1
  642. package/src/api/com/atproto/server/deleteAccount.ts +2 -2
  643. package/src/api/com/atproto/server/deleteSession.ts +1 -1
  644. package/src/api/com/atproto/server/describeServer.ts +1 -1
  645. package/src/api/com/atproto/server/getAccountInviteCodes.ts +2 -4
  646. package/src/api/com/atproto/server/getServiceAuth.ts +4 -4
  647. package/src/api/com/atproto/server/getSession.ts +3 -4
  648. package/src/api/com/atproto/server/index.ts +18 -27
  649. package/src/api/com/atproto/server/listAppPasswords.ts +1 -2
  650. package/src/api/com/atproto/server/refreshSession.ts +2 -3
  651. package/src/api/com/atproto/server/requestAccountDelete.ts +1 -3
  652. package/src/api/com/atproto/server/requestEmailConfirmation.ts +1 -3
  653. package/src/api/com/atproto/server/requestEmailUpdate.ts +2 -4
  654. package/src/api/com/atproto/server/requestPasswordReset.ts +1 -1
  655. package/src/api/com/atproto/server/reserveSigningKey.ts +1 -1
  656. package/src/api/com/atproto/server/resetPassword.ts +2 -2
  657. package/src/api/com/atproto/server/revokeAppPassword.ts +1 -2
  658. package/src/api/com/atproto/server/updateEmail.ts +2 -4
  659. package/src/api/com/atproto/server/util.ts +3 -3
  660. package/src/api/com/atproto/sync/deprecated/getCheckout.ts +1 -1
  661. package/src/api/com/atproto/sync/deprecated/getHead.ts +1 -1
  662. package/src/api/com/atproto/sync/getBlob.ts +4 -4
  663. package/src/api/com/atproto/sync/getBlocks.ts +2 -2
  664. package/src/api/com/atproto/sync/getLatestCommit.ts +1 -1
  665. package/src/api/com/atproto/sync/getRecord.ts +4 -4
  666. package/src/api/com/atproto/sync/getRepo.ts +4 -4
  667. package/src/api/com/atproto/sync/getRepoStatus.ts +2 -2
  668. package/src/api/com/atproto/sync/index.ts +5 -5
  669. package/src/api/com/atproto/sync/listBlobs.ts +2 -2
  670. package/src/api/com/atproto/sync/listRepos.ts +3 -3
  671. package/src/api/com/atproto/sync/subscribeRepos.ts +2 -2
  672. package/src/api/com/atproto/sync/util.ts +1 -1
  673. package/src/api/com/atproto/temp/checkSignupQueue.ts +2 -2
  674. package/src/api/com/atproto/temp/index.ts +1 -1
  675. package/src/api/index.ts +2 -2
  676. package/src/api/proxy.ts +1 -1
  677. package/src/auth-routes.ts +2 -3
  678. package/src/auth-verifier.ts +2 -3
  679. package/src/basic-routes.ts +4 -4
  680. package/src/bsky-app-view.ts +26 -0
  681. package/src/config/config.ts +1 -1
  682. package/src/config/env.ts +1 -1
  683. package/src/context.ts +49 -46
  684. package/src/crawlers.ts +1 -1
  685. package/src/db/db.ts +7 -7
  686. package/src/db/migrator.ts +1 -1
  687. package/src/db/tables/moderation.ts +2 -2
  688. package/src/db/util.ts +2 -2
  689. package/src/did-cache/db/index.ts +1 -1
  690. package/src/did-cache/index.ts +1 -1
  691. package/src/disk-blobstore.ts +6 -8
  692. package/src/error.ts +2 -2
  693. package/src/handle/index.ts +2 -2
  694. package/src/image/image-url-builder.ts +16 -0
  695. package/src/image/index.ts +2 -2
  696. package/src/index.ts +37 -10
  697. package/src/lexicon/lexicons.ts +42 -0
  698. package/src/lexicon/types/app/bsky/actor/defs.ts +36 -0
  699. package/src/lexicon/types/app/bsky/feed/postgate.ts +1 -0
  700. package/src/lexicon/types/app/bsky/feed/threadgate.ts +1 -0
  701. package/src/lexicon/types/tools/ozone/moderation/defs.ts +2 -0
  702. package/src/logger.ts +1 -1
  703. package/src/mailer/index.ts +1 -2
  704. package/src/mailer/moderation.ts +1 -1
  705. package/src/mailer/templates/confirm-email.d.ts +1 -1
  706. package/src/mailer/templates/confirm-email.hbs +6 -1
  707. package/src/mailer/templates/delete-account.d.ts +1 -1
  708. package/src/mailer/templates/plc-operation.d.ts +1 -1
  709. package/src/mailer/templates/reset-password.d.ts +1 -1
  710. package/src/mailer/templates/update-email.d.ts +1 -1
  711. package/src/oauth/provider.ts +1 -17
  712. package/src/pipethrough.ts +4 -6
  713. package/src/read-after-write/types.ts +3 -3
  714. package/src/read-after-write/util.ts +3 -5
  715. package/src/read-after-write/viewer.ts +50 -124
  716. package/src/redis.ts +1 -1
  717. package/src/repo/prepare.ts +18 -18
  718. package/src/repo/types.ts +2 -2
  719. package/src/scripts/rebuild-repo.ts +4 -61
  720. package/src/sequencer/db/index.ts +1 -1
  721. package/src/sequencer/events.ts +3 -3
  722. package/src/sequencer/outbox.ts +1 -3
  723. package/src/sequencer/sequencer.ts +12 -12
  724. package/src/util/compression.ts +1 -1
  725. package/src/util/params.ts +1 -1
  726. package/src/well-known.ts +4 -4
  727. package/tests/__snapshots__/takedown-appeal.test.ts.snap +6 -1
  728. package/tests/_util.ts +5 -5
  729. package/tests/account-deletion.test.ts +7 -7
  730. package/tests/account-migration.test.ts +3 -3
  731. package/tests/account.test.ts +2 -2
  732. package/tests/app-passwords.test.ts +1 -1
  733. package/tests/blob-deletes.test.ts +4 -6
  734. package/tests/create-post.test.ts +3 -3
  735. package/tests/crud.test.ts +12 -16
  736. package/tests/email-confirmation.test.ts +5 -5
  737. package/tests/entryway.test.ts +5 -5
  738. package/tests/file-uploads.test.ts +7 -7
  739. package/tests/handles.test.ts +3 -3
  740. package/tests/invites-admin.test.ts +1 -1
  741. package/tests/moderation.test.ts +2 -2
  742. package/tests/moderator-auth.test.ts +4 -4
  743. package/tests/oauth.test.ts +4 -4
  744. package/tests/plc-operations.test.ts +6 -6
  745. package/tests/preferences.test.ts +2 -2
  746. package/tests/proxied/__snapshots__/admin.test.ts.snap +3 -3
  747. package/tests/proxied/admin.test.ts +2 -2
  748. package/tests/proxied/feedgen.test.ts +4 -4
  749. package/tests/proxied/notif.test.ts +5 -5
  750. package/tests/proxied/procedures.test.ts +1 -1
  751. package/tests/proxied/proxy-catchall.test.ts +6 -6
  752. package/tests/proxied/proxy-header.test.ts +5 -5
  753. package/tests/proxied/read-after-write.test.ts +7 -7
  754. package/tests/proxied/views.test.ts +3 -3
  755. package/tests/races.test.ts +2 -2
  756. package/tests/rate-limits.test.ts +1 -1
  757. package/tests/sequencer.test.ts +11 -7
  758. package/tests/server.test.ts +4 -4
  759. package/tests/sync/list.test.ts +1 -1
  760. package/tests/sync/subscribe-repos.test.ts +9 -9
  761. package/tests/sync/sync.test.ts +3 -3
  762. package/tests/takedown-appeal.test.ts +3 -1
  763. package/tsconfig.build.tsbuildinfo +1 -1
  764. package/dist/actor-store/index.d.ts +0 -65
  765. package/dist/actor-store/index.d.ts.map +0 -1
  766. package/dist/actor-store/index.js.map +0 -1
  767. package/dist/oauth/detailed-account-store.d.ts +0 -27
  768. package/dist/oauth/detailed-account-store.d.ts.map +0 -1
  769. package/dist/oauth/detailed-account-store.js +0 -76
  770. package/dist/oauth/detailed-account-store.js.map +0 -1
  771. package/src/oauth/detailed-account-store.ts +0 -96
@@ -1,4 +1,4 @@
1
- import AppContext from '../../../../context';
1
+ import { AppContext } from '../../../../context';
2
2
  import { Server } from '../../../../lexicon';
3
3
  export default function (server: Server, ctx: AppContext): void;
4
4
  //# sourceMappingURL=updateEmail.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"updateEmail.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/server/updateEmail.ts"],"names":[],"mappings":"AAOA,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAG5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QA2DvD"}
1
+ {"version":3,"file":"updateEmail.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/server/updateEmail.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAG5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QA2DvD"}
@@ -5,9 +5,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.default = default_1;
7
7
  const node_assert_1 = __importDefault(require("node:assert"));
8
- const xrpc_server_1 = require("@atproto/xrpc-server");
9
8
  const address_1 = require("@hapi/address");
10
9
  const disposable_email_domains_js_1 = require("disposable-email-domains-js");
10
+ const xrpc_server_1 = require("@atproto/xrpc-server");
11
11
  const account_1 = require("../../../../account-manager/helpers/account");
12
12
  const lexicons_1 = require("../../../../lexicon/lexicons");
13
13
  function default_1(server, ctx) {
@@ -1 +1 @@
1
- {"version":3,"file":"updateEmail.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/server/updateEmail.ts"],"names":[],"mappings":";;;;;AAWA,4BA2DC;AAtED,8DAAgC;AAEhC,sDAA0D;AAC1D,2CAA4C;AAC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AAoD;YACpD,IAAI,OAAO,CAAC,gBAAgB,EAAE,CAAC;gBAC7B,IAAI,CAAC,KAAK,EAAE,CAAC;oBACX,MAAM,IAAI,iCAAmB,CAC3B,6BAA6B,EAC7B,eAAe,CAChB,CAAA;gBACH,CAAC;gBACD,MAAM,GAAG,CAAC,cAAc,CAAC,qBAAqB,CAC5C,GAAG,EACH,cAAc,EACd,KAAK,CACN,CAAA;YACH,CAAC;YAED,IAAI,CAAC;gBACH,MAAM,GAAG,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,CAAA;YACtD,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACb,IAAI,GAAG,YAAY,gCAAsB,EAAE,CAAC;oBAC1C,MAAM,IAAI,iCAAmB,CAC3B,qEAAqE,CACtE,CAAA;gBACH,CAAC;qBAAM,CAAC;oBACN,MAAM,GAAG,CAAA;gBACX,CAAC;YACH,CAAC;QACH,CAAC;KACF,CAAC,CAAA;AACJ,CAAC"}
1
+ {"version":3,"file":"updateEmail.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/server/updateEmail.ts"],"names":[],"mappings":";;;;;AASA,4BA2DC;AApED,8DAAgC;AAChC,2CAA4C;AAC5C,6EAA+D;AAC/D,sDAA0D;AAC1D,yEAAoF;AAGpF,2DAAkD;AAElD,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC;QACpC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,UAAU,CAAC,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC;QAC1D,OAAO,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE;YACjC,MAAM,GAAG,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAA;YAChC,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC,IAAI,CAAA;YACnC,I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AAsB,EAAE,CAAC;oBAC1C,MAAM,IAAI,iCAAmB,CAC3B,qEAAqE,CACtE,CAAA;gBACH,CAAC;qBAAM,CAAC;oBACN,MAAM,GAAG,CAAA;gBACX,CAAC;YACH,CAAC;QACH,CAAC;KACF,CAAC,CAAA;AACJ,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { DidDocument } from '@atproto/identity';
2
2
  import { ServerConfig } from '../../../../config';
3
- import AppContext from '../../../../context';
3
+ import { AppContext } from '../../../../context';
4
4
  export declare const genInvCode: (cfg: ServerConfig) => string;
5
5
  export declare const genInvCodes: (cfg: ServerConfig, count: number) => string[];
6
6
  export declare const getRandomToken: () => string;
@@ -1 +1 @@
1
- {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/server/util.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACjD,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAS5C,eAAO,MAAM,UAAU,QAAS,YAAY,KAAG,MAE9C,CAAA;AAED,eAAO,MAAM,WAAW,QAAS,YAAY,SAAS,MAAM,KAAG,MAAM,EAMpE,CAAA;AAGD,eAAO,MAAM,cAAc,cAG1B,CAAA;AAED,eAAO,MAAM,iBAAiB,QACvB,UAAU,OACV,MAAM,iBACI,OAAO,KACrB,OAAO,CAAC,WAAW,GAAG,SAAS,CAOjC,CAAA;AAED,eAAO,MAAM,gBAAgB,QACtB,UAAU,OACV,MAAM,iBACI,OAAO,KACrB,OAAO,CAAC,WAAW,GAAG,SAAS,CAGjC,CAAA;AAED,eAAO,MAAM,uBAAuB,QAC7B,UAAU,OACV,MAAM,KACV,OAAO,CAAC,OAAO,CAOjB,CAAA;AAED,eAAO,MAAM,gCAAgC,QACtC,UAAU,OACV,MAAM,kBAmBZ,CAAA"}
1
+ {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/server/util.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAE/C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAOhD,eAAO,MAAM,UAAU,QAAS,YAAY,KAAG,MAE9C,CAAA;AAED,eAAO,MAAM,WAAW,QAAS,YAAY,SAAS,MAAM,KAAG,MAAM,EAMpE,CAAA;AAGD,eAAO,MAAM,cAAc,cAG1B,CAAA;AAED,eAAO,MAAM,iBAAiB,QACvB,UAAU,OACV,MAAM,iBACI,OAAO,KACrB,OAAO,CAAC,WAAW,GAAG,SAAS,CAOjC,CAAA;AAED,eAAO,MAAM,gBAAgB,QACtB,UAAU,OACV,MAAM,iBACI,OAAO,KACrB,OAAO,CAAC,WAAW,GAAG,SAAS,CAGjC,CAAA;AAED,eAAO,MAAM,uBAAuB,QAC7B,UAAU,OACV,MAAM,KACV,OAAO,CAAC,OAAO,CAOjB,CAAA;AAED,eAAO,MAAM,gCAAgC,QACtC,UAAU,OACV,MAAM,kBAmBZ,CAAA"}
@@ -24,10 +24,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.assertValidDidDocumentForService = exports.isValidDidDocForService = exports.didDocForSession = exports.safeResolveDidDoc = exports.getRandomToken = exports.genInvCodes = exports.genInvCode = void 0;
27
+ const common_1 = require("@atproto/common");
27
28
  const crypto = __importStar(require("@atproto/crypto"));
28
- const logger_1 = require("../../../../logger");
29
29
  const xrpc_server_1 = require("@atproto/xrpc-server");
30
- const common_1 = require("@atproto/common");
30
+ const logger_1 = require("../../../../logger");
31
31
  // generate an invite code preceded by the hostname
32
32
  // with '.'s replaced by '-'s so it is not mistakable for a link
33
33
  // ex: bsky-app-abc234-567xy
@@ -1 +1 @@
1
- {"version":3,"file":"util.js","sourceRoot":"","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IAAI,iCAAmB,CAC3B,yEAAyE,CAC1E,CAAA;IACH,CAAC;IAED,MAAM,OAAO,GAAG,MAAM,GAAG,CAAC,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC,CAAA;IACjD,IAAI,CAAC,UAAU,IAAI,UAAU,KAAK,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC;QAChD,MAAM,IAAI,iCAAmB,CAC3B,sEAAsE,CACvE,CAAA;IACH,CAAC;AACH,CAAC,CAAA"}
@@ -1,4 +1,4 @@
1
+ import { AppContext } from '../../../../../context';
1
2
  import { Server } from '../../../../../lexicon';
2
- import AppContext from '../../../../../context';
3
3
  export default function (server: Server, ctx: AppContext): void;
4
4
  //# sourceMappingURL=getCheckout.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getCheckout.d.ts","sourceRoot":"","sources":["../../../../../../src/api/com/atproto/sync/deprecated/getCheckout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAA;AAC/C,OAAO,UAAU,MAAM,wBAAwB,CAAA;AAI/C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAmBvD"}
1
+ {"version":3,"file":"getCheckout.d.ts","sourceRoot":"","sources":["../../../../../../src/api/com/atproto/sync/deprecated/getCheckout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAA;AAI/C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAmBvD"}
@@ -1,4 +1,4 @@
1
+ import { AppContext } from '../../../../../context';
1
2
  import { Server } from '../../../../../lexicon';
2
- import AppContext from '../../../../../context';
3
3
  export default function (server: Server, ctx: AppContext): void;
4
4
  //# sourceMappingURL=getHead.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getHead.d.ts","sourceRoot":"","sources":["../../../../../../src/api/com/atproto/sync/deprecated/getHead.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAA;AAC/C,OAAO,UAAU,MAAM,wBAAwB,CAAA;AAG/C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QA0BvD"}
1
+ {"version":3,"file":"getHead.d.ts","sourceRoot":"","sources":["../../../../../../src/api/com/atproto/sync/deprecated/getHead.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAA;AAG/C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QA0BvD"}
@@ -1,4 +1,4 @@
1
+ import { AppContext } from '../../../../context';
1
2
  import { Server } from '../../../../lexicon';
2
- import AppContext from '../../../../context';
3
3
  export default function (server: Server, ctx: AppContext): void;
4
4
  //# sourceMappingURL=getBlob.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getBlob.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/sync/getBlob.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAM5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAsCvD"}
1
+ {"version":3,"file":"getBlob.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/sync/getBlob.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAG5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAsCvD"}
@@ -2,10 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = default_1;
4
4
  const cid_1 = require("multiformats/cid");
5
- const xrpc_server_1 = require("@atproto/xrpc-server");
6
5
  const repo_1 = require("@atproto/repo");
7
- const util_1 = require("./util");
6
+ const xrpc_server_1 = require("@atproto/xrpc-server");
8
7
  const auth_verifier_1 = require("../../../../auth-verifier");
8
+ const util_1 = require("./util");
9
9
  function default_1(server, ctx) {
10
10
  server.com.atproto.sync.getBlob({
11
11
  auth: ctx.authVerifier.optionalAccessOrAdminToken({
@@ -1 +1 @@
1
- {"version":3,"file":"getBlob.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/sync/getBlob.ts"],"names":[],"mappings":";;AAQA,4BAsCC;AA9CD,0CAAsC;AAGtC,sDAA0D;AAC1D,wCAAiD;AACjD,iCAA+C;AAC/C,6DAAqD;AAErD,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC;QAC9B,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,0BAA0B,CAAC;YAChD,UAAU,EAAE,CAAC,yBAAS,CAAC,SAAS,CAAC;SAClC,CAAC;QACF,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE;YACvC,MAAM,EAAE,GAAG,EAAE,GAAG,MAAM,CAAA;YACtB,MAAM,IAAA,6BAAsB,EAC1B,GAAG,EACH,GAAG,EACH,GAAG,CAAC,YAAY,CAAC,aAAa,CAAC,IAAI,EAAE,GAAG,CAAC,CAC1C,CAAA;YAED,MAAM,GAAG,GAAG,SAAG,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAA;YACjC,MAAM,KAAK,GAAG,MAAM,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE;gBAClE,IAA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QACH,CAAC;KACF,CAAC,CAAA;AACJ,CAAC"}
@@ -1,4 +1,4 @@
1
+ import { AppContext } from '../../../../context';
1
2
  import { Server } from '../../../../lexicon';
2
- import AppContext from '../../../../context';
3
3
  export default function (server: Server, ctx: AppContext): void;
4
4
  //# sourceMappingURL=getBlocks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getBlocks.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/sync/getBlocks.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAG5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QA2BvD"}
1
+ {"version":3,"file":"getBlocks.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/sync/getBlocks.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAG5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QA2BvD"}
@@ -2,9 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = default_1;
4
4
  const cid_1 = require("multiformats/cid");
5
- const xrpc_server_1 = require("@atproto/xrpc-server");
6
5
  const common_1 = require("@atproto/common");
7
6
  const repo_1 = require("@atproto/repo");
7
+ const xrpc_server_1 = require("@atproto/xrpc-server");
8
8
  const util_1 = require("./util");
9
9
  function default_1(server, ctx) {
10
10
  server.com.atproto.sync.getBlocks({
@@ -1 +1 @@
1
- {"version":3,"file":"getBlocks.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/sync/getBlocks.ts"],"names":[],"mappings":";;AAQA,4BA2BC;AAnCD,0CAAsC;AACtC,sDAA0D;AAC1D,4CAAsD;AACtD,wCAAiD;AAG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,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;YAE/C,OAAO;gBACL,QAAQ,EAAE,0BAA0B;gBACpC,IAAI,EAAE,IAAA,6BAAoB,EAAC,GAAG,CAAC;aAChC,CAAA;QACH,CAAC;KACF,CAAC,CAAA;AACJ,CAAC"}
@@ -1,4 +1,4 @@
1
+ import { AppContext } from '../../../../context';
1
2
  import { Server } from '../../../../lexicon';
2
- import AppContext from '../../../../context';
3
3
  export default function (server: Server, ctx: AppContext): void;
4
4
  //# sourceMappingURL=getLatestCommit.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getLatestCommit.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/sync/getLatestCommit.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAG5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QA0BvD"}
1
+ {"version":3,"file":"getLatestCommit.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/sync/getLatestCommit.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAG5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QA0BvD"}
@@ -1,4 +1,4 @@
1
+ import { AppContext } from '../../../../context';
1
2
  import { Server } from '../../../../lexicon';
2
- import AppContext from '../../../../context';
3
3
  export default function (server: Server, ctx: AppContext): void;
4
4
  //# sourceMappingURL=getRecord.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getRecord.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/sync/getRecord.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAK5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAwCvD"}
1
+ {"version":3,"file":"getRecord.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/sync/getRecord.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAG5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAwCvD"}
@@ -25,9 +25,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.default = default_1;
27
27
  const cid_1 = require("multiformats/cid");
28
+ const common_1 = require("@atproto/common");
28
29
  const repo = __importStar(require("@atproto/repo"));
29
30
  const xrpc_server_1 = require("@atproto/xrpc-server");
30
- const common_1 = require("@atproto/common");
31
31
  const sql_repo_reader_1 = require("../../../../actor-store/repo/sql-repo-reader");
32
32
  const util_1 = require("./util");
33
33
  function default_1(server, ctx) {
@@ -1 +1 @@
1
- {"version":3,"file":"getRecord.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/sync/getRecord.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAUA,4BAwCC;AAjDD,0CAAsC;AACtC,oDAAqC;AACrC,sDAA0D;AAG1D,4CAAsD;AACtD,kFAA4E;AAC5E,iCAA+C;AAE/C,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC;QAChC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,0BAA0B,EAAE;QACnD,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE;YAClC,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE,IAAI,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M,EAAE,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC,CAAA;gBACxE,SAAS,GAAG,IAAA,6BAAoB,EAAC,OAAO,CAAC,CAAA;YAC3C,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACb,OAAO,CAAC,KAAK,EAAE,CAAA;gBACf,MAAM,GAAG,CAAA;YACX,CAAC;YACD,MAAM,OAAO,GAAG,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,EAAE,CAAA;YACrC,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,CAAA;YAC9B,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,CAAA;YAE9B,OAAO;gBACL,QAAQ,EAAE,0BAA0B;gBACpC,IAAI,EAAE,SAAS;aAChB,CAAA;QACH,CAAC;KACF,CAAC,CAAA;AACJ,CAAC"}
@@ -1,6 +1,6 @@
1
- import stream from 'stream';
1
+ import stream from 'node:stream';
2
+ import { AppContext } from '../../../../context';
2
3
  import { Server } from '../../../../lexicon';
3
- import AppContext from '../../../../context';
4
4
  export default function (server: Server, ctx: AppContext): void;
5
5
  export declare const getCarStream: (ctx: AppContext, did: string, since?: string) => Promise<stream.Readable>;
6
6
  //# sourceMappingURL=getRepo.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getRepo.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/sync/getRepo.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAA;AAE3B,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAQ5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAqBvD;AAED,eAAO,MAAM,YAAY,QAClB,UAAU,OACV,MAAM,UACH,MAAM,KACb,OAAO,CAAC,MAAM,CAAC,QAAQ,CAiBzB,CAAA"}
1
+ {"version":3,"file":"getRepo.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/sync/getRepo.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAA;AAOhC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAG5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAqBvD;AAED,eAAO,MAAM,YAAY,QAClB,UAAU,OACV,MAAM,UACH,MAAM,KACb,OAAO,CAAC,MAAM,CAAC,QAAQ,CAiBzB,CAAA"}
@@ -4,8 +4,8 @@ exports.getCarStream = void 0;
4
4
  exports.default = default_1;
5
5
  const xrpc_server_1 = require("@atproto/xrpc-server");
6
6
  const sql_repo_reader_1 = require("../../../../actor-store/repo/sql-repo-reader");
7
- const util_1 = require("./util");
8
7
  const auth_verifier_1 = require("../../../../auth-verifier");
8
+ const util_1 = require("./util");
9
9
  function default_1(server, ctx) {
10
10
  server.com.atproto.sync.getRepo({
11
11
  auth: ctx.authVerifier.optionalAccessOrAdminToken({
@@ -1 +1 @@
1
- {"version":3,"file":"getRepo.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/sync/getRepo.ts"],"names":[],"mappings":";;;AAWA,4BAqBC;AA/BD,sDAA0D;AAG1D,kFAGqD;AACrD,iCAA+C;AAC/C,6DAAqD;AAErD,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC;QAC9B,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,0BAA0B,CAAC;YAChD,UAAU,EAAE,CAAC,yBAAS,CAAC,SAAS,CAAC;SAClC,CAAC;QACF,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE;YAClC,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,MAAM,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AAG,YAAY,uCAAqB,EAAE,CAAC;YACzC,MAAM,IAAI,iCAAmB,CAAC,gCAAgC,GAAG,EAAE,CAAC,CAAA;QACtE,CAAC;QACD,MAAM,GAAG,CAAA;IACX,CAAC;IACD,MAAM,OAAO,GAAG,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,EAAE,CAAA;IACrC,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,CAAA;IAC9B,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,CAAA;IAC9B,OAAO,SAAS,CAAA;AAClB,CAAC,CAAA;AArBY,QAAA,YAAY,gBAqBxB"}
@@ -1,4 +1,4 @@
1
+ import { AppContext } from '../../../../context';
1
2
  import { Server } from '../../../../lexicon';
2
- import AppContext from '../../../../context';
3
3
  export default function (server: Server, ctx: AppContext): void;
4
4
  //# sourceMappingURL=getRepoStatus.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getRepoStatus.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/sync/getRepoStatus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAI5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QA2BvD"}
1
+ {"version":3,"file":"getRepoStatus.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/sync/getRepoStatus.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAG5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QA2BvD"}
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = default_1;
4
- const util_1 = require("./util");
5
4
  const account_manager_1 = require("../../../../account-manager");
5
+ const util_1 = require("./util");
6
6
  function default_1(server, ctx) {
7
7
  server.com.atproto.sync.getRepoStatus({
8
8
  handler: async ({ params }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"getRepoStatus.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/sync/getRepoStatus.ts"],"names":[],"mappings":";;AAKA,4BA2BC;AA9BD,iCAA+C;AAC/C,iEAAiE;AAEjE,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC;QACpC,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE;YAC5B,MAAM,EAAE,GAAG,EAAE,GAAG,MAAM,CAAA;YACtB,MAAM,OAAO,GAAG,MAAM,IAAA,6BAAsB,EAAC,GAAG,EAAE,GAAG,EAAE,IAAI,CAAC,CAAA;YAE5D,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,qCAAmB,EAAC,OAAO,CAAC,CAAA;YAEvD,IAAI,GAAG,GAAuB,SAAS,CAAA;YACvC,IAAI,MAAM,EAAE,CAAC;gBACX,MAAM,IAAI,GAAG,MAAM,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,EAAE,CACpD,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,eAAe,EAAE,CACrC,CAAA;gBACD,GAAG,GAAG,IAAI,CAAC,GAAG,CAAA;YAChB,CAAC;YAED,OAAO;gBACL,QAAQ,EAAE,kBAAkB;gBAC5B,IAAI,EAAE;oBACJ,GAAG;oBACH,MAAM;oBACN,MAAM;oBACN,GAAG;iBACJ;aACF,CAAA;QACH,CAAC;KACF,CAAC,CAAA;AACJ,CAAC"}
1
+ {"version":3,"file":"getRepoStatus.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/sync/getRepoStatus.ts"],"names":[],"mappings":";;AAKA,4BA2BC;AAhCD,iEAAiE;AAGjE,iCAA+C;AAE/C,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC;QACpC,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE;YAC5B,MAAM,EAAE,GAAG,EAAE,GAAG,MAAM,CAAA;YACtB,MAAM,OAAO,GAAG,MAAM,IAAA,6BAAsB,EAAC,GAAG,EAAE,GAAG,EAAE,IAAI,CAAC,CAAA;YAE5D,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,qCAAmB,EAAC,OAAO,CAAC,CAAA;YAEvD,IAAI,GAAG,GAAuB,SAAS,CAAA;YACvC,IAAI,MAAM,EAAE,CAAC;gBACX,MAAM,IAAI,GAAG,MAAM,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,EAAE,CACpD,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,eAAe,EAAE,CACrC,CAAA;gBACD,GAAG,GAAG,IAAI,CAAC,GAAG,CAAA;YAChB,CAAC;YAED,OAAO;gBACL,QAAQ,EAAE,kBAAkB;gBAC5B,IAAI,EAAE;oBACJ,GAAG;oBACH,MAAM;oBACN,MAAM;oBACN,GAAG;iBACJ;aACF,CAAA;QACH,CAAC;KACF,CAAC,CAAA;AACJ,CAAC"}
@@ -1,4 +1,4 @@
1
+ import { AppContext } from '../../../../context';
1
2
  import { Server } from '../../../../lexicon';
2
- import AppContext from '../../../../context';
3
3
  export default function (server: Server, ctx: AppContext): void;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/sync/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAa5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAYvD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/sync/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAa5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAYvD"}
@@ -4,17 +4,17 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.default = default_1;
7
+ const getCheckout_1 = __importDefault(require("./deprecated/getCheckout"));
8
+ const getHead_1 = __importDefault(require("./deprecated/getHead"));
7
9
  const getBlob_1 = __importDefault(require("./getBlob"));
8
10
  const getBlocks_1 = __importDefault(require("./getBlocks"));
9
11
  const getLatestCommit_1 = __importDefault(require("./getLatestCommit"));
10
- const getRepoStatus_1 = __importDefault(require("./getRepoStatus"));
11
12
  const getRecord_1 = __importDefault(require("./getRecord"));
12
13
  const getRepo_1 = __importDefault(require("./getRepo"));
13
- const subscribeRepos_1 = __importDefault(require("./subscribeRepos"));
14
+ const getRepoStatus_1 = __importDefault(require("./getRepoStatus"));
14
15
  const listBlobs_1 = __importDefault(require("./listBlobs"));
15
16
  const listRepos_1 = __importDefault(require("./listRepos"));
16
- const getCheckout_1 = __importDefault(require("./deprecated/getCheckout"));
17
- const getHead_1 = __importDefault(require("./deprecated/getHead"));
17
+ const subscribeRepos_1 = __importDefault(require("./subscribeRepos"));
18
18
  function default_1(server, ctx) {
19
19
  (0, getBlob_1.default)(server, ctx);
20
20
  (0, getBlocks_1.default)(server, ctx);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/sync/index.ts"],"names":[],"mappings":";;;;;A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G,CAAC,CAAA;IACtB,IAAA,yBAAe,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC5B,IAAA,uBAAa,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC1B,IAAA,mBAAS,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACtB,IAAA,iBAAO,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACpB,IAAA,wBAAc,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,IAAA,mBAAS,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACtB,IAAA,mBAAS,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACtB,IAAA,qBAAW,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACxB,IAAA,iBAAO,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;AACtB,CAAC"}
@@ -1,4 +1,4 @@
1
+ import { AppContext } from '../../../../context';
1
2
  import { Server } from '../../../../lexicon';
2
- import AppContext from '../../../../context';
3
3
  export default function (server: Server, ctx: AppContext): void;
4
4
  //# sourceMappingURL=listBlobs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"listBlobs.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/sync/listBlobs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAI5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QA0BvD"}
1
+ {"version":3,"file":"listBlobs.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/sync/listBlobs.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAG5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QA0BvD"}
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = default_1;
4
- const util_1 = require("./util");
5
4
  const auth_verifier_1 = require("../../../../auth-verifier");
5
+ const util_1 = require("./util");
6
6
  function default_1(server, ctx) {
7
7
  server.com.atproto.sync.listBlobs({
8
8
  auth: ctx.authVerifier.optionalAccessOrAdminToken({
@@ -1 +1 @@
1
- {"version":3,"file":"listBlobs.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/sync/listBlobs.ts"],"names":[],"mappings":";;AAKA,4BA0BC;AA7BD,iCAA+C;AAC/C,6DAAqD;AAErD,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC;QAChC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,0BAA0B,CAAC;YAChD,UAAU,EAAE,CAAC,yBAAS,CAAC,SAAS,CAAC;SAClC,CAAC;QACF,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE;YAClC,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;YAC5C,MAAM,IAAA,6BAAsB,EAC1B,GAAG,EACH,GAAG,EACH,GAAG,CAAC,YAAY,CAAC,aAAa,CAAC,IAAI,EAAE,GAAG,CAAC,CAC1C,CAAA;YAED,MAAM,QAAQ,GAAG,MAAM,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,EAAE,CACxD,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,CACpD,CAAA;YAED,OAAO;gBACL,QAAQ,EAAE,kBAAkB;gBAC5B,IAAI,EAAE;oBACJ,MAAM,EAAE,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;oBACvB,IAAI,EAAE,QAAQ;iBACf;aACF,CAAA;QACH,CAAC;KACF,CAAC,CAAA;AACJ,CAAC"}
1
+ {"version":3,"file":"listBlobs.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/sync/listBlobs.ts"],"names":[],"mappings":";;AAKA,4BA0BC;AA/BD,6DAAqD;AAGrD,iCAA+C;AAE/C,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC;QAChC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,0BAA0B,CAAC;YAChD,UAAU,EAAE,CAAC,yBAAS,CAAC,SAAS,CAAC;SAClC,CAAC;QACF,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE;YAClC,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;YAC5C,MAAM,IAAA,6BAAsB,EAC1B,GAAG,EACH,GAAG,EACH,GAAG,CAAC,YAAY,CAAC,aAAa,CAAC,IAAI,EAAE,GAAG,CAAC,CAC1C,CAAA;YAED,MAAM,QAAQ,GAAG,MAAM,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,EAAE,CACxD,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,CACpD,CAAA;YAED,OAAO;gBACL,QAAQ,EAAE,kBAAkB;gBAC5B,IAAI,EAAE;oBACJ,MAAM,EAAE,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;oBACvB,IAAI,EAAE,QAAQ;iBACf;aACF,CAAA;QACH,CAAC;KACF,CAAC,CAAA;AACJ,CAAC"}
@@ -1,6 +1,6 @@
1
- import { Server } from '../../../../lexicon';
2
- import AppContext from '../../../../context';
1
+ import { AppContext } from '../../../../context';
3
2
  import { Cursor, GenericKeyset } from '../../../../db/pagination';
3
+ import { Server } from '../../../../lexicon';
4
4
  export default function (server: Server, ctx: AppContext): void;
5
5
  type TimeDidResult = {
6
6
  createdAt: string;
@@ -1 +1 @@
1
- {"version":3,"file":"listRepos.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/sync/listRepos.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAC5C,OAAO,EAAE,MAAM,EAAE,aAAa,EAAY,MAAM,2BAA2B,CAAA;AAG3E,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QA2CvD;AAED,KAAK,aAAa,GAAG;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAA;AAEvD,qBAAa,aAAc,SAAQ,aAAa,CAAC,aAAa,EAAE,MAAM,CAAC;IACrE,WAAW,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM;IAG1C,qBAAqB,CAAC,OAAO,EAAE,MAAM;;;;IAMrC,qBAAqB,CAAC,MAAM,EAAE,MAAM;;;;CAUrC"}
1
+ {"version":3,"file":"listRepos.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/sync/listRepos.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAChD,OAAO,EAAE,MAAM,EAAE,aAAa,EAAY,MAAM,2BAA2B,CAAA;AAC3E,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAE5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QA2CvD;AAED,KAAK,aAAa,GAAG;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAA;AAEvD,qBAAa,aAAc,SAAQ,aAAa,CAAC,aAAa,EAAE,MAAM,CAAC;IACrE,WAAW,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM;IAG1C,qBAAqB,CAAC,OAAO,EAAE,MAAM;;;;IAMrC,qBAAqB,CAAC,MAAM,EAAE,MAAM;;;;CAUrC"}
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TimeDidKeyset = void 0;
4
4
  exports.default = default_1;
5
5
  const xrpc_server_1 = require("@atproto/xrpc-server");
6
- const pagination_1 = require("../../../../db/pagination");
7
6
  const account_manager_1 = require("../../../../account-manager");
7
+ const pagination_1 = require("../../../../db/pagination");
8
8
  function default_1(server, ctx) {
9
9
  server.com.atproto.sync.listRepos(async ({ params }) => {
10
10
  const { limit, cursor } = params;
@@ -1 +1 @@
1
- {"version":3,"file":"listRepos.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/sync/listRepos.ts"],"names":[],"mappings":";;;AAMA,4BA2CC;AAjDD,sDAA0D;AAG1D,0DAA2E;AAC3E,iEAAiE;AAEjE,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE;QACrD,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;QAChC,MAAM,EAAE,GAAG,GAAG,CAAC,cAAc,CAAC,EAAE,CAAA;QAChC,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC,OAAO,CAAA;QAC7B,IAAI,OAAO,GAAG,EAAE,CAAC,EAAE;aAChB,UAAU,CAAC,OAAO,CAAC;aACnB,SAAS,CAAC,WAAW,EAAE,eAAe,EAAE,WAAW,CAAC;aACpD,MAAM,CAAC;YACN,kBAAkB;YAClB,uBAAuB;YACvB,sBAAsB;YACtB,8BAA8B;YAC9B,sCAAsC;YACtC,kCAAkC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AAA;QAC1D,IAAI,KAAK,CAAC,WAAW,CAAC,OAAO,EAAE,CAAC,EAAE,CAAC;YACjC,MAAM,IAAI,iCAAmB,CAAC,kBAAkB,CAAC,CAAA;QACnD,CAAC;QACD,OAAO;YACL,OAAO,EAAE,WAAW,CAAC,WAAW,EAAE;YAClC,SAAS,EAAE,MAAM,CAAC,SAAS;SAC5B,CAAA;IACH,CAAC;CACF;AApBD,sCAoBC"}
@@ -1,4 +1,4 @@
1
+ import { AppContext } from '../../../../context';
1
2
  import { Server } from '../../../../lexicon';
2
- import AppContext from '../../../../context';
3
3
  export default function (server: Server, ctx: AppContext): void;
4
4
  //# sourceMappingURL=subscribeRepos.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"subscribeRepos.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/sync/subscribeRepos.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAI5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAwEvD"}
1
+ {"version":3,"file":"subscribeRepos.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/sync/subscribeRepos.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAI5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAwEvD"}
@@ -1,16 +1,13 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  exports.default = default_1;
7
4
  const xrpc_server_1 = require("@atproto/xrpc-server");
8
- const outbox_1 = __importDefault(require("../../../../sequencer/outbox"));
9
5
  const logger_1 = require("../../../../logger");
6
+ const outbox_1 = require("../../../../sequencer/outbox");
10
7
  function default_1(server, ctx) {
11
8
  server.com.atproto.sync.subscribeRepos(async function* ({ params, signal }) {
12
9
  const { cursor } = params;
13
- const outbox = new outbox_1.default(ctx.sequencer, {
10
+ const outbox = new outbox_1.Outbox(ctx.sequencer, {
14
11
  maxBufferSize: ctx.cfg.subscription.maxBuffer,
15
12
  });
16
13
  logger_1.httpLogger.info({ cursor }, 'request to com.atproto.sync.subscribeRepos');
@@ -1 +1 @@
1
- {"version":3,"file":"subscribeRepos.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/sync/subscribeRepos.ts"],"names":[],"mappings":";;;;;AAMA,4BAwEC;AA9ED,sDAA0D;AAG1D,0EAAiD;AACjD,+CAA+C;AAE/C,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,KAAK,SAAS,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE;QACxE,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;QACzB,MAAM,MAAM,GAAG,IAAI,gBAAM,CAAC,GAAG,CAAC,SAAS,EAAE;YACvC,aAAa,EAAE,GAAG,CAAC,GAAG,CAAC,YAAY,CAAC,SAAS;SAC9C,CAAC,CAAA;QACF,mBAAU,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE,4CAA4C,CAAC,CAAA;QAEzE,MAAM,YAAY,GAAG,IAAI,IAAI,CAC3B,IAAI,CAAC,GAAG,EAAE,GAAG,GAAG,CAAC,GAAG,CAAC,YAAY,CAAC,mBAAmB,CACtD,CAAC,WAAW,EAAE,CAAA;QACf,IAAI,YAAY,GAAuB,SAAS,CAAA;QAChD,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACzB,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;gBACrC,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- import AppContext from '../../../../context';
2
+ import { AppContext } from '../../../../context';
3
3
  export declare const assertRepoAvailability: (ctx: AppContext, did: string, isAdminOrSelf: boolean) => Promise<ActorAccount>;
4
4
  //# sourceMappingURL=util.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/sync/util.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAA;AAC1E,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAE5C,eAAO,MAAM,sBAAsB,QAC5B,UAAU,OACV,MAAM,iBACI,OAAO,KACrB,OAAO,CAAC,YAAY,CA2BtB,CAAA"}
1
+ {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/sync/util.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAA;AAC1E,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAEhD,eAAO,MAAM,sBAAsB,QAC5B,UAAU,OACV,MAAM,iBACI,OAAO,KACrB,OAAO,CAAC,YAAY,CA2BtB,CAAA"}
@@ -1,4 +1,4 @@
1
+ import { AppContext } from '../../../../context';
1
2
  import { Server } from '../../../../lexicon';
2
- import AppContext from '../../../../context';
3
3
  export default function (server: Server, ctx: AppContext): void;
4
4
  //# sourceMappingURL=checkSignupQueue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"checkSignupQueue.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/temp/checkSignupQueue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAK5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAsBvD"}
1
+ {"version":3,"file":"checkSignupQueue.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/temp/checkSignupQueue.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAI5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAsBvD"}
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = default_1;
4
- const proxy_1 = require("../../../proxy");
5
4
  const auth_verifier_1 = require("../../../../auth-verifier");
5
+ const proxy_1 = require("../../../proxy");
6
6
  // THIS IS A TEMPORARY UNSPECCED ROUTE
7
7
  function default_1(server, ctx) {
8
8
  server.com.atproto.temp.checkSignupQueue({
@@ -1 +1 @@
1
- {"version":3,"file":"checkSignupQueue.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/temp/checkSignupQueue.ts"],"names":[],"mappings":";;AAMA,4BAsBC;AA1BD,0CAA6D;AAC7D,6DAAqD;AAErD,sCAAsC;AACtC,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,CAAC;QACvC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,cAAc,CAAC;YACpC,UAAU,EAAE,CAAC,yBAAS,CAAC,YAAY,CAAC;SACrC,CAAC;QACF,OAAO,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE;YACzB,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC;gBACvB,OAAO;oBACL,QAAQ,EAAE,kBAAkB;oBAC5B,IAAI,EAAE;wBACJ,SAAS,EAAE,IAAI;qBAChB;iBACF,CAAA;YACH,CAAC;YACD,OAAO,IAAA,sBAAc,EACnB,MAAM,GAAG,CAAC,aAAa,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,CACvD,SAAS,EACT,IAAA,oBAAY,EAAC,GAAG,CAAC,CAClB,CACF,CAAA;QACH,CAAC;KACF,CAAC,CAAA;AACJ,CAAC"}
1
+ {"version":3,"file":"checkSignupQueue.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/temp/checkSignupQueue.ts"],"names":[],"mappings":";;AAMA,4BAsBC;AA5BD,6DAAqD;AAGrD,0CAA6D;AAE7D,sCAAsC;AACtC,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,CAAC;QACvC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,cAAc,CAAC;YACpC,UAAU,EAAE,CAAC,yBAAS,CAAC,YAAY,CAAC;SACrC,CAAC;QACF,OAAO,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE;YACzB,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC;gBACvB,OAAO;oBACL,QAAQ,EAAE,kBAAkB;oBAC5B,IAAI,EAAE;wBACJ,SAAS,EAAE,IAAI;qBAChB;iBACF,CAAA;YACH,CAAC;YACD,OAAO,IAAA,sBAAc,EACnB,MAAM,GAAG,CAAC,aAAa,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,CACvD,SAAS,EACT,IAAA,oBAAY,EAAC,GAAG,CAAC,CAClB,CACF,CAAA;QACH,CAAC;KACF,CAAC,CAAA;AACJ,CAAC"}
@@ -1,4 +1,4 @@
1
- import AppContext from '../../../../context';
1
+ import { AppContext } from '../../../../context';
2
2
  import { Server } from '../../../../lexicon';
3
3
  export default function (server: Server, ctx: AppContext): void;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/temp/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAG5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAEvD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/temp/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAG5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAEvD"}
@@ -1,4 +1,4 @@
1
+ import { AppContext } from '../context';
1
2
  import { Server } from '../lexicon';
2
- import AppContext from '../context';
3
3
  export default function (server: Server, ctx: AppContext): Server;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;AAGnC,OAAO,UAAU,MAAM,YAAY,CAAA;AAEnC,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,UAIvD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;AAInC,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,UAIvD"}
package/dist/api/index.js CHANGED
@@ -4,8 +4,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.default = default_1;
7
- const atproto_1 = __importDefault(require("./com/atproto"));
8
7
  const bsky_1 = __importDefault(require("./app/bsky"));
8
+ const atproto_1 = __importDefault(require("./com/atproto"));
9
9
  function default_1(server, ctx) {
10
10
  (0, atproto_1.default)(server, ctx);
11
11
  (0, bsky_1.default)(server, ctx);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":";;;;;AAKA,4BAIC;AARD,4DAAsC;AACtC,sDAAgC;AAGhC,mBAAyB,MAAc,EAAE,GAAe;IACtD,IAAA,iBAAU,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACvB,IAAA,cAAO,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACpB,OAAO,MAAM,CAAA;AACf,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":";;;;;AAKA,4BAIC;AAPD,sDAAgC;AAChC,4DAAsC;AAEtC,mBAAyB,MAAc,EAAE,GAAe;IACtD,IAAA,iBAAU,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACvB,IAAA,cAAO,EAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACpB,OAAO,MAAM,CAAA;AACf,CAAC"}
@@ -1,5 +1,5 @@
1
- import { Headers } from '@atproto/xrpc';
2
1
  import { IncomingMessage } from 'node:http';
2
+ import { Headers } from '@atproto/xrpc';
3
3
  export declare const resultPassthru: <T>(result: {
4
4
  headers: Headers;
5
5
  data: T;