@escapenavigator/hooks 1.10.125 → 1.10.127

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.
@@ -81,7 +81,14 @@ const PlayersAndVariationPicker = ({ slot, currentTariffId, currentDuration, loa
81
81
  if (!details)
82
82
  return;
83
83
  (_a = onDetailsLoadedRef.current) === null || _a === void 0 ? void 0 : _a.call(onDetailsLoadedRef, details);
84
- }, [details === null || details === void 0 ? void 0 : details.slotId, details === null || details === void 0 ? void 0 : details.isFlex, details === null || details === void 0 ? void 0 : details.questroomId, details === null || details === void 0 ? void 0 : details.date, details === null || details === void 0 ? void 0 : details.start]);
84
+ }, [
85
+ details === null || details === void 0 ? void 0 : details.slotId,
86
+ details === null || details === void 0 ? void 0 : details.isFlex,
87
+ details === null || details === void 0 ? void 0 : details.questroomId,
88
+ details === null || details === void 0 ? void 0 : details.date,
89
+ details === null || details === void 0 ? void 0 : details.start,
90
+ details,
91
+ ]);
85
92
  const tariff = (0, react_1.useMemo)(() => (tariffOverride || (selectedVariation === null || selectedVariation === void 0 ? void 0 : selectedVariation.tariff) || {}), [tariffOverride, selectedVariation === null || selectedVariation === void 0 ? void 0 : selectedVariation.tariff]);
86
93
  (0, react_1.useEffect)(() => {
87
94
  var _a;
@@ -90,6 +97,7 @@ const PlayersAndVariationPicker = ({ slot, currentTariffId, currentDuration, loa
90
97
  selectedVariation === null || selectedVariation === void 0 ? void 0 : selectedVariation.id,
91
98
  selectedVariation === null || selectedVariation === void 0 ? void 0 : selectedVariation.tariffId,
92
99
  selectedVariation === null || selectedVariation === void 0 ? void 0 : selectedVariation.duration,
100
+ selectedVariation,
93
101
  ]);
94
102
  const [_players, setPlayers] = (0, react_1.useState)(players);
95
103
  const [_children, setChildren] = (0, react_1.useState)(child);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@escapenavigator/hooks",
3
- "version": "1.10.125",
3
+ "version": "1.10.127",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -14,9 +14,9 @@
14
14
  "test": "jest"
15
15
  },
16
16
  "dependencies": {
17
- "@escapenavigator/services": "^1.10.133",
18
- "@escapenavigator/types": "^1.10.124",
19
- "@escapenavigator/utils": "^1.10.128",
17
+ "@escapenavigator/services": "^1.10.135",
18
+ "@escapenavigator/types": "^1.10.126",
19
+ "@escapenavigator/utils": "^1.10.130",
20
20
  "react": "19.2.6"
21
21
  },
22
22
  "peerDependencies": {
@@ -30,5 +30,5 @@
30
30
  "ts-jest": "^29.1.1",
31
31
  "typescript": "^5.6"
32
32
  },
33
- "gitHead": "95bbddd22cbec3e4671d134dc1ff3b6db962329b"
33
+ "gitHead": "725d5bb466c14160683c9b578184c8f432d11915"
34
34
  }