@libp2p/webrtc
Advanced tools
Comparing version 2.0.10-daeb43d8 to 2.0.10-e9cafd3d
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
629036
4968
+ Added@libp2p/interface@0.0.1-e9cafd3d(transitive)
+ Added@libp2p/interface-internal@0.0.1-e9cafd3d(transitive)
+ Added@libp2p/logger@2.1.1-e9cafd3d(transitive)
+ Added@libp2p/peer-collections@3.0.2-e9cafd3d(transitive)
+ Added@libp2p/peer-id@2.0.3-e9cafd3d(transitive)
- Removed@libp2p/interface@0.0.1-daeb43d8(transitive)
- Removed@libp2p/interface-internal@0.0.1-daeb43d8(transitive)
- Removed@libp2p/logger@2.1.1-daeb43d8(transitive)
- Removed@libp2p/peer-collections@3.0.2-daeb43d8(transitive)
- Removed@libp2p/peer-id@2.0.3-daeb43d8(transitive)