From b593e3a32ce7203bd1c78f6613767531238efa6d Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Tue, 4 Jun 2024 18:58:08 +0200 Subject: [PATCH] fix(core): update --- ts/00_commitinfo_data.ts | 2 +- ts/index.ts | 5 +++++ ts/smartstream.classes.streamintake.ts | 2 +- ts_web/00_commitinfo_data.ts | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index c013a8a..3b8c307 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.43', + version: '3.0.44', description: 'A library to simplify the creation and manipulation of Node.js streams, providing utilities for handling transform, duplex, and readable/writable streams effectively in TypeScript.' } diff --git a/ts/index.ts b/ts/index.ts index c0c50ed..a740308 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -1,3 +1,8 @@ +import { stream } from './smartstream.plugins.js'; +export { + stream, +} + export * from './smartstream.classes.smartduplex.js'; export * from './smartstream.classes.streamwrapper.js'; export * from './smartstream.classes.streamintake.js'; diff --git a/ts/smartstream.classes.streamintake.ts b/ts/smartstream.classes.streamintake.ts index 84b9296..5f89898 100644 --- a/ts/smartstream.classes.streamintake.ts +++ b/ts/smartstream.classes.streamintake.ts @@ -2,7 +2,7 @@ import * as plugins from './smartstream.plugins.js'; export class StreamIntake extends plugins.stream.Readable { // STATIC - public static async fromStream(inputStream: plugins.stream.Readable | ReadableStream, options?: plugins.stream.ReadableOptions): StreamIntake { + public static async fromStream(inputStream: plugins.stream.Readable | ReadableStream, options?: plugins.stream.ReadableOptions): Promise> { const intakeStream = new StreamIntake(options); if (inputStream instanceof plugins.stream.Readable) { diff --git a/ts_web/00_commitinfo_data.ts b/ts_web/00_commitinfo_data.ts index c013a8a..3b8c307 100644 --- a/ts_web/00_commitinfo_data.ts +++ b/ts_web/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@push.rocks/smartstream', - version: '3.0.43', + version: '3.0.44', description: 'A library to simplify the creation and manipulation of Node.js streams, providing utilities for handling transform, duplex, and readable/writable streams effectively in TypeScript.' }