@atproto/pds 0.5.8 → 0.5.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/dist/account-manager/oauth-store.d.ts +1 -1
- package/dist/account-manager/oauth-store.d.ts.map +1 -1
- package/dist/account-manager/oauth-store.js +2 -1
- package/dist/account-manager/oauth-store.js.map +1 -1
- package/dist/actor-store/actor-store.js +1 -1
- package/dist/actor-store/actor-store.js.map +1 -1
- package/dist/lexicons/app/bsky/feed/searchPostsV2.defs.d.ts +14 -16
- package/dist/lexicons/app/bsky/feed/searchPostsV2.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/feed/searchPostsV2.defs.js +6 -6
- package/dist/lexicons/app/bsky/feed/searchPostsV2.defs.js.map +1 -1
- package/dist/lexicons/chat/bsky/convo/defs.defs.d.ts +9 -1
- package/dist/lexicons/chat/bsky/convo/defs.defs.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/convo/defs.defs.js +6 -0
- package/dist/lexicons/chat/bsky/convo/defs.defs.js.map +1 -1
- package/dist/logger.d.ts +13 -13
- package/dist/logger.d.ts.map +1 -1
- package/package.json +27 -27
- package/src/account-manager/oauth-store.ts +5 -1
- package/src/actor-store/actor-store.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atproto/pds",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.9",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Reference implementation of atproto Personal Data Server (PDS)",
|
|
6
6
|
"keywords": [
|
|
@@ -36,32 +36,32 @@
|
|
|
36
36
|
"nodemailer": "^6.8.0",
|
|
37
37
|
"nodemailer-html-to-text": "^3.2.0",
|
|
38
38
|
"p-queue": "^8.0.0",
|
|
39
|
-
"pino": "^
|
|
40
|
-
"pino-http": "^
|
|
39
|
+
"pino": "^10.3.1",
|
|
40
|
+
"pino-http": "^11.0.0",
|
|
41
41
|
"typed-emitter": "^2.1.0",
|
|
42
42
|
"uint8arrays": "^5.0.0",
|
|
43
43
|
"undici": "^8.5.0",
|
|
44
44
|
"zod": "^3.23.8",
|
|
45
|
-
"@atproto-labs/simple-store": "^0.4.
|
|
46
|
-
"@atproto-labs/
|
|
47
|
-
"@atproto/
|
|
48
|
-
"@atproto/
|
|
49
|
-
"@atproto
|
|
50
|
-
"@atproto
|
|
51
|
-
"@atproto/
|
|
52
|
-
"@atproto-labs/simple-store-memory": "^0.2.
|
|
53
|
-
"@atproto/
|
|
54
|
-
"@atproto/identity": "^0.5.
|
|
55
|
-
"@atproto/lex-
|
|
56
|
-
"@atproto/lex-
|
|
57
|
-
"@atproto/
|
|
58
|
-
"@atproto/oauth-
|
|
59
|
-
"@atproto/
|
|
60
|
-
"@atproto/
|
|
61
|
-
"@atproto/
|
|
62
|
-
"@atproto/syntax": "^0.6.
|
|
63
|
-
"@atproto/
|
|
64
|
-
"@atproto/xrpc-server": "^0.11.
|
|
45
|
+
"@atproto-labs/simple-store": "^0.4.2",
|
|
46
|
+
"@atproto-labs/fetch-node": "^0.3.3",
|
|
47
|
+
"@atproto-labs/simple-store-redis": "^0.1.2",
|
|
48
|
+
"@atproto-labs/xrpc-utils": "^0.1.2",
|
|
49
|
+
"@atproto/common": "^0.6.4",
|
|
50
|
+
"@atproto/crypto": "^0.5.2",
|
|
51
|
+
"@atproto/aws": "^0.3.2",
|
|
52
|
+
"@atproto-labs/simple-store-memory": "^0.2.2",
|
|
53
|
+
"@atproto/lex": "^0.1.5",
|
|
54
|
+
"@atproto/identity": "^0.5.2",
|
|
55
|
+
"@atproto/lex-cbor": "^0.1.2",
|
|
56
|
+
"@atproto/lex-json": "^0.1.2",
|
|
57
|
+
"@atproto/oauth-provider": "^0.19.5",
|
|
58
|
+
"@atproto/oauth-scopes": "^0.5.2",
|
|
59
|
+
"@atproto/repo": "^0.10.2",
|
|
60
|
+
"@atproto/xrpc": "^0.8.2",
|
|
61
|
+
"@atproto/did": "^0.5.2",
|
|
62
|
+
"@atproto/syntax": "^0.6.3",
|
|
63
|
+
"@atproto/lex-data": "^0.1.3",
|
|
64
|
+
"@atproto/xrpc-server": "^0.11.3"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@did-plc/server": "^0.0.1",
|
|
@@ -78,10 +78,10 @@
|
|
|
78
78
|
"puppeteer": "^23.11.1",
|
|
79
79
|
"ts-node": "^10.8.2",
|
|
80
80
|
"ws": "^8.12.0",
|
|
81
|
-
"@atproto/api": "^0.20.
|
|
82
|
-
"@atproto/bsky": "^0.0.
|
|
83
|
-
"@atproto/
|
|
84
|
-
"@atproto/
|
|
81
|
+
"@atproto/api": "^0.20.22",
|
|
82
|
+
"@atproto/bsky": "^0.0.249",
|
|
83
|
+
"@atproto/oauth-client-browser-example": "^0.1.2",
|
|
84
|
+
"@atproto/lex-document": "^0.1.2"
|
|
85
85
|
},
|
|
86
86
|
"type": "module",
|
|
87
87
|
"exports": {
|
|
@@ -690,9 +690,13 @@ export class OAuthStore
|
|
|
690
690
|
}
|
|
691
691
|
}
|
|
692
692
|
|
|
693
|
-
async deactivateAccount({
|
|
693
|
+
async deactivateAccount({
|
|
694
|
+
did,
|
|
695
|
+
deleteAfter,
|
|
696
|
+
}: DeactivateAccountData): Promise<Account> {
|
|
694
697
|
const { account } = await this.accountManager.deactivateAccount(did, {
|
|
695
698
|
deleteCredentials: true,
|
|
699
|
+
deleteAfter,
|
|
696
700
|
})
|
|
697
701
|
|
|
698
702
|
return this.buildAccount(account)
|
|
@@ -134,7 +134,7 @@ export class ActorStore {
|
|
|
134
134
|
store.repo.blob.getBlobCids(),
|
|
135
135
|
)
|
|
136
136
|
await blobstore.deleteMany(cids).catch((err) => {
|
|
137
|
-
blobStoreLogger.error(
|
|
137
|
+
blobStoreLogger.error({ did, cids, err }, 'Failed to delete blobs')
|
|
138
138
|
})
|
|
139
139
|
}
|
|
140
140
|
|