@quenty/chatproviderservice 9.24.3-canary.542.7609692.0 → 9.24.3

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
- ## [9.24.3-canary.542.7609692.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/chatproviderservice@9.24.2...@quenty/chatproviderservice@9.24.3-canary.542.7609692.0) (2025-03-13)
6
+ ## [9.24.3](https://github.com/Quenty/NevermoreEngine/compare/@quenty/chatproviderservice@9.24.2...@quenty/chatproviderservice@9.24.3) (2025-03-20)
7
7
 
8
8
  **Note:** Version bump only for package @quenty/chatproviderservice
9
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/chatproviderservice",
3
- "version": "9.24.3-canary.542.7609692.0",
3
+ "version": "9.24.3",
4
4
  "description": "Provide wrapper around chat system to allow tags to be set",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -25,35 +25,35 @@
25
25
  "Quenty"
26
26
  ],
27
27
  "dependencies": {
28
- "@quenty/attributeutils": "14.16.1-canary.542.7609692.0",
29
- "@quenty/baseobject": "10.8.0",
30
- "@quenty/binder": "14.18.1-canary.542.7609692.0",
31
- "@quenty/brio": "14.16.1-canary.542.7609692.0",
32
- "@quenty/clienttranslator": "14.18.1-canary.542.7609692.0",
33
- "@quenty/cmdrservice": "13.21.3-canary.542.7609692.0",
34
- "@quenty/color3utils": "11.17.1-canary.542.7609692.0",
35
- "@quenty/datastore": "13.19.1-canary.542.7609692.0",
36
- "@quenty/instanceutils": "13.16.1-canary.542.7609692.0",
37
- "@quenty/loader": "10.8.0",
38
- "@quenty/localizedtextutils": "12.16.1-canary.542.7609692.0",
39
- "@quenty/maid": "3.4.0",
40
- "@quenty/permissionprovider": "14.18.1-canary.542.7609692.0",
41
- "@quenty/playerbinder": "14.18.1-canary.542.7609692.0",
42
- "@quenty/playerutils": "8.16.1-canary.542.7609692.0",
43
- "@quenty/preferredparentutils": "4.3.0",
44
- "@quenty/promise": "10.10.1-canary.542.7609692.0",
45
- "@quenty/remoting": "12.17.1-canary.542.7609692.0",
46
- "@quenty/richtext": "1.3.0",
47
- "@quenty/rx": "13.16.1-canary.542.7609692.0",
48
- "@quenty/rxbinderutils": "14.18.1-canary.542.7609692.0",
49
- "@quenty/servicebag": "11.11.1-canary.542.7609692.0",
50
- "@quenty/signal": "7.10.0",
51
- "@quenty/string": "3.3.1-canary.542.7609692.0",
52
- "@quenty/table": "3.7.1-canary.542.7609692.0",
53
- "@quenty/valueobject": "13.16.1-canary.542.7609692.0"
28
+ "@quenty/attributeutils": "^14.16.0",
29
+ "@quenty/baseobject": "^10.8.0",
30
+ "@quenty/binder": "^14.18.0",
31
+ "@quenty/brio": "^14.16.0",
32
+ "@quenty/clienttranslator": "^14.18.0",
33
+ "@quenty/cmdrservice": "^13.21.2",
34
+ "@quenty/color3utils": "^11.17.0",
35
+ "@quenty/datastore": "^13.19.1",
36
+ "@quenty/instanceutils": "^13.16.0",
37
+ "@quenty/loader": "^10.8.0",
38
+ "@quenty/localizedtextutils": "^12.16.0",
39
+ "@quenty/maid": "^3.4.0",
40
+ "@quenty/permissionprovider": "^14.18.0",
41
+ "@quenty/playerbinder": "^14.18.0",
42
+ "@quenty/playerutils": "^8.16.0",
43
+ "@quenty/preferredparentutils": "^4.3.0",
44
+ "@quenty/promise": "^10.10.0",
45
+ "@quenty/remoting": "^12.17.0",
46
+ "@quenty/richtext": "^1.3.0",
47
+ "@quenty/rx": "^13.16.0",
48
+ "@quenty/rxbinderutils": "^14.18.0",
49
+ "@quenty/servicebag": "^11.11.0",
50
+ "@quenty/signal": "^7.10.0",
51
+ "@quenty/string": "^3.3.0",
52
+ "@quenty/table": "^3.7.0",
53
+ "@quenty/valueobject": "^13.16.0"
54
54
  },
55
55
  "publishConfig": {
56
56
  "access": "public"
57
57
  },
58
- "gitHead": "76096921c6c965e5c4f9c796f97642d16d628c6b"
58
+ "gitHead": "67863b6715e6da8dc1477d07f1ec048c76717bce"
59
59
  }
@@ -44,16 +44,16 @@ function ChatProviderService:Init(serviceBag)
44
44
  -- note: normally we don't expose default API surfaces like this with defaults, however, because this only affects developers and this
45
45
  -- tends to significantly improve feedback we're leaving this default configuration in place.
