@libp2p/websockets 3.0.0 → 3.0.1

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -43,14 +43,14 @@ $ npm i @libp2p/websockets
43
43
  ### Constructor properties
44
44
 
45
45
  ```js
46
- import WS from '@libp2p/websockets'
46
+ import { WebSockets } from '@libp2p/websockets'
47
47
 
48
48
  const properties = {
49
49
  upgrader,
50
50
  filter
51
51
  }
52
52
 
53
- const ws = new WS(properties)
53
+ const ws = new WebSockets(properties)
54
54
  ```
55
55
 
56
56
  | Name | Type | Description | Default |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@libp2p/websockets",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "JavaScript implementation of the WebSockets module that libp2p uses and that implements the interface-transport spec",
5
5
  "license": "Apache-2.0 OR MIT",
6
6
  "homepage": "https://github.com/libp2p/js-libp2p-websockets#readme",
@@ -158,7 +158,7 @@
158
158
  "@libp2p/interface-transport": "^1.0.0",
159
159
  "@libp2p/interfaces": "^3.0.1",
160
160
  "@libp2p/logger": "^2.0.0",
161
- "@libp2p/utils": "^2.0.0",
161
+ "@libp2p/utils": "^3.0.0",
162
162
  "@multiformats/mafmt": "^11.0.2",
163
163
  "@multiformats/multiaddr": "^10.1.5",
164
164
  "@multiformats/multiaddr-to-uri": "^9.0.0",
@@ -170,7 +170,7 @@
170
170
  "wherearewe": "^1.0.0"
171
171
  },
172
172
  "devDependencies": {
173
- "@libp2p/interface-mocks": "^2.0.1",
173
+ "@libp2p/interface-mocks": "^3.0.1",
174
174
  "@libp2p/interface-transport-compliance-tests": "^2.0.0",
175
175
  "@types/ws": "^8.2.2",
176
176
  "aegir": "^37.2.0",