timelock-sdk 0.0.93 → 0.0.94

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 CHANGED
@@ -1013,9 +1013,10 @@ const useClosePerp = () => {
1013
1013
 
1014
1014
  //#endregion
1015
1015
  //#region src/hooks/operators/useOperatorPerps.ts
1016
- const useOperatorPerms = (operatorAddr, userAddr) => {
1016
+ const useOperatorPerms = (marketAddr, userAddr, operatorAddr) => {
1017
1017
  const { data,...rest } = (0, wagmi.useReadContract)({
1018
1018
  abi: require_optionsMarket.optionsMarketAbi,
1019
+ address: marketAddr,
1019
1020
  functionName: "operatorPerms",
1020
1021
  args: [userAddr, operatorAddr],
1021
1022
  query: { enabled: !!userAddr && !!operatorAddr }