@push.rocks/smartstream 3.0.32 → 3.0.33

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.
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@push.rocks/smartstream',
6
- version: '3.0.32',
6
+ version: '3.0.33',
7
7
  description: 'simplifies access to node streams'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx5QkFBeUI7SUFDL0IsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLG1DQUFtQztDQUNqRCxDQUFBIn0=
@@ -31,7 +31,7 @@ export interface ISmartDuplexOptions<TInput, TOutput> extends DuplexOptions {
31
31
  */
32
32
  writeFunction?: IStreamWriteFunction<TInput, TOutput>;
33
33
  /**
34
- * a final function that is being sent to the end of the stream
34
+ * a final function that is run at the end of the stream
35
35
  */
36
36
  finalFunction?: IStreamFinalFunction<TOutput>;
37
37
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@push.rocks/smartstream",
3
- "version": "3.0.32",
3
+ "version": "3.0.33",
4
4
  "private": false,
5
5
  "description": "simplifies access to node streams",
6
6
  "main": "dist_ts/index.js",
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@push.rocks/smartstream',
6
- version: '3.0.32',
6
+ version: '3.0.33',
7
7
  description: 'simplifies access to node streams'
8
8
  }
@@ -34,11 +34,11 @@ export interface ISmartDuplexOptions<TInput, TOutput> extends DuplexOptions {
34
34
  * it can push or return chunks (but does not have to) to be written to the readable side of the stream
35
35
  */
36
36
  writeFunction?: IStreamWriteFunction<TInput, TOutput>;
37
+
37
38
  /**
38
- * a final function that is being sent to the end of the stream
39
+ * a final function that is run at the end of the stream
39
40
  */
40
41
  finalFunction?: IStreamFinalFunction<TOutput>;
41
- // Add other custom options if necessary
42
42
  }
43
43
 
44
44
  export class SmartDuplex<TInput = any, TOutput = any> extends Duplex {