@flowmap.gl/data 8.0.2 → 9.0.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.
package/src/types.ts CHANGED
@@ -144,7 +144,7 @@ export enum LocationFilterMode {
144
144
  export interface FlowCirclesLayerAttributes {
145
145
  length: number;
146
146
  attributes: {
147
- getPosition: LayersDataAttrValues<Float32Array>;
147
+ getPosition: LayersDataAttrValues<Float64Array>;
148
148
  getColor: LayersDataAttrValues<Uint8Array>;
149
149
  getInRadius: LayersDataAttrValues<Float32Array>;
150
150
  getOutRadius: LayersDataAttrValues<Float32Array>;
@@ -154,8 +154,8 @@ export interface FlowCirclesLayerAttributes {
154
154
  export interface FlowLinesLayerAttributes {
155
155
  length: number;
156
156
  attributes: {
157
- getSourcePosition: LayersDataAttrValues<Float32Array>;
158
- getTargetPosition: LayersDataAttrValues<Float32Array>;
157
+ getSourcePosition: LayersDataAttrValues<Float64Array>;
158
+ getTargetPosition: LayersDataAttrValues<Float64Array>;
159
159
  getThickness: LayersDataAttrValues<Float32Array>;
160
160
  getColor: LayersDataAttrValues<Uint8Array>;
161
161
  getEndpointOffsets: LayersDataAttrValues<Float32Array>;
package/src/util.ts CHANGED
@@ -4,9 +4,9 @@
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
 
7
- import {createSelectorCreator, defaultMemoize} from 'reselect';
7
+ import {createSelectorCreator, lruMemoize} from 'reselect';
8
8
 
9
- export const createDebugSelector = createSelectorCreator(defaultMemoize, {
9
+ export const createDebugSelector = createSelectorCreator(lruMemoize, {
10
10
  equalityCheck: (previousVal: any, currentVal: any) => {
11
11
  const rv = currentVal === previousVal;
12
12
  if (!rv) {
package/tsconfig.json CHANGED
@@ -2,7 +2,8 @@
2
2
  "extends": "../../tsconfig.common.json",
3
3
  "compilerOptions": {
4
4
  "noEmit": false,
5
- "outDir": "dist"
5
+ "outDir": "dist",
6
+ "rootDir": "src"
6
7
  },
7
8
  "include": [
8
9
  "src/**/*.ts",