@quenty/gameproductservice 6.4.1 → 6.5.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,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
|
+
# [6.5.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/gameproductservice@6.4.1...@quenty/gameproductservice@6.5.0) (2023-03-31)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* Add bundle ownership configuration to GameProductService ([89b4fcd](https://github.com/Quenty/NevermoreEngine/commit/89b4fcd9ac1e0fa8ee96be099d3202b8051af5ef))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [6.4.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/gameproductservice@6.4.0...@quenty/gameproductservice@6.4.1) (2023-03-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": "6.
|
|
3
|
+
"version": "6.5.0",
|
|
4
4
|
"description": "Generalized monetization system for handling products and purchases correctly.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -29,22 +29,22 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@quenty/attributeutils": "^8.8.0",
|
|
31
31
|
"@quenty/baseobject": "^6.2.0",
|
|
32
|
-
"@quenty/binder": "^8.
|
|
33
|
-
"@quenty/gameconfig": "^5.
|
|
32
|
+
"@quenty/binder": "^8.10.0",
|
|
33
|
+
"@quenty/gameconfig": "^5.19.0",
|
|
34
34
|
"@quenty/loader": "^6.2.0",
|
|
35
35
|
"@quenty/maid": "^2.5.0",
|
|
36
|
-
"@quenty/marketplaceutils": "^6.
|
|
36
|
+
"@quenty/marketplaceutils": "^6.4.0",
|
|
37
37
|
"@quenty/observablecollection": "^5.9.0",
|
|
38
|
-
"@quenty/playerbinder": "^8.
|
|
38
|
+
"@quenty/playerbinder": "^8.10.0",
|
|
39
39
|
"@quenty/promise": "^6.3.0",
|
|
40
40
|
"@quenty/remoting": "^6.3.0",
|
|
41
41
|
"@quenty/rx": "^7.7.0",
|
|
42
|
-
"@quenty/rxbinderutils": "^8.
|
|
42
|
+
"@quenty/rxbinderutils": "^8.11.0",
|
|
43
43
|
"@quenty/servicebag": "^6.6.0",
|
|
44
44
|
"@quenty/signal": "^2.3.0",
|
|
45
|
-
"@quenty/statestack": "^8.
|
|
45
|
+
"@quenty/statestack": "^8.8.0",
|
|
46
46
|
"@quenty/string": "^3.1.0",
|
|
47
47
|
"@quenty/table": "^3.2.0"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "cf537ed1fe265276971486129beb372cbaaca4a6"
|
|
50
50
|
}
|
|
@@ -43,6 +43,7 @@ function PlayerMarketeer.new(player, configPicker)
|
|
|
43
43
|
-- Some assets can be owned and thus, are reflected here
|
|
44
44
|
local passOwnership = self:_addOwnershipTracker(GameConfigAssetTypes.PASS)
|
|
45
45
|
local assetOwnership = self:_addOwnershipTracker(GameConfigAssetTypes.ASSET)
|
|
46
|
+
local bundleOwnership = self:_addOwnershipTracker(GameConfigAssetTypes.BUNDLE)
|
|
46
47
|
|
|
47
48
|
-- Prompt
|
|
48
49
|
self._maid:GiveTask(asset.ShowPromptRequested:Connect(function(assetId)
|
|
@@ -68,6 +69,10 @@ function PlayerMarketeer.new(player, configPicker)
|
|
|
68
69
|
return MarketplaceUtils.promisePlayerOwnsAsset(self._player, assetId)
|
|
69
70
|
end)
|
|
70
71
|
|
|
72
|
+
bundleOwnership:SetQueryOwnershipCallback(function(assetId)
|
|
73
|
+
return MarketplaceUtils.promisePlayerOwnsBundle(self._player, assetId)
|
|
74
|
+
end)
|
|
75
|
+
|
|
71
76
|
return self
|
|
72
77
|
end
|
|
73
78
|
|