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

overmind

Package Overview
Dependencies
Maintainers
4
Versions
886
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

overmind - npm Package Compare versions

Comparing version 1.0.0-1532856848957 to 1.0.0-1532860086530

6

es/index.d.ts

@@ -89,3 +89,3 @@ import { EventEmitter } from 'betsy';

}
export declare type ActionsCallback<Effects, State> = (action: TAction<State, Effects & {
export declare type ActionsCallback<State, Effects> = (action: TAction<State, Effects & {
state: State;

@@ -104,3 +104,3 @@ }>) => any;

[namespace: string]: ReactionsCallback<State, any>;
}, Actions extends ActionsCallback<Effects, State> | {
}, Actions extends ActionsCallback<State, Effects> | {
[namespace: string]: ActionsCallback<{}, {}>;

@@ -111,3 +111,3 @@ }> {

devtools: Devtools;
actions: Actions extends ActionsCallback<Effects, State> ? ReturnType<Actions> : Actions extends {
actions: Actions extends ActionsCallback<State, Effects> ? ReturnType<Actions> : Actions extends {
[namespace: string]: ActionsCallback<{}, {}>;

@@ -114,0 +114,0 @@ } ? {

@@ -13,4 +13,4 @@ import * as React from 'react';

export default class ReactApp<State extends object, Providers extends object, Reactions extends ReactionsCallback<State, any>, Actions extends {
[namespace: string]: ActionsCallback<Providers, State>;
} | ActionsCallback<Providers, State>> extends App<State, Providers, Reactions, Actions> {
[namespace: string]: ActionsCallback<State, Providers>;
} | ActionsCallback<State, Providers>> extends App<State, Providers, Reactions, Actions> {
connect: <Props, ConnectedActions = Actions extends {

@@ -17,0 +17,0 @@ [namespace: string]: ActionsCallback<Providers, State>;

@@ -89,3 +89,3 @@ import { EventEmitter } from 'betsy';

}
export declare type ActionsCallback<Effects, State> = (action: TAction<State, Effects & {
export declare type ActionsCallback<State, Effects> = (action: TAction<State, Effects & {
state: State;

@@ -104,3 +104,3 @@ }>) => any;

[namespace: string]: ReactionsCallback<State, any>;
}, Actions extends ActionsCallback<Effects, State> | {
}, Actions extends ActionsCallback<State, Effects> | {
[namespace: string]: ActionsCallback<{}, {}>;

@@ -111,3 +111,3 @@ }> {

devtools: Devtools;
actions: Actions extends ActionsCallback<Effects, State> ? ReturnType<Actions> : Actions extends {
actions: Actions extends ActionsCallback<State, Effects> ? ReturnType<Actions> : Actions extends {
[namespace: string]: ActionsCallback<{}, {}>;

@@ -114,0 +114,0 @@ } ? {

@@ -13,4 +13,4 @@ import * as React from 'react';

export default class ReactApp<State extends object, Providers extends object, Reactions extends ReactionsCallback<State, any>, Actions extends {
[namespace: string]: ActionsCallback<Providers, State>;
} | ActionsCallback<Providers, State>> extends App<State, Providers, Reactions, Actions> {
[namespace: string]: ActionsCallback<State, Providers>;
} | ActionsCallback<State, Providers>> extends App<State, Providers, Reactions, Actions> {
connect: <Props, ConnectedActions = Actions extends {

@@ -17,0 +17,0 @@ [namespace: string]: ActionsCallback<Providers, State>;

{
"name": "overmind",
"version": "1.0.0-1532856848957",
"version": "1.0.0-1532860086530",
"description": "Functional actions",

@@ -41,6 +41,6 @@ "author": "Christian Alfoni <christianalfoni@gmail.com>",

"@types/node": "^10.5.1",
"action-chain": "1.0.0-1532856848957",
"action-chain": "1.0.0-1532860086530",
"is-plain-object": "^2.0.4",
"betsy": "1.0.0-1532856848957",
"proxy-state-tree": "1.0.0-1532856848957",
"betsy": "1.0.0-1532860086530",
"proxy-state-tree": "1.0.0-1532860086530",
"tslib": "^1.9.3"

@@ -47,0 +47,0 @@ },

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

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