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

refract-redux-rxjs

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-rxjs - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

5

index.es.js

@@ -42,3 +42,4 @@ import { from, Observable } from 'rxjs';

var defaultOptions = {
eventsPrefix: '@@event/'
eventsPrefix: '@@event/',
methodName: 'observe'
};

@@ -74,3 +75,3 @@ function refractStoreEnhancer(options) {

};
store.observe = observeFactory(store);
store[opts.methodName] = observeFactory(store);
return store;

@@ -77,0 +78,0 @@ }; };

@@ -46,3 +46,4 @@ 'use strict';

var defaultOptions = {
eventsPrefix: '@@event/'
eventsPrefix: '@@event/',
methodName: 'observe'
};

@@ -78,3 +79,3 @@ function refractStoreEnhancer(options) {

};
store.observe = observeFactory(store);
store[opts.methodName] = observeFactory(store);
return store;

@@ -81,0 +82,0 @@ }; };

2

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

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

export interface EnhancerOptions {
eventsPrefix: string
methodName: string
}

@@ -4,0 +5,0 @@ export declare type ActionListener = (action: object) => void

import refractEnhancer from './refractEnhancer'
import { EnhancerOptions } from './baseTypes'
export { refractEnhancer, EnhancerOptions }
import { StoreObserveFunction } from './observable'
export { refractEnhancer, EnhancerOptions, StoreObserveFunction }
import { Observable } from 'rxjs'
import { Selector } from './baseTypes'
export interface ObserveFn {
export interface StoreObserveFunction {
<Type>(actionTypeOrListener: string | Selector<Type>): Observable<Type>
}
export declare const observeFactory: (store: any) => ObserveFn
export declare const observeFactory: (store: any) => StoreObserveFunction
import { StoreEnhancer, AnyAction, Action as ReduxAction } from 'redux'
import { ObserveFn } from './observable'
import { StoreObserveFunction } from './observable'
import { AddActionListener, EnhancerOptions } from './baseTypes'

@@ -7,3 +7,3 @@ declare module 'redux' {

addActionListener: AddActionListener
observe: ObserveFn
observe: StoreObserveFunction
}

@@ -10,0 +10,0 @@ }

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