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

redux-supermodel

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-supermodel - npm Package Compare versions

Comparing version 0.8.0 to 0.9.0

4

dist/actionCreators.js

@@ -77,3 +77,3 @@ 'use strict';

if (urlRoot) {
const part = typeof urlRoot === 'function' && urlRoot.call(definition, method) || urlRoot;
const part = typeof urlRoot === 'function' && urlRoot.call(definition, { data: data, method: method }) || urlRoot;
const id = data[idAttribute || 'id'];

@@ -88,3 +88,3 @@

const part = typeof url === 'function' && url.call(definition, method) || url;
const part = typeof url === 'function' && url.call(definition, { data: data, method: method }) || url;
return urlAppend(baseUrl, part);

@@ -91,0 +91,0 @@ }

{
"name": "redux-supermodel",
"version": "0.8.0",
"version": "0.9.0",
"description": "A package of action creator functions and reducers that deal with the state management of REST-like APIs for you... all you need is a URL!",

@@ -5,0 +5,0 @@ "repository": "https://github.com/MrLeebo/redux-supermodel",

@@ -75,3 +75,3 @@ # redux-supermodel

```
npm install --save redux-supermodel
npm install --save redux-supermodel redux-promise-middleware
```

@@ -81,8 +81,2 @@

```
npm install --save redux-promise-middleware
```
Add the `redux-promise-middleware` middleware and `redux-supermodel` reducers to your Redux Store:
```js

@@ -89,0 +83,0 @@ // store.js

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