@stridge/pay-sdk 0.1.0-alpha.0 → 0.1.0-alpha.1

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.
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_guards = require("./guards-VkTvdL1L.cjs");
2
+ const require_guards = require("./guards-r1nnLHLD.cjs");
3
3
  exports.APP_ID_PATTERN = require_guards.APP_ID_PATTERN;
4
4
  exports.HUB_FRAME_NAME_PATTERN = require_guards.HUB_FRAME_NAME_PATTERN;
5
5
  exports.HUB_NEEDS_POPUP_MESSAGE = require_guards.HUB_NEEDS_POPUP_MESSAGE;
@@ -1,2 +1,2 @@
1
- import { $t as isElementDepositRequestPayload, A as isSignText, Ai as HubDiagnosticsDetailsMessage, At as PayFirstStep, Bo as PAY_FUND_MESSAGE_TYPES, C as isElementMessage, Ca as PayElementLoadFailureReason, Dt as PayDestinationAddress, Ei as HubAppearance, En as AppElementMessage, Et as PayCurrency, Fn as AppMessage, Fo as PAY_ELEMENT_LOAD_FAILURE_REASONS, Go as PAY_MESSAGE_TYPES, Ho as PAY_FUND_START_SCREENS, Ii as HubDiagnosticsObservation, Io as PAY_ELEMENT_MESSAGE_TYPES, Ko as PAY_PROTOCOL, Lo as PAY_ELEMENT_NOTIFICATION_MESSAGE_TYPES, Lr as ElementMessage, Mi as HubDiagnosticsDetailsPayload, N as DecodedMessage, Nn as AppHubFrameMessage, O as isHubFrameName, Oo as MAX_SIGN_MESSAGE_BYTES, Ot as PayDestinationAsk, Po as PAY_ELEMENT_LIFETIME_MESSAGE_TYPES, Qa as APP_ID_PATTERN, R as createPayEnvelope, Ro as PAY_ELEMENT_PATH, Sr as ElementFailureCode, Ta as PayMenuRect, U as ElementCheckoutResultPayload, Uo as PAY_HUB_FRAME_MESSAGE_TYPES, Vo as PAY_FUND_REQUEST_TYPE, W as ElementDepositRequestPayload, X as ElementPayRequestPayload, Xt as answersPayAmount, Z as ElementPaymentNoticePayload, Zr as ElementReloadRequestMessage, _ as isAppElementMessage, _a as HubTheme, aa as HubMenuEndedMessage, an as samePayDestinationAsk, ao as HUB_NEEDS_POPUP_MESSAGE, bi as FundStartScreen, bn as AppElementConfigMessage, br as ElementFailedMessage, co as HUB_SURFACE_POPUP, da as HubRequestType, dr as ElementCheckStatusRequestMessage, ea as HubErrorCode, ei as ElementResizePayload, er as CeremonyRequestType, f as decodeHubFrameAppMessage, ga as HubStatus, go as MAX_ELEMENT_RESIZE_DURATION_MS, ha as HubStateSnapshot, hr as ElementConfigPayload, ia as HubMenuAcceptedMessage, ir as ElementActionCheckMessage, jt as PayJob, kn as AppElementReloadGrantMessage, kt as PayDestinationRuleId, l as decodeElementMessage, lo as HUB_URL_PARAMS, ls as utf8ToBytes, mn as AppElementActionEligibilityMessage, mo as MAX_ELEMENT_BLOCK_SIZE, na as HubFrameAppMessage, nn as isElementPayRequestPayload, oa as HubMenuRefusedMessage, on as samePayTerms, p as decodeHubMessage, q as ElementPaidPayload, ri as ElementSignedMessage, rn as payJobOf, ro as HUB_FRAME_NAME_PATTERN, rs as SUA_PROTOCOL_VERSION, sa as HubMessage, ti as ElementSignAction, v as isAppHubFrameMessage, va as HubTransport, x as isAppearance, xo as MAX_MESSAGE_ID_LENGTH, zi as HubDiagnosticsStatusMessage } from "./guards-CYx283Oo.cjs";
1
+ import { $t as isElementDepositRequestPayload, A as isSignText, Ai as HubDiagnosticsDetailsMessage, At as PayFirstStep, Bo as PAY_FUND_MESSAGE_TYPES, C as isElementMessage, Ca as PayElementLoadFailureReason, Dt as PayDestinationAddress, Ei as HubAppearance, En as AppElementMessage, Et as PayCurrency, Fn as AppMessage, Fo as PAY_ELEMENT_LOAD_FAILURE_REASONS, Go as PAY_MESSAGE_TYPES, Ho as PAY_FUND_START_SCREENS, Ii as HubDiagnosticsObservation, Io as PAY_ELEMENT_MESSAGE_TYPES, Ko as PAY_PROTOCOL, Lo as PAY_ELEMENT_NOTIFICATION_MESSAGE_TYPES, Lr as ElementMessage, Mi as HubDiagnosticsDetailsPayload, N as DecodedMessage, Nn as AppHubFrameMessage, O as isHubFrameName, Oo as MAX_SIGN_MESSAGE_BYTES, Ot as PayDestinationAsk, Po as PAY_ELEMENT_LIFETIME_MESSAGE_TYPES, Qa as APP_ID_PATTERN, R as createPayEnvelope, Ro as PAY_ELEMENT_PATH, Sr as ElementFailureCode, Ta as PayMenuRect, U as ElementCheckoutResultPayload, Uo as PAY_HUB_FRAME_MESSAGE_TYPES, Vo as PAY_FUND_REQUEST_TYPE, W as ElementDepositRequestPayload, X as ElementPayRequestPayload, Xt as answersPayAmount, Z as ElementPaymentNoticePayload, Zr as ElementReloadRequestMessage, _ as isAppElementMessage, _a as HubTheme, aa as HubMenuEndedMessage, an as samePayDestinationAsk, ao as HUB_NEEDS_POPUP_MESSAGE, as as SUA_PROTOCOL_VERSION, bi as FundStartScreen, bn as AppElementConfigMessage, br as ElementFailedMessage, co as HUB_SURFACE_POPUP, da as HubRequestType, dr as ElementCheckStatusRequestMessage, ds as utf8ToBytes, ea as HubErrorCode, ei as ElementResizePayload, er as CeremonyRequestType, f as decodeHubFrameAppMessage, ga as HubStatus, go as MAX_ELEMENT_RESIZE_DURATION_MS, ha as HubStateSnapshot, hr as ElementConfigPayload, ia as HubMenuAcceptedMessage, ir as ElementActionCheckMessage, jt as PayJob, kn as AppElementReloadGrantMessage, kt as PayDestinationRuleId, l as decodeElementMessage, lo as HUB_URL_PARAMS, mn as AppElementActionEligibilityMessage, mo as MAX_ELEMENT_BLOCK_SIZE, na as HubFrameAppMessage, nn as isElementPayRequestPayload, oa as HubMenuRefusedMessage, on as samePayTerms, p as decodeHubMessage, q as ElementPaidPayload, ri as ElementSignedMessage, rn as payJobOf, ro as HUB_FRAME_NAME_PATTERN, sa as HubMessage, ti as ElementSignAction, v as isAppHubFrameMessage, va as HubTransport, x as isAppearance, xo as MAX_MESSAGE_ID_LENGTH, zi as HubDiagnosticsStatusMessage } from "./guards-CQWGp5eP.cjs";
2
2
  export { APP_ID_PATTERN, type AppElementActionEligibilityMessage, type AppElementConfigMessage, type AppElementMessage, type AppElementReloadGrantMessage, type AppHubFrameMessage, type AppMessage, type CeremonyRequestType, type DecodedMessage, type ElementActionCheckMessage, type ElementCheckStatusRequestMessage, type ElementCheckoutResultPayload, type ElementConfigPayload, type ElementDepositRequestPayload, type ElementFailedMessage, type ElementFailureCode, type ElementMessage, type ElementPaidPayload, type ElementPayRequestPayload, type ElementPaymentNoticePayload, type ElementReloadRequestMessage, type ElementResizePayload, type ElementSignAction, type ElementSignedMessage, type FundStartScreen, HUB_FRAME_NAME_PATTERN, HUB_NEEDS_POPUP_MESSAGE, HUB_SURFACE_POPUP, HUB_URL_PARAMS, type HubAppearance, type HubDiagnosticsDetailsMessage, type HubDiagnosticsDetailsPayload, type HubDiagnosticsObservation, type HubDiagnosticsStatusMessage, type HubErrorCode, type HubFrameAppMessage, type HubMenuAcceptedMessage, type HubMenuEndedMessage, type HubMenuRefusedMessage, type HubMessage, type HubRequestType, type HubStateSnapshot, type HubStatus, type HubTheme, type HubTransport, MAX_ELEMENT_BLOCK_SIZE, MAX_ELEMENT_RESIZE_DURATION_MS, MAX_MESSAGE_ID_LENGTH, MAX_SIGN_MESSAGE_BYTES, PAY_ELEMENT_LIFETIME_MESSAGE_TYPES, PAY_ELEMENT_LOAD_FAILURE_REASONS, PAY_ELEMENT_MESSAGE_TYPES, PAY_ELEMENT_NOTIFICATION_MESSAGE_TYPES, PAY_ELEMENT_PATH, PAY_FUND_MESSAGE_TYPES, PAY_FUND_REQUEST_TYPE, PAY_FUND_START_SCREENS, PAY_HUB_FRAME_MESSAGE_TYPES, PAY_MESSAGE_TYPES, PAY_PROTOCOL, type PayCurrency, type PayDestinationAddress, type PayDestinationAsk, type PayDestinationRuleId, type PayElementLoadFailureReason, type PayFirstStep, type PayJob, type PayMenuRect, SUA_PROTOCOL_VERSION, answersPayAmount, createPayEnvelope, decodeElementMessage, decodeHubFrameAppMessage, decodeHubMessage, isAppElementMessage, isAppHubFrameMessage, isAppearance, isElementDepositRequestPayload, isElementMessage, isElementPayRequestPayload, isHubFrameName, isSignText, payJobOf, samePayDestinationAsk, samePayTerms, utf8ToBytes };
