@quenty/binder 9.1.1 → 9.2.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 +11 -0
- package/package.json +11 -11
- package/src/Shared/Binder.lua +3 -0
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
|
+
# [9.2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/binder@9.1.1...@quenty/binder@9.2.0) (2023-12-14)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* Check type call into :ObserveInstance ([f117ac5](https://github.com/Quenty/NevermoreEngine/commit/f117ac5fdbafd7728c99704eb62948193e6fe02b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [9.1.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/binder@9.1.0...@quenty/binder@9.1.1) (2023-10-28)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @quenty/binder
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/binder",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.2.0",
|
|
4
4
|
"description": "Utility object to Bind a class to Roblox object, and associated helper methods",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -25,19 +25,19 @@
|
|
|
25
25
|
"Quenty"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@quenty/baseobject": "^7.
|
|
29
|
-
"@quenty/brio": "^9.
|
|
30
|
-
"@quenty/instanceutils": "^8.
|
|
31
|
-
"@quenty/linkutils": "^8.
|
|
32
|
-
"@quenty/loader": "^7.
|
|
28
|
+
"@quenty/baseobject": "^7.1.0",
|
|
29
|
+
"@quenty/brio": "^9.2.0",
|
|
30
|
+
"@quenty/instanceutils": "^8.2.0",
|
|
31
|
+
"@quenty/linkutils": "^8.2.0",
|
|
32
|
+
"@quenty/loader": "^7.1.0",
|
|
33
33
|
"@quenty/maid": "^2.6.0",
|
|
34
|
-
"@quenty/promise": "^7.
|
|
35
|
-
"@quenty/rx": "^8.
|
|
36
|
-
"@quenty/signal": "^3.
|
|
37
|
-
"@quenty/valueobject": "^8.
|
|
34
|
+
"@quenty/promise": "^7.1.0",
|
|
35
|
+
"@quenty/rx": "^8.2.0",
|
|
36
|
+
"@quenty/signal": "^3.1.0",
|
|
37
|
+
"@quenty/valueobject": "^8.2.0"
|
|
38
38
|
},
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "2c2dbbc0cb2fbb46b4f3270c559c63890fe18b26"
|
|
43
43
|
}
|
package/src/Shared/Binder.lua
CHANGED
|
@@ -300,6 +300,9 @@ end
|
|
|
300
300
|
@return function -- Cleanup function
|
|
301
301
|
]=]
|
|
302
302
|
function Binder:ObserveInstance(inst, callback)
|
|
303
|
+
assert(typeof(inst) == "Instance", "Bad inst")
|
|
304
|
+
assert(type(callback) == "function", "Bad callback")
|
|
305
|
+
|
|
303
306
|
self._listeners[inst] = self._listeners[inst] or {}
|
|
304
307
|
self._listeners[inst][callback] = true
|
|
305
308
|
|