@deck.gl/core 9.2.8 → 9.2.9
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/dist/dist.dev.js +628 -288
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/lib/attribute/data-column.d.ts +1 -1
- package/dist/lib/attribute/data-column.d.ts.map +1 -1
- package/dist/lib/init.js +2 -2
- package/dist/types/layer-props.d.ts +2 -2
- package/dist/types/layer-props.d.ts.map +1 -1
- package/dist.min.js +75 -75
- package/package.json +5 -5
- package/src/lib/attribute/data-column.ts +1 -1
- package/src/types/layer-props.ts +9 -5
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "deck.gl core library",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"version": "9.2.
|
|
6
|
+
"version": "9.2.9",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
"@math.gl/sun": "^4.1.0",
|
|
52
52
|
"@math.gl/types": "^4.1.0",
|
|
53
53
|
"@math.gl/web-mercator": "^4.1.0",
|
|
54
|
-
"@probe.gl/env": "^4.1.
|
|
55
|
-
"@probe.gl/log": "^4.1.
|
|
56
|
-
"@probe.gl/stats": "^4.1.
|
|
54
|
+
"@probe.gl/env": "^4.1.1",
|
|
55
|
+
"@probe.gl/log": "^4.1.1",
|
|
56
|
+
"@probe.gl/stats": "^4.1.1",
|
|
57
57
|
"@types/offscreencanvas": "^2019.6.4",
|
|
58
58
|
"gl-matrix": "^3.0.0",
|
|
59
59
|
"mjolnir.js": "^3.0.0"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "b0e908d0c51316514a44221fcdb30b777c09d118"
|
|
62
62
|
}
|
|
@@ -102,7 +102,7 @@ export type DataColumnOptions<Options> = Options &
|
|
|
102
102
|
/** Internal API, use `type` instead */
|
|
103
103
|
logicalType?: LogicalDataType;
|
|
104
104
|
isIndexed?: boolean;
|
|
105
|
-
defaultValue?: number | number[]
|
|
105
|
+
defaultValue?: number | Readonly<number[]>;
|
|
106
106
|
};
|
|
107
107
|
|
|
108
108
|
export type DataColumnSettings<Options> = DataColumnOptions<Options> & {
|
package/src/types/layer-props.ts
CHANGED
|
@@ -53,14 +53,18 @@ export type Accessor<In, Out> = Out | AccessorFunction<In, Out>;
|
|
|
53
53
|
/** A position in the format of `[lng, lat, alt?]` or `[x, y, z?]` depending on the coordinate system.
|
|
54
54
|
* See https://deck.gl/docs/developer-guide/coordinate-systems#positions
|
|
55
55
|
*/
|
|
56
|
-
export type Position =
|
|
56
|
+
export type Position =
|
|
57
|
+
| Readonly<[number, number]>
|
|
58
|
+
| Readonly<[number, number, number]>
|
|
59
|
+
| Readonly<Float32Array>
|
|
60
|
+
| Readonly<Float64Array>;
|
|
57
61
|
|
|
58
62
|
/** A color in the format of `[r, g, b, a?]` */
|
|
59
63
|
export type Color =
|
|
60
|
-
| [number, number, number]
|
|
61
|
-
| [number, number, number, number]
|
|
62
|
-
| Uint8Array
|
|
63
|
-
| Uint8ClampedArray
|
|
64
|
+
| Readonly<[number, number, number]>
|
|
65
|
+
| Readonly<[number, number, number, number]>
|
|
66
|
+
| Readonly<Uint8Array>
|
|
67
|
+
| Readonly<Uint8ClampedArray>;
|
|
64
68
|
|
|
65
69
|
export type Material = LightingModuleSettings['material'];
|
|
66
70
|
|