@quenty/cooldown 11.20.4-canary.559.339cfa7.0 → 11.21.0-canary.0a5db80.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,25 +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
- ## [11.20.4-canary.559.339cfa7.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/cooldown@11.20.3...@quenty/cooldown@11.20.4-canary.559.339cfa7.0) (2025-05-10)
6
+ # [11.21.0-canary.0a5db80.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/cooldown@11.20.2...@quenty/cooldown@11.21.0-canary.0a5db80.0) (2025-05-10)
7
7
 
8
8
 
9
9
  ### Bug Fixes
10
10
 
11
- * Additional type checking updates ([05ba29a](https://github.com/Quenty/NevermoreEngine/commit/05ba29a03efc9f3feed74b34f1d9dfb237496214))
11
+ * Additional type checking updates ([7e008c5](https://github.com/Quenty/NevermoreEngine/commit/7e008c58547bd00b5904e56541454a38c8d72ccc))
12
12
 
13
13
 
14
14
  ### Features
15
15
 
16
- * Add even more types ([b31717d](https://github.com/Quenty/NevermoreEngine/commit/b31717d8c9f7620c457f5018a2affa760a65334a))
17
-
18
-
19
-
20
-
21
-
22
- ## [11.20.3](https://github.com/Quenty/NevermoreEngine/compare/@quenty/cooldown@11.20.2...@quenty/cooldown@11.20.3) (2025-04-10)
23
-
24
- **Note:** Version bump only for package @quenty/cooldown
16
+ * Add even more types ([0a5db80](https://github.com/Quenty/NevermoreEngine/commit/0a5db8004684dc3e76fd5944599a22602d48cfa9))
25
17
 
26
18
 
27
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/cooldown",
3
- "version": "11.20.4-canary.559.339cfa7.0",
3
+ "version": "11.21.0-canary.0a5db80.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.17.4-canary.559.339cfa7.0",
29
- "@quenty/baseobject": "10.8.4-canary.559.339cfa7.0",
30
- "@quenty/binder": "14.19.4-canary.559.339cfa7.0",
31
- "@quenty/ducktype": "5.8.5-canary.559.339cfa7.0",
32
- "@quenty/instanceutils": "13.17.4-canary.559.339cfa7.0",
33
- "@quenty/loader": "10.8.4-canary.559.339cfa7.0",
34
- "@quenty/maid": "3.4.4-canary.559.339cfa7.0",
35
- "@quenty/promise": "10.10.5-canary.559.339cfa7.0",
36
- "@quenty/propertyvalue": "7.17.4-canary.559.339cfa7.0",
37
- "@quenty/remoting": "12.18.4-canary.559.339cfa7.0",
38
- "@quenty/rx": "13.17.4-canary.559.339cfa7.0",
39
- "@quenty/rxbinderutils": "14.19.4-canary.559.339cfa7.0",
40
- "@quenty/servicebag": "11.11.5-canary.559.339cfa7.0",
41
- "@quenty/signal": "7.10.4-canary.559.339cfa7.0",
42
- "@quenty/table": "3.7.5-canary.559.339cfa7.0",
43
- "@quenty/timesyncservice": "13.18.4-canary.559.339cfa7.0",
44
- "@quenty/valueobject": "13.17.4-canary.559.339cfa7.0"
28
+ "@quenty/attributeutils": "14.18.0-canary.0a5db80.0",
29
+ "@quenty/baseobject": "10.9.0-canary.0a5db80.0",
30
+ "@quenty/binder": "14.20.0-canary.0a5db80.0",
31
+ "@quenty/ducktype": "5.9.0-canary.0a5db80.0",
32
+ "@quenty/instanceutils": "13.18.0-canary.0a5db80.0",
33
+ "@quenty/loader": "10.9.0-canary.0a5db80.0",
34
+ "@quenty/maid": "3.5.0-canary.0a5db80.0",
35
+ "@quenty/promise": "10.11.0-canary.0a5db80.0",
36
+ "@quenty/propertyvalue": "7.18.0-canary.0a5db80.0",
37
+ "@quenty/remoting": "12.19.0-canary.0a5db80.0",
38
+ "@quenty/rx": "13.18.0-canary.0a5db80.0",
39
+ "@quenty/rxbinderutils": "14.20.0-canary.0a5db80.0",
40
+ "@quenty/servicebag": "11.12.0-canary.0a5db80.0",
41
+ "@quenty/signal": "7.11.0-canary.0a5db80.0",
42
+ "@quenty/table": "3.8.0-canary.0a5db80.0",
43
+ "@quenty/timesyncservice": "13.19.0-canary.0a5db80.0",
44
+ "@quenty/valueobject": "13.18.0-canary.0a5db80.0"
45
45
  },
46
46
  "publishConfig": {
47
47
  "access": "public"
48
48
  },
49
- "gitHead": "339cfa778736f08768ed7305041f6221faa35bfc"
49
+ "gitHead": "0a5db8004684dc3e76fd5944599a22602d48cfa9"
50
50
  }
@@ -8,8 +8,8 @@
8
8
 
9
9
  local require = require(script.Parent.loader).load(script)
10
10
 
11
- local Binder = require("Binder")
12
11
  local CooldownBase = require("CooldownBase")
12
+ local Binder = require("Binder")
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 Binder = require("Binder")
9
8
  local CooldownBase = require("CooldownBase")
9
+ local Binder = require("Binder")
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,6 +47,7 @@ function CooldownUtils.findCooldown(cooldownBinder, parent: Instance)
47
47
  return BinderUtils.findFirstChild(cooldownBinder, parent)
48
48
  end
49
49
 
50
+
50
51
  --[=[
51
52
  Makes a copy of the cooldown
52
53
  @param cooldown Instance
@@ -60,4 +61,4 @@ function CooldownUtils.clone(cooldown: NumberValue): NumberValue
60
61
  return copy
61
62
  end
62
63
 
63
- return CooldownUtils
64
+ 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 DuckTypeUtils = require("DuckTypeUtils")
10
- local Rx = require("Rx")
11
- local Signal = require("Signal")
12
9
  local ValueObject = require("ValueObject")
10
+ local Signal = require("Signal")
11
+ local Rx = require("Rx")
12
+ local DuckTypeUtils = require("DuckTypeUtils")
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 Brio = require("Brio")
12
- local CooldownModel = require("CooldownModel")
11
+ local ValueObject = require("ValueObject")
13
12
  local DuckTypeUtils = require("DuckTypeUtils")
13
+ local CooldownModel = require("CooldownModel")
14
14
  local Observable = require("Observable")
15
- local ValueObject = require("ValueObject")
15
+ local Brio = require("Brio")
16
16
 
17
17
  local CooldownTrackerModel = setmetatable({}, BaseObject)
18
18
  CooldownTrackerModel.ClassName = "CooldownTrackerModel"
@@ -90,10 +90,7 @@ end
90
90
  @param cooldownModel CooldownModel
91
91
  @return function
92
92
  ]=]
93
- function CooldownTrackerModel.SetCooldownModel(
94
- self: CooldownTrackerModel,
95
- cooldownModel: ValueObject.Mountable<CooldownModel.CooldownModel?>
96
- ): () -> ()
93
+ function CooldownTrackerModel.SetCooldownModel(self: CooldownTrackerModel, cooldownModel: ValueObject.Mountable<CooldownModel.CooldownModel?>): (() -> ())
97
94
  self._currentCooldownModel:Mount(cooldownModel)
98
95
 
99
96
  return function()
@@ -107,4 +104,4 @@ function CooldownTrackerModel.SetCooldownModel(
107
104
  end
108
105
  end
109
106
 
110
- return CooldownTrackerModel
107
+ return CooldownTrackerModel
@@ -6,9 +6,9 @@
6
6
 
7
7
  local require = require(script.Parent.loader).load(script)
8
8
 
9
- local Brio = require("Brio")
10
- local Observable = require("Observable")
11
9
  local RxBinderUtils = require("RxBinderUtils")
10
+ local Observable = require("Observable")
11
+ local Brio = require("Brio")
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")
10
12
  local CooldownTrackerModel = require("CooldownTrackerModel")
11
13
  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(
36
- RxBinderUtils.observeBoundChildClassBrio(self._cooldownBinder, self._obj):Subscribe(function(brio)
35
+ self._maid:GiveTask(RxBinderUtils.observeBoundChildClassBrio(self._cooldownBinder, self._obj)
36
+ :Subscribe(function(brio)
37
37
  if brio:IsDead() then
38
38
  return
39
39
  end
@@ -56,8 +56,7 @@ function CooldownTracker.new(serviceBag, parent)
56
56
  self.CurrentCooldown.Value = nil
57
57
  end
58
58
  end)
59
- end)
60
- )
59
+ end))
61
60
 
62
61
  return self
63
62
  end
@@ -84,4 +83,4 @@ function CooldownTracker:_handleNewCooldown(new, _old)
84
83
  self._maid._cooldownMaid = maid
85
84
  end
86
85
 
87
- return CooldownTracker
86
+ return CooldownTracker