timelock-sdk 0.0.33 → 0.0.34

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/client.cjs CHANGED
@@ -420,8 +420,9 @@ const useOptionPremium = (marketAddr, optionType, optionAmount, duration, strike
420
420
  const { exact: currentTick } = useCurrentTick(pool);
421
421
  const strikeTickRounded = (0, react.useMemo)(() => {
422
422
  if (!tickSpacing || currentTick === void 0) return;
423
- strikeTick = require_numberUtils.roundTickDown(strikeTick ?? currentTick, tickSpacing);
424
- if (optionType === "CALL" && optionAssetIsToken0 || optionType === "PUT" && !optionAssetIsToken0) strikeTick += tickSpacing;
423
+ let strikeTickRounded$1 = require_numberUtils.roundTickDown(strikeTick ?? currentTick, tickSpacing);
424
+ if (optionType === "CALL" && optionAssetIsToken0 || optionType === "PUT" && !optionAssetIsToken0) strikeTickRounded$1 += tickSpacing;
425
+ return strikeTickRounded$1;
425
426
  }, [
426
427
  currentTick,
427
428
  tickSpacing,