diff --git a/src/index.ts b/src/index.ts index f5d0e3a..3654258 100644 --- a/src/index.ts +++ b/src/index.ts @@ -58,7 +58,7 @@ export type NodeType = 'js' | 'go' export type PeerIdType = 'rsa' | 'ed25519' | 'secp256k1' export type PubSubRouter = 'gossipsub' | 'floodsub' export type Muxer = 'mplex' | 'yamux' -export type Encryption = 'noise' | 'tls' +export type Encryption = 'noise' | 'tls' | 'plaintext' export type TransportType = 'tcp' | 'webtransport' | 'webrtc-direct' export interface SpawnOptions { diff --git a/src/utils/test-matrix.ts b/src/utils/test-matrix.ts index 9d08fa3..825421b 100644 --- a/src/utils/test-matrix.ts +++ b/src/utils/test-matrix.ts @@ -8,7 +8,7 @@ export interface TestFunction { export function runTests (name: string, fn: TestFunction, factory: DaemonFactory): void { const keyTypes: PeerIdType[] = ['ed25519', 'rsa', 'secp256k1'] const impls: NodeType[] = ['js', 'go'] - const encrypters: Encryption[] = ['noise', 'tls'] + const encrypters: Encryption[] = ['noise', 'tls', 'plaintext'] const muxers: Muxer[] = ['mplex', 'yamux'] for (const keyType of keyTypes) {