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