@quenty/receiptprocessing 7.19.0-canary.ae8d76d.0 → 7.19.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 +2 -2
- package/package.json +10 -10
- package/src/Server/ReceiptProcessingService.lua +6 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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.19.0
|
|
6
|
+
# [7.19.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/receiptprocessing@7.18.3...@quenty/receiptprocessing@7.19.0) (2025-05-10)
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
### Bug Fixes
|
|
@@ -13,7 +13,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
13
13
|
|
|
14
14
|
### Features
|
|
15
15
|
|
|
16
|
-
* Add even more types ([
|
|
16
|
+
* Add even more types ([b31717d](https://github.com/Quenty/NevermoreEngine/commit/b31717d8c9f7620c457f5018a2affa760a65334a))
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/receiptprocessing",
|
|
3
|
-
"version": "7.19.0
|
|
3
|
+
"version": "7.19.0",
|
|
4
4
|
"description": "Centralize receipt processing within games since this is a constrained resource.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -25,17 +25,17 @@
|
|
|
25
25
|
"Quenty"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@quenty/enumutils": "3.4.2",
|
|
29
|
-
"@quenty/loader": "10.
|
|
30
|
-
"@quenty/maid": "3.
|
|
31
|
-
"@quenty/promise": "10.11.0
|
|
32
|
-
"@quenty/rx": "13.18.0
|
|
33
|
-
"@quenty/servicebag": "11.12.0
|
|
34
|
-
"@quenty/signal": "7.
|
|
35
|
-
"@quenty/valueobject": "13.18.0
|
|
28
|
+
"@quenty/enumutils": "^3.4.2",
|
|
29
|
+
"@quenty/loader": "^10.9.0",
|
|
30
|
+
"@quenty/maid": "^3.5.0",
|
|
31
|
+
"@quenty/promise": "^10.11.0",
|
|
32
|
+
"@quenty/rx": "^13.18.0",
|
|
33
|
+
"@quenty/servicebag": "^11.12.0",
|
|
34
|
+
"@quenty/signal": "^7.11.0",
|
|
35
|
+
"@quenty/valueobject": "^13.18.0"
|
|
36
36
|
},
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "20cff952c2cf06b959f2f11d2293bdef38acc604"
|
|
41
41
|
}
|
|
@@ -12,12 +12,12 @@ local RunService = game:GetService("RunService")
|
|
|
12
12
|
|
|
13
13
|
local EnumUtils = require("EnumUtils")
|
|
14
14
|
local Maid = require("Maid")
|
|
15
|
+
local Observable = require("Observable")
|
|
15
16
|
local ObservableSubscriptionTable = require("ObservableSubscriptionTable")
|
|
16
17
|
local Promise = require("Promise")
|
|
18
|
+
local ServiceBag = require("ServiceBag")
|
|
17
19
|
local Signal = require("Signal")
|
|
18
20
|
local ValueObject = require("ValueObject")
|
|
19
|
-
local ServiceBag = require("ServiceBag")
|
|
20
|
-
local Observable = require("Observable")
|
|
21
21
|
|
|
22
22
|
export type ReceiptInfo = {
|
|
23
23
|
PurchaseId: number,
|
|
@@ -181,7 +181,10 @@ function ReceiptProcessingService:_handleProcessReceiptAsync(receiptInfo: Receip
|
|
|
181
181
|
return self._defaultDecision.Value
|
|
182
182
|
end
|
|
183
183
|
|
|
184
|
-
function ReceiptProcessingService:_fireProcessed(
|
|
184
|
+
function ReceiptProcessingService:_fireProcessed(
|
|
185
|
+
receiptInfo: ReceiptInfo,
|
|
186
|
+
productPurchaseDecision: Enum.ProductPurchaseDecision
|
|
187
|
+
)
|
|
185
188
|
assert(EnumUtils.isOfType(Enum.ProductPurchaseDecision, productPurchaseDecision), "Bad productPurchaseDecision")
|
|
186
189
|
|
|
187
190
|
self.ReceiptProcessed:Fire(receiptInfo, productPurchaseDecision)
|