You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/bridge-status-controller/src/bridge-status-controller.ts
+16-14Lines changed: 16 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -844,7 +844,7 @@ export class BridgeStatusController extends StaticIntervalPollingController<Brid
844
844
*
845
845
* @param accountAddress - The address of the account to submit the transaction for
846
846
* @param quoteResponse - The quote response
847
-
* @paramisStxEnabledOnClient - Whether smart transactions are enabled on the client, for example the getSmartTransactionsEnabled selector value from the extension
847
+
* @paramisStxEnabled - Whether smart transactions are enabled on the client, for example the getSmartTransactionsEnabled selector value from the extension
848
848
* @param quotesReceivedContext - The context for the QuotesReceived event
849
849
* @param location - The entry point from which the user initiated the swap or bridge (e.g. Main View, Token View, Trending Explore)
850
850
* @param abTests - Legacy A/B test context for `ab_tests` (backward compatibility)
@@ -855,7 +855,7 @@ export class BridgeStatusController extends StaticIntervalPollingController<Brid
* Check if the account is an EIP-7702 delegated account.
@@ -926,7 +926,7 @@ export class BridgeStatusController extends StaticIntervalPollingController<Brid
926
926
927
927
constparams: SubmitStrategyParams={
928
928
quoteResponse,
929
-
isStxEnabledOnClient,
929
+
isStxEnabledOnClient: isStxEnabled,
930
930
isDelegatedAccount,
931
931
messenger: this.messenger,
932
932
selectedAccount,
@@ -956,7 +956,7 @@ export class BridgeStatusController extends StaticIntervalPollingController<Brid
956
956
...payload,
957
957
quoteResponse,
958
958
accountAddress: selectedAccount.address,
959
-
isStxEnabled: isStxEnabledOnClient,
959
+
isStxEnabled,
960
960
startTime,
961
961
location,
962
962
abTests,
@@ -1009,7 +1009,7 @@ export class BridgeStatusController extends StaticIntervalPollingController<Brid
1009
1009
* @param params.location - The entry point from which the user initiated the swap or bridge
1010
1010
* @param params.abTests - Legacy A/B test context for `ab_tests` (backward compatibility)
1011
1011
* @param params.activeAbTests - New A/B test context for `active_ab_tests` (migration target). Attributes events to specific experiments.
1012
-
* @param params.isStxEnabledOnClient - Whether smart transactions are enabled on the client, for example the getSmartTransactionsEnabled selector value from the extension
1012
+
* @param params.isStxEnabled - Whether smart transactions are enabled on the client, for example the getSmartTransactionsEnabled selector value from the extension
1013
1013
* @param params.quotesReceivedContext - The context for the QuotesReceived event
1014
1014
* @returns A lightweight TransactionMeta-like object for history linking
1015
1015
* @throws An error if intent or transaction submission fails before they get published
@@ -1020,7 +1020,7 @@ export class BridgeStatusController extends StaticIntervalPollingController<Brid
0 commit comments