timelock-sdk 0.0.90 → 0.0.91
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-C5RLDuP0.d.ts → client-CYa7ruZt.d.ts} +146 -146
- package/dist/{client-CGWZcidn.d.cts → client-pWy70TUj.d.cts} +146 -146
- package/dist/client.cjs +1 -1
- 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 +1 -1
- 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
|
@@ -962,7 +962,7 @@ const useMintPerp = (marketAddr) => {
|
|
|
962
962
|
const { tickSpacing } = usePoolData(pool);
|
|
963
963
|
const { exact: currentTick } = useCurrentTick(pool);
|
|
964
964
|
const userPerms = operatorAddr ? operators.find((o) => o.operatorAddr.toLowerCase() === operatorAddr.toLowerCase()) : void 0;
|
|
965
|
-
const hasEnoughPerms = userPerms && userPerms.canMint && userPerms.canExtend;
|
|
965
|
+
const hasEnoughPerms = userPerms && userPerms.canMint && userPerms.canExtend && userPerms.canExercise;
|
|
966
966
|
const mintPerp = async (data) => {
|
|
967
967
|
const { optionType, amount, duration, strikeTick } = data;
|
|
968
968
|
if (!client || !address) throw new Error("Wallet not connected");
|