libp2p 1.9.4-5214dec4a → 1.9.4-81ebe4e47

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.
@@ -60,7 +60,7 @@ export class ConnectionMonitor {
60
60
  });
61
61
  }
62
62
  catch (err) {
63
- if (err.code !== 'ERR_UNSUPPORTED_PROTOCOL') {
63
+ if (err.name !== 'UnsupportedProtocolError') {
64
64
  throw err;
65
65
  }
66
66
  // protocol was unsupported, but that's ok as it means the remote
@@ -1,3 +1,3 @@
1
- export declare const version = "1.9.4-5214dec4a";
1
+ export declare const version = "1.9.4-81ebe4e47";
2
2
  export declare const name = "libp2p";
3
3
  //# sourceMappingURL=version.d.ts.map
@@ -1,3 +1,3 @@
1
- export const version = '1.9.4-5214dec4a';
1
+ export const version = '1.9.4-81ebe4e47';
2
2
  export const name = 'libp2p';
3
3
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "libp2p",
3
- "version": "1.9.4-5214dec4a",
3
+ "version": "1.9.4-81ebe4e47",
4
4
  "description": "JavaScript implementation of libp2p, a modular peer to peer network stack",
5
5
  "license": "Apache-2.0 OR MIT",
6
6
  "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/libp2p#readme",
@@ -85,15 +85,15 @@
85
85
  "test:webkit": "aegir test -t browser -f \"./dist/test/**/*.spec.js\" -- --browser webkit"
86
86
  },
87
87
  "dependencies": {
88
- "@libp2p/crypto": "4.1.9-5214dec4a",
89
- "@libp2p/interface": "1.7.0-5214dec4a",
90
- "@libp2p/interface-internal": "1.3.4-5214dec4a",
91
- "@libp2p/logger": "4.0.20-5214dec4a",
92
- "@libp2p/multistream-select": "5.1.17-5214dec4a",
93
- "@libp2p/peer-collections": "5.2.9-5214dec4a",
94
- "@libp2p/peer-id": "4.2.4-5214dec4a",
95
- "@libp2p/peer-store": "10.1.5-5214dec4a",
96
- "@libp2p/utils": "5.4.9-5214dec4a",
88
+ "@libp2p/crypto": "4.1.9-81ebe4e47",
89
+ "@libp2p/interface": "1.7.0-81ebe4e47",
90
+ "@libp2p/interface-internal": "1.3.4-81ebe4e47",
91
+ "@libp2p/logger": "4.0.20-81ebe4e47",
92
+ "@libp2p/multistream-select": "5.1.17-81ebe4e47",
93
+ "@libp2p/peer-collections": "5.2.9-81ebe4e47",
94
+ "@libp2p/peer-id": "4.2.4-81ebe4e47",
95
+ "@libp2p/peer-store": "10.1.5-81ebe4e47",
96
+ "@libp2p/utils": "5.4.9-81ebe4e47",
97
97
  "@multiformats/dns": "^1.0.6",
98
98
  "@multiformats/multiaddr": "^12.2.3",
99
99
  "@multiformats/multiaddr-matcher": "^1.2.1",
@@ -114,13 +114,13 @@
114
114
  },
115
115
  "devDependencies": {
116
116
  "@chainsafe/libp2p-yamux": "^6.0.2",
117
- "@libp2p/circuit-relay-v2": "1.1.5-5214dec4a",
118
- "@libp2p/identify": "2.1.5-5214dec4a",
119
- "@libp2p/interface-compliance-tests": "5.4.12-5214dec4a",
120
- "@libp2p/mplex": "10.1.5-5214dec4a",
121
- "@libp2p/plaintext": "1.1.6-5214dec4a",
122
- "@libp2p/tcp": "9.1.6-5214dec4a",
123
- "@libp2p/websockets": "8.2.0-5214dec4a",
117
+ "@libp2p/circuit-relay-v2": "1.1.5-81ebe4e47",
118
+ "@libp2p/identify": "2.1.5-81ebe4e47",
119
+ "@libp2p/interface-compliance-tests": "5.4.12-81ebe4e47",
120
+ "@libp2p/mplex": "10.1.5-81ebe4e47",
121
+ "@libp2p/plaintext": "1.1.6-81ebe4e47",
122
+ "@libp2p/tcp": "9.1.6-81ebe4e47",
123
+ "@libp2p/websockets": "8.2.0-81ebe4e47",
124
124
  "@multiformats/mafmt": "^12.1.6",
125
125
  "aegir": "^44.0.1",
126
126
  "delay": "^6.0.0",
@@ -119,7 +119,7 @@ export class ConnectionMonitor implements Startable {
119
119
  signal
120
120
  })
121
121
  } catch (err: any) {
122
- if (err.code !== 'ERR_UNSUPPORTED_PROTOCOL') {
122
+ if (err.name !== 'UnsupportedProtocolError') {
123
123
  throw err
124
124
  }
125
125
 
package/src/version.ts CHANGED
@@ -1,2 +1,2 @@
1
- export const version = '1.9.4-5214dec4a'
1
+ export const version = '1.9.4-81ebe4e47'
2
2
  export const name = 'libp2p'