@pear-protocol/symmio-client 0.2.19 → 0.2.20
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
CHANGED
|
@@ -24706,11 +24706,15 @@ function useSymmPositions(params) {
|
|
|
24706
24706
|
address: resolvedAddress,
|
|
24707
24707
|
chainId
|
|
24708
24708
|
}),
|
|
24709
|
-
queryFn: () =>
|
|
24710
|
-
|
|
24711
|
-
|
|
24712
|
-
|
|
24713
|
-
|
|
24709
|
+
queryFn: () => {
|
|
24710
|
+
const result = symmCoreClient.positions.getOpen({
|
|
24711
|
+
accountAddress,
|
|
24712
|
+
address: resolvedAddress,
|
|
24713
|
+
chainId
|
|
24714
|
+
});
|
|
24715
|
+
console.log({ result });
|
|
24716
|
+
return result;
|
|
24717
|
+
},
|
|
24714
24718
|
enabled
|
|
24715
24719
|
});
|
|
24716
24720
|
}
|