@pear-protocol/symmio-client 0.2.17 → 0.2.19

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.
@@ -24688,7 +24688,15 @@ function useSymmPositions(params) {
24688
24688
  const resolvedAddress = accountAddress ? void 0 : address;
24689
24689
  const chainId = params.chainId ?? ctxChainId;
24690
24690
  const internalEnabled = !!symmCoreClient && !!(accountAddress || resolvedAddress);
24691
- console.log({ accountAddress, resolvedAddress, chainId, internalEnabled });
24691
+ const enabled = internalEnabled && (params.query?.enabled ?? true);
24692
+ console.log({
24693
+ symmCoreClient,
24694
+ accountAddress,
24695
+ resolvedAddress,
24696
+ chainId,
24697
+ internalEnabled,
24698
+ enabled
24699
+ });
24692
24700
  return useQuery({
24693
24701
  ...params.query,
24694
24702
  queryKey: symmKeys.positions({
@@ -24701,7 +24709,7 @@ function useSymmPositions(params) {
24701
24709
  address: resolvedAddress,
24702
24710
  chainId
24703
24711
  }),
24704
- enabled: internalEnabled && (params.query?.enabled ?? true)
24712
+ enabled
24705
24713
  });
24706
24714
  }
24707
24715
  function useSymmOpenOrders(params) {