timelock-sdk 0.0.31 → 0.0.33

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
@@ -433,12 +433,12 @@ const useOptionPremium = (marketAddr, optionType, optionAmount, duration, strike
433
433
  address: marketAddr,
434
434
  abi: require_optionsMarket.optionsMarketAbi,
435
435
  functionName: "calculatePremium",
436
- args: [
436
+ args: strikeTickRounded !== void 0 ? [
437
437
  optionType === "CALL" ? 0 : 1,
438
438
  optionAmount,
439
439
  strikeTickRounded,
440
440
  BigInt(duration)
441
- ],
441
+ ] : void 0,
442
442
  query: { enabled: strikeTickRounded !== void 0 }
443
443
  });
444
444
  return (0, react.useMemo)(() => {