Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "redux-nl", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "A GraphQL inspired rest client side network layer", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -27,3 +27,3 @@ <p align="center"> | ||
``` | ||
```sh | ||
npm install redux-nl | ||
@@ -36,3 +36,3 @@ ``` | ||
``` | ||
```js | ||
import ReduxNLSaga from "redux-nl"; | ||
@@ -51,3 +51,3 @@ import { spawn } from "redux-saga"; | ||
``` | ||
```js | ||
import { ActionReducer } from "../libs/redux-nl"; | ||
@@ -62,3 +62,3 @@ | ||
``` | ||
```js | ||
const store = createStore(rootReducer, middleware); | ||
@@ -83,3 +83,3 @@ | ||
``` | ||
```js | ||
ReduxNL.post("/user/brands/{slug}", { | ||
@@ -104,3 +104,3 @@ payload: { slug }, | ||
``` | ||
```js | ||
const CreateBrandResponse = ReduxNL.response.type.post("/user/brands/{slug}"); | ||
@@ -120,3 +120,3 @@ const InitialState = { | ||
``` | ||
```js | ||
const CreateBrandResponse = ReduxNL.response.type.post("/user/brands/{slug}") -> CREATE_USER_BRANDS_SLUG_RESPONSE | ||
@@ -147,3 +147,5 @@ const UpdateBrandResponse = ReduxNL.response.type.patch("/user/brands/{slug}") -> UPDATE_USER_BRANDS_SLUG_RESPONSE | ||
``` | ||
```js | ||
// example-api.js | ||
export default [ | ||
@@ -150,0 +152,0 @@ { path: "/auth/login", method: "POST" }, |
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
32736
169