@quenty/scoredactionservice 9.26.0 → 9.27.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
+ # [9.27.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/scoredactionservice@9.26.0...@quenty/scoredactionservice@9.27.0) (2023-05-26)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Add better error messages for ScoredActionService ([19e53f0](https://github.com/Quenty/NevermoreEngine/commit/19e53f0eb8364b1c9c65ebbd7166e8eee7c70284))
12
+
13
+
14
+
15
+
16
+
6
17
  # [9.26.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/scoredactionservice@9.25.0...@quenty/scoredactionservice@9.26.0) (2023-05-08)
7
18
 
8
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/scoredactionservice",
3
- "version": "9.26.0",
3
+ "version": "9.27.0",
4
4
  "description": "Scores actions and picks the highest rated one every frame",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -27,19 +27,19 @@
27
27
  ],
28
28
  "dependencies": {
29
29
  "@quenty/baseobject": "^6.2.1",
30
- "@quenty/brio": "^8.12.0",
31
- "@quenty/inputkeymaputils": "^7.26.0",
32
- "@quenty/inputmode": "^7.18.0",
30
+ "@quenty/brio": "^8.13.0",
31
+ "@quenty/inputkeymaputils": "^7.27.0",
32
+ "@quenty/inputmode": "^7.19.0",
33
33
  "@quenty/loader": "^6.2.1",
34
34
  "@quenty/maid": "^2.5.0",
35
- "@quenty/rx": "^7.10.0",
36
- "@quenty/signal": "^2.3.0",
37
- "@quenty/statestack": "^8.13.0",
35
+ "@quenty/rx": "^7.11.0",
36
+ "@quenty/signal": "^2.4.0",
37
+ "@quenty/statestack": "^8.14.0",
38
38
  "@quenty/table": "^3.2.0",
39
- "@quenty/valueobject": "^7.13.0"
39
+ "@quenty/valueobject": "^7.14.0"
40
40
  },
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "2ad8cea7dd3ad79a39afd7d7b785b489b90553fd"
44
+ "gitHead": "11058e90e51ea83d3dad6ae9abe59cc19c36b94b"
45
45
  }
@@ -15,6 +15,7 @@ local Maid = require("Maid")
15
15
  local InputListScoreHelper = require("InputListScoreHelper")
16
16
  local Observable = require("Observable")
17
17
  local InputKeyMapList = require("InputKeyMapList")
18
+ local ValueObject = require("ValueObject")
18
19
 
19
20
  local ScoredActionServiceClient = {}
20
21
  ScoredActionServiceClient.ServiceName = "ScoredActionServiceClient"
@@ -100,7 +101,7 @@ end
100
101
  ]=]
101
102
  function ScoredActionServiceClient:ObserveNewFromInputKeyMapList(scoreValue)
102
103
  assert(self._provider, "Not initialized")
103
- assert(typeof(scoreValue) == "Instance" and scoreValue:IsA("NumberValue"), "Bad scoreValue")
104
+ assert(ValueObject.isValueObject(scoreValue), "Bad scoreValue")
104
105
 
105
106
  -- It looks like we aren't capturing anything in this closure, but we're capturing `self`
106
107
  return function(source)