@libp2p/gossipsub 15.0.23 → 16.0.0

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
@@ -1,12 +1,11 @@
1
- # js-libp2p-gossipsub
1
+ # @libp2p/gossipsub
2
2
 
3
- [![](https://img.shields.io/badge/made%20by-ChainSafe-blue.svg?style=flat-square)](https://chainsafe.io/)
4
3
  ![ES Version](https://img.shields.io/badge/ES-2017-yellow)
5
4
  ![Node Version](https://img.shields.io/badge/node-10.x-green)
6
5
 
7
6
  ## Table of Contents
8
7
 
9
- - [js-libp2p-gossipsub](#js-libp2p-gossipsub)
8
+ - [@libp2p/gossipsub](#libp2pgossipsub)
10
9
  - [Lead Maintainer](#lead-maintainer)
11
10
  - [Table of Contents](#table-of-contents)
12
11
  - [Specs](#specs)
@@ -21,16 +20,16 @@
21
20
 
22
21
  Gossipsub is an implementation of pubsub based on meshsub and floodsub. You can read the specification [here](https://github.com/libp2p/specs/tree/master/pubsub/gossipsub).
23
22
 
24
- `libp2p-gossipsub` currently implements the [`v1.1`](https://github.com/libp2p/specs/blob/master/pubsub/gossipsub/gossipsub-v1.1.md) of the spec.
23
+ `@libp2p/gossipsub` currently implements the [`v1.1`](https://github.com/libp2p/specs/blob/master/pubsub/gossipsub/gossipsub-v1.1.md) of the spec.
25
24
 
26
25
  ## Install
27
26
 
28
- `npm install @chainsafe/libp2p-gossipsub`
27
+ `npm install @libp2p/gossipsub`
29
28
 
30
29
  ## Usage
31
30
 
32
31
  ```javascript
33
- import { gossipsub } from '@chainsafe/libp2p-gossipsub'
32
+ import { gossipsub } from '@libp2p/gossipsub'
34
33
 
35
34
 
36
35
  const libp2p = await createLibp2p({