@quenty/gameproductservice 7.3.0 → 7.3.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,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
|
+
## [7.3.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/gameproductservice@7.3.0...@quenty/gameproductservice@7.3.1) (2023-04-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Ensure processing is handled properly ([e789a63](https://github.com/Quenty/NevermoreEngine/commit/e789a631d814622fcb37e1d14d03bf32956cf925))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [7.3.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/gameproductservice@7.2.0...@quenty/gameproductservice@7.3.0) (2023-04-24)
|
|
7
18
|
|
|
8
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/gameproductservice",
|
|
3
|
-
"version": "7.3.
|
|
3
|
+
"version": "7.3.1",
|
|
4
4
|
"description": "Generalized monetization system for handling products and purchases correctly.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"@quenty/table": "^3.2.0",
|
|
51
51
|
"@quenty/valueobject": "^7.12.0"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "6ba696b7627a4c0f95fe0c5a131c55866e67333b"
|
|
54
54
|
}
|
|
@@ -86,7 +86,7 @@ function GameProductService:Start()
|
|
|
86
86
|
end))
|
|
87
87
|
|
|
88
88
|
self._maid:GiveTask(self._receiptProcessingService:RegisterReceiptProcessor(function(receiptInfo)
|
|
89
|
-
self:_handleProcessReceipt(receiptInfo)
|
|
89
|
+
return self:_handleProcessReceipt(receiptInfo)
|
|
90
90
|
end))
|
|
91
91
|
end
|
|
92
92
|
|
|
@@ -173,15 +173,13 @@ function PlayerAssetMarketTracker:HandleProcessReceipt(_player, receiptInfo)
|
|
|
173
173
|
local pendingForAssetId = self._pendingPromises[productId]
|
|
174
174
|
|
|
175
175
|
if pendingForAssetId then
|
|
176
|
-
self
|
|
177
|
-
self._pendingPromises[productId] = nil
|
|
178
|
-
|
|
179
|
-
pendingForAssetId:Resolve(true)
|
|
176
|
+
self:HandlePurchaseEvent(productId, true)
|
|
180
177
|
|
|
181
178
|
return Enum.ProductPurchaseDecision.PurchaseGranted
|
|
182
179
|
end
|
|
183
180
|
|
|
184
|
-
|
|
181
|
+
-- Always grant...
|
|
182
|
+
return Enum.ProductPurchaseDecision.PurchaseGranted
|
|
185
183
|
end
|
|
186
184
|
|
|
187
185
|
return PlayerAssetMarketTracker
|