Skip to content
This repository was archived by the owner on Aug 29, 2023. It is now read-only.

Commit 4ce3476

Browse files
authored
fix: update interfaces (#182)
Interfaces and compliance tests need updating together.
1 parent 1f688c6 commit 4ce3476

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
"release": "aegir release"
136136
},
137137
"dependencies": {
138-
"@libp2p/interfaces": "^1.3.31",
138+
"@libp2p/interfaces": "^2.0.1",
139139
"@libp2p/logger": "^1.1.2",
140140
"@libp2p/utils": "^1.0.9",
141141
"@multiformats/mafmt": "^11.0.2",
@@ -145,7 +145,7 @@
145145
"stream-to-it": "^0.2.2"
146146
},
147147
"devDependencies": {
148-
"@libp2p/interface-compliance-tests": "^1.1.32",
148+
"@libp2p/interface-compliance-tests": "^2.0.1",
149149
"aegir": "^37.0.4",
150150
"it-all": "^1.0.6",
151151
"it-pipe": "^2.0.3",

src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export class TCP implements Transport {
2020
}
2121

2222
get [Symbol.toStringTag] () {
23-
return this.constructor.name
23+
return '@libp2p/tcp'
2424
}
2525

2626
async dial (ma: Multiaddr, options: DialOptions) {

0 commit comments

Comments
 (0)