@mapfirst.ai/react 0.0.43 → 0.0.44

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
@@ -1450,6 +1450,14 @@ function useMapFirst(options) {
1450
1450
  onSearchingStateChange: (searching) => {
1451
1451
  updateStateField(setState, "isSearching", searching);
1452
1452
  forwardCallback(optionsRef, "onSearchingStateChange", searching);
1453
+ },
1454
+ onFirstCallDoneChange: (firstCallDone) => {
1455
+ updateStateField(setState, "firstCallDone", firstCallDone);
1456
+ forwardCallback(optionsRef, "onFirstCallDoneChange", firstCallDone);
1457
+ },
1458
+ onIsFlyToAnimatingChange: (animating) => {
1459
+ updateStateField(setState, "isFlyToAnimating", animating);
1460
+ forwardCallback(optionsRef, "onIsFlyToAnimatingChange", animating);
1453
1461
  }
1454
1462
  }
1455
1463
  };
package/dist/index.mjs CHANGED
@@ -1410,6 +1410,14 @@ function useMapFirst(options) {
1410
1410
  onSearchingStateChange: (searching) => {
1411
1411
  updateStateField(setState, "isSearching", searching);
1412
1412
  forwardCallback(optionsRef, "onSearchingStateChange", searching);
1413
+ },
1414
+ onFirstCallDoneChange: (firstCallDone) => {
1415
+ updateStateField(setState, "firstCallDone", firstCallDone);
1416
+ forwardCallback(optionsRef, "onFirstCallDoneChange", firstCallDone);
1417
+ },
1418
+ onIsFlyToAnimatingChange: (animating) => {
1419
+ updateStateField(setState, "isFlyToAnimating", animating);
1420
+ forwardCallback(optionsRef, "onIsFlyToAnimatingChange", animating);
1413
1421
  }
1414
1422
  }
1415
1423
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mapfirst.ai/react",
3
- "version": "0.0.43",
3
+ "version": "0.0.44",
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.37"
43
+ "@mapfirst.ai/core": "0.0.38"
44
44
  },
45
45
  "scripts": {
46
46
  "build": "tsup src/index.tsx --format esm,cjs --dts --clean"