fix(core): update

This commit is contained in:
Philipp Kunz 2024-06-03 10:27:07 +02:00
parent 3e062103f8
commit 824c44d165
3 changed files with 3 additions and 3 deletions

View File

@ -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.'
}

View File

@ -158,7 +158,7 @@ export class SmartDuplex<TInput = any, TOutput = any> 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) {

View File

@ -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.'
}