@quenty/marketplaceutils 6.1.0 → 6.1.1-canary.330.de4a2f4.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 +8 -0
- package/package.json +4 -4
- package/src/Shared/MarketplaceUtils.lua +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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
|
+
## [6.1.1-canary.330.de4a2f4.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/marketplaceutils@6.1.0...@quenty/marketplaceutils@6.1.1-canary.330.de4a2f4.0) (2023-02-27)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @quenty/marketplaceutils
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [6.1.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/marketplaceutils@6.0.1...@quenty/marketplaceutils@6.1.0) (2023-02-21)
|
|
7
15
|
|
|
8
16
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/marketplaceutils",
|
|
3
|
-
"version": "6.1.0",
|
|
3
|
+
"version": "6.1.1-canary.330.de4a2f4.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": "
|
|
30
|
-
"@quenty/promise": "
|
|
29
|
+
"@quenty/loader": "6.1.0",
|
|
30
|
+
"@quenty/promise": "6.1.1-canary.330.de4a2f4.0"
|
|
31
31
|
},
|
|
32
32
|
"publishConfig": {
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "de4a2f4cacbb79bb0d35e3de34c24552ac5470cb"
|
|
36
36
|
}
|
|
@@ -46,7 +46,7 @@ local MarketplaceUtils = {}
|
|
|
46
46
|
|
|
47
47
|
--[=[
|
|
48
48
|
Product info result for gamepasses.
|
|
49
|
-
@interface
|
|
49
|
+
@interface GamePassOrDeveloperProductInfo
|
|
50
50
|
.Creator CreatorProductInfo -- A table of information describing the creator of the asset
|
|
51
51
|
.ProductId number -- If the InfoType was Product, this is the product ID
|
|
52
52
|
.IconImageAssetId number -- This is the asset ID of the product/pass icon, or 0 if there isn't one
|
|
@@ -65,7 +65,7 @@ local MarketplaceUtils = {}
|
|
|
65
65
|
Wraps [MarketplaceService.GetProductInfo] and retrieves information about
|
|
66
66
|
@param assetId number
|
|
67
67
|
@param infoType InfoType
|
|
68
|
-
@return Promise<AssetProductInfo |
|
|
68
|
+
@return Promise<AssetProductInfo | GamePassOrDeveloperProductInfo>
|
|
69
69
|
]=]
|
|
70
70
|
function MarketplaceUtils.promiseProductInfo(assetId, infoType)
|
|
71
71
|
assert(type(assetId) == "number", "Bad assetId")
|