@pear-protocol/symmio-client 0.2.20 → 0.2.22

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.
@@ -19,7 +19,10 @@ function useSymmContext() {
19
19
  function SymmProvider({
20
20
  chainId = 42161,
21
21
  address,
22
- symmCoreConfig,
22
+ symmCoreConfig = {
23
+ apiUrl: "https://nginx-server-staging.up.railway.app",
24
+ wsUrl: "wss://nginx-server-staging.up.railway.app"
25
+ },
23
26
  symmioConfig,
24
27
  children
25
28
  }) {
@@ -24715,7 +24718,8 @@ function useSymmPositions(params) {
24715
24718
  console.log({ result });
24716
24719
  return result;
24717
24720
  },
24718
- enabled
24721
+ enabled,
24722
+ refetchInterval: params.query?.refetchInterval ?? 3e3
24719
24723
  });
24720
24724
  }
24721
24725
  function useSymmOpenOrders(params) {