@swype-org/react-sdk 0.1.223 → 0.1.224

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/index.cjs CHANGED
@@ -2207,7 +2207,9 @@ function paymentReducer(state, action) {
2207
2207
  transfer: action.transfer,
2208
2208
  step: "success",
2209
2209
  mobileFlow: false,
2210
- deeplinkUri: null
2210
+ deeplinkUri: null,
2211
+ isGuestFlow: true,
2212
+ guestSessionToken: action.guestSessionToken ?? state.guestSessionToken
2211
2213
  };
2212
2214
  case "GUEST_PREAUTH_DETECTED":
2213
2215
  return {
@@ -6837,7 +6839,7 @@ function useMobileFlowHandlers(dispatch, polling, reloadAccounts, pollingTransfe
6837
6839
  cancelled = true;
6838
6840
  guestPollingActiveRef.current = false;
6839
6841
  clearMobileFlowState();
6840
- dispatch({ type: "GUEST_TRANSFER_COMPLETED", transfer });
6842
+ dispatch({ type: "GUEST_TRANSFER_COMPLETED", transfer, guestSessionToken });
6841
6843
  onCompleteRef.current?.(transfer);
6842
6844
  } else if (transfer.status === "FAILED") {
6843
6845
  cancelled = true;