@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.
- package/dist/cjs/_internal/coordinator.cjs +16 -8
- package/dist/cjs/_internal/coordinator.cjs.map +1 -1
- package/dist/cjs/_internal/coordinator.d.cts +12 -9
- package/dist/cjs/{guards-CYx283Oo.d.cts → guards-CQWGp5eP.d.cts} +12 -2
- package/dist/cjs/{guards-VkTvdL1L.cjs → guards-r1nnLHLD.cjs} +23 -1
- package/dist/cjs/guards-r1nnLHLD.cjs.map +1 -0
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/index.d.cts +1 -1
- package/dist/esm/_internal/coordinator.d.ts +12 -9
- package/dist/esm/_internal/coordinator.js +15 -9
- package/dist/esm/_internal/coordinator.js.map +1 -1
- package/dist/esm/{guards-CYx283Oo.d.ts → guards-CQWGp5eP.d.ts} +12 -2
- package/dist/esm/{guards-Cb0lVKgT.js → guards-CukG42GQ.js} +12 -2
- package/dist/esm/guards-CukG42GQ.js.map +1 -0
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/guards-VkTvdL1L.cjs.map +0 -1
- package/dist/esm/guards-Cb0lVKgT.js.map +0 -1
|
@@ -534,6 +534,16 @@ declare const HUB_PARTITIONED_GUEST_COOKIE_NAME = "__Host-sua_pgid";
|
|
|
534
534
|
* states it in its body instead.
|
|
535
535
|
*/
|
|
536
536
|
declare const GUEST_COOKIE_ACCESS_HEADER = "X-Stridge-Cookie-Access";
|
|
537
|
+
/**
|
|
538
|
+
* The request header a session call with `omitCredentials` sends, with the value {@link SESSION_HEADER_OMIT}. The
|
|
539
|
+
* hub proxy then drops the session cookie `__Host-sua_session` from what it forwards and keeps every other Coordinator
|
|
540
|
+
* cookie. It never forwards this header.
|
|
541
|
+
*/
|
|
542
|
+
declare const SESSION_HEADER = "X-Stridge-Session";
|
|
543
|
+
/**
|
|
544
|
+
* The value of {@link SESSION_HEADER} that tells the hub proxy to drop the session cookie.
|
|
545
|
+
*/
|
|
546
|
+
declare const SESSION_HEADER_OMIT = "omit";
|
|
537
547
|
/** One-use guest code on the accepted hub-to-window relay. */
|
|
538
548
|
declare const SUA_GUEST_HANDOFF_MESSAGE_TYPE = "relay-guest-handoff";
|
|
539
549
|
/** Private hub-frame continuation of an already pending Fund request. */
|
|
@@ -3297,5 +3307,5 @@ declare function decodeAppWindowAccountEmailRefreshMessage(value: unknown): HubD
|
|
|
3297
3307
|
declare function decodeAppWindowAccountEmailRefreshReplyMessage(value: unknown): HubDecodedMessage<AppWindowAccountEmailRefreshReplyMessage> | undefined;
|
|
3298
3308
|
declare function isAppearance(value: unknown): value is HubAppearance;
|
|
3299
3309
|
//#endregion
|
|
3300
|
-
export { HubAppElementDepositRequestMessage as $, EVM_ADDRESS_PATTERN as $a, HubError as $i, CeremonyError as $n, SUA_LINK_C_ID_SEPARATOR as $o, ElementResizeMessage as $r, isElementDepositRequestPayload as $t, isSignText as A, RelayInitPayload as Aa, HubDiagnosticsDetailsMessage as Ai, AppElementReloadGrantPayload as An, PAY_CURRENCIES as Ao, ElementHubProbeMessage as Ar, PayFirstStep as At, AppElementPayRequestMessage as B, WindowAccountEmailPayload as Ba, HubDiagnosticsStatusPayload as Bi, AppSignMessage as Bn, PAY_FUND_MESSAGE_TYPES as Bo, ElementPayShownMessage as Br, WindowRelayPayOwnerMessage as Bt, isElementMessage as C, PayElementLoadFailureReason as Ca, HubActivityMessage as Ci, AppElementGeometryCompleteMessage as Cn, MAX_PAY_AMOUNT as Co, ElementGeometryCapabilitiesMessage as Cr, HubPayRequestMessage as Ct, isHubFrameAppMessage as D, RelayAccountEmailMessage as Da, HubAttachAcceptedMessage as Di, AppElementPageUrlMessage as Dn, MAX_RELAY_STATE_EXPIRY_LENGTH as Do, ElementGeometryTargetMessage as Dr, PayDestinationAddress as Dt, isHubElementMessage as E, RefusalPayload as Ea, HubAppearance as Ei, AppElementMessage as En, MAX_PAY_SOURCE_FUNDS_WALLETS as Eo, ElementGeometryLifetimePayload as Er, PayCurrency as Et, PayEnvelopeArgs as F, SuaElementReloadReason as Fa, HubDiagnosticsHeldKey as Fi, AppMessage as Fn, PAY_ELEMENT_LOAD_FAILURE_REASONS as Fo, ElementMenuAnchorMessage as Fr, PayTransaction as Ft, ElementHeldMessage as G, WindowRelayBuildPayload as Ga, HubElementOverlayHiddenMessage as Gi, AppWindowAccountEmailRefreshPayload as Gn, PAY_MESSAGE_TYPES as Go, ElementRelayClosePayload as Gr, WindowRelayPaySourcePayload as Gt, ElementCheckoutResultMessage as H, WindowErrorMessage as Ha, HubElementBalanceMessage as Hi, AppWindowAccountEmailMessage as Hn, PAY_FUND_START_SCREENS as Ho, ElementReadyMessage as Hr, WindowRelayPayProgressMessage as Ht, SuaMessage as I, SuaWindowCancelCause as Ia, HubDiagnosticsObservation as Ii, AppOverlayHiddenMessage as In, PAY_ELEMENT_MESSAGE_TYPES as Io, ElementMenuAnchorPayload as Ir, WindowRelayCheckoutResultMessage as It, ElementPayRequestAckMessage as J, WindowRelayRefusedMessage as Ja, HubElementWindowAcceptedPayload as Ji, AppWindowStateMessage as Jn, SUA_APP_WINDOW_MESSAGE_TYPES as Jo, ElementRelayPageUrlPayload as Jr, WindowRelayPayUnsentMessage as Jt, ElementPaidMessage as K, WindowRelayCloseAcceptedMessage as Ka, HubElementProbeAckMessage as Ki, AppWindowAccountEmailRefreshReplyMessage as Kn, PAY_PROTOCOL as Ko, ElementRelayInitMessage as Kr, WindowRelayPaySourceSavedMessage as Kt, createHubSuaEnvelope as L, SuaWindowEndCause as La, HubDiagnosticsSession as Li, AppShowMenuMessage as Ln, PAY_ELEMENT_NOTIFICATION_MESSAGE_TYPES as Lo, ElementMessage as Lr, WindowRelayCheckoutResultPayload as Lt, isWindowElementMessage as M, SignOutResult as Ma, HubDiagnosticsDetailsPayload as Mi, AppFundMessage as Mn, PAY_DESTINATION_RULE_PATTERN as Mo, ElementInitPayload as Mr, PayReceived as Mt, DecodedMessage as N, SignPayload as Na, HubDiagnosticsDisconnect as Ni, AppHubFrameMessage as Nn, PAY_ELEMENT_FAILURE_CODES as No, ElementLoadFailedMessage as Nr, PayRequestTerms as Nt, isHubFrameName as O, RelayAccountEmailPayload as Oa, HubAttachAcceptedPayload as Oi, AppElementPageUrlPayload as On, MAX_SIGN_MESSAGE_BYTES as Oo, ElementGeometryTargetPayload as Or, PayDestinationAsk as Ot, HubDecodedMessage as P, SignResult as Pa, HubDiagnosticsEntityStatus as Pi, AppInitMessage as Pn, PAY_ELEMENT_LIFETIME_MESSAGE_TYPES as Po, ElementLoadFailedPayload as Pr, PayTerms as Pt, ElementUnconfirmedMessage as Q, APP_ID_PATTERN as Qa, HubElementWindowRefusedPayload as Qi, CardElementLabels as Qn, SUA_GUEST_HANDOFF_MESSAGE_TYPE as Qo, ElementReloadRequestPayload as Qr, isElementCheckoutResultPayload as Qt, createPayEnvelope as R, TransportPayload as Ra, HubDiagnosticsSessionRead as Ri, AppShowMenuPayload as Rn, PAY_ELEMENT_PATH as Ro, ElementPageUrlMessage as Rr, WindowRelayCheckoutWalletMessage as Rt, isElementHubMessage as S, MenuRefusalPayload as Sa, FundWindowContinuationPayload as Si, AppElementGeometryCancelledMessage as Sn, MAX_PAGE_URL_LENGTH as So, ElementFailureCode as Sr, HubElementPayUnsentPayload as St, isHubBuildId as T, PayMenuRect as Ta, HubAppElementMessage as Ti, AppElementMenuEndedMessage as Tn, MAX_PAY_PAYOUT_ADDRESS_LENGTH as To, ElementGeometryEasing as Tr, LegacyPayDestinationAsk as Tt, ElementCheckoutResultPayload as U, WindowRelayAcceptedMessage as Ua, HubElementBalancePayload as Ui, AppWindowAccountEmailPayload as Un, PAY_HUB_FRAME_MESSAGE_TYPES as Uo, ElementRefusedMessage as Ur, WindowRelayPayProgressPayload as Ut, CheckoutFinalState as V, WindowElementMessage as Va, HubElementBalance as Vi, AppSignOutMessage as Vn, PAY_FUND_REQUEST_TYPE as Vo, ElementPayShownPayload as Vr, WindowRelayPayOwnerPayload as Vt, ElementDepositRequestPayload as W, WindowRelayBuildMessage as Wa, HubElementMessage as Wi, AppWindowAccountEmailRefreshMessage as Wn, PAY_JOBS as Wo, ElementRelayCloseMessage as Wr, WindowRelayPaySourceMessage as Wt, ElementPayRequestPayload as X, WindowRelayStatePayload as Xa, HubElementWindowCancelPayload as Xi, AppearancePayload as Xn, SUA_ELEMENT_RELOAD_REASONS as Xo, ElementRelayPayShownPayload as Xr, answersPayAmount as Xt, ElementPayRequestAckPayload as Y, WindowRelayStateMessage as Ya, HubElementWindowCancelMessage as Yi, AppWindowStatePayload as Yn, SUA_ELEMENT_GEOMETRY_EASINGS as Yo, ElementRelayPayShownMessage as Yr, WindowRelayPayUnsentPayload as Yt, ElementPaymentNoticePayload as Z, WindowResultMessage as Za, HubElementWindowRefusedMessage as Zi, CardElementConfig as Zn, SUA_FUND_WINDOW_MESSAGE_TYPE as Zo, ElementReloadRequestMessage as Zr, comparePayAmounts as Zt, isAppElementMessage as _, HubTheme as _a, EmptyPayload as _i, AppElementCheckStatusCapabilityPayload as _n, MAX_ERROR_MESSAGE_LENGTH as _o, ElementConnectedPayload as _r, HubElementPaySourcePayload as _t, decodeAppWindowAccountEmailRefreshMessage as a, HubMenuEndedMessage as aa, ElementViewShownMessage as ai, samePayDestinationAsk as an, HUB_NEEDS_POPUP_MESSAGE as ao, ElementActionCheckPayload as ar, SUA_RELAY_MESSAGE_TYPES as as, HubElementCheckoutWalletMessage as at, isAppWindowHubMessage as b, InitPayload as ba, FundStartScreen as bi, AppElementConfigMessage as bn, MAX_MENU_RECT_VALUE as bo, ElementFailedMessage as br, HubElementPaySourceSavedPayload as bt, decodeElementHubMessage as c, HubOverlayCloseMessage as ca, ElementWindowErrorMessage as ci, AppAppearanceMessage as cn, HUB_SURFACE_POPUP as co, ElementAttachMessage as cr, bytesToUtf8 as cs, HubElementPayOwnerMessage as ct, decodeHubElementMessage as d, HubRequestType as da, ElementWindowOpenedMessage as di, AppDiagnosticsSubscribeMessage as dn, MAX_ACCOUNT_EMAIL_LENGTH as do, ElementCheckStatusRequestMessage as dr, HubElementPayProgressPayload as dt, HubErrorCode as ea, ElementResizePayload as ei, isElementPaidPayload as en, GUEST_COOKIE_ACCESS_HEADER as eo, CeremonyRequestType as er, SUA_LINK_C_MESSAGE_TYPES as es, HubAppElementPayRequestMessage as et, decodeHubFrameAppMessage as f, HubResult as fa, ElementWindowOpenedPayload as fi, AppDiagnosticsUnsubscribeMessage as fn, MAX_ACCOUNT_IDENTITY_LENGTH as fo, ElementCheckStatusRequestPayload as fr, HubElementPaySavedWallet as ft, decodeWindowElementMessage as g, HubStatus as ga, ElementWindowStatePayload as gi, AppElementCheckStatusCapabilityMessage as gn, MAX_ELEMENT_RESIZE_DURATION_MS as go, ElementConnectedMessage as gr, HubElementPaySourceMessage as gt, decodeWindowAccountEmailMessage as h, HubStateSnapshot as ha, ElementWindowStateMessage as hi, AppElementActionEligibilityPayload as hn, MAX_ELEMENT_LABEL_LENGTH as ho, ElementConfigPayload as hr, HubElementPaySourceFundsPayload as ht, decodeAppWindowAccountEmailMessage as i, HubMenuAcceptedMessage as ia, ElementSignedPayload as ii, sameLegacyPayDestinationAsk as in, HUB_GUEST_COOKIE_NAME as io, ElementActionCheckMessage as ir, SUA_RELAY_CONTROL_MESSAGE_TYPES as is, HubElementCheckoutResultPayload as it, isSuaEnvelope as j, SignInResult as ja, HubDiagnosticsDetailsObservation as ji, AppFundCancelMessage as jn, PAY_DESTINATION_ASSET_PATTERN as jo, ElementHubProbePayload as jr, PayJob as jt, isHubMessage as k, RelayCloseCause as ka, HubAttachRefusedMessage as ki, AppElementReloadGrantMessage as kn, PAY_AMOUNT_PATTERN as ko, ElementHubMessage as kr, PayDestinationRuleId as kt, decodeElementMessage as l, HubOverlayOpenMessage as la, ElementWindowErrorPayload as li, AppDiagnosticsDisconnectMessage as ln, HUB_URL_PARAMS as lo, ElementAttachPayload as lr, utf8ToBytes as ls, HubElementPayOwnerPayload as lt, decodeRelayAccountEmailMessage as m, HubStateMessage as ma, ElementWindowResultPayload as mi, AppElementActionEligibilityMessage as mn, MAX_ELEMENT_BLOCK_SIZE as mo, ElementConfigAckPayload as mr, HubElementPaySourceFundsMessage as mt, decodeAppHubFrameMessage as n, HubFrameAppMessage as na, ElementSignFailure as ni, isElementPayRequestPayload as nn, HUB_CSRF_COOKIE_NAME as no, DisconnectResult as nr, SUA_PAY_REQUEST_TYPE as ns, HubElementCheckoutHeldPayload as nt, decodeAppWindowAccountEmailRefreshReplyMessage as o, HubMenuRefusedMessage as oa, ElementWindowEndedMessage as oi, samePayTerms as on, HUB_PARTITIONED_GUEST_COOKIE_NAME as oo, ElementAttachConfirmMessage as or, SUA_WINDOW_CANCEL_CAUSES as os, HubElementCheckoutWalletPayload as ot, decodeHubMessage as p, HubResultMessage as pa, ElementWindowResultMessage as pi, AppDisconnectMessage as pn, MAX_APP_ORIGIN_LENGTH as po, ElementConfigAckMessage as pr, HubElementPaySourceCurrentMessage as pt, ElementPaidPayload as q, WindowRelayCloseAcceptedPayload as qa, HubElementWindowAcceptedMessage as qi, AppWindowAccountEmailRefreshReplyPayload as qn, SUA_ACCOUNT_EMAIL_MESSAGE_TYPES as qo, ElementRelayPageUrlMessage as qr, WindowRelayPaySourceSavedPayload as qt, decodeAppMessage as r, HubFundReceivedMessage as ra, ElementSignedMessage as ri, payJobOf as rn, HUB_FRAME_NAME_PATTERN as ro, ElementAcceptedMessage as rr, SUA_PROTOCOL_VERSION as rs, HubElementCheckoutResultMessage as rt, decodeAppWindowHubMessage as s, HubMessage as sa, ElementWindowEndedPayload as si, AccountEmailReportAccount as sn, HUB_SURFACE_ELEMENT as so, ElementAttachConfirmPayload as sr, SUA_WINDOW_END_CAUSES as ss, HubElementPayFundedWallet as st, decodeAppElementMessage as t, HubErrorMessage as ta, ElementSignAction as ti, isElementPayRequestAckPayload as tn, HUB_BUILD_ID_PATTERN as to, CeremonyResult as tr, SUA_LINK_C_STREAM_PREFIXES as ts, HubElementCheckoutHeldMessage as tt, decodeElementWindowMessage as u, HubReadyMessage as ua, ElementWindowMessage as ui, AppDiagnosticsInspectMessage as un, MAX_ACCOUNT_EMAIL_LEASE_MS as uo, ElementCeremonyFailure as ur, HubElementPayProgressMessage as ut, isAppHubFrameMessage as v, HubTransport as va, FundPayload as vi, AppElementCheckStatusSettledMessage as vn, MAX_HUB_BALANCE_AMOUNT_LENGTH as vo, ElementDetachMessage as vr, HubElementPaySourceRemembered as vt, isElementWindowMessage as w, PayEnvelope as wa, HubActivityPayload as wi, AppElementInitMessage as wn, MAX_PAY_ITEM_LENGTH as wo, ElementGeometryCapabilitiesPayload as wr, HubPayRequestPayload as wt, isAppearance as x, InitResult as xa, FundWindowContinuationMessage as xi, AppElementFocusMessage as xn, MAX_MESSAGE_ID_LENGTH as xo, ElementFailedPayload as xr, HubElementPayUnsentMessage as xt, isAppMessage as y, HubTransportMessage as ya, FundResult as yi, AppElementCheckStatusSettledPayload as yn, MAX_HUB_BUILD_ID_LENGTH as yo, ElementDetachPayload as yr, HubElementPaySourceSavedMessage as yt, AppElementDepositRequestMessage as z, WindowAccountEmailMessage as za, HubDiagnosticsStatusMessage as zi, AppSignInMessage as zn, PAY_FIRST_STEPS as zo, ElementPageUrlPayload as zr, WindowRelayCheckoutWalletPayload as zt };
|
|
3301
|
-
//# sourceMappingURL=guards-
|
|
3310
|
+
export { HubAppElementDepositRequestMessage as $, EVM_ADDRESS_PATTERN as $a, HubError as $i, CeremonyError as $n, SUA_FUND_WINDOW_MESSAGE_TYPE as $o, ElementResizeMessage as $r, isElementDepositRequestPayload as $t, isSignText as A, RelayInitPayload as Aa, HubDiagnosticsDetailsMessage as Ai, AppElementReloadGrantPayload as An, PAY_CURRENCIES as Ao, ElementHubProbeMessage as Ar, PayFirstStep as At, AppElementPayRequestMessage as B, WindowAccountEmailPayload as Ba, HubDiagnosticsStatusPayload as Bi, AppSignMessage as Bn, PAY_FUND_MESSAGE_TYPES as Bo, ElementPayShownMessage as Br, WindowRelayPayOwnerMessage as Bt, isElementMessage as C, PayElementLoadFailureReason as Ca, HubActivityMessage as Ci, AppElementGeometryCompleteMessage as Cn, MAX_PAY_AMOUNT as Co, ElementGeometryCapabilitiesMessage as Cr, HubPayRequestMessage as Ct, isHubFrameAppMessage as D, RelayAccountEmailMessage as Da, HubAttachAcceptedMessage as Di, AppElementPageUrlMessage as Dn, MAX_RELAY_STATE_EXPIRY_LENGTH as Do, ElementGeometryTargetMessage as Dr, PayDestinationAddress as Dt, isHubElementMessage as E, RefusalPayload as Ea, HubAppearance as Ei, AppElementMessage as En, MAX_PAY_SOURCE_FUNDS_WALLETS as Eo, ElementGeometryLifetimePayload as Er, PayCurrency as Et, PayEnvelopeArgs as F, SuaElementReloadReason as Fa, HubDiagnosticsHeldKey as Fi, AppMessage as Fn, PAY_ELEMENT_LOAD_FAILURE_REASONS as Fo, ElementMenuAnchorMessage as Fr, PayTransaction as Ft, ElementHeldMessage as G, WindowRelayBuildPayload as Ga, HubElementOverlayHiddenMessage as Gi, AppWindowAccountEmailRefreshPayload as Gn, PAY_MESSAGE_TYPES as Go, ElementRelayClosePayload as Gr, WindowRelayPaySourcePayload as Gt, ElementCheckoutResultMessage as H, WindowErrorMessage as Ha, HubElementBalanceMessage as Hi, AppWindowAccountEmailMessage as Hn, PAY_FUND_START_SCREENS as Ho, ElementReadyMessage as Hr, WindowRelayPayProgressMessage as Ht, SuaMessage as I, SuaWindowCancelCause as Ia, HubDiagnosticsObservation as Ii, AppOverlayHiddenMessage as In, PAY_ELEMENT_MESSAGE_TYPES as Io, ElementMenuAnchorPayload as Ir, WindowRelayCheckoutResultMessage as It, ElementPayRequestAckMessage as J, WindowRelayRefusedMessage as Ja, HubElementWindowAcceptedPayload as Ji, AppWindowStateMessage as Jn, SESSION_HEADER_OMIT as Jo, ElementRelayPageUrlPayload as Jr, WindowRelayPayUnsentMessage as Jt, ElementPaidMessage as K, WindowRelayCloseAcceptedMessage as Ka, HubElementProbeAckMessage as Ki, AppWindowAccountEmailRefreshReplyMessage as Kn, PAY_PROTOCOL as Ko, ElementRelayInitMessage as Kr, WindowRelayPaySourceSavedMessage as Kt, createHubSuaEnvelope as L, SuaWindowEndCause as La, HubDiagnosticsSession as Li, AppShowMenuMessage as Ln, PAY_ELEMENT_NOTIFICATION_MESSAGE_TYPES as Lo, ElementMessage as Lr, WindowRelayCheckoutResultPayload as Lt, isWindowElementMessage as M, SignOutResult as Ma, HubDiagnosticsDetailsPayload as Mi, AppFundMessage as Mn, PAY_DESTINATION_RULE_PATTERN as Mo, ElementInitPayload as Mr, PayReceived as Mt, DecodedMessage as N, SignPayload as Na, HubDiagnosticsDisconnect as Ni, AppHubFrameMessage as Nn, PAY_ELEMENT_FAILURE_CODES as No, ElementLoadFailedMessage as Nr, PayRequestTerms as Nt, isHubFrameName as O, RelayAccountEmailPayload as Oa, HubAttachAcceptedPayload as Oi, AppElementPageUrlPayload as On, MAX_SIGN_MESSAGE_BYTES as Oo, ElementGeometryTargetPayload as Or, PayDestinationAsk as Ot, HubDecodedMessage as P, SignResult as Pa, HubDiagnosticsEntityStatus as Pi, AppInitMessage as Pn, PAY_ELEMENT_LIFETIME_MESSAGE_TYPES as Po, ElementLoadFailedPayload as Pr, PayTerms as Pt, ElementUnconfirmedMessage as Q, APP_ID_PATTERN as Qa, HubElementWindowRefusedPayload as Qi, CardElementLabels as Qn, SUA_ELEMENT_RELOAD_REASONS as Qo, ElementReloadRequestPayload as Qr, isElementCheckoutResultPayload as Qt, createPayEnvelope as R, TransportPayload as Ra, HubDiagnosticsSessionRead as Ri, AppShowMenuPayload as Rn, PAY_ELEMENT_PATH as Ro, ElementPageUrlMessage as Rr, WindowRelayCheckoutWalletMessage as Rt, isElementHubMessage as S, MenuRefusalPayload as Sa, FundWindowContinuationPayload as Si, AppElementGeometryCancelledMessage as Sn, MAX_PAGE_URL_LENGTH as So, ElementFailureCode as Sr, HubElementPayUnsentPayload as St, isHubBuildId as T, PayMenuRect as Ta, HubAppElementMessage as Ti, AppElementMenuEndedMessage as Tn, MAX_PAY_PAYOUT_ADDRESS_LENGTH as To, ElementGeometryEasing as Tr, LegacyPayDestinationAsk as Tt, ElementCheckoutResultPayload as U, WindowRelayAcceptedMessage as Ua, HubElementBalancePayload as Ui, AppWindowAccountEmailPayload as Un, PAY_HUB_FRAME_MESSAGE_TYPES as Uo, ElementRefusedMessage as Ur, WindowRelayPayProgressPayload as Ut, CheckoutFinalState as V, WindowElementMessage as Va, HubElementBalance as Vi, AppSignOutMessage as Vn, PAY_FUND_REQUEST_TYPE as Vo, ElementPayShownPayload as Vr, WindowRelayPayOwnerPayload as Vt, ElementDepositRequestPayload as W, WindowRelayBuildMessage as Wa, HubElementMessage as Wi, AppWindowAccountEmailRefreshMessage as Wn, PAY_JOBS as Wo, ElementRelayCloseMessage as Wr, WindowRelayPaySourceMessage as Wt, ElementPayRequestPayload as X, WindowRelayStatePayload as Xa, HubElementWindowCancelPayload as Xi, AppearancePayload as Xn, SUA_APP_WINDOW_MESSAGE_TYPES as Xo, ElementRelayPayShownPayload as Xr, answersPayAmount as Xt, ElementPayRequestAckPayload as Y, WindowRelayStateMessage as Ya, HubElementWindowCancelMessage as Yi, AppWindowStatePayload as Yn, SUA_ACCOUNT_EMAIL_MESSAGE_TYPES as Yo, ElementRelayPayShownMessage as Yr, WindowRelayPayUnsentPayload as Yt, ElementPaymentNoticePayload as Z, WindowResultMessage as Za, HubElementWindowRefusedMessage as Zi, CardElementConfig as Zn, SUA_ELEMENT_GEOMETRY_EASINGS as Zo, ElementReloadRequestMessage as Zr, comparePayAmounts as Zt, isAppElementMessage as _, HubTheme as _a, EmptyPayload as _i, AppElementCheckStatusCapabilityPayload as _n, MAX_ERROR_MESSAGE_LENGTH as _o, ElementConnectedPayload as _r, HubElementPaySourcePayload as _t, decodeAppWindowAccountEmailRefreshMessage as a, HubMenuEndedMessage as aa, ElementViewShownMessage as ai, samePayDestinationAsk as an, HUB_NEEDS_POPUP_MESSAGE as ao, ElementActionCheckPayload as ar, SUA_PROTOCOL_VERSION as as, HubElementCheckoutWalletMessage as at, isAppWindowHubMessage as b, InitPayload as ba, FundStartScreen as bi, AppElementConfigMessage as bn, MAX_MENU_RECT_VALUE as bo, ElementFailedMessage as br, HubElementPaySourceSavedPayload as bt, decodeElementHubMessage as c, HubOverlayCloseMessage as ca, ElementWindowErrorMessage as ci, AppAppearanceMessage as cn, HUB_SURFACE_POPUP as co, ElementAttachMessage as cr, SUA_WINDOW_CANCEL_CAUSES as cs, HubElementPayOwnerMessage as ct, decodeHubElementMessage as d, HubRequestType as da, ElementWindowOpenedMessage as di, AppDiagnosticsSubscribeMessage as dn, MAX_ACCOUNT_EMAIL_LENGTH as do, ElementCheckStatusRequestMessage as dr, utf8ToBytes as ds, HubElementPayProgressPayload as dt, HubErrorCode as ea, ElementResizePayload as ei, isElementPaidPayload as en, GUEST_COOKIE_ACCESS_HEADER as eo, CeremonyRequestType as er, SUA_GUEST_HANDOFF_MESSAGE_TYPE as es, HubAppElementPayRequestMessage as et, decodeHubFrameAppMessage as f, HubResult as fa, ElementWindowOpenedPayload as fi, AppDiagnosticsUnsubscribeMessage as fn, MAX_ACCOUNT_IDENTITY_LENGTH as fo, ElementCheckStatusRequestPayload as fr, HubElementPaySavedWallet as ft, decodeWindowElementMessage as g, HubStatus as ga, ElementWindowStatePayload as gi, AppElementCheckStatusCapabilityMessage as gn, MAX_ELEMENT_RESIZE_DURATION_MS as go, ElementConnectedMessage as gr, HubElementPaySourceMessage as gt, decodeWindowAccountEmailMessage as h, HubStateSnapshot as ha, ElementWindowStateMessage as hi, AppElementActionEligibilityPayload as hn, MAX_ELEMENT_LABEL_LENGTH as ho, ElementConfigPayload as hr, HubElementPaySourceFundsPayload as ht, decodeAppWindowAccountEmailMessage as i, HubMenuAcceptedMessage as ia, ElementSignedPayload as ii, sameLegacyPayDestinationAsk as in, HUB_GUEST_COOKIE_NAME as io, ElementActionCheckMessage as ir, SUA_PAY_REQUEST_TYPE as is, HubElementCheckoutResultPayload as it, isSuaEnvelope as j, SignInResult as ja, HubDiagnosticsDetailsObservation as ji, AppFundCancelMessage as jn, PAY_DESTINATION_ASSET_PATTERN as jo, ElementHubProbePayload as jr, PayJob as jt, isHubMessage as k, RelayCloseCause as ka, HubAttachRefusedMessage as ki, AppElementReloadGrantMessage as kn, PAY_AMOUNT_PATTERN as ko, ElementHubMessage as kr, PayDestinationRuleId as kt, decodeElementMessage as l, HubOverlayOpenMessage as la, ElementWindowErrorPayload as li, AppDiagnosticsDisconnectMessage as ln, HUB_URL_PARAMS as lo, ElementAttachPayload as lr, SUA_WINDOW_END_CAUSES as ls, HubElementPayOwnerPayload as lt, decodeRelayAccountEmailMessage as m, HubStateMessage as ma, ElementWindowResultPayload as mi, AppElementActionEligibilityMessage as mn, MAX_ELEMENT_BLOCK_SIZE as mo, ElementConfigAckPayload as mr, HubElementPaySourceFundsMessage as mt, decodeAppHubFrameMessage as n, HubFrameAppMessage as na, ElementSignFailure as ni, isElementPayRequestPayload as nn, HUB_CSRF_COOKIE_NAME as no, DisconnectResult as nr, SUA_LINK_C_MESSAGE_TYPES as ns, HubElementCheckoutHeldPayload as nt, decodeAppWindowAccountEmailRefreshReplyMessage as o, HubMenuRefusedMessage as oa, ElementWindowEndedMessage as oi, samePayTerms as on, HUB_PARTITIONED_GUEST_COOKIE_NAME as oo, ElementAttachConfirmMessage as or, SUA_RELAY_CONTROL_MESSAGE_TYPES as os, HubElementCheckoutWalletPayload as ot, decodeHubMessage as p, HubResultMessage as pa, ElementWindowResultMessage as pi, AppDisconnectMessage as pn, MAX_APP_ORIGIN_LENGTH as po, ElementConfigAckMessage as pr, HubElementPaySourceCurrentMessage as pt, ElementPaidPayload as q, WindowRelayCloseAcceptedPayload as qa, HubElementWindowAcceptedMessage as qi, AppWindowAccountEmailRefreshReplyPayload as qn, SESSION_HEADER as qo, ElementRelayPageUrlMessage as qr, WindowRelayPaySourceSavedPayload as qt, decodeAppMessage as r, HubFundReceivedMessage as ra, ElementSignedMessage as ri, payJobOf as rn, HUB_FRAME_NAME_PATTERN as ro, ElementAcceptedMessage as rr, SUA_LINK_C_STREAM_PREFIXES as rs, HubElementCheckoutResultMessage as rt, decodeAppWindowHubMessage as s, HubMessage as sa, ElementWindowEndedPayload as si, AccountEmailReportAccount as sn, HUB_SURFACE_ELEMENT as so, ElementAttachConfirmPayload as sr, SUA_RELAY_MESSAGE_TYPES as ss, HubElementPayFundedWallet as st, decodeAppElementMessage as t, HubErrorMessage as ta, ElementSignAction as ti, isElementPayRequestAckPayload as tn, HUB_BUILD_ID_PATTERN as to, CeremonyResult as tr, SUA_LINK_C_ID_SEPARATOR as ts, HubElementCheckoutHeldMessage as tt, decodeElementWindowMessage as u, HubReadyMessage as ua, ElementWindowMessage as ui, AppDiagnosticsInspectMessage as un, MAX_ACCOUNT_EMAIL_LEASE_MS as uo, ElementCeremonyFailure as ur, bytesToUtf8 as us, HubElementPayProgressMessage as ut, isAppHubFrameMessage as v, HubTransport as va, FundPayload as vi, AppElementCheckStatusSettledMessage as vn, MAX_HUB_BALANCE_AMOUNT_LENGTH as vo, ElementDetachMessage as vr, HubElementPaySourceRemembered as vt, isElementWindowMessage as w, PayEnvelope as wa, HubActivityPayload as wi, AppElementInitMessage as wn, MAX_PAY_ITEM_LENGTH as wo, ElementGeometryCapabilitiesPayload as wr, HubPayRequestPayload as wt, isAppearance as x, InitResult as xa, FundWindowContinuationMessage as xi, AppElementFocusMessage as xn, MAX_MESSAGE_ID_LENGTH as xo, ElementFailedPayload as xr, HubElementPayUnsentMessage as xt, isAppMessage as y, HubTransportMessage as ya, FundResult as yi, AppElementCheckStatusSettledPayload as yn, MAX_HUB_BUILD_ID_LENGTH as yo, ElementDetachPayload as yr, HubElementPaySourceSavedMessage as yt, AppElementDepositRequestMessage as z, WindowAccountEmailMessage as za, HubDiagnosticsStatusMessage as zi, AppSignInMessage as zn, PAY_FIRST_STEPS as zo, ElementPageUrlPayload as zr, WindowRelayCheckoutWalletPayload as zt };
|
|
3311
|
+
//# sourceMappingURL=guards-CQWGp5eP.d.ts.map
|
|
@@ -532,6 +532,16 @@ const HUB_PARTITIONED_GUEST_COOKIE_NAME = "__Host-sua_pgid";
|
|
|
532
532
|
* states it in its body instead.
|
|
533
533
|
*/
|
|
534
534
|
const GUEST_COOKIE_ACCESS_HEADER = "X-Stridge-Cookie-Access";
|
|
535
|
+
/**
|
|
536
|
+
* The request header a session call with `omitCredentials` sends, with the value {@link SESSION_HEADER_OMIT}. The
|
|
537
|
+
* hub proxy then drops the session cookie `__Host-sua_session` from what it forwards and keeps every other Coordinator
|
|
538
|
+
* cookie. It never forwards this header.
|
|
539
|
+
*/
|
|
540
|
+
const SESSION_HEADER = "X-Stridge-Session";
|
|
541
|
+
/**
|
|
542
|
+
* The value of {@link SESSION_HEADER} that tells the hub proxy to drop the session cookie.
|
|
543
|
+
*/
|
|
544
|
+
const SESSION_HEADER_OMIT = "omit";
|
|
535
545
|
/** One-use guest code on the accepted hub-to-window relay. */
|
|
536
546
|
const SUA_GUEST_HANDOFF_MESSAGE_TYPE = "relay-guest-handoff";
|
|
537
547
|
/** Private hub-frame continuation of an already pending Fund request. */
|
|
@@ -2925,6 +2935,6 @@ function isAppearance(value) {
|
|
|
2925
2935
|
}
|
|
2926
2936
|
}
|
|
2927
2937
|
//#endregion
|
|
2928
|
-
export { HUB_NEEDS_POPUP_MESSAGE as $,
|
|
2938
|
+
export { HUB_NEEDS_POPUP_MESSAGE as $, SUA_PROTOCOL_VERSION as $t, isSignText as A, PAY_ELEMENT_MESSAGE_TYPES as At, payJobOf as B, PAY_PROTOCOL as Bt, isElementMessage as C, PAY_AMOUNT_PATTERN as Ct, isHubFrameAppMessage as D, PAY_ELEMENT_FAILURE_CODES as Dt, isHubElementMessage as E, PAY_DESTINATION_RULE_PATTERN as Et, isElementCheckoutResultPayload as F, PAY_FUND_REQUEST_TYPE as Ft, createPayEnvelope as G, SUA_ELEMENT_GEOMETRY_EASINGS as Gt, samePayDestinationAsk as H, SESSION_HEADER_OMIT as Ht, isElementDepositRequestPayload as I, PAY_FUND_START_SCREENS as It, GUEST_COOKIE_ACCESS_HEADER as J, SUA_GUEST_HANDOFF_MESSAGE_TYPE as Jt, APP_ID_PATTERN as K, SUA_ELEMENT_RELOAD_REASONS as Kt, isElementPaidPayload as L, PAY_HUB_FRAME_MESSAGE_TYPES as Lt, isWindowElementMessage as M, PAY_ELEMENT_PATH as Mt, answersPayAmount as N, PAY_FIRST_STEPS as Nt, isHubFrameName as O, PAY_ELEMENT_LIFETIME_MESSAGE_TYPES as Ot, comparePayAmounts as P, PAY_FUND_MESSAGE_TYPES as Pt, HUB_GUEST_COOKIE_NAME as Q, SUA_PAY_REQUEST_TYPE as Qt, isElementPayRequestAckPayload as R, PAY_JOBS as Rt, isElementHubMessage as S, MAX_SIGN_MESSAGE_BYTES as St, isHubBuildId as T, PAY_DESTINATION_ASSET_PATTERN as Tt, samePayTerms as U, SUA_ACCOUNT_EMAIL_MESSAGE_TYPES as Ut, sameLegacyPayDestinationAsk as V, SESSION_HEADER as Vt, createHubSuaEnvelope as W, SUA_APP_WINDOW_MESSAGE_TYPES as Wt, HUB_CSRF_COOKIE_NAME as X, SUA_LINK_C_MESSAGE_TYPES as Xt, HUB_BUILD_ID_PATTERN as Y, SUA_LINK_C_ID_SEPARATOR as Yt, HUB_FRAME_NAME_PATTERN as Z, SUA_LINK_C_STREAM_PREFIXES as Zt, isAppElementMessage as _, MAX_PAY_AMOUNT as _t, decodeAppWindowAccountEmailRefreshMessage as a, utf8ToBytes as an, MAX_ACCOUNT_EMAIL_LENGTH as at, isAppWindowHubMessage as b, MAX_PAY_SOURCE_FUNDS_WALLETS as bt, decodeElementHubMessage as c, MAX_ELEMENT_BLOCK_SIZE as ct, decodeHubElementMessage as d, MAX_ERROR_MESSAGE_LENGTH as dt, SUA_RELAY_CONTROL_MESSAGE_TYPES as en, HUB_PARTITIONED_GUEST_COOKIE_NAME as et, decodeHubFrameAppMessage as f, MAX_HUB_BALANCE_AMOUNT_LENGTH as ft, decodeWindowElementMessage as g, MAX_PAGE_URL_LENGTH as gt, decodeWindowAccountEmailMessage as h, MAX_MESSAGE_ID_LENGTH as ht, decodeAppWindowAccountEmailMessage as i, bytesToUtf8 as in, MAX_ACCOUNT_EMAIL_LEASE_MS as it, isSuaEnvelope as j, PAY_ELEMENT_NOTIFICATION_MESSAGE_TYPES as jt, isHubMessage as k, PAY_ELEMENT_LOAD_FAILURE_REASONS as kt, decodeElementMessage as l, MAX_ELEMENT_LABEL_LENGTH as lt, decodeRelayAccountEmailMessage as m, MAX_MENU_RECT_VALUE as mt, decodeAppHubFrameMessage as n, SUA_WINDOW_CANCEL_CAUSES as nn, HUB_SURFACE_POPUP as nt, decodeAppWindowAccountEmailRefreshReplyMessage as o, MAX_ACCOUNT_IDENTITY_LENGTH as ot, decodeHubMessage as p, MAX_HUB_BUILD_ID_LENGTH as pt, EVM_ADDRESS_PATTERN as q, SUA_FUND_WINDOW_MESSAGE_TYPE as qt, decodeAppMessage as r, SUA_WINDOW_END_CAUSES as rn, HUB_URL_PARAMS as rt, decodeAppWindowHubMessage as s, MAX_APP_ORIGIN_LENGTH as st, decodeAppElementMessage as t, SUA_RELAY_MESSAGE_TYPES as tn, HUB_SURFACE_ELEMENT as tt, decodeElementWindowMessage as u, MAX_ELEMENT_RESIZE_DURATION_MS as ut, isAppHubFrameMessage as v, MAX_PAY_ITEM_LENGTH as vt, isElementWindowMessage as w, PAY_CURRENCIES as wt, isAppearance as x, MAX_RELAY_STATE_EXPIRY_LENGTH as xt, isAppMessage as y, MAX_PAY_PAYOUT_ADDRESS_LENGTH as yt, isElementPayRequestPayload as z, PAY_MESSAGE_TYPES as zt };
|
|
2929
2939
|
|
|
2930
|
-
//# sourceMappingURL=guards-
|
|
2940
|
+
//# sourceMappingURL=guards-CukG42GQ.js.map
|