@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.
- package/dist/react/index.js +6 -2
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +6 -2
- package/dist/react/index.mjs.map +1 -1
- package/dist/react/provider.js +4 -1
- package/dist/react/provider.js.map +1 -1
- package/dist/react/provider.mjs +4 -1
- package/dist/react/provider.mjs.map +1 -1
- package/package.json +2 -2
package/dist/react/index.mjs
CHANGED
|
@@ -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) {
|