@quenty/gameproductservice 3.2.0 → 3.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,25 @@
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
+ ## [3.3.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/gameproductservice@3.3.0...@quenty/gameproductservice@3.3.1) (2022-07-19)
7
+
8
+ **Note:** Version bump only for package @quenty/gameproductservice
9
+
10
+
11
+
12
+
13
+
14
+ # [3.3.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/gameproductservice@3.2.0...@quenty/gameproductservice@3.3.0) (2022-07-02)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * Can clean up services properly ([eb45e03](https://github.com/Quenty/NevermoreEngine/commit/eb45e03ce2897b18f1ae460974bf2bbb9e27cb97))
20
+
21
+
22
+
23
+
24
+
6
25
  # [3.2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/gameproductservice@3.1.0...@quenty/gameproductservice@3.2.0) (2022-06-24)
7
26
 
8
27
  **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": "3.2.0",
3
+ "version": "3.3.1",
4
4
  "description": "Generalized monetization system for handling products and purchases correctly.",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -29,20 +29,20 @@
29
29
  "dependencies": {
30
30
  "@quenty/attributeutils": "^6.1.0",
31
31
  "@quenty/baseobject": "^5.0.0",
32
- "@quenty/binder": "^6.1.0",
33
- "@quenty/gameconfig": "^3.2.0",
32
+ "@quenty/binder": "^6.2.0",
33
+ "@quenty/gameconfig": "^3.3.1",
34
34
  "@quenty/loader": "^5.0.0",
35
35
  "@quenty/maid": "^2.3.0",
36
36
  "@quenty/marketplaceutils": "^5.0.0",
37
- "@quenty/playerbinder": "^6.1.0",
37
+ "@quenty/playerbinder": "^6.2.0",
38
38
  "@quenty/promise": "^5.0.0",
39
39
  "@quenty/remoting": "^5.1.0",
40
40
  "@quenty/rx": "^5.1.0",
41
- "@quenty/rxbinderutils": "^6.1.0",
41
+ "@quenty/rxbinderutils": "^6.2.0",
42
42
  "@quenty/servicebag": "^5.0.0",
43
43
  "@quenty/signal": "^2.2.0",
44
44
  "@quenty/statestack": "^6.1.0",
45
45
  "@quenty/table": "^3.1.0"
46
46
  },
47
- "gitHead": "c61297d0df1ec45ff9dddf62043c628f3c285a5d"
47
+ "gitHead": "67bd6a4f1957c3727c208d23c564c5757de6d7c8"
48
48
  }
@@ -29,6 +29,11 @@ function GameProductService:Start()
29
29
  MarketplaceService.ProcessReceipt = function(...)
30
30
  return self:_processReceipt(...)
31
31
  end
32
+
33
+ self._maid:GiveTask(function()
34
+ -- This might be unsafe
35
+ MarketplaceService.ProcessReceipt = nil
36
+ end)
32
37
  end
33
38
 
34
39
  function GameProductService:GetPlayerProductManagerBinder()
@@ -52,4 +57,8 @@ function GameProductService:_processReceipt(receiptInfo)
52
57
  return Enum.ProductPurchaseDecision.PurchaseGranted
53
58
  end
54
59
 
60
+ function GameProductService:Destroy()
61
+ self._maid:DoCleaning()
62
+ end
63
+
55
64
  return GameProductService