@quenty/conditions 5.1.1 → 5.2.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,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
+ # [5.2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/conditions@5.1.1...@quenty/conditions@5.2.0) (2023-12-14)
7
+
8
+ **Note:** Version bump only for package @quenty/conditions
9
+
10
+
11
+
12
+
13
+
6
14
  ## [5.1.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/conditions@5.1.0...@quenty/conditions@5.1.1) (2023-10-28)
7
15
 
8
16
  **Note:** Version bump only for package @quenty/conditions
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/conditions",
3
- "version": "5.1.1",
3
+ "version": "5.2.0",
4
4
  "description": "Adornee based conditional system that is sufficiently generic to script gameplay.",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -23,14 +23,14 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
- "@quenty/attributeutils": "^9.1.1",
27
- "@quenty/brio": "^9.1.1",
28
- "@quenty/instanceutils": "^8.1.1",
29
- "@quenty/loader": "^7.0.0",
26
+ "@quenty/attributeutils": "^9.2.0",
27
+ "@quenty/brio": "^9.2.0",
28
+ "@quenty/instanceutils": "^8.2.0",
29
+ "@quenty/loader": "^7.1.0",
30
30
  "@quenty/maid": "^2.6.0",
31
- "@quenty/rx": "^8.1.1",
32
- "@quenty/statestack": "^9.1.1",
33
- "@quenty/tie": "^5.1.1"
31
+ "@quenty/rx": "^8.2.0",
32
+ "@quenty/statestack": "^9.2.0",
33
+ "@quenty/tie": "^5.2.0"
34
34
  },
35
35
  "contributors": [
36
36
  "Quenty"
@@ -38,5 +38,5 @@
38
38
  "publishConfig": {
39
39
  "access": "public"
40
40
  },
41
- "gitHead": "440aca7ce2b50b74317ee05fdc0b8d1e58001af3"
41
+ "gitHead": "2c2dbbc0cb2fbb46b4f3270c559c63890fe18b26"
42
42
  }
@@ -317,8 +317,7 @@ function AdorneeConditionUtils._mapToAnd(observeValueWhenEmpty)
317
317
  return Observable.new(function(sub)
318
318
  local topMaid = Maid.new()
319
319
 
320
- local isDisabled = StateStack.new(false)
321
- topMaid:GiveTask(isDisabled)
320
+ local isDisabled = topMaid:Add(StateStack.new(false, "boolean"))
322
321
 
323
322
  local activeSourceCount = Instance.new("IntValue")
324
323
  activeSourceCount.Value = 0
@@ -391,8 +390,7 @@ function AdorneeConditionUtils._mapToOr(observeValueWhenEmpty)
391
390
  return Observable.new(function(sub)
392
391
  local topMaid = Maid.new()
393
392
 
394
- local isEnabled = StateStack.new(false)
395
- topMaid:GiveTask(isEnabled)
393
+ local isEnabled = topMaid:Add(StateStack.new(false, "boolean"))
396
394
 
397
395
  local activeSourceCount = Instance.new("IntValue")
398
396
  activeSourceCount.Value = 0