@quenty/gameproductservice 14.71.0 → 14.72.1

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
+ ## [14.72.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/gameproductservice@14.72.0...@quenty/gameproductservice@14.72.1) (2026-09-03)
7
+
8
+ **Note:** Version bump only for package @quenty/gameproductservice
9
+
10
+ # [14.72.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/gameproductservice@14.71.0...@quenty/gameproductservice@14.72.0) (2026-09-02)
11
+
12
+ **Note:** Version bump only for package @quenty/gameproductservice
13
+
6
14
  # [14.71.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/gameproductservice@14.70.0...@quenty/gameproductservice@14.71.0) (2026-08-28)
7
15
 
8
16
  **Note:** Version bump only for package @quenty/gameproductservice
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/gameproductservice",
3
- "version": "14.71.0",
3
+ "version": "14.72.1",
4
4
  "description": "Generalized monetization system for handling products and purchases correctly.",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -31,39 +31,39 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@quenty/attributeutils": "14.38.0",
34
- "@quenty/avatareditorutils": "7.51.0",
34
+ "@quenty/avatareditorutils": "7.52.1",
35
35
  "@quenty/baseobject": "10.16.0",
36
- "@quenty/binder": "14.45.0",
36
+ "@quenty/binder": "14.46.0",
37
37
  "@quenty/brio": "14.37.0",
38
- "@quenty/cmdrservice": "13.60.0",
38
+ "@quenty/cmdrservice": "13.61.1",
39
39
  "@quenty/enumutils": "3.4.6",
40
- "@quenty/gameconfig": "12.67.0",
40
+ "@quenty/gameconfig": "12.68.1",
41
41
  "@quenty/instanceutils": "13.37.0",
42
42
  "@quenty/jestutils": "1.1.0",
43
43
  "@quenty/loader": "10.11.1",
44
44
  "@quenty/maid": "3.12.0",
45
- "@quenty/marketplaceutils": "11.32.0",
45
+ "@quenty/marketplaceutils": "11.33.1",
46
46
  "@quenty/nevermore-test-runner": "1.6.0",
47
- "@quenty/observablecollection": "12.50.0",
48
- "@quenty/permissionprovider": "14.51.0",
49
- "@quenty/playerbinder": "14.48.0",
50
- "@quenty/playermock": "1.8.0",
51
- "@quenty/playerutils": "8.43.0",
47
+ "@quenty/observablecollection": "12.51.1",
48
+ "@quenty/permissionprovider": "14.52.1",
49
+ "@quenty/playerbinder": "14.49.1",
50
+ "@quenty/playermock": "1.9.1",
51
+ "@quenty/playerutils": "8.44.1",
52
52
  "@quenty/promise": "10.24.0",
53
53
  "@quenty/promisemaid": "5.24.0",
54
- "@quenty/receiptprocessing": "7.44.0",
55
- "@quenty/remoting": "12.43.0",
54
+ "@quenty/receiptprocessing": "7.45.1",
55
+ "@quenty/remoting": "12.44.1",
56
56
  "@quenty/rx": "13.34.0",
57
- "@quenty/rxbinderutils": "14.45.0",
57
+ "@quenty/rxbinderutils": "14.46.0",
58
58
  "@quenty/servicebag": "11.21.0",
59
59
  "@quenty/signal": "7.13.2",
60
60
  "@quenty/statestack": "14.39.0",
61
61
  "@quenty/steputils": "3.9.0",
62
62
  "@quenty/string": "3.5.0",
63
63
  "@quenty/table": "3.9.2",
64
- "@quenty/tie": "10.49.0",
64
+ "@quenty/tie": "10.50.0",
65
65
  "@quenty/valueobject": "13.38.0",
66
66
  "@quentystudios/jest-lua": "3.10.0-quenty.2"
67
67
  },
68
- "gitHead": "346201e192e467cb71160f43029863853be855b5"
68
+ "gitHead": "76bd184d0b68008d8fbc9e5d07b12f28eeab21f5"
69
69
  }
