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