@quenty/valueobject 13.21.2 → 13.21.3
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 +3 -3
- package/src/Shared/ValueObject.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
|
+
## [13.21.3](https://github.com/Quenty/NevermoreEngine/compare/@quenty/valueobject@13.21.2...@quenty/valueobject@13.21.3) (2025-12-28)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @quenty/valueobject
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [13.21.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/valueobject@13.21.1...@quenty/valueobject@13.21.2) (2025-11-22)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @quenty/valueobject
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/valueobject",
|
|
3
|
-
"version": "13.21.
|
|
3
|
+
"version": "13.21.3",
|
|
4
4
|
"description": "To work like value objects in Roblox and track a single item with .Changed events",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
"@quenty/maid": "^3.5.0",
|
|
33
33
|
"@quenty/rx": "^13.20.0",
|
|
34
34
|
"@quenty/signal": "^7.11.1",
|
|
35
|
-
"@quenty/valuebaseutils": "^13.20.
|
|
35
|
+
"@quenty/valuebaseutils": "^13.20.3"
|
|
36
36
|
},
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "821c9336020dfbcf5cd2f67f2dfe61624233ee06"
|
|
41
41
|
}
|
|
@@ -276,7 +276,7 @@ function ValueObject.SetValue<T>(self: ValueObject<T>, value: T, ...)
|
|
|
276
276
|
|
|
277
277
|
return function()
|
|
278
278
|
if rawget(self :: any, "_value") == value then
|
|
279
|
-
ValueObject._applyValue(self, rawget(self :: any, "_default"))
|
|
279
|
+
ValueObject._applyValue(self, rawget(self :: any, "_default") :: any)
|
|
280
280
|
end
|
|
281
281
|
end
|
|
282
282
|
end
|
|
@@ -285,7 +285,7 @@ end
|
|
|
285
285
|
Gets the value and then the additional args from the last event
|
|
286
286
|
]=]
|
|
287
287
|
function ValueObject.GetValue<T>(self: ValueObject<T>): (T, ...any)
|
|
288
|
-
local value = rawget(self :: any, "_value")
|
|
288
|
+
local value: T = rawget(self :: any, "_value") :: any
|
|
289
289
|
local args = rawget(self :: any, "_lastEventContext")
|
|
290
290
|
|
|
291
291
|
if args then
|