@libp2p/websockets 8.0.24-769461d3b → 8.0.24-90d10b565
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 +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.js +1 -1
- package/package.json +5 -5
- package/src/index.ts +1 -1
package/README.md
CHANGED
|
@@ -67,7 +67,7 @@ The available filters are:
|
|
|
67
67
|
```TypeScript
|
|
68
68
|
import { createLibp2p } from 'libp2p'
|
|
69
69
|
import { webSockets } from '@libp2p/websockets'
|
|
70
|
-
import filters from '@libp2p/websockets/filters'
|
|
70
|
+
import * as filters from '@libp2p/websockets/filters'
|
|
71
71
|
|
|
72
72
|
const node = await createLibp2p({
|
|
73
73
|
transports: [
|
package/dist/src/index.d.ts
CHANGED
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
* ```TypeScript
|
|
45
45
|
* import { createLibp2p } from 'libp2p'
|
|
46
46
|
* import { webSockets } from '@libp2p/websockets'
|
|
47
|
-
* import filters from '@libp2p/websockets/filters'
|
|
47
|
+
* import * as filters from '@libp2p/websockets/filters'
|
|
48
48
|
*
|
|
49
49
|
* const node = await createLibp2p({
|
|
50
50
|
* transports: [
|
package/dist/src/index.js
CHANGED
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
* ```TypeScript
|
|
45
45
|
* import { createLibp2p } from 'libp2p'
|
|
46
46
|
* import { webSockets } from '@libp2p/websockets'
|
|
47
|
-
* import filters from '@libp2p/websockets/filters'
|
|
47
|
+
* import * as filters from '@libp2p/websockets/filters'
|
|
48
48
|
*
|
|
49
49
|
* const node = await createLibp2p({
|
|
50
50
|
* transports: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libp2p/websockets",
|
|
3
|
-
"version": "8.0.24-
|
|
3
|
+
"version": "8.0.24-90d10b565",
|
|
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/tree/main/packages/transport-websockets#readme",
|
|
@@ -74,8 +74,8 @@
|
|
|
74
74
|
"test:electron-main": "aegir test -t electron-main -f ./dist/test/node.js --cov"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@libp2p/interface": "1.4.0-
|
|
78
|
-
"@libp2p/utils": "5.4.2-
|
|
77
|
+
"@libp2p/interface": "1.4.0-90d10b565",
|
|
78
|
+
"@libp2p/utils": "5.4.2-90d10b565",
|
|
79
79
|
"@multiformats/mafmt": "^12.1.6",
|
|
80
80
|
"@multiformats/multiaddr": "^12.2.3",
|
|
81
81
|
"@multiformats/multiaddr-to-uri": "^10.0.1",
|
|
@@ -86,8 +86,8 @@
|
|
|
86
86
|
"ws": "^8.17.0"
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
|
89
|
-
"@libp2p/interface-compliance-tests": "5.4.5-
|
|
90
|
-
"@libp2p/logger": "4.0.13-
|
|
89
|
+
"@libp2p/interface-compliance-tests": "5.4.5-90d10b565",
|
|
90
|
+
"@libp2p/logger": "4.0.13-90d10b565",
|
|
91
91
|
"aegir": "^43.0.1",
|
|
92
92
|
"is-loopback-addr": "^2.0.2",
|
|
93
93
|
"it-all": "^3.0.6",
|
package/src/index.ts
CHANGED
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
* ```TypeScript
|
|
45
45
|
* import { createLibp2p } from 'libp2p'
|
|
46
46
|
* import { webSockets } from '@libp2p/websockets'
|
|
47
|
-
* import filters from '@libp2p/websockets/filters'
|
|
47
|
+
* import * as filters from '@libp2p/websockets/filters'
|
|
48
48
|
*
|
|
49
49
|
* const node = await createLibp2p({
|
|
50
50
|
* transports: [
|