From 824c44d165561978f167b3c408d01547ea02cc53 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Mon, 3 Jun 2024 10:27:07 +0200 Subject: [PATCH] fix(core): update --- ts/00_commitinfo_data.ts | 2 +- ts/smartstream.classes.smartduplex.ts | 2 +- ts_web/00_commitinfo_data.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 76649a8..8ae4d38 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.40', + version: '3.0.41', 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/smartstream.classes.smartduplex.ts b/ts/smartstream.classes.smartduplex.ts index ae9b629..49467ac 100644 --- a/ts/smartstream.classes.smartduplex.ts +++ b/ts/smartstream.classes.smartduplex.ts @@ -158,7 +158,7 @@ export class SmartDuplex extends Duplex { callback(); } - public getWebStreams(): { readable: ReadableStream, writable: WritableStream } { + public async getWebStreams(): Promise<{ readable: ReadableStream, writable: WritableStream }> { const duplex = this; const readable = new ReadableStream({ start(controller) { diff --git a/ts_web/00_commitinfo_data.ts b/ts_web/00_commitinfo_data.ts index 76649a8..8ae4d38 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.40', + version: '3.0.41', 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.' }