@quenty/valuebaseutils 7.16.0 → 7.17.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
+ # [7.17.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/valuebaseutils@7.16.0...@quenty/valuebaseutils@7.17.0) (2023-07-15)
7
+
8
+
9
+ ### Features
10
+
11
+ * Support .Changed event o the ValueBaseValue ([641af67](https://github.com/Quenty/NevermoreEngine/commit/641af67239738f4d71f82f5f8d5e558f1b836b79))
12
+
13
+
14
+
15
+
16
+
6
17
  # [7.16.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/valuebaseutils@7.15.0...@quenty/valuebaseutils@7.16.0) (2023-07-10)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/valuebaseutils
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/valuebaseutils",
3
- "version": "7.16.0",
3
+ "version": "7.17.0",
4
4
  "description": "Provides utilities for working with valuesbase objects, like IntValue or ObjectValue in Roblox.",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -25,13 +25,14 @@
25
25
  "Quenty"
26
26
  ],
27
27
  "dependencies": {
28
- "@quenty/brio": "^8.14.0",
29
- "@quenty/instanceutils": "^7.16.0",
28
+ "@quenty/brio": "^8.15.0",
29
+ "@quenty/instanceutils": "^7.17.0",
30
30
  "@quenty/loader": "^6.2.1",
31
- "@quenty/promise": "^6.6.0"
31
+ "@quenty/promise": "^6.6.0",
32
+ "@quenty/rxsignal": "^1.1.0"
32
33
  },
33
34
  "publishConfig": {
34
35
  "access": "public"
35
36
  },
36
- "gitHead": "6c9093879c4547ca55a7b42842e35ad277cc0f08"
37
+ "gitHead": "af7a623f58fe7ec96b47c80e385b71f820fd4cb8"
37
38
  }
@@ -10,6 +10,7 @@ local RunService = game:GetService("RunService")
10
10
 
11
11
  local ValueBaseUtils = require("ValueBaseUtils")
12
12
  local RxValueBaseUtils = require("RxValueBaseUtils")
13
+ local RxSignal = require("RxSignal")
13
14
 
14
15
  local ValueBaseValue = {}
15
16
  ValueBaseValue.ClassName = "ValueBaseValue"
@@ -47,7 +48,7 @@ function ValueBaseValue:__index(index)
47
48
  if index == "Value" then
48
49
  return ValueBaseUtils.getValue(self._parent, self._className, self._name, self._defaultValue)
49
50
  elseif index == "Changed" then
50
- error("Changed is not implemented")
51
+ return RxSignal.new(self:Observe())
51
52
  elseif ValueBaseValue[index] or index == "_defaultValue" then
52
53
  return ValueBaseValue[index]
53
54
  else
@@ -63,5 +64,4 @@ function ValueBaseValue:__newindex(index, value)
63
64
  end
64
65
  end
65
66
 
66
-
67
67
  return ValueBaseValue