@quenty/steputils 3.4.0 → 3.4.1-canary.497.25c8512.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 +8 -0
- package/package.json +2 -2
- package/src/Shared/StepUtils.lua +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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
|
+
## [3.4.1-canary.497.25c8512.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/steputils@3.4.0...@quenty/steputils@3.4.1-canary.497.25c8512.0) (2024-09-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @quenty/steputils
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [3.4.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/steputils@3.3.0...@quenty/steputils@3.4.0) (2024-05-09)
|
|
7
15
|
|
|
8
16
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/steputils",
|
|
3
|
-
"version": "3.4.0",
|
|
3
|
+
"version": "3.4.1-canary.497.25c8512.0",
|
|
4
4
|
"description": "Binds animations into step, where the animation only runs as needed",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "25c85124769eb0c92ad4d4c51bc950d9c319c994"
|
|
31
31
|
}
|
package/src/Shared/StepUtils.lua
CHANGED
|
@@ -82,7 +82,7 @@ function StepUtils.bindToSignal(signal, update)
|
|
|
82
82
|
error("signal must be of type RBXScriptSignal")
|
|
83
83
|
end
|
|
84
84
|
if type(update) ~= "function" then
|
|
85
|
-
error(("update must be of type function, got %q"
|
|
85
|
+
error(string.format("update must be of type function, got %q", type(update)))
|
|
86
86
|
end
|
|
87
87
|
|
|
88
88
|
local conn = nil
|
|
@@ -135,7 +135,7 @@ function StepUtils.onceAtRenderPriority(priority, func)
|
|
|
135
135
|
assert(type(priority) == "number", "Bad priority")
|
|
136
136
|
assert(type(func) == "function", "Bad func")
|
|
137
137
|
|
|
138
|
-
local key = ("StepUtils.onceAtPriority_%s"
|
|
138
|
+
local key = string.format("StepUtils.onceAtPriority_%s", HttpService:GenerateGUID(false))
|
|
139
139
|
|
|
140
140
|
local function cleanup()
|
|
141
141
|
RunService:UnbindFromRenderStep(key)
|