@@ -1,4 +1,4 @@
1
- import { $ as HubAppElementDepositRequestMessage, $a as EVM_ADDRESS_PATTERN, $i as HubError, $n as CeremonyError, $o as SUA_LINK_C_ID_SEPARATOR, $r as ElementResizeMessage, $t as isElementDepositRequestPayload, Aa as RelayInitPayload, Ai as HubDiagnosticsDetailsMessage, An as AppElementReloadGrantPayload, Ao as PAY_CURRENCIES, Ar as ElementHubProbeMessage, At as PayFirstStep, B as AppElementPayRequestMessage, Ba as WindowAccountEmailPayload, Bi as HubDiagnosticsStatusPayload, Bn as AppSignMessage, Bo as PAY_FUND_MESSAGE_TYPES, Br as ElementPayShownMessage, Bt as WindowRelayPayOwnerMessage, C as isElementMessage, Ca as PayElementLoadFailureReason, Ci as HubActivityMessage, Cn as AppElementGeometryCompleteMessage, Co as MAX_PAY_AMOUNT, Cr as ElementGeometryCapabilitiesMessage, Ct as HubPayRequestMessage, D as isHubFrameAppMessage, Da as RelayAccountEmailMessage, Di as HubAttachAcceptedMessage, Dn as AppElementPageUrlMessage, Do as MAX_RELAY_STATE_EXPIRY_LENGTH, Dr as ElementGeometryTargetMessage, Dt as PayDestinationAddress, E as isHubElementMessage, Ea as RefusalPayload, Ei as HubAppearance, En as AppElementMessage, Eo as MAX_PAY_SOURCE_FUNDS_WALLETS, Er as ElementGeometryLifetimePayload, Et as PayCurrency, F as PayEnvelopeArgs, Fa as SuaElementReloadReason, Fi as HubDiagnosticsHeldKey, Fn as AppMessage, Fo as PAY_ELEMENT_LOAD_FAILURE_REASONS, Fr as ElementMenuAnchorMessage, Ft as PayTransaction, G as ElementHeldMessage, Ga as WindowRelayBuildPayload, Gi as HubElementOverlayHiddenMessage, Gn as AppWindowAccountEmailRefreshPayload, Go as PAY_MESSAGE_TYPES, Gr as ElementRelayClosePayload, Gt as WindowRelayPaySourcePayload, H as ElementCheckoutResultMessage, Ha as WindowErrorMessage, Hi as HubElementBalanceMessage, Hn as AppWindowAccountEmailMessage, Ho as PAY_FUND_START_SCREENS, Hr as ElementReadyMessage, Ht as WindowRelayPayProgressMessage, I as SuaMessage, Ia as SuaWindowCancelCause, Ii as HubDiagnosticsObservation, In as AppOverlayHiddenMessage, Io as PAY_ELEMENT_MESSAGE_TYPES, Ir as ElementMenuAnchorPayload, It as WindowRelayCheckoutResultMessage, J as ElementPayRequestAckMessage, Ja as WindowRelayRefusedMessage, Ji as HubElementWindowAcceptedPayload, Jn as AppWindowStateMessage, Jo as SUA_APP_WINDOW_MESSAGE_TYPES, Jr as ElementRelayPageUrlPayload, Jt as WindowRelayPayUnsentMessage, K as ElementPaidMessage, Ka as WindowRelayCloseAcceptedMessage, Ki as HubElementProbeAckMessage, Kn as AppWindowAccountEmailRefreshReplyMessage, Ko as PAY_PROTOCOL, Kr as ElementRelayInitMessage, Kt as WindowRelayPaySourceSavedMessage, L as createHubSuaEnvelope, La as SuaWindowEndCause, Li as HubDiagnosticsSession, Ln as AppShowMenuMessage, Lo as PAY_ELEMENT_NOTIFICATION_MESSAGE_TYPES, Lr as ElementMessage, Lt as WindowRelayCheckoutResultPayload, M as isWindowElementMessage, Ma as SignOutResult, Mi as HubDiagnosticsDetailsPayload, Mn as AppFundMessage, Mo as PAY_DESTINATION_RULE_PATTERN, Mr as ElementInitPayload, Mt as PayReceived, Na as SignPayload, Ni as HubDiagnosticsDisconnect, Nn as AppHubFrameMessage, No as PAY_ELEMENT_FAILURE_CODES, Nr as ElementLoadFailedMessage, Nt as PayRequestTerms, O as isHubFrameName, Oa as RelayAccountEmailPayload, Oi as HubAttachAcceptedPayload, On as AppElementPageUrlPayload, Oo as MAX_SIGN_MESSAGE_BYTES, Or as ElementGeometryTargetPayload, Ot as PayDestinationAsk, P as HubDecodedMessage, Pa as SignResult, Pi as HubDiagnosticsEntityStatus, Pn as AppInitMessage, Po as PAY_ELEMENT_LIFETIME_MESSAGE_TYPES, Pr as ElementLoadFailedPayload, Pt as PayTerms, Q as ElementUnconfirmedMessage, Qa as APP_ID_PATTERN, Qi as HubElementWindowRefusedPayload, Qn as CardElementLabels, Qo as SUA_GUEST_HANDOFF_MESSAGE_TYPE, Qr as ElementReloadRequestPayload, Qt as isElementCheckoutResultPayload, Ra as TransportPayload, Ri as HubDiagnosticsSessionRead, Rn as AppShowMenuPayload, Ro as PAY_ELEMENT_PATH, Rr as ElementPageUrlMessage, Rt as WindowRelayCheckoutWalletMessage, S as isElementHubMessage, Sa as MenuRefusalPayload, Si as FundWindowContinuationPayload, Sn as AppElementGeometryCancelledMessage, So as MAX_PAGE_URL_LENGTH, Sr as ElementFailureCode, St as HubElementPayUnsentPayload, T as isHubBuildId, Ta as PayMenuRect, Ti as HubAppElementMessage, Tn as AppElementMenuEndedMessage, To as MAX_PAY_PAYOUT_ADDRESS_LENGTH, Tr as ElementGeometryEasing, Tt as LegacyPayDestinationAsk, U as ElementCheckoutResultPayload, Ua as WindowRelayAcceptedMessage, Ui as HubElementBalancePayload, Un as AppWindowAccountEmailPayload, Uo as PAY_HUB_FRAME_MESSAGE_TYPES, Ur as ElementRefusedMessage, Ut as WindowRelayPayProgressPayload, V as CheckoutFinalState, Va as WindowElementMessage, Vi as HubElementBalance, Vn as AppSignOutMessage, Vo as PAY_FUND_REQUEST_TYPE, Vr as ElementPayShownPayload, Vt as WindowRelayPayOwnerPayload, W as ElementDepositRequestPayload, Wa as WindowRelayBuildMessage, Wi as HubElementMessage, Wn as AppWindowAccountEmailRefreshMessage, Wo as PAY_JOBS, Wr as ElementRelayCloseMessage, Wt as WindowRelayPaySourceMessage, X as ElementPayRequestPayload, Xa as WindowRelayStatePayload, Xi as HubElementWindowCancelPayload, Xn as AppearancePayload, Xo as SUA_ELEMENT_RELOAD_REASONS, Xr as ElementRelayPayShownPayload, Xt as answersPayAmount, Y as ElementPayRequestAckPayload, Ya as WindowRelayStateMessage, Yi as HubElementWindowCancelMessage, Yn as AppWindowStatePayload, Yo as SUA_ELEMENT_GEOMETRY_EASINGS, Yr as ElementRelayPayShownMessage, Yt as WindowRelayPayUnsentPayload, Z as ElementPaymentNoticePayload, Za as WindowResultMessage, Zi as HubElementWindowRefusedMessage, Zn as CardElementConfig, Zo as SUA_FUND_WINDOW_MESSAGE_TYPE, Zr as ElementReloadRequestMessage, Zt as comparePayAmounts, _ as isAppElementMessage, _a as HubTheme, _i as EmptyPayload, _n as AppElementCheckStatusCapabilityPayload, _o as MAX_ERROR_MESSAGE_LENGTH, _r as ElementConnectedPayload, _t as HubElementPaySourcePayload, a as decodeAppWindowAccountEmailRefreshMessage, aa as HubMenuEndedMessage, ai as ElementViewShownMessage, an as samePayDestinationAsk, ao as HUB_NEEDS_POPUP_MESSAGE, ar as ElementActionCheckPayload, as as SUA_RELAY_MESSAGE_TYPES, at as HubElementCheckoutWalletMessage, b as isAppWindowHubMessage, ba as InitPayload, bi as FundStartScreen, bn as AppElementConfigMessage, bo as MAX_MENU_RECT_VALUE, br as ElementFailedMessage, bt as HubElementPaySourceSavedPayload, c as decodeElementHubMessage, ca as HubOverlayCloseMessage, ci as ElementWindowErrorMessage, cn as AppAppearanceMessage, co as HUB_SURFACE_POPUP, cr as ElementAttachMessage, cs as bytesToUtf8, ct as HubElementPayOwnerMessage, d as decodeHubElementMessage, da as HubRequestType, di as ElementWindowOpenedMessage, dn as AppDiagnosticsSubscribeMessage, do as MAX_ACCOUNT_EMAIL_LENGTH, dr as ElementCheckStatusRequestMessage, dt as HubElementPayProgressPayload, ea as HubErrorCode, ei as ElementResizePayload, en as isElementPaidPayload, eo as GUEST_COOKIE_ACCESS_HEADER, er as CeremonyRequestType, es as SUA_LINK_C_MESSAGE_TYPES, et as HubAppElementPayRequestMessage, f as decodeHubFrameAppMessage, fa as HubResult, fi as ElementWindowOpenedPayload, fn as AppDiagnosticsUnsubscribeMessage, fo as MAX_ACCOUNT_IDENTITY_LENGTH, fr as ElementCheckStatusRequestPayload, ft as HubElementPaySavedWallet, g as decodeWindowElementMessage, ga as HubStatus, gi as ElementWindowStatePayload, gn as AppElementCheckStatusCapabilityMessage, go as MAX_ELEMENT_RESIZE_DURATION_MS, gr as ElementConnectedMessage, gt as HubElementPaySourceMessage, h as decodeWindowAccountEmailMessage, ha as HubStateSnapshot, hi as ElementWindowStateMessage, hn as AppElementActionEligibilityPayload, ho as MAX_ELEMENT_LABEL_LENGTH, hr as ElementConfigPayload, ht as HubElementPaySourceFundsPayload, i as decodeAppWindowAccountEmailMessage, ia as HubMenuAcceptedMessage, ii as ElementSignedPayload, in as sameLegacyPayDestinationAsk, io as HUB_GUEST_COOKIE_NAME, ir as ElementActionCheckMessage, is as SUA_RELAY_CONTROL_MESSAGE_TYPES, it as HubElementCheckoutResultPayload, j as isSuaEnvelope, ja as SignInResult, ji as HubDiagnosticsDetailsObservation, jn as AppFundCancelMessage, jo as PAY_DESTINATION_ASSET_PATTERN, jr as ElementHubProbePayload, jt as PayJob, k as isHubMessage, ka as RelayCloseCause, ki as HubAttachRefusedMessage, kn as AppElementReloadGrantMessage, ko as PAY_AMOUNT_PATTERN, kr as ElementHubMessage, kt as PayDestinationRuleId, l as decodeElementMessage, la as HubOverlayOpenMessage, li as ElementWindowErrorPayload, ln as AppDiagnosticsDisconnectMessage, lo as HUB_URL_PARAMS, lr as ElementAttachPayload, ls as utf8ToBytes, lt as HubElementPayOwnerPayload, m as decodeRelayAccountEmailMessage, ma as HubStateMessage, mi as ElementWindowResultPayload, mn as AppElementActionEligibilityMessage, mo as MAX_ELEMENT_BLOCK_SIZE, mr as ElementConfigAckPayload, mt as HubElementPaySourceFundsMessage, n as decodeAppHubFrameMessage, na as HubFrameAppMessage, ni as ElementSignFailure, nn as isElementPayRequestPayload, no as HUB_CSRF_COOKIE_NAME, nr as DisconnectResult, ns as SUA_PAY_REQUEST_TYPE, nt as HubElementCheckoutHeldPayload, o as decodeAppWindowAccountEmailRefreshReplyMessage, oa as HubMenuRefusedMessage, oi as ElementWindowEndedMessage, on as samePayTerms, oo as HUB_PARTITIONED_GUEST_COOKIE_NAME, or as ElementAttachConfirmMessage, os as SUA_WINDOW_CANCEL_CAUSES, ot as HubElementCheckoutWalletPayload, p as decodeHubMessage, pa as HubResultMessage, pi as ElementWindowResultMessage, pn as AppDisconnectMessage, po as MAX_APP_ORIGIN_LENGTH, pr as ElementConfigAckMessage, pt as HubElementPaySourceCurrentMessage, q as ElementPaidPayload, qa as WindowRelayCloseAcceptedPayload, qi as HubElementWindowAcceptedMessage, qn as AppWindowAccountEmailRefreshReplyPayload, qo as SUA_ACCOUNT_EMAIL_MESSAGE_TYPES, qr as ElementRelayPageUrlMessage, qt as WindowRelayPaySourceSavedPayload, r as decodeAppMessage, ra as HubFundReceivedMessage, ri as ElementSignedMessage, rn as payJobOf, ro as HUB_FRAME_NAME_PATTERN, rr as ElementAcceptedMessage, rs as SUA_PROTOCOL_VERSION, rt as HubElementCheckoutResultMessage, s as decodeAppWindowHubMessage, sa as HubMessage, si as ElementWindowEndedPayload, sn as AccountEmailReportAccount, so as HUB_SURFACE_ELEMENT, sr as ElementAttachConfirmPayload, ss as SUA_WINDOW_END_CAUSES, st as HubElementPayFundedWallet, t as decodeAppElementMessage, ta as HubErrorMessage, ti as ElementSignAction, tn as isElementPayRequestAckPayload, to as HUB_BUILD_ID_PATTERN, tr as CeremonyResult, ts as SUA_LINK_C_STREAM_PREFIXES, tt as HubElementCheckoutHeldMessage, u as decodeElementWindowMessage, ua as HubReadyMessage, ui as ElementWindowMessage, un as AppDiagnosticsInspectMessage, uo as MAX_ACCOUNT_EMAIL_LEASE_MS, ur as ElementCeremonyFailure, ut as HubElementPayProgressMessage, v as isAppHubFrameMessage, va as HubTransport, vi as FundPayload, vn as AppElementCheckStatusSettledMessage, vo as MAX_HUB_BALANCE_AMOUNT_LENGTH, vr as ElementDetachMessage, vt as HubElementPaySourceRemembered, w as isElementWindowMessage, wa as PayEnvelope, wi as HubActivityPayload, wn as AppElementInitMessage, wo as MAX_PAY_ITEM_LENGTH, wr as ElementGeometryCapabilitiesPayload, wt as HubPayRequestPayload, x as isAppearance, xa as InitResult, xi as FundWindowContinuationMessage, xn as AppElementFocusMessage, xo as MAX_MESSAGE_ID_LENGTH, xr as ElementFailedPayload, xt as HubElementPayUnsentMessage, y as isAppMessage, ya as HubTransportMessage, yi as FundResult, yn as AppElementCheckStatusSettledPayload, yo as MAX_HUB_BUILD_ID_LENGTH, yr as ElementDetachPayload, yt as HubElementPaySourceSavedMessage, z as AppElementDepositRequestMessage, za as WindowAccountEmailMessage, zi as HubDiagnosticsStatusMessage, zn as AppSignInMessage, zo as PAY_FIRST_STEPS, zr as ElementPageUrlPayload, zt as WindowRelayCheckoutWalletPayload } from "../guards-CYx283Oo.js";
1
+ import { $ as HubAppElementDepositRequestMessage, $a as EVM_ADDRESS_PATTERN, $i as HubError, $n as CeremonyError, $o as SUA_FUND_WINDOW_MESSAGE_TYPE, $r as ElementResizeMessage, $t as isElementDepositRequestPayload, Aa as RelayInitPayload, Ai as HubDiagnosticsDetailsMessage, An as AppElementReloadGrantPayload, Ao as PAY_CURRENCIES, Ar as ElementHubProbeMessage, At as PayFirstStep, B as AppElementPayRequestMessage, Ba as WindowAccountEmailPayload, Bi as HubDiagnosticsStatusPayload, Bn as AppSignMessage, Bo as PAY_FUND_MESSAGE_TYPES, Br as ElementPayShownMessage, Bt as WindowRelayPayOwnerMessage, C as isElementMessage, Ca as PayElementLoadFailureReason, Ci as HubActivityMessage, Cn as AppElementGeometryCompleteMessage, Co as MAX_PAY_AMOUNT, Cr as ElementGeometryCapabilitiesMessage, Ct as HubPayRequestMessage, D as isHubFrameAppMessage, Da as RelayAccountEmailMessage, Di as HubAttachAcceptedMessage, Dn as AppElementPageUrlMessage, Do as MAX_RELAY_STATE_EXPIRY_LENGTH, Dr as ElementGeometryTargetMessage, Dt as PayDestinationAddress, E as isHubElementMessage, Ea as RefusalPayload, Ei as HubAppearance, En as AppElementMessage, Eo as MAX_PAY_SOURCE_FUNDS_WALLETS, Er as ElementGeometryLifetimePayload, Et as PayCurrency, F as PayEnvelopeArgs, Fa as SuaElementReloadReason, Fi as HubDiagnosticsHeldKey, Fn as AppMessage, Fo as PAY_ELEMENT_LOAD_FAILURE_REASONS, Fr as ElementMenuAnchorMessage, Ft as PayTransaction, G as ElementHeldMessage, Ga as WindowRelayBuildPayload, Gi as HubElementOverlayHiddenMessage, Gn as AppWindowAccountEmailRefreshPayload, Go as PAY_MESSAGE_TYPES, Gr as ElementRelayClosePayload, Gt as WindowRelayPaySourcePayload, H as ElementCheckoutResultMessage, Ha as WindowErrorMessage, Hi as HubElementBalanceMessage, Hn as AppWindowAccountEmailMessage, Ho as PAY_FUND_START_SCREENS, Hr as ElementReadyMessage, Ht as WindowRelayPayProgressMessage, I as SuaMessage, Ia as SuaWindowCancelCause, Ii as HubDiagnosticsObservation, In as AppOverlayHiddenMessage, Io as PAY_ELEMENT_MESSAGE_TYPES, Ir as ElementMenuAnchorPayload, It as WindowRelayCheckoutResultMessage, J as ElementPayRequestAckMessage, Ja as WindowRelayRefusedMessage, Ji as HubElementWindowAcceptedPayload, Jn as AppWindowStateMessage, Jo as SESSION_HEADER_OMIT, Jr as ElementRelayPageUrlPayload, Jt as WindowRelayPayUnsentMessage, K as ElementPaidMessage, Ka as WindowRelayCloseAcceptedMessage, Ki as HubElementProbeAckMessage, Kn as AppWindowAccountEmailRefreshReplyMessage, Ko as PAY_PROTOCOL, Kr as ElementRelayInitMessage, Kt as WindowRelayPaySourceSavedMessage, L as createHubSuaEnvelope, La as SuaWindowEndCause, Li as HubDiagnosticsSession, Ln as AppShowMenuMessage, Lo as PAY_ELEMENT_NOTIFICATION_MESSAGE_TYPES, Lr as ElementMessage, Lt as WindowRelayCheckoutResultPayload, M as isWindowElementMessage, Ma as SignOutResult, Mi as HubDiagnosticsDetailsPayload, Mn as AppFundMessage, Mo as PAY_DESTINATION_RULE_PATTERN, Mr as ElementInitPayload, Mt as PayReceived, Na as SignPayload, Ni as HubDiagnosticsDisconnect, Nn as AppHubFrameMessage, No as PAY_ELEMENT_FAILURE_CODES, Nr as ElementLoadFailedMessage, Nt as PayRequestTerms, O as isHubFrameName, Oa as RelayAccountEmailPayload, Oi as HubAttachAcceptedPayload, On as AppElementPageUrlPayload, Oo as MAX_SIGN_MESSAGE_BYTES, Or as ElementGeometryTargetPayload, Ot as PayDestinationAsk, P as HubDecodedMessage, Pa as SignResult, Pi as HubDiagnosticsEntityStatus, Pn as AppInitMessage, Po as PAY_ELEMENT_LIFETIME_MESSAGE_TYPES, Pr as ElementLoadFailedPayload, Pt as PayTerms, Q as ElementUnconfirmedMessage, Qa as APP_ID_PATTERN, Qi as HubElementWindowRefusedPayload, Qn as CardElementLabels, Qo as SUA_ELEMENT_RELOAD_REASONS, Qr as ElementReloadRequestPayload, Qt as isElementCheckoutResultPayload, Ra as TransportPayload, Ri as HubDiagnosticsSessionRead, Rn as AppShowMenuPayload, Ro as PAY_ELEMENT_PATH, Rr as ElementPageUrlMessage, Rt as WindowRelayCheckoutWalletMessage, S as isElementHubMessage, Sa as MenuRefusalPayload, Si as FundWindowContinuationPayload, Sn as AppElementGeometryCancelledMessage, So as MAX_PAGE_URL_LENGTH, Sr as ElementFailureCode, St as HubElementPayUnsentPayload, T as isHubBuildId, Ta as PayMenuRect, Ti as HubAppElementMessage, Tn as AppElementMenuEndedMessage, To as MAX_PAY_PAYOUT_ADDRESS_LENGTH, Tr as ElementGeometryEasing, Tt as LegacyPayDestinationAsk, U as ElementCheckoutResultPayload, Ua as WindowRelayAcceptedMessage, Ui as HubElementBalancePayload, Un as AppWindowAccountEmailPayload, Uo as PAY_HUB_FRAME_MESSAGE_TYPES, Ur as ElementRefusedMessage, Ut as WindowRelayPayProgressPayload, V as CheckoutFinalState, Va as WindowElementMessage, Vi as HubElementBalance, Vn as AppSignOutMessage, Vo as PAY_FUND_REQUEST_TYPE, Vr as ElementPayShownPayload, Vt as WindowRelayPayOwnerPayload, W as ElementDepositRequestPayload, Wa as WindowRelayBuildMessage, Wi as HubElementMessage, Wn as AppWindowAccountEmailRefreshMessage, Wo as PAY_JOBS, Wr as ElementRelayCloseMessage, Wt as WindowRelayPaySourceMessage, X as ElementPayRequestPayload, Xa as WindowRelayStatePayload, Xi as HubElementWindowCancelPayload, Xn as AppearancePayload, Xo as SUA_APP_WINDOW_MESSAGE_TYPES, Xr as ElementRelayPayShownPayload, Xt as answersPayAmount, Y as ElementPayRequestAckPayload, Ya as WindowRelayStateMessage, Yi as HubElementWindowCancelMessage, Yn as AppWindowStatePayload, Yo as SUA_ACCOUNT_EMAIL_MESSAGE_TYPES, Yr as ElementRelayPayShownMessage, Yt as WindowRelayPayUnsentPayload, Z as ElementPaymentNoticePayload, Za as WindowResultMessage, Zi as HubElementWindowRefusedMessage, Zn as CardElementConfig, Zo as SUA_ELEMENT_GEOMETRY_EASINGS, Zr as ElementReloadRequestMessage, Zt as comparePayAmounts, _ as isAppElementMessage, _a as HubTheme, _i as EmptyPayload, _n as AppElementCheckStatusCapabilityPayload, _o as MAX_ERROR_MESSAGE_LENGTH, _r as ElementConnectedPayload, _t as HubElementPaySourcePayload, a as decodeAppWindowAccountEmailRefreshMessage, aa as HubMenuEndedMessage, ai as ElementViewShownMessage, an as samePayDestinationAsk, ao as HUB_NEEDS_POPUP_MESSAGE, ar as ElementActionCheckPayload, as as SUA_PROTOCOL_VERSION, at as HubElementCheckoutWalletMessage, b as isAppWindowHubMessage, ba as InitPayload, bi as FundStartScreen, bn as AppElementConfigMessage, bo as MAX_MENU_RECT_VALUE, br as ElementFailedMessage, bt as HubElementPaySourceSavedPayload, c as decodeElementHubMessage, ca as HubOverlayCloseMessage, ci as ElementWindowErrorMessage, cn as AppAppearanceMessage, co as HUB_SURFACE_POPUP, cr as ElementAttachMessage, cs as SUA_WINDOW_CANCEL_CAUSES, ct as HubElementPayOwnerMessage, d as decodeHubElementMessage, da as HubRequestType, di as ElementWindowOpenedMessage, dn as AppDiagnosticsSubscribeMessage, do as MAX_ACCOUNT_EMAIL_LENGTH, dr as ElementCheckStatusRequestMessage, ds as utf8ToBytes, dt as HubElementPayProgressPayload, ea as HubErrorCode, ei as ElementResizePayload, en as isElementPaidPayload, eo as GUEST_COOKIE_ACCESS_HEADER, er as CeremonyRequestType, es as SUA_GUEST_HANDOFF_MESSAGE_TYPE, et as HubAppElementPayRequestMessage, f as decodeHubFrameAppMessage, fa as HubResult, fi as ElementWindowOpenedPayload, fn as AppDiagnosticsUnsubscribeMessage, fo as MAX_ACCOUNT_IDENTITY_LENGTH, fr as ElementCheckStatusRequestPayload, ft as HubElementPaySavedWallet, g as decodeWindowElementMessage, ga as HubStatus, gi as ElementWindowStatePayload, gn as AppElementCheckStatusCapabilityMessage, go as MAX_ELEMENT_RESIZE_DURATION_MS, gr as ElementConnectedMessage, gt as HubElementPaySourceMessage, h as decodeWindowAccountEmailMessage, ha as HubStateSnapshot, hi as ElementWindowStateMessage, hn as AppElementActionEligibilityPayload, ho as MAX_ELEMENT_LABEL_LENGTH, hr as ElementConfigPayload, ht as HubElementPaySourceFundsPayload, i as decodeAppWindowAccountEmailMessage, ia as HubMenuAcceptedMessage, ii as ElementSignedPayload, in as sameLegacyPayDestinationAsk, io as HUB_GUEST_COOKIE_NAME, ir as ElementActionCheckMessage, is as SUA_PAY_REQUEST_TYPE, it as HubElementCheckoutResultPayload, j as isSuaEnvelope, ja as SignInResult, ji as HubDiagnosticsDetailsObservation, jn as AppFundCancelMessage, jo as PAY_DESTINATION_ASSET_PATTERN, jr as ElementHubProbePayload, jt as PayJob, k as isHubMessage, ka as RelayCloseCause, ki as HubAttachRefusedMessage, kn as AppElementReloadGrantMessage, ko as PAY_AMOUNT_PATTERN, kr as ElementHubMessage, kt as PayDestinationRuleId, l as decodeElementMessage, la as HubOverlayOpenMessage, li as ElementWindowErrorPayload, ln as AppDiagnosticsDisconnectMessage, lo as HUB_URL_PARAMS, lr as ElementAttachPayload, ls as SUA_WINDOW_END_CAUSES, lt as HubElementPayOwnerPayload, m as decodeRelayAccountEmailMessage, ma as HubStateMessage, mi as ElementWindowResultPayload, mn as AppElementActionEligibilityMessage, mo as MAX_ELEMENT_BLOCK_SIZE, mr as ElementConfigAckPayload, mt as HubElementPaySourceFundsMessage, n as decodeAppHubFrameMessage, na as HubFrameAppMessage, ni as ElementSignFailure, nn as isElementPayRequestPayload, no as HUB_CSRF_COOKIE_NAME, nr as DisconnectResult, ns as SUA_LINK_C_MESSAGE_TYPES, nt as HubElementCheckoutHeldPayload, o as decodeAppWindowAccountEmailRefreshReplyMessage, oa as HubMenuRefusedMessage, oi as ElementWindowEndedMessage, on as samePayTerms, oo as HUB_PARTITIONED_GUEST_COOKIE_NAME, or as ElementAttachConfirmMessage, os as SUA_RELAY_CONTROL_MESSAGE_TYPES, ot as HubElementCheckoutWalletPayload, p as decodeHubMessage, pa as HubResultMessage, pi as ElementWindowResultMessage, pn as AppDisconnectMessage, po as MAX_APP_ORIGIN_LENGTH, pr as ElementConfigAckMessage, pt as HubElementPaySourceCurrentMessage, q as ElementPaidPayload, qa as WindowRelayCloseAcceptedPayload, qi as HubElementWindowAcceptedMessage, qn as AppWindowAccountEmailRefreshReplyPayload, qo as SESSION_HEADER, qr as ElementRelayPageUrlMessage, qt as WindowRelayPaySourceSavedPayload, r as decodeAppMessage, ra as HubFundReceivedMessage, ri as ElementSignedMessage, rn as payJobOf, ro as HUB_FRAME_NAME_PATTERN, rr as ElementAcceptedMessage, rs as SUA_LINK_C_STREAM_PREFIXES, rt as HubElementCheckoutResultMessage, s as decodeAppWindowHubMessage, sa as HubMessage, si as ElementWindowEndedPayload, sn as AccountEmailReportAccount, so as HUB_SURFACE_ELEMENT, sr as ElementAttachConfirmPayload, ss as SUA_RELAY_MESSAGE_TYPES, st as HubElementPayFundedWallet, t as decodeAppElementMessage, ta as HubErrorMessage, ti as ElementSignAction, tn as isElementPayRequestAckPayload, to as HUB_BUILD_ID_PATTERN, tr as CeremonyResult, ts as SUA_LINK_C_ID_SEPARATOR, tt as HubElementCheckoutHeldMessage, u as decodeElementWindowMessage, ua as HubReadyMessage, ui as ElementWindowMessage, un as AppDiagnosticsInspectMessage, uo as MAX_ACCOUNT_EMAIL_LEASE_MS, ur as ElementCeremonyFailure, us as bytesToUtf8, ut as HubElementPayProgressMessage, v as isAppHubFrameMessage, va as HubTransport, vi as FundPayload, vn as AppElementCheckStatusSettledMessage, vo as MAX_HUB_BALANCE_AMOUNT_LENGTH, vr as ElementDetachMessage, vt as HubElementPaySourceRemembered, w as isElementWindowMessage, wa as PayEnvelope, wi as HubActivityPayload, wn as AppElementInitMessage, wo as MAX_PAY_ITEM_LENGTH, wr as ElementGeometryCapabilitiesPayload, wt as HubPayRequestPayload, x as isAppearance, xa as InitResult, xi as FundWindowContinuationMessage, xn as AppElementFocusMessage, xo as MAX_MESSAGE_ID_LENGTH, xr as ElementFailedPayload, xt as HubElementPayUnsentMessage, y as isAppMessage, ya as HubTransportMessage, yi as FundResult, yn as AppElementCheckStatusSettledPayload, yo as MAX_HUB_BUILD_ID_LENGTH, yr as ElementDetachPayload, yt as HubElementPaySourceSavedMessage, z as AppElementDepositRequestMessage, za as WindowAccountEmailMessage, zi as HubDiagnosticsStatusMessage, zn as AppSignInMessage, zo as PAY_FIRST_STEPS, zr as ElementPageUrlPayload, zt as WindowRelayCheckoutWalletPayload } from "../guards-CQWGp5eP.js";
2
2
  //#region src/client/constants.d.ts
