@pear-protocol/symmio-client 0.2.19 → 0.2.21

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.
@@ -24706,12 +24706,17 @@ function useSymmPositions(params) {
24706
24706
  address: resolvedAddress,
24707
24707
  chainId
24708
24708
  }),
24709
- queryFn: () => symmCoreClient.positions.getOpen({
24710
- accountAddress,
24711
- address: resolvedAddress,
24712
- chainId
24713
- }),
24714
- enabled
24709
+ queryFn: () => {
24710
+ const result = symmCoreClient.positions.getOpen({
24711
+ accountAddress,
24712
+ address: resolvedAddress,
24713
+ chainId
24714
+ });
24715
+ console.log({ result });
24716
+ return result;
24717
+ },
24718
+ enabled,
24719
+ refetchInterval: params.query?.refetchInterval ?? 3e3
24715
24720
  });
24716
24721
  }
24717
24722
  function useSymmOpenOrders(params) {