timelock-sdk 0.0.174 → 0.0.175
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-BQywQ047.d.ts → client-BiJu3aZe.d.cts} +838 -838
- package/dist/{client-yxi2vqQi.d.cts → client-tKAF1RaW.d.ts} +380 -380
- package/dist/client.cjs +2 -2
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/client.js +2 -2
- package/dist/client.js.map +1 -1
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
package/dist/client.cjs
CHANGED
|
@@ -1338,7 +1338,7 @@ const useBurnLiquidity = (vaultAddr) => {
|
|
|
1338
1338
|
const client = (0, wagmi.useClient)();
|
|
1339
1339
|
const { timelockLens } = useLens();
|
|
1340
1340
|
const { poolManager, poolKey } = useVaultData(vaultAddr);
|
|
1341
|
-
const currentTick = useCurrentTick(poolManager, poolKey);
|
|
1341
|
+
const { data: { currentTick } = {} } = useCurrentTick(poolManager, poolKey);
|
|
1342
1342
|
const { writeContractAsync, data: hash, isPending, error } = (0, wagmi.useWriteContract)();
|
|
1343
1343
|
const { isLoading: isConfirming, isSuccess } = (0, wagmi.useWaitForTransactionReceipt)({ hash });
|
|
1344
1344
|
const burn = async (tickLower, tickUpper, liquidity) => {
|
|
@@ -1438,7 +1438,7 @@ const useMintLiquidity = (vaultAddr) => {
|
|
|
1438
1438
|
const client = (0, wagmi.useClient)();
|
|
1439
1439
|
const { poolManager, poolKey } = useVaultData(vaultAddr);
|
|
1440
1440
|
const { timelockLens } = useLens();
|
|
1441
|
-
const {
|
|
1441
|
+
const { data: { currentTick } = {} } = useCurrentTick(poolManager, poolKey);
|
|
1442
1442
|
const { token0, token1 } = usePoolData(poolManager, poolKey);
|
|
1443
1443
|
const { askForApproval } = useApproval();
|
|
1444
1444
|
const { writeContractAsync } = (0, wagmi.useWriteContract)();
|