redux-observable
Advanced tools
Comparing version 0.9.1 to 0.10.0
@@ -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) |
@@ -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" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
35308
12
0
61
31