@quenty/chatproviderservice 9.76.1 → 9.77.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,6 +3,14 @@
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.77.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/chatproviderservice@9.76.2...@quenty/chatproviderservice@9.77.0) (2026-11-24)
7
+
8
+ **Note:** Version bump only for package @quenty/chatproviderservice
9
+
10
+ ## [9.76.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/chatproviderservice@9.76.1...@quenty/chatproviderservice@9.76.2) (2026-11-18)
11
+
12
+ **Note:** Version bump only for package @quenty/chatproviderservice
13
+
6
14
  ## [9.76.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/chatproviderservice@9.76.0...@quenty/chatproviderservice@9.76.1) (2026-10-24)
7
15
 
8
16
  **Note:** Version bump only for package @quenty/chatproviderservice
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/chatproviderservice",
3
- "version": "9.76.1",
3
+ "version": "9.77.0",
4
4
  "description": "Provide wrapper around chat system to allow tags to be set",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -28,39 +28,39 @@
28
28
  "Quenty"
29
29
  ],
30
30
  "dependencies": {
31
- "@quenty/attributeutils": "14.39.1",
32
- "@quenty/baseobject": "10.16.3",
33
- "@quenty/binder": "14.48.1",
34
- "@quenty/brio": "14.38.1",
35
- "@quenty/clienttranslator": "14.55.1",
36
- "@quenty/cmdrservice": "13.65.0",
37
- "@quenty/color3utils": "11.51.1",
38
- "@quenty/datastore": "13.60.0",
39
- "@quenty/instanceutils": "13.38.1",
40
- "@quenty/jestutils": "1.1.3",
31
+ "@quenty/attributeutils": "14.39.2",
32
+ "@quenty/baseobject": "10.16.4",
33
+ "@quenty/binder": "14.48.2",
34
+ "@quenty/brio": "14.38.2",
35
+ "@quenty/clienttranslator": "14.56.0",
36
+ "@quenty/cmdrservice": "13.66.0",
37
+ "@quenty/color3utils": "11.52.0",
38
+ "@quenty/datastore": "13.61.0",
39
+ "@quenty/instanceutils": "13.38.2",
40
+ "@quenty/jestutils": "1.1.4",
41
41
  "@quenty/loader": "10.11.3",
42
- "@quenty/localizedtextutils": "12.40.1",
43
- "@quenty/maid": "3.12.3",
44
- "@quenty/nevermore-test-runner": "1.6.3",
45
- "@quenty/permissionprovider": "14.54.1",
46
- "@quenty/playerbinder": "14.52.1",
47
- "@quenty/playermock": "1.11.1",
48
- "@quenty/playerutils": "8.46.1",
42
+ "@quenty/localizedtextutils": "12.40.2",
43
+ "@quenty/maid": "3.12.4",
44
+ "@quenty/nevermore-test-runner": "1.6.4",
45
+ "@quenty/permissionprovider": "14.54.2",
46
+ "@quenty/playerbinder": "14.52.2",
47
+ "@quenty/playermock": "1.11.2",
48
+ "@quenty/playerutils": "8.46.2",
49
49
  "@quenty/preferredparentutils": "4.4.2",
50
- "@quenty/promise": "10.25.1",
51
- "@quenty/remoting": "12.46.1",
50
+ "@quenty/promise": "10.25.2",
51
+ "@quenty/remoting": "12.46.2",
52
52
  "@quenty/richtext": "1.4.2",
53
- "@quenty/rx": "13.35.1",
54
- "@quenty/rxbinderutils": "14.48.1",
55
- "@quenty/servicebag": "11.21.3",
56
- "@quenty/signal": "7.13.4",
57
- "@quenty/string": "3.5.3",
53
+ "@quenty/rx": "13.35.2",
54
+ "@quenty/rxbinderutils": "14.48.2",
55
+ "@quenty/servicebag": "11.21.4",
56
+ "@quenty/signal": "7.13.5",
57
+ "@quenty/string": "3.5.4",
58
58
  "@quenty/table": "3.9.2",
59
- "@quenty/valueobject": "13.39.1",
60
- "@quentystudios/jest-lua": "3.10.0-quenty.2"
59
+ "@quenty/valueobject": "13.39.2",
60
+ "@quentystudios/jest-lua": "3.10.0-quenty.3"
61
61
  },
62
62
  "publishConfig": {
63
63
  "access": "public"
64
64
  },
65
- "gitHead": "75c7ed8f4f6a1b04c6885b7980451153b17222b4"
65
+ "gitHead": "191a328ce40545ac6fb0282d33dde5b0576494e6"
66
66
  }
