Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@equinor/fusion-observable

Package Overview
Dependencies
Maintainers
4
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@equinor/fusion-observable - npm Package Compare versions

Comparing version 8.0.1 to 8.0.2

2

dist/types/operators/filter-action.d.ts
import type { OperatorFunction } from 'rxjs';
import { Action, ActionType, ExtractAction } from '../types';
export declare const filterAction: <TAction extends Action<string>, TType extends string = ActionType<TAction>>(...types: TType[]) => OperatorFunction<TAction, Extract<TAction, Action<TType>>>;
export declare const filterAction: <TAction extends Action, TType extends string = ActionType<TAction>>(...types: TType[]) => OperatorFunction<TAction, ExtractAction<TAction, TType>>;
export default filterAction;
import { OperatorFunction } from 'rxjs';
import { Action, ActionType, ExtractAction } from '../types';
export declare const mapAction: <TAction extends Action<string>, TType extends ActionType<TAction>, TResult>(type: TType, fn: (value: Extract<TAction, Action<TType>>) => TResult) => OperatorFunction<Extract<TAction, Action<TType>>, TResult>;
export declare const mapAction: <TAction extends Action, TType extends ActionType<TAction>, TResult>(type: TType, fn: (value: ExtractAction<TAction, TType>) => TResult) => OperatorFunction<ExtractAction<TAction, TType>, TResult>;
import { OperatorFunction, ObservableInput } from 'rxjs';
import { Action, ActionType, ExtractAction } from '../types';
export declare const switchMapAction: <TAction extends Action<string>, TType extends ActionType<TAction>, TResult>(type: TType, fn: (value: Extract<TAction, Action<TType>>) => ObservableInput<TResult>) => OperatorFunction<TAction, TResult>;
export declare const switchMapAction: <TAction extends Action, TType extends ActionType<TAction>, TResult>(type: TType, fn: (value: ExtractAction<TAction, TType>) => ObservableInput<TResult>) => OperatorFunction<TAction, TResult>;
export default switchMapAction;
import { FlowSubject } from '../FlowSubject';
import type { Action, Reducer } from '../types';
export declare const useObservable: <S, A extends Action<string> = Action<string>>(reducer: Reducer<S, A>, initial: S) => FlowSubject<S, A>;
export declare const useObservable: <S, A extends Action = Action>(reducer: Reducer<S, A>, initial: S) => FlowSubject<S, A>;

@@ -9,3 +9,3 @@ import { FlowSubject } from '../FlowSubject';

}
export declare const useObservableEffect: <S, A extends Action<string> = Action<string>, TType extends ActionType<A> = ActionType<A>>(subject: FlowSubject<S, A>, effectOrType: TType | Effect<A, S>, effect?: Effect<Extract<A, Action<TType>>, S> | undefined) => void;
export declare const useObservableEffect: <S, A extends Action = Action, TType extends ActionType<A> = ActionType<A>>(subject: FlowSubject<S, A>, effectOrType: TType | Effect<A, S>, effect?: Effect<ExtractAction<A, TType>, S> | undefined) => void;
export default useObservableEffect;
import { FlowSubject } from '../FlowSubject';
import { Action, Epic } from '../types';
export declare const useObservableEpic: <S, A extends Action<string> = Action<string>>(subject: FlowSubject<S, A>, epic: Epic<A, S>) => void;
export declare const useObservableEpic: <S, A extends Action = Action>(subject: FlowSubject<S, A>, epic: Epic<A, S>) => void;
export default useObservableEpic;
{
"name": "@equinor/fusion-observable",
"version": "8.0.1",
"version": "8.0.2",
"description": "WIP",

@@ -61,3 +61,3 @@ "keywords": [

"react": "^17.0.2",
"typescript": "^4.9.3"
"typescript": "^5.0.4"
},

@@ -72,4 +72,3 @@ "peerDependencies": {

}
},
"gitHead": "4bb2b57a6b10b1805f3c1e428af237da669b1c26"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc