@quenty/cooldown 11.21.0-canary.ae8d76d.0 → 11.21.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,7 @@
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
- # [11.21.0-canary.ae8d76d.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/cooldown@11.20.3...@quenty/cooldown@11.21.0-canary.ae8d76d.0) (2025-05-10)
6
+ # [11.21.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/cooldown@11.20.3...@quenty/cooldown@11.21.0) (2025-05-10)
7
7
 
8
8
 
9
9
  ### Bug Fixes
@@ -13,7 +13,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
13
13
 
14
14
  ### Features
15
15
 
16
- * Add even more types ([ae8d76d](https://github.com/Quenty/NevermoreEngine/commit/ae8d76d996594e017ac4bfa19f3c064ebe307cd8))
16
+ * Add even more types ([b31717d](https://github.com/Quenty/NevermoreEngine/commit/b31717d8c9f7620c457f5018a2affa760a65334a))
17
17
 
18
18
 
19
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/cooldown",
3
- "version": "11.21.0-canary.ae8d76d.0",
3
+ "version": "11.21.0",
4
4
  "description": "Generalized networked cooldown system for Roblox",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -25,26 +25,26 @@
25
25
  "Quenty"
26
26
  ],
27
27
  "dependencies": {
28
- "@quenty/attributeutils": "14.18.0-canary.ae8d76d.0",
29
- "@quenty/baseobject": "10.8.3",
30
- "@quenty/binder": "14.20.0-canary.ae8d76d.0",
31
- "@quenty/ducktype": "5.8.4",
32
- "@quenty/instanceutils": "13.18.0-canary.ae8d76d.0",
33
- "@quenty/loader": "10.8.3",
34
- "@quenty/maid": "3.4.3",
35
- "@quenty/promise": "10.11.0-canary.ae8d76d.0",
36
- "@quenty/propertyvalue": "7.18.0-canary.ae8d76d.0",
37
- "@quenty/remoting": "12.19.0-canary.ae8d76d.0",
38
- "@quenty/rx": "13.18.0-canary.ae8d76d.0",
39
- "@quenty/rxbinderutils": "14.20.0-canary.ae8d76d.0",
40
- "@quenty/servicebag": "11.12.0-canary.ae8d76d.0",
41
- "@quenty/signal": "7.10.3",
42
- "@quenty/table": "3.7.4",
43
- "@quenty/timesyncservice": "13.19.0-canary.ae8d76d.0",
44
- "@quenty/valueobject": "13.18.0-canary.ae8d76d.0"
28
+ "@quenty/attributeutils": "^14.18.0",
29
+ "@quenty/baseobject": "^10.9.0",
30
+ "@quenty/binder": "^14.20.0",
31
+ "@quenty/ducktype": "^5.9.0",
32
+ "@quenty/instanceutils": "^13.18.0",
33
+ "@quenty/loader": "^10.9.0",
34
+ "@quenty/maid": "^3.5.0",
35
+ "@quenty/promise": "^10.11.0",
36
+ "@quenty/propertyvalue": "^7.18.0",
37
+ "@quenty/remoting": "^12.19.0",
38
+ "@quenty/rx": "^13.18.0",
39
+ "@quenty/rxbinderutils": "^14.20.0",
40
+ "@quenty/servicebag": "^11.12.0",
41
+ "@quenty/signal": "^7.11.0",
42
+ "@quenty/table": "^3.8.0",
43
+ "@quenty/timesyncservice": "^13.19.0",
44
+ "@quenty/valueobject": "^13.18.0"
45
45
  },
46
46
  "publishConfig": {
47
47
  "access": "public"
48
48
  },
49
- "gitHead": "ae8d76d996594e017ac4bfa19f3c064ebe307cd8"
49
+ "gitHead": "20cff952c2cf06b959f2f11d2293bdef38acc604"
50
50
  }
@@ -8,8 +8,8 @@
8
8
 
9
9
  local require = require(script.Parent.loader).load(script)
10
10
 
11
- local CooldownBase = require("CooldownBase")
12
11
  local Binder = require("Binder")
12
+ local CooldownBase = require("CooldownBase")
13
13
  local ServiceBag = require("ServiceBag")
14
14
 
15
15
  local CooldownClient = setmetatable({}, CooldownBase)
@@ -21,4 +21,4 @@ function CooldownServiceClient:Init(serviceBag: ServiceBag.ServiceBag)
21
21
  self._serviceBag:GetService(require("CooldownShared"))
22
22
  end
23
23
 
24
- return CooldownServiceClient
24
+ return CooldownServiceClient
@@ -22,4 +22,4 @@ function CooldownService:Init(serviceBag: ServiceBag.ServiceBag)
22
22
  self._serviceBag:GetService(require("CooldownShared"))
23
23
  end
24
24
 
25
- return CooldownService
25
+ return CooldownService
@@ -125,4 +125,4 @@ function CooldownBase.GetLength(self: CooldownBase): number
125
125
  return self._cooldownModel:GetLength()
126
126
  end
127
127
 
128
- return CooldownBase
128
+ return CooldownBase
@@ -5,8 +5,8 @@
5
5
 
6
6
  local require = require(script.Parent.loader).load(script)
7
7
 
8
- local CooldownBase = require("CooldownBase")
9
8
  local Binder = require("Binder")
9
+ local CooldownBase = require("CooldownBase")
10
10
  local ServiceBag = require("ServiceBag")
11
11
 
12
12
  local CooldownShared = setmetatable({}, CooldownBase)
@@ -9,6 +9,6 @@ local require = require(script.Parent.loader).load(script)
9
9
  local Table = require("Table")
10
10
 
11
11
  return Table.readonly({
12
- COOLDOWN_TIME_NAME = "CooldownTime";
13
- COOLDOWN_START_TIME_ATTRIBUTE = "CooldownStartTime";
14
- })
12
+ COOLDOWN_TIME_NAME = "CooldownTime",
13
+ COOLDOWN_START_TIME_ATTRIBUTE = "CooldownStartTime",
14
+ })
@@ -47,7 +47,6 @@ function CooldownUtils.findCooldown(cooldownBinder, parent: Instance)
47
47
  return BinderUtils.findFirstChild(cooldownBinder, parent)
