@quenty/attributeutils 14.6.0 → 14.7.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,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
+ # [14.7.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/attributeutils@14.6.0...@quenty/attributeutils@14.7.0) (2024-09-25)
7
+
8
+ **Note:** Version bump only for package @quenty/attributeutils
9
+
10
+
11
+
12
+
13
+
6
14
  # [14.6.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/attributeutils@14.5.0...@quenty/attributeutils@14.6.0) (2024-09-25)
7
15
 
8
16
  **Note:** Version bump only for package @quenty/attributeutils
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/attributeutils",
3
- "version": "14.6.0",
3
+ "version": "14.7.0",
4
4
  "description": "Provides utility functions to work with attributes in Roblox",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -25,17 +25,17 @@
25
25
  "Quenty"
26
26
  ],
27
27
  "dependencies": {
28
- "@quenty/brio": "^14.6.0",
29
- "@quenty/canceltoken": "^11.5.0",
28
+ "@quenty/brio": "^14.7.0",
29
+ "@quenty/canceltoken": "^11.6.0",
30
30
  "@quenty/loader": "^10.5.0",
31
31
  "@quenty/maid": "^3.3.0",
32
32
  "@quenty/promise": "^10.5.0",
33
- "@quenty/rx": "^13.6.0",
34
- "@quenty/rxsignal": "^7.6.0",
33
+ "@quenty/rx": "^13.7.0",
34
+ "@quenty/rxsignal": "^7.7.0",
35
35
  "@quenty/symbol": "^3.1.0"
36
36
  },
37
37
  "publishConfig": {
38
38
  "access": "public"
39
39
  },
40
- "gitHead": "41715b15e2b48b2d22ff4f5277a8d4b7a0d32ef3"
40
+ "gitHead": "9b17fe79cddd071f0f06a9d35184e76b44bd6fe6"
41
41
  }
@@ -26,7 +26,6 @@ function RxAttributeUtils.observeAttribute(instance, attributeName, defaultValue
26
26
  assert(type(attributeName) == "string", "Bad attributeName")
27
27
 
28
28
  return Observable.new(function(sub)
29
- local maid = Maid.new()
30
29
 
31
30
  local function handleAttributeChanged()
32
31
  local attributeValue = instance:GetAttribute(attributeName)
@@ -37,10 +36,10 @@ function RxAttributeUtils.observeAttribute(instance, attributeName, defaultValue
37
36
  end
38
37
  end
39
38
 
40
- maid:GiveTask(instance:GetAttributeChangedSignal(attributeName):Connect(handleAttributeChanged))
39
+ local connection = instance:GetAttributeChangedSignal(attributeName):Connect(handleAttributeChanged)
41
40
  handleAttributeChanged()
42
41
 
43
- return maid
42
+ return connection
44
43
  end)
45
44
  end
46
45