@quenty/bodycolorsutils 7.19.0-canary.ae8d76d.0 → 7.19.1-canary.4ea661c.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,7 +3,15 @@
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.19.0-canary.ae8d76d.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/bodycolorsutils@7.18.3...@quenty/bodycolorsutils@7.19.0-canary.ae8d76d.0) (2025-05-10)
6
+ ## [7.19.1-canary.4ea661c.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/bodycolorsutils@7.19.0...@quenty/bodycolorsutils@7.19.1-canary.4ea661c.0) (2025-08-12)
7
+
8
+ **Note:** Version bump only for package @quenty/bodycolorsutils
9
+
10
+
11
+
12
+
13
+
14
+ # [7.19.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/bodycolorsutils@7.18.3...@quenty/bodycolorsutils@7.19.0) (2025-05-10)
7
15
 
8
16
  **Note:** Version bump only for package @quenty/bodycolorsutils
9
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/bodycolorsutils",
3
- "version": "7.19.0-canary.ae8d76d.0",
3
+ "version": "7.19.1-canary.4ea661c.0",
4
4
  "description": "Body color helper utilities for merging and representing body colors over the network and datastore",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -25,15 +25,15 @@
25
25
  "Quenty"
26
26
  ],
27
27
  "dependencies": {
28
- "@quenty/attributeutils": "14.18.0-canary.ae8d76d.0",
29
- "@quenty/color3serializationutils": "2.2.2",
30
- "@quenty/color3utils": "11.19.0-canary.ae8d76d.0",
31
- "@quenty/loader": "10.8.3",
32
- "@quenty/rx": "13.18.0-canary.ae8d76d.0",
33
- "@quenty/table": "3.7.4"
28
+ "@quenty/attributeutils": "14.18.1-canary.4ea661c.0",
29
+ "@quenty/color3serializationutils": "2.3.0",
30
+ "@quenty/color3utils": "11.19.1-canary.4ea661c.0",
31
+ "@quenty/loader": "10.9.0",
32
+ "@quenty/rx": "13.18.1-canary.4ea661c.0",
33
+ "@quenty/table": "3.8.0"
34
34
  },
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "ae8d76d996594e017ac4bfa19f3c064ebe307cd8"
38
+ "gitHead": "4ea661c3fb52b8a3843c7d879c98c1de8a733798"
39
39
  }
@@ -8,11 +8,11 @@ local Table = require("Table")
8
8
 
9
9
  return Table.readonly({
10
10
  ATTRIBUTE_MAPPING = {
11
- headColor = "HeadColor";
12
- leftArmColor = "LeftArmColor";
13
- leftLegColor = "LeftLegColor";
14
- rightArmColor = "RightArmColor";
15
- rightLegColor = "RightLegColor";
16
- torsoColor = "TorsoColor";
17
- };
18
- })
11
+ headColor = "HeadColor",
12
+ leftArmColor = "LeftArmColor",
13
+ leftLegColor = "LeftLegColor",
14
+ rightArmColor = "RightArmColor",
15
+ rightLegColor = "RightLegColor",
16
+ torsoColor = "TorsoColor",
17
+ },
18
+ })
@@ -7,9 +7,9 @@
7
7
 
8
8
  local require = require(script.Parent.loader).load(script)
9
9
 
10
- local Color3Utils = require("Color3Utils")
11
- local Color3SerializationUtils = require("Color3SerializationUtils")
12
10
  local BodyColorsDataConstants = require("BodyColorsDataConstants")
11
+ local Color3SerializationUtils = require("Color3SerializationUtils")
12
+ local Color3Utils = require("Color3Utils")
13
13
 
14
14
  local BodyColorsDataUtils = {}
15
15
 
@@ -338,9 +338,15 @@ end
338
338
  @param humanoidDescription HumanoidDescription
339
339
  @return BodyColors
340
340
  ]=]
341
- function BodyColorsDataUtils.applyToHumanoidDescription(bodyColorsData: BodyColorsData, humanoidDescription: HumanoidDescription)
341
+ function BodyColorsDataUtils.applyToHumanoidDescription(
342
+ bodyColorsData: BodyColorsData,
343
+ humanoidDescription: HumanoidDescription
344
+ )
342
345
  assert(BodyColorsDataUtils.isBodyColorsData(bodyColorsData), "Bad bodyColorsData")
343
- assert(typeof(humanoidDescription) == "Instance" and humanoidDescription:IsA("HumanoidDescription"), "Bad humanoidDescription")
346
+ assert(
347
+ typeof(humanoidDescription) == "Instance" and humanoidDescription:IsA("HumanoidDescription"),
348
+ "Bad humanoidDescription"
349
+ )
344
350
 
345
351
  if bodyColorsData.headColor then
346
352
  humanoidDescription.HeadColor = bodyColorsData.headColor
@@ -367,4 +373,4 @@ function BodyColorsDataUtils.applyToHumanoidDescription(bodyColorsData: BodyColo
367
373
  end
368
374
  end
369
375
 
370
- return BodyColorsDataUtils
376
+ return BodyColorsDataUtils
@@ -4,10 +4,10 @@
4
4
 
5
5
  local require = require(script.Parent.loader).load(script)
6
6
 
7
- local Rx = require("Rx")
8
7
  local BodyColorsDataConstants = require("BodyColorsDataConstants")
9
- local RxAttributeUtils = require("RxAttributeUtils")
10
8
  local BodyColorsDataUtils = require("BodyColorsDataUtils")
9
+ local Rx = require("Rx")
10
+ local RxAttributeUtils = require("RxAttributeUtils")
11
11
 
12
12
  local RxBodyColorsDataUtils = {}
13
13
 
@@ -28,22 +28,26 @@ function RxBodyColorsDataUtils.observeFromAttributes(instance)
28
28
 
29
29
  return Rx.combineLatest(observables):Pipe({
30
30
  Rx.map(function(latestValues)
31
- local bodyColorsData = {}
31
+ local bodyColorsData = {}
32
32
 
33
33
  for key, attributeName in BodyColorsDataConstants.ATTRIBUTE_MAPPING do
34
34
  local value = latestValues[key]
35
35
  if typeof(value) == "Color3" then
36
36
  bodyColorsData[key] = value
37
37
  else
38
- warn(string.format("[RxBodyColorsDataUtils.observeFromAttributes] - Bad attribute %q of type %q",
39
- attributeName,
40
- typeof(value)))
38
+ warn(
39
+ string.format(
40
+ "[RxBodyColorsDataUtils.observeFromAttributes] - Bad attribute %q of type %q",
41
+ attributeName,
42
+ typeof(value)
43
+ )
44
+ )
41
45
  end
42
46
  end
43
47
 
44
48
  return BodyColorsDataUtils.createBodyColorsData(bodyColorsData)
45
- end);
49
+ end),
46
50
  })
47
51
  end
48
52
 
49
- return RxBodyColorsDataUtils
53
+ return RxBodyColorsDataUtils