@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 CHANGED
@@ -1,5 +1,16 @@
1
1
  # @atproto/repo
2
2
 
3
+ ## 0.3.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`bb039d8e`](https://github.com/bluesky-social/atproto/commit/bb039d8e4ce5b7f70c4f3e86d1327e210ef24dc3), [`35d108ce`](https://github.com/bluesky-social/atproto/commit/35d108ce94866ce1b3d147cd0620a0ba1c4ebcd7)]:
8
+ - @atproto/identity@0.3.0
9
+ - @atproto/common-web@0.2.2
10
+ - @atproto/common@0.3.2
11
+ - @atproto/lexicon@0.2.3
12
+ - @atproto/syntax@0.1.3
13
+
3
14
  ## 0.3.2
4
15
 
5
16
  ### Patch Changes
package/dist/index.js CHANGED
@@ -18170,6 +18170,25 @@ var DAY = HOUR * 24;
18170
18170
  // ../common-web/src/strings.ts
18171
18171
  var import_graphemer = __toESM(require_lib());
18172
18172
 
18173
+ // ../common-web/src/did-doc.ts
18174
+ var verificationMethod = z.object({
18175
+ id: z.string(),
18176
+ type: z.string(),
18177
+ controller: z.string(),
18178
+ publicKeyMultibase: z.string().optional()
18179
+ });
18180
+ var service = z.object({
18181
+ id: z.string(),
18182
+ type: z.string(),
18183
+ serviceEndpoint: z.union([z.string(), z.record(z.unknown())])
18184
+ });
18185
+ var didDocument = z.object({
18186
+ id: z.string(),
18187
+ alsoKnownAs: z.array(z.string()).optional(),
18188
+ verificationMethod: z.array(verificationMethod).optional(),
18189
+ service: z.array(service).optional()
18190
+ });
18191
+
18173
18192
  // ../lexicon/src/validators/formats.ts
18174
18193
  var import_iso_datestring_validator = __toESM(require_dist());
18175
18194
 
@@ -25332,7 +25351,7 @@ var readCar = async (bytes3) => {
25332
25351
  const roots = await car.getRoots();
25333
25352
  const blocks = new block_map_default();
25334
25353
  for await (const block of verifyIncomingCarBlocks(car.blocks())) {
25335
- await blocks.set(block.cid, block.bytes);
25354
+ blocks.set(block.cid, block.bytes);
25336
25355
  }
25337
25356
  return {
25338
25357
  roots,