@quenty/marketplaceutils 8.0.0 → 8.0.1-canary.445.bf8e4c3.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
+ ## [8.0.1-canary.445.bf8e4c3.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/marketplaceutils@8.0.0...@quenty/marketplaceutils@8.0.1-canary.445.bf8e4c3.0) (2024-02-14)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Remove info type as nil ([ee7e5d6](https://github.com/Quenty/NevermoreEngine/commit/ee7e5d6ada857eba67b462aa37a00de9f430ae97))
12
+
13
+
14
+
15
+
16
+
6
17
  # [8.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/marketplaceutils@7.2.0...@quenty/marketplaceutils@8.0.0) (2024-02-13)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/marketplaceutils
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2014-2023 James Onnen (Quenty)
3
+ Copyright (c) 2014-2024 James Onnen (Quenty)
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/marketplaceutils",
3
- "version": "8.0.0",
3
+ "version": "8.0.1-canary.445.bf8e4c3.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": "^8.0.0",
30
- "@quenty/promise": "^8.0.0"
29
+ "@quenty/loader": "8.0.1-canary.445.bf8e4c3.0",
30
+ "@quenty/promise": "8.0.1-canary.445.bf8e4c3.0"
31
31
  },
32
32
  "publishConfig": {
33
33
  "access": "public"
34
34
  },
35
- "gitHead": "5736b108e4d23cd4c9e761bbe4cc9fed6fb32dfa"
35
+ "gitHead": "bf8e4c3cbff3de4e4c7ffbfc768c1f7ae2ff9e42"
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