@@ -22,6 +22,7 @@ local Maid = require("Maid")
22
22
  local PermissionProviderUtils = require("PermissionProviderUtils")
23
23
  local PermissionService = require("PermissionService")
24
24
  local PlayerMockService = require("PlayerMockService")
25
+ local PromiseTestUtils = require("PromiseTestUtils")
25
26
  local ServiceBag = require("ServiceBag")
26
27
 
27
28
  local describe = Jest.Globals.describe
@@ -36,18 +37,7 @@ local DEMO_TAG = ChatTagDataUtils.createChatTagData({
36
37
 
37
38
  local remoteNameCounter = 0
38
39
 
39
- local function waitForTagCount(player: Player, expected: number, timeout: number): number
40
- local deadline = os.clock() + timeout
41
-
42
- repeat
43
- local container = player:FindFirstChild(HasChatTagsConstants.TAG_CONTAINER_NAME)
44
- local count = if container then #container:GetChildren() else 0
45
- if count == expected then
46
- return count
47
- end
48
- task.wait(0.1)
49
- until os.clock() > deadline
50
-
40
+ local function getTagCount(player: Player): number
51
41
  local container = player:FindFirstChild(HasChatTagsConstants.TAG_CONTAINER_NAME)
52
42
  return if container then #container:GetChildren() else 0
53
43
  end
@@ -126,7 +116,7 @@ describe("ChatProviderService.PromiseAddChatTag", function()
126
116
  local controller = setup()
127
117
  local player = controller.newMock()
128
118
 
129
- local tag = controller.chatProviderService:PromiseAddChatTag(player, DEMO_TAG):Wait()
119
+ local tag = PromiseTestUtils.awaitFulfilled(controller.chatProviderService:PromiseAddChatTag(player, DEMO_TAG))
130
120
 
131
121
  expect(tag:GetAttribute(ChatTagConstants.TAG_TEXT_ATTRIBUTE)).toBe(DEMO_TAG.TagText)
132
122
  expect(tag:IsDescendantOf(player)).toBe(true)
@@ -136,7 +126,7 @@ describe("ChatProviderService.PromiseAddChatTag", function()
136
126
  local controller = setup()
137
127
  local player = controller.newMock()
138
128
 
139
- local tag = controller.chatProviderService:PromiseAddChatTag(player, DEMO_TAG):Wait()
129
+ local tag = PromiseTestUtils.awaitFulfilled(controller.chatProviderService:PromiseAddChatTag(player, DEMO_TAG))
140
130
  tag:Destroy()
141
131
 
142
132
  expect(tag:IsDescendantOf(player)).toBe(false)
@@ -150,14 +140,14 @@ describe("ChatProviderService.SetDeveloperTag", function()
150
140
  local controller = setup(CREATOR_USER_ID)
151
141
  local player = controller.newMock(CREATOR_USER_ID)
152
142
 
153
- expect(waitForTagCount(player, 1, 10)).toBe(1)
143
+ expect(getTagCount(player)).toBe(1)
154
144
  end)
155
145
 
156
146
  it("leaves everybody else alone", function()
157
147
  local controller = setup(CREATOR_USER_ID)
158
148
  local player = controller.newMock(CREATOR_USER_ID + 1)
159
149
 
160
- expect(waitForTagCount(player, 0, 3)).toBe(0)
150
+ expect(getTagCount(player)).toBe(0)
161
151
  end)
162
152
 
163
153
  --[[
@@ -171,7 +161,7 @@ describe("ChatProviderService.SetDeveloperTag", function()
171
161
 
172
162
  local player = controller.newMock(CREATOR_USER_ID)
173
163
 
174
- expect(waitForTagCount(player, 0, 3)).toBe(0)
164
+ expect(getTagCount(player)).toBe(0)
175
165
  end)
176
166
  end)
177
167
 
@@ -180,7 +170,7 @@ describe("ChatProviderService.ClearChatTags", function()
180
170
  local controller = setup()
181
171
  local player = controller.newMock()
182
172
 
183
- local tag = controller.chatProviderService:PromiseAddChatTag(player, DEMO_TAG):Wait()
173
+ local tag = PromiseTestUtils.awaitFulfilled(controller.chatProviderService:PromiseAddChatTag(player, DEMO_TAG))
184
174
  controller.chatProviderService:ClearChatTags(player)
185
175
 
186
176
  expect(tag.Parent).toBe(nil)