From 753a4817650e1496adbb54eac9f15ee188451bc3 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Thu, 29 Feb 2024 12:15:00 +0100 Subject: [PATCH] fix(core): update --- ts/00_commitinfo_data.ts | 2 +- ts/smartstream.classes.smartduplex.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index ccdf10d..266e1af 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@push.rocks/smartstream', - version: '3.0.32', + version: '3.0.33', description: 'simplifies access to node streams' } diff --git a/ts/smartstream.classes.smartduplex.ts b/ts/smartstream.classes.smartduplex.ts index 5f52fa6..5fc3351 100644 --- a/ts/smartstream.classes.smartduplex.ts +++ b/ts/smartstream.classes.smartduplex.ts @@ -34,11 +34,11 @@ export interface ISmartDuplexOptions extends DuplexOptions { * it can push or return chunks (but does not have to) to be written to the readable side of the stream */ writeFunction?: IStreamWriteFunction; + /** - * a final function that is being sent to the end of the stream + * a final function that is run at the end of the stream */ finalFunction?: IStreamFinalFunction; - // Add other custom options if necessary } export class SmartDuplex extends Duplex {