@coinflowlabs/angular 1.7.2 → 1.9.0

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.7.2",
3
+ "version": "1.9.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.2.17",
6
6
  "@angular/core": "^19.2.17",
@@ -29,5 +29,6 @@
29
29
  "types": "./types/coinflowlabs-angular.d.ts",
30
30
  "default": "./fesm2022/coinflowlabs-angular.mjs"
31
31
  }
32
- }
32
+ },
33
+ "type": "module"
33
34
  }
@@ -1,7 +1,8 @@
1
1
  import { PublicKey, Transaction, VersionedTransaction, Signer, Connection } from '@solana/web3.js';
2
2
  import { Properties } from 'csstype';
3
3
  import * as i0 from '@angular/core';
4
- import { EventEmitter, ElementRef, OnDestroy, SimpleChanges } from '@angular/core';
4
+ import { EventEmitter, ElementRef, OnDestroy, SimpleChanges, OnInit } from '@angular/core';
5
+ import * as _coinflowlabs_angular from '@coinflowlabs/angular';
5
6
  import { SafeResourceUrl, DomSanitizer } from '@angular/platform-browser';
6
7
 
7
8
  declare enum Currency {
@@ -199,6 +200,16 @@ interface TypedCurrencyCents<T extends Currency> extends Cents {
199
200
  currency: T;
200
201
  }
201
202
  declare function isTypedCurrencyCents<T extends Currency>(cents: CurrencyCents, currency: T): cents is TypedCurrencyCents<T>;
203
+ interface ExchangeRate<T extends Currency = Currency> {
204
+ base: Currency;
205
+ rate: number;
206
+ to: T;
207
+ }
208
+ declare function invertRate<T extends Currency = Currency>(ex: {
209
+ base: T;
210
+ rate: number;
211
+ to: Currency;
212
+ }): ExchangeRate<T>;
202
213
  interface TokenSubtotal {
203
214
  /**
204
215
  * The tokens address
@@ -660,7 +671,8 @@ interface MoneyTopUpCartItem {
660
671
 
661
672
  declare enum WithdrawCategory {
662
673
  USER = "user",
663
- BUSINESS = "business"
674
+ BUSINESS = "business",
675
+ FIRST_PARTY = "firstParty"
664
676
  }
665
677
  declare enum WithdrawSpeed {
666
678
  ASAP = "asap",
@@ -740,6 +752,12 @@ type MerchantTheme = {
740
752
  ctaColor?: string;
741
753
  font?: string;
742
754
  style?: MerchantStyle;
755
+ fontSize?: string;
756
+ fontWeight?: string;
757
+ cardNumberPlaceholder?: string;
758
+ cvvPlaceholder?: string;
759
+ expirationPlaceholder?: string;
760
+ showCardIcon?: boolean;
743
761
  };
744
762
  interface BaseCustomerInfo {
745
763
  verificationId?: string;
@@ -776,7 +794,7 @@ interface SplitNameCustomerInfo extends BaseCustomerInfo {
776
794
  }
777
795
  type CustomerInfo = SplitNameCustomerInfo | NameCustomerInfo;
778
796
  /** Coinflow Types **/
779
- type CoinflowBlockchain = 'solana' | 'eth' | 'polygon' | 'base' | 'arbitrum' | 'stellar' | 'monad' | 'user';
797
+ type CoinflowBlockchain = 'solana' | 'eth' | 'polygon' | 'base' | 'arbitrum' | 'stellar' | 'monad' | 'tempo' | 'user';
780
798
  type CoinflowEnvs = 'prod' | 'staging' | 'staging-live' | 'sandbox' | 'local';
781
799
  interface CoinflowTypes {
782
800
  merchantId: string;
@@ -852,7 +870,7 @@ interface CoinflowSessionKeyHistoryProps extends CoinflowTypes {
852
870
  }
853
871
  interface CoinflowEvmHistoryProps extends CoinflowTypes {
854
872
  wallet: EthWallet;
855
- blockchain: 'eth' | 'polygon' | 'base' | 'arbitrum' | 'monad';
873
+ blockchain: 'eth' | 'polygon' | 'base' | 'arbitrum' | 'monad' | 'tempo';
856
874
  }
857
875
  interface CoinflowEthHistoryProps extends CoinflowEvmHistoryProps {
858
876
  blockchain: 'eth';
@@ -873,7 +891,10 @@ interface CoinflowStellarHistoryProps extends CoinflowTypes {
873
891
  interface CoinflowMonadHistoryProps extends CoinflowEvmHistoryProps {
874
892
  blockchain: 'monad';
875
893
  }
876
- type CoinflowHistoryProps = CoinflowSolanaHistoryProps | CoinflowPolygonHistoryProps | CoinflowEthHistoryProps | CoinflowBaseHistoryProps | CoinflowArbitrumHistoryProps | CoinflowStellarHistoryProps | CoinflowMonadHistoryProps | CoinflowSessionKeyHistoryProps;
894
+ interface CoinflowTempoHistoryProps extends CoinflowEvmHistoryProps {
895
+ blockchain: 'tempo';
896
+ }
897
+ type CoinflowHistoryProps = CoinflowSolanaHistoryProps | CoinflowPolygonHistoryProps | CoinflowEthHistoryProps | CoinflowBaseHistoryProps | CoinflowArbitrumHistoryProps | CoinflowStellarHistoryProps | CoinflowMonadHistoryProps | CoinflowTempoHistoryProps | CoinflowSessionKeyHistoryProps;
877
898
  type Bytes = ArrayLike<number>;
878
899
  type BytesLike = Bytes | string;
879
900
  /**
@@ -907,8 +928,8 @@ declare enum PaymentMethods {
907
928
  applePay = "applePay",
908
929
  credits = "credits",
909
930
  crypto = "crypto",
910
- instantBankTransfer = "instantBankTransfer",
911
- wire = "wire"
931
+ wire = "wire",
932
+ cashApp = "cashApp"
912
933
  }
913
934
  declare const paymentMethodLabels: Record<PaymentMethods, string>;
914
935
  interface CoinflowCommonPurchaseProps extends CoinflowTypes {
@@ -976,6 +997,19 @@ interface CoinflowCommonPurchaseProps extends CoinflowTypes {
976
997
  destinationAuthKey?: string;
977
998
  accountFundingTransaction?: AccountFundingTransaction;
978
999
  }
1000
+ interface WithGeo {
1001
+ /**
1002
+ * End-user GPS coordinates for `BlockingRuleMethod.GEOLOCATION` enforcement.
1003
+ * Required only when the merchant has a geolocation rule configured. The
1004
+ * web build reads the browser Geolocation API directly; React Native hosts
1005
+ * must request the fix from the platform (e.g. `expo-location`,
1006
+ * `react-native-geolocation`) and forward the result here.
1007
+ */
1008
+ userLocation?: {
1009
+ lat: number;
1010
+ lng: number;
1011
+ };
1012
+ }
979
1013
  /**
980
1014
  * Used for Account Funding Transactions
981
1015
  */
@@ -1030,7 +1064,10 @@ interface CoinflowStellarPurchaseProps extends CoinflowCommonPurchaseProps {
1030
1064
  interface CoinflowMonadPurchaseProps extends CoinflowEvmPurchaseProps {
1031
1065
  blockchain: 'monad';
1032
1066
  }
1033
- type CoinflowPurchaseProps = CoinflowSolanaPurchaseProps | CoinflowSessionKeyPurchaseProps | CoinflowPolygonPurchaseProps | CoinflowEthPurchaseProps | CoinflowBasePurchaseProps | CoinflowArbitrumPurchaseProps | CoinflowStellarPurchaseProps | CoinflowMonadPurchaseProps;
1067
+ interface CoinflowTempoPurchaseProps extends CoinflowEvmPurchaseProps {
1068
+ blockchain: 'tempo';
1069
+ }
1070
+ type CoinflowPurchaseProps = CoinflowSolanaPurchaseProps | CoinflowSessionKeyPurchaseProps | CoinflowPolygonPurchaseProps | CoinflowEthPurchaseProps | CoinflowBasePurchaseProps | CoinflowArbitrumPurchaseProps | CoinflowStellarPurchaseProps | CoinflowMonadPurchaseProps | CoinflowTempoPurchaseProps;
1034
1071
  /** Withdraw **/
1035
1072
  interface CoinflowCommonWithdrawProps extends CoinflowTypes {
1036
1073
  onSuccess?: OnSuccessMethod;
@@ -1041,7 +1078,7 @@ interface CoinflowCommonWithdrawProps extends CoinflowTypes {
1041
1078
  bankAccountLinkRedirect?: string;
1042
1079
  additionalWallets?: {
1043
1080
  wallet: string;
1044
- blockchain: 'solana' | 'eth' | 'polygon' | 'base' | 'arbitrum' | 'monad' | 'stellar';
1081
+ blockchain: 'solana' | 'eth' | 'polygon' | 'base' | 'arbitrum' | 'monad' | 'tempo' | 'stellar';
1045
1082
  }[];
1046
1083
  lockAmount?: boolean;
1047
1084
  transactionSigner?: string;
@@ -1062,6 +1099,17 @@ interface CoinflowCommonWithdrawProps extends CoinflowTypes {
1062
1099
  * Array of allowed withdrawal speeds. If not provided, all speeds are allowed.
1063
1100
  */
1064
1101
  allowedWithdrawSpeeds?: WithdrawSpeed[];
1102
+ /**
1103
+ * End-user GPS coordinates for `BlockingRuleMethod.GEOLOCATION` enforcement.
1104
+ * Required only when the merchant has a geolocation rule configured. The
1105
+ * web build reads the browser Geolocation API directly; React Native hosts
1106
+ * must request the fix from the platform (e.g. `expo-location`,
1107
+ * `react-native-geolocation`) and forward the result here.
1108
+ */
1109
+ userLocation?: {
1110
+ lat: number;
1111
+ lng: number;
1112
+ };
1065
1113
  }
1066
1114
  type WalletTypes = SolanaWallet | EthWallet | StellarWallet;
1067
1115
  interface SolanaWalletProps {
@@ -1100,7 +1148,11 @@ interface MonadWalletProps {
1100
1148
  blockchain: 'monad';
1101
1149
  }
1102
1150
  type CoinflowMonadWithdrawProps = CoinflowEvmWithdrawProps & MonadWalletProps;
1103
- type CoinflowWithdrawProps = CoinflowSolanaWithdrawProps | CoinflowEthWithdrawProps | CoinflowPolygonWithdrawProps | CoinflowBaseWithdrawProps | CoinflowArbitrumWithdrawProps | CoinflowStellarWithdrawProps | CoinflowMonadWithdrawProps;
1151
+ interface TempoWalletProps {
1152
+ blockchain: 'tempo';
1153
+ }
1154
+ type CoinflowTempoWithdrawProps = CoinflowEvmWithdrawProps & TempoWalletProps;
1155
+ type CoinflowWithdrawProps = CoinflowSolanaWithdrawProps | CoinflowEthWithdrawProps | CoinflowPolygonWithdrawProps | CoinflowBaseWithdrawProps | CoinflowArbitrumWithdrawProps | CoinflowStellarWithdrawProps | CoinflowMonadWithdrawProps | CoinflowTempoWithdrawProps;
1104
1156
  interface CommonEvmRedeem {
1105
1157
  /**
1106
1158
  * Whether the UI should wait
@@ -1214,7 +1266,7 @@ interface DecentRedeem extends CommonEvmRedeem {
1214
1266
  * 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.
1215
1267
  */
1216
1268
  type EvmTransactionData = SafeMintRedeem | ReturnedTokenIdRedeem | KnownTokenIdRedeem | NormalRedeem | TokenRedeem | DecentRedeem;
1217
- interface CoinflowIFrameProps extends Omit<CoinflowTypes, 'merchantId' | 'handleHeightChange'>, Pick<CoinflowCommonPurchaseProps, 'chargebackProtectionData' | 'chargebackProtectionAccountType' | 'webhookInfo' | 'subtotal' | 'customPayInFees' | 'presentment' | 'customerInfo' | 'settlementType' | 'email' | 'planCode' | 'deviceId' | 'jwtToken' | 'origins' | 'threeDsChallengePreference' | 'supportEmail' | 'allowedPaymentMethods' | 'accountFundingTransaction' | 'partialUsdcChecked' | 'isZeroAuthorization' | 'zeroAuthorizationConfig'>, Pick<CoinflowCommonWithdrawProps, 'bankAccountLinkRedirect' | 'additionalWallets' | 'transactionSigner' | 'lockAmount' | 'lockDefaultToken' | 'origins' | 'allowedWithdrawSpeeds'>, Pick<CoinflowEvmPurchaseProps, 'authOnly'>, Pick<CoinflowSolanaPurchaseProps, 'rent' | 'nativeSolToConvert' | 'destinationAuthKey' | 'redemptionCheck'> {
1269
+ interface CoinflowIFrameProps extends Omit<CoinflowTypes, 'merchantId' | 'handleHeightChange'>, Pick<CoinflowCommonPurchaseProps, 'chargebackProtectionData' | 'chargebackProtectionAccountType' | 'webhookInfo' | 'subtotal' | 'customPayInFees' | 'presentment' | 'customerInfo' | 'settlementType' | 'email' | 'planCode' | 'deviceId' | 'jwtToken' | 'origins' | 'threeDsChallengePreference' | 'supportEmail' | 'allowedPaymentMethods' | 'accountFundingTransaction' | 'partialUsdcChecked' | 'isZeroAuthorization' | 'zeroAuthorizationConfig'>, Pick<CoinflowCommonWithdrawProps, 'bankAccountLinkRedirect' | 'additionalWallets' | 'transactionSigner' | 'lockAmount' | 'lockDefaultToken' | 'origins' | 'allowedWithdrawSpeeds'>, Pick<CoinflowEvmPurchaseProps, 'authOnly'>, Pick<CoinflowSolanaPurchaseProps, 'rent' | 'nativeSolToConvert' | 'destinationAuthKey' | 'redemptionCheck'>, WithGeo {
1218
1270
  walletPubkey: string | null | undefined;
1219
1271
  sessionKey?: string;
1220
1272
  route: string;
@@ -1286,9 +1338,9 @@ declare class CoinflowUtils {
1286
1338
  static getCoinflowBaseUrl(env?: CoinflowEnvs): string;
1287
1339
  static getCoinflowAppBaseUrl(env?: CoinflowEnvs): string;
1288
1340
  static getCoinflowApiUrl(env?: CoinflowEnvs): string;
1289
- static getCoinflowUrl({ walletPubkey, sessionKey, route, routePrefix, env, subtotal, customPayInFees, 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, baseUrl, }: CoinflowIFrameProps & {
1341
+ static getCoinflowUrl({ walletPubkey, sessionKey, route, routePrefix, env, subtotal, customPayInFees, 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, baseUrl, }: CoinflowIFrameProps & {
1290
1342
  baseUrl?: string;
1291
- }): string;
1343
+ } & WithGeo): string;
1292
1344
  static getTransaction(props: CoinflowPurchaseProps): string | undefined;
1293
1345
  static byBlockchain<T>(blockchain: CoinflowBlockchain, args: {
1294
1346
  solana: T;
@@ -1298,6 +1350,7 @@ declare class CoinflowUtils {
1298
1350
  arbitrum: T;
1299
1351
  stellar: T;
1300
1352
  monad: T;
1353
+ tempo: T;
1301
1354
  user: T;
1302
1355
  }): T;
1303
1356
  }
@@ -1306,6 +1359,12 @@ interface FullName {
1306
1359
  lastName: string;
1307
1360
  }
1308
1361
  declare function getCustomerName(info: CustomerInfo | undefined): FullName | undefined;
1362
+ declare function recordFrontendError({ event, error, env, merchantId, }: {
1363
+ event: string;
1364
+ error: any;
1365
+ env: CoinflowEnvs;
1366
+ merchantId?: string;
1367
+ }): void;
1309
1368
 
1310
1369
  type WalletCall = {
1311
1370
  method: IFrameMessageMethods;
@@ -1335,7 +1394,8 @@ declare enum IFrameMessageMethods {
1335
1394
  Success = "success",
1336
1395
  AuthDeclined = "authDeclined",
1337
1396
  Loaded = "loaded",
1338
- AccountLinked = "accountLinked"
1397
+ AccountLinked = "accountLinked",
1398
+ Redirect = "redirect"
1339
1399
  }
1340
1400
  declare function getWalletPubkey(input: Pick<CoinflowPurchaseProps, 'wallet' | 'blockchain'>): string | null | undefined;
1341
1401
  declare function handleIFrameMessage(rawMessage: string, handlers: IFrameMessageHandlers, handleHeightChangeId: string | number): Promise<string> | void;
@@ -1453,6 +1513,24 @@ declare function doInitializeCvvOnlyTokenExIframe(args: DoInitializeCvvOnlyToken
1453
1513
  declare function doInitializeTokenExIframe(args: DoInitializeTokenExIframeArgs): Promise<TokenExIframe | undefined>;
1454
1514
  declare function doInitializeTokenExCardOnlyIframe(args: DoInitializeTokenExIframeArgs): Promise<TokenExIframe | undefined>;
1455
1515
 
1516
+ declare const DEVICE_ID_HEADER = "x-device-id";
1517
+ declare const SESSION_ID_HEADER = "x-session-id";
1518
+ declare const REFERRER_HEADER = "x-coinflow-referrer";
1519
+ type CoinflowProtectionHeadersType = {
1520
+ [DEVICE_ID_HEADER]: string | null;
1521
+ [SESSION_ID_HEADER]: string | null;
1522
+ };
1523
+ declare function getCoinflowProtectionHeaders(): CoinflowProtectionHeadersType;
1524
+ type CoinflowPurchaseHeadersType = CoinflowProtectionHeadersType & {
1525
+ [REFERRER_HEADER]: string | null;
1526
+ };
1527
+ declare function getCoinflowPurchaseHeaders(): CoinflowPurchaseHeadersType;
1528
+
1529
+ declare function initCoinflowProtection({ coinflowEnv, merchantId, }: {
1530
+ coinflowEnv: CoinflowEnvs;
1531
+ merchantId: string;
1532
+ }): Promise<void>;
1533
+
1456
1534
  declare class CoinflowIFrameComponent {
1457
1535
  private sanitizer;
1458
1536
  iframeProps: CoinflowIFrameProps;
@@ -1514,7 +1592,7 @@ declare class CoinflowCardNumberInput implements OnDestroy {
1514
1592
  reinitialize(): void;
1515
1593
  ngOnInit(): void;
1516
1594
  ngOnDestroy(): void;
1517
- tokenize(): Promise<TokenizationResponse>;
1595
+ tokenize(): Promise<_coinflowlabs_angular.TokenizationResponse>;
1518
1596
  protected readonly TokenExCardNumberIframeId = "tokenExCardNumber";
1519
1597
  static ɵfac: i0.ɵɵFactoryDeclaration<CoinflowCardNumberInput, never>;
1520
1598
  static ɵcmp: i0.ɵɵComponentDeclaration<CoinflowCardNumberInput, "lib-coinflow-card-number-input", never, { "args": { "alias": "args"; "required": false; }; }, {}, never, never, true, never>;
@@ -1529,7 +1607,7 @@ declare class CoinflowCardNumberOnlyInput implements OnDestroy {
1529
1607
  reinitialize(): void;
1530
1608
  ngOnInit(): void;
1531
1609
  ngOnDestroy(): void;
1532
- tokenize(): Promise<TokenizationResponse>;
1610
+ tokenize(): Promise<_coinflowlabs_angular.TokenizationResponse>;
1533
1611
  protected readonly TokenExCardNumberIframeId = "tokenExCardNumber";
1534
1612
  static ɵfac: i0.ɵɵFactoryDeclaration<CoinflowCardNumberOnlyInput, never>;
1535
1613
  static ɵcmp: i0.ɵɵComponentDeclaration<CoinflowCardNumberOnlyInput, "lib-coinflow-card-number-only-input", never, { "args": { "alias": "args"; "required": false; }; }, {}, never, never, true, never>;
@@ -1552,12 +1630,42 @@ declare class CoinflowCvvOnlyInputComponent implements OnDestroy {
1552
1630
  reinitialize(): void;
1553
1631
  ngOnInit(): void;
1554
1632
  ngOnDestroy(): void;
1555
- tokenize(): Promise<TokenizationResponse>;
1633
+ tokenize(): Promise<_coinflowlabs_angular.TokenizationResponse>;
1556
1634
  protected readonly TokenExCvvContainerID = "tokenExCardCvv";
1557
1635
  static ɵfac: i0.ɵɵFactoryDeclaration<CoinflowCvvOnlyInputComponent, never>;
1558
1636
  static ɵcmp: i0.ɵɵComponentDeclaration<CoinflowCvvOnlyInputComponent, "lib-coinflow-cvv-only-input", never, { "args": { "alias": "args"; "required": false; }; }, {}, never, never, true, never>;
1559
1637
  }
1560
1638
 
1639
+ interface CardFormArgs {
1640
+ merchantId: string;
1641
+ env?: CoinflowEnvs;
1642
+ theme?: MerchantTheme;
1643
+ variant: 'card-form' | 'card-number-form' | 'cvv-form';
1644
+ token?: string;
1645
+ onLoad?: () => void;
1646
+ }
1647
+ interface CardFormTokenResponse {
1648
+ token: string;
1649
+ expMonth?: string;
1650
+ expYear?: string;
1651
+ }
1652
+ declare class CoinflowCardForm implements OnInit, OnDestroy {
1653
+ args: CardFormArgs;
1654
+ iframeRef: ElementRef<HTMLIFrameElement>;
1655
+ url: string;
1656
+ loaded: boolean;
1657
+ private messageHandler;
1658
+ ngOnInit(): void;
1659
+ ngOnDestroy(): void;
1660
+ private buildUrl;
1661
+ private handleMessage;
1662
+ tokenize(): Promise<CardFormTokenResponse>;
1663
+ static ɵfac: i0.ɵɵFactoryDeclaration<CoinflowCardForm, never>;
1664
+ static ɵcmp: i0.ɵɵComponentDeclaration<CoinflowCardForm, "lib-coinflow-card-form", never, { "args": { "alias": "args"; "required": false; }; }, {}, never, never, true, never>;
1665
+ }
1666
+ /** @deprecated Use CoinflowCardForm instead */
1667
+ declare const CoinflowCardFormV2: typeof CoinflowCardForm;
1668
+
1561
1669
  declare class CoinflowApplePayButtonComponent {
1562
1670
  purchaseProps: CoinflowPurchaseProps & {
1563
1671
  color: 'white' | 'black';
@@ -1581,5 +1689,5 @@ type WithOnLoad = {
1581
1689
  onLoad?: () => void | Promise<void>;
1582
1690
  };
1583
1691
 
1584
- export { BankingCurrencies, CARD_TYPE_MAPPING, CardType, ChargebackProtectionAccountType, CoinflowApplePayButtonComponent, CoinflowCardNumberInput, CoinflowCardNumberOnlyInput, CoinflowCvvInputComponent, CoinflowCvvOnlyInputComponent, CoinflowGooglePayButtonComponent, CoinflowIFrameComponent, CoinflowPurchaseComponent, CoinflowPurchaseHistoryComponent, CoinflowPurchaseProtectionComponent, CoinflowUtils, CoinflowWithdrawComponent, CoinflowWithdrawHistoryComponent, Currency, CurrencyToISO4217, EventBus, IFrameMessageMethods, MerchantStyle, PaymentMethods, RN_REDIRECT_MESSAGE_NAME, SettlementType, ThreeDsChallengePreference, TokenExCardNumberIframeId, TokenExCvvContainerID, WithdrawCategory, WithdrawCurrencies, WithdrawSpeed, doInitializeCvvOnlyTokenExIframe, doInitializeTokenExCardOnlyIframe, doInitializeTokenExIframe, getCurrencyDecimals, getCustomerName, getHandlers, getIframeConfig, getWalletPubkey, handleIFrameMessage, isBankingCurrency, isTypedCurrencyCents, isWithdrawCurrency, isZeroAuthSavedPaymentMethods, isZeroAuthVerifyCard, nftCartItem, paymentMethodLabels, productType, setTokenExScriptTag };
1585
- export type { AccountFundingTransaction, AnyObject, ArbitrumWalletProps, AuthDeclinedWalletCallInfo, BankingCurrency, BaseWalletProps, CardFormInputStyles, Cart, CartClassOmitted, CartItem, CartItemClassOmitted, Cents, ChargebackProtectionData, ChargebackProtectionItem, CoinflowArbitrumHistoryProps, CoinflowArbitrumPurchaseProps, CoinflowArbitrumWithdrawProps, CoinflowBaseHistoryProps, CoinflowBasePurchaseProps, CoinflowBaseWithdrawProps, CoinflowBlockchain, CoinflowCardNumberInputProps, CoinflowCardTokenResponse, CoinflowCommonPurchaseProps, CoinflowCommonWithdrawProps, CoinflowCvvOnlyInputProps, CoinflowEnvs, CoinflowEthHistoryProps, CoinflowEthPurchaseProps, CoinflowEthWithdrawProps, CoinflowEvmHistoryProps, CoinflowEvmPurchaseProps, CoinflowHistoryProps, CoinflowIFrameProps, CoinflowMonadHistoryProps, CoinflowMonadPurchaseProps, CoinflowMonadWithdrawProps, CoinflowPolygonHistoryProps, CoinflowPolygonPurchaseProps, CoinflowPolygonWithdrawProps, CoinflowPurchaseProps, CoinflowSessionKeyHistoryProps, CoinflowSessionKeyPurchaseProps, CoinflowSolanaHistoryProps, CoinflowSolanaPurchaseProps, CoinflowSolanaWithdrawProps, CoinflowStellarHistoryProps, CoinflowStellarPurchaseProps, CoinflowStellarWithdrawProps, CoinflowTypes, CoinflowWithdrawProps, CommonDoInitializeTokenExIframeArgs, CommonEvmRedeem, CryptoCartItem, CurrencyCents, CustomerInfo, DecentRedeem, DoInitializeCvvOnlyTokenExIframeArgs, DoInitializeTokenExIframeArgs, EthWallet, EthWalletProps, EventBusCallback, EvmTransactionData, FullName, GetIFrameConfigArgs, GiftCardCartItem, IFrameMessageHandlers, KnownTokenIdRedeem, MerchantIdOrCheckoutJwt, MerchantTheme, MergeWithOptionalDiff, MonadWalletProps, NameCustomerInfo, NftCartItemClassOmitted, NormalRedeem, OnAuthDeclinedMethod, OnSuccessMethod, PartialBy, PolygonWalletProps, PurchaseCustomPayInFee, RecipientAftInfo, RemainingLimit, ReturnedTokenIdRedeem, SafeMintRedeem, SolanaWallet, SolanaWalletProps, SplitNameCustomerInfo, StellarWallet, StellarWalletProps, Subtotal, TokenExIFrameConfiguration, TokenExIframe, TokenRedeem, TokenSubtotal, TokenizationResponse, TypedCurrencyCents, VersionDetail, WalletCall, WalletTypes, WithOnLoad, WithdrawCurrency, ZeroAuthSavedPaymentMethods, ZeroAuthVerifyCard, ZeroAuthorizationConfig };
1692
+ export { BankingCurrencies, CARD_TYPE_MAPPING, CardType, ChargebackProtectionAccountType, CoinflowApplePayButtonComponent, CoinflowCardForm, CoinflowCardFormV2, CoinflowCardNumberInput, CoinflowCardNumberOnlyInput, CoinflowCvvInputComponent, CoinflowCvvOnlyInputComponent, CoinflowGooglePayButtonComponent, CoinflowIFrameComponent, CoinflowPurchaseComponent, CoinflowPurchaseHistoryComponent, CoinflowPurchaseProtectionComponent, CoinflowUtils, CoinflowWithdrawComponent, CoinflowWithdrawHistoryComponent, Currency, CurrencyToISO4217, DEVICE_ID_HEADER, EventBus, IFrameMessageMethods, MerchantStyle, PaymentMethods, REFERRER_HEADER, RN_REDIRECT_MESSAGE_NAME, SESSION_ID_HEADER, SettlementType, ThreeDsChallengePreference, TokenExCardNumberIframeId, TokenExCvvContainerID, WithdrawCategory, WithdrawCurrencies, WithdrawSpeed, doInitializeCvvOnlyTokenExIframe, doInitializeTokenExCardOnlyIframe, doInitializeTokenExIframe, getCoinflowProtectionHeaders, getCoinflowPurchaseHeaders, getCurrencyDecimals, getCustomerName, getHandlers, getIframeConfig, getWalletPubkey, handleIFrameMessage, initCoinflowProtection, invertRate, isBankingCurrency, isTypedCurrencyCents, isWithdrawCurrency, isZeroAuthSavedPaymentMethods, isZeroAuthVerifyCard, nftCartItem, paymentMethodLabels, productType, recordFrontendError, setTokenExScriptTag };
1693
+ export type { AccountFundingTransaction, AnyObject, ArbitrumWalletProps, AuthDeclinedWalletCallInfo, BankingCurrency, BaseWalletProps, CardFormArgs, CardFormInputStyles, CardFormTokenResponse, Cart, CartClassOmitted, CartItem, CartItemClassOmitted, Cents, ChargebackProtectionData, ChargebackProtectionItem, CoinflowArbitrumHistoryProps, CoinflowArbitrumPurchaseProps, CoinflowArbitrumWithdrawProps, CoinflowBaseHistoryProps, CoinflowBasePurchaseProps, CoinflowBaseWithdrawProps, CoinflowBlockchain, CoinflowCardNumberInputProps, CoinflowCardTokenResponse, CoinflowCommonPurchaseProps, CoinflowCommonWithdrawProps, CoinflowCvvOnlyInputProps, CoinflowEnvs, CoinflowEthHistoryProps, CoinflowEthPurchaseProps, CoinflowEthWithdrawProps, CoinflowEvmHistoryProps, CoinflowEvmPurchaseProps, CoinflowHistoryProps, CoinflowIFrameProps, 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, FullName, GetIFrameConfigArgs, GiftCardCartItem, IFrameMessageHandlers, KnownTokenIdRedeem, MerchantIdOrCheckoutJwt, MerchantTheme, MergeWithOptionalDiff, MonadWalletProps, NameCustomerInfo, NftCartItemClassOmitted, NormalRedeem, OnAuthDeclinedMethod, OnSuccessMethod, PartialBy, PolygonWalletProps, PurchaseCustomPayInFee, RecipientAftInfo, RemainingLimit, ReturnedTokenIdRedeem, SafeMintRedeem, SolanaWallet, SolanaWalletProps, SplitNameCustomerInfo, StellarWallet, StellarWalletProps, Subtotal, TempoWalletProps, TokenExIFrameConfiguration, TokenExIframe, TokenRedeem, TokenSubtotal, TokenizationResponse, TypedCurrencyCents, VersionDetail, WalletCall, WalletTypes, WithGeo, WithOnLoad, WithdrawCurrency, ZeroAuthSavedPaymentMethods, ZeroAuthVerifyCard, ZeroAuthorizationConfig };