timelock-sdk 0.0.114 → 0.0.115
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-dmXFiQFn.d.cts → client-BOmeI-gW.d.ts} +4 -4
- package/dist/{client-BFaMKjtt.d.ts → client-DM6DKDpk.d.cts} +290 -290
- package/dist/client.cjs +5 -5
- 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 +5 -5
- 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
|
@@ -523,7 +523,7 @@ const useExerciseOption = (marketAddr) => {
|
|
|
523
523
|
]
|
|
524
524
|
});
|
|
525
525
|
await (0, viem_actions.waitForTransactionReceipt)(client, { hash });
|
|
526
|
-
await sleep(
|
|
526
|
+
await sleep(400);
|
|
527
527
|
queryClient.invalidateQueries({ queryKey: ["userOptions"] });
|
|
528
528
|
queryClient.invalidateQueries({ queryKey: ["userOptions"] });
|
|
529
529
|
queryClient.invalidateQueries({ queryKey: ["readContract"] });
|
|
@@ -660,7 +660,7 @@ const useMintOption = (marketAddr) => {
|
|
|
660
660
|
]
|
|
661
661
|
});
|
|
662
662
|
await (0, viem_actions.waitForTransactionReceipt)(client, { hash });
|
|
663
|
-
await sleep(
|
|
663
|
+
await sleep(400);
|
|
664
664
|
queryClient.invalidateQueries({ queryKey: ["userOptions"] });
|
|
665
665
|
queryClient.invalidateQueries({ queryKey: ["userOptions"] });
|
|
666
666
|
queryClient.invalidateQueries({ queryKey: ["readContract"] });
|
|
@@ -834,7 +834,7 @@ const useExtendOption = (marketAddr) => {
|
|
|
834
834
|
]
|
|
835
835
|
});
|
|
836
836
|
await (0, viem_actions.waitForTransactionReceipt)(client, { hash });
|
|
837
|
-
await sleep(
|
|
837
|
+
await sleep(400);
|
|
838
838
|
queryClient.invalidateQueries({ queryKey: ["userOptions"] });
|
|
839
839
|
queryClient.invalidateQueries({ queryKey: ["userOptions"] });
|
|
840
840
|
queryClient.invalidateQueries({ queryKey: ["readContract"] });
|
|
@@ -1101,7 +1101,7 @@ const useMintPerp = (marketAddr) => {
|
|
|
1101
1101
|
duration,
|
|
1102
1102
|
strikeTick: validStrikeTick
|
|
1103
1103
|
});
|
|
1104
|
-
await sleep(
|
|
1104
|
+
await sleep(400);
|
|
1105
1105
|
queryClient.invalidateQueries({ queryKey: ["userOptions"] });
|
|
1106
1106
|
queryClient.invalidateQueries({ queryKey: ["userOptions"] });
|
|
1107
1107
|
queryClient.invalidateQueries({ queryKey: ["readContract"] });
|
|
@@ -1118,7 +1118,7 @@ const useClosePerp = () => {
|
|
|
1118
1118
|
if (!operator) throw new Error("Operator not connected");
|
|
1119
1119
|
if (!operator.auth) await signMessage();
|
|
1120
1120
|
await operator.exercisePerp(body);
|
|
1121
|
-
await sleep(
|
|
1121
|
+
await sleep(400);
|
|
1122
1122
|
queryClient.invalidateQueries({ queryKey: ["userOptions"] });
|
|
1123
1123
|
queryClient.invalidateQueries({ queryKey: ["userOptions"] });
|
|
1124
1124
|
queryClient.invalidateQueries({ queryKey: ["readContract"] });
|