@atproto/repo 0.3.2 → 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/CHANGELOG.md +11 -0
- package/dist/index.js +20 -1
- package/dist/index.js.map +3 -3
- package/package.json +6 -6
- package/src/util.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atproto/repo",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "atproto repo and MST implementation",
|
|
6
6
|
"keywords": [
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
"multiformats": "^9.9.0",
|
|
21
21
|
"uint8arrays": "3.0.0",
|
|
22
22
|
"zod": "^3.21.4",
|
|
23
|
-
"@atproto/common": "^0.3.
|
|
24
|
-
"@atproto/common-web": "^0.2.
|
|
23
|
+
"@atproto/common": "^0.3.2",
|
|
24
|
+
"@atproto/common-web": "^0.2.2",
|
|
25
25
|
"@atproto/crypto": "^0.2.2",
|
|
26
|
-
"@atproto/identity": "^0.
|
|
27
|
-
"@atproto/lexicon": "^0.2.
|
|
28
|
-
"@atproto/syntax": "^0.1.
|
|
26
|
+
"@atproto/identity": "^0.3.0",
|
|
27
|
+
"@atproto/lexicon": "^0.2.3",
|
|
28
|
+
"@atproto/syntax": "^0.1.3"
|
|
29
29
|
},
|
|
30
30
|
"scripts": {
|
|
31
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
|
-
|
|
98
|
+
blocks.set(block.cid, block.bytes)
|
|
99
99
|
}
|
|
100
100
|
return {
|
|
101
101
|
roots,
|