@libp2p/interface 2.8.0 → 2.9.0
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.
|
@@ -10,6 +10,13 @@ import type { Uint8ArrayList } from 'uint8arraylist';
|
|
|
10
10
|
*/
|
|
11
11
|
export interface SecureConnectionOptions extends AbortOptions {
|
|
12
12
|
remotePeer?: PeerId;
|
|
13
|
+
/**
|
|
14
|
+
* Some encryption protocols allow negotiating application protocols as part
|
|
15
|
+
* of the initial handshake. The negotiated stream muxer protocol will be
|
|
16
|
+
* included as part of the from the `secureOutbound`/`secureInbound` methods
|
|
17
|
+
* unless `false` is passed here.
|
|
18
|
+
*/
|
|
19
|
+
skipStreamMuxerNegotiation?: boolean;
|
|
13
20
|
}
|
|
14
21
|
/**
|
|
15
22
|
* A libp2p connection encrypter module must be compliant to this interface
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connection-encrypter.d.ts","sourceRoot":"","sources":["../../src/connection-encrypter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAClE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAC7C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD;;;;GAIG;AACH,MAAM,WAAW,uBAAwB,SAAQ,YAAY;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"connection-encrypter.d.ts","sourceRoot":"","sources":["../../src/connection-encrypter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,kBAAkB,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|
|
11
11
|
*/
|
|
12
12
|
export interface SecureConnectionOptions extends AbortOptions {
|
|
13
13
|
remotePeer?: PeerId
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Some encryption protocols allow negotiating application protocols as part
|
|
17
|
+
* of the initial handshake. The negotiated stream muxer protocol will be
|
|
18
|
+
* included as part of the from the `secureOutbound`/`secureInbound` methods
|
|
19
|
+
* unless `false` is passed here.
|
|
20
|
+
*/
|
|
21
|
+
skipStreamMuxerNegotiation?: boolean
|
|
14
22
|
}
|
|
15
23
|
|
|
16
24
|
/**
|