@pear-protocol/symmio-client 0.2.19 → 0.2.21
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 +11 -6
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +11 -6
- package/dist/react/index.mjs.map +1 -1
- package/package.json +2 -1
package/dist/react/index.js
CHANGED
|
@@ -24706,12 +24706,17 @@ function useSymmPositions(params) {
|
|
|
24706
24706
|
address: resolvedAddress,
|
|
24707
24707
|
chainId
|
|
24708
24708
|
}),
|
|
24709
|
-
queryFn: () =>
|
|
24710
|
-
|
|
24711
|
-
|
|
24712
|
-
|
|
24713
|
-
|
|
24714
|
-
|
|
24709
|
+
queryFn: () => {
|
|
24710
|
+
const result = symmCoreClient.positions.getOpen({
|
|
24711
|
+
accountAddress,
|
|
24712
|
+
address: resolvedAddress,
|
|
24713
|
+
chainId
|
|
24714
|
+
});
|
|
24715
|
+
console.log({ result });
|
|
24716
|
+
return result;
|
|
24717
|
+
},
|
|
24718
|
+
enabled,
|
|
24719
|
+
refetchInterval: params.query?.refetchInterval ?? 3e3
|
|
24715
24720
|
});
|
|
24716
24721
|
}
|
|
24717
24722
|
function useSymmOpenOrders(params) {
|