@pear-protocol/symmio-client 0.2.22 → 0.2.23

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.
@@ -24692,14 +24692,6 @@ function useSymmPositions(params) {
24692
24692
  const chainId = params.chainId ?? ctxChainId;
24693
24693
  const internalEnabled = !!symmCoreClient && !!(accountAddress || resolvedAddress);
24694
24694
  const enabled = internalEnabled && (params.query?.enabled ?? true);
24695
- console.log({
24696
- symmCoreClient,
24697
- accountAddress,
24698
- resolvedAddress,
24699
- chainId,
24700
- internalEnabled,
24701
- enabled
24702
- });
24703
24695
  return useQuery({
24704
24696
  ...params.query,
24705
24697
  queryKey: symmKeys.positions({
@@ -24707,17 +24699,12 @@ function useSymmPositions(params) {
24707
24699
  address: resolvedAddress,
24708
24700
  chainId
24709
24701
  }),
24710
- queryFn: () => {
24711
- const result = symmCoreClient.positions.getOpen({
24712
- accountAddress,
24713
- address: resolvedAddress,
24714
- chainId
24715
- });
24716
- console.log({ result });
24717
- return result;
24718
- },
24719
- enabled,
24720
- refetchInterval: params.query?.refetchInterval ?? 3e3
24702
+ queryFn: () => symmCoreClient.positions.getOpen({
24703
+ accountAddress,
24704
+ address: resolvedAddress,
24705
+ chainId
24706
+ }),
24707
+ enabled
24721
24708
  });
24722
24709
  }
24723
24710
  function useSymmOpenOrders(params) {