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