46
46
  self:SetDeveloperTag(ChatTagDataUtils.createChatTagData({
47
- TagText = "(dev)",
48
- LocalizedText = LocalizedTextUtils.create("chatTags.dev"),
49
- TagPriority = 15,
50
- TagColor = Color3.fromRGB(245, 163, 27),
47
+ TagText = "(dev)";
48
+ LocalizedText = LocalizedTextUtils.create("chatTags.dev");
49
+ TagPriority = 15;
50
+ TagColor = Color3.fromRGB(245, 163, 27);
51
51
  }))
52
52
  self:SetAdminTag(ChatTagDataUtils.createChatTagData({
53
- TagText = "(mod)",
54
- LocalizedText = LocalizedTextUtils.create("chatTags.mod"),
55
- TagPriority = 10,
56
- TagColor = Color3.fromRGB(78, 205, 196),
53
+ TagText = "(mod)";
54
+ LocalizedText = LocalizedTextUtils.create("chatTags.mod");
55
+ TagPriority = 10;
56
+ TagColor = Color3.fromRGB(78, 205, 196);
57
57
  }))
58
58
  end
59
59
 
@@ -103,9 +103,9 @@ function ChatProviderService:SetAdminTag(chatTagData)
103
103
  else
104
104
  return Rx.EMPTY
105
105
  end
106
- end),
106
+ end)
107
107
  })
108
- end),
108
+ end)
109
109
  })
110
110
 
111
111
  self._maid._admin = self:_addObservablePlayerTag(observeBrio, chatTagData)
@@ -131,9 +131,10 @@ function ChatProviderService:_addObservablePlayerTag(observePlayersBrio, chatTag
131
131
  local maid = brio:ToMaid()
132
132
  local player = brio:GetValue()
133
133
 
134
- maid:GivePromise(self:PromiseAddChatTag(player, chatTagData)):Then(function(chatTag)
135
- maid:GiveTask(chatTag)
136
- end)
134
+ maid:GivePromise(self:PromiseAddChatTag(player, chatTagData))
135
+ :Then(function(chatTag)
136
+ maid:GiveTask(chatTag)
137
+ end)
137
138
  end))
138
139
 
139
140
  return topMaid
@@ -152,9 +153,10 @@ function ChatProviderService:PromiseAddChatTag(player, chatTagData)
152
153
 
153
154
  local hasChatTagBinder = self._serviceBag:GetService(require("HasChatTags"))
154
155
 
155
- return hasChatTagBinder:Promise(player):Then(function(hasChatTag)
156
- return hasChatTag:AddChatTag(chatTagData)
157
- end)
156
+ return hasChatTagBinder:Promise(player)
157
+ :Then(function(hasChatTag)
158
+ return hasChatTag:AddChatTag(chatTagData)
159
+ end)
158
160
  end
159
161
 
160
162
  --[=[
@@ -162,7 +164,7 @@ end
162
164
 
163
165
  @param player Player
164
166
  ]=]
165
- function ChatProviderService:ClearChatTags(player: Player)
167
+ function ChatProviderService:ClearChatTags(player)
166
168
  assert(typeof(player) == "Instance" and player:IsA("Player"), "Bad player")
167
169
 
168
170
  local hasChatTagBinder = self._serviceBag:GetService(require("HasChatTags"))
@@ -183,15 +185,16 @@ function ChatProviderService:PromiseSetSpeakerTags(speakerName, chatTagDataList)
183
185
  assert(type(speakerName) == "string", "Bad speakerName")
184
186
  assert(ChatTagDataUtils.isChatTagDataList(chatTagDataList))
185
187
 
186
- return self:_promiseSpeaker(speakerName):Then(function(speaker)
187
- if not speaker then
188
- return nil
189
- end
188
+ return self:_promiseSpeaker(speakerName)
189
+ :Then(function(speaker)
190
+ if not speaker then
191
+ return nil
192
+ end
190
193
 
191
- speaker:SetExtraData("Tags", chatTagDataList)
192
- end, function(err)
193
- warn("[ChatProviderService.PromiseSetTags] - No speaker found", err)
194
- end)
194
+ speaker:SetExtraData("Tags", chatTagDataList)
195
+ end, function(err)
196
+ warn("[ChatProviderService.PromiseSetTags] - No speaker found", err)
197
+ end)
195
198
  end
196
199
 
197
200
  function ChatProviderService:_getChatServiceAsync()
@@ -227,6 +230,7 @@ function ChatProviderService:_promiseChatService()
227
230
  return Promise.resolved(self._chatServicePromise)
228
231
  end
229
232
 
233
+
230
234
  function ChatProviderService:_promiseSpeaker(speakerName)
231
235
  assert(type(speakerName) == "string", "Bad speakerName")
232
236
 
@@ -269,4 +273,4 @@ function ChatProviderService:_promiseSpeaker(speakerName)
269
273
  end)
270
274
  end
271
275
 
272
- return ChatProviderService
276
+ return ChatProviderService