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

refract-redux-callbag

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

refract-redux-callbag - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

2

package.json
{
"name": "refract-redux-callbag",
"description": "Refract bindings for Redux with Callbag: harness the power of reactive programming to supercharge your components!",
"version": "1.2.0",
"version": "1.3.0",
"main": "index.js",

@@ -6,0 +6,0 @@ "jsnext:main": "index.es.js",

@@ -42,3 +42,3 @@ <p align="center">

* [Manage side effects](https://refract.js.org/) like API calls, analytics, logging, etc.
* [Manipulate, replace and inject props](https://refract.js.org/usage/pushing-props), you can even [fully replace Redux `connect` HoC](https://refract.js.org/recipes/replace-connect)
* [Manipulate, replace and inject props](https://refract.js.org/usage/pushing-to-props), you can even [fully replace Redux `connect` HoC](https://refract.js.org/recipes/replacing-connect)
* [Handle state](https://refract.js.org/recipes/handling-state)

@@ -45,0 +45,0 @@ * [Render components](https://refract.js.org/usage/rendering-components)

@@ -10,2 +10,2 @@ export interface EnhancerOptions {

) => UnsubscribeFn
export declare type Selector<T> = (state: object) => T
export declare type Selector<Type> = (state: object) => Type
import { Source } from 'callbag'
import { Selector } from './baseTypes'
export interface ObserveFn {
<T>(actionTypeOrListener: string | Selector<T>): Source<T>
<Type>(actionTypeOrListener: string | Selector<Type>): Source<Type>
}
export interface Listener<T> {
next: (val: T) => void
export interface Listener<Type> {
next: (val: Type) => void
error: (err: any) => void
complete: (val?: T) => void
complete: (val?: Type) => void
}
export declare const observeFactory: (store: any) => ObserveFn

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

import { StoreEnhancer, AnyAction, Action } from 'redux'
import { StoreEnhancer, AnyAction, Action as ReduxAction } from 'redux'
import { ObserveFn } from './observable'

@@ -11,4 +11,4 @@ import { AddActionListener, EnhancerOptions } from './baseTypes'

export default function refractStoreEnhancer<
S = any,
A extends Action<any> = AnyAction
State = any,
Action extends ReduxAction<any> = AnyAction
>(options?: Partial<EnhancerOptions>): StoreEnhancer
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