@pear-protocol/symmio-client 0.3.22 → 0.3.23
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
|
@@ -26588,7 +26588,7 @@ function useSymmCancelTpslMutation(options) {
|
|
|
26588
26588
|
function useSymmTpslOrders(params) {
|
|
26589
26589
|
const { symmCoreClient, chainId: ctxChainId } = useSymmContext();
|
|
26590
26590
|
const { accountAddress, address, positionId, type } = params;
|
|
26591
|
-
const status = params.status ??
|
|
26591
|
+
const status = params.status ?? symmCore.TpslStatus.ACTIVE;
|
|
26592
26592
|
const resolvedAddress = accountAddress ? void 0 : address;
|
|
26593
26593
|
const chainId = params.chainId ?? ctxChainId;
|
|
26594
26594
|
const internalEnabled = !!symmCoreClient && !!(accountAddress || resolvedAddress);
|