@libp2p/autonat 3.0.1 → 3.0.2
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/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/src/autonat.js +1 -1
- package/package.json +5 -5
- package/src/autonat.ts +1 -1
package/dist/src/autonat.js
CHANGED
|
@@ -181,7 +181,7 @@ export class AutoNATService {
|
|
|
181
181
|
let peerId;
|
|
182
182
|
const peer = dialRequest.peer;
|
|
183
183
|
if (peer?.id == null) {
|
|
184
|
-
this.log.error('
|
|
184
|
+
this.log.error('peerId missing from message');
|
|
185
185
|
return {
|
|
186
186
|
type: Message.MessageType.DIAL_RESPONSE,
|
|
187
187
|
dialResponse: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libp2p/autonat",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "Implementation of Autonat Protocol",
|
|
5
5
|
"license": "Apache-2.0 OR MIT",
|
|
6
6
|
"homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/protocol-autonat#readme",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@libp2p/interface": "^3.0.0",
|
|
49
|
-
"@libp2p/interface-internal": "^3.0.
|
|
50
|
-
"@libp2p/peer-collections": "^7.0.
|
|
49
|
+
"@libp2p/interface-internal": "^3.0.2",
|
|
50
|
+
"@libp2p/peer-collections": "^7.0.2",
|
|
51
51
|
"@libp2p/peer-id": "^6.0.1",
|
|
52
|
-
"@libp2p/utils": "^7.0.
|
|
52
|
+
"@libp2p/utils": "^7.0.2",
|
|
53
53
|
"@multiformats/multiaddr": "^13.0.1",
|
|
54
54
|
"any-signal": "^4.1.1",
|
|
55
55
|
"main-event": "^1.0.1",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@libp2p/crypto": "^5.1.10",
|
|
62
|
-
"@libp2p/logger": "^6.0.
|
|
62
|
+
"@libp2p/logger": "^6.0.2",
|
|
63
63
|
"aegir": "^47.0.22",
|
|
64
64
|
"delay": "^6.0.0",
|
|
65
65
|
"it-all": "^3.0.9",
|
package/src/autonat.ts
CHANGED
|
@@ -271,7 +271,7 @@ export class AutoNATService implements Startable {
|
|
|
271
271
|
const peer = dialRequest.peer
|
|
272
272
|
|
|
273
273
|
if (peer?.id == null) {
|
|
274
|
-
this.log.error('
|
|
274
|
+
this.log.error('peerId missing from message')
|
|
275
275
|
|
|
276
276
|
return {
|
|
277
277
|
type: Message.MessageType.DIAL_RESPONSE,
|