@quenty/throttle 10.3.0 → 10.4.0

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [10.4.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@10.3.0...@quenty/throttle@10.4.0) (2024-08-09)
7
+
8
+
9
+ ### Features
10
+
11
+ * Added __call metamethod to ThrottledFunction ([#484](https://github.com/Quenty/NevermoreEngine/issues/484)) ([b74baa6](https://github.com/Quenty/NevermoreEngine/commit/b74baa6ec5b85ed3f7ec33b2a487343b3e6b2726))
12
+
13
+
14
+
15
+
16
+
6
17
  # [10.3.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@10.2.0...@quenty/throttle@10.3.0) (2024-05-09)
7
18
 
8
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/throttle",
3
- "version": "10.3.0",
3
+ "version": "10.4.0",
4
4
  "description": "Adds the throttle function to Roblox",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -34,5 +34,5 @@
34
34
  "publishConfig": {
35
35
  "access": "public"
36
36
  },
37
- "gitHead": "3fd5cdca3128bf34c8d9dfae1e92d62533b6e6f5"
37
+ "gitHead": "ba466bdbc05c42fb607cf5e228c16339201d21d7"
38
38
  }
@@ -59,6 +59,8 @@ function ThrottledFunction:Call(...)
59
59
  end
60
60
  end
61
61
 
62
+ ThrottledFunction.__call = ThrottledFunction.Call
63
+
62
64
  function ThrottledFunction:_dispatch()
63
65
  self._nextCallTimeStamp = tick() + self._timeout
64
66