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.2.0 to 8.3.0

8

dist/esm/FlowSubject.js

@@ -41,5 +41,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {

addEffect(actionTypeOrFn, fn) {
const action$ = typeof actionTypeOrFn === 'string'
? this.action$.pipe(filterAction(actionTypeOrFn))
: this.action$;
const action$ = typeof actionTypeOrFn === 'function'
? this.action$
: Array.isArray(actionTypeOrFn)
? this.action$.pipe(filterAction(...actionTypeOrFn))
: this.action$.pipe(filterAction(actionTypeOrFn));
const mapper = (fn ? fn : actionTypeOrFn);

@@ -46,0 +48,0 @@ return action$

@@ -1,2 +0,2 @@

export const version = '8.2.0';
export const version = '8.3.0';
//# sourceMappingURL=version.js.map

@@ -8,11 +8,11 @@ import { Reducer } from 'react';

#private;
reset: VoidFunction;
get action$(): Observable<A>;
get value(): S;
get closed(): boolean;
constructor(reducer: ReducerWithInitialState<S, A>);
constructor(reducer: Reducer<S, A>, initialState: S);
constructor(reducer: ReducerWithInitialState<S, A> | Reducer<S, A>, initialState?: S);
reset: VoidFunction;
next(action: A): void;
addEffect(fn: Effect<A, S>): Subscription;
addEffect<TType extends ActionType<A>>(actionType: TType, cb: Effect<ExtractAction<A, TType>, S>): Subscription;
addEffect<TType extends ActionType<A>>(actionType: TType, cb: Effect<ExtractAction<A, NoInfer<TType>>, S>): Subscription;
addEffect<TType extends ActionType<A>>(actionType: Array<TType>, cb: Effect<ExtractAction<A, NoInfer<TType>>, S>): Subscription;
addEpic(fn: Flow<A, S>): Subscription;

@@ -19,0 +19,0 @@ addFlow(fn: Flow<A, S>): Subscription;

@@ -1,1 +0,1 @@

export declare const version = "8.2.0";
export declare const version = "8.3.0";
{
"name": "@equinor/fusion-observable",
"version": "8.2.0",
"version": "8.3.0",
"description": "WIP",

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

"@types/uuid": "^9.0.8",
"happy-dom": "^13.3.8",
"happy-dom": "^14.7.1",
"react": "^18.2.0",

@@ -69,0 +69,0 @@ "typescript": "^5.4.2",

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