babylonjs-loaders 7.33.0 → 7.34.1

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.
@@ -61,9 +61,11 @@ export const GLTFFileLoaderMetadata: {
61
61
  readonly extensions: {
62
62
  readonly ".gltf": {
63
63
  readonly isBinary: false;
64
+ readonly mimeType: "model/gltf+json";
64
65
  };
65
66
  readonly ".glb": {
66
67
  readonly isBinary: true;
68
+ readonly mimeType: "model/gltf-binary";
67
69
  };
68
70
  };
69
71
  readonly canDirectLoad: (data: string) => boolean;
@@ -488,9 +490,11 @@ export class GLTFFileLoader extends GLTFLoaderOptions implements IDisposable, IS
488
490
  readonly extensions: {
489
491
  readonly ".gltf": {
490
492
  readonly isBinary: false;
493
+ readonly mimeType: "model/gltf+json";
491
494
  };
492
495
  readonly ".glb": {
493
496
  readonly isBinary: true;
497
+ readonly mimeType: "model/gltf-binary";
494
498
  };
495
499
  };
496
500
  /**
@@ -4872,9 +4876,11 @@ declare module BABYLON {
4872
4876
  readonly extensions: {
4873
4877
  readonly ".gltf": {
4874
4878
  readonly isBinary: false;
4879
+ readonly mimeType: "model/gltf+json";
4875
4880
  };
4876
4881
  readonly ".glb": {
4877
4882
  readonly isBinary: true;
4883
+ readonly mimeType: "model/gltf-binary";
4878
4884
  };
4879
4885
  };
4880
4886
  readonly canDirectLoad: (data: string) => boolean;
@@ -5280,9 +5286,11 @@ declare module BABYLON {
5280
5286
  readonly extensions: {
5281
5287
  readonly ".gltf": {
5282
5288
  readonly isBinary: false;
5289
+ readonly mimeType: "model/gltf+json";
5283
5290
  };
5284
5291
  readonly ".glb": {
5285
5292
  readonly isBinary: true;
5293
+ readonly mimeType: "model/gltf-binary";
5286
5294
  };
5287
5295
  };
5288
5296
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-loaders",
3
- "version": "7.33.0",
3
+ "version": "7.34.1",
4
4
  "main": "babylonjs.loaders.js",
5
5
  "types": "babylonjs.loaders.module.d.ts",
6
6
  "files": [
@@ -15,8 +15,8 @@
15
15
  "test:escheck": "es-check es6 ./babylonjs.loaders.js"
16
16
  },
17
17
  "dependencies": {
18
- "babylonjs": "^7.33.0",
19
- "babylonjs-gltf2interface": "^7.33.0"
18
+ "babylonjs": "^7.34.1",
19
+ "babylonjs-gltf2interface": "^7.34.1"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@dev/build-tools": "1.0.0",