Skip to content
This repository was archived by the owner on Jul 21, 2023. It is now read-only.

Commit 838b69e

Browse files
authored
docs: update websockets import var (#165)
Looks like this was missed when updating docs
1 parent 1603990 commit 838b69e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ $ npm i @libp2p/websockets
4343
### Constructor properties
4444

4545
```js
46-
import WS from '@libp2p/websockets'
46+
import { WebSockets } from '@libp2p/websockets'
4747

4848
const properties = {
4949
upgrader,
5050
filter
5151
}
5252

53-
const ws = new WS(properties)
53+
const ws = new WebSockets(properties)
5454
```
5555

5656
| Name | Type | Description | Default |

0 commit comments

Comments
 (0)