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

redux-api-middleware

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-api-middleware - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"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.
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