Comparing version 0.3.0 to 0.4.0
{ | ||
"name": "patronum", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"description": "☄️ Effector utility library delivering modularity and convenience", | ||
@@ -53,4 +53,5 @@ "scripts": { | ||
"dependencies": { | ||
"effector-debounce": "^1.1.0" | ||
"effector-debounce": "^1.1.0", | ||
"effector-throttle": "^1.1.0" | ||
} | ||
} |
@@ -42,7 +42,7 @@ # effecto patronum ✨ | ||
## ⏺ Debounce | ||
## [🧁 Debounce](/debounce 'Documentation') | ||
```ts | ||
import { createEvent } from 'effector'; | ||
import { createDebounce } from 'patronum/debounce'; | ||
import { debounce } from 'patronum/debounce'; | ||
@@ -52,3 +52,3 @@ // You should call this event | ||
const target = createDebounce(trigger, 200); | ||
const target = debounce(trigger, 200); | ||
@@ -65,7 +65,7 @@ target.watch((payload) => console.info('debounced', payload)); | ||
## ⏺ Throttle | ||
## [🧁 Throttle](/throttle 'Documentation') | ||
```ts | ||
import { createEvent } from 'effector'; | ||
import { createThrottle } from 'patronum/throttle'; | ||
import { throttle } from 'patronum/throttle'; | ||
@@ -75,3 +75,3 @@ // You should call this event | ||
const target = createThrottle(trigger, 200); | ||
const target = throttle(trigger, 200); | ||
@@ -78,0 +78,0 @@ target.watch((payload) => console.info('throttled', payload)); |
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
14498
15
89
3
+ Addedeffector-throttle@^1.1.0
+ Addedeffector-throttle@1.1.0(transitive)