diff --git a/package.json b/package.json index a3d81645..b06bdbc8 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "zeed", "type": "module", - "version": "0.15.3", + "version": "0.15.4", "description": "🌱 Simple foundation library", "author": { "name": "Dirk Holtwick", diff --git a/src/common/msg/channel.ts b/src/common/msg/channel.ts index 7d9fbf2c..453f6a18 100644 --- a/src/common/msg/channel.ts +++ b/src/common/msg/channel.ts @@ -1,6 +1,6 @@ // (C)opyright 2021-07-15 Dirk Holtwick, holtwick.it. All rights reserved. -import { useDisposeWithUtils } from '..' +import { useDispose } from '../dispose-defer' import { uuid } from '../uuid' import { Emitter } from './emitter' @@ -30,7 +30,7 @@ export abstract class Channel extends Emitter<{ abstract isConnected?: boolean abstract postMessage(data: any): void - dispose = useDisposeWithUtils() + dispose = useDispose() /** @deprecated use .dispose() */ close() {