@quenty/binder 14.25.5 → 14.25.6-canary.85c8052.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 +14 -14
- package/src/Shared/Binder.lua +4 -4
- package/src/Shared/BinderProvider.lua +1 -1
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
|
+
## [14.25.6-canary.85c8052.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/binder@14.25.5...@quenty/binder@14.25.6-canary.85c8052.0) (2025-12-30)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Fix dependencies missing in packages ([97bd47d](https://github.com/Quenty/NevermoreEngine/commit/97bd47d341017152f91a28d8444252d20a8de9fa))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [14.25.5](https://github.com/Quenty/NevermoreEngine/compare/@quenty/binder@14.25.4...@quenty/binder@14.25.5) (2025-12-29)
|
|
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": "14.25.
|
|
3
|
+
"version": "14.25.6-canary.85c8052.0",
|
|
4
4
|
"description": "Utility object to Bind a class to Roblox object, and associated helper methods",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -25,21 +25,21 @@
|
|
|
25
25
|
"Quenty"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@quenty/baseobject": "
|
|
29
|
-
"@quenty/brio": "
|
|
30
|
-
"@quenty/canceltoken": "
|
|
31
|
-
"@quenty/instanceutils": "
|
|
32
|
-
"@quenty/linkutils": "
|
|
33
|
-
"@quenty/loader": "
|
|
34
|
-
"@quenty/maid": "
|
|
35
|
-
"@quenty/promise": "
|
|
36
|
-
"@quenty/rx": "
|
|
37
|
-
"@quenty/signal": "
|
|
38
|
-
"@quenty/table": "
|
|
39
|
-
"@quenty/valueobject": "
|
|
28
|
+
"@quenty/baseobject": "10.9.0",
|
|
29
|
+
"@quenty/brio": "14.20.4-canary.85c8052.0",
|
|
30
|
+
"@quenty/canceltoken": "11.13.3-canary.85c8052.0",
|
|
31
|
+
"@quenty/instanceutils": "13.20.5-canary.85c8052.0",
|
|
32
|
+
"@quenty/linkutils": "13.20.5-canary.85c8052.0",
|
|
33
|
+
"@quenty/loader": "10.9.0",
|
|
34
|
+
"@quenty/maid": "3.5.0",
|
|
35
|
+
"@quenty/promise": "10.12.3-canary.85c8052.0",
|
|
36
|
+
"@quenty/rx": "13.20.3-canary.85c8052.0",
|
|
37
|
+
"@quenty/signal": "7.11.2",
|
|
38
|
+
"@quenty/table": "3.8.0",
|
|
39
|
+
"@quenty/valueobject": "13.21.6-canary.85c8052.0"
|
|
40
40
|
},
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "85c805213db685eea0e45747b884d6a97981e45e"
|
|
45
45
|
}
|
package/src/Shared/Binder.lua
CHANGED
|
@@ -87,7 +87,7 @@ export type Binder<T> = typeof(setmetatable(
|
|
|
87
87
|
Constructs a new binder object.
|
|
88
88
|
|
|
89
89
|
```lua
|
|
90
|
-
local binder = Binder.new("
|
|
90
|
+
local binder = Binder.new("MyClass", function(inst)
|
|
91
91
|
print("Wow, a new bird!", inst)
|
|
92
92
|
|
|
93
93
|
return {
|
|
@@ -365,7 +365,7 @@ end
|
|
|
365
365
|
Returns a new signal that will fire whenever a class is bound to the binder
|
|
366
366
|
|
|
367
367
|
```lua
|
|
368
|
-
local birdBinder = Binder.new("
|
|
368
|
+
local birdBinder = Binder.new("MyClass", require("MyClass")) -- Load bird into binder
|
|
369
369
|
|
|
370
370
|
birdBinder:GetClassAddedSignal():Connect(function(bird)
|
|
371
371
|
bird:Squack() -- Make the bird squack when it's first spawned
|
|
@@ -421,7 +421,7 @@ end
|
|
|
421
421
|
Returns all of the classes in a new table.
|
|
422
422
|
|
|
423
423
|
```lua
|
|
424
|
-
local birdBinder = Binder.new("
|
|
424
|
+
local birdBinder = Binder.new("MyClass", require("MyClass")) -- Load bird into binder
|
|
425
425
|
|
|
426
426
|
-- Update every bird every frame
|
|
427
427
|
RunService.Stepped:Connect(function()
|
|
@@ -447,7 +447,7 @@ end
|
|
|
447
447
|
Faster method to get all items in a binder
|
|
448
448
|
|
|
449
449
|
```lua
|
|
450
|
-
local birdBinder = Binder.new("
|
|
450
|
+
local birdBinder = Binder.new("MyClass", require("MyClass")) -- Load bird into binder
|
|
451
451
|
|
|
452
452
|
-- Update every bird every frame
|
|
453
453
|
RunService.Stepped:Connect(function()
|
|
@@ -25,7 +25,7 @@ BinderProvider.__index = BinderProvider
|
|
|
25
25
|
|
|
26
26
|
-- Usually in a separate file!
|
|
27
27
|
local binderProvider = BinderProvider.new("BirdBinders", function(self, serviceBag)
|
|
28
|
-
self:Add(Binder.new("
|
|
28
|
+
self:Add(Binder.new("MyClass", require("MyClass"), serviceBag))
|
|
29
29
|
end)
|
|
30
30
|
|
|
31
31
|
-- Retrieve binders
|