3
3
  /**
4
4
  * The path prefix of the sign-in routes and every route that needs a session.
@@ -4389,10 +4389,13 @@ interface CoordinatorCallOptions {
4389
4389
  */
4390
4390
  signal?: AbortSignal;
4391
4391
  /**
4392
- * `true` sends this one request without credentials: `credentials: "omit"`, so the browser sends no cookie and
4393
- * stores none the answer sets, and no `X-CSRF-Token` (the token is not read: it only proves the cookie's session).
4394
- * For an email `startRound` while a session cookie is live but its token is lost: the Coordinator refuses an email
4395
- * open that carries a live cookie, and opens an ordinary round without one. Every other rule is unchanged.
4392
+ * `true` sends this one request without the session: no `X-CSRF-Token` (the token is not read: it only proves the
4393
+ * cookie's session), and `X-Stridge-Session: omit`, so the hub proxy does not forward the session cookie
4394
+ * `__Host-sua_session`. The request keeps `credentials: "include"`: the browser sends every other cookie, and
4395
+ * stores the cookies the answer sets. For an email `startRound` while a session cookie is live but its token is
4396
+ * lost: the Coordinator refuses an email open that carries a live session cookie, opens an ordinary round without
4397
+ * one, and sets the round's binder cookie, which verify needs. Only the hub proxy drops the cookie, so the client
4398
+ * must call the Coordinator through it. Every other rule is unchanged.
4396
4399
  */
4397
4400
  omitCredentials?: boolean;
4398
4401
  }
