@threlte/gltf 1.0.0-next.1 → 1.0.0-next.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @threlte/gltf
2
2
 
3
+ ## 1.0.0-next.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 124eabab: Fixed preload method to return a Promise
8
+
3
9
  ## 1.0.0-next.1
4
10
 
5
11
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@threlte/gltf",
3
- "version": "1.0.0-next.1",
3
+ "version": "1.0.0-next.2",
4
4
  "description": "GLTF to Threlte converter",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -506,8 +506,8 @@ ${
506
506
  return ${useGltf}
507
507
  }
508
508
 
509
- export const preload${baseName} = () => {
510
- load()
509
+ export const preload${baseName} = async () => {
510
+ await load()
511
511
  }
512
512
  </script>
513
513
  `