@quenty/gameproductservice 8.3.1 → 8.4.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 +11 -0
- package/package.json +24 -23
- package/src/Client/GameProductServiceClient.lua +7 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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
|
+
# [8.4.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/gameproductservice@8.3.1...@quenty/gameproductservice@8.4.0) (2023-12-14)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* Support GameProductServiceClient not having a local player ([c9fd7a6](https://github.com/Quenty/NevermoreEngine/commit/c9fd7a684d3295fc62a7cfd34474642a2a51a430))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [8.3.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/gameproductservice@8.3.0...@quenty/gameproductservice@8.3.1) (2023-10-28)
|
|
7
18
|
|
|
8
19
|
**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": "8.
|
|
3
|
+
"version": "8.4.0",
|
|
4
4
|
"description": "Generalized monetization system for handling products and purchases correctly.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -27,30 +27,31 @@
|
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@quenty/attributeutils": "^9.
|
|
31
|
-
"@quenty/baseobject": "^7.
|
|
32
|
-
"@quenty/binder": "^9.
|
|
33
|
-
"@quenty/brio": "^9.
|
|
30
|
+
"@quenty/attributeutils": "^9.2.0",
|
|
31
|
+
"@quenty/baseobject": "^7.1.0",
|
|
32
|
+
"@quenty/binder": "^9.2.0",
|
|
33
|
+
"@quenty/brio": "^9.2.0",
|
|
34
34
|
"@quenty/enumutils": "^3.1.0",
|
|
35
|
-
"@quenty/gameconfig": "^6.
|
|
36
|
-
"@quenty/instanceutils": "^8.
|
|
37
|
-
"@quenty/loader": "^7.
|
|
35
|
+
"@quenty/gameconfig": "^6.4.0",
|
|
36
|
+
"@quenty/instanceutils": "^8.2.0",
|
|
37
|
+
"@quenty/loader": "^7.1.0",
|
|
38
38
|
"@quenty/maid": "^2.6.0",
|
|
39
|
-
"@quenty/marketplaceutils": "^7.
|
|
40
|
-
"@quenty/observablecollection": "^6.
|
|
41
|
-
"@quenty/playerbinder": "^9.
|
|
42
|
-
"@quenty/
|
|
43
|
-
"@quenty/
|
|
44
|
-
"@quenty/
|
|
45
|
-
"@quenty/
|
|
46
|
-
"@quenty/
|
|
47
|
-
"@quenty/
|
|
48
|
-
"@quenty/
|
|
49
|
-
"@quenty/
|
|
50
|
-
"@quenty/
|
|
39
|
+
"@quenty/marketplaceutils": "^7.1.0",
|
|
40
|
+
"@quenty/observablecollection": "^6.3.0",
|
|
41
|
+
"@quenty/playerbinder": "^9.2.0",
|
|
42
|
+
"@quenty/playerutils": "^3.3.0",
|
|
43
|
+
"@quenty/promise": "^7.1.0",
|
|
44
|
+
"@quenty/promisemaid": "^2.1.0",
|
|
45
|
+
"@quenty/receiptprocessing": "^2.2.0",
|
|
46
|
+
"@quenty/remoting": "^7.2.0",
|
|
47
|
+
"@quenty/rx": "^8.2.0",
|
|
48
|
+
"@quenty/rxbinderutils": "^9.2.0",
|
|
49
|
+
"@quenty/servicebag": "^7.1.0",
|
|
50
|
+
"@quenty/signal": "^3.1.0",
|
|
51
|
+
"@quenty/statestack": "^9.2.0",
|
|
51
52
|
"@quenty/string": "^3.1.0",
|
|
52
|
-
"@quenty/table": "^3.
|
|
53
|
-
"@quenty/valueobject": "^8.
|
|
53
|
+
"@quenty/table": "^3.4.0",
|
|
54
|
+
"@quenty/valueobject": "^8.2.0"
|
|
54
55
|
},
|
|
55
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "2c2dbbc0cb2fbb46b4f3270c559c63890fe18b26"
|
|
56
57
|
}
|
|
@@ -22,6 +22,8 @@ local RxBinderUtils = require("RxBinderUtils")
|
|
|
22
22
|
local Signal = require("Signal")
|
|
23
23
|
local GameProductServiceHelper = require("GameProductServiceHelper")
|
|
24
24
|
local GameConfigAssetTypeUtils = require("GameConfigAssetTypeUtils")
|
|
25
|
+
local RxPlayerUtils = require("RxPlayerUtils")
|
|
26
|
+
local RxBrioUtils = require("RxBrioUtils")
|
|
25
27
|
|
|
26
28
|
local GameProductServiceClient = {}
|
|
27
29
|
GameProductServiceClient.ServiceName = "GameProductServiceClient"
|
|
@@ -62,7 +64,11 @@ end
|
|
|
62
64
|
Starts the service. Should be done via [ServiceBag]
|
|
63
65
|
]=]
|
|
64
66
|
function GameProductServiceClient:Start()
|
|
65
|
-
self._maid:GiveTask(
|
|
67
|
+
self._maid:GiveTask(RxPlayerUtils.observeLocalPlayerBrio():Pipe({
|
|
68
|
+
RxBrioUtils.switchMapBrio(function(localPlayer)
|
|
69
|
+
return RxBinderUtils.observeBoundClassBrio(self._binders.PlayerProductManager, localPlayer)
|
|
70
|
+
end)
|
|
71
|
+
}):Subscribe(function(brio)
|
|
66
72
|
if brio:IsDead() then
|
|
67
73
|
return
|
|
68
74
|
end
|