timelock-sdk 0.0.140 → 0.0.142
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-FNWYyxxl.d.cts → client-CAnlJv6b.d.ts} +227 -227
- package/dist/{client-BLQCtXFi.d.ts → client-vTtfy8qa.d.cts} +209 -209
- package/dist/client.cjs +3 -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 +3 -2
- package/dist/client.js.map +1 -1
- package/dist/{optionUtils-pIZ0mbRp.cjs → optionUtils-CFucfVf-.cjs} +5 -2
- package/dist/optionUtils-CFucfVf-.cjs.map +1 -0
- package/dist/{optionUtils-9m2sevDs.js → optionUtils-DuJzVAs5.js} +5 -2
- package/dist/optionUtils-DuJzVAs5.js.map +1 -0
- package/dist/package.cjs +1 -1
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/dist/package.js +1 -1
- package/package.json +1 -1
- package/dist/optionUtils-9m2sevDs.js.map +0 -1
- package/dist/optionUtils-pIZ0mbRp.cjs.map +0 -1
package/dist/client.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
const require_optionUtils = require('./optionUtils-
|
|
4
|
+
const require_optionUtils = require('./optionUtils-CFucfVf-.cjs');
|
|
5
5
|
const require_optionsMarket = require('./optionsMarket-ohPoVcdm.cjs');
|
|
6
6
|
const require_singleOwnerVault = require('./singleOwnerVault-GCpQV7pN.cjs');
|
|
7
7
|
let viem = require("viem");
|
|
@@ -603,9 +603,10 @@ const useMaxPositionSize = (marketAddr, maxBorrowableRange = 100) => {
|
|
|
603
603
|
//#endregion
|
|
604
604
|
//#region src/hooks/pool/useCurrentTick.ts
|
|
605
605
|
const useCurrentTick = (poolManager, poolKey) => {
|
|
606
|
+
const { stateView } = useLens();
|
|
606
607
|
const { tickSpacing } = usePoolData(poolManager, poolKey);
|
|
607
608
|
const { data, ...rest } = (0, wagmi.useReadContract)({
|
|
608
|
-
address:
|
|
609
|
+
address: stateView === null || stateView === void 0 ? void 0 : stateView.address,
|
|
609
610
|
abi: require_optionUtils.statelessStateViewAbi,
|
|
610
611
|
functionName: "getSlot0",
|
|
611
612
|
args: poolManager && poolKey ? [poolManager, poolKey] : void 0,
|