@quenty/friendutils 12.17.4-canary.559.9f38947.0 → 12.18.0-canary.0a5db80.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 -9
- package/package.json +7 -7
- package/src/Shared/FriendUtils.lua +13 -12
- package/src/Shared/RxFriendUtils.lua +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,15 +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
|
-
|
|
7
|
-
|
|
8
|
-
**Note:** Version bump only for package @quenty/friendutils
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
## [12.17.3](https://github.com/Quenty/NevermoreEngine/compare/@quenty/friendutils@12.17.2...@quenty/friendutils@12.17.3) (2025-04-10)
|
|
6
|
+
# [12.18.0-canary.0a5db80.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/friendutils@12.17.2...@quenty/friendutils@12.18.0-canary.0a5db80.0) (2025-05-10)
|
|
15
7
|
|
|
16
8
|
**Note:** Version bump only for package @quenty/friendutils
|
|
17
9
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/friendutils",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.18.0-canary.0a5db80.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.
|
|
29
|
-
"@quenty/loader": "10.
|
|
30
|
-
"@quenty/maid": "3.
|
|
31
|
-
"@quenty/promise": "10.
|
|
32
|
-
"@quenty/rx": "13.
|
|
28
|
+
"@quenty/brio": "14.18.0-canary.0a5db80.0",
|
|
29
|
+
"@quenty/loader": "10.9.0-canary.0a5db80.0",
|
|
30
|
+
"@quenty/maid": "3.5.0-canary.0a5db80.0",
|
|
31
|
+
"@quenty/promise": "10.11.0-canary.0a5db80.0",
|
|
32
|
+
"@quenty/rx": "13.18.0-canary.0a5db80.0"
|
|
33
33
|
},
|
|
34
34
|
"publishConfig": {
|
|
35
35
|
"access": "public"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "0a5db8004684dc3e76fd5944599a22602d48cfa9"
|
|
38
38
|
}
|
|
@@ -186,18 +186,19 @@ end
|
|
|
186
186
|
@return Promise<number>
|
|
187
187
|
]=]
|
|
188
188
|
function FriendUtils.promiseCurrentStudioUserId(): Promise.Promise<number>
|
|
189
|
-
return FriendUtils.promiseStudioServiceUserId()
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
189
|
+
return FriendUtils.promiseStudioServiceUserId()
|
|
190
|
+
:Catch(function(...)
|
|
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
|
|
197
198
|
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
199
|
+
-- default to Quenty
|
|
200
|
+
return 4397833
|
|
201
|
+
end)
|
|
201
202
|
end
|
|
202
203
|
|
|
203
|
-
return FriendUtils
|
|
204
|
+
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 RunService = game:GetService("RunService")
|
|
12
11
|
local StarterGui = game:GetService("StarterGui")
|
|
12
|
+
local RunService = game:GetService("RunService")
|
|
13
13
|
|
|
14
14
|
local Brio = require("Brio")
|
|
15
15
|
local Maid = require("Maid")
|