@faasjs/react 0.0.4-beta.5 → 0.0.4-beta.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -201,7 +201,7 @@ ___
201
201
  | `debounce?` | `number` | send the last request after milliseconds |
202
202
  | `params?` | `FaasParams`<`PathOrData`\> | - |
203
203
  | `setData?` | `React.Dispatch`<`React.SetStateAction`<`FaasData`<`PathOrData`\>\>\> | - |
204
- | `skip?` | `boolean` | - |
204
+ | `skip?` | `boolean` \| (`params`: `FaasParams`<`PathOrData`\>) => `boolean` | if skip is true, will not send request |
205
205
 
206
206
  ## Functions
207
207
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faasjs/react",
3
- "version": "0.0.4-beta.5",
3
+ "version": "0.0.4-beta.7",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -22,7 +22,7 @@
22
22
  "dist"
23
23
  ],
24
24
  "dependencies": {
25
- "@faasjs/browser": "0.0.4-beta.5"
25
+ "@faasjs/browser": "0.0.4-beta.7"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "react": "*"