@atproto/pds 0.4.57 → 0.4.58

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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atproto/pds
2
2
 
3
+ ## 0.4.58
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`b15dec2f4`](https://github.com/bluesky-social/atproto/commit/b15dec2f4feb25ac91b169c83ccff1adbb5a9442)]:
8
+ - @atproto/repo@0.5.0
9
+ - @atproto/aws@0.2.4
10
+
3
11
  ## 0.4.57
4
12
 
5
13
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atproto/pds",
3
- "version": "0.4.57",
3
+ "version": "0.4.58",
4
4
  "license": "MIT",
5
5
  "description": "Reference implementation of atproto Personal Data Server (PDS)",
6
6
  "keywords": [
@@ -45,13 +45,13 @@
45
45
  "zod": "^3.23.8",
46
46
  "@atproto-labs/fetch-node": "0.1.0",
47
47
  "@atproto/api": "^0.13.6",
48
- "@atproto/aws": "^0.2.3",
48
+ "@atproto/aws": "^0.2.4",
49
49
  "@atproto/common": "^0.4.1",
50
50
  "@atproto/crypto": "^0.4.1",
51
51
  "@atproto/identity": "^0.4.1",
52
52
  "@atproto/lexicon": "^0.4.1",
53
53
  "@atproto/oauth-provider": "^0.2.1",
54
- "@atproto/repo": "^0.4.3",
54
+ "@atproto/repo": "^0.5.0",
55
55
  "@atproto/syntax": "^0.3.0",
56
56
  "@atproto/xrpc": "^0.6.1",
57
57
  "@atproto/xrpc-server": "^0.6.3"
@@ -73,7 +73,7 @@
73
73
  "ts-node": "^10.8.2",
74
74
  "ws": "^8.12.0",
75
75
  "@atproto/api": "^0.13.6",
76
- "@atproto/bsky": "^0.0.81",
76
+ "@atproto/bsky": "^0.0.82",
77
77
  "@atproto/lex-cli": "^0.5.0"
78
78
  },
79
79
  "scripts": {
@@ -1,6 +1,6 @@
1
1
  import { TestNetworkNoAppView, SeedClient } from '@atproto/dev-env'
2
2
  import { AtpAgent } from '@atproto/api'
3
- import { TID } from '@atproto/common'
3
+ import { cidForCbor, TID } from '@atproto/common'
4
4
  import { Keypair, randomStr } from '@atproto/crypto'
5
5
  import * as repo from '@atproto/repo'
6
6
  import { MemoryBlockstore } from '@atproto/repo'
@@ -169,10 +169,10 @@ describe('repo sync', () => {
169
169
  const claim = {
170
170
  collection,
171
171
  rkey,
172
- record: repoData[collection][rkey],
172
+ cid: await cidForCbor(repoData[collection][rkey]),
173
173
  }
174
174
  expect(records.length).toBe(1)
175
- expect(records[0].record).toEqual(claim.record)
175
+ expect(await cidForCbor(records[0].record)).toEqual(claim.cid)
176
176
  const result = await repo.verifyProofs(
177
177
  new Uint8Array(car.data),
178
178
  [claim],
@@ -194,7 +194,7 @@ describe('repo sync', () => {
194
194
  const claim = {
195
195
  collection,
196
196
  rkey,
197
- record: null,
197
+ cid: null,
198
198
  }
199
199
  const result = await repo.verifyProofs(
200
200
  new Uint8Array(car.data),