timelock-sdk 0.0.129 → 0.0.130

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
@@ -1309,7 +1309,7 @@ const useBurnLiquidity = (vaultAddr) => {
1309
1309
  if (!timelockLens || !vaultAddr) throw new Error("Vault/lens not available");
1310
1310
  if (positions.length === 1) await burn(positions[0].tickLower, positions[0].tickUpper, positions[0].liquidity);
1311
1311
  else {
1312
- const refTicks = await timelockLens.read.batchGetRefTick([vaultAddr, positions.map((position) => position.tickLower)]);
1312
+ const refTick = await timelockLens.read.getRefTick([vaultAddr, positions[0].tickLower]);
1313
1313
  await (0, viem_actions.waitForTransactionReceipt)(client, { hash: await writeContractAsync({
1314
1314
  address: vaultAddr,
1315
1315
  abi: require_singleOwnerVault.singleOwnerVaultAbi,
@@ -1321,7 +1321,7 @@ const useBurnLiquidity = (vaultAddr) => {
1321
1321
  p.tickLower,
1322
1322
  p.tickUpper,
1323
1323
  p.liquidity,
1324
- refTicks[i]
1324
+ refTick
1325
1325
  ]
1326
1326
  }))]
1327
1327
  }) });