timelock-sdk 0.0.75 → 0.0.76
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 +1 -0
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +68 -68
- package/dist/client.js +1 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
package/dist/client.cjs
CHANGED
|
@@ -572,6 +572,7 @@ const useOptionPremium = (marketAddr, optionType, optionAmount, addedDuration, r
|
|
|
572
572
|
const useUserOptions = (userAddr, marketAddr, active = false) => {
|
|
573
573
|
const { graphqlClient } = useTimelockConfig();
|
|
574
574
|
userAddr = userAddr === null || userAddr === void 0 ? void 0 : userAddr.toLowerCase();
|
|
575
|
+
marketAddr = marketAddr === null || marketAddr === void 0 ? void 0 : marketAddr.toLowerCase();
|
|
575
576
|
const { data,...rest } = (0, __tanstack_react_query.useQuery)({
|
|
576
577
|
queryKey: [
|
|
577
578
|
"userOptions",
|