@quenty/friendutils 12.18.0-canary.ae8d76d.0 → 12.18.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 +1 -1
- package/package.json +7 -7
- package/src/Shared/FriendUtils.lua +12 -13
- package/src/Shared/RxFriendUtils.lua +1 -1
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
|
-
# [12.18.0
|
|
6
|
+
# [12.18.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/friendutils@12.17.3...@quenty/friendutils@12.18.0) (2025-05-10)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @quenty/friendutils
|
|
9
9
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/friendutils",
|
|
3
|
-
"version": "12.18.0
|
|
3
|
+
"version": "12.18.0",
|
|
4
4
|
"description": "Utlity functions to help find friends of a user. Also contains utility to make testing in studio easier.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"Quenty"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@quenty/brio": "14.18.0
|
|
29
|
-
"@quenty/loader": "10.
|
|
30
|
-
"@quenty/maid": "3.
|
|
31
|
-
"@quenty/promise": "10.11.0
|
|
32
|
-
"@quenty/rx": "13.18.0
|
|
28
|
+
"@quenty/brio": "^14.18.0",
|
|
29
|
+
"@quenty/loader": "^10.9.0",
|
|
30
|
+
"@quenty/maid": "^3.5.0",
|
|
31
|
+
"@quenty/promise": "^10.11.0",
|
|
32
|
+
"@quenty/rx": "^13.18.0"
|
|
33
33
|
},
|
|
34
34
|
"publishConfig": {
|
|
35
35
|
"access": "public"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "20cff952c2cf06b959f2f11d2293bdef38acc604"
|
|
38
38
|
}
|
|
@@ -186,19 +186,18 @@ end
|
|
|
186
186
|
@return Promise<number>
|
|
187
187
|
]=]
|
|
188
188
|
function FriendUtils.promiseCurrentStudioUserId(): Promise.Promise<number>
|
|
189
|
-
return FriendUtils.promiseStudioServiceUserId()
|
|
190
|
-
|
|
191
|
-
warn(...)
|
|
192
|
-
|
|
193
|
-
-- this is in team create!
|
|
194
|
-
local player = Players:FindFirstChildWhichIsA("Player")
|
|
195
|
-
if player then
|
|
196
|
-
return player.UserId
|
|
197
|
-
end
|
|
189
|
+
return FriendUtils.promiseStudioServiceUserId():Catch(function(...)
|
|
190
|
+
warn(...)
|
|
198
191
|
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
192
|
+
-- this is in team create!
|
|
193
|
+
local player = Players:FindFirstChildWhichIsA("Player")
|
|
194
|
+
if player then
|
|
195
|
+
return player.UserId
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
-- default to Quenty
|
|
199
|
+
return 4397833
|
|
200
|
+
end)
|
|
202
201
|
end
|
|
203
202
|
|
|
204
|
-
return FriendUtils
|
|
203
|
+
return FriendUtils
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
local require = require(script.Parent.loader).load(script)
|
|
9
9
|
|
|
10
10
|
local Players = game:GetService("Players")
|
|
11
|
-
local StarterGui = game:GetService("StarterGui")
|
|
12
11
|
local RunService = game:GetService("RunService")
|
|
12
|
+
local StarterGui = game:GetService("StarterGui")
|
|
13
13
|
|
|
14
14
|
local Brio = require("Brio")
|
|
15
15
|
local Maid = require("Maid")
|