@coinflowlabs/angular 1.14.0 → 1.15.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coinflowlabs/angular",
3
- "version": "1.14.0",
3
+ "version": "1.15.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.2.17",
6
6
  "@angular/core": "^19.2.17",
@@ -5,6 +5,60 @@ import * as i0 from '@angular/core';
5
5
  import { EventEmitter, ElementRef, OnDestroy, SimpleChanges, OnInit, NgZone } from '@angular/core';
6
6
  import { SafeResourceUrl, DomSanitizer } from '@angular/platform-browser';
7
7
 
8
+ /**
9
+ * Outcome of a standalone bank-link session, reported to the merchant's
10
+ * `callbackUrl` as the `bankLinkStatus` query parameter.
11
+ *
12
+ * The customer returns to the same `callbackUrl` whether they linked an
13
+ * account, backed out, or could not be verified, so arriving there is not by
14
+ * itself evidence of a link.
15
+ */
16
+ type BankLinkStatus = 'linked' | 'canceled' | 'failed';
17
+ declare const BANK_LINK_STATUS_PARAM = "bankLinkStatus";
18
+ /**
19
+ * Query parameters a standalone bank-link session appends to the merchant's
20
+ * `callbackUrl`.
21
+ *
22
+ * The return leg carries no secret — only the outcome. The linked accounts and
23
+ * their tokens are read from Get Customer, which is authenticated, so a
24
+ * payment-instrument token never rides a merchant-supplied redirect. The same
25
+ * invariant lets the shared redirect validator allow native-app deep links
26
+ * without a whitelist, so nothing may be added here.
27
+ */
28
+ declare function bankLinkCallbackParams({ status, }: {
29
+ status: BankLinkStatus;
30
+ }): Record<string, string>;
31
+ /**
32
+ * What the hosted bank-linking page does once an account is linked.
33
+ *
34
+ * `emit` is the embedded SDK case: `<CoinflowBankLink>` lives inside the
35
+ * merchant's own checkout, so the page reports the tokens through the
36
+ * accountLinked message and stops. Navigating onward would drop the customer
37
+ * into Coinflow's checkout, which the merchant owns.
38
+ */
39
+ type BankLinkCompletion = 'emit' | 'redirect' | 'returnToApp' | 'returnToCheckout';
40
+ /**
41
+ * Picks the completion behaviour for a finished bank link.
42
+ *
43
+ * `bankLinkOnly` wins over everything: the page was opened purely to link an
44
+ * account, so there is nowhere to send the customer afterwards.
45
+ */
46
+ declare function resolveBankLinkCompletion({ bankLinkOnly, hasCallbackRedirect, isReactNativeLink, }: {
47
+ bankLinkOnly: boolean;
48
+ hasCallbackRedirect: boolean;
49
+ isReactNativeLink: boolean;
50
+ }): BankLinkCompletion;
51
+ /**
52
+ * How long the embedded flow holds the page blank before revealing the linked
53
+ * state.
54
+ *
55
+ * A merchant who unmounts <CoinflowBankLink> on the accountLinked event should
56
+ * never flash Coinflow's confirmation at their user, and a merchant who leaves
57
+ * it mounted should not be left looking at nothing. Long enough to cover the
58
+ * message hop and unmount, short enough not to read as a hang.
59
+ */
60
+ declare const BANK_LINK_REVEAL_DELAY_MS = 500;
61
+
8
62
  declare enum Currency {
9
63
  USD = "USD",
10
64
  AED = "AED",
@@ -193,6 +247,16 @@ interface Cents {
193
247
  interface CurrencyCents extends Cents {
194
248
  currency: Currency;
195
249
  }
250
+ interface LamportsAmount {
251
+ /**
252
+ * Amount of lamports. Must be a whole, non-negative number; as a string it may
253
+ * contain digits only (no sign, decimal point, or exponent).
254
+ * @isInt lamports must be an integer
255
+ * @minimum 0 lamports must be non-negative
256
+ * @pattern ^\d+$ lamports must be a non-negative integer
257
+ */
258
+ lamports: string | number;
259
+ }
196
260
  interface RemainingLimit extends CurrencyCents {
197
261
  type: 'single transaction' | 'daily' | 'monthly';
198
262
  }
@@ -1173,7 +1237,8 @@ declare enum WithdrawSpeed {
1173
1237
  PAYPAL = "paypal",
1174
1238
  WIRE = "wire",
1175
1239
  INTERAC = "interac",
1176
- SWIFT = "swift"
1240
+ SWIFT = "swift",
1241
+ CRYPTO = "crypto"
1177
1242
  }
1178
1243
  declare enum SettlementType {
1179
1244
  Credits = "Credits",
@@ -1285,7 +1350,7 @@ interface SplitNameCustomerInfo extends BaseCustomerInfo {
1285
1350
  type CustomerInfo = SplitNameCustomerInfo | NameCustomerInfo;
1286
1351
  /** Coinflow Types **/
1287
1352
  type CoinflowBlockchain = 'solana' | 'eth' | 'polygon' | 'base' | 'arbitrum' | 'stellar' | 'monad' | 'tempo' | 'user';
1288
- type CoinflowEnvs = 'prod' | 'staging' | 'staging-live' | 'sandbox' | 'local';
1353
+ type CoinflowEnvs = 'prod' | 'staging' | 'sandbox' | 'local';
1289
1354
  interface CoinflowTypes {
1290
1355
  merchantId: string;
1291
1356
  env?: CoinflowEnvs;
@@ -1293,6 +1358,8 @@ interface CoinflowTypes {
1293
1358
  blockchain?: CoinflowBlockchain | undefined;
1294
1359
  handleHeightChange?: (height: string) => void;
1295
1360
  theme?: MerchantTheme;
1361
+ /** Your company email address that the customer can contact. */
1362
+ supportEmail?: string;
1296
1363
  }
1297
1364
  type PartialBy<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
1298
1365
  type MergeWithOptionalDiff<A, B> = Pick<A, Extract<keyof A, keyof B>> & Pick<B, Extract<keyof B, keyof A>> & Partial<Omit<A, keyof B>> & Partial<Omit<B, keyof A>>;
@@ -1310,6 +1377,43 @@ type AuthDeclinedWalletCallInfo = {
1310
1377
  type OnAuthDeclinedMethod = (args: AuthDeclinedWalletCallInfo) => void | Promise<void>;
1311
1378
  type OnInputErrorMethod = (args: InputErrorWalletCallInfo) => void | Promise<void>;
1312
1379
  type OnInputValidMethod = (args: InputValidWalletCallInfo) => void | Promise<void>;
1380
+ /**
1381
+ * Mirrors `LinkedAccountType` in `@coinflow/common`. Redeclared here because
1382
+ * lib-common ships to merchants and cannot depend on the server package.
1383
+ */
1384
+ type AccountLinkedType = 'bank' | 'card' | 'iban' | 'pix' | 'eft' | 'venmo' | 'paypal' | 'wire' | 'interac';
1385
+ interface AccountLinkedInfo {
1386
+ type: AccountLinkedType;
1387
+ /**
1388
+ * The linked bank account tokens, each usable as the `token` field on an ACH
1389
+ * checkout request. Present only for bank links.
1390
+ */
1391
+ tokens?: string[];
1392
+ }
1393
+ type OnAccountLinkedMethod = (info: AccountLinkedInfo) => void;
1394
+ /**
1395
+ * Why a linking session ended without an account.
1396
+ *
1397
+ * Derived from the standalone link's `bankLinkStatus` so the two entry points
1398
+ * cannot drift: a merchant who moves between them meets the same vocabulary.
1399
+ */
1400
+ type AccountNotLinkedReason = Exclude<BankLinkStatus, 'linked'>;
1401
+ interface AccountNotLinkedInfo {
1402
+ type: AccountLinkedType;
1403
+ /**
1404
+ * `canceled` when the customer backed out, `failed` when the account could
1405
+ * not be linked — for example because the account holder's name could not be
1406
+ * verified.
1407
+ */
1408
+ reason: AccountNotLinkedReason;
1409
+ }
1410
+ type OnAccountNotLinkedMethod = (info: AccountNotLinkedInfo) => void;
1411
+ interface AccountLinkErrorInfo {
1412
+ type: AccountLinkedType;
1413
+ message: string;
1414
+ status?: number;
1415
+ }
1416
+ type OnAccountLinkErrorMethod = (info: AccountLinkErrorInfo) => void;
1313
1417
  /** Wallets **/
1314
1418
  interface SolanaWallet {
1315
1419
  publicKey: PublicKey | null;
@@ -1528,10 +1632,6 @@ interface CoinflowCommonPurchaseProps extends CoinflowTypes {
1528
1632
  */
1529
1633
  deviceId?: string;
1530
1634
  jwtToken?: string;
1531
- /**
1532
- * Your company email address that the customer can contact.
1533
- */
1534
- supportEmail?: string;
1535
1635
  /**
1536
1636
  * If rendering the Coinflow component within multiple nested iframes, all ancestors in the chain must be provided as a comma-separated list.
1537
1637
  *
@@ -1631,6 +1731,7 @@ type CoinflowPurchaseProps = CoinflowSolanaPurchaseProps | CoinflowSessionKeyPur
1631
1731
  /** Withdraw **/
1632
1732
  interface CoinflowCommonWithdrawProps extends CoinflowTypes {
1633
1733
  onSuccess?: OnSuccessMethod;
1734
+ onAccountLinkError?: OnAccountLinkErrorMethod;
1634
1735
  tokens?: string[];
1635
1736
  lockDefaultToken?: boolean;
1636
1737
  amount?: number;
@@ -1836,7 +1937,36 @@ interface DecentRedeem extends CommonEvmRedeem {
1836
1937
  * Gas fees for the transaction will be automatically calculated and added to the total charged to the customer. Optionally the merchant can opt to pay for these gas fees.
1837
1938
  */
1838
1939
  type EvmTransactionData = SafeMintRedeem | ReturnedTokenIdRedeem | KnownTokenIdRedeem | NormalRedeem | TokenRedeem | DecentRedeem;
1839
- interface CoinflowIFrameProps extends Omit<CoinflowTypes, 'merchantId' | 'handleHeightChange'>, Pick<CoinflowCommonPurchaseProps, 'chargebackProtectionData' | 'chargebackProtectionAccountType' | 'webhookInfo' | 'subtotal' | 'useNativeSubtotal' | 'presentment' | 'customerInfo' | 'settlementType' | 'email' | 'planCode' | 'deviceId' | 'jwtToken' | 'origins' | 'threeDsChallengePreference' | 'supportEmail' | 'allowedPaymentMethods' | 'accountFundingTransaction' | 'partialUsdcChecked' | 'isZeroAuthorization' | 'zeroAuthorizationConfig' | 'depositAmounts'>, Pick<CoinflowCommonWithdrawProps, 'bankAccountLinkRedirect' | 'additionalWallets' | 'transactionSigner' | 'lockAmount' | 'lockDefaultToken' | 'origins' | 'allowedWithdrawSpeeds'>, Pick<CoinflowEvmPurchaseProps, 'authOnly'>, Pick<CoinflowSolanaPurchaseProps, 'rent' | 'nativeSolToConvert' | 'destinationAuthKey' | 'redemptionCheck'>, WithGeo {
1940
+ /**
1941
+ * Props for the embeddable `CoinflowBankLink` component.
1942
+ *
1943
+ * **Web only.** React Native and other mobile integrations cannot embed this
1944
+ * component; send the customer to the standalone bank link URL instead.
1945
+ */
1946
+ interface CoinflowBankLinkProps extends Pick<CoinflowTypes, 'merchantId' | 'env' | 'blockchain' | 'loaderBackground' | 'theme' | 'handleHeightChange'>, Pick<CoinflowCommonPurchaseProps, 'email' | 'customerInfo'> {
1947
+ /** The customer must be authenticated to link a bank account. */
1948
+ sessionKey: string;
1949
+ merchantCss?: string;
1950
+ /**
1951
+ * Called once Plaid linking completes, with the tokens of the newly linked
1952
+ * bank accounts.
1953
+ */
1954
+ onAccountLinked?: OnAccountLinkedMethod | undefined;
1955
+ /**
1956
+ * Called when the session ends without linking an account — the customer
1957
+ * cancelled, or the account could not be linked. The component stays
1958
+ * mounted and does not navigate, so this is where you close or reset your
1959
+ * own UI.
1960
+ */
1961
+ onAccountNotLinked?: OnAccountNotLinkedMethod | undefined;
1962
+ /**
1963
+ * Called when a link attempt fails, with the error that caused it. The
1964
+ * component stays on the failure screen, so this is where you surface the
1965
+ * reason or log it for support.
1966
+ */
1967
+ onAccountLinkError?: OnAccountLinkErrorMethod | undefined;
1968
+ }
1969
+ interface CoinflowIFrameProps extends Omit<CoinflowTypes, 'merchantId' | 'handleHeightChange'>, Pick<CoinflowCommonPurchaseProps, 'chargebackProtectionData' | 'chargebackProtectionAccountType' | 'webhookInfo' | 'subtotal' | 'useNativeSubtotal' | 'presentment' | 'customerInfo' | 'settlementType' | 'email' | 'planCode' | 'deviceId' | 'jwtToken' | 'origins' | 'threeDsChallengePreference' | 'allowedPaymentMethods' | 'accountFundingTransaction' | 'partialUsdcChecked' | 'isZeroAuthorization' | 'zeroAuthorizationConfig' | 'depositAmounts'>, Pick<CoinflowCommonWithdrawProps, 'bankAccountLinkRedirect' | 'additionalWallets' | 'transactionSigner' | 'amount' | 'lockAmount' | 'lockDefaultToken' | 'origins' | 'allowedWithdrawSpeeds'>, Pick<CoinflowEvmPurchaseProps, 'authOnly'>, Pick<CoinflowSolanaPurchaseProps, 'rent' | 'nativeSolToConvert' | 'destinationAuthKey' | 'redemptionCheck'>, WithGeo {
1840
1970
  walletPubkey: string | null | undefined;
1841
1971
  sessionKey?: string;
1842
1972
  route: string;
@@ -1856,6 +1986,21 @@ interface CoinflowIFrameProps extends Omit<CoinflowTypes, 'merchantId' | 'handle
1856
1986
  * WebView for subtotal updates relayed through localStorage.
1857
1987
  */
1858
1988
  bridgeId?: string;
1989
+ /**
1990
+ * Ends the bank-linking page on its own confirmation instead of continuing
1991
+ * into Coinflow's checkout.
1992
+ *
1993
+ * Internal. `<CoinflowBankLink>` sets it, and so does `POST /checkout/link`'s
1994
+ * bank-link sibling when no `callbackUrl` is given, so neither SDK nor API
1995
+ * integrators ever pass it themselves. It exists because the page is shared
1996
+ * with the in-checkout linking step, where continuing to checkout is right.
1997
+ *
1998
+ * A hand-built iframe URL that omits it drops the customer into a Coinflow
1999
+ * purchase flow once they link, which is wrong inside a merchant's own
2000
+ * checkout. Build the URL from the bank-link endpoint rather than by hand.
2001
+ * The `accountLinked` message carries the tokens either way.
2002
+ */
2003
+ bankLinkOnly?: boolean;
1859
2004
  }
1860
2005
  interface CoinflowIntentsIFrameProps {
1861
2006
  theme?: MerchantTheme;
@@ -1929,8 +2074,13 @@ declare class CoinflowUtils {
1929
2074
  getNSurePartnerId(merchantId: string): Promise<string | undefined>;
1930
2075
  static getCoinflowBaseUrl(env?: CoinflowEnvs): string;
1931
2076
  static getCoinflowAppBaseUrl(env?: CoinflowEnvs): string;
2077
+ static isCoinflowMessageOrigin({ url, fallbackUrl, env, }: {
2078
+ url: string | null | undefined;
2079
+ fallbackUrl: string | null | undefined;
2080
+ env?: CoinflowEnvs;
2081
+ }): boolean;
1932
2082
  static getCoinflowApiUrl(env?: CoinflowEnvs): string;
1933
- static getCoinflowUrl({ walletPubkey, sessionKey, route, routePrefix, env, subtotal, useNativeSubtotal, presentment, transaction, blockchain, webhookInfo, email, loaderBackground, handleHeightChangeId, bankAccountLinkRedirect, additionalWallets, chargebackProtectionData, chargebackProtectionAccountType, merchantCss, color, rent, lockDefaultToken, tokens, planCode, disableApplePay, disableGooglePay, customerInfo, settlementType, lockAmount, nativeSolToConvert, theme, usePermit, transactionSigner, authOnly, deviceId, jwtToken, origins, threeDsChallengePreference, supportEmail, destinationAuthKey, allowedPaymentMethods, accountFundingTransaction, partialUsdcChecked, redemptionCheck, allowedWithdrawSpeeds, isZeroAuthorization, zeroAuthorizationConfig, userLocation, appReturnUrl, depositAmounts, ownerOverride, bridgeId, baseUrl, }: CoinflowIFrameProps & {
2083
+ static getCoinflowUrl({ walletPubkey, sessionKey, route, routePrefix, env, subtotal, useNativeSubtotal, presentment, transaction, blockchain, webhookInfo, email, loaderBackground, handleHeightChangeId, bankAccountLinkRedirect, additionalWallets, chargebackProtectionData, chargebackProtectionAccountType, merchantCss, color, rent, lockDefaultToken, tokens, planCode, disableApplePay, disableGooglePay, customerInfo, settlementType, amount, lockAmount, nativeSolToConvert, theme, usePermit, transactionSigner, authOnly, deviceId, jwtToken, origins, threeDsChallengePreference, supportEmail, destinationAuthKey, allowedPaymentMethods, accountFundingTransaction, partialUsdcChecked, redemptionCheck, allowedWithdrawSpeeds, isZeroAuthorization, zeroAuthorizationConfig, userLocation, appReturnUrl, depositAmounts, ownerOverride, bridgeId, bankLinkOnly, baseUrl, }: CoinflowIFrameProps & {
1934
2084
  baseUrl?: string;
1935
2085
  } & WithGeo): string;
1936
2086
  static getCoinflowIntentsUrl({ baseUrl, route, color, theme, env, origins, deviceId, merchantCss, loaderBackground, handleHeightChangeId, }: CoinflowIntentsIFrameProps & {
@@ -1982,6 +2132,16 @@ interface IFrameMessageHandlers {
1982
2132
  onAuthDeclined: OnAuthDeclinedMethod | undefined;
1983
2133
  onInputError?: OnInputErrorMethod | undefined;
1984
2134
  onInputValid?: OnInputValidMethod | undefined;
2135
+ /**
2136
+ * Called when the customer finishes linking a payment or payout account in
2137
+ * the iframe. For bank links the info carries the linked account tokens.
2138
+ */
2139
+ onAccountLinked?: OnAccountLinkedMethod | undefined;
2140
+ onAccountNotLinked?: OnAccountNotLinkedMethod | undefined;
2141
+ /**
2142
+ * Called when an account link attempt fails, with the error that caused it.
2143
+ */
2144
+ onAccountLinkError?: OnAccountLinkErrorMethod | undefined;
1985
2145
  /**
1986
2146
  * Called when the iframe opens/closes an in-page overlay (e.g. the PayPal
1987
2147
  * approval modal). `state` is 'open' or 'close'.
@@ -1999,13 +2159,19 @@ declare enum IFrameMessageMethods {
1999
2159
  InputValid = "inputValid",
2000
2160
  Loaded = "loaded",
2001
2161
  AccountLinked = "accountLinked",
2162
+ AccountNotLinked = "accountNotLinked",
2163
+ AccountLinkError = "accountLinkError",
2002
2164
  Redirect = "redirect",
2003
2165
  Overlay = "overlay",
2004
2166
  UpdateSubtotal = "updateSubtotal"
2005
2167
  }
2006
2168
  declare function getWalletPubkey(input: Pick<CoinflowPurchaseProps, 'wallet' | 'blockchain'>): string | null | undefined;
2007
2169
  declare function handleIFrameMessage(rawMessage: string, handlers: IFrameMessageHandlers, handleHeightChangeId: string | number): Promise<string> | void;
2008
- declare function getHandlers(props: Pick<CoinflowPurchaseProps, 'wallet' | 'blockchain' | 'onSuccess' | 'onAuthDeclined' | 'onInputError' | 'onInputValid'>): Omit<IFrameMessageHandlers, 'handleHeightChange'>;
2170
+ declare function getHandlers(props: Pick<CoinflowPurchaseProps, 'wallet' | 'blockchain' | 'onSuccess' | 'onAuthDeclined' | 'onInputError' | 'onInputValid'> & {
2171
+ onAccountLinked?: OnAccountLinkedMethod | undefined;
2172
+ onAccountNotLinked?: OnAccountNotLinkedMethod | undefined;
2173
+ onAccountLinkError?: OnAccountLinkErrorMethod | undefined;
2174
+ }): Omit<IFrameMessageHandlers, 'handleHeightChange'>;
2009
2175
 
2010
2176
  type EventBusCallback = (event: Event) => void;
2011
2177
  declare class EventBus {
@@ -2301,7 +2467,7 @@ declare class CoinflowIFrameComponent {
2301
2467
  private isLoading;
2302
2468
  constructor(sanitizer: DomSanitizer);
2303
2469
  ngOnInit(): void;
2304
- onPostMessage(event: any): void;
2470
+ onPostMessage(event: MessageEvent): void;
2305
2471
  sendMessage(message: string): void;
2306
2472
  handleIframeLoad(): void;
2307
2473
  static ɵfac: i0.ɵɵFactoryDeclaration<CoinflowIFrameComponent, never>;
@@ -2506,5 +2672,5 @@ type WithOnLoad = {
2506
2672
  onLoad?: () => void | Promise<void>;
2507
2673
  };
2508
2674
 
2509
- export { BankingCurrencies, CARD_ENTRY_BORDER_PX, CARD_ENTRY_DIVIDER_PX, CARD_ENTRY_MARGIN_PX, CARD_ENTRY_MIN_WIDTHS, CARD_ENTRY_ROW_HEIGHT, CARD_ENTRY_ROW_HEIGHT_PX, CARD_ENTRY_SLOT_GAP_PX, CARD_FIELD_ERROR_MESSAGES, CARD_TYPE_MAPPING, COMPACT_SKELETON_HEIGHT_PX, CardType, ChargebackProtectionAccountType, CoinflowApplePayButtonComponent, CoinflowCardForm, CoinflowCardFormV2, CoinflowCardNumberInput, CoinflowCardNumberOnlyInput, CoinflowCvvInputComponent, CoinflowCvvOnlyInputComponent, CoinflowGooglePayButtonComponent, CoinflowIFrameComponent, CoinflowPurchaseComponent, CoinflowPurchaseHistoryComponent, CoinflowPurchaseProtectionComponent, CoinflowUtils, CoinflowWithdrawComponent, CoinflowWithdrawHistoryComponent, Currency, CurrencyToISO4217, DEVICE_ID_HEADER, EventBus, FORTER_TOKEN_HEADER, IFrameMessageMethods, INLINE_SKELETON_HEIGHT_PX, MerchantStyle, PaymentMethods, REFERRER_HEADER, RN_REDIRECT_MESSAGE_NAME, SESSION_ID_HEADER, SKELETON_BOX_STYLE, SKELETON_FADE_MS, SKELETON_LAYOUTS, SKELETON_PULSE_ANIMATION_NAME, SKELETON_ROOT_PADDING_PX, SettlementType, ThreeDsChallengePreference, TokenExCardNumberIframeId, TokenExCvvContainerID, WithdrawCategory, WithdrawCurrencies, WithdrawSpeed, awaitForterToken, buildCardEntryGridCss, buildCardEntryLayout, buildSkeletonCss, canReuseLinkToken, captureForterToken, doInitializeCvvOnlyTokenExIframe, doInitializeTokenExCardOnlyIframe, doInitializeTokenExIframe, getCardFieldInputEvents, getCardFieldValidationError, getCoinflowProtectionHeaders, getCoinflowPurchaseHeaders, getCurrencyDecimals, getCustomerName, getForterToken, getHandlers, getIframeConfig, getSkeletonColors, getSkeletonGridClass, getSkeletonGridTemplate, getWalletPubkey, guessSkeletonHeightPx, handleIFrameMessage, initCoinflowProtection, invertRate, isBankingCurrency, isTypedCurrencyCents, isWithdrawCurrency, isZeroAuthSavedPaymentMethods, isZeroAuthVerifyCard, nftCartItem, parseCachedLinkToken, paymentMethodLabels, productType, recordFrontendError, serializeCachedLinkToken, setTokenExScriptTag, shouldStackSkeleton };
2510
- export type { AccountFundingTransaction, AnyObject, ArbitrumWalletProps, AuthDeclinedWalletCallInfo, BankingCurrency, BaseWalletProps, CachedLinkToken, CardEntryConfig, CardEntryDivider, CardEntryInputName, CardEntryLayout, CardFieldInputEvent, CardFormArgs, CardFormInputStyles, CardFormTokenResponse, CardFormVariant, Cart, CartClassOmitted, CartItem, CartItemClassOmitted, Cents, ChargebackProtectionData, ChargebackProtectionItem, CoinflowArbitrumHistoryProps, CoinflowArbitrumPurchaseProps, CoinflowArbitrumWithdrawProps, CoinflowBaseHistoryProps, CoinflowBasePurchaseProps, CoinflowBaseWithdrawProps, CoinflowBlockchain, CoinflowCardNumberInputProps, CoinflowCardTokenResponse, CoinflowCommonPaymentIntentProps, CoinflowCommonPurchaseProps, CoinflowCommonWithdrawProps, CoinflowCvvOnlyInputProps, CoinflowEnvs, CoinflowEthHistoryProps, CoinflowEthPurchaseProps, CoinflowEthWithdrawProps, CoinflowEvmHistoryProps, CoinflowEvmPurchaseProps, CoinflowHistoryProps, CoinflowIFrameProps, CoinflowIntentsIFrameProps, CoinflowMonadHistoryProps, CoinflowMonadPurchaseProps, CoinflowMonadWithdrawProps, CoinflowPolygonHistoryProps, CoinflowPolygonPurchaseProps, CoinflowPolygonWithdrawProps, CoinflowProtectionHeadersType, CoinflowPurchaseHeadersType, CoinflowPurchaseProps, CoinflowSessionKeyHistoryProps, CoinflowSessionKeyPurchaseProps, CoinflowSolanaHistoryProps, CoinflowSolanaPurchaseProps, CoinflowSolanaWithdrawProps, CoinflowStellarHistoryProps, CoinflowStellarPurchaseProps, CoinflowStellarWithdrawProps, CoinflowTempoHistoryProps, CoinflowTempoPurchaseProps, CoinflowTempoWithdrawProps, CoinflowTypes, CoinflowWithdrawProps, CommonDoInitializeTokenExIframeArgs, CommonEvmRedeem, CryptoCartItem, CurrencyCents, CustomerInfo, DecentRedeem, DoInitializeCvvOnlyTokenExIframeArgs, DoInitializeTokenExIframeArgs, EthWallet, EthWalletProps, EventBusCallback, EvmTransactionData, ExchangeRate, FlightTicketCartItem, FlightUpgradeCartItem, FullName, GetIFrameConfigArgs, GiftCardCartItem, IFrameMessageHandlers, InputErrorWalletCallInfo, InputValidWalletCallInfo, KnownTokenIdRedeem, LodgingCartItem, MerchantIdOrCheckoutJwt, MerchantTheme, MergeWithOptionalDiff, MonadWalletProps, NameCustomerInfo, NftCartItemClassOmitted, NormalRedeem, OnAuthDeclinedMethod, OnInputErrorMethod, OnInputValidMethod, OnSuccessMethod, PartialBy, PolygonWalletProps, PurchaseCustomPayInFee, RecipientAftInfo, RemainingLimit, ReturnedTokenIdRedeem, SafeMintRedeem, SkeletonColors, SkeletonLayout, SolanaWallet, SolanaWalletProps, SplitNameCustomerInfo, StellarWallet, StellarWalletProps, Subtotal, TempoWalletProps, TokenExIFrameConfiguration, TokenExIframe, TokenRedeem, TokenSubtotal, TokenizationResponse, TravelCartItem, TravelFirstFlight, TravelLodging, TravelLodgingHotel, TravelTrip, TypedCurrencyCents, VersionDetail, WalletCall, WalletTypes, WithGeo, WithOnLoad, WithdrawCurrency, ZeroAuthSavedPaymentMethods, ZeroAuthVerifyCard, ZeroAuthorizationConfig };
2675
+ export { BANK_LINK_REVEAL_DELAY_MS, BANK_LINK_STATUS_PARAM, BankingCurrencies, CARD_ENTRY_BORDER_PX, CARD_ENTRY_DIVIDER_PX, CARD_ENTRY_MARGIN_PX, CARD_ENTRY_MIN_WIDTHS, CARD_ENTRY_ROW_HEIGHT, CARD_ENTRY_ROW_HEIGHT_PX, CARD_ENTRY_SLOT_GAP_PX, CARD_FIELD_ERROR_MESSAGES, CARD_TYPE_MAPPING, COMPACT_SKELETON_HEIGHT_PX, CardType, ChargebackProtectionAccountType, CoinflowApplePayButtonComponent, CoinflowCardForm, CoinflowCardFormV2, CoinflowCardNumberInput, CoinflowCardNumberOnlyInput, CoinflowCvvInputComponent, CoinflowCvvOnlyInputComponent, CoinflowGooglePayButtonComponent, CoinflowIFrameComponent, CoinflowPurchaseComponent, CoinflowPurchaseHistoryComponent, CoinflowPurchaseProtectionComponent, CoinflowUtils, CoinflowWithdrawComponent, CoinflowWithdrawHistoryComponent, Currency, CurrencyToISO4217, DEVICE_ID_HEADER, EventBus, FORTER_TOKEN_HEADER, IFrameMessageMethods, INLINE_SKELETON_HEIGHT_PX, MerchantStyle, PaymentMethods, REFERRER_HEADER, RN_REDIRECT_MESSAGE_NAME, SESSION_ID_HEADER, SKELETON_BOX_STYLE, SKELETON_FADE_MS, SKELETON_LAYOUTS, SKELETON_PULSE_ANIMATION_NAME, SKELETON_ROOT_PADDING_PX, SettlementType, ThreeDsChallengePreference, TokenExCardNumberIframeId, TokenExCvvContainerID, WithdrawCategory, WithdrawCurrencies, WithdrawSpeed, awaitForterToken, bankLinkCallbackParams, buildCardEntryGridCss, buildCardEntryLayout, buildSkeletonCss, canReuseLinkToken, captureForterToken, doInitializeCvvOnlyTokenExIframe, doInitializeTokenExCardOnlyIframe, doInitializeTokenExIframe, getCardFieldInputEvents, getCardFieldValidationError, getCoinflowProtectionHeaders, getCoinflowPurchaseHeaders, getCurrencyDecimals, getCustomerName, getForterToken, getHandlers, getIframeConfig, getSkeletonColors, getSkeletonGridClass, getSkeletonGridTemplate, getWalletPubkey, guessSkeletonHeightPx, handleIFrameMessage, initCoinflowProtection, invertRate, isBankingCurrency, isTypedCurrencyCents, isWithdrawCurrency, isZeroAuthSavedPaymentMethods, isZeroAuthVerifyCard, nftCartItem, parseCachedLinkToken, paymentMethodLabels, productType, recordFrontendError, resolveBankLinkCompletion, serializeCachedLinkToken, setTokenExScriptTag, shouldStackSkeleton };
2676
+ export type { AccountFundingTransaction, AccountLinkErrorInfo, AccountLinkedInfo, AccountLinkedType, AccountNotLinkedInfo, AccountNotLinkedReason, AnyObject, ArbitrumWalletProps, AuthDeclinedWalletCallInfo, BankLinkCompletion, BankLinkStatus, BankingCurrency, BaseWalletProps, CachedLinkToken, CardEntryConfig, CardEntryDivider, CardEntryInputName, CardEntryLayout, CardFieldInputEvent, CardFormArgs, CardFormInputStyles, CardFormTokenResponse, CardFormVariant, Cart, CartClassOmitted, CartItem, CartItemClassOmitted, Cents, ChargebackProtectionData, ChargebackProtectionItem, CoinflowArbitrumHistoryProps, CoinflowArbitrumPurchaseProps, CoinflowArbitrumWithdrawProps, CoinflowBankLinkProps, CoinflowBaseHistoryProps, CoinflowBasePurchaseProps, CoinflowBaseWithdrawProps, CoinflowBlockchain, CoinflowCardNumberInputProps, CoinflowCardTokenResponse, CoinflowCommonPaymentIntentProps, CoinflowCommonPurchaseProps, CoinflowCommonWithdrawProps, CoinflowCvvOnlyInputProps, CoinflowEnvs, CoinflowEthHistoryProps, CoinflowEthPurchaseProps, CoinflowEthWithdrawProps, CoinflowEvmHistoryProps, CoinflowEvmPurchaseProps, CoinflowHistoryProps, CoinflowIFrameProps, CoinflowIntentsIFrameProps, CoinflowMonadHistoryProps, CoinflowMonadPurchaseProps, CoinflowMonadWithdrawProps, CoinflowPolygonHistoryProps, CoinflowPolygonPurchaseProps, CoinflowPolygonWithdrawProps, CoinflowProtectionHeadersType, CoinflowPurchaseHeadersType, CoinflowPurchaseProps, CoinflowSessionKeyHistoryProps, CoinflowSessionKeyPurchaseProps, CoinflowSolanaHistoryProps, CoinflowSolanaPurchaseProps, CoinflowSolanaWithdrawProps, CoinflowStellarHistoryProps, CoinflowStellarPurchaseProps, CoinflowStellarWithdrawProps, CoinflowTempoHistoryProps, CoinflowTempoPurchaseProps, CoinflowTempoWithdrawProps, CoinflowTypes, CoinflowWithdrawProps, CommonDoInitializeTokenExIframeArgs, CommonEvmRedeem, CryptoCartItem, CurrencyCents, CustomerInfo, DecentRedeem, DoInitializeCvvOnlyTokenExIframeArgs, DoInitializeTokenExIframeArgs, EthWallet, EthWalletProps, EventBusCallback, EvmTransactionData, ExchangeRate, FlightTicketCartItem, FlightUpgradeCartItem, FullName, GetIFrameConfigArgs, GiftCardCartItem, IFrameMessageHandlers, InputErrorWalletCallInfo, InputValidWalletCallInfo, KnownTokenIdRedeem, LamportsAmount, LodgingCartItem, MerchantIdOrCheckoutJwt, MerchantTheme, MergeWithOptionalDiff, MonadWalletProps, NameCustomerInfo, NftCartItemClassOmitted, NormalRedeem, OnAccountLinkErrorMethod, OnAccountLinkedMethod, OnAccountNotLinkedMethod, OnAuthDeclinedMethod, OnInputErrorMethod, OnInputValidMethod, OnSuccessMethod, PartialBy, PolygonWalletProps, PurchaseCustomPayInFee, RecipientAftInfo, RemainingLimit, ReturnedTokenIdRedeem, SafeMintRedeem, SkeletonColors, SkeletonLayout, SolanaWallet, SolanaWalletProps, SplitNameCustomerInfo, StellarWallet, StellarWalletProps, Subtotal, TempoWalletProps, TokenExIFrameConfiguration, TokenExIframe, TokenRedeem, TokenSubtotal, TokenizationResponse, TravelCartItem, TravelFirstFlight, TravelLodging, TravelLodgingHotel, TravelTrip, TypedCurrencyCents, VersionDetail, WalletCall, WalletTypes, WithGeo, WithOnLoad, WithdrawCurrency, ZeroAuthSavedPaymentMethods, ZeroAuthVerifyCard, ZeroAuthorizationConfig };