@@ -4488,8 +4491,8 @@ interface ListRoutesQuery {
4488
4491
  *
4489
4492
  * Shared behaviour of every method:
4490
4493
  *
4491
- * - **Request.** `fetch(baseUrl + path, init)` with `credentials: "include"` (`"omit"` for a call with
4492
- * `omitCredentials`), the method's HTTP verb, and the caller's `signal`. Path ids are `encodeURIComponent`-encoded.
4494
+ * - **Request.** `fetch(baseUrl + path, init)` with `credentials: "include"`, the method's HTTP verb, and the
4495
+ * caller's `signal`. Path ids are `encodeURIComponent`-encoded.
4493
4496
  * - **Arguments.** A route method whose argument breaks its documented rule (an empty, `.` or `..` route id, or a
4494
4497
  * malformed idempotency key, `tx`, `states` or `limit`) rejects with a `TypeError` and sends nothing.
4495
4498
  * - **Headers.** `Content-Type: application/json` only when a body is sent. `X-Stridge-App: <appId>` on every
@@ -4499,7 +4502,7 @@ interface ListRoutesQuery {
4499
4502
  * header, so no route header can replace them.
4500
4503
  * - The session methods (all but the four below): `X-CSRF-Token: <token>` on every `POST`, `PATCH` and `DELETE`
4501
4504
  * whenever `csrf.get()` resolves to a non-empty string (awaited per call), and never on a `GET` or a call with
4502
- * `omitCredentials` (which does not read the token). A missing token is not an error here: the request is still
4505
+ * `omitCredentials` (which does not read the token, and sends `X-Stridge-Session: omit` instead). A missing token is not an error here: the request is still
4503
4506
  * sent and the Coordinator answers `401 SESSION_EXPIRED`.
4504
4507
  * - `openGuest`: the cookies only. No `X-CSRF-Token`, and the stored token is never read.
4505
4508
  * - `saveGuestWallet`, `removeGuestWallet` and `markGuestWalletUsed`: the guest's token as `X-CSRF-Token` and its scope as
@@ -6256,5 +6259,5 @@ declare const SERVER_CLOCK_MIN_OFFSET_MS = 1000;
6256
6259
  */
6257
6260
  declare function createServerClock(options?: ServerClockOptions): ServerClock;
6258
6261
  //#endregion
6259
- export { APP_HEADER, APP_ID_PATTERN, type AccountEmailReportAccount, AdjustPayInRequestDto, AnswerWalletOfferRequestDto, type AppAppearanceMessage, type AppDiagnosticsDisconnectMessage, type AppDiagnosticsInspectMessage, type AppDiagnosticsSubscribeMessage, type AppDiagnosticsUnsubscribeMessage, type AppDisconnectMessage, AppDto, type AppElementActionEligibilityMessage, type AppElementActionEligibilityPayload, type AppElementCheckStatusCapabilityMessage, type AppElementCheckStatusCapabilityPayload, type AppElementCheckStatusSettledMessage, type AppElementCheckStatusSettledPayload, type AppElementConfigMessage, type AppElementDepositRequestMessage, type AppElementFocusMessage, type AppElementGeometryCancelledMessage, type AppElementGeometryCompleteMessage, type AppElementInitMessage, type AppElementMenuEndedMessage, type AppElementMessage, type AppElementPageUrlMessage, type AppElementPageUrlPayload, type AppElementPayRequestMessage, type AppElementReloadGrantMessage, type AppElementReloadGrantPayload, type AppFundCancelMessage, type AppFundMessage, type AppHubFrameMessage, type AppInitMessage, type AppMessage, type AppOverlayHiddenMessage, type AppShowMenuMessage, type AppShowMenuPayload, type AppSignInMessage, type AppSignMessage, type AppSignOutMessage, type AppWindowAccountEmailMessage, type AppWindowAccountEmailPayload, type AppWindowAccountEmailRefreshMessage, type AppWindowAccountEmailRefreshPayload, type AppWindowAccountEmailRefreshReplyMessage, type AppWindowAccountEmailRefreshReplyPayload, type AppWindowStateMessage, type AppWindowStatePayload, type AppearancePayload, AssetDto, AssetListDto, AttestationDto, type Awaitable, CSRF_HEADER, type Caip19Parts, type Caip2Parts, type CardElementConfig, type CardElementLabels, type CeremonyError, type CeremonyRequestType, type CeremonyResult, ChainKindDto, type CheckoutFinalState, CheckoutQuoteRequestDto, CheckoutResolutionDto, CheckoutResolveRequestDto, type Clock, type CodeSealer, type ConfirmGuestPayInOptions, type ConfirmPayInOptions, ConfirmPayInRequestDto, ConnectorDto, type CoordinatorCallOptions, type CoordinatorClient, type CoordinatorClientOptions, CredentialDto, type CryptoKeyPairLike, type CsrfAccessor, type CsrfStore, CsrfStoreError, CurveDto, DEPOSIT_NATIVE_SELECTOR, type HubDecodedMessage as DecodedMessage, type DisconnectResult, EVM_ADDRESS_PATTERN, EVM_CAIP_NAMESPACE, Eip712PayloadDto, Eip712StepDto, type ElementAcceptedMessage, type ElementActionCheckMessage, type ElementActionCheckPayload, type ElementAttachConfirmMessage, type ElementAttachConfirmPayload, type ElementAttachMessage, type ElementAttachPayload, type ElementCeremonyFailure, type ElementCheckStatusRequestMessage, type ElementCheckStatusRequestPayload, type ElementCheckoutResultMessage, type ElementCheckoutResultPayload, type ElementConfigAckMessage, type ElementConfigAckPayload, type ElementConfigPayload, type ElementConnectedMessage, type ElementConnectedPayload, type ElementDepositRequestPayload, type ElementDetachMessage, type ElementDetachPayload, type ElementFailedMessage, type ElementFailedPayload, type ElementFailureCode, type ElementGeometryCapabilitiesMessage, type ElementGeometryCapabilitiesPayload, type ElementGeometryEasing, type ElementGeometryLifetimePayload, type ElementGeometryTargetMessage, type ElementGeometryTargetPayload, type ElementHeldMessage, type ElementHubMessage, type ElementHubProbeMessage, type ElementHubProbePayload, type ElementInitPayload, type ElementLoadFailedMessage, type ElementLoadFailedPayload, type ElementMenuAnchorMessage, type ElementMenuAnchorPayload, type ElementMessage, type ElementPageUrlMessage, type ElementPageUrlPayload, type ElementPaidMessage, type ElementPaidPayload, type ElementPayRequestAckMessage, type ElementPayRequestAckPayload, type ElementPayRequestPayload, type ElementPayShownMessage, type ElementPayShownPayload, type ElementPaymentNoticePayload, type ElementReadyMessage, type ElementRefusedMessage, type ElementRelayCloseMessage, type ElementRelayClosePayload, type ElementRelayInitMessage, type ElementRelayPageUrlMessage, type ElementRelayPageUrlPayload, type ElementRelayPayShownMessage, type ElementRelayPayShownPayload, type ElementReloadRequestMessage, type ElementReloadRequestPayload, type ElementResizeMessage, type ElementResizePayload, type ElementSignAction, type ElementSignFailure, type ElementSignedMessage, type ElementSignedPayload, type ElementUnconfirmedMessage, type ElementViewShownMessage, type ElementWindowEndedMessage, type ElementWindowEndedPayload, type ElementWindowErrorMessage, type ElementWindowErrorPayload, type ElementWindowMessage, type ElementWindowOpenedMessage, type ElementWindowOpenedPayload, type ElementWindowResultMessage, type ElementWindowResultPayload, type ElementWindowStateMessage, type ElementWindowStatePayload, type EmptyPayload, ErrorBodyDto, ErrorEnvelopeDto, ErrorKindDto, EvmTransactionPayloadDto, EvmTransactionStepDto, ExternalAccountDto, ExternalBalanceReadDto, ExternalBalancesDto, ExternalBalancesRequestDto, ExternalHoldingDto, type FetchLike, type FundPayload, type FundResult, type FundStartScreen, type FundWindowContinuationMessage, type FundWindowContinuationPayload, GUEST_COOKIE_ACCESS_HEADER, type GuestCallOptions, GuestCookieScopeDto, GuestDto, GuestHandoffDto, GuestMergeRequestDto, type GuestReadCallOptions, HUB_API_PREFIXES, HUB_BUILD_ID_PATTERN, HUB_CSRF_COOKIE_NAME, HUB_FRAME_NAME_PATTERN, HUB_GUEST_COOKIE_NAME, HUB_NEEDS_POPUP_MESSAGE, HUB_PARTITIONED_GUEST_COOKIE_NAME, HUB_SURFACE_ELEMENT, HUB_SURFACE_POPUP, HUB_URL_PARAMS, type HubActivityMessage, type HubActivityPayload, type HubAppElementDepositRequestMessage, type HubAppElementMessage, type HubAppElementPayRequestMessage, type HubAppearance, type HubAttachAcceptedMessage, type HubAttachAcceptedPayload, type HubAttachRefusedMessage, type HubDiagnosticsDetailsMessage, type HubDiagnosticsDetailsObservation, type HubDiagnosticsDetailsPayload, type HubDiagnosticsDisconnect, type HubDiagnosticsEntityStatus, type HubDiagnosticsHeldKey, type HubDiagnosticsObservation, type HubDiagnosticsSession, type HubDiagnosticsSessionRead, type HubDiagnosticsStatusMessage, type HubDiagnosticsStatusPayload, type HubElementBalance, type HubElementBalanceMessage, type HubElementBalancePayload, type HubElementCheckoutHeldMessage, type HubElementCheckoutHeldPayload, type HubElementCheckoutResultMessage, type HubElementCheckoutResultPayload, type HubElementCheckoutWalletMessage, type HubElementCheckoutWalletPayload, type HubElementMessage, type HubElementOverlayHiddenMessage, type HubElementPayFundedWallet, type HubElementPayOwnerMessage, type HubElementPayOwnerPayload, type HubElementPayProgressMessage, type HubElementPayProgressPayload, type HubElementPaySavedWallet, type HubElementPaySourceCurrentMessage, type HubElementPaySourceFundsMessage, type HubElementPaySourceFundsPayload, type HubElementPaySourceMessage, type HubElementPaySourcePayload, type HubElementPaySourceRemembered, type HubElementPaySourceSavedMessage, type HubElementPaySourceSavedPayload, type HubElementPayUnsentMessage, type HubElementPayUnsentPayload, type HubElementProbeAckMessage, type HubElementWindowAcceptedMessage, type HubElementWindowAcceptedPayload, type HubElementWindowCancelMessage, type HubElementWindowCancelPayload, type HubElementWindowRefusedMessage, type HubElementWindowRefusedPayload, type HubError, type HubErrorCode, type HubErrorMessage, type HubFrameAppMessage, type HubFundReceivedMessage, type HubMenuAcceptedMessage, type HubMenuEndedMessage, type HubMenuRefusedMessage, type HubMessage, type HubOverlayCloseMessage, type HubOverlayOpenMessage, type HubPayRequestMessage, type HubPayRequestPayload, type HubReadyMessage, type HubRequestType, type HubResult, type HubResultMessage, type HubStateMessage, type HubStateSnapshot, type HubStatus, type HubTheme, type HubTransport, type HubTransportMessage, IDEMPOTENCY_HEADER, IdentityStateDto, type InitPayload, type InitResult, KEYPAIR_ALGORITHM, type Keypair, type KeypairStore, type LegacyPayDestinationAsk, type ListRoutesQuery, MAX_ACCOUNT_EMAIL_LEASE_MS, MAX_ACCOUNT_EMAIL_LENGTH, MAX_ACCOUNT_IDENTITY_LENGTH, MAX_APP_ORIGIN_LENGTH, MAX_ELEMENT_BLOCK_SIZE, MAX_ELEMENT_LABEL_LENGTH, MAX_ELEMENT_RESIZE_DURATION_MS, MAX_ERROR_MESSAGE_LENGTH, MAX_EXTERNAL_WALLET_NAME_LENGTH, MAX_HUB_BALANCE_AMOUNT_LENGTH, MAX_HUB_BUILD_ID_LENGTH, MAX_IDEMPOTENCY_KEY_LENGTH, MAX_MENU_RECT_VALUE, MAX_MESSAGE_ID_LENGTH, MAX_PAGE_URL_LENGTH, MAX_PAY_AMOUNT, MAX_PAY_ITEM_LENGTH, MAX_PAY_PAYOUT_ADDRESS_LENGTH, MAX_PAY_SOURCE_FUNDS_WALLETS, MAX_RELAY_STATE_EXPIRY_LENGTH, MAX_ROUTE_LIST_LIMIT, MAX_SIGN_MESSAGE_BYTES, MAX_TOKEN_DECIMALS, MAX_WALLET_CAPABILITY_CHAINS, MarkExternalAccountUsedRequestDto, type MenuRefusalPayload, OpenGuestRequestDto, type OpenRouteOptions, PAY_AMOUNT_PATTERN, PAY_API_PREFIX, PAY_CURRENCIES, PAY_DESTINATION_ASSET_PATTERN, PAY_DESTINATION_RULE_PATTERN, PAY_ELEMENT_FAILURE_CODES, PAY_ELEMENT_LIFETIME_MESSAGE_TYPES, PAY_ELEMENT_LOAD_FAILURE_REASONS, PAY_ELEMENT_MESSAGE_TYPES, PAY_ELEMENT_NOTIFICATION_MESSAGE_TYPES, PAY_ELEMENT_PATH, PAY_FIRST_STEPS, PAY_FUND_MESSAGE_TYPES, PAY_FUND_REQUEST_TYPE, PAY_FUND_START_SCREENS, PAY_HUB_FRAME_MESSAGE_TYPES, PAY_IN_DRIP_STATES, PAY_IN_LEG_STATES, PAY_IN_MECHANISMS, PAY_IN_PHASES, PAY_IN_SHAPES, PAY_IN_STATES, PAY_IN_STEP_KINDS, PAY_IN_STEP_SCHEMES, PAY_IN_STEP_STATUSES, PAY_IN_TERMINAL_STATES, PAY_IN_UNSPENDABLE_REASONS, PAY_JOBS, PAY_MESSAGE_TYPES, PAY_PROTOCOL, PERMIT2_ADDRESS, PERSONAL_MESSAGE_PREFIX, type PayCurrency, type PayDestinationAddress, type PayDestinationAsk, type PayDestinationRuleId, type PayElementLoadFailureReason, type PayEnvelope, type PayEnvelopeArgs, type PayFirstStep, PayInChainCapabilitiesDto, PayInDestinationDto, PayInDripDto, PayInDto, PayInLegDto, PayInLegStateDto, PayInMechanismDto, PayInPayeeDto, PayInPhaseDto, PayInShapeDto, PayInStateDto, PayInStepBaseDto, PayInStepDto, type PayInStepKind, PayInStepSchemeDto, PayInStepSignatureDto, PayInStepStatusDto, PayInStepTxHashDto, PayInTerminalStateDto, PayInUnspendableDto, PayInUnspendableReasonDto, PayInWalletDescriptorDto, PayInWalletsDto, type PayJob, type PayMenuRect, type PayReceived, type PayRequestTerms, type PayTerms, type PayTransaction, type PersonalSignBody, type PersonalSignInput, type PinnedSessionCallOptions, RELAY_DEPOSITORY_ADDRESS, ROUTE_SOURCE_CHAIN_ID, ROUTE_STATES, ROUTE_STEP_ROLES, type RefusalPayload, RegisterKeypairAmbiguousDto, RegisterKeypairRequestDto, RegisterKeypairResponseDto, RegisterKeypairResultDto, type RelayAccountEmailMessage, type RelayAccountEmailPayload, type RelayCloseCause, type RelayCosignatureResult, type RelayInitPayload, RelayPurposeDto, type RelayRefusedResult, RelayRequestDto, RelayResponseDto, type RelayResult, type RelaySignedResult, type RelayUnknownCause, type RelayUnknownResult, RelayVerdictDto, RootActivityDto, RoundDto, type RoundExpiredOutcome, RoundFailedDto, type RoundFailedOutcome, RoundOpenedDto, RoundOpeningDto, RoundReadyDto, type RoundReadyOutcome, RouteDestinationDto, RouteDto, RouteEndDto, RouteFeesDto, RouteListDto, RouteQuoteDto, RouteRequestDto, RouteSourceDto, RouteSourceRequestDto, RouteStateDto, RouteStepCallDto, RouteStepDto, RouteStepRoleDto, SECP256K1_ORDER, SERVER_CLOCK_AGREEMENT_MS, SERVER_CLOCK_MAX_ROUND_TRIP_MS, SERVER_CLOCK_MIN_OFFSET_MS, SERVER_CLOCK_WINDOW, SIGNATURE_ALGORITHM, STAMP_HEADER_NAME, STAMP_LOGIN_ACTIVITY_TYPE, STAMP_LOGIN_EXPIRATION_SECONDS, STAMP_SCHEME, SUA_ACCOUNT_EMAIL_MESSAGE_TYPES, SUA_APP_WINDOW_MESSAGE_TYPES, SUA_ELEMENT_GEOMETRY_EASINGS, SUA_ELEMENT_RELOAD_REASONS, SUA_FUND_WINDOW_MESSAGE_TYPE, SUA_GUEST_HANDOFF_MESSAGE_TYPE, SUA_LINK_C_ID_SEPARATOR, SUA_LINK_C_MESSAGE_TYPES, SUA_LINK_C_STREAM_PREFIXES, SUA_PAY_REQUEST_TYPE, SUA_PROTOCOL_VERSION, SUA_REASONS, SUA_RELAY_CONTROL_MESSAGE_TYPES, SUA_RELAY_MESSAGE_TYPES, SUA_WINDOW_CANCEL_CAUSES, SUA_WINDOW_END_CAUSES, SaveExternalAccountRequestDto, SaveExternalAccountResponseDto, SavedViaDto, type ServerClock, type ServerClockOptions, type ServerTimeSample, type ServerTimeSink, SessionDto, SessionExpiryDto, type SignInResult, type SignOutResult, type SignPayload, SignRawPayloadActivityDto, type SignRawPayloadInput, SignRawPayloadParametersDto, SignRawPayloadResultDto, type SignResult, type Sleep, SolanaTransactionPayloadDto, SolanaTransactionStepDto, StampHeaderDto, type StartRoundInput, StartRoundRequestDto, StartRoundResponseDto, type StoredKeypair, type SuaElementReloadReason, SuaError, type SuaErrorInit, type SuaErrorKind, type SuaErrorResponse, type SuaMessage, SuaNetworkError, type SuaReason, type SuaWindowCancelCause, type SuaWindowEndCause, TopUpQuoteRequestDto, type TransportPayload, TurnkeyActivityDto, TurnkeyActivityResponseDto, TurnkeyErrorResponseDto, UPSTREAM_DATE_HEADER, VerifiedWalletDto, VerifyRoundRequestDto, VerifyRoundResponseDto, WALLET_API_PREFIX, type WaitForActiveWalletOptions, type WaitForActiveWalletOutcome, type WaitForRoundOptions, type WaitForRoundOutcome, type WalletActiveOutcome, WalletAddressDto, WalletBrandDto, WalletBrandSlugDto, WalletDto, WalletStatusDto, type WalletTimeoutOutcome, type WalletWoundDownOutcome, type WindowAccountEmailMessage, type WindowAccountEmailPayload, type WindowElementMessage, type WindowErrorMessage, type WindowRelayAcceptedMessage, type WindowRelayBuildMessage, type WindowRelayBuildPayload, type WindowRelayCheckoutResultMessage, type WindowRelayCheckoutResultPayload, type WindowRelayCheckoutWalletMessage, type WindowRelayCheckoutWalletPayload, type WindowRelayCloseAcceptedMessage, type WindowRelayCloseAcceptedPayload, type WindowRelayPayOwnerMessage, type WindowRelayPayOwnerPayload, type WindowRelayPayProgressMessage, type WindowRelayPayProgressPayload, type WindowRelayPaySourceMessage, type WindowRelayPaySourcePayload, type WindowRelayPaySourceSavedMessage, type WindowRelayPaySourceSavedPayload, type WindowRelayPayUnsentMessage, type WindowRelayPayUnsentPayload, type WindowRelayRefusedMessage, type WindowRelayStateMessage, type WindowRelayStatePayload, type WindowResultMessage, answersPayAmount, buildPersonalSignBody, buildPersonalSignPayload, buildSignRawPayloadBody, buildStamp, buildStampHeader, buildStampLogin, bytesToUtf8, coinSendDepositor, comparePayAmounts, compressPublicKey, createCoordinatorClient, createHubSuaEnvelope as createPayEnvelope, createRegisterKeypairRequest, createRelayRequest, createServerClock, decodeAppElementMessage, decodeAppHubFrameMessage, decodeAppMessage, decodeAppWindowAccountEmailMessage, decodeAppWindowAccountEmailRefreshMessage, decodeAppWindowAccountEmailRefreshReplyMessage, decodeAppWindowHubMessage, decodeElementHubMessage, decodeElementMessage, decodeElementWindowMessage, decodeHubElementMessage, decodeHubFrameAppMessage, decodeHubMessage, decodeRelayAccountEmailMessage, decodeRelayResponse, decodeWindowAccountEmailMessage, decodeWindowElementMessage, derSignatureToRaw, earliestPayInExpiry, encodeRelayBody, evmChainHex, evmChainNumber, formatBaseUnits, fromBase64, fromBase64Url, fromHex, generateKeypair, isAppElementMessage, isAppHubFrameMessage, isAppMessage, isAppWindowHubMessage, isAppearance, isAssetListDto, isCheckoutResolutionDto, isCoinSend, isCsrfStoreError, isElementCheckoutResultPayload, isElementDepositRequestPayload, isElementHubMessage, isElementMessage, isElementPaidPayload, isElementPayRequestAckPayload, isElementPayRequestPayload, isElementWindowMessage, isErrorEnvelopeDto, isExternalBalancesDto, isHubBuildId, isHubElementMessage, isHubFrameAppMessage, isHubFrameName, isHubMessage, isPayInDto, isPayInSettled, isPayInStateDto, isPayInTerminalState, isPermit2Approval, isRouteDto, isRouteListDto, isRouteQuoteDto, isRouteStateDto, isSignablePayInStep, isSuaEnvelope, isSuaError, isSuaNetworkError, isWalletTransfer, isWindowElementMessage, keypairFromKeys, nextRequiredStep, parseBaseUnits, parseCaip19, parseCaip2, parseSuaError, payInStepKind, payJobOf, rawSignatureToDer, sameLegacyPayDestinationAsk, samePayDestinationAsk, samePayTerms, settleRelay, signDer, signRaw, sleep, stampAttested, tempoFeeTokenOf, toBase64, toBase64Url, toBaseUnits, toEvmSignature, toHex, toSuaError, utf8ToBytes, waitForActiveWallet, waitForRound };
6262
+ export { APP_HEADER, APP_ID_PATTERN, type AccountEmailReportAccount, AdjustPayInRequestDto, AnswerWalletOfferRequestDto, type AppAppearanceMessage, type AppDiagnosticsDisconnectMessage, type AppDiagnosticsInspectMessage, type AppDiagnosticsSubscribeMessage, type AppDiagnosticsUnsubscribeMessage, type AppDisconnectMessage, AppDto, type AppElementActionEligibilityMessage, type AppElementActionEligibilityPayload, type AppElementCheckStatusCapabilityMessage, type AppElementCheckStatusCapabilityPayload, type AppElementCheckStatusSettledMessage, type AppElementCheckStatusSettledPayload, type AppElementConfigMessage, type AppElementDepositRequestMessage, type AppElementFocusMessage, type AppElementGeometryCancelledMessage, type AppElementGeometryCompleteMessage, type AppElementInitMessage, type AppElementMenuEndedMessage, type AppElementMessage, type AppElementPageUrlMessage, type AppElementPageUrlPayload, type AppElementPayRequestMessage, type AppElementReloadGrantMessage, type AppElementReloadGrantPayload, type AppFundCancelMessage, type AppFundMessage, type AppHubFrameMessage, type AppInitMessage, type AppMessage, type AppOverlayHiddenMessage, type AppShowMenuMessage, type AppShowMenuPayload, type AppSignInMessage, type AppSignMessage, type AppSignOutMessage, type AppWindowAccountEmailMessage, type AppWindowAccountEmailPayload, type AppWindowAccountEmailRefreshMessage, type AppWindowAccountEmailRefreshPayload, type AppWindowAccountEmailRefreshReplyMessage, type AppWindowAccountEmailRefreshReplyPayload, type AppWindowStateMessage, type AppWindowStatePayload, type AppearancePayload, AssetDto, AssetListDto, AttestationDto, type Awaitable, CSRF_HEADER, type Caip19Parts, type Caip2Parts, type CardElementConfig, type CardElementLabels, type CeremonyError, type CeremonyRequestType, type CeremonyResult, ChainKindDto, type CheckoutFinalState, CheckoutQuoteRequestDto, CheckoutResolutionDto, CheckoutResolveRequestDto, type Clock, type CodeSealer, type ConfirmGuestPayInOptions, type ConfirmPayInOptions, ConfirmPayInRequestDto, ConnectorDto, type CoordinatorCallOptions, type CoordinatorClient, type CoordinatorClientOptions, CredentialDto, type CryptoKeyPairLike, type CsrfAccessor, type CsrfStore, CsrfStoreError, CurveDto, DEPOSIT_NATIVE_SELECTOR, type HubDecodedMessage as DecodedMessage, type DisconnectResult, EVM_ADDRESS_PATTERN, EVM_CAIP_NAMESPACE, Eip712PayloadDto, Eip712StepDto, type ElementAcceptedMessage, type ElementActionCheckMessage, type ElementActionCheckPayload, type ElementAttachConfirmMessage, type ElementAttachConfirmPayload, type ElementAttachMessage, type ElementAttachPayload, type ElementCeremonyFailure, type ElementCheckStatusRequestMessage, type ElementCheckStatusRequestPayload, type ElementCheckoutResultMessage, type ElementCheckoutResultPayload, type ElementConfigAckMessage, type ElementConfigAckPayload, type ElementConfigPayload, type ElementConnectedMessage, type ElementConnectedPayload, type ElementDepositRequestPayload, type ElementDetachMessage, type ElementDetachPayload, type ElementFailedMessage, type ElementFailedPayload, type ElementFailureCode, type ElementGeometryCapabilitiesMessage, type ElementGeometryCapabilitiesPayload, type ElementGeometryEasing, type ElementGeometryLifetimePayload, type ElementGeometryTargetMessage, type ElementGeometryTargetPayload, type ElementHeldMessage, type ElementHubMessage, type ElementHubProbeMessage, type ElementHubProbePayload, type ElementInitPayload, type ElementLoadFailedMessage, type ElementLoadFailedPayload, type ElementMenuAnchorMessage, type ElementMenuAnchorPayload, type ElementMessage, type ElementPageUrlMessage, type ElementPageUrlPayload, type ElementPaidMessage, type ElementPaidPayload, type ElementPayRequestAckMessage, type ElementPayRequestAckPayload, type ElementPayRequestPayload, type ElementPayShownMessage, type ElementPayShownPayload, type ElementPaymentNoticePayload, type ElementReadyMessage, type ElementRefusedMessage, type ElementRelayCloseMessage, type ElementRelayClosePayload, type ElementRelayInitMessage, type ElementRelayPageUrlMessage, type ElementRelayPageUrlPayload, type ElementRelayPayShownMessage, type ElementRelayPayShownPayload, type ElementReloadRequestMessage, type ElementReloadRequestPayload, type ElementResizeMessage, type ElementResizePayload, type ElementSignAction, type ElementSignFailure, type ElementSignedMessage, type ElementSignedPayload, type ElementUnconfirmedMessage, type ElementViewShownMessage, type ElementWindowEndedMessage, type ElementWindowEndedPayload, type ElementWindowErrorMessage, type ElementWindowErrorPayload, type ElementWindowMessage, type ElementWindowOpenedMessage, type ElementWindowOpenedPayload, type ElementWindowResultMessage, type ElementWindowResultPayload, type ElementWindowStateMessage, type ElementWindowStatePayload, type EmptyPayload, ErrorBodyDto, ErrorEnvelopeDto, ErrorKindDto, EvmTransactionPayloadDto, EvmTransactionStepDto, ExternalAccountDto, ExternalBalanceReadDto, ExternalBalancesDto, ExternalBalancesRequestDto, ExternalHoldingDto, type FetchLike, type FundPayload, type FundResult, type FundStartScreen, type FundWindowContinuationMessage, type FundWindowContinuationPayload, GUEST_COOKIE_ACCESS_HEADER, type GuestCallOptions, GuestCookieScopeDto, GuestDto, GuestHandoffDto, GuestMergeRequestDto, type GuestReadCallOptions, HUB_API_PREFIXES, HUB_BUILD_ID_PATTERN, HUB_CSRF_COOKIE_NAME, HUB_FRAME_NAME_PATTERN, HUB_GUEST_COOKIE_NAME, HUB_NEEDS_POPUP_MESSAGE, HUB_PARTITIONED_GUEST_COOKIE_NAME, HUB_SURFACE_ELEMENT, HUB_SURFACE_POPUP, HUB_URL_PARAMS, type HubActivityMessage, type HubActivityPayload, type HubAppElementDepositRequestMessage, type HubAppElementMessage, type HubAppElementPayRequestMessage, type HubAppearance, type HubAttachAcceptedMessage, type HubAttachAcceptedPayload, type HubAttachRefusedMessage, type HubDiagnosticsDetailsMessage, type HubDiagnosticsDetailsObservation, type HubDiagnosticsDetailsPayload, type HubDiagnosticsDisconnect, type HubDiagnosticsEntityStatus, type HubDiagnosticsHeldKey, type HubDiagnosticsObservation, type HubDiagnosticsSession, type HubDiagnosticsSessionRead, type HubDiagnosticsStatusMessage, type HubDiagnosticsStatusPayload, type HubElementBalance, type HubElementBalanceMessage, type HubElementBalancePayload, type HubElementCheckoutHeldMessage, type HubElementCheckoutHeldPayload, type HubElementCheckoutResultMessage, type HubElementCheckoutResultPayload, type HubElementCheckoutWalletMessage, type HubElementCheckoutWalletPayload, type HubElementMessage, type HubElementOverlayHiddenMessage, type HubElementPayFundedWallet, type HubElementPayOwnerMessage, type HubElementPayOwnerPayload, type HubElementPayProgressMessage, type HubElementPayProgressPayload, type HubElementPaySavedWallet, type HubElementPaySourceCurrentMessage, type HubElementPaySourceFundsMessage, type HubElementPaySourceFundsPayload, type HubElementPaySourceMessage, type HubElementPaySourcePayload, type HubElementPaySourceRemembered, type HubElementPaySourceSavedMessage, type HubElementPaySourceSavedPayload, type HubElementPayUnsentMessage, type HubElementPayUnsentPayload, type HubElementProbeAckMessage, type HubElementWindowAcceptedMessage, type HubElementWindowAcceptedPayload, type HubElementWindowCancelMessage, type HubElementWindowCancelPayload, type HubElementWindowRefusedMessage, type HubElementWindowRefusedPayload, type HubError, type HubErrorCode, type HubErrorMessage, type HubFrameAppMessage, type HubFundReceivedMessage, type HubMenuAcceptedMessage, type HubMenuEndedMessage, type HubMenuRefusedMessage, type HubMessage, type HubOverlayCloseMessage, type HubOverlayOpenMessage, type HubPayRequestMessage, type HubPayRequestPayload, type HubReadyMessage, type HubRequestType, type HubResult, type HubResultMessage, type HubStateMessage, type HubStateSnapshot, type HubStatus, type HubTheme, type HubTransport, type HubTransportMessage, IDEMPOTENCY_HEADER, IdentityStateDto, type InitPayload, type InitResult, KEYPAIR_ALGORITHM, type Keypair, type KeypairStore, type LegacyPayDestinationAsk, type ListRoutesQuery, MAX_ACCOUNT_EMAIL_LEASE_MS, MAX_ACCOUNT_EMAIL_LENGTH, MAX_ACCOUNT_IDENTITY_LENGTH, MAX_APP_ORIGIN_LENGTH, MAX_ELEMENT_BLOCK_SIZE, MAX_ELEMENT_LABEL_LENGTH, MAX_ELEMENT_RESIZE_DURATION_MS, MAX_ERROR_MESSAGE_LENGTH, MAX_EXTERNAL_WALLET_NAME_LENGTH, MAX_HUB_BALANCE_AMOUNT_LENGTH, MAX_HUB_BUILD_ID_LENGTH, MAX_IDEMPOTENCY_KEY_LENGTH, MAX_MENU_RECT_VALUE, MAX_MESSAGE_ID_LENGTH, MAX_PAGE_URL_LENGTH, MAX_PAY_AMOUNT, MAX_PAY_ITEM_LENGTH, MAX_PAY_PAYOUT_ADDRESS_LENGTH, MAX_PAY_SOURCE_FUNDS_WALLETS, MAX_RELAY_STATE_EXPIRY_LENGTH, MAX_ROUTE_LIST_LIMIT, MAX_SIGN_MESSAGE_BYTES, MAX_TOKEN_DECIMALS, MAX_WALLET_CAPABILITY_CHAINS, MarkExternalAccountUsedRequestDto, type MenuRefusalPayload, OpenGuestRequestDto, type OpenRouteOptions, PAY_AMOUNT_PATTERN, PAY_API_PREFIX, PAY_CURRENCIES, PAY_DESTINATION_ASSET_PATTERN, PAY_DESTINATION_RULE_PATTERN, PAY_ELEMENT_FAILURE_CODES, PAY_ELEMENT_LIFETIME_MESSAGE_TYPES, PAY_ELEMENT_LOAD_FAILURE_REASONS, PAY_ELEMENT_MESSAGE_TYPES, PAY_ELEMENT_NOTIFICATION_MESSAGE_TYPES, PAY_ELEMENT_PATH, PAY_FIRST_STEPS, PAY_FUND_MESSAGE_TYPES, PAY_FUND_REQUEST_TYPE, PAY_FUND_START_SCREENS, PAY_HUB_FRAME_MESSAGE_TYPES, PAY_IN_DRIP_STATES, PAY_IN_LEG_STATES, PAY_IN_MECHANISMS, PAY_IN_PHASES, PAY_IN_SHAPES, PAY_IN_STATES, PAY_IN_STEP_KINDS, PAY_IN_STEP_SCHEMES, PAY_IN_STEP_STATUSES, PAY_IN_TERMINAL_STATES, PAY_IN_UNSPENDABLE_REASONS, PAY_JOBS, PAY_MESSAGE_TYPES, PAY_PROTOCOL, PERMIT2_ADDRESS, PERSONAL_MESSAGE_PREFIX, type PayCurrency, type PayDestinationAddress, type PayDestinationAsk, type PayDestinationRuleId, type PayElementLoadFailureReason, type PayEnvelope, type PayEnvelopeArgs, type PayFirstStep, PayInChainCapabilitiesDto, PayInDestinationDto, PayInDripDto, PayInDto, PayInLegDto, PayInLegStateDto, PayInMechanismDto, PayInPayeeDto, PayInPhaseDto, PayInShapeDto, PayInStateDto, PayInStepBaseDto, PayInStepDto, type PayInStepKind, PayInStepSchemeDto, PayInStepSignatureDto, PayInStepStatusDto, PayInStepTxHashDto, PayInTerminalStateDto, PayInUnspendableDto, PayInUnspendableReasonDto, PayInWalletDescriptorDto, PayInWalletsDto, type PayJob, type PayMenuRect, type PayReceived, type PayRequestTerms, type PayTerms, type PayTransaction, type PersonalSignBody, type PersonalSignInput, type PinnedSessionCallOptions, RELAY_DEPOSITORY_ADDRESS, ROUTE_SOURCE_CHAIN_ID, ROUTE_STATES, ROUTE_STEP_ROLES, type RefusalPayload, RegisterKeypairAmbiguousDto, RegisterKeypairRequestDto, RegisterKeypairResponseDto, RegisterKeypairResultDto, type RelayAccountEmailMessage, type RelayAccountEmailPayload, type RelayCloseCause, type RelayCosignatureResult, type RelayInitPayload, RelayPurposeDto, type RelayRefusedResult, RelayRequestDto, RelayResponseDto, type RelayResult, type RelaySignedResult, type RelayUnknownCause, type RelayUnknownResult, RelayVerdictDto, RootActivityDto, RoundDto, type RoundExpiredOutcome, RoundFailedDto, type RoundFailedOutcome, RoundOpenedDto, RoundOpeningDto, RoundReadyDto, type RoundReadyOutcome, RouteDestinationDto, RouteDto, RouteEndDto, RouteFeesDto, RouteListDto, RouteQuoteDto, RouteRequestDto, RouteSourceDto, RouteSourceRequestDto, RouteStateDto, RouteStepCallDto, RouteStepDto, RouteStepRoleDto, SECP256K1_ORDER, SERVER_CLOCK_AGREEMENT_MS, SERVER_CLOCK_MAX_ROUND_TRIP_MS, SERVER_CLOCK_MIN_OFFSET_MS, SERVER_CLOCK_WINDOW, SESSION_HEADER, SESSION_HEADER_OMIT, SIGNATURE_ALGORITHM, STAMP_HEADER_NAME, STAMP_LOGIN_ACTIVITY_TYPE, STAMP_LOGIN_EXPIRATION_SECONDS, STAMP_SCHEME, SUA_ACCOUNT_EMAIL_MESSAGE_TYPES, SUA_APP_WINDOW_MESSAGE_TYPES, SUA_ELEMENT_GEOMETRY_EASINGS, SUA_ELEMENT_RELOAD_REASONS, SUA_FUND_WINDOW_MESSAGE_TYPE, SUA_GUEST_HANDOFF_MESSAGE_TYPE, SUA_LINK_C_ID_SEPARATOR, SUA_LINK_C_MESSAGE_TYPES, SUA_LINK_C_STREAM_PREFIXES, SUA_PAY_REQUEST_TYPE, SUA_PROTOCOL_VERSION, SUA_REASONS, SUA_RELAY_CONTROL_MESSAGE_TYPES, SUA_RELAY_MESSAGE_TYPES, SUA_WINDOW_CANCEL_CAUSES, SUA_WINDOW_END_CAUSES, SaveExternalAccountRequestDto, SaveExternalAccountResponseDto, SavedViaDto, type ServerClock, type ServerClockOptions, type ServerTimeSample, type ServerTimeSink, SessionDto, SessionExpiryDto, type SignInResult, type SignOutResult, type SignPayload, SignRawPayloadActivityDto, type SignRawPayloadInput, SignRawPayloadParametersDto, SignRawPayloadResultDto, type SignResult, type Sleep, SolanaTransactionPayloadDto, SolanaTransactionStepDto, StampHeaderDto, type StartRoundInput, StartRoundRequestDto, StartRoundResponseDto, type StoredKeypair, type SuaElementReloadReason, SuaError, type SuaErrorInit, type SuaErrorKind, type SuaErrorResponse, type SuaMessage, SuaNetworkError, type SuaReason, type SuaWindowCancelCause, type SuaWindowEndCause, TopUpQuoteRequestDto, type TransportPayload, TurnkeyActivityDto, TurnkeyActivityResponseDto, TurnkeyErrorResponseDto, UPSTREAM_DATE_HEADER, VerifiedWalletDto, VerifyRoundRequestDto, VerifyRoundResponseDto, WALLET_API_PREFIX, type WaitForActiveWalletOptions, type WaitForActiveWalletOutcome, type WaitForRoundOptions, type WaitForRoundOutcome, type WalletActiveOutcome, WalletAddressDto, WalletBrandDto, WalletBrandSlugDto, WalletDto, WalletStatusDto, type WalletTimeoutOutcome, type WalletWoundDownOutcome, type WindowAccountEmailMessage, type WindowAccountEmailPayload, type WindowElementMessage, type WindowErrorMessage, type WindowRelayAcceptedMessage, type WindowRelayBuildMessage, type WindowRelayBuildPayload, type WindowRelayCheckoutResultMessage, type WindowRelayCheckoutResultPayload, type WindowRelayCheckoutWalletMessage, type WindowRelayCheckoutWalletPayload, type WindowRelayCloseAcceptedMessage, type WindowRelayCloseAcceptedPayload, type WindowRelayPayOwnerMessage, type WindowRelayPayOwnerPayload, type WindowRelayPayProgressMessage, type WindowRelayPayProgressPayload, type WindowRelayPaySourceMessage, type WindowRelayPaySourcePayload, type WindowRelayPaySourceSavedMessage, type WindowRelayPaySourceSavedPayload, type WindowRelayPayUnsentMessage, type WindowRelayPayUnsentPayload, type WindowRelayRefusedMessage, type WindowRelayStateMessage, type WindowRelayStatePayload, type WindowResultMessage, answersPayAmount, buildPersonalSignBody, buildPersonalSignPayload, buildSignRawPayloadBody, buildStamp, buildStampHeader, buildStampLogin, bytesToUtf8, coinSendDepositor, comparePayAmounts, compressPublicKey, createCoordinatorClient, createHubSuaEnvelope as createPayEnvelope, createRegisterKeypairRequest, createRelayRequest, createServerClock, decodeAppElementMessage, decodeAppHubFrameMessage, decodeAppMessage, decodeAppWindowAccountEmailMessage, decodeAppWindowAccountEmailRefreshMessage, decodeAppWindowAccountEmailRefreshReplyMessage, decodeAppWindowHubMessage, decodeElementHubMessage, decodeElementMessage, decodeElementWindowMessage, decodeHubElementMessage, decodeHubFrameAppMessage, decodeHubMessage, decodeRelayAccountEmailMessage, decodeRelayResponse, decodeWindowAccountEmailMessage, decodeWindowElementMessage, derSignatureToRaw, earliestPayInExpiry, encodeRelayBody, evmChainHex, evmChainNumber, formatBaseUnits, fromBase64, fromBase64Url, fromHex, generateKeypair, isAppElementMessage, isAppHubFrameMessage, isAppMessage, isAppWindowHubMessage, isAppearance, isAssetListDto, isCheckoutResolutionDto, isCoinSend, isCsrfStoreError, isElementCheckoutResultPayload, isElementDepositRequestPayload, isElementHubMessage, isElementMessage, isElementPaidPayload, isElementPayRequestAckPayload, isElementPayRequestPayload, isElementWindowMessage, isErrorEnvelopeDto, isExternalBalancesDto, isHubBuildId, isHubElementMessage, isHubFrameAppMessage, isHubFrameName, isHubMessage, isPayInDto, isPayInSettled, isPayInStateDto, isPayInTerminalState, isPermit2Approval, isRouteDto, isRouteListDto, isRouteQuoteDto, isRouteStateDto, isSignablePayInStep, isSuaEnvelope, isSuaError, isSuaNetworkError, isWalletTransfer, isWindowElementMessage, keypairFromKeys, nextRequiredStep, parseBaseUnits, parseCaip19, parseCaip2, parseSuaError, payInStepKind, payJobOf, rawSignatureToDer, sameLegacyPayDestinationAsk, samePayDestinationAsk, samePayTerms, settleRelay, signDer, signRaw, sleep, stampAttested, tempoFeeTokenOf, toBase64, toBase64Url, toBaseUnits, toEvmSignature, toHex, toSuaError, utf8ToBytes, waitForActiveWallet, waitForRound };
6260
6263
  //# sourceMappingURL=coordinator.d.ts.map
@@ -1,4 +1,4 @@
1
- import { $ as HUB_NEEDS_POPUP_MESSAGE, $t as SUA_RELAY_MESSAGE_TYPES, At as PAY_ELEMENT_MESSAGE_TYPES, B as payJobOf, Bt as PAY_PROTOCOL, C as isElementMessage, Ct as PAY_AMOUNT_PATTERN, D as isHubFrameAppMessage, Dt as PAY_ELEMENT_FAILURE_CODES, E as isHubElementMessage, Et as PAY_DESTINATION_RULE_PATTERN, F as isElementCheckoutResultPayload, Ft as PAY_FUND_REQUEST_TYPE, Gt as SUA_FUND_WINDOW_MESSAGE_TYPE, H as samePayDestinationAsk, Ht as SUA_APP_WINDOW_MESSAGE_TYPES, I as isElementDepositRequestPayload, It as PAY_FUND_START_SCREENS, J as GUEST_COOKIE_ACCESS_HEADER, Jt as SUA_LINK_C_MESSAGE_TYPES, K as APP_ID_PATTERN, Kt as SUA_GUEST_HANDOFF_MESSAGE_TYPE, L as isElementPaidPayload, Lt as PAY_HUB_FRAME_MESSAGE_TYPES, M as isWindowElementMessage, Mt as PAY_ELEMENT_PATH, N as answersPayAmount, Nt as PAY_FIRST_STEPS, O as isHubFrameName, Ot as PAY_ELEMENT_LIFETIME_MESSAGE_TYPES, P as comparePayAmounts, Pt as PAY_FUND_MESSAGE_TYPES, Q as HUB_GUEST_COOKIE_NAME, Qt as SUA_RELAY_CONTROL_MESSAGE_TYPES, R as isElementPayRequestAckPayload, Rt as PAY_JOBS, S as isElementHubMessage, St as MAX_SIGN_MESSAGE_BYTES, T as isHubBuildId, Tt as PAY_DESTINATION_ASSET_PATTERN, U as samePayTerms, Ut as SUA_ELEMENT_GEOMETRY_EASINGS, V as sameLegacyPayDestinationAsk, Vt as SUA_ACCOUNT_EMAIL_MESSAGE_TYPES, W as createHubSuaEnvelope, Wt as SUA_ELEMENT_RELOAD_REASONS, X as HUB_CSRF_COOKIE_NAME, Xt as SUA_PAY_REQUEST_TYPE, Y as HUB_BUILD_ID_PATTERN, Yt as SUA_LINK_C_STREAM_PREFIXES, Z as HUB_FRAME_NAME_PATTERN, Zt as SUA_PROTOCOL_VERSION, _ as isAppElementMessage, _t as MAX_PAY_AMOUNT, a as decodeAppWindowAccountEmailRefreshMessage, at as MAX_ACCOUNT_EMAIL_LENGTH, b as isAppWindowHubMessage, bt as MAX_PAY_SOURCE_FUNDS_WALLETS, c as decodeElementHubMessage, ct as MAX_ELEMENT_BLOCK_SIZE, d as decodeHubElementMessage, dt as MAX_ERROR_MESSAGE_LENGTH, en as SUA_WINDOW_CANCEL_CAUSES, et as HUB_PARTITIONED_GUEST_COOKIE_NAME, f as decodeHubFrameAppMessage, ft as MAX_HUB_BALANCE_AMOUNT_LENGTH, g as decodeWindowElementMessage, gt as MAX_PAGE_URL_LENGTH, h as decodeWindowAccountEmailMessage, ht as MAX_MESSAGE_ID_LENGTH, i as decodeAppWindowAccountEmailMessage, it as MAX_ACCOUNT_EMAIL_LEASE_MS, j as isSuaEnvelope, jt as PAY_ELEMENT_NOTIFICATION_MESSAGE_TYPES, k as isHubMessage, kt as PAY_ELEMENT_LOAD_FAILURE_REASONS, l as decodeElementMessage, lt as MAX_ELEMENT_LABEL_LENGTH, m as decodeRelayAccountEmailMessage, mt as MAX_MENU_RECT_VALUE, n as decodeAppHubFrameMessage, nn as bytesToUtf8, nt as HUB_SURFACE_POPUP, o as decodeAppWindowAccountEmailRefreshReplyMessage, ot as MAX_ACCOUNT_IDENTITY_LENGTH, p as decodeHubMessage, pt as MAX_HUB_BUILD_ID_LENGTH, q as EVM_ADDRESS_PATTERN, qt as SUA_LINK_C_ID_SEPARATOR, r as decodeAppMessage, rn as utf8ToBytes, rt as HUB_URL_PARAMS, s as decodeAppWindowHubMessage, st as MAX_APP_ORIGIN_LENGTH, t as decodeAppElementMessage, tn as SUA_WINDOW_END_CAUSES, tt as HUB_SURFACE_ELEMENT, u as decodeElementWindowMessage, ut as MAX_ELEMENT_RESIZE_DURATION_MS, v as isAppHubFrameMessage, vt as MAX_PAY_ITEM_LENGTH, w as isElementWindowMessage, wt as PAY_CURRENCIES, x as isAppearance, xt as MAX_RELAY_STATE_EXPIRY_LENGTH, y as isAppMessage, yt as MAX_PAY_PAYOUT_ADDRESS_LENGTH, z as isElementPayRequestPayload, zt as PAY_MESSAGE_TYPES } from "../guards-Cb0lVKgT.js";
1
+ import { $ as HUB_NEEDS_POPUP_MESSAGE, $t as SUA_PROTOCOL_VERSION, At as PAY_ELEMENT_MESSAGE_TYPES, B as payJobOf, Bt as PAY_PROTOCOL, C as isElementMessage, Ct as PAY_AMOUNT_PATTERN, D as isHubFrameAppMessage, Dt as PAY_ELEMENT_FAILURE_CODES, E as isHubElementMessage, Et as PAY_DESTINATION_RULE_PATTERN, F as isElementCheckoutResultPayload, Ft as PAY_FUND_REQUEST_TYPE, Gt as SUA_ELEMENT_GEOMETRY_EASINGS, H as samePayDestinationAsk, Ht as SESSION_HEADER_OMIT, I as isElementDepositRequestPayload, It as PAY_FUND_START_SCREENS, J as GUEST_COOKIE_ACCESS_HEADER, Jt as SUA_GUEST_HANDOFF_MESSAGE_TYPE, K as APP_ID_PATTERN, Kt as SUA_ELEMENT_RELOAD_REASONS, L as isElementPaidPayload, Lt as PAY_HUB_FRAME_MESSAGE_TYPES, M as isWindowElementMessage, Mt as PAY_ELEMENT_PATH, N as answersPayAmount, Nt as PAY_FIRST_STEPS, O as isHubFrameName, Ot as PAY_ELEMENT_LIFETIME_MESSAGE_TYPES, P as comparePayAmounts, Pt as PAY_FUND_MESSAGE_TYPES, Q as HUB_GUEST_COOKIE_NAME, Qt as SUA_PAY_REQUEST_TYPE, R as isElementPayRequestAckPayload, Rt as PAY_JOBS, S as isElementHubMessage, St as MAX_SIGN_MESSAGE_BYTES, T as isHubBuildId, Tt as PAY_DESTINATION_ASSET_PATTERN, U as samePayTerms, Ut as SUA_ACCOUNT_EMAIL_MESSAGE_TYPES, V as sameLegacyPayDestinationAsk, Vt as SESSION_HEADER, W as createHubSuaEnvelope, Wt as SUA_APP_WINDOW_MESSAGE_TYPES, X as HUB_CSRF_COOKIE_NAME, Xt as SUA_LINK_C_MESSAGE_TYPES, Y as HUB_BUILD_ID_PATTERN, Yt as SUA_LINK_C_ID_SEPARATOR, Z as HUB_FRAME_NAME_PATTERN, Zt as SUA_LINK_C_STREAM_PREFIXES, _ as isAppElementMessage, _t as MAX_PAY_AMOUNT, a as decodeAppWindowAccountEmailRefreshMessage, an as utf8ToBytes, at as MAX_ACCOUNT_EMAIL_LENGTH, b as isAppWindowHubMessage, bt as MAX_PAY_SOURCE_FUNDS_WALLETS, c as decodeElementHubMessage, ct as MAX_ELEMENT_BLOCK_SIZE, d as decodeHubElementMessage, dt as MAX_ERROR_MESSAGE_LENGTH, en as SUA_RELAY_CONTROL_MESSAGE_TYPES, et as HUB_PARTITIONED_GUEST_COOKIE_NAME, f as decodeHubFrameAppMessage, ft as MAX_HUB_BALANCE_AMOUNT_LENGTH, g as decodeWindowElementMessage, gt as MAX_PAGE_URL_LENGTH, h as decodeWindowAccountEmailMessage, ht as MAX_MESSAGE_ID_LENGTH, i as decodeAppWindowAccountEmailMessage, in as bytesToUtf8, it as MAX_ACCOUNT_EMAIL_LEASE_MS, j as isSuaEnvelope, jt as PAY_ELEMENT_NOTIFICATION_MESSAGE_TYPES, k as isHubMessage, kt as PAY_ELEMENT_LOAD_FAILURE_REASONS, l as decodeElementMessage, lt as MAX_ELEMENT_LABEL_LENGTH, m as decodeRelayAccountEmailMessage, mt as MAX_MENU_RECT_VALUE, n as decodeAppHubFrameMessage, nn as SUA_WINDOW_CANCEL_CAUSES, nt as HUB_SURFACE_POPUP, o as decodeAppWindowAccountEmailRefreshReplyMessage, ot as MAX_ACCOUNT_IDENTITY_LENGTH, p as decodeHubMessage, pt as MAX_HUB_BUILD_ID_LENGTH, q as EVM_ADDRESS_PATTERN, qt as SUA_FUND_WINDOW_MESSAGE_TYPE, r as decodeAppMessage, rn as SUA_WINDOW_END_CAUSES, rt as HUB_URL_PARAMS, s as decodeAppWindowHubMessage, st as MAX_APP_ORIGIN_LENGTH, t as decodeAppElementMessage, tn as SUA_RELAY_MESSAGE_TYPES, tt as HUB_SURFACE_ELEMENT, u as decodeElementWindowMessage, ut as MAX_ELEMENT_RESIZE_DURATION_MS, v as isAppHubFrameMessage, vt as MAX_PAY_ITEM_LENGTH, w as isElementWindowMessage, wt as PAY_CURRENCIES, x as isAppearance, xt as MAX_RELAY_STATE_EXPIRY_LENGTH, y as isAppMessage, yt as MAX_PAY_PAYOUT_ADDRESS_LENGTH, z as isElementPayRequestPayload, zt as PAY_MESSAGE_TYPES } from "../guards-CukG42GQ.js";
2
2
  //#region src/client/constants.ts
3
3
  /**
4
4
  * The path prefix of the sign-in routes and every route that needs a session.
@@ -1151,7 +1151,11 @@ const SESSION = { kind: "session" };
1151
1151
  * The header names only the transport writes, from a route's {@link RouteCredentials}. A route header naming one is a
1152
1152
  * programming error.
1153
1153
  */
1154
- const CREDENTIAL_HEADERS = /* @__PURE__ */ new Set([CSRF_HEADER.toLowerCase(), GUEST_COOKIE_ACCESS_HEADER.toLowerCase()]);
1154
+ const CREDENTIAL_HEADERS = /* @__PURE__ */ new Set([
1155
+ CSRF_HEADER.toLowerCase(),
1156
+ GUEST_COOKIE_ACCESS_HEADER.toLowerCase(),
1157
+ SESSION_HEADER.toLowerCase()
1158
+ ]);
1155
1159
  /**
1156
1160
  * A transaction hash as `POST /wallet/v1/routes/{id}/source` takes it: `0x` and 32 bytes of hex, either case.
1157
1161
  */
@@ -1952,12 +1956,13 @@ function normaliseBaseUrl(baseUrl) {
1952
1956
  * its answer is read.
1953
1957
  *
1954
1958
  * The route's {@link RouteCredentials} are written after every other header. A session call with `omitCredentials`
1955
- * goes out with `credentials: "omit"` and without `X-CSRF-Token`, and the token is not read: the token only proves the
1956
- * session the cookie names, so it means nothing on a request that carries no cookie. Only a session call ever reads
1957
- * the stored token.
1959
+ * goes out with `credentials: "include"`, `X-Stridge-Session: omit` and no `X-CSRF-Token`, and the token is not read:
1960
+ * the hub proxy drops the session cookie on such a request, and the token only proves the session that cookie names.
1961
+ * The browser still stores the cookies the answer sets, such as an email round's binder cookie. Only a session call
1962
+ * ever reads the stored token.
1958
1963
  *
1959
- * @throws {TypeError} when a route header names `X-CSRF-Token` or `X-Stridge-Cookie-Access`, which only the
1960
- * credentials write.
1964
+ * @throws {TypeError} when a route header names `X-CSRF-Token`, `X-Stridge-Cookie-Access` or `X-Stridge-Session`,
1965
+ * which only the credentials write.
1961
1966
  */
1962
1967
  function createTransport(baseUrl, appId, csrf, fetchFn, onServerTime) {
1963
1968
  return { async send(call) {
@@ -1971,6 +1976,7 @@ function createTransport(baseUrl, appId, csrf, fetchFn, onServerTime) {
1971
1976
  for (const name of Object.keys(call.headers)) if (CREDENTIAL_HEADERS.has(name.toLowerCase())) throw new TypeError(`a route header may not name ${name}`);
1972
1977
  Object.assign(headers, call.headers);
1973
1978
  }
1979
+ if (omitCredentials) headers[SESSION_HEADER] = SESSION_HEADER_OMIT;
1974
1980
  if (credentials.kind === "session" && call.method !== "GET" && !omitCredentials) {
1975
1981
  const token = await csrf.get();
1976
1982
  if (typeof token === "string" && token !== "") headers[CSRF_HEADER] = token;
@@ -1981,7 +1987,7 @@ function createTransport(baseUrl, appId, csrf, fetchFn, onServerTime) {
1981
1987
  const init = {
1982
1988
  method: call.method,
1983
1989
  headers,
1984
- credentials: omitCredentials ? "omit" : "include"
1990
+ credentials: "include"
1985
1991
  };
1986
1992
  if (call.body !== void 0) init.body = JSON.stringify(call.body);
1987
1993
  if (signal !== void 0) init.signal = signal;
@@ -3666,6 +3672,6 @@ function createServerClock(options = {}) {
3666
3672
  };
3667
3673
  }
3668
3674
  //#endregion
3669
- export { APP_HEADER, APP_ID_PATTERN, CSRF_HEADER, CsrfStoreError, DEPOSIT_NATIVE_SELECTOR, EVM_ADDRESS_PATTERN, EVM_CAIP_NAMESPACE, GUEST_COOKIE_ACCESS_HEADER, HUB_API_PREFIXES, HUB_BUILD_ID_PATTERN, HUB_CSRF_COOKIE_NAME, HUB_FRAME_NAME_PATTERN, HUB_GUEST_COOKIE_NAME, HUB_NEEDS_POPUP_MESSAGE, HUB_PARTITIONED_GUEST_COOKIE_NAME, HUB_SURFACE_ELEMENT, HUB_SURFACE_POPUP, HUB_URL_PARAMS, IDEMPOTENCY_HEADER, KEYPAIR_ALGORITHM, MAX_ACCOUNT_EMAIL_LEASE_MS, MAX_ACCOUNT_EMAIL_LENGTH, MAX_ACCOUNT_IDENTITY_LENGTH, MAX_APP_ORIGIN_LENGTH, MAX_ELEMENT_BLOCK_SIZE, MAX_ELEMENT_LABEL_LENGTH, MAX_ELEMENT_RESIZE_DURATION_MS, MAX_ERROR_MESSAGE_LENGTH, MAX_EXTERNAL_WALLET_NAME_LENGTH, MAX_HUB_BALANCE_AMOUNT_LENGTH, MAX_HUB_BUILD_ID_LENGTH, MAX_IDEMPOTENCY_KEY_LENGTH, MAX_MENU_RECT_VALUE, MAX_MESSAGE_ID_LENGTH, MAX_PAGE_URL_LENGTH, MAX_PAY_AMOUNT, MAX_PAY_ITEM_LENGTH, MAX_PAY_PAYOUT_ADDRESS_LENGTH, MAX_PAY_SOURCE_FUNDS_WALLETS, MAX_RELAY_STATE_EXPIRY_LENGTH, MAX_ROUTE_LIST_LIMIT, MAX_SIGN_MESSAGE_BYTES, MAX_TOKEN_DECIMALS, MAX_WALLET_CAPABILITY_CHAINS, PAY_AMOUNT_PATTERN, PAY_API_PREFIX, PAY_CURRENCIES, PAY_DESTINATION_ASSET_PATTERN, PAY_DESTINATION_RULE_PATTERN, PAY_ELEMENT_FAILURE_CODES, PAY_ELEMENT_LIFETIME_MESSAGE_TYPES, PAY_ELEMENT_LOAD_FAILURE_REASONS, PAY_ELEMENT_MESSAGE_TYPES, PAY_ELEMENT_NOTIFICATION_MESSAGE_TYPES, PAY_ELEMENT_PATH, PAY_FIRST_STEPS, PAY_FUND_MESSAGE_TYPES, PAY_FUND_REQUEST_TYPE, PAY_FUND_START_SCREENS, PAY_HUB_FRAME_MESSAGE_TYPES, PAY_IN_DRIP_STATES, PAY_IN_LEG_STATES, PAY_IN_MECHANISMS, PAY_IN_PHASES, PAY_IN_SHAPES, PAY_IN_STATES, PAY_IN_STEP_KINDS, PAY_IN_STEP_SCHEMES, PAY_IN_STEP_STATUSES, PAY_IN_TERMINAL_STATES, PAY_IN_UNSPENDABLE_REASONS, PAY_JOBS, PAY_MESSAGE_TYPES, PAY_PROTOCOL, PERMIT2_ADDRESS, PERSONAL_MESSAGE_PREFIX, RELAY_DEPOSITORY_ADDRESS, ROUTE_SOURCE_CHAIN_ID, ROUTE_STATES, ROUTE_STEP_ROLES, SECP256K1_ORDER, SERVER_CLOCK_AGREEMENT_MS, SERVER_CLOCK_MAX_ROUND_TRIP_MS, SERVER_CLOCK_MIN_OFFSET_MS, SERVER_CLOCK_WINDOW, SIGNATURE_ALGORITHM, STAMP_HEADER_NAME, STAMP_LOGIN_ACTIVITY_TYPE, STAMP_LOGIN_EXPIRATION_SECONDS, STAMP_SCHEME, SUA_ACCOUNT_EMAIL_MESSAGE_TYPES, SUA_APP_WINDOW_MESSAGE_TYPES, SUA_ELEMENT_GEOMETRY_EASINGS, SUA_ELEMENT_RELOAD_REASONS, SUA_FUND_WINDOW_MESSAGE_TYPE, SUA_GUEST_HANDOFF_MESSAGE_TYPE, SUA_LINK_C_ID_SEPARATOR, SUA_LINK_C_MESSAGE_TYPES, SUA_LINK_C_STREAM_PREFIXES, SUA_PAY_REQUEST_TYPE, SUA_PROTOCOL_VERSION, SUA_REASONS, SUA_RELAY_CONTROL_MESSAGE_TYPES, SUA_RELAY_MESSAGE_TYPES, SUA_WINDOW_CANCEL_CAUSES, SUA_WINDOW_END_CAUSES, SuaError, SuaNetworkError, UPSTREAM_DATE_HEADER, WALLET_API_PREFIX, answersPayAmount, buildPersonalSignBody, buildPersonalSignPayload, buildSignRawPayloadBody, buildStamp, buildStampHeader, buildStampLogin, bytesToUtf8, coinSendDepositor, comparePayAmounts, compressPublicKey, createCoordinatorClient, createHubSuaEnvelope as createPayEnvelope, createRegisterKeypairRequest, createRelayRequest, createServerClock, decodeAppElementMessage, decodeAppHubFrameMessage, decodeAppMessage, decodeAppWindowAccountEmailMessage, decodeAppWindowAccountEmailRefreshMessage, decodeAppWindowAccountEmailRefreshReplyMessage, decodeAppWindowHubMessage, decodeElementHubMessage, decodeElementMessage, decodeElementWindowMessage, decodeHubElementMessage, decodeHubFrameAppMessage, decodeHubMessage, decodeRelayAccountEmailMessage, decodeRelayResponse, decodeWindowAccountEmailMessage, decodeWindowElementMessage, derSignatureToRaw, earliestPayInExpiry, encodeRelayBody, evmChainHex, evmChainNumber, formatBaseUnits, fromBase64, fromBase64Url, fromHex, generateKeypair, isAppElementMessage, isAppHubFrameMessage, isAppMessage, isAppWindowHubMessage, isAppearance, isAssetListDto, isCheckoutResolutionDto, isCoinSend, isCsrfStoreError, isElementCheckoutResultPayload, isElementDepositRequestPayload, isElementHubMessage, isElementMessage, isElementPaidPayload, isElementPayRequestAckPayload, isElementPayRequestPayload, isElementWindowMessage, isErrorEnvelopeDto, isExternalBalancesDto, isHubBuildId, isHubElementMessage, isHubFrameAppMessage, isHubFrameName, isHubMessage, isPayInDto, isPayInSettled, isPayInStateDto, isPayInTerminalState, isPermit2Approval, isRouteDto, isRouteListDto, isRouteQuoteDto, isRouteStateDto, isSignablePayInStep, isSuaEnvelope, isSuaError, isSuaNetworkError, isWalletTransfer, isWindowElementMessage, keypairFromKeys, nextRequiredStep, parseBaseUnits, parseCaip19, parseCaip2, parseSuaError, payInStepKind, payJobOf, rawSignatureToDer, sameLegacyPayDestinationAsk, samePayDestinationAsk, samePayTerms, settleRelay, signDer, signRaw, sleep, stampAttested, tempoFeeTokenOf, toBase64, toBase64Url, toBaseUnits, toEvmSignature, toHex, toSuaError, utf8ToBytes, waitForActiveWallet, waitForRound };
3675
+ export { APP_HEADER, APP_ID_PATTERN, CSRF_HEADER, CsrfStoreError, DEPOSIT_NATIVE_SELECTOR, EVM_ADDRESS_PATTERN, EVM_CAIP_NAMESPACE, GUEST_COOKIE_ACCESS_HEADER, HUB_API_PREFIXES, HUB_BUILD_ID_PATTERN, HUB_CSRF_COOKIE_NAME, HUB_FRAME_NAME_PATTERN, HUB_GUEST_COOKIE_NAME, HUB_NEEDS_POPUP_MESSAGE, HUB_PARTITIONED_GUEST_COOKIE_NAME, HUB_SURFACE_ELEMENT, HUB_SURFACE_POPUP, HUB_URL_PARAMS, IDEMPOTENCY_HEADER, KEYPAIR_ALGORITHM, MAX_ACCOUNT_EMAIL_LEASE_MS, MAX_ACCOUNT_EMAIL_LENGTH, MAX_ACCOUNT_IDENTITY_LENGTH, MAX_APP_ORIGIN_LENGTH, MAX_ELEMENT_BLOCK_SIZE, MAX_ELEMENT_LABEL_LENGTH, MAX_ELEMENT_RESIZE_DURATION_MS, MAX_ERROR_MESSAGE_LENGTH, MAX_EXTERNAL_WALLET_NAME_LENGTH, MAX_HUB_BALANCE_AMOUNT_LENGTH, MAX_HUB_BUILD_ID_LENGTH, MAX_IDEMPOTENCY_KEY_LENGTH, MAX_MENU_RECT_VALUE, MAX_MESSAGE_ID_LENGTH, MAX_PAGE_URL_LENGTH, MAX_PAY_AMOUNT, MAX_PAY_ITEM_LENGTH, MAX_PAY_PAYOUT_ADDRESS_LENGTH, MAX_PAY_SOURCE_FUNDS_WALLETS, MAX_RELAY_STATE_EXPIRY_LENGTH, MAX_ROUTE_LIST_LIMIT, MAX_SIGN_MESSAGE_BYTES, MAX_TOKEN_DECIMALS, MAX_WALLET_CAPABILITY_CHAINS, PAY_AMOUNT_PATTERN, PAY_API_PREFIX, PAY_CURRENCIES, PAY_DESTINATION_ASSET_PATTERN, PAY_DESTINATION_RULE_PATTERN, PAY_ELEMENT_FAILURE_CODES, PAY_ELEMENT_LIFETIME_MESSAGE_TYPES, PAY_ELEMENT_LOAD_FAILURE_REASONS, PAY_ELEMENT_MESSAGE_TYPES, PAY_ELEMENT_NOTIFICATION_MESSAGE_TYPES, PAY_ELEMENT_PATH, PAY_FIRST_STEPS, PAY_FUND_MESSAGE_TYPES, PAY_FUND_REQUEST_TYPE, PAY_FUND_START_SCREENS, PAY_HUB_FRAME_MESSAGE_TYPES, PAY_IN_DRIP_STATES, PAY_IN_LEG_STATES, PAY_IN_MECHANISMS, PAY_IN_PHASES, PAY_IN_SHAPES, PAY_IN_STATES, PAY_IN_STEP_KINDS, PAY_IN_STEP_SCHEMES, PAY_IN_STEP_STATUSES, PAY_IN_TERMINAL_STATES, PAY_IN_UNSPENDABLE_REASONS, PAY_JOBS, PAY_MESSAGE_TYPES, PAY_PROTOCOL, PERMIT2_ADDRESS, PERSONAL_MESSAGE_PREFIX, RELAY_DEPOSITORY_ADDRESS, ROUTE_SOURCE_CHAIN_ID, ROUTE_STATES, ROUTE_STEP_ROLES, SECP256K1_ORDER, SERVER_CLOCK_AGREEMENT_MS, SERVER_CLOCK_MAX_ROUND_TRIP_MS, SERVER_CLOCK_MIN_OFFSET_MS, SERVER_CLOCK_WINDOW, SESSION_HEADER, SESSION_HEADER_OMIT, SIGNATURE_ALGORITHM, STAMP_HEADER_NAME, STAMP_LOGIN_ACTIVITY_TYPE, STAMP_LOGIN_EXPIRATION_SECONDS, STAMP_SCHEME, SUA_ACCOUNT_EMAIL_MESSAGE_TYPES, SUA_APP_WINDOW_MESSAGE_TYPES, SUA_ELEMENT_GEOMETRY_EASINGS, SUA_ELEMENT_RELOAD_REASONS, SUA_FUND_WINDOW_MESSAGE_TYPE, SUA_GUEST_HANDOFF_MESSAGE_TYPE, SUA_LINK_C_ID_SEPARATOR, SUA_LINK_C_MESSAGE_TYPES, SUA_LINK_C_STREAM_PREFIXES, SUA_PAY_REQUEST_TYPE, SUA_PROTOCOL_VERSION, SUA_REASONS, SUA_RELAY_CONTROL_MESSAGE_TYPES, SUA_RELAY_MESSAGE_TYPES, SUA_WINDOW_CANCEL_CAUSES, SUA_WINDOW_END_CAUSES, SuaError, SuaNetworkError, UPSTREAM_DATE_HEADER, WALLET_API_PREFIX, answersPayAmount, buildPersonalSignBody, buildPersonalSignPayload, buildSignRawPayloadBody, buildStamp, buildStampHeader, buildStampLogin, bytesToUtf8, coinSendDepositor, comparePayAmounts, compressPublicKey, createCoordinatorClient, createHubSuaEnvelope as createPayEnvelope, createRegisterKeypairRequest, createRelayRequest, createServerClock, decodeAppElementMessage, decodeAppHubFrameMessage, decodeAppMessage, decodeAppWindowAccountEmailMessage, decodeAppWindowAccountEmailRefreshMessage, decodeAppWindowAccountEmailRefreshReplyMessage, decodeAppWindowHubMessage, decodeElementHubMessage, decodeElementMessage, decodeElementWindowMessage, decodeHubElementMessage, decodeHubFrameAppMessage, decodeHubMessage, decodeRelayAccountEmailMessage, decodeRelayResponse, decodeWindowAccountEmailMessage, decodeWindowElementMessage, derSignatureToRaw, earliestPayInExpiry, encodeRelayBody, evmChainHex, evmChainNumber, formatBaseUnits, fromBase64, fromBase64Url, fromHex, generateKeypair, isAppElementMessage, isAppHubFrameMessage, isAppMessage, isAppWindowHubMessage, isAppearance, isAssetListDto, isCheckoutResolutionDto, isCoinSend, isCsrfStoreError, isElementCheckoutResultPayload, isElementDepositRequestPayload, isElementHubMessage, isElementMessage, isElementPaidPayload, isElementPayRequestAckPayload, isElementPayRequestPayload, isElementWindowMessage, isErrorEnvelopeDto, isExternalBalancesDto, isHubBuildId, isHubElementMessage, isHubFrameAppMessage, isHubFrameName, isHubMessage, isPayInDto, isPayInSettled, isPayInStateDto, isPayInTerminalState, isPermit2Approval, isRouteDto, isRouteListDto, isRouteQuoteDto, isRouteStateDto, isSignablePayInStep, isSuaEnvelope, isSuaError, isSuaNetworkError, isWalletTransfer, isWindowElementMessage, keypairFromKeys, nextRequiredStep, parseBaseUnits, parseCaip19, parseCaip2, parseSuaError, payInStepKind, payJobOf, rawSignatureToDer, sameLegacyPayDestinationAsk, samePayDestinationAsk, samePayTerms, settleRelay, signDer, signRaw, sleep, stampAttested, tempoFeeTokenOf, toBase64, toBase64Url, toBaseUnits, toEvmSignature, toHex, toSuaError, utf8ToBytes, waitForActiveWallet, waitForRound };
3670
3676
 
3671
3677
  //# sourceMappingURL=coordinator.js.map