@targoninc/jess-components 0.0.32 → 0.0.33

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/dist/index.js +5 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -748,7 +748,11 @@ var InputType;
748
748
 
749
749
  // src/src/Debounce.ts
750
750
  var debounceMap = {};
751
- function debounce(identifier, func, delay = 500) {
751
+ function debounce(identifier, func, delay = 0) {
752
+ if (!delay) {
753
+ func();
754
+ return;
755
+ }
752
756
  if (debounceMap[identifier]) {
753
757
  clearTimeout(debounceMap[identifier]);
754
758
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@targoninc/jess-components",
3
3
  "type": "module",
4
- "version": "0.0.32",
4
+ "version": "0.0.33",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "files": [