babylonjs-serializers 8.48.0 → 8.48.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.
@@ -797,7 +797,7 @@ export class DataWriter {
797
797
  writeTypedArray(value: Exclude<TypedArray, BigInt64Array | BigUint64Array>): void;
798
798
  constructor(byteLength: number);
799
799
  get byteOffset(): number;
800
- getOutputData(): Uint8Array;
800
+ getOutputData(): Uint8Array<ArrayBuffer>;
801
801
  writeUInt8(value: number): void;
802
802
  writeInt8(value: number): void;
803
803
  writeInt16(entry: number): void;
@@ -839,7 +839,7 @@ export class BufferManager {
839
839
  * @param bufferViews The list of bufferViews to be populated while writing the binary
840
840
  * @returns The binary buffer
841
841
  */
842
- generateBinary(bufferViews: IBufferView[]): Uint8Array;
842
+ generateBinary(bufferViews: IBufferView[]): Uint8Array<ArrayBuffer>;
843
843
  /**
844
844
  * Creates a buffer view based on the supplied arguments
845
845
  * @param data a TypedArray to create the bufferView for
@@ -2594,7 +2594,7 @@ declare module BABYLON {
2594
2594
  writeTypedArray(value: Exclude<TypedArray, BigInt64Array | BigUint64Array>): void;
2595
2595
  constructor(byteLength: number);
2596
2596
  get byteOffset(): number;
2597
- getOutputData(): Uint8Array;
2597
+ getOutputData(): Uint8Array<ArrayBuffer>;
2598
2598
  writeUInt8(value: number): void;
2599
2599
  writeInt8(value: number): void;
2600
2600
  writeInt16(entry: number): void;
@@ -2633,7 +2633,7 @@ declare module BABYLON {
2633
2633
  * @param bufferViews The list of bufferViews to be populated while writing the binary
2634
2634
  * @returns The binary buffer
2635
2635
  */
2636
- generateBinary(bufferViews: BABYLON.GLTF2.IBufferView[]): Uint8Array;
2636
+ generateBinary(bufferViews: BABYLON.GLTF2.IBufferView[]): Uint8Array<ArrayBuffer>;
2637
2637
  /**
2638
2638
  * Creates a buffer view based on the supplied arguments
2639
2639
  * @param data a TypedArray to create the bufferView for
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-serializers",
3
- "version": "8.48.0",
3
+ "version": "8.48.1",
4
4
  "main": "babylonjs.serializers.min.js",
5
5
  "types": "babylonjs.serializers.module.d.ts",
6
6
  "files": [
@@ -15,8 +15,8 @@
15
15
  "test:escheck": "es-check es6 ./babylonjs.serializers.js"
16
16
  },
17
17
  "dependencies": {
18
- "babylonjs": "8.48.0",
19
- "babylonjs-gltf2interface": "8.48.0"
18
+ "babylonjs": "8.48.1",
19
+ "babylonjs-gltf2interface": "8.48.1"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@dev/build-tools": "1.0.0",