redux-api-middleware
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "redux-api-middleware", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Redux middleware for calling an API.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -1,3 +0,3 @@ | ||
redux-api | ||
========= | ||
redux-api-middleware | ||
==================== | ||
@@ -56,3 +56,3 @@ [Redux middleware](http://rackt.github.io/redux/docs/advanced/Middleware.html) for calling an API. | ||
- be a plain JavaScript object, | ||
- have a `[CALL_API]` property, where `CALL_API` is a `Symbol` defined in, and exported by `redux-api`. | ||
- have a `[CALL_API]` property, where `CALL_API` is a `Symbol` defined in, and exported by `redux-api-middleware`. | ||
@@ -140,3 +140,3 @@ A *Redux Standard API-calling Action* MAY | ||
import { createStore, applyMiddleware, combineReducers } from 'redux'; | ||
import { apiMiddleware } from 'redux-api'; | ||
import { apiMiddleware } from 'redux-api-middleware'; | ||
import reducers from './reducers'; | ||
@@ -188,3 +188,3 @@ | ||
Aparts from the middleware above, `redux-api` exposes the following utility function. | ||
Apart from the middleware above, `redux-api-middleware` exposes the following utility function. | ||
@@ -195,2 +195,8 @@ ### isRSAA(action) | ||
## Installation | ||
``` | ||
npm install redux-api-middleware | ||
``` | ||
## Tests | ||
@@ -206,2 +212,2 @@ | ||
The code in this module is heavily based upon that in the [real-world](https://github.com/rackt/redux/blob/master/examples/real-world/middleware/api.js) example in the [redux](https://github.com/rackt/redux) repository, which I believe is due to [Dan Abramov](https://github.com/gaearon). Please correct me if I am wrong. | ||
The code in this module is *heavily* based upon that in the [real-world](https://github.com/rackt/redux/blob/master/examples/real-world/middleware/api.js) example in the [redux](https://github.com/rackt/redux) repository, which I believe is due to [Dan Abramov](https://github.com/gaearon). Please correct me if I am wrong. |
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
15493
209