@atproto/repo 0.3.1 → 0.3.3

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,25 +1,31 @@
1
1
  {
2
2
  "name": "@atproto/repo",
3
- "version": "0.3.1",
4
- "main": "dist/index.js",
3
+ "version": "0.3.3",
5
4
  "license": "MIT",
5
+ "description": "atproto repo and MST implementation",
6
+ "keywords": [
7
+ "atproto",
8
+ "mst"
9
+ ],
10
+ "homepage": "https://atproto.com",
6
11
  "repository": {
7
12
  "type": "git",
8
- "url": "https://github.com/bluesky-social/atproto.git",
13
+ "url": "https://github.com/bluesky-social/atproto",
9
14
  "directory": "packages/repo"
10
15
  },
16
+ "main": "dist/index.js",
11
17
  "dependencies": {
12
18
  "@ipld/car": "^3.2.3",
13
19
  "@ipld/dag-cbor": "^7.0.0",
14
20
  "multiformats": "^9.9.0",
15
21
  "uint8arrays": "3.0.0",
16
22
  "zod": "^3.21.4",
17
- "@atproto/common": "^0.3.0",
18
- "@atproto/common-web": "^0.2.0",
23
+ "@atproto/common": "^0.3.2",
24
+ "@atproto/common-web": "^0.2.2",
19
25
  "@atproto/crypto": "^0.2.2",
20
- "@atproto/identity": "^0.2.0",
21
- "@atproto/lexicon": "^0.2.1",
22
- "@atproto/syntax": "^0.1.1"
26
+ "@atproto/identity": "^0.3.0",
27
+ "@atproto/lexicon": "^0.2.3",
28
+ "@atproto/syntax": "^0.1.3"
23
29
  },
24
30
  "scripts": {
25
31
  "test": "jest",
package/src/util.ts CHANGED
@@ -95,7 +95,7 @@ export const readCar = async (
95
95
  const roots = await car.getRoots()
96
96
  const blocks = new BlockMap()
97
97
  for await (const block of verifyIncomingCarBlocks(car.blocks())) {
98
- await blocks.set(block.cid, block.bytes)
98
+ blocks.set(block.cid, block.bytes)
99
99
  }
100
100
  return {
101
101
  roots,
@@ -11,7 +11,7 @@ describe('Utils', () => {
11
11
  await car.put(block)
12
12
  throw new Error('Oops!')
13
13
  })
14
- for await (const bytes of iter) {
14
+ for await (const _bytes of iter) {
15
15
  // no-op
16
16
  }
17
17
  }