@@ -126,7 +126,7 @@ end)
126
126
  describe("GameProductService server ownership from an injected lookup", function()
127
127
  it("resolves false for an uninjected gamepass and true for an injected one", function()
128
128
  local controller = setup()
129
- PlayerMock.writeLookup(controller.playerMock, "MarketplaceService.UserOwnsGamePassAsync", GAME_PASS_ID, true)
129
+ PlayerMock.writeLookup(controller.playerMock, "MarketplaceService.UserOwnsGamePassAsync", true, GAME_PASS_ID)
130
130
 
131
131
  expect(
132
132
  controller.awaitBool(
@@ -153,7 +153,7 @@ describe("GameProductService server ownership from an injected lookup", function
153
153
  it("resolves ownership queried by a configured asset key", function()
154
154
  local controller = setup()
155
155
  controller.gameConfigService:AddPass("test_pass", GAME_PASS_ID)
156
- PlayerMock.writeLookup(controller.playerMock, "MarketplaceService.UserOwnsGamePassAsync", GAME_PASS_ID, true)
156
+ PlayerMock.writeLookup(controller.playerMock, "MarketplaceService.UserOwnsGamePassAsync", true, GAME_PASS_ID)
157
157
 
158
158
  expect(
159
159
  controller.awaitBool(
@@ -188,7 +188,7 @@ end)
188
188
  describe("GameProductService ownership override", function()
189
189
  it("wins over the injected cloud answer", function()
190
190
  local controller = setup()
191
- PlayerMock.writeLookup(controller.playerMock, "MarketplaceService.UserOwnsGamePassAsync", GAME_PASS_ID, true)
191
+ PlayerMock.writeLookup(controller.playerMock, "MarketplaceService.UserOwnsGamePassAsync", true, GAME_PASS_ID)
192
192
 
193
193
  controller.awaitBool(
194
194
  controller.gameProductService:SetPlayerOwnershipOverride(
@@ -214,7 +214,7 @@ describe("GameProductService ownership override", function()
214
214
 
215
215
  it("clears back to the injected cloud answer", function()
216
216
  local controller = setup()
217
- PlayerMock.writeLookup(controller.playerMock, "MarketplaceService.UserOwnsGamePassAsync", GAME_PASS_ID, true)
217
+ PlayerMock.writeLookup(controller.playerMock, "MarketplaceService.UserOwnsGamePassAsync", true, GAME_PASS_ID)
218
218
 
219
219
  controller.awaitBool(
220
220
  controller.gameProductService:SetPlayerOwnershipOverride(
@@ -249,7 +249,7 @@ end)
249
249
  describe("GameProductServiceClient ownership for the designated mock", function()
250
250
  it("resolves the same injected ownership as the server realm", function()
251
251
  local controller = setup()
252
- PlayerMock.writeLookup(controller.playerMock, "MarketplaceService.UserOwnsGamePassAsync", GAME_PASS_ID, true)
252
+ PlayerMock.writeLookup(controller.playerMock, "MarketplaceService.UserOwnsGamePassAsync", true, GAME_PASS_ID)
253
253
 
254
254
  expect(
255
255
  controller.awaitBool(
@@ -298,7 +298,7 @@ end)
298
298
  describe("client-initiated gamepass prompt", function()
299
299
  it("grants server ownership once the marketplace confirms the client's purchase", function()
300
300
  local controller = setup()
301
- PlayerMock.writeLookup(controller.playerMock, "MarketplaceService.PromptGamePassPurchase", GAME_PASS_ID, true)
301
+ PlayerMock.writeLookup(controller.playerMock, "MarketplaceService.PromptGamePassPurchase", true, GAME_PASS_ID)
302
302
 
303
303
  local serverFired = {}
304
304
  local clientFired = {}
@@ -314,8 +314,8 @@ describe("client-initiated gamepass prompt", function()
314
314
  PlayerMock.writeLookup(
315
315
  controller.playerMock,
316
316
  "MarketplaceService.UserOwnsGamePassAsync",
317
- GAME_PASS_ID,
318
- true
317
+ true,
318
+ GAME_PASS_ID
319
319
  )
320
320
  end)
321
321
 
@@ -364,7 +364,7 @@ describe("client-initiated gamepass prompt", function()
364
364
  -- verifying here would read UserOwnsGamePassAsync's per-server cache, which can still answer
365
365
  -- `false` for a purchase that just completed and would lose a pass the player paid for. Games
366
366
  -- that want the claim checked enable server-only prompting; see the verification describe below.
367
- PlayerMock.writeLookup(controller.playerMock, "MarketplaceService.PromptGamePassPurchase", GAME_PASS_ID, true)
367
+ PlayerMock.writeLookup(controller.playerMock, "MarketplaceService.PromptGamePassPurchase", true, GAME_PASS_ID)
368
368
 
369
369
  local serverFired = {}
370
370
  controller.gameProductService.GamePassPurchased:Connect(function(player, gamePassId)
@@ -495,7 +495,7 @@ describe("gamepass purchase verification under server-only prompting", function(
495
495
  controller.gameProductService:SetServerOnlyPromptingEnabled(true)
496
496
 
497
497
  -- The marketplace shows the player owning the pass, as it would after a real purchase.
498
- PlayerMock.writeLookup(controller.playerMock, "MarketplaceService.UserOwnsGamePassAsync", GAME_PASS_ID, true)
498
+ PlayerMock.writeLookup(controller.playerMock, "MarketplaceService.UserOwnsGamePassAsync", true, GAME_PASS_ID)
499
499
 
500
500
  local serverFired = {}
501
501
  controller.gameProductService.GamePassPurchased:Connect(function(player, gamePassId)
@@ -545,7 +545,7 @@ end)
545
545
  describe("server-initiated gamepass prompt", function()
546
546
  it("resolves true on accept and marks the session purchase", function()
547
547
  local controller = setup()
548
- PlayerMock.writeLookup(controller.playerMock, "MarketplaceService.PromptGamePassPurchase", GAME_PASS_ID, true)
548
+ PlayerMock.writeLookup(controller.playerMock, "MarketplaceService.PromptGamePassPurchase", true, GAME_PASS_ID)
549
549
 
550
550
  local serverFired = {}
551
551
  controller.gameProductService.GamePassPurchased:Connect(function(player, gamePassId)
@@ -106,7 +106,7 @@ function PlayerProductManagerBase.new(player: Player, serviceBag: ServiceBag.Ser
106
106
  -- through [PlayerMock.writeLookup] (default: declined), routed through the same
107
107
  -- handler the engine's PromptGamePassPurchaseFinished would reach.
108
108
  local isPurchased =
109
- PlayerMock.readLookup(self._player, "MarketplaceService.PromptGamePassPurchase", gamePassId)
109
+ PlayerMock.callMethod(self._player, "MarketplaceService.PromptGamePassPurchase", gamePassId)
110
110
  self._maid:GiveTask(task.defer(function()
111
111
  (self :: any):_handleGamePassPromptFinished(gamePassId, isPurchased)
112
112
  end))