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

redux-observable

Package Overview
Dependencies
Maintainers
2
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-observable - npm Package Compare versions

Comparing version 0.9.1 to 0.10.0

README.md

11

CHANGELOG.md

@@ -0,1 +1,12 @@

<a name="0.10.0"></a>
# [0.10.0](https://github.com/redux-observable/redux-observable/compare/v0.9.1...v0.10.0) (2016-09-11)
### BREAKING CHANGE (maybe)
* **typings:** TypeScript users: Added generics to createEpicMiddleware so developer defines what redux Actions look like ([#105](https://github.com/redux-observable/redux-observable/issues/105)) ([7b4214f](https://github.com/redux-observable/redux-observable/commit/7b4214f)). Previously, the behavior was rather restrictive so while it's unlikely going to break anyone's code, it technically is a breaking change.
<a name="0.9.1"></a>

@@ -2,0 +13,0 @@ ## [0.9.1](https://github.com/redux-observable/redux-observable/compare/v0.9.0...v0.9.1) (2016-08-17)

22

index.d.ts

@@ -1,21 +0,21 @@

import { Middleware, MiddlewareAPI, Action } from 'redux';
import { Middleware, MiddlewareAPI } from 'redux';
import { Observable } from 'rxjs/Observable';
import { Operator } from 'rxjs/Operator';
export declare class ActionsObservable extends Observable<Action> {
constructor(actionsSubject: Observable<Action>);
lift(operator: Operator<any, Action>) : ActionsObservable;
ofType(...key: any[]) : ActionsObservable;
export declare class ActionsObservable<T> extends Observable<T> {
constructor(input$: Observable<T>);
lift(operator: Operator<any, T>) : ActionsObservable<T>;
ofType(...key: any[]) : ActionsObservable<T>;
}
export declare interface Epic {
(action$: ActionsObservable, store: MiddlewareAPI<any>): Observable<Action>;
export declare interface Epic<T> {
(action$: ActionsObservable<T>, store: MiddlewareAPI<any>): Observable<T>;
}
export interface EpicMiddleware extends Middleware {
replaceEpic(nextEpic: Epic): void;
export interface EpicMiddleware<T> extends Middleware {
replaceEpic(nextEpic: Epic<T>): void;
}
export declare function createEpicMiddleware(rootEpic: Epic): EpicMiddleware;
export declare function createEpicMiddleware<T>(rootEpic: Epic<T>): EpicMiddleware<T>;
export declare function combineEpics(...epics: Epic[]): Epic;
export declare function combineEpics<T>(...epics: Epic<T>[]): Epic<T>;
{
"name": "redux-observable",
"version": "0.9.1",
"version": "0.10.0",
"description": "RxJS based middleware for Redux. Compose and cancel async actions and more.",

@@ -16,4 +16,4 @@ "main": "lib/index.js",

"test": "npm run lint && npm run build && npm run build:tests && mocha temp && npm run test:typings",
"test:typings": "tsc test/typings.ts --outFile temp/typings.js --target ES2015 --moduleResolution node",
"shipit": "npm run clean && npm run lint && npm test && scripts/preprepublish.sh && npm publish",
"test:typings": "typings install && tsc index.d.ts typings/index.d.ts test/typings.ts --outDir temp --target ES5 --moduleResolution node && cd temp && node typings.js",
"shipit": "npm run clean && npm run build && npm run lint && npm test && scripts/preprepublish.sh && npm publish",
"docs:clean": "rimraf _book",

@@ -87,3 +87,3 @@ "docs:prepare": "gitbook install",

"gitbook-plugin-github": "2.0.0",
"gitbook-plugin-prism": "1.0.0",
"gitbook-plugin-prism": "1.1.0",
"gitbook-plugin-theme-default": "1.0.5",

@@ -98,2 +98,3 @@ "json-server": "^0.8.17",

"typescript": "^1.8.10",
"typings": "1.3.3",
"webpack": "^1.13.1",

@@ -100,0 +101,0 @@ "webpack-rxjs-externals": "~0.0.3"

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