48
48
  end
49
49
 
50
-
51
50
  --[=[
52
51
  Makes a copy of the cooldown
53
52
  @param cooldown Instance
@@ -61,4 +60,4 @@ function CooldownUtils.clone(cooldown: NumberValue): NumberValue
61
60
  return copy
62
61
  end
63
62
 
64
- return CooldownUtils
63
+ return CooldownUtils
@@ -6,10 +6,10 @@
6
6
  local require = require(script.Parent.loader).load(script)
7
7
 
8
8
  local BaseObject = require("BaseObject")
9
- local ValueObject = require("ValueObject")
10
- local Signal = require("Signal")
11
- local Rx = require("Rx")
12
9
  local DuckTypeUtils = require("DuckTypeUtils")
10
+ local Rx = require("Rx")
11
+ local Signal = require("Signal")
12
+ local ValueObject = require("ValueObject")
13
13
 
14
14
  local CooldownModel = setmetatable({}, BaseObject)
15
15
  CooldownModel.ClassName = "CooldownModel"
@@ -8,11 +8,11 @@
8
8
  local require = require(script.Parent.loader).load(script)
9
9
 
10
10
  local BaseObject = require("BaseObject")
11
- local ValueObject = require("ValueObject")
12
- local DuckTypeUtils = require("DuckTypeUtils")
11
+ local Brio = require("Brio")
13
12
  local CooldownModel = require("CooldownModel")
13
+ local DuckTypeUtils = require("DuckTypeUtils")
14
14
  local Observable = require("Observable")
15
- local Brio = require("Brio")
15
+ local ValueObject = require("ValueObject")
16
16
 
17
17
  local CooldownTrackerModel = setmetatable({}, BaseObject)
18
18
  CooldownTrackerModel.ClassName = "CooldownTrackerModel"
@@ -90,7 +90,10 @@ end
90
90
  @param cooldownModel CooldownModel
91
91
  @return function
92
92
  ]=]
93
- function CooldownTrackerModel.SetCooldownModel(self: CooldownTrackerModel, cooldownModel: ValueObject.Mountable<CooldownModel.CooldownModel?>): (() -> ())
93
+ function CooldownTrackerModel.SetCooldownModel(
94
+ self: CooldownTrackerModel,
95
+ cooldownModel: ValueObject.Mountable<CooldownModel.CooldownModel?>
96
+ ): () -> ()
94
97
  self._currentCooldownModel:Mount(cooldownModel)
95
98
 
96
99
  return function()
@@ -104,4 +107,4 @@ function CooldownTrackerModel.SetCooldownModel(self: CooldownTrackerModel, coold
104
107
  end
105
108
  end
106
109
 
107
- return CooldownTrackerModel
110
+ return CooldownTrackerModel
@@ -6,9 +6,9 @@
6
6
 
7
7
  local require = require(script.Parent.loader).load(script)
8
8
 
9
- local RxBinderUtils = require("RxBinderUtils")
10
- local Observable = require("Observable")
11
9
  local Brio = require("Brio")
10
+ local Observable = require("Observable")
11
+ local RxBinderUtils = require("RxBinderUtils")
12
12
 
13
13
  local RxCooldownUtils = {}
14
14
 
@@ -22,4 +22,4 @@ function RxCooldownUtils.observeCooldownBrio(cooldownBinder, parent: Instance):
22
22
  return RxBinderUtils.observeBoundChildClassBrio(cooldownBinder, parent)
23
23
  end
24
24
 
25
- return RxCooldownUtils
25
+ return RxCooldownUtils
@@ -7,10 +7,10 @@ local require = require(script.Parent.loader).load(script)
7
7
 
8
8
  local BaseObject = require("BaseObject")
9
9
  local CooldownShared = require("CooldownShared")
10
- local ValueObject = require("ValueObject")
11
- local RxBinderUtils = require("RxBinderUtils")
12
10
  local CooldownTrackerModel = require("CooldownTrackerModel")
13
11
  local Maid = require("Maid")
12
+ local RxBinderUtils = require("RxBinderUtils")
13
+ local ValueObject = require("ValueObject")
14
14
 
15
15
  local CooldownTracker = setmetatable({}, BaseObject)
16
16
  CooldownTracker.ClassName = "CooldownTracker"
@@ -32,8 +32,8 @@ function CooldownTracker.new(serviceBag, parent)
32
32
  end))
33
33
 
34
34
  -- Handle not running
35
- self._maid:GiveTask(RxBinderUtils.observeBoundChildClassBrio(self._cooldownBinder, self._obj)
36
- :Subscribe(function(brio)
35
+ self._maid:GiveTask(
36
+ RxBinderUtils.observeBoundChildClassBrio(self._cooldownBinder, self._obj):Subscribe(function(brio)
37
37
  if brio:IsDead() then
38
38
  return
39
39
  end
@@ -56,7 +56,8 @@ function CooldownTracker.new(serviceBag, parent)
56
56
  self.CurrentCooldown.Value = nil
57
57
  end
58
58
  end)
59
- end))
59
+ end)
60
+ )
60
61
 
61
62
  return self
62
63
  end
@@ -83,4 +84,4 @@ function CooldownTracker:_handleNewCooldown(new, _old)
83
84
  self._maid._cooldownMaid = maid
84
85
  end
85
86
 
86
- return CooldownTracker
87
+ return CooldownTracker