@libp2p/webrtc
Advanced tools
Comparing version 2.0.9 to 2.0.10-3dfc236e
@@ -88,2 +88,6 @@ import { symbol } from '@libp2p/interface-transport'; | ||
} | ||
finally { | ||
// Close the signaling connection | ||
await connection.close(); | ||
} | ||
} | ||
@@ -112,2 +116,6 @@ async _onProtocol({ connection, stream }) { | ||
} | ||
finally { | ||
// Close the signaling connection | ||
await connection.close(); | ||
} | ||
} | ||
@@ -114,0 +122,0 @@ } |
146
package.json
{ | ||
"name": "@libp2p/webrtc", | ||
"version": "2.0.9", | ||
"version": "2.0.10-3dfc236e", | ||
"description": "A libp2p transport using WebRTC connections", | ||
"author": "", | ||
"license": "Apache-2.0 OR MIT", | ||
"homepage": "https://github.com/libp2p/js-libp2p-webrtc#readme", | ||
"homepage": "https://github.com/libp2p/js-libp2p/tree/master/packages/transport-webrtc#readme", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/libp2p/js-libp2p-webrtc.git" | ||
"url": "git+https://github.com/libp2p/js-libp2p.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/libp2p/js-libp2p-webrtc/issues" | ||
"url": "https://github.com/libp2p/js-libp2p/issues" | ||
}, | ||
"engines": { | ||
"node": ">=18.0.0", | ||
"npm": ">=8.6.0" | ||
}, | ||
"type": "module", | ||
@@ -25,4 +21,3 @@ "types": "./dist/src/index.d.ts", | ||
"!dist/test", | ||
"!**/*.tsbuildinfo", | ||
"proto_ts" | ||
"!**/*.tsbuildinfo" | ||
], | ||
@@ -41,87 +36,2 @@ "exports": { | ||
}, | ||
"release": { | ||
"branches": [ | ||
"main" | ||
], | ||
"plugins": [ | ||
[ | ||
"@semantic-release/commit-analyzer", | ||
{ | ||
"preset": "conventionalcommits", | ||
"releaseRules": [ | ||
{ | ||
"breaking": true, | ||
"release": "major" | ||
}, | ||
{ | ||
"revert": true, | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "feat", | ||
"release": "minor" | ||
}, | ||
{ | ||
"type": "fix", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "docs", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "test", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "deps", | ||
"release": "patch" | ||
}, | ||
{ | ||
"scope": "no-release", | ||
"release": false | ||
} | ||
] | ||
} | ||
], | ||
[ | ||
"@semantic-release/release-notes-generator", | ||
{ | ||
"preset": "conventionalcommits", | ||
"presetConfig": { | ||
"types": [ | ||
{ | ||
"type": "feat", | ||
"section": "Features" | ||
}, | ||
{ | ||
"type": "fix", | ||
"section": "Bug Fixes" | ||
}, | ||
{ | ||
"type": "chore", | ||
"section": "Trivial Changes" | ||
}, | ||
{ | ||
"type": "docs", | ||
"section": "Documentation" | ||
}, | ||
{ | ||
"type": "deps", | ||
"section": "Dependencies" | ||
}, | ||
{ | ||
"type": "test", | ||
"section": "Tests" | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"@semantic-release/changelog", | ||
"@semantic-release/npm", | ||
"@semantic-release/github", | ||
"@semantic-release/git" | ||
] | ||
}, | ||
"scripts": { | ||
@@ -136,18 +46,17 @@ "generate": "protons src/private-to-private/pb/message.proto src/pb/message.proto", | ||
"clean": "aegir clean", | ||
"dep-check": "aegir dep-check -i protons", | ||
"release": "aegir release" | ||
"dep-check": "aegir dep-check -i protons" | ||
}, | ||
"dependencies": { | ||
"@chainsafe/libp2p-noise": "^12.0.0", | ||
"@libp2p/interface-connection": "^5.0.2", | ||
"@libp2p/interface-metrics": "^4.0.8", | ||
"@libp2p/interface-peer-id": "^2.0.2", | ||
"@libp2p/interface-registrar": "^2.0.12", | ||
"@libp2p/interface-stream-muxer": "^4.1.2", | ||
"@libp2p/interface-transport": "^4.0.3", | ||
"@libp2p/interfaces": "^3.3.2", | ||
"@libp2p/logger": "^2.0.7", | ||
"@libp2p/peer-id": "^2.0.3", | ||
"@chainsafe/libp2p-noise": "^12.0.1", | ||
"@libp2p/interface-connection": "5.1.1-3dfc236e", | ||
"@libp2p/interface-metrics": "4.0.8-3dfc236e", | ||
"@libp2p/interface-peer-id": "2.0.2-3dfc236e", | ||
"@libp2p/interface-registrar": "2.0.12-3dfc236e", | ||
"@libp2p/interface-stream-muxer": "4.1.2-3dfc236e", | ||
"@libp2p/interface-transport": "4.0.3-3dfc236e", | ||
"@libp2p/interfaces": "3.3.2-3dfc236e", | ||
"@libp2p/logger": "2.1.1-3dfc236e", | ||
"@libp2p/peer-id": "2.0.3-3dfc236e", | ||
"@multiformats/mafmt": "^12.1.2", | ||
"@multiformats/multiaddr": "^12.1.2", | ||
"@multiformats/multiaddr": "^12.1.3", | ||
"abortable-iterator": "^5.0.1", | ||
@@ -164,3 +73,3 @@ "detect-browser": "^5.3.0", | ||
"p-defer": "^4.0.0", | ||
"p-event": "^5.0.1", | ||
"p-event": "^6.0.0", | ||
"protons-runtime": "^5.0.0", | ||
@@ -172,8 +81,8 @@ "uint8arraylist": "^2.4.3", | ||
"@chainsafe/libp2p-yamux": "^4.0.1", | ||
"@libp2p/interface-libp2p": "^3.1.0", | ||
"@libp2p/interface-mocks": "^12.0.1", | ||
"@libp2p/peer-id-factory": "^2.0.3", | ||
"@libp2p/websockets": "^6.0.1", | ||
"@types/sinon": "^10.0.14", | ||
"aegir": "^39.0.7", | ||
"@libp2p/interface-libp2p": "3.2.0-3dfc236e", | ||
"@libp2p/interface-mocks": "12.0.1-3dfc236e", | ||
"@libp2p/peer-id-factory": "2.0.3-3dfc236e", | ||
"@libp2p/websockets": "6.0.3-3dfc236e", | ||
"@types/sinon": "^10.0.15", | ||
"aegir": "^39.0.10", | ||
"delay": "^6.0.0", | ||
@@ -183,7 +92,10 @@ "it-length": "^3.0.2", | ||
"it-pair": "^2.0.6", | ||
"libp2p": "^0.45.0", | ||
"libp2p": "0.45.9-3dfc236e", | ||
"protons": "^7.0.2", | ||
"sinon": "^15.0.4", | ||
"sinon": "^15.1.0", | ||
"sinon-ts": "^1.0.0" | ||
}, | ||
"typedoc": { | ||
"entryPoint": "./src/index.ts" | ||
} | ||
} |
@@ -5,4 +5,4 @@ # @libp2p/webrtc <!-- omit in toc --> | ||
[](https://discuss.libp2p.io) | ||
[](https://codecov.io/gh/libp2p/js-libp2p-webrtc) | ||
[](https://github.com/libp2p/js-libp2p-webrtc/actions/workflows/js-test-and-release.yml?query=branch%3Amain) | ||
[](https://codecov.io/gh/libp2p/js-libp2p) | ||
[](https://github.com/libp2p/js-libp2p/actions/workflows/main.yml?query=branch%3Amaster) | ||
@@ -27,2 +27,3 @@ > A libp2p transport using WebRTC connections | ||
- [Check Dependencies](#check-dependencies) | ||
- [API Docs](#api-docs) | ||
- [License](#license) | ||
@@ -176,2 +177,6 @@ - [Contribution](#contribution) | ||
## API Docs | ||
- <https://libp2p.github.io/js-libp2p/modules/_libp2p_webrtc.html> | ||
## License | ||
@@ -178,0 +183,0 @@ |
@@ -122,2 +122,5 @@ import { type CreateListenerOptions, type DialOptions, type Listener, symbol, type Transport, type Upgrader, type TransportManager } from '@libp2p/interface-transport' | ||
throw err | ||
} finally { | ||
// Close the signaling connection | ||
await connection.close() | ||
} | ||
@@ -147,2 +150,5 @@ } | ||
throw err | ||
} finally { | ||
// Close the signaling connection | ||
await connection.close() | ||
} | ||
@@ -149,0 +155,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
4800
189
588493
2
2
+ Added@libp2p/interface-connection@5.1.1-3dfc236e(transitive)
+ Added@libp2p/interface-metrics@4.0.8-3dfc236e(transitive)
+ Added@libp2p/interface-peer-id@2.0.2-3dfc236e(transitive)
+ Added@libp2p/interface-registrar@2.0.12-3dfc236e(transitive)
+ Added@libp2p/interface-stream-muxer@4.1.2-3dfc236e(transitive)
+ Added@libp2p/interface-transport@4.0.3-3dfc236e(transitive)
+ Added@libp2p/interfaces@3.3.2-3dfc236e(transitive)
+ Added@libp2p/logger@2.1.1-3dfc236e(transitive)
+ Added@libp2p/peer-id@2.0.3-3dfc236e(transitive)
+ Addedp-event@6.0.1(transitive)
- Removed@libp2p/interface-registrar@2.0.12(transitive)
- Removed@libp2p/interface-stream-muxer@4.1.2(transitive)
- Removed@libp2p/interface-transport@4.0.3(transitive)
- Removedp-event@5.0.1(transitive)
- Removedp-timeout@5.1.0(transitive)
Updatedp-event@^6.0.0