@quenty/attributeutils 14.17.2-canary.547.ba47c62.0 → 14.17.3-canary.550.afa1b3b.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,7 +3,15 @@
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.17.2-canary.547.ba47c62.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/attributeutils@14.17.0...@quenty/attributeutils@14.17.2-canary.547.ba47c62.0) (2025-04-07)
6
+ ## [14.17.3-canary.550.afa1b3b.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/attributeutils@14.17.2...@quenty/attributeutils@14.17.3-canary.550.afa1b3b.0) (2025-04-10)
7
+
8
+ **Note:** Version bump only for package @quenty/attributeutils
9
+
10
+
11
+
12
+
13
+
14
+ ## [14.17.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/attributeutils@14.17.0...@quenty/attributeutils@14.17.2) (2025-04-07)
7
15
 
8
16
 
9
17
  ### Bug Fixes
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2014-2024 James Onnen (Quenty)
3
+ Copyright (c) 2014-2025 James Onnen (Quenty)
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/attributeutils",
3
- "version": "14.17.2-canary.547.ba47c62.0",
3
+ "version": "14.17.3-canary.550.afa1b3b.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.17.2-canary.547.ba47c62.0",
29
- "@quenty/canceltoken": "11.11.3-canary.547.ba47c62.0",
30
- "@quenty/loader": "10.8.2-canary.547.ba47c62.0",
31
- "@quenty/maid": "3.4.2-canary.547.ba47c62.0",
32
- "@quenty/promise": "10.10.3-canary.547.ba47c62.0",
33
- "@quenty/rx": "13.17.2-canary.547.ba47c62.0",
34
- "@quenty/rxsignal": "7.17.2-canary.547.ba47c62.0",
35
- "@quenty/symbol": "3.4.2-canary.547.ba47c62.0"
28
+ "@quenty/brio": "14.17.3-canary.550.afa1b3b.0",
29
+ "@quenty/canceltoken": "11.11.4-canary.550.afa1b3b.0",
30
+ "@quenty/loader": "10.8.3-canary.550.afa1b3b.0",
31
+ "@quenty/maid": "3.4.3-canary.550.afa1b3b.0",
32
+ "@quenty/promise": "10.10.4-canary.550.afa1b3b.0",
33
+ "@quenty/rx": "13.17.3-canary.550.afa1b3b.0",
34
+ "@quenty/rxsignal": "7.17.3-canary.550.afa1b3b.0",
35
+ "@quenty/symbol": "3.4.2"
36
36
  },
37
37
  "publishConfig": {
38
38
  "access": "public"
39
39
  },
40
- "gitHead": "ba47c62e32170bf74377b0c658c60b84306dc294"
40
+ "gitHead": "afa1b3b99b862698c3ab46009497bd507150867c"
41
41
  }
@@ -32,14 +32,14 @@ export type AttributeValue<T> = typeof(setmetatable(
32
32
  {} :: {
33
33
  _object: Instance,
34
34
  _attributeName: string,
35
- _defaultValue: T?,
35
+ _defaultValue: T,
36
36
 
37
37
  -- Public
38
- Value: T?,
38
+ Value: T,
39
39
  AttributeName: string,
40
40
  Changed: RBXScriptSignal<(T)>,
41
41
  },
42
- AttributeValue
42
+ {} :: typeof({ __index = AttributeValue })
43
43
  ))
44
44
 
45
45
  --[=[
@@ -48,10 +48,10 @@ export type AttributeValue<T> = typeof(setmetatable(
48
48
 
49
49
  @param object Instance
50
50
  @param attributeName string
51
- @param defaultValue T?
51
+ @param defaultValue T
52
52
  @return AttributeValue<T>
53
53
  ]=]
54
- function AttributeValue.new<T>(object: Instance, attributeName: string, defaultValue: any?): AttributeValue<T>
54
+ function AttributeValue.new<T>(object: Instance, attributeName: string, defaultValue: T): AttributeValue<T>
55
55
  assert(typeof(object) == "Instance", "Bad object")
56
56
  assert(type(attributeName) == "string", "Bad attributeName")
57
57
 
@@ -85,7 +85,7 @@ end
85
85
  Observes an attribute on an instance.
86
86
  @return Observable<any>
87
87
  ]=]
88
- function AttributeValue.Observe<T>(self: AttributeValue<T>): _Observable.Observable<T?>
88
+ function AttributeValue.Observe<T>(self: AttributeValue<T>): _Observable.Observable<T>
89
89
  return RxAttributeUtils.observeAttribute(self._object, self._attributeName, rawget(self :: any, "_defaultValue"))
90
90
  end
91
91