@quenty/textfilterservice 13.19.0-canary.559.b31717d.0 → 13.19.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
|
-
# [13.19.0
|
|
6
|
+
# [13.19.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/textfilterservice@13.18.3...@quenty/textfilterservice@13.19.0) (2025-05-10)
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
### Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/textfilterservice",
|
|
3
|
-
"version": "13.19.0
|
|
3
|
+
"version": "13.19.0",
|
|
4
4
|
"description": "Utility service that provides text filtering to the client",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
"Quenty"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@quenty/loader": "10.
|
|
31
|
-
"@quenty/promise": "10.11.0
|
|
32
|
-
"@quenty/remoting": "12.19.0
|
|
33
|
-
"@quenty/rx": "13.18.0
|
|
34
|
-
"@quenty/table": "3.
|
|
35
|
-
"@quenty/textfilterutils": "10.11.0
|
|
30
|
+
"@quenty/loader": "^10.9.0",
|
|
31
|
+
"@quenty/promise": "^10.11.0",
|
|
32
|
+
"@quenty/remoting": "^12.19.0",
|
|
33
|
+
"@quenty/rx": "^13.18.0",
|
|
34
|
+
"@quenty/table": "^3.8.0",
|
|
35
|
+
"@quenty/textfilterutils": "^10.11.0"
|
|
36
36
|
},
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "20cff952c2cf06b959f2f11d2293bdef38acc604"
|
|
41
41
|
}
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
local require = require(script.Parent.loader).load(script)
|
|
7
7
|
|
|
8
8
|
local GetRemoteFunction = require("GetRemoteFunction")
|
|
9
|
+
local Promise = require("Promise")
|
|
9
10
|
local TextFilterServiceConstants = require("TextFilterServiceConstants")
|
|
10
11
|
local TextFilterUtils = require("TextFilterUtils")
|
|
11
|
-
local Promise = require("Promise")
|
|
12
12
|
|
|
13
13
|
local TextFilterService = {}
|
|
14
14
|
TextFilterService.ServiceName = "TextFilterService"
|
|
@@ -84,7 +84,10 @@ function TextFilterService:_promiseNonChatStringForBroadcast(
|
|
|
84
84
|
end)
|
|
85
85
|
end
|
|
86
86
|
|
|
87
|
-
function TextFilterService:_promisePreviewNonChatStringForBroadcast(
|
|
87
|
+
function TextFilterService:_promisePreviewNonChatStringForBroadcast(
|
|
88
|
+
player: Player,
|
|
89
|
+
text: string
|
|
90
|
+
): Promise.Promise<string>
|
|
88
91
|
assert(typeof(player) == "Instance" and player:IsA("Player"), "Bad player")
|
|
89
92
|
assert(type(text) == "string", "Bad text")
|
|
90
93
|
|
|
@@ -92,4 +95,4 @@ function TextFilterService:_promisePreviewNonChatStringForBroadcast(player: Play
|
|
|
92
95
|
return TextFilterUtils.promiseLegacyChatFilter(player, text)
|
|
93
96
|
end
|
|
94
97
|
|
|
95
|
-
return TextFilterService
|
|
98
|
+
return TextFilterService
|
|
@@ -8,9 +8,9 @@ local require = require(script.Parent.loader).load(script)
|
|
|
8
8
|
local Table = require("Table")
|
|
9
9
|
|
|
10
10
|
return Table.readonly({
|
|
11
|
-
REMOTE_FUNCTION_NAME = "TextFilterServiceRemoteFunction"
|
|
11
|
+
REMOTE_FUNCTION_NAME = "TextFilterServiceRemoteFunction",
|
|
12
12
|
|
|
13
|
-
REQUEST_NON_CHAT_STRING_FOR_USER = "NonChatStringForUser"
|
|
14
|
-
REQUEST_NON_CHAT_STRING_FOR_BROADCAST = "NonChatStringForBroadcast"
|
|
15
|
-
REQUEST_PREVIEW_NON_CHAT_STRING_FOR_BROADCAST = "PreviewNonChatStringForBroadcast"
|
|
16
|
-
})
|
|
13
|
+
REQUEST_NON_CHAT_STRING_FOR_USER = "NonChatStringForUser",
|
|
14
|
+
REQUEST_NON_CHAT_STRING_FOR_BROADCAST = "NonChatStringForBroadcast",
|
|
15
|
+
REQUEST_PREVIEW_NON_CHAT_STRING_FOR_BROADCAST = "PreviewNonChatStringForBroadcast",
|
|
16
|
+
})
|