@quenty/marketplaceutils 9.0.0 → 10.0.1-canary.446.cd67bf3.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,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
+ ## [10.0.1-canary.446.cd67bf3.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/marketplaceutils@10.0.0...@quenty/marketplaceutils@10.0.1-canary.446.cd67bf3.0) (2024-02-14)
7
+
8
+ **Note:** Version bump only for package @quenty/marketplaceutils
9
+
10
+
11
+
12
+
13
+
14
+ # [10.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/marketplaceutils@9.0.0...@quenty/marketplaceutils@10.0.0) (2024-02-14)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * Remove info type as nil ([ee7e5d6](https://github.com/Quenty/NevermoreEngine/commit/ee7e5d6ada857eba67b462aa37a00de9f430ae97))
20
+
21
+
22
+
23
+
24
+
6
25
  # [9.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/marketplaceutils@8.0.0...@quenty/marketplaceutils@9.0.0) (2024-02-13)
7
26
 
8
27
  **Note:** Version bump only for package @quenty/marketplaceutils
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/marketplaceutils",
3
- "version": "9.0.0",
3
+ "version": "10.0.1-canary.446.cd67bf3.0",
4
4
  "description": "Provides utility methods for MarketplaceService",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -26,11 +26,11 @@
26
26
  "Quenty"
27
27
  ],
28
28
  "dependencies": {
29
- "@quenty/loader": "^9.0.0",
30
- "@quenty/promise": "^9.0.0"
29
+ "@quenty/loader": "9.0.1-canary.446.cd67bf3.0",
30
+ "@quenty/promise": "9.0.1-canary.446.cd67bf3.0"
31
31
  },
32
32
  "publishConfig": {
33
33
  "access": "public"
34
34
  },
35
- "gitHead": "f113de0adce246ebd8115adf49a80533ede329cc"
35
+ "gitHead": "cd67bf34d1d5c92f93eb5cc349b9e179cbd8a042"
36
36
  }
@@ -64,12 +64,12 @@ local MarketplaceUtils = {}
64
64
  --[=[
65
65
  Wraps [MarketplaceService.GetProductInfo] and retrieves information about
66
66
  @param assetId number
67
- @param infoType InfoType
67
+ @param infoType InfoType | nil
68
68
  @return Promise<AssetProductInfo | GamePassOrDeveloperProductInfo>
69
69
  ]=]
70
70
  function MarketplaceUtils.promiseProductInfo(assetId, infoType)
71
71
  assert(type(assetId) == "number", "Bad assetId")
72
- assert(typeof(infoType) == "EnumItem", "Bad infoType")
72
+ assert(typeof(infoType) == "EnumItem" or infoType == nil, "Bad infoType")
73
73
 
74
74
  return Promise.spawn(function(resolve, reject)
75
75
  -- We hope this caches