@pear-protocol/symmio-client 0.2.16 → 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,6 +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
+ const enabled = internalEnabled && (params.query?.enabled ?? true);
24692
+ console.log({
24693
+ symmCoreClient,
24694
+ accountAddress,
24695
+ resolvedAddress,
24696
+ chainId,
24697
+ internalEnabled,
24698
+ enabled
24699
+ });
24691
24700
  return useQuery({
24692
24701
  ...params.query,
24693
24702
  queryKey: symmKeys.positions({
@@ -24700,7 +24709,7 @@ function useSymmPositions(params) {
24700
24709
  address: resolvedAddress,
24701
24710
  chainId
24702
24711
  }),
24703
- enabled: internalEnabled && (params.query?.enabled ?? true)
24712
+ enabled
24704
24713
  });
24705
24714
  }
24706
24715
  function useSymmOpenOrders(params) {