@kepler.gl/types 3.1.7 → 3.1.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/layers.d.ts CHANGED
@@ -419,12 +419,23 @@ export type LayerCallbacks = {
419
419
  count: number;
420
420
  }
421
421
  ) => void;
422
+ onWMSFeatureInfo?: (
423
+ idx: number,
424
+ props: {
425
+ featureInfo: Array<{name: string; value: string}> | string | null;
426
+ coordinate?: [number, number] | null;
427
+ }
428
+ ) => void;
422
429
  };
423
430
 
424
431
  export type BindedLayerCallbacks = {
425
432
  onLayerHover?: (value: any) => void;
426
433
  onSetLayerDomain?: (value: any) => void;
427
434
  onFilteredItemsChange?: (event: {id: string; count: number}) => void;
435
+ onWMSFeatureInfo?: (
436
+ featureInfo: Array<{name: string; value: string}> | string | null,
437
+ coordinate?: [number, number]
438
+ ) => void;
428
439
  };
429
440
 
430
441
  export type VisualChannelAggregation = 'colorAggregation' | 'sizeAggregation';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kepler.gl/types",
3
3
  "author": "Shan He <shan@uber.com>",
4
- "version": "3.1.7",
4
+ "version": "3.1.9",
5
5
  "description": "kepler.gl types used by kepler.gl components, actions and reducers",
6
6
  "license": "MIT",
7
7
  "types": "index.d.ts",
package/reducers.d.ts CHANGED
@@ -387,6 +387,7 @@ export declare type ExportImage = {
387
387
  processing: boolean;
388
388
  error: Error | false;
389
389
  center: boolean;
390
+ escapeXhtmlForWebpack?: boolean;
390
391
  };
391
392
 
392
393
  export type ExportData = {