@needle-tools/gltf-progressive 2.0.0-alpha.3 → 2.1.0-alpha

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/lib/loaders.d.ts CHANGED
@@ -23,10 +23,10 @@ export declare function createLoaders(renderer: WebGLRenderer | null): {
23
23
  meshoptDecoder: {
24
24
  supported: boolean;
25
25
  ready: Promise<void>;
26
- decodeVertexBuffer: (target: Uint8Array, count: number, size: number, source: Uint8Array, filter?: string | undefined) => void;
26
+ decodeVertexBuffer: (target: Uint8Array, count: number, size: number, source: Uint8Array, filter?: string) => void;
27
27
  decodeIndexBuffer: (target: Uint8Array, count: number, size: number, source: Uint8Array) => void;
28
28
  decodeIndexSequence: (target: Uint8Array, count: number, size: number, source: Uint8Array) => void;
29
- decodeGltfBuffer: (target: Uint8Array, count: number, size: number, source: Uint8Array, mode: string, filter?: string | undefined) => void;
29
+ decodeGltfBuffer: (target: Uint8Array, count: number, size: number, source: Uint8Array, mode: string, filter?: string) => void;
30
30
  };
31
31
  };
32
32
  export declare function addDracoAndKTX2Loaders(loader: GLTFLoader): void;
package/lib/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  // replaced at build time
2
- export const version = "2.0.0-alpha.3";
2
+ export const version = "2.1.0-alpha";
3
3
  globalThis["GLTF_PROGRESSIVE_VERSION"] = version;
4
4
  console.debug(`[gltf-progressive] version ${version}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@needle-tools/gltf-progressive",
3
- "version": "2.0.0-alpha.3",
3
+ "version": "2.1.0-alpha",
4
4
  "description": "three.js support for loading glTF or GLB files that contain progressive loading data",
5
5
  "homepage": "https://needle.tools",
6
6
  "author": {
@@ -47,7 +47,7 @@
47
47
  },
48
48
  "devDependencies": {
49
49
  "@stylistic/eslint-plugin-ts": "^1.5.4",
50
- "@types/three": "0.162.0",
50
+ "@types/three": "0.169.0",
51
51
  "@typescript-eslint/eslint-plugin": "^6.2.0",
52
52
  "@typescript-eslint/parser": "^6.2.0",
53
53
  "eslint": "^8.56.0",