@quenty/statestack 14.2.0 → 14.2.1-canary.949c41d.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,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.2.1-canary.949c41d.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/statestack@14.2.0...@quenty/statestack@14.2.1-canary.949c41d.0) (2024-05-03)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Better warrning and error messsages ([faaa31b](https://github.com/Quenty/NevermoreEngine/commit/faaa31b0d543816552e893908a320fb20be1587c))
12
+
13
+
14
+
15
+
16
+
6
17
  # [14.2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/statestack@14.1.0...@quenty/statestack@14.2.0) (2024-04-27)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/statestack
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/statestack",
3
- "version": "14.2.0",
3
+ "version": "14.2.1-canary.949c41d.0",
4
4
  "description": "Stack of values that allows multiple systems to enable or disable a state",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -25,15 +25,15 @@
25
25
  "Quenty"
26
26
  ],
27
27
  "dependencies": {
28
- "@quenty/baseobject": "^10.2.0",
29
- "@quenty/brio": "^14.2.0",
30
- "@quenty/loader": "^10.2.0",
31
- "@quenty/maid": "^3.1.0",
32
- "@quenty/rx": "^13.2.0",
33
- "@quenty/valueobject": "^13.2.0"
28
+ "@quenty/baseobject": "10.2.0",
29
+ "@quenty/brio": "14.2.0",
30
+ "@quenty/loader": "10.2.0",
31
+ "@quenty/maid": "3.1.0",
32
+ "@quenty/rx": "13.2.0",
33
+ "@quenty/valueobject": "13.2.0"
34
34
  },
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "5c9eab1eac73f0d54953cca5017b7be968182f72"
38
+ "gitHead": "949c41de617e38c33da8d7d4351cc9fa34ae529d"
39
39
  }
@@ -21,13 +21,11 @@ function RxStateStackUtils.topOfStack(defaultValue)
21
21
  return function(source)
22
22
  return Observable.new(function(sub)
23
23
  local maid = Maid.new()
24
-
25
- local current = StateStack.new(defaultValue)
26
- maid:GiveTask(current)
24
+ local current = maid:Add(StateStack.new(defaultValue))
27
25
 
28
26
  maid:GiveTask(source:Subscribe(function(brio)
29
27
  if not Brio.isBrio(brio) then
30
- warn("Not a brio")
28
+ warn("[RxStateStackUtils.topOfStack] - Not a brio. Ignoring.")
31
29
  return
32
30
  end
33
31