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

brookjs-eddy

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brookjs-eddy - npm Package Compare versions

Comparing version 1.0.0-beta.0 to 1.0.0-beta.2

8

dist/eddy.d.ts

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

import { StoreCreator as ReduxStoreCreator, Reducer, StoreEnhancer, Store, Action, DeepPartial } from 'redux';
import { StoreCreator as ReduxStoreCreator, Reducer, StoreEnhancer, Store, Action, PreloadedState } from 'redux';
import { Delta } from 'brookjs-types';

@@ -16,4 +16,4 @@ declare const $$loop: unique symbol;

declare type HandleCmd<A extends Action> = (cmd: A) => void;
export declare const upgradeReducer: <L, A extends Action<any>, R extends (...args: any[]) => L | Result<L, A>>(reducer: R, handleCmd: HandleCmd<A>) => (...args: Parameters<R>) => L;
export declare const eddy: () => (createStore: ReduxStoreCreator) => <S, A extends Action<any>, Ext, StateExt>(reducer: Reducer<S, A> | ((state: S | undefined, action: A) => S | Result<S, A>) | ((state: S, action: A) => S | Result<S, A>), state?: DeepPartial<S> | StoreEnhancer<Ext, StateExt> | undefined, enhancer?: StoreEnhancer<Ext, StateExt> | undefined) => Store<S & StateExt, A> & Ext;
export declare const upgradeReducer: <L, A extends Action<any>>(reducer: (...args: any[]) => L | Result<L, A>, handleCmd: HandleCmd<A>) => (...args: any[]) => L;
export declare const eddy: () => (createStore: ReduxStoreCreator) => <S, A extends Action<any>, Ext, StateExt>(reducer: Reducer<S, A> | ((state: S | undefined, action: A) => S | Result<S, A>) | ((state: S, action: A) => S | Result<S, A>), state?: PreloadedState<S> | StoreEnhancer<Ext, StateExt> | undefined, enhancer?: StoreEnhancer<Ext, StateExt> | undefined) => Store<S & StateExt, A> & Ext;
declare type ReducerMapObject<S, A extends Action> = {

@@ -26,3 +26,3 @@ [K in keyof S]: EddyReducer<S[K], A>;

export declare const combineReducers: <S, A extends Action<any>>(reducerMap: ReducerMapObject<S, A>) => LiftedLoopReducer<S, A>;
export declare const createStore: <S, A extends Action<string>>(reducer: EddyReducer<S, A>, initialState: S | undefined, delta: Delta<A, S>) => Store<S, A>;
export declare const createStore: <S, A extends Action<string>>(reducer: EddyReducer<S, A>, initialState: PreloadedState<S> | undefined, delta: Delta<A, S>) => Store<S, A>;
export {};
{
"name": "brookjs-eddy",
"version": "1.0.0-beta.0",
"version": "1.0.0-beta.2",
"description": "reactive programming tools for well-structured, testable applications",

@@ -30,3 +30,3 @@ "main": "dist/brookjs-eddy.cjs.js",

},
"gitHead": "8ce4d20fe18beb6bab5ee900584c4e58b2bae550"
"gitHead": "88326a65987eb57d05eeae297ffe84b8fc391cdc"
}
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