Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@libp2p/webrtc

Package Overview
Dependencies
Maintainers
6
Versions
617
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libp2p/webrtc - npm Package Compare versions

Comparing version 2.0.10-daeb43d8 to 2.0.10-e9cafd3d

6

dist/src/stream.js

@@ -50,4 +50,4 @@ import { CodeError } from '@libp2p/interface/errors';

case 'closing':
if (this.stat.timeline.close === undefined || this.stat.timeline.close === 0) {
this.stat.timeline.close = Date.now();
if (this.timeline.close === undefined || this.timeline.close === 0) {
this.timeline.close = Date.now();
}

@@ -64,3 +64,3 @@ break;

this.channel.onopen = (_evt) => {
this.stat.timeline.open = new Date().getTime();
this.timeline.open = new Date().getTime();
if (this.messageQueue != null) {

@@ -67,0 +67,0 @@ // send any queued messages

{
"name": "@libp2p/webrtc",
"version": "2.0.10-daeb43d8",
"version": "2.0.10-e9cafd3d",
"description": "A libp2p transport using WebRTC connections",

@@ -48,6 +48,6 @@ "author": "",

"@chainsafe/libp2p-noise": "^12.0.1",
"@libp2p/interface": "0.0.1-daeb43d8",
"@libp2p/interface-internal": "0.0.1-daeb43d8",
"@libp2p/logger": "2.1.1-daeb43d8",
"@libp2p/peer-id": "2.0.3-daeb43d8",
"@libp2p/interface": "0.0.1-e9cafd3d",
"@libp2p/interface-internal": "0.0.1-e9cafd3d",
"@libp2p/logger": "2.1.1-e9cafd3d",
"@libp2p/peer-id": "2.0.3-e9cafd3d",
"@multiformats/mafmt": "^12.1.2",

@@ -72,8 +72,8 @@ "@multiformats/multiaddr": "^12.1.3",

"devDependencies": {
"@chainsafe/libp2p-yamux": "^4.0.1",
"@libp2p/interface-compliance-tests": "3.0.7-daeb43d8",
"@libp2p/peer-id-factory": "2.0.3-daeb43d8",
"@libp2p/websockets": "6.0.3-daeb43d8",
"@chainsafe/libp2p-yamux": "^4.0.0",
"@libp2p/interface-compliance-tests": "3.0.7-e9cafd3d",
"@libp2p/peer-id-factory": "2.0.3-e9cafd3d",
"@libp2p/websockets": "6.0.3-e9cafd3d",
"@types/sinon": "^10.0.15",
"aegir": "^39.0.10",
"aegir": "^39.0.13",
"delay": "^6.0.0",

@@ -83,3 +83,3 @@ "it-length": "^3.0.2",

"it-pair": "^2.0.6",
"libp2p": "0.45.9-daeb43d8",
"libp2p": "0.45.9-e9cafd3d",
"protons": "^7.0.2",

@@ -86,0 +86,0 @@ "sinon": "^15.1.2",

@@ -82,4 +82,4 @@ import { CodeError } from '@libp2p/interface/errors'

case 'closing':
if (this.stat.timeline.close === undefined || this.stat.timeline.close === 0) {
this.stat.timeline.close = Date.now()
if (this.timeline.close === undefined || this.timeline.close === 0) {
this.timeline.close = Date.now()
}

@@ -98,3 +98,3 @@ break

this.channel.onopen = (_evt) => {
this.stat.timeline.open = new Date().getTime()
this.timeline.open = new Date().getTime()

@@ -101,0 +101,0 @@ if (this.messageQueue != null) {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc