Comparing version 0.0.1 to 0.0.2
@@ -5,3 +5,3 @@ import { merge } from 'rxjs'; | ||
const subscription = merge(...epics.map((epic) => epic(action$, params).pipe(tap((action) => { | ||
if (action.type === undefined) { | ||
if (typeof action !== 'object' || action.type === undefined) { | ||
// eslint-disable-next-line no-console | ||
@@ -8,0 +8,0 @@ console.error(action, 'is not an action and was returned from', epic); |
export * from './control'; | ||
export * from './operators'; | ||
export * from './types/ActionLike'; | ||
export * from './types/epic'; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "epix", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Epics without redux-observable", | ||
@@ -13,14 +13,21 @@ "type": "module", | ||
"private": false, | ||
"keywords": ["redux-observable", "epic", "epics", "rxjs", "reactive"], | ||
"keywords": [ | ||
"redux-observable", | ||
"epic", | ||
"epics", | ||
"rxjs", | ||
"reactive" | ||
], | ||
"scripts": { | ||
"build": "tsc", | ||
"lint": "eslint --ext=tsx,ts src" | ||
"lint": "eslint --ext=tsx,ts src", | ||
"prepublish": "npm run build" | ||
}, | ||
"devDependencies": { | ||
"@typescript-eslint/eslint-plugin": "^2.20.0", | ||
"@typescript-eslint/parser": "^2.20.0", | ||
"@typescript-eslint/eslint-plugin": "^3.6.1", | ||
"@typescript-eslint/parser": "^3.6.1", | ||
"eslint": "^6.8.0", | ||
"eslint-config-getkey": "^0.1.0", | ||
"husky": "^4.2.3", | ||
"typescript": "^3.8.2" | ||
"eslint-config-getkey": "^0.1.2", | ||
"husky": "^4.2.5", | ||
"typescript": "^3.9.7" | ||
}, | ||
@@ -27,0 +34,0 @@ "peerDependencies": { |
# Epix | ||
![npm](https://img.shields.io/npm/v/epix) | ||
Epics without [redux-observable](https://redux-observable.js.org/). | ||
@@ -12,3 +14,3 @@ | ||
```sh | ||
npm install epix | ||
yarn add epix | ||
``` | ||
@@ -19,3 +21,3 @@ | ||
```sh | ||
yarn add epix | ||
npm install epix | ||
``` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
21846
44
22