hc-redux-middleware
Advanced tools
Comparing version 1.0.1 to 1.0.2
17
index.js
@@ -42,12 +42,13 @@ import axios from 'axios' | ||
sendRequest = meta.then ? sendRequest.then(meta.then) : sendRequest | ||
const newAction = { | ||
...action, | ||
payload: sendRequest, | ||
meta: { | ||
...meta, | ||
isHc: false | ||
} | ||
} | ||
const newAction = Object.assign({}, | ||
action, | ||
{ | ||
payload: sendRequest | ||
}, | ||
{ | ||
meta: Object.assign({}, meta, { isHc: false }) | ||
} | ||
) | ||
return next(newAction) | ||
} | ||
} |
{ | ||
"name": "hc-redux-middleware", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "a few methods of redux middleware for holochain UI apps", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# hc-redux-middleware | ||
a few methods of redux middleware for holochain UI apps | ||
To install: `npm install --save hc-redux-middleware` | ||
To use: | ||
@@ -5,0 +7,0 @@ |
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
43377
49
159