@mapfirst.ai/react 0.0.87 → 0.0.89

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/index.js CHANGED
@@ -1600,6 +1600,7 @@ function useMapFirst(options) {
1600
1600
  });
1601
1601
  instanceRef.current.adapter = adapter;
1602
1602
  instanceRef.current.isMapAttached = true;
1603
+ instanceRef.current.currentPlatform = "leaflet";
1603
1604
  instanceRef.current.refresh();
1604
1605
  leafletAttachedRef.current = true;
1605
1606
  },
package/dist/index.mjs CHANGED
@@ -1561,6 +1561,7 @@ function useMapFirst(options) {
1561
1561
  });
1562
1562
  instanceRef.current.adapter = adapter;
1563
1563
  instanceRef.current.isMapAttached = true;
1564
+ instanceRef.current.currentPlatform = "leaflet";
1564
1565
  instanceRef.current.refresh();
1565
1566
  leafletAttachedRef.current = true;
1566
1567
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mapfirst.ai/react",
3
- "version": "0.0.87",
3
+ "version": "0.0.89",
4
4
  "description": "React hooks for MapFirst SDK - Reactive state management for map properties",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -40,7 +40,7 @@
40
40
  "react": ">=17"
41
41
  },
42
42
  "dependencies": {
43
- "@mapfirst.ai/core": "0.0.77"
43
+ "@mapfirst.ai/core": "0.0.79"
44
44
  },
45
45
  "scripts": {
46
46
  "build": "tsup src/index.tsx --format esm,cjs --dts --clean"