@quenty/humanoiddescriptionutils 10.11.0-canary.559.b31717d.0 → 10.11.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,7 @@
|
|
|
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
|
-
# [10.11.0
|
|
6
|
+
# [10.11.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/humanoiddescriptionutils@10.10.4...@quenty/humanoiddescriptionutils@10.11.0) (2025-05-10)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @quenty/humanoiddescriptionutils
|
|
9
9
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/humanoiddescriptionutils",
|
|
3
|
-
"version": "10.11.0
|
|
3
|
+
"version": "10.11.0",
|
|
4
4
|
"description": "Handles actions involving HumanoidDescription objects, including loading character appearance.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
"Quenty"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@quenty/insertserviceutils": "10.11.0
|
|
29
|
-
"@quenty/loader": "10.
|
|
30
|
-
"@quenty/playersservicepromises": "10.11.0
|
|
31
|
-
"@quenty/promise": "10.11.0
|
|
28
|
+
"@quenty/insertserviceutils": "^10.11.0",
|
|
29
|
+
"@quenty/loader": "^10.9.0",
|
|
30
|
+
"@quenty/playersservicepromises": "^10.11.0",
|
|
31
|
+
"@quenty/promise": "^10.11.0"
|
|
32
32
|
},
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "20cff952c2cf06b959f2f11d2293bdef38acc604"
|
|
37
37
|
}
|
|
@@ -7,9 +7,9 @@ local require = require(script.Parent.loader).load(script)
|
|
|
7
7
|
|
|
8
8
|
local Players = game:GetService("Players")
|
|
9
9
|
|
|
10
|
-
local Promise = require("Promise")
|
|
11
10
|
local InsertServiceUtils = require("InsertServiceUtils")
|
|
12
11
|
local PlayersServicePromises = require("PlayersServicePromises")
|
|
12
|
+
local Promise = require("Promise")
|
|
13
13
|
|
|
14
14
|
local HumanoidDescriptionUtils = {}
|
|
15
15
|
|
|
@@ -65,10 +65,9 @@ end
|
|
|
65
65
|
@return Promise
|
|
66
66
|
]=]
|
|
67
67
|
function HumanoidDescriptionUtils.promiseApplyFromUserName(humanoid, userName)
|
|
68
|
-
return HumanoidDescriptionUtils.promiseFromUserName(userName)
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
end)
|
|
68
|
+
return HumanoidDescriptionUtils.promiseFromUserName(userName):Then(function(description)
|
|
69
|
+
return HumanoidDescriptionUtils.promiseApplyDescription(humanoid, description)
|
|
70
|
+
end)
|
|
72
71
|
end
|
|
73
72
|
|
|
74
73
|
--[=[
|
|
@@ -77,10 +76,9 @@ end
|
|
|
77
76
|
@return Promise<HumanoidDescription>
|
|
78
77
|
]=]
|
|
79
78
|
function HumanoidDescriptionUtils.promiseFromUserName(userName)
|
|
80
|
-
return PlayersServicePromises.promiseUserIdFromName(userName)
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
end)
|
|
79
|
+
return PlayersServicePromises.promiseUserIdFromName(userName):Then(function(userId)
|
|
80
|
+
return HumanoidDescriptionUtils.promiseFromUserId(userId)
|
|
81
|
+
end)
|
|
84
82
|
end
|
|
85
83
|
|
|
86
84
|
--[=[
|
|
@@ -150,4 +148,4 @@ function HumanoidDescriptionUtils.getAssetPromisesFromString(assetString)
|
|
|
150
148
|
return promises
|
|
151
149
|
end
|
|
152
150
|
|
|
153
|
-
return HumanoidDescriptionUtils
|
|
151
|
+
return HumanoidDescriptionUtils
|