@atproto/pds 0.4.28 → 0.4.30
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +16 -0
- package/dist/account-manager/helpers/account.d.ts +20 -1
- package/dist/account-manager/helpers/account.d.ts.map +1 -1
- package/dist/account-manager/helpers/account.js +32 -7
- package/dist/account-manager/helpers/account.js.map +1 -1
- package/dist/account-manager/index.d.ts +7 -2
- package/dist/account-manager/index.d.ts.map +1 -1
- package/dist/account-manager/index.js +24 -8
- package/dist/account-manager/index.js.map +1 -1
- package/dist/api/app/bsky/actor/getPreferences.js +1 -1
- package/dist/api/app/bsky/actor/getPreferences.js.map +1 -1
- package/dist/api/app/bsky/actor/getProfile.js +1 -1
- package/dist/api/app/bsky/actor/getProfile.js.map +1 -1
- package/dist/api/app/bsky/actor/getProfiles.js +1 -1
- package/dist/api/app/bsky/actor/getProfiles.js.map +1 -1
- package/dist/api/app/bsky/actor/putPreferences.js +1 -1
- package/dist/api/app/bsky/actor/putPreferences.js.map +1 -1
- package/dist/api/app/bsky/feed/getActorLikes.js +1 -1
- package/dist/api/app/bsky/feed/getActorLikes.js.map +1 -1
- package/dist/api/app/bsky/feed/getAuthorFeed.js +1 -1
- package/dist/api/app/bsky/feed/getAuthorFeed.js.map +1 -1
- package/dist/api/app/bsky/feed/getFeed.js +1 -1
- package/dist/api/app/bsky/feed/getFeed.js.map +1 -1
- package/dist/api/app/bsky/feed/getPostThread.js +1 -1
- package/dist/api/app/bsky/feed/getPostThread.js.map +1 -1
- package/dist/api/app/bsky/feed/getTimeline.js +1 -1
- package/dist/api/app/bsky/feed/getTimeline.js.map +1 -1
- package/dist/api/app/bsky/notification/registerPush.d.ts.map +1 -1
- package/dist/api/app/bsky/notification/registerPush.js +4 -1
- package/dist/api/app/bsky/notification/registerPush.js.map +1 -1
- package/dist/api/chat/index.js +14 -14
- package/dist/api/chat/index.js.map +1 -1
- package/dist/api/com/atproto/admin/deleteAccount.d.ts.map +1 -1
- package/dist/api/com/atproto/admin/deleteAccount.js +4 -2
- package/dist/api/com/atproto/admin/deleteAccount.js.map +1 -1
- package/dist/api/com/atproto/admin/getAccountInfo.d.ts.map +1 -1
- package/dist/api/com/atproto/admin/getAccountInfo.js +1 -0
- package/dist/api/com/atproto/admin/getAccountInfo.js.map +1 -1
- package/dist/api/com/atproto/admin/getSubjectStatus.d.ts.map +1 -1
- package/dist/api/com/atproto/admin/getSubjectStatus.js +4 -3
- package/dist/api/com/atproto/admin/getSubjectStatus.js.map +1 -1
- package/dist/api/com/atproto/admin/updateAccountHandle.js +1 -1
- package/dist/api/com/atproto/admin/updateAccountHandle.js.map +1 -1
- package/dist/api/com/atproto/admin/updateSubjectStatus.d.ts.map +1 -1
- package/dist/api/com/atproto/admin/updateSubjectStatus.js +2 -0
- package/dist/api/com/atproto/admin/updateSubjectStatus.js.map +1 -1
- package/dist/api/com/atproto/identity/getRecommendedDidCredentials.js +1 -1
- package/dist/api/com/atproto/identity/getRecommendedDidCredentials.js.map +1 -1
- package/dist/api/com/atproto/identity/requestPlcOperationSignature.js +1 -1
- package/dist/api/com/atproto/identity/requestPlcOperationSignature.js.map +1 -1
- package/dist/api/com/atproto/identity/signPlcOperation.js +1 -1
- package/dist/api/com/atproto/identity/signPlcOperation.js.map +1 -1
- package/dist/api/com/atproto/identity/submitPlcOperation.d.ts.map +1 -1
- package/dist/api/com/atproto/identity/submitPlcOperation.js +1 -1
- package/dist/api/com/atproto/identity/submitPlcOperation.js.map +1 -1
- package/dist/api/com/atproto/identity/updateHandle.js +2 -2
- package/dist/api/com/atproto/identity/updateHandle.js.map +1 -1
- package/dist/api/com/atproto/repo/applyWrites.d.ts.map +1 -1
- package/dist/api/com/atproto/repo/applyWrites.js +4 -1
- package/dist/api/com/atproto/repo/applyWrites.js.map +1 -1
- package/dist/api/com/atproto/repo/createRecord.d.ts.map +1 -1
- package/dist/api/com/atproto/repo/createRecord.js +4 -1
- package/dist/api/com/atproto/repo/createRecord.js.map +1 -1
- package/dist/api/com/atproto/repo/deleteRecord.d.ts.map +1 -1
- package/dist/api/com/atproto/repo/deleteRecord.js +4 -1
- package/dist/api/com/atproto/repo/deleteRecord.js.map +1 -1
- package/dist/api/com/atproto/repo/describeRepo.d.ts.map +1 -1
- package/dist/api/com/atproto/repo/describeRepo.js +2 -4
- package/dist/api/com/atproto/repo/describeRepo.js.map +1 -1
- package/dist/api/com/atproto/repo/importRepo.d.ts.map +1 -1
- package/dist/api/com/atproto/repo/importRepo.js +3 -1
- package/dist/api/com/atproto/repo/importRepo.js.map +1 -1
- package/dist/api/com/atproto/repo/listMissingBlobs.js +1 -1
- package/dist/api/com/atproto/repo/listMissingBlobs.js.map +1 -1
- package/dist/api/com/atproto/repo/putRecord.d.ts.map +1 -1
- package/dist/api/com/atproto/repo/putRecord.js +4 -1
- package/dist/api/com/atproto/repo/putRecord.js.map +1 -1
- package/dist/api/com/atproto/repo/uploadBlob.d.ts.map +1 -1
- package/dist/api/com/atproto/repo/uploadBlob.js +3 -1
- package/dist/api/com/atproto/repo/uploadBlob.js.map +1 -1
- package/dist/api/com/atproto/server/activateAccount.d.ts.map +1 -1
- package/dist/api/com/atproto/server/activateAccount.js +3 -2
- package/dist/api/com/atproto/server/activateAccount.js.map +1 -1
- package/dist/api/com/atproto/server/checkAccountStatus.js +1 -1
- package/dist/api/com/atproto/server/checkAccountStatus.js.map +1 -1
- package/dist/api/com/atproto/server/confirmEmail.js +1 -1
- package/dist/api/com/atproto/server/confirmEmail.js.map +1 -1
- package/dist/api/com/atproto/server/createAccount.d.ts.map +1 -1
- package/dist/api/com/atproto/server/createAccount.js +4 -2
- package/dist/api/com/atproto/server/createAccount.js.map +1 -1
- package/dist/api/com/atproto/server/createAppPassword.d.ts.map +1 -1
- package/dist/api/com/atproto/server/createAppPassword.js +3 -1
- package/dist/api/com/atproto/server/createAppPassword.js.map +1 -1
- package/dist/api/com/atproto/server/createSession.d.ts.map +1 -1
- package/dist/api/com/atproto/server/createSession.js +2 -0
- package/dist/api/com/atproto/server/createSession.js.map +1 -1
- package/dist/api/com/atproto/server/deactivateAccount.d.ts.map +1 -1
- package/dist/api/com/atproto/server/deactivateAccount.js +3 -1
- package/dist/api/com/atproto/server/deactivateAccount.js.map +1 -1
- package/dist/api/com/atproto/server/deleteAccount.d.ts.map +1 -1
- package/dist/api/com/atproto/server/deleteAccount.js +4 -3
- package/dist/api/com/atproto/server/deleteAccount.js.map +1 -1
- package/dist/api/com/atproto/server/getAccountInviteCodes.js +1 -1
- package/dist/api/com/atproto/server/getAccountInviteCodes.js.map +1 -1
- package/dist/api/com/atproto/server/getServiceAuth.js +1 -1
- package/dist/api/com/atproto/server/getServiceAuth.js.map +1 -1
- package/dist/api/com/atproto/server/getSession.d.ts.map +1 -1
- package/dist/api/com/atproto/server/getSession.js +7 -2
- package/dist/api/com/atproto/server/getSession.js.map +1 -1
- package/dist/api/com/atproto/server/listAppPasswords.js +1 -1
- package/dist/api/com/atproto/server/listAppPasswords.js.map +1 -1
- package/dist/api/com/atproto/server/refreshSession.d.ts.map +1 -1
- package/dist/api/com/atproto/server/refreshSession.js +2 -0
- package/dist/api/com/atproto/server/refreshSession.js.map +1 -1
- package/dist/api/com/atproto/server/requestAccountDelete.js +1 -1
- package/dist/api/com/atproto/server/requestAccountDelete.js.map +1 -1
- package/dist/api/com/atproto/server/requestEmailConfirmation.js +1 -1
- package/dist/api/com/atproto/server/requestEmailConfirmation.js.map +1 -1
- package/dist/api/com/atproto/server/requestEmailUpdate.js +1 -1
- package/dist/api/com/atproto/server/requestEmailUpdate.js.map +1 -1
- package/dist/api/com/atproto/server/revokeAppPassword.js +1 -1
- package/dist/api/com/atproto/server/revokeAppPassword.js.map +1 -1
- package/dist/api/com/atproto/server/updateEmail.js +1 -1
- package/dist/api/com/atproto/server/updateEmail.js.map +1 -1
- package/dist/api/com/atproto/server/util.d.ts +1 -0
- package/dist/api/com/atproto/server/util.d.ts.map +1 -1
- package/dist/api/com/atproto/server/util.js +9 -6
- package/dist/api/com/atproto/server/util.js.map +1 -1
- package/dist/api/com/atproto/sync/deprecated/getCheckout.d.ts.map +1 -1
- package/dist/api/com/atproto/sync/deprecated/getCheckout.js +2 -8
- package/dist/api/com/atproto/sync/deprecated/getCheckout.js.map +1 -1
- package/dist/api/com/atproto/sync/deprecated/getHead.d.ts.map +1 -1
- package/dist/api/com/atproto/sync/deprecated/getHead.js +2 -7
- package/dist/api/com/atproto/sync/deprecated/getHead.js.map +1 -1
- package/dist/api/com/atproto/sync/getBlob.d.ts.map +1 -1
- package/dist/api/com/atproto/sync/getBlob.js +3 -6
- package/dist/api/com/atproto/sync/getBlob.js.map +1 -1
- package/dist/api/com/atproto/sync/getBlocks.d.ts.map +1 -1
- package/dist/api/com/atproto/sync/getBlocks.js +2 -7
- package/dist/api/com/atproto/sync/getBlocks.js.map +1 -1
- package/dist/api/com/atproto/sync/getLatestCommit.d.ts.map +1 -1
- package/dist/api/com/atproto/sync/getLatestCommit.js +2 -7
- package/dist/api/com/atproto/sync/getLatestCommit.js.map +1 -1
- package/dist/api/com/atproto/sync/getRecord.d.ts.map +1 -1
- package/dist/api/com/atproto/sync/getRecord.js +2 -7
- package/dist/api/com/atproto/sync/getRecord.js.map +1 -1
- package/dist/api/com/atproto/sync/getRepo.d.ts.map +1 -1
- package/dist/api/com/atproto/sync/getRepo.js +2 -7
- package/dist/api/com/atproto/sync/getRepo.js.map +1 -1
- package/dist/api/com/atproto/sync/getRepoStatus.d.ts +4 -0
- package/dist/api/com/atproto/sync/getRepoStatus.d.ts.map +1 -0
- package/dist/api/com/atproto/sync/getRepoStatus.js +28 -0
- package/dist/api/com/atproto/sync/getRepoStatus.js.map +1 -0
- package/dist/api/com/atproto/sync/index.d.ts.map +1 -1
- package/dist/api/com/atproto/sync/index.js +2 -0
- package/dist/api/com/atproto/sync/index.js.map +1 -1
- package/dist/api/com/atproto/sync/listBlobs.d.ts.map +1 -1
- package/dist/api/com/atproto/sync/listBlobs.js +2 -8
- package/dist/api/com/atproto/sync/listBlobs.js.map +1 -1
- package/dist/api/com/atproto/sync/listRepos.d.ts.map +1 -1
- package/dist/api/com/atproto/sync/listRepos.js +13 -8
- package/dist/api/com/atproto/sync/listRepos.js.map +1 -1
- package/dist/api/com/atproto/sync/subscribeRepos.d.ts.map +1 -1
- package/dist/api/com/atproto/sync/subscribeRepos.js +8 -0
- package/dist/api/com/atproto/sync/subscribeRepos.js.map +1 -1
- package/dist/api/com/atproto/sync/util.d.ts +4 -0
- package/dist/api/com/atproto/sync/util.d.ts.map +1 -0
- package/dist/api/com/atproto/sync/util.js +25 -0
- package/dist/api/com/atproto/sync/util.js.map +1 -0
- package/dist/api/com/atproto/temp/checkSignupQueue.d.ts.map +1 -1
- package/dist/api/com/atproto/temp/checkSignupQueue.js +4 -1
- package/dist/api/com/atproto/temp/checkSignupQueue.js.map +1 -1
- package/dist/auth-verifier.d.ts +13 -7
- package/dist/auth-verifier.d.ts.map +1 -1
- package/dist/auth-verifier.js +29 -46
- package/dist/auth-verifier.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/lexicon/index.d.ts +2 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +4 -0
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +145 -0
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +225 -4
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/defs.d.ts +1 -1
- package/dist/lexicon/types/com/atproto/admin/defs.d.ts +1 -0
- package/dist/lexicon/types/com/atproto/admin/defs.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/admin/defs.js.map +1 -1
- package/dist/lexicon/types/com/atproto/admin/getSubjectStatus.d.ts +1 -0
- package/dist/lexicon/types/com/atproto/admin/getSubjectStatus.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/server/createSession.d.ts +3 -0
- package/dist/lexicon/types/com/atproto/server/createSession.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/server/getSession.d.ts +3 -0
- package/dist/lexicon/types/com/atproto/server/getSession.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/server/refreshSession.d.ts +3 -0
- package/dist/lexicon/types/com/atproto/server/refreshSession.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/sync/getBlob.d.ts +1 -0
- package/dist/lexicon/types/com/atproto/sync/getBlob.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/sync/getBlocks.d.ts +1 -0
- package/dist/lexicon/types/com/atproto/sync/getBlocks.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/sync/getLatestCommit.d.ts +1 -1
- package/dist/lexicon/types/com/atproto/sync/getLatestCommit.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/sync/getRecord.d.ts +1 -0
- package/dist/lexicon/types/com/atproto/sync/getRecord.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/sync/getRepo.d.ts +1 -0
- package/dist/lexicon/types/com/atproto/sync/getRepo.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/sync/getRepoStatus.d.ts +42 -0
- package/dist/lexicon/types/com/atproto/sync/getRepoStatus.d.ts.map +1 -0
- package/dist/lexicon/types/com/atproto/sync/getRepoStatus.js +3 -0
- package/dist/lexicon/types/com/atproto/sync/getRepoStatus.js.map +1 -0
- package/dist/lexicon/types/com/atproto/sync/listBlobs.d.ts +1 -0
- package/dist/lexicon/types/com/atproto/sync/listBlobs.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/sync/listRepos.d.ts +3 -0
- package/dist/lexicon/types/com/atproto/sync/listRepos.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/sync/listRepos.js.map +1 -1
- package/dist/lexicon/types/com/atproto/sync/subscribeRepos.d.ts +19 -4
- package/dist/lexicon/types/com/atproto/sync/subscribeRepos.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/sync/subscribeRepos.js +11 -1
- package/dist/lexicon/types/com/atproto/sync/subscribeRepos.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts +2 -0
- package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/defs.js.map +1 -1
- package/dist/pipethrough.d.ts.map +1 -1
- package/dist/pipethrough.js +17 -14
- package/dist/pipethrough.js.map +1 -1
- package/dist/scripts/index.d.ts +4 -0
- package/dist/scripts/index.d.ts.map +1 -0
- package/dist/scripts/index.js +8 -0
- package/dist/scripts/index.js.map +1 -0
- package/dist/scripts/rebuild-repo.d.ts +3 -0
- package/dist/scripts/rebuild-repo.d.ts.map +1 -0
- package/dist/scripts/rebuild-repo.js +121 -0
- package/dist/scripts/rebuild-repo.js.map +1 -0
- package/dist/sequencer/db/schema.d.ts +1 -1
- package/dist/sequencer/db/schema.d.ts.map +1 -1
- package/dist/sequencer/events.d.ts +27 -2
- package/dist/sequencer/events.d.ts.map +1 -1
- package/dist/sequencer/events.js +35 -2
- package/dist/sequencer/events.js.map +1 -1
- package/dist/sequencer/sequencer.d.ts +8 -6
- package/dist/sequencer/sequencer.d.ts.map +1 -1
- package/dist/sequencer/sequencer.js +22 -9
- package/dist/sequencer/sequencer.js.map +1 -1
- package/package.json +4 -4
- package/src/account-manager/helpers/account.ts +38 -6
- package/src/account-manager/index.ts +21 -8
- package/src/api/app/bsky/actor/getPreferences.ts +1 -1
- package/src/api/app/bsky/actor/getProfile.ts +1 -1
- package/src/api/app/bsky/actor/getProfiles.ts +1 -1
- package/src/api/app/bsky/actor/putPreferences.ts +1 -1
- package/src/api/app/bsky/feed/getActorLikes.ts +1 -1
- package/src/api/app/bsky/feed/getAuthorFeed.ts +1 -1
- package/src/api/app/bsky/feed/getFeed.ts +1 -1
- package/src/api/app/bsky/feed/getPostThread.ts +1 -1
- package/src/api/app/bsky/feed/getTimeline.ts +1 -1
- package/src/api/app/bsky/notification/registerPush.ts +4 -1
- package/src/api/chat/index.ts +14 -14
- package/src/api/com/atproto/admin/deleteAccount.ts +7 -2
- package/src/api/com/atproto/admin/getAccountInfo.ts +1 -0
- package/src/api/com/atproto/admin/getSubjectStatus.ts +4 -3
- package/src/api/com/atproto/admin/updateAccountHandle.ts +1 -1
- package/src/api/com/atproto/admin/updateSubjectStatus.ts +2 -0
- package/src/api/com/atproto/identity/getRecommendedDidCredentials.ts +1 -1
- package/src/api/com/atproto/identity/requestPlcOperationSignature.ts +1 -1
- package/src/api/com/atproto/identity/signPlcOperation.ts +1 -1
- package/src/api/com/atproto/identity/submitPlcOperation.ts +2 -1
- package/src/api/com/atproto/identity/updateHandle.ts +2 -2
- package/src/api/com/atproto/repo/applyWrites.ts +4 -1
- package/src/api/com/atproto/repo/createRecord.ts +4 -1
- package/src/api/com/atproto/repo/deleteRecord.ts +4 -1
- package/src/api/com/atproto/repo/describeRepo.ts +2 -4
- package/src/api/com/atproto/repo/importRepo.ts +3 -1
- package/src/api/com/atproto/repo/listMissingBlobs.ts +1 -1
- package/src/api/com/atproto/repo/putRecord.ts +4 -1
- package/src/api/com/atproto/repo/uploadBlob.ts +3 -1
- package/src/api/com/atproto/server/activateAccount.ts +3 -2
- package/src/api/com/atproto/server/checkAccountStatus.ts +1 -1
- package/src/api/com/atproto/server/confirmEmail.ts +1 -1
- package/src/api/com/atproto/server/createAccount.ts +6 -3
- package/src/api/com/atproto/server/createAppPassword.ts +3 -1
- package/src/api/com/atproto/server/createSession.ts +2 -0
- package/src/api/com/atproto/server/deactivateAccount.ts +3 -1
- package/src/api/com/atproto/server/deleteAccount.ts +7 -3
- package/src/api/com/atproto/server/getAccountInviteCodes.ts +1 -1
- package/src/api/com/atproto/server/getServiceAuth.ts +1 -1
- package/src/api/com/atproto/server/getSession.ts +7 -2
- package/src/api/com/atproto/server/listAppPasswords.ts +1 -1
- package/src/api/com/atproto/server/refreshSession.ts +2 -0
- package/src/api/com/atproto/server/requestAccountDelete.ts +1 -1
- package/src/api/com/atproto/server/requestEmailConfirmation.ts +1 -1
- package/src/api/com/atproto/server/requestEmailUpdate.ts +1 -1
- package/src/api/com/atproto/server/revokeAppPassword.ts +1 -1
- package/src/api/com/atproto/server/updateEmail.ts +1 -1
- package/src/api/com/atproto/server/util.ts +12 -5
- package/src/api/com/atproto/sync/deprecated/getCheckout.ts +6 -8
- package/src/api/com/atproto/sync/deprecated/getHead.ts +7 -10
- package/src/api/com/atproto/sync/getBlob.ts +8 -6
- package/src/api/com/atproto/sync/getBlocks.ts +6 -7
- package/src/api/com/atproto/sync/getLatestCommit.ts +7 -10
- package/src/api/com/atproto/sync/getRecord.ts +7 -7
- package/src/api/com/atproto/sync/getRepo.ts +6 -7
- package/src/api/com/atproto/sync/getRepoStatus.ts +31 -0
- package/src/api/com/atproto/sync/index.ts +2 -0
- package/src/api/com/atproto/sync/listBlobs.ts +6 -8
- package/src/api/com/atproto/sync/listRepos.ts +13 -8
- package/src/api/com/atproto/sync/subscribeRepos.ts +7 -0
- package/src/api/com/atproto/sync/util.ts +36 -0
- package/src/api/com/atproto/temp/checkSignupQueue.ts +4 -1
- package/src/auth-verifier.ts +62 -47
- package/src/index.ts +1 -0
- package/src/lexicon/index.ts +12 -0
- package/src/lexicon/lexicons.ts +236 -7
- package/src/lexicon/types/chat/bsky/convo/defs.ts +1 -1
- package/src/lexicon/types/com/atproto/admin/defs.ts +1 -0
- package/src/lexicon/types/com/atproto/admin/getSubjectStatus.ts +1 -0
- package/src/lexicon/types/com/atproto/server/createSession.ts +3 -0
- package/src/lexicon/types/com/atproto/server/getSession.ts +3 -0
- package/src/lexicon/types/com/atproto/server/refreshSession.ts +3 -0
- package/src/lexicon/types/com/atproto/sync/getBlob.ts +6 -0
- package/src/lexicon/types/com/atproto/sync/getBlocks.ts +6 -0
- package/src/lexicon/types/com/atproto/sync/getLatestCommit.ts +1 -1
- package/src/lexicon/types/com/atproto/sync/getRecord.ts +6 -0
- package/src/lexicon/types/com/atproto/sync/getRepo.ts +1 -0
- package/src/lexicon/types/com/atproto/sync/getRepoStatus.ts +52 -0
- package/src/lexicon/types/com/atproto/sync/listBlobs.ts +1 -0
- package/src/lexicon/types/com/atproto/sync/listRepos.ts +3 -0
- package/src/lexicon/types/com/atproto/sync/subscribeRepos.ts +30 -3
- package/src/lexicon/types/tools/ozone/moderation/defs.ts +2 -0
- package/src/pipethrough.ts +5 -4
- package/src/scripts/index.ts +5 -0
- package/src/scripts/rebuild-repo.ts +143 -0
- package/src/sequencer/db/schema.ts +1 -0
- package/src/sequencer/events.ts +47 -0
- package/src/sequencer/sequencer.ts +35 -14
- package/tests/account-deactivation.test.ts +67 -12
- package/tests/account-deletion.test.ts +10 -2
- package/tests/auth.test.ts +3 -0
- package/tests/moderation.test.ts +2 -2
- package/tests/proxied/notif.test.ts +1 -0
- package/tests/sequencer.test.ts +2 -2
- package/tests/sync/list.test.ts +1 -0
- package/tests/sync/subscribe-repos.test.ts +224 -40
- package/tests/sync/sync.test.ts +48 -4
package/dist/api/chat/index.js
CHANGED
@@ -3,85 +3,85 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const pipethrough_1 = require("../../pipethrough");
|
4
4
|
function default_1(server, ctx) {
|
5
5
|
server.chat.bsky.actor.deleteAccount({
|
6
|
-
auth: ctx.authVerifier.
|
6
|
+
auth: ctx.authVerifier.accessPrivileged(),
|
7
7
|
handler: async ({ req, auth }) => {
|
8
8
|
return (0, pipethrough_1.pipethroughProcedure)(ctx, req, auth.credentials.did);
|
9
9
|
},
|
10
10
|
});
|
11
11
|
server.chat.bsky.actor.exportAccountData({
|
12
|
-
auth: ctx.authVerifier.
|
12
|
+
auth: ctx.authVerifier.accessPrivileged(),
|
13
13
|
handler: ({ req, auth }) => {
|
14
14
|
return (0, pipethrough_1.pipethrough)(ctx, req, auth.credentials.did);
|
15
15
|
},
|
16
16
|
});
|
17
17
|
server.chat.bsky.convo.deleteMessageForSelf({
|
18
|
-
auth: ctx.authVerifier.
|
18
|
+
auth: ctx.authVerifier.accessPrivileged(),
|
19
19
|
handler: ({ req, auth, input }) => {
|
20
20
|
return (0, pipethrough_1.pipethroughProcedure)(ctx, req, auth.credentials.did, input.body);
|
21
21
|
},
|
22
22
|
});
|
23
23
|
server.chat.bsky.convo.getConvo({
|
24
|
-
auth: ctx.authVerifier.
|
24
|
+
auth: ctx.authVerifier.accessPrivileged(),
|
25
25
|
handler: ({ req, auth }) => {
|
26
26
|
return (0, pipethrough_1.pipethrough)(ctx, req, auth.credentials.did);
|
27
27
|
},
|
28
28
|
});
|
29
29
|
server.chat.bsky.convo.getConvoForMembers({
|
30
|
-
auth: ctx.authVerifier.
|
30
|
+
auth: ctx.authVerifier.accessPrivileged(),
|
31
31
|
handler: ({ req, auth }) => {
|
32
32
|
return (0, pipethrough_1.pipethrough)(ctx, req, auth.credentials.did);
|
33
33
|
},
|
34
34
|
});
|
35
35
|
server.chat.bsky.convo.getLog({
|
36
|
-
auth: ctx.authVerifier.
|
36
|
+
auth: ctx.authVerifier.accessPrivileged(),
|
37
37
|
handler: ({ req, auth }) => {
|
38
38
|
return (0, pipethrough_1.pipethrough)(ctx, req, auth.credentials.did);
|
39
39
|
},
|
40
40
|
});
|
41
41
|
server.chat.bsky.convo.getMessages({
|
42
|
-
auth: ctx.authVerifier.
|
42
|
+
auth: ctx.authVerifier.accessPrivileged(),
|
43
43
|
handler: ({ req, auth }) => {
|
44
44
|
return (0, pipethrough_1.pipethrough)(ctx, req, auth.credentials.did);
|
45
45
|
},
|
46
46
|
});
|
47
47
|
server.chat.bsky.convo.leaveConvo({
|
48
|
-
auth: ctx.authVerifier.
|
48
|
+
auth: ctx.authVerifier.accessPrivileged(),
|
49
49
|
handler: ({ req, auth, input }) => {
|
50
50
|
return (0, pipethrough_1.pipethroughProcedure)(ctx, req, auth.credentials.did, input.body);
|
51
51
|
},
|
52
52
|
});
|
53
53
|
server.chat.bsky.convo.listConvos({
|
54
|
-
auth: ctx.authVerifier.
|
54
|
+
auth: ctx.authVerifier.accessPrivileged(),
|
55
55
|
handler: ({ req, auth }) => {
|
56
56
|
return (0, pipethrough_1.pipethrough)(ctx, req, auth.credentials.did);
|
57
57
|
},
|
58
58
|
});
|
59
59
|
server.chat.bsky.convo.muteConvo({
|
60
|
-
auth: ctx.authVerifier.
|
60
|
+
auth: ctx.authVerifier.accessPrivileged(),
|
61
61
|
handler: ({ req, auth, input }) => {
|
62
62
|
return (0, pipethrough_1.pipethroughProcedure)(ctx, req, auth.credentials.did, input.body);
|
63
63
|
},
|
64
64
|
});
|
65
65
|
server.chat.bsky.convo.sendMessage({
|
66
|
-
auth: ctx.authVerifier.
|
66
|
+
auth: ctx.authVerifier.accessPrivileged(),
|
67
67
|
handler: ({ req, auth, input }) => {
|
68
68
|
return (0, pipethrough_1.pipethroughProcedure)(ctx, req, auth.credentials.did, input.body);
|
69
69
|
},
|
70
70
|
});
|
71
71
|
server.chat.bsky.convo.sendMessageBatch({
|
72
|
-
auth: ctx.authVerifier.
|
72
|
+
auth: ctx.authVerifier.accessPrivileged(),
|
73
73
|
handler: ({ req, auth, input }) => {
|
74
74
|
return (0, pipethrough_1.pipethroughProcedure)(ctx, req, auth.credentials.did, input.body);
|
75
75
|
},
|
76
76
|
});
|
77
77
|
server.chat.bsky.convo.unmuteConvo({
|
78
|
-
auth: ctx.authVerifier.
|
78
|
+
auth: ctx.authVerifier.accessPrivileged(),
|
79
79
|
handler: ({ req, auth, input }) => {
|
80
80
|
return (0, pipethrough_1.pipethroughProcedure)(ctx, req, auth.credentials.did, input.body);
|
81
81
|
},
|
82
82
|
});
|
83
83
|
server.chat.bsky.convo.updateRead({
|
84
|
-
auth: ctx.authVerifier.
|
84
|
+
auth: ctx.authVerifier.accessPrivileged(),
|
85
85
|
handler: ({ req, auth, input }) => {
|
86
86
|
return (0, pipethrough_1.pipethroughProcedure)(ctx, req, auth.credentials.did, input.body);
|
87
87
|
},
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/chat/index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K,CAAC,IAAI,CAAC,CAAA;QACzE,CAAC;KACF,CAAC,CAAA;AACJ,CAAC;AArFD,4BAqFC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"deleteAccount.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/admin/deleteAccount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;
|
1
|
+
{"version":3,"file":"deleteAccount.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/admin/deleteAccount.ts"],"names":[],"mappings":"AAAA,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,QAevD"}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
const account_manager_1 = require("../../../../account-manager");
|
3
4
|
function default_1(server, ctx) {
|
4
5
|
server.com.atproto.admin.deleteAccount({
|
5
6
|
auth: ctx.authVerifier.adminToken,
|
@@ -7,8 +8,9 @@ function default_1(server, ctx) {
|
|
7
8
|
const { did } = input.body;
|
8
9
|
await ctx.actorStore.destroy(did);
|
9
10
|
await ctx.accountManager.deleteAccount(did);
|
10
|
-
await ctx.sequencer.sequenceTombstone(did);
|
11
|
-
await ctx.sequencer.
|
11
|
+
const tombstoneSeq = await ctx.sequencer.sequenceTombstone(did);
|
12
|
+
const accountSeq = await ctx.sequencer.sequenceAccountEvt(did, account_manager_1.AccountStatus.Deleted);
|
13
|
+
await ctx.sequencer.deleteAllForUser(did, [accountSeq, tombstoneSeq]);
|
12
14
|
},
|
13
15
|
});
|
14
16
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"deleteAccount.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/admin/deleteAccount.ts"],"names":[],"mappings":";;
|
1
|
+
{"version":3,"file":"deleteAccount.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/admin/deleteAccount.ts"],"names":[],"mappings":";;AAEA,iEAA2D;AAE3D,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC;QACrC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,UAAU;QACjC,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE;YAC3B,MAAM,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC,IAAI,CAAA;YAC1B,MAAM,GAAG,CAAC,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC,CAAA;YACjC,MAAM,GAAG,CAAC,cAAc,CAAC,aAAa,CAAC,GAAG,CAAC,CAAA;YAC3C,MAAM,YAAY,GAAG,MAAM,GAAG,CAAC,SAAS,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAA;YAC/D,MAAM,UAAU,GAAG,MAAM,GAAG,CAAC,SAAS,CAAC,kBAAkB,CACvD,GAAG,EACH,+BAAa,CAAC,OAAO,CACtB,CAAA;YACD,MAAM,GAAG,CAAC,SAAS,CAAC,gBAAgB,CAAC,GAAG,EAAE,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC,CAAA;QACvE,CAAC;KACF,CAAC,CAAA;AACJ,CAAC;AAfD,4BAeC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getAccountInfo.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/admin/getAccountInfo.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,
|
1
|
+
{"version":3,"file":"getAccountInfo.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/admin/getAccountInfo.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,QAkCvD"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getAccountInfo.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/admin/getAccountInfo.ts"],"names":[],"mappings":";;AAEA,sDAA0D;AAC1D,4CAAgD;AAEhD,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,cAAc,CAAC;QACtC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,SAAS;QAChC,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE;YAC5B,MAAM,CAAC,OAAO,EAAE,OAAO,EAAE,SAAS,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;gBACtD,GAAG,CAAC,cAAc,CAAC,UAAU,CAAC,MAAM,CAAC,GAAG,EAAE;oBACxC,kBAAkB,EAAE,IAAI;oBACxB,gBAAgB,EAAE,IAAI;iBACvB,CAAC;gBACF,GAAG,CAAC,cAAc,CAAC,sBAAsB,CAAC,MAAM,CAAC,GAAG,CAAC;gBACrD,GAAG,CAAC,cAAc,CAAC,uBAAuB,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;aACzD,CAAC,CAAA;YACF,IAAI,CAAC,OAAO,EAAE,CAAC;gBACb,MAAM,IAAI,iCAAmB,CAAC,mBAAmB,EAAE,UAAU,CAAC,CAAA;YAChE,CAAC;YACD,MAAM,iBAAiB,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,QAAQ,CAAA;YAC3C,OAAO;gBACL,QAAQ,EAAE,kBAAkB;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C,GAAG,CAAC,CAAC;aACzD,CAAC,CAAA;YACF,IAAI,CAAC,OAAO,EAAE,CAAC;gBACb,MAAM,IAAI,iCAAmB,CAAC,mBAAmB,EAAE,UAAU,CAAC,CAAA;YAChE,CAAC;YACD,MAAM,iBAAiB,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,QAAQ,CAAA;YAC3C,OAAO;gBACL,QAAQ,EAAE,kBAAkB;gBAC5B,IAAI,EAAE;oBACJ,GAAG,EAAE,OAAO,CAAC,GAAG;oBAChB,MAAM,EAAE,OAAO,CAAC,MAAM,IAAI,uBAAc;oBACxC,KAAK,EAAE,OAAO,CAAC,KAAK,IAAI,SAAS;oBACjC,SAAS,EAAE,OAAO,CAAC,SAAS;oBAC5B,gBAAgB,EAAE,OAAO,CAAC,gBAAgB,IAAI,SAAS;oBACvD,SAAS,EAAE,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS;oBAChE,OAAO,EAAE,iBAAiB,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS;oBAChD,eAAe,EAAE,iBAAiB;wBAChC,CAAC,CAAC,OAAO,CAAC,eAAe,KAAK,CAAC;wBAC/B,CAAC,CAAC,SAAS;oBACb,aAAa,EAAE,OAAO,CAAC,aAAa,IAAI,SAAS;iBAClD;aACF,CAAA;QACH,CAAC;KACF,CAAC,CAAA;AACJ,CAAC;AAlCD,4BAkCC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getSubjectStatus.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/admin/getSubjectStatus.ts"],"names":[],"mappings":"AAGA,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,
|
1
|
+
{"version":3,"file":"getSubjectStatus.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/admin/getSubjectStatus.ts"],"names":[],"mappings":"AAGA,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,QAqEvD"}
|
@@ -43,14 +43,15 @@ function default_1(server, ctx) {
|
|
43
43
|
}
|
44
44
|
}
|
45
45
|
else if (did) {
|
46
|
-
const
|
47
|
-
if (
|
46
|
+
const status = await ctx.accountManager.getAccountAdminStatus(did);
|
47
|
+
if (status) {
|
48
48
|
body = {
|
49
49
|
subject: {
|
50
50
|
$type: 'com.atproto.admin.defs#repoRef',
|
51
51
|
did: did,
|
52
52
|
},
|
53
|
-
takedown,
|
53
|
+
takedown: status.takedown,
|
54
|
+
deactivated: status.deactivated,
|
54
55
|
};
|
55
56
|
}
|
56
57
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getSubjectStatus.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/admin/getSubjectStatus.ts"],"names":[],"mappings":";;AAAA,0CAAsC;AACtC,4CAAuC;AACvC,sDAA0D;AAK1D,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,gBAAgB,CAAC;QACxC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,SAAS;QAChC,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE;YAC5B,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,MAAM,CAAA;YACjC,IAAI,IAAI,GAAwB,IAAI,CAAA;YACpC,IAAI,IAAI,EAAE,CAAC;gBACT,IAAI,CAAC,GAAG,EAAE,CAAC;oBACT,MAAM,IAAI,iCAAmB,CAC3B,0CAA0C,CAC3C,CAAA;gBACH,CAAC;gBACD,MAAM,QAAQ,GAAG,MAAM,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,EAAE,CACxD,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,qBAAqB,CAAC,SAAG,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CACvD,CAAA;gBACD,IAAI,QAAQ,EAAE,CAAC;oBACb,IAAI,GAAG;wBACL,OAAO,EAAE;4BACP,KAAK,EAAE,oCAAoC;4BAC3C,GAAG,EAAE,GAAG;4BACR,GAAG,EAAE,IAAI;yBACV;wBACD,QAAQ;qBACT,CAAA;gBACH,CAAC;YACH,CAAC;iBAAM,IAAI,GAAG,EAAE,CAAC;gBACf,MAAM,SAAS,GAAG,IAAI,cAAK,CAAC,GAAG,CAAC,CAAA;gBAChC,MAAM,CAAC,QAAQ,EAAE,GAAG,CAAC,GAAG,MAAM,GAAG,CAAC,UAAU,CAAC,IAAI,CAC/C,SAAS,CAAC,QAAQ,EAClB,CAAC,KAAK,EAAE,EAAE,CACR,OAAO,CAAC,GAAG,CAAC;oBACV,KAAK,CAAC,MAAM,CAAC,uBAAuB,CAAC,SAAS,CAAC;oBAC/C,KAAK,CAAC,MAAM,CAAC,mBAAmB,CAAC,SAAS,CAAC;iBAC5C,CAAC,CACL,CAAA;gBACD,IAAI,GAAG,IAAI,QAAQ,EAAE,CAAC;oBACpB,IAAI,GAAG;wBACL,OAAO,EAAE;4BACP,KAAK,EAAE,4BAA4B;4BACnC,GAAG,EAAE,SAAS,CAAC,QAAQ,EAAE;4BACzB,GAAG,EAAE,GAAG,CAAC,QAAQ,EAAE;yBACpB;wBACD,QAAQ;qBACT,CAAA;gBACH,CAAC;YACH,CAAC;iBAAM,IAAI,GAAG,EAAE,CAAC;gBACf,MAAM,
|
1
|
+
{"version":3,"file":"getSubjectStatus.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/admin/getSubjectStatus.ts"],"names":[],"mappings":";;AAAA,0CAAsC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CAAC,MAAM,CAAC,mBAAmB,CAAC,SAAS,CAAC;iBAC5C,CAAC,CACL,CAAA;gBACD,IAAI,GAAG,IAAI,QAAQ,EAAE,CAAC;oBACpB,IAAI,GAAG;wBACL,OAAO,EAAE;4BACP,KAAK,EAAE,4BAA4B;4BACnC,GAAG,EAAE,SAAS,CAAC,QAAQ,EAAE;4BACzB,GAAG,EAAE,GAAG,CAAC,QAAQ,EAAE;yBACpB;wBACD,QAAQ;qBACT,CAAA;gBACH,CAAC;YACH,CAAC;iBAAM,IAAI,GAAG,EAAE,CAAC;gBACf,MAAM,MAAM,GAAG,MAAM,GAAG,CAAC,cAAc,CAAC,qBAAqB,CAAC,GAAG,CAAC,CAAA;gBAClE,IAAI,MAAM,EAAE,CAAC;oBACX,IAAI,GAAG;wBACL,OAAO,EAAE;4BACP,KAAK,EAAE,gCAAgC;4BACvC,GAAG,EAAE,GAAG;yBACT;wBACD,QAAQ,EAAE,MAAM,CAAC,QAAQ;wBACzB,WAAW,EAAE,MAAM,CAAC,WAAW;qBAChC,CAAA;gBACH,CAAC;YACH,CAAC;iBAAM,CAAC;gBACN,MAAM,IAAI,iCAAmB,CAAC,qBAAqB,CAAC,CAAA;YACtD,CAAC;YACD,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;gBAClB,MAAM,IAAI,iCAAmB,CAAC,mBAAmB,EAAE,UAAU,CAAC,CAAA;YAChE,CAAC;YACD,OAAO;gBACL,QAAQ,EAAE,kBAAkB;gBAC5B,IAAI;aACL,CAAA;QACH,CAAC;KACF,CAAC,CAAA;AACJ,CAAC;AArED,4BAqEC"}
|
@@ -43,7 +43,7 @@ function default_1(server, ctx) {
|
|
43
43
|
}
|
44
44
|
try {
|
45
45
|
await ctx.sequencer.sequenceHandleUpdate(did, handle);
|
46
|
-
await ctx.sequencer.sequenceIdentityEvt(did);
|
46
|
+
await ctx.sequencer.sequenceIdentityEvt(did, handle);
|
47
47
|
}
|
48
48
|
catch (err) {
|
49
49
|
logger_1.httpLogger.error({ err, did, handle }, 'failed to sequence handle update');
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"updateAccountHandle.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/admin/updateAccountHandle.ts"],"names":[],"mappings":";;AAAA,sDAA0D;AAC1D,+CAA+D;AAG/D,+CAA+C;AAE/C,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,mBAAmB,CAAC;QAC3C,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,UAAU;QACjC,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE;YAC3B,MAAM,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC,IAAI,CAAA;YAC1B,MAAM,MAAM,GAAG,MAAM,IAAA,mCAA0B,EAAC;gBAC9C,GAAG;gBACH,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,MAAM;gBACzB,GAAG;gBACH,aAAa,EAAE,IAAI;aACpB,CAAC,CAAA;YAEF,gFAAgF;YAChF,MAAM,OAAO,GAAG,MAAM,GAAG,CAAC,cAAc,CAAC,UAAU,CAAC,MAAM,EAAE;gBAC1D,kBAAkB,EAAE,IAAI;gBACxB,gBAAgB,EAAE,IAAI;aACvB,CAAC,CAAA;YAEF,IAAI,OAAO,EAAE,CAAC;gBACZ,IAAI,OAAO,CAAC,GAAG,KAAK,GAAG,EAAE,CAAC;oBACxB,MAAM,IAAI,iCAAmB,CAAC,yBAAyB,MAAM,EAAE,CAAC,CAAA;gBAClE,CAAC;YACH,CAAC;iBAAM,CAAC;gBACN,IAAI,GAAG,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;oBACrB,gFAAgF;oBAChF,4EAA4E;oBAC5E,0EAA0E;oBAC1E,MAAM,GAAG,GAAG,MAAM,GAAG,CAAC,UAAU,CAAC,GAAG;yBACjC,kBAAkB,CAAC,GAAG,EAAE,IAAI,CAAC;yBAC7B,KAAK,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,CAAA;oBACzB,IAAI,GAAG,EAAE,MAAM,KAAK,MAAM,EAAE,CAAC;wBAC3B,MAAM,IAAI,iCAAmB,CAAC,+BAA+B,CAAC,CAAA;oBAChE,CAAC;gBACH,CAAC;qBAAM,CAAC;oBACN,MAAM,GAAG,CAAC,SAAS,CAAC,YAAY,CAAC,GAAG,EAAE,GAAG,CAAC,cAAc,EAAE,MAAM,CAAC,CAAA;gBACnE,CAAC;gBACD,MAAM,GAAG,CAAC,cAAc,CAAC,YAAY,CAAC,GAAG,EAAE,MAAM,CAAC,CAAA;YACpD,CAAC;YAED,IAAI,CAAC;gBACH,MAAM,GAAG,CAAC,SAAS,CAAC,oBAAoB,CAAC,GAAG,EAAE,MAAM,CAAC,CAAA;gBACrD,MAAM,GAAG,CAAC,SAAS,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAA;
|
1
|
+
{"version":3,"file":"updateAccountHandle.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/admin/updateAccountHandle.ts"],"names":[],"mappings":";;AAAA,sDAA0D;AAC1D,+CAA+D;AAG/D,+CAA+C;AAE/C,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,mBAAmB,CAAC;QAC3C,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,UAAU;QACjC,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE;YAC3B,MAAM,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC,IAAI,CAAA;YAC1B,MAAM,MAAM,GAAG,MAAM,IAAA,mCAA0B,EAAC;gBAC9C,GAAG;gBACH,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,MAAM;gBACzB,GAAG;gBACH,aAAa,EAAE,IAAI;aACpB,CAAC,CAAA;YAEF,gFAAgF;YAChF,MAAM,OAAO,GAAG,MAAM,GAAG,CAAC,cAAc,CAAC,UAAU,CAAC,M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,CAAC;KACF,CAAC,CAAA;AACJ,CAAC;AAlDD,4BAkDC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"updateSubjectStatus.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/admin/updateSubjectStatus.ts"],"names":[],"mappings":"AAEA,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,
|
1
|
+
{"version":3,"file":"updateSubjectStatus.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/admin/updateSubjectStatus.ts"],"names":[],"mappings":"AAEA,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,QAoCvD"}
|
@@ -13,6 +13,8 @@ function default_1(server, ctx) {
|
|
13
13
|
if (takedown) {
|
14
14
|
if ((0, defs_1.isRepoRef)(subject)) {
|
15
15
|
await ctx.accountManager.takedownAccount(subject.did, takedown);
|
16
|
+
const status = await ctx.accountManager.getAccountStatus(subject.did);
|
17
|
+
await ctx.sequencer.sequenceAccountEvt(subject.did, status);
|
16
18
|
}
|
17
19
|
else if ((0, strongRef_1.isMain)(subject)) {
|
18
20
|
const uri = new syntax_1.AtUri(subject.uri);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"updateSubjectStatus.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/admin/updateSubjectStatus.ts"],"names":[],"mappings":";;AAAA,0CAAsC;AACtC,4CAAuC;AAGvC,2EAGyD;AACzD,oFAA4F;AAC5F,sDAA0D;AAE1D,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,mB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BAAM,IAAI,IAAA,kBAAW,EAAC,OAAO,CAAC,EAAE,CAAC;oBAChC,MAAM,GAAG,GAAG,IAAI,cAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAA;oBAClC,MAAM,GAAG,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CACpD,KAAK,CAAC,MAAM,CAAC,0BAA0B,CAAC,GAAG,EAAE,QAAQ,CAAC,CACvD,CAAA;gBACH,CAAC;qBAAM,IAAI,IAAA,oBAAa,EAAC,OAAO,CAAC,EAAE,CAAC;oBAClC,MAAM,GAAG,CAAC,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,EAAE,CACnD,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,wBAAwB,CACtC,SAAG,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,EACtB,QAAQ,CACT,CACF,CAAA;gBACH,CAAC;qBAAM,CAAC;oBACN,MAAM,IAAI,iCAAmB,CAAC,iBAAiB,CAAC,CAAA;gBAClD,CAAC;YACH,CAAC;YAED,OAAO;gBACL,QAAQ,EAAE,kBAAkB;gBAC5B,IAAI,EAAE;oBACJ,OAAO;oBACP,QAAQ;iBACT;aACF,CAAA;QACH,CAAC;KACF,CAAC,CAAA;AACJ,CAAC;AApCD,4BAoCC"}
|
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
function default_1(server, ctx) {
|
4
4
|
server.com.atproto.identity.getRecommendedDidCredentials({
|
5
|
-
auth: ctx.authVerifier.
|
5
|
+
auth: ctx.authVerifier.accessStandard(),
|
6
6
|
handler: async ({ auth }) => {
|
7
7
|
const requester = auth.credentials.did;
|
8
8
|
const signingKey = await ctx.actorStore.keypair(requester);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getRecommendedDidCredentials.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/identity/getRecommendedDidCredentials.ts"],"names":[],"mappings":";;AAGA,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,4BAA4B,CAAC;QACvD,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,
|
1
|
+
{"version":3,"file":"getRecommendedDidCredentials.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/identity/getRecommendedDidCredentials.ts"],"names":[],"mappings":";;AAGA,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,4BAA4B,CAAC;QACvD,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,cAAc,EAAE;QACvC,OAAO,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;YAC1B,MAAM,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAA;YACtC,MAAM,UAAU,GAAG,MAAM,GAAG,CAAC,UAAU,CAAC,OAAO,CAAC,SAAS,CAAC,CAAA;YAC1D,MAAM,mBAAmB,GAAG;gBAC1B,OAAO,EAAE,UAAU,CAAC,GAAG,EAAE;aAC1B,CAAA;YACD,MAAM,OAAO,GAAG,MAAM,GAAG,CAAC,cAAc,CAAC,UAAU,CAAC,SAAS,EAAE;gBAC7D,kBAAkB,EAAE,IAAI;aACzB,CAAC,CAAA;YACF,MAAM,WAAW,GAAG,OAAO,EAAE,MAAM;gBACjC,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,MAAM,EAAE,CAAC;gBAC5B,CAAC,CAAC,SAAS,CAAA;YAEb,MAAM,cAAc,GAClB,GAAG,CAAC,GAAG,CAAC,QAAQ,EAAE,cAAc,IAAI,GAAG,CAAC,cAAc,CAAC,GAAG,EAAE,CAAA;YAC9D,MAAM,YAAY,GAAG,CAAC,cAAc,CAAC,CAAA;YACrC,IAAI,GAAG,CAAC,GAAG,CAAC,QAAQ,CAAC,cAAc,EAAE,CAAC;gBACpC,YAAY,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAA;YACvD,CAAC;YAED,MAAM,QAAQ,GAAG;gBACf,WAAW,EAAE;oBACX,IAAI,EAAE,2BAA2B;oBACjC,QAAQ,EAAE,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,SAAS;iBACpC;aACF,CAAA;YAED,OAAO;gBACL,QAAQ,EAAE,kBAAkB;gBAC5B,IAAI,EAAE;oBACJ,WAAW;oBACX,mBAAmB;oBACnB,YAAY;oBACZ,QAAQ;iBACT;aACF,CAAA;QACH,CAAC;KACF,CAAC,CAAA;AACJ,CAAC;AAzCD,4BAyCC"}
|
@@ -4,7 +4,7 @@ const xrpc_server_1 = require("@atproto/xrpc-server");
|
|
4
4
|
const proxy_1 = require("../../../proxy");
|
5
5
|
function default_1(server, ctx) {
|
6
6
|
server.com.atproto.identity.requestPlcOperationSignature({
|
7
|
-
auth: ctx.authVerifier.accessFull,
|
7
|
+
auth: ctx.authVerifier.accessFull(),
|
8
8
|
handler: async ({ auth, req }) => {
|
9
9
|
if (ctx.entrywayAgent) {
|
10
10
|
await ctx.entrywayAgent.com.atproto.identity.requestPlcOperationSignature(undefined, (0, proxy_1.authPassthru)(req));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"requestPlcOperationSignature.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/identity/requestPlcOperationSignature.ts"],"names":[],"mappings":";;AAEA,sDAA0D;AAC1D,0CAA6C;AAE7C,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,4BAA4B,CAAC;QACvD,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,UAAU;
|
1
|
+
{"version":3,"file":"requestPlcOperationSignature.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/identity/requestPlcOperationSignature.ts"],"names":[],"mappings":";;AAEA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29
29
|
const proxy_1 = require("../../../proxy");
|
30
30
|
function default_1(server, ctx) {
|
31
31
|
server.com.atproto.identity.signPlcOperation({
|
32
|
-
auth: ctx.authVerifier.accessFull,
|
32
|
+
auth: ctx.authVerifier.accessFull(),
|
33
33
|
handler: async ({ auth, input, req }) => {
|
34
34
|
if (ctx.entrywayAgent) {
|
35
35
|
return (0, proxy_1.resultPassthru)(await ctx.entrywayAgent.com.atproto.identity.signPlcOperation(input.body, (0, proxy_1.authPassthru)(req, true)));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"signPlcOperation.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/identity/signPlcOperation.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,kDAAmC;AACnC,4CAAuC;AACvC,sDAA0D;AAC1D,0CAA6D;AAE7D,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAC;QAC3C,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,UAAU;
|
1
|
+
{"version":3,"file":"signPlcOperation.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/identity/signPlcOperation.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,kDAAmC;AACnC,4CAAuC;AACvC,sDAA0D;AAC1D,0CAA6D;AAE7D,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAC;QAC3C,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,UAAU,EAAE;QACnC,OAAO,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE,EAAE;YACtC,IAAI,GAAG,CAAC,aAAa,EAAE,CAAC;gBACtB,OAAO,IAAA,sBAAc,EACnB,MAAM,GAAG,CAAC,aAAa,CAAC,GAAG,CAAC,OAAO,CAAC,Q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AAA;QACH,CAAC;KACF,CAAC,CAAA;AACJ,CAAC;AAlDD,4BAkDC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"submitPlcOperation.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/identity/submitPlcOperation.ts"],"names":[],"mappings":"AAAA,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,
|
1
|
+
{"version":3,"file":"submitPlcOperation.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/identity/submitPlcOperation.ts"],"names":[],"mappings":"AAAA,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,QAqDvD"}
|
@@ -29,7 +29,7 @@ const xrpc_server_1 = require("@atproto/xrpc-server");
|
|
29
29
|
const logger_1 = require("../../../../logger");
|
30
30
|
function default_1(server, ctx) {
|
31
31
|
server.com.atproto.identity.submitPlcOperation({
|
32
|
-
auth: ctx.authVerifier.
|
32
|
+
auth: ctx.authVerifier.accessStandard(),
|
33
33
|
handler: async ({ auth, input }) => {
|
34
34
|
const requester = auth.credentials.did;
|
35
35
|
const op = input.body.operation;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"submitPlcOperation.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/identity/submitPlcOperation.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,kDAAmC;AACnC,4CAAuC;AACvC,sDAA0D;AAC1D,+CAAsD;AAEtD,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAC;QAC7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function default_1(server, ctx) {
|
9
9
|
server.com.atproto.identity.updateHandle({
|
10
|
-
auth: ctx.authVerifier.
|
10
|
+
auth: ctx.authVerifier.accessStandard({ checkTakedown: true }),
|
11
11
|
rateLimit: [
|
12
12
|
{
|
13
13
|
durationMs: 5 * common_1.MINUTE,
|
@@ -49,7 +49,7 @@ function default_1(server, ctx) {
|
|
49
49
|
}
|
50
50
|
try {
|
51
51
|
await ctx.sequencer.sequenceHandleUpdate(requester, handle);
|
52
|
-
await ctx.sequencer.sequenceIdentityEvt(requester);
|
52
|
+
await ctx.sequencer.sequenceIdentityEvt(requester, handle);
|
53
53
|
}
|
54
54
|
catch (err) {
|
55
55
|
logger_1.httpLogger.error({ err, did: requester, handle }, 'failed to sequence handle update');
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"updateHandle.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/identity/updateHandle.ts"],"names":[],"mappings":";;AAAA,sDAA0D;AAC1D,4CAA6C;AAC7C,+CAA+D;AAG/D,+CAA+C;AAC/C,0CAA6C;AAE7C,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC;QACvC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,
|
1
|
+
{"version":3,"file":"updateHandle.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/identity/updateHandle.ts"],"names":[],"mappings":";;AAAA,sDAA0D;AAC1D,4CAA6C;AAC7C,+CAA+D;AAG/D,+CAA+C;AAC/C,0CAA6C;AAE7C,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC;QACvC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,cAAc,CAAC,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC;QAC9D,SAAS,EAAE;YACT;gBACE,UAAU,EAAE,CAAC,GAAG,eAAM;gBACtB,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,CAAC;gBACN,MAAM,GAAG,CAAC,SAAS,CAAC,YAAY,CAAC,SAAS,EAAE,GAAG,CAAC,cAAc,EAAE,MAAM,CAAC,CAAA;gBACvE,MAAM,GAAG,CAAC,cAAc,CAAC,YAAY,CAAC,SAAS,EAAE,MAAM,CAAC,CAAA;YAC1D,CAAC;YAED,IAAI,CAAC;gBACH,MAAM,GAAG,CAAC,SAAS,CAAC,oBAAoB,CAAC,SAAS,EAAE,MAAM,CAAC,CAAA;gBAC3D,MAAM,GAAG,CAAC,SAAS,CAAC,mBAAmB,CAAC,SAAS,EAAE,MAAM,CAAC,CAAA;YAC5D,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACb,mBAAU,CAAC,KAAK,CACd,EAAE,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,EAAE,EAC/B,kCAAkC,CACnC,CAAA;YACH,CAAC;QACH,CAAC;KACF,CAAC,CAAA;AACJ,CAAC;AA5DD,4BA4DC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"applyWrites.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/repo/applyWrites.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAY5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAgB5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,
|
1
|
+
{"version":3,"file":"applyWrites.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/repo/applyWrites.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAY5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAgB5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAkGvD"}
|
@@ -22,7 +22,10 @@ const ratelimitPoints = ({ input }) => {
|
|
22
22
|
};
|
23
23
|
function default_1(server, ctx) {
|
24
24
|
server.com.atproto.repo.applyWrites({
|
25
|
-
auth: ctx.authVerifier.
|
25
|
+
auth: ctx.authVerifier.accessStandard({
|
26
|
+
checkTakedown: true,
|
27
|
+
checkDeactivated: true,
|
28
|
+
}),
|
26
29
|
rateLimit: [
|
27
30
|
{
|
28
31
|
name: 'repo-write-hour',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"applyWrites.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/repo/applyWrites.ts"],"names":[],"mappings":";;AAAA,0CAAsC;AACtC,sDAA6E;AAC7E,2CAA8E;AAE9E,wFAK+D;AAC/D,2CAIyB;AAGzB,MAAM,eAAe,GAAG,CAAC,EAAE,KAAK,EAA2B,EAAE,EAAE;IAC7D,IAAI,MAAM,GAAG,CAAC,CAAA;IACd,KAAK,MAAM,EAAE,IAAI,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;QACnC,IAAI,IAAA,sBAAQ,EAAC,EAAE,CAAC,EAAE,CAAC;YACjB,MAAM,IAAI,CAAC,CAAA;QACb,CAAC;aAAM,IAAI,IAAA,sBAAQ,EAAC,EAAE,CAAC,EAAE,CAAC;YACxB,MAAM,IAAI,CAAC,CAAA;QACb,CAAC;aAAM,CAAC;YACN,MAAM,IAAI,CAAC,CAAA;QACb,CAAC;IACH,CAAC;IACD,OAAO,MAAM,CAAA;AACf,CAAC,CAAA;AAED,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC;QAClC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,
|
1
|
+
{"version":3,"file":"applyWrites.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/repo/applyWrites.ts"],"names":[],"mappings":";;AAAA,0CAAsC;AACtC,sDAA6E;AAC7E,2CAA8E;AAE9E,wFAK+D;AAC/D,2CAIyB;AAGzB,MAAM,eAAe,GAAG,CAAC,EAAE,KAAK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M,EAAE,MAAM,CAAC,CAAA;YACvD,MAAM,GAAG,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,EAAE,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,GAAG,CAAC,CAAA;QACtE,CAAC;KACF,CAAC,CAAA;AACJ,CAAC;AAlGD,4BAkGC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"createRecord.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/repo/createRecord.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAM5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAE5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,
|
1
|
+
{"version":3,"file":"createRecord.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/repo/createRecord.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAM5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAE5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAgGvD"}
|
@@ -7,7 +7,10 @@ const repo_1 = require("../../../../repo");
|
|
7
7
|
const repo_2 = require("../../../../repo");
|
8
8
|
function default_1(server, ctx) {
|
9
9
|
server.com.atproto.repo.createRecord({
|
10
|
-
auth: ctx.authVerifier.
|
10
|
+
auth: ctx.authVerifier.accessStandard({
|
11
|
+
checkTakedown: true,
|
12
|
+
checkDeactivated: true,
|
13
|
+
}),
|
11
14
|
rateLimit: [
|
12
15
|
{
|
13
16
|
name: 'repo-write-hour',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"createRecord.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/repo/createRecord.ts"],"names":[],"mappings":";;AAAA,0CAAsC;AACtC,sDAA6E;AAC7E,4CAAuD;AACvD,2CAA+D;AAE/D,2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 +1 @@
|
|
1
|
-
{"version":3,"file":"deleteRecord.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/repo/deleteRecord.ts"],"names":[],"mappings":"AAEA,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,
|
1
|
+
{"version":3,"file":"deleteRecord.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/repo/deleteRecord.ts"],"names":[],"mappings":"AAEA,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,QAoEvD"}
|
@@ -6,7 +6,10 @@ const repo_2 = require("../../../../repo");
|
|
6
6
|
const cid_1 = require("multiformats/cid");
|
7
7
|
function default_1(server, ctx) {
|
8
8
|
server.com.atproto.repo.deleteRecord({
|
9
|
-
auth: ctx.authVerifier.
|
9
|
+
auth: ctx.authVerifier.accessStandard({
|
10
|
+
checkTakedown: true,
|
11
|
+
checkDeactivated: true,
|
12
|
+
}),
|
10
13
|
rateLimit: [
|
11
14
|
{
|
12
15
|
name: 'repo-write-hour',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"deleteRecord.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/repo/deleteRecord.ts"],"names":[],"mappings":";;AAAA,sDAA6E;AAC7E,2CAAgD;AAGhD,2CAAyE;AACzE,0CAAsC;AAEtC,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC;QACnC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,
|
1
|
+
{"version":3,"file":"deleteRecord.js","sourceRoot":"","sources":["../../../../../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EF,IAAI,MAAM,KAAK,IAAI,EAAE,CAAC;gBACpB,MAAM,GAAG,CAAC,SAAS,CAAC,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC,KAAK,CAAC,CAAC,CAAA;gBACxD,MAAM,GAAG,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,EAAE,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,GAAG,CAAC,CAAA;YACtE,CAAC;QACH,CAAC;KACF,CAAC,CAAA;AACJ,CAAC;AApED,4BAoEC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"describeRepo.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/repo/describeRepo.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;
|
1
|
+
{"version":3,"file":"describeRepo.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/repo/describeRepo.ts"],"names":[],"mappings":"AAEA,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,QA+BvD"}
|
@@ -26,13 +26,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
const xrpc_server_1 = require("@atproto/xrpc-server");
|
27
27
|
const id = __importStar(require("@atproto/identity"));
|
28
28
|
const syntax_1 = require("@atproto/syntax");
|
29
|
+
const util_1 = require("../sync/util");
|
29
30
|
function default_1(server, ctx) {
|
30
31
|
server.com.atproto.repo.describeRepo(async ({ params }) => {
|
31
32
|
const { repo } = params;
|
32
|
-
const account = await
|
33
|
-
if (account === null) {
|
34
|
-
throw new xrpc_server_1.InvalidRequestError(`Could not find user: ${repo}`);
|
35
|
-
}
|
33
|
+
const account = await (0, util_1.assertRepoAvailability)(ctx, repo, false);
|
36
34
|
let didDoc;
|
37
35
|
try {
|
38
36
|
didDoc = await ctx.idResolver.did.ensureResolve(account.did);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"describeRepo.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/repo/describeRepo.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sDAA0D;AAC1D,sDAAuC;AAGvC,4CAAgD;
|
1
|
+
{"version":3,"file":"describeRepo.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/repo/describeRepo.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sDAA0D;AAC1D,sDAAuC;AAGvC,4CAAgD;AAChD,uCAAqD;AAErD,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE;QACxD,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,CAAA;QAEvB,MAAM,OAAO,GAAG,MAAM,IAAA,6BAAsB,EAAC,GAAG,EAAE,IAAI,EAAE,KAAK,CAAC,CAAA;QAE9D,IAAI,MAAM,CAAA;QACV,IAAI,CAAC;YACH,MAAM,GAAG,MAAM,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,aAAa,CAAC,OAAO,CAAC,GAAG,CAAC,CAAA;QAC9D,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,MAAM,IAAI,iCAAmB,CAAC,0BAA0B,GAAG,EAAE,CAAC,CAAA;QAChE,CAAC;QAED,MAAM,MAAM,GAAG,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,CAAA;QACnC,MAAM,eAAe,GAAG,MAAM,KAAK,OAAO,CAAC,MAAM,CAAA;QAEjD,MAAM,WAAW,GAAG,MAAM,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,EAAE,CACnE,KAAK,CAAC,MAAM,CAAC,eAAe,EAAE,CAC/B,CAAA;QAED,OAAO;YACL,QAAQ,EAAE,kBAAkB;YAC5B,IAAI,EAAE;gBACJ,MAAM,EAAE,OAAO,CAAC,MAAM,IAAI,uBAAc;gBACxC,GAAG,EAAE,OAAO,CAAC,GAAG;gBAChB,MAAM;gBACN,WAAW;gBACX,eAAe;aAChB;SACF,CAAA;IACH,CAAC,CAAC,CAAA;AACJ,CAAC;AA/BD,4BA+BC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"importRepo.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/repo/importRepo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAc5C,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAc,MAAM,kBAAkB,CAAA;AAEhE,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,
|
1
|
+
{"version":3,"file":"importRepo.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/repo/importRepo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,UAAU,MAAM,qBAAqB,CAAA;AAc5C,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAc,MAAM,kBAAkB,CAAA;AAEhE,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAevD;AAkFD,eAAO,MAAM,YAAY,QAAS,QAAQ,qBAAc,OAAO,EAsB9D,CAAA"}
|
@@ -13,7 +13,9 @@ const syntax_1 = require("@atproto/syntax");
|
|
13
13
|
const lexicon_1 = require("@atproto/lexicon");
|
14
14
|
function default_1(server, ctx) {
|
15
15
|
server.com.atproto.repo.importRepo({
|
16
|
-
auth: ctx.authVerifier.accessFull
|
16
|
+
auth: ctx.authVerifier.accessFull({
|
17
|
+
checkTakedown: true,
|
18
|
+
}),
|
17
19
|
handler: async ({ input, auth }) => {
|
18
20
|
const did = auth.credentials.did;
|
19
21
|
if (!ctx.cfg.service.acceptingImports) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"importRepo.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/repo/importRepo.ts"],"names":[],"mappings":";;;;;;AAGA,4CAAqC;AACrC,wCAMsB;AACtB,sDAA0D;AAC1D,0CAAsC;AACtC,sDAA4B;AAC5B,4CAAuC;AACvC,8CAAgE;AAEhE,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC;QACjC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,UAAU;
|
1
|
+
{"version":3,"file":"importRepo.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/repo/importRepo.ts"],"names":[],"mappings":";;;;;;AAGA,4CAAqC;AACrC,wCAMsB;AACtB,sDAA0D;AAC1D,0CAAsC;AACtC,sDAA4B;AAC5B,4CAAuC;AACvC,8CAAgE;AAEhE,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC;QACjC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,UAAU,CAAC;YAChC,aAAa,EAAE,IAAI;SACpB,CAAC;QACF,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE;YACjC,MAAM,GAAG,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAA;YAChC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,gBAAgB,EAAE,CAAC;gBACtC,MAAM,IAAI,iCAAmB,CAAC,uCAAuC,CAAC,CAAA;YACxE,CAAC;YACD,MAAM,GAAG,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG,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AyF;QACzF,IAAI,GAAG,YAAY,iBAAO,EAAE,CAAC;YAC3B,OAAO,CAAC,GAAG,CAAC,CAAA;QACd,CAAC;QACD,sBAAsB;QACtB,IAAI,SAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,GAAG,YAAY,UAAU,EAAE,CAAC;YAChD,OAAO,EAAE,CAAA;QACX,CAAC;QACD,OAAO,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,oBAAY,EAAC,IAAI,EAAE,KAAK,GAAG,CAAC,CAAC,CAAC,CAAA;IAC5E,CAAC;IACD,eAAe;IACf,OAAO,EAAE,CAAA;AACX,CAAC,CAAA;AAtBY,QAAA,YAAY,gBAsBxB"}
|
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
function default_1(server, ctx) {
|
4
4
|
server.com.atproto.repo.listMissingBlobs({
|
5
|
-
auth: ctx.authVerifier.
|
5
|
+
auth: ctx.authVerifier.accessStandard(),
|
6
6
|
handler: async ({ auth, params }) => {
|
7
7
|
const did = auth.credentials.did;
|
8
8
|
const { limit, cursor } = params;
|