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

app-redux-utils

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

app-redux-utils - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

4

CHANGELOG.md
# Changelog
### 1.4.1
* fix type for watcher();
### 1.4.0
* add integration with cheap-di;

8

dist/controller/Watcher.d.ts

@@ -5,10 +5,10 @@ import { Store } from 'redux';

import { ControllerBase } from './ControllerBase';
declare type Watcher<TState, TController extends Controller> = {
declare type Watcher<State, TController extends Controller> = {
has: (actionType: string) => boolean;
get: (actionType: string) => (keyof TController) | undefined;
instance: (reduxStore: Store<TState, Action>) => ControllerBase<TState>;
type: new (reduxStore: Store<TState, Action>) => ControllerBase<TState>;
instance: (reduxStore: Store<State, Action>) => ControllerBase<State>;
type: new (reduxStore: Store<State, Action>, ...args: any[]) => ControllerBase<State>;
};
declare function watcher<TState, TController extends Controller>(Controller: new (reduxStore: Store<TState, Action>) => ControllerBase<TState>, watchList: [string, keyof TController][]): Watcher<TState, TController>;
declare function watcher<State, TController extends Controller>(Controller: new (reduxStore: Store<State, Action>, ...args: any[]) => ControllerBase<State>, watchList: [string, keyof TController][]): Watcher<State, TController>;
export { watcher };
export type { Watcher };
{
"name": "app-redux-utils",
"version": "1.4.0",
"version": "1.4.1",
"description": "Helpful utils for redux",

@@ -5,0 +5,0 @@ "contributors": [

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