@quenty/counter 7.17.2 → 7.17.3

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,14 @@
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
+ ## [7.17.3](https://github.com/Quenty/NevermoreEngine/compare/@quenty/counter@7.17.2...@quenty/counter@7.17.3) (2025-04-10)
7
+
8
+ **Note:** Version bump only for package @quenty/counter
9
+
10
+
11
+
12
+
13
+
6
14
  ## [7.17.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/counter@7.17.0...@quenty/counter@7.17.2) (2025-04-07)
7
15
 
8
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/counter",
3
- "version": "7.17.2",
3
+ "version": "7.17.3",
4
4
  "description": "Helps count a total value",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -25,14 +25,14 @@
25
25
  "Quenty"
26
26
  ],
27
27
  "dependencies": {
28
- "@quenty/baseobject": "^10.8.2",
29
- "@quenty/loader": "^10.8.2",
30
- "@quenty/maid": "^3.4.2",
31
- "@quenty/rx": "^13.17.2",
32
- "@quenty/valueobject": "^13.17.2"
28
+ "@quenty/baseobject": "^10.8.3",
29
+ "@quenty/loader": "^10.8.3",
30
+ "@quenty/maid": "^3.4.3",
31
+ "@quenty/rx": "^13.17.3",
32
+ "@quenty/valueobject": "^13.17.3"
33
33
  },
34
34
  "publishConfig": {
35
35
  "access": "public"
36
36
  },
37
- "gitHead": "64def70499ec067077ee39f279936b620b217847"
37
+ "gitHead": "b06c070ae91d5dab7bd8de6e290ad2caabb15d8f"
38
38
  }
@@ -17,7 +17,6 @@ Counter.__index = Counter
17
17
 
18
18
  export type Counter = typeof(setmetatable(
19
19
  {} :: {
20
- _maid: Maid.Maid,
21
20
  _count: ValueObject.ValueObject<number>,
22
21
 
23
22
  --[=[
@@ -28,8 +27,8 @@ export type Counter = typeof(setmetatable(
28
27
  ]=]
29
28
  Changed: _Signal.Signal<number>,
30
29
  },
31
- Counter
32
- ))
30
+ {} :: typeof({ __index = Counter })
31
+ )) & BaseObject.BaseObject
33
32
 
34
33
  --[=[
35
34
  Creates a new counter
@@ -116,13 +115,13 @@ function Counter._addObservable(self: Counter, observeAmount: Observable.Observa
116
115
  self._count.Value = self._count.Value - delta
117
116
  end)
118
117
 
119
- self._maid[maid :: any] = maid
118
+ self._maid[maid] = maid
120
119
  maid:GiveTask(function()
121
- self._maid[maid :: any] = nil
120
+ self._maid[maid] = nil
122
121
  end)
123
122
 
124
123
  return function()
125
- self._maid[maid :: any] = nil
124
+ self._maid[maid] = nil
126
125
  end
127
126
  end
128
127