@quenty/insertserviceutils 10.10.1 → 10.10.2
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 +11 -0
- package/package.json +4 -4
- package/src/Shared/InsertServiceUtils.lua +3 -2
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
|
+
## [10.10.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/insertserviceutils@10.10.1...@quenty/insertserviceutils@10.10.2) (2025-04-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Add types to packages ([2374fb2](https://github.com/Quenty/NevermoreEngine/commit/2374fb2b043cfbe0e9b507b3316eec46a4e353a0))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [10.10.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/insertserviceutils@10.10.0...@quenty/insertserviceutils@10.10.1) (2025-03-21)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @quenty/insertserviceutils
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/insertserviceutils",
|
|
3
|
-
"version": "10.10.
|
|
3
|
+
"version": "10.10.2",
|
|
4
4
|
"description": "InsertServiceUtils to make loading models via insert service easy",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"Quenty"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@quenty/loader": "^10.8.
|
|
28
|
-
"@quenty/promise": "^10.10.
|
|
27
|
+
"@quenty/loader": "^10.8.1",
|
|
28
|
+
"@quenty/promise": "^10.10.2"
|
|
29
29
|
},
|
|
30
30
|
"publishConfig": {
|
|
31
31
|
"access": "public"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "78c3ac0ab08dd18085b6e6e6e4f745e76ed99f68"
|
|
34
34
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
--!strict
|
|
1
2
|
--[=[
|
|
2
3
|
@class InsertServiceUtils
|
|
3
4
|
]=]
|
|
@@ -16,7 +17,7 @@ local InsertServiceUtils = {}
|
|
|
16
17
|
@param assetId number
|
|
17
18
|
@return Promise<Instance>
|
|
18
19
|
]=]
|
|
19
|
-
function InsertServiceUtils.promiseAsset(assetId)
|
|
20
|
+
function InsertServiceUtils.promiseAsset(assetId: number): Promise.Promise<Instance>
|
|
20
21
|
assert(type(assetId) == "number", "Bad assetId")
|
|
21
22
|
|
|
22
23
|
if assetId == 0 then
|
|
@@ -36,7 +37,7 @@ function InsertServiceUtils.promiseAsset(assetId)
|
|
|
36
37
|
return reject("Result was not an instance")
|
|
37
38
|
end
|
|
38
39
|
|
|
39
|
-
resolve(result)
|
|
40
|
+
return resolve(result)
|
|
40
41
|
end)
|
|
41
42
|
end
|
|
42
43
|
|