@carto/ps-react-maps 4.3.1 → 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.
@@ -9,6 +9,8 @@ export interface LayerStore {
9
9
  layers: Record<string, Layer>;
10
10
  setLayer: (id: string, layer: Partial<Layer>) => void;
11
11
  removeLayer: (id: string) => void;
12
+ getLayers: () => Record<string, Layer>;
13
+ getLayer: (id: string) => Layer | undefined;
12
14
  }
13
15
  /**
14
16
  * @alpha - This property is experimental and may change in the future.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carto/ps-react-maps",
3
- "version": "4.3.1",
3
+ "version": "4.4.0",
4
4
  "description": "CARTO's Professional Service React DeckGL library",
5
5
  "type": "module",
6
6
  "dependencies": {},