mirror of
https://github.com/fluencelabs/js-libp2p-noise
synced 2025-06-11 01:41:33 +00:00
Update stream type
This commit is contained in:
@ -3,7 +3,7 @@ import { Handshake } from "./handshake";
|
||||
import { Buffer } from "buffer";
|
||||
|
||||
interface ReturnEncryptionWrapper {
|
||||
(source: Iterable<Uint8Array>): any;
|
||||
(source: Iterable<Uint8Array>): AsyncIterableIterator<Uint8Array>;
|
||||
}
|
||||
|
||||
// Returns generator that encrypts payload from the user
|
||||
|
Reference in New Issue
Block a user