@1inch/ng-utils
Advanced tools
Comparing version 1.0.5 to 1.1.0
@@ -19,5 +19,6 @@ import { Observable } from 'rxjs'; | ||
} | ||
export interface IStreamEffectOptions { | ||
export interface IStreamEffectOptions<P = unknown> { | ||
name: string; | ||
autoSubscribeEffect?: boolean; | ||
callSource$?: Observable<P>; | ||
} | ||
@@ -24,0 +25,0 @@ export interface IStreamEffectControllerNoCall<V, E = Error> { |
@@ -26,3 +26,3 @@ import { Observable, Subject } from 'rxjs'; | ||
protected innerIsPause: boolean; | ||
protected constructor(streamEffectFactory: (action: Observable<P>) => Observable<V>, logger: ILogger, options: IStreamEffectOptions); | ||
protected constructor(streamEffectFactory: (action: Observable<P>) => Observable<V>, logger: ILogger, options: IStreamEffectOptions<P>); | ||
protected init(): void; | ||
@@ -54,3 +54,3 @@ protected buildEvent<Payload>(type: EffectEventType): Observable<IStreamEffectEvent<Payload>>; | ||
get resetComplete$(): Observable<void>; | ||
constructor(streamEffectFactory: (action: Observable<P>) => Observable<V>, logger: ILogger, options: IStreamEffectOptions); | ||
constructor(streamEffectFactory: (action: Observable<P>) => Observable<V>, logger: ILogger, options: IStreamEffectOptions<P>); | ||
init(): void; | ||
@@ -57,0 +57,0 @@ call(payload: P): void; |
{ | ||
"name": "@1inch/ng-utils", | ||
"version": "1.0.5", | ||
"version": "1.1.0", | ||
"author": "Denis Kotsiuba <kocubads96@gmail.com, d.kotsiuba@1inch.io> https://github.com/DKotsyuba", | ||
@@ -5,0 +5,0 @@ "description": "Angular reactive utils library", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
271251
2142