@quenty/binder 9.1.0 → 9.1.2-canary.433.80025dc.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,25 @@
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.1.2-canary.433.80025dc.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/binder@9.1.1...@quenty/binder@9.1.2-canary.433.80025dc.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
+
17
+ ## [9.1.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/binder@9.1.0...@quenty/binder@9.1.1) (2023-10-28)
18
+
19
+ **Note:** Version bump only for package @quenty/binder
20
+
21
+
22
+
23
+
24
+
6
25
  # [9.1.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/binder@9.0.0...@quenty/binder@9.1.0) (2023-10-18)
7
26
 
8
27
  **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.1.0",
3
+ "version": "9.1.2-canary.433.80025dc.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.0.0",
29
- "@quenty/brio": "^9.1.0",
30
- "@quenty/instanceutils": "^8.1.0",
31
- "@quenty/linkutils": "^8.1.0",
32
- "@quenty/loader": "^7.0.0",
33
- "@quenty/maid": "^2.6.0",
34
- "@quenty/promise": "^7.0.0",
35
- "@quenty/rx": "^8.1.0",
36
- "@quenty/signal": "^3.0.0",
37
- "@quenty/valueobject": "^8.1.0"
28
+ "@quenty/baseobject": "7.0.1-canary.433.80025dc.0",
29
+ "@quenty/brio": "9.1.2-canary.433.80025dc.0",
30
+ "@quenty/instanceutils": "8.1.2-canary.433.80025dc.0",
31
+ "@quenty/linkutils": "8.1.2-canary.433.80025dc.0",
32
+ "@quenty/loader": "7.0.1-canary.433.80025dc.0",
33
+ "@quenty/maid": "2.6.0",
34
+ "@quenty/promise": "7.0.1-canary.433.80025dc.0",
35
+ "@quenty/rx": "8.1.2-canary.433.80025dc.0",
36
+ "@quenty/signal": "3.0.1-canary.433.80025dc.0",
37
+ "@quenty/valueobject": "8.1.2-canary.433.80025dc.0"
38
38
  },
39
39
  "publishConfig": {
40
40
  "access": "public"
41
41
  },
42
- "gitHead": "ad451bee2ee34d9cad70ff72d0af360db1f91a34"
42
+ "gitHead": "80025dcd926765b502d322bb84e013b973409d8c"
43
43
  }
@@ -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