@libp2p/peer-record 7.0.0 → 7.0.1-742915567

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/README.md CHANGED
@@ -17,7 +17,7 @@ This envelope stores a marshaled record implementing the [interface-record](http
17
17
 
18
18
  You can read further about the envelope in [libp2p/specs#217](https://github.com/libp2p/specs/pull/217).
19
19
 
20
- ## Example - Creating a peer record
20
+ ## Example
21
21
 
22
22
  Create an envelope with an instance of an [interface-record](https://github.com/libp2p/js-libp2p/blob/main/packages/interface/src/record/index.ts) implementation and prepare it for being exchanged:
23
23
 
@@ -48,7 +48,7 @@ const e = await PeerEnvelope.seal(rec, peerId)
48
48
  const wireData = e.marshal()
49
49
  ```
50
50
 
51
- ## Example - Consuming a peer record
51
+ ## Example
52
52
 
53
53
  Consume a received envelope (`wireData`) and transform it back to a record:
54
54