@atproto/pds 0.4.1 → 0.4.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atproto/pds",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "license": "MIT",
5
5
  "description": "Reference implementation of atproto Personal Data Server (PDS)",
6
6
  "keywords": [
@@ -44,16 +44,16 @@
44
44
  "typed-emitter": "^2.1.0",
45
45
  "uint8arrays": "3.0.0",
46
46
  "zod": "^3.21.4",
47
- "@atproto/api": "^0.10.1",
48
- "@atproto/aws": "^0.1.7",
47
+ "@atproto/api": "^0.10.2",
48
+ "@atproto/aws": "^0.1.8",
49
49
  "@atproto/common": "^0.3.3",
50
50
  "@atproto/crypto": "^0.3.0",
51
51
  "@atproto/identity": "^0.3.2",
52
- "@atproto/lexicon": "^0.3.1",
53
- "@atproto/repo": "^0.3.7",
54
- "@atproto/syntax": "^0.1.5",
55
- "@atproto/xrpc": "^0.4.1",
56
- "@atproto/xrpc-server": "^0.4.2"
52
+ "@atproto/lexicon": "^0.3.2",
53
+ "@atproto/repo": "^0.3.8",
54
+ "@atproto/syntax": "^0.2.0",
55
+ "@atproto/xrpc": "^0.4.2",
56
+ "@atproto/xrpc-server": "^0.4.3"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@atproto/pds-entryway": "npm:@atproto/pds@0.3.0-entryway.3",
@@ -68,10 +68,10 @@
68
68
  "axios": "^0.27.2",
69
69
  "get-port": "^6.1.2",
70
70
  "ws": "^8.12.0",
71
- "@atproto/api": "^0.10.1",
72
- "@atproto/bsky": "^0.0.33",
73
- "@atproto/dev-env": "^0.2.33",
74
- "@atproto/lex-cli": "^0.3.0"
71
+ "@atproto/api": "^0.10.2",
72
+ "@atproto/bsky": "^0.0.34",
73
+ "@atproto/dev-env": "^0.2.34",
74
+ "@atproto/lex-cli": "^0.3.1"
75
75
  },
76
76
  "scripts": {
77
77
  "codegen": "lex gen-server ./src/lexicon ../../lexicons/com/atproto/*/* ../../lexicons/app/bsky/*/*",
@@ -4867,7 +4867,7 @@ export const schemaDict = {
4867
4867
  main: {
4868
4868
  type: 'query',
4869
4869
  description:
4870
- 'Fetch all labels from a labeler created after a certain date. DEPRECATED: use queryLabels or subscribeLabels instead',
4870
+ 'DEPRECATED: use queryLabels or subscribeLabels instead -- Fetch all labels from a labeler created after a certain date.',
4871
4871
  parameters: {
4872
4872
  type: 'params',
4873
4873
  properties: {
package/tests/_util.ts CHANGED
@@ -43,11 +43,11 @@ export const forSnapshot = (obj: unknown) => {
43
43
  return constantDate
44
44
  }
45
45
  }
46
- if (str.match(/^\d+::bafy/)) {
46
+ // handles both pds and appview cursor separators
47
+ if (str.match(/^\d+(?:__|::)bafy/)) {
47
48
  return constantKeysetCursor
48
49
  }
49
-
50
- if (str.match(/^\d+::did:plc/)) {
50
+ if (str.match(/^\d+(?:__|::)did:plc/)) {
51
51
  return constantDidCursor
52
52
  }
53
53
  if (str.match(/\/image\/[^/]+\/.+\/did:plc:[^/]+\/[^/]+@[\w]+$/)) {
@@ -86,13 +86,13 @@ Object {
86
86
  "images": Array [
87
87
  Object {
88
88
  "alt": "../dev-env/src/seed/img/key-landscape-small.jpg",
89
- "fullsize": "https://bsky.public.url/img/feed_fullsize/plain/user(5)/cids(4)@jpeg",
90
- "thumb": "https://bsky.public.url/img/feed_thumbnail/plain/user(5)/cids(4)@jpeg",
89
+ "fullsize": "https://bsky.public.url/img/feed_fullsize/plain/user(3)/cids(4)@jpeg",
90
+ "thumb": "https://bsky.public.url/img/feed_thumbnail/plain/user(3)/cids(4)@jpeg",
91
91
  },
92
92
  Object {
93
93
  "alt": "../dev-env/src/seed/img/key-alt.jpg",
94
- "fullsize": "https://bsky.public.url/img/feed_fullsize/plain/user(5)/cids(5)@jpeg",
95
- "thumb": "https://bsky.public.url/img/feed_thumbnail/plain/user(5)/cids(5)@jpeg",
94
+ "fullsize": "https://bsky.public.url/img/feed_fullsize/plain/user(3)/cids(5)@jpeg",
95
+ "thumb": "https://bsky.public.url/img/feed_thumbnail/plain/user(3)/cids(5)@jpeg",
96
96
  },
97
97
  ],
98
98
  },
@@ -100,8 +100,8 @@ Object {
100
100
  "record": Object {
101
101
  "$type": "app.bsky.embed.record#viewRecord",
102
102
  "author": Object {
103
- "avatar": "https://bsky.public.url/img/avatar/plain/user(4)/cids(1)@jpeg",
104
- "did": "user(3)",
103
+ "avatar": "https://bsky.public.url/img/avatar/plain/user(5)/cids(1)@jpeg",
104
+ "did": "user(4)",
105
105
  "displayName": "bobby",
106
106
  "handle": "bob.test",
107
107
  "labels": Array [],