@loaders.gl/flatgeobuf 4.4.0-alpha.9 → 4.4.0

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.
@@ -26,15 +26,15 @@ export declare function fgbToBinaryFeature(geometry: FGBFeature | null, type: Ge
26
26
  };
27
27
  } | {
28
28
  positions: {
29
- value: Float64Array;
29
+ value: Float64Array<ArrayBuffer>;
30
30
  size: any;
31
31
  };
32
32
  primitivePolygonIndices: {
33
- value: Uint32Array;
33
+ value: Uint32Array<ArrayBuffer>;
34
34
  size: number;
35
35
  };
36
36
  polygonIndices: {
37
- value: Uint32Array;
37
+ value: Uint32Array<ArrayBuffer>;
38
38
  size: number;
39
39
  };
40
40
  } | null;
@@ -45,15 +45,15 @@ export declare function fgbToBinaryGeometry(geometry: FGBGeometry | null, type:
45
45
  };
46
46
  } | {
47
47
  positions: {
48
- value: Float64Array;
48
+ value: Float64Array<ArrayBuffer>;
49
49
  size: any;
50
50
  };
51
51
  primitivePolygonIndices: {
52
- value: Uint32Array;
52
+ value: Uint32Array<ArrayBuffer>;
53
53
  size: number;
54
54
  };
55
55
  polygonIndices: {
56
- value: Uint32Array;
56
+ value: Uint32Array<ArrayBuffer>;
57
57
  size: number;
58
58
  };
59
59
  } | null;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@loaders.gl/flatgeobuf",
3
3
  "description": "Loader for FlatGeobuf",
4
- "version": "4.4.0-alpha.9",
4
+ "version": "4.4.0",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "publishConfig": {
@@ -47,9 +47,9 @@
47
47
  "build-worker": "esbuild src/workers/flatgeobuf-worker.ts --bundle --outfile=dist/flatgeobuf-worker.js --define:__VERSION__=\\\"$npm_package_version\\\""
48
48
  },
49
49
  "dependencies": {
50
- "@loaders.gl/gis": "4.4.0-alpha.9",
51
- "@loaders.gl/loader-utils": "4.4.0-alpha.9",
52
- "@loaders.gl/schema": "4.4.0-alpha.9",
50
+ "@loaders.gl/gis": "4.4.0",
51
+ "@loaders.gl/loader-utils": "4.4.0",
52
+ "@loaders.gl/schema": "4.4.0",
53
53
  "@math.gl/proj4": "^4.1.0",
54
54
  "flatgeobuf": "3.27.2"
55
55
  },
@@ -59,5 +59,5 @@
59
59
  "peerDependencies": {
60
60
  "@loaders.gl/core": "4.4.0-alpha.1"
61
61
  },
62
- "gitHead": "e9e6710379718c7663e97eba868c76e15de4cb84"
62
+ "gitHead": "b8a23bc05946bde7089936ff3ea1651ee9a45536"
63
63
  }
@@ -88,6 +88,7 @@ export async function* deserializeStream(
88
88
  headerMetaFn?: HeaderMetaFn
89
89
  ): AsyncGenerator<IFeature> {
90
90
  const reader = slice(stream);
91
+ // @ts-expect-error Looks like we need to return .buffer but this is forked code
91
92
  const read: ReadFn = async (size) => await reader.slice(size);
92
93
 
93
94
  let bytes = new Uint8Array(await read(8, 'magic bytes'));