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