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