@unifold/connect-react-native 0.1.50-beta.1 → 0.1.50-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -307,6 +307,61 @@ interface ThemeContextValue {
307
307
  }
308
308
  declare function useTheme(): ThemeContextValue;
309
309
 
310
+ /** All chain types recognised by the Unifold platform. */
311
+ type ChainType = "ethereum" | "solana" | "bitcoin" | "algorand" | "xrpl" | "cardano" | "n1";
312
+ /** Subset of ChainType for which balance lookups are supported. */
313
+ type BalanceChainType = "ethereum" | "solana" | "bitcoin" | "n1";
314
+ /**
315
+ * Opt-in dev-only API base URL (staging, localhost, etc.).
316
+ * Stored on `globalThis` so it applies everywhere this file is inlined (e.g. Connect’s prebundle).
317
+ * No-op when not `__DEV__`; empty / whitespace clears the override.
318
+ */
319
+ declare function setDevApiUrl(url: string): void;
320
+ /**
321
+ * Normalize an icon URL from API response
322
+ * If the URL is relative (starts with /), prepend the API base URL
323
+ * If the URL contains localhost, replace with the configured API base URL
324
+ * If the URL is already absolute (starts with http), return as-is
325
+ */
326
+ declare function normalizeIconUrl(iconUrl: string | undefined | null): string;
327
+ interface IconUrl {
328
+ url: string;
329
+ format: "svg" | "png";
330
+ }
331
+ /**
332
+ * Get the preferred icon URL from an object with icon_url and icon_urls
333
+ * @param item - Object with icon_url and optional icon_urls array
334
+ * @param preferredFormat - Preferred format ("svg" or "png"), defaults to "svg"
335
+ * @returns The URL string for the preferred format, or icon_url as fallback
336
+ */
337
+ declare function getPreferredIcon(item: {
338
+ icon_url: string;
339
+ icon_urls?: IconUrl[];
340
+ } | undefined | null, preferredFormat?: "svg" | "png"): string;
341
+ interface DestinationTokenChain {
342
+ chain_id: string;
343
+ chain_type: string;
344
+ chain_name: string;
345
+ icon_url: string;
346
+ icon_urls?: IconUrl[];
347
+ token_address: string;
348
+ }
349
+ interface DestinationToken {
350
+ symbol: string;
351
+ name: string;
352
+ icon_url: string;
353
+ icon_urls?: IconUrl[];
354
+ chains: DestinationTokenChain[];
355
+ }
356
+ interface SupportedDestinationTokensResponse {
357
+ data: DestinationToken[];
358
+ }
359
+ /**
360
+ * Get supported destination tokens for withdrawals
361
+ * @param publishableKey - Optional publishable key, defaults to configured key
362
+ */
363
+ declare function getSupportedDestinationTokens(publishableKey?: string): Promise<SupportedDestinationTokensResponse>;
364
+
310
365
  interface BorderRadiusConfig {
311
366
  borderTopLeftRadius?: number;
312
367
  borderTopRightRadius?: number;
@@ -362,25 +417,29 @@ interface DepositModalProps {
362
417
  /** Recipient wallet address */
363
418
  recipientAddress?: string;
364
419
  /** Target chain type */
365
- destinationChainType?: "ethereum" | "solana" | "bitcoin";
420
+ destinationChainType?: ChainType;
366
421
  /** Target chain ID (e.g., "137" for Polygon) */
367
422
  destinationChainId?: string;
368
423
  /** Target token contract address */
369
424
  destinationTokenAddress?: string;
370
425
  /** Default source chain type to pre-select in UI */
371
- defaultChainType?: "ethereum" | "solana" | "bitcoin";
426
+ defaultChainType?: ChainType;
372
427
  /** Default source chain ID to pre-select in UI (e.g., "137" for Polygon) */
373
428
  defaultChainId?: string;
374
429
  /** Default source token address to pre-select in UI */
375
430
  defaultTokenAddress?: string;
376
431
  /** Show recipient's destination token balance in the header */
377
432
  showBalance?: boolean;
378
- /** Hide the deposit tracker button */
433
+ /** Hide the deposit tracker button. Overrides dashboard default. */
379
434
  hideDepositTracker?: boolean;
380
- /** Show "Pay with Cash App" option in the deposit menu */
435
+ /** Enable "Transfer Crypto" option. Overrides dashboard default. Resolves as flag ?? dashboard value ?? true. */
436
+ enableTransferCrypto?: boolean;
437
+ /** Enable "Pay with Cash App" option. Overrides dashboard default. Resolves as flag ?? dashboard value ?? false. */
381
438
  enableCashApp?: boolean;
382
- /** Show "Connect Wallet" option in the deposit menu. When undefined, uses the project dashboard setting. */
439
+ /** Enable "Connect Wallet" option. Overrides dashboard default. Resolves as flag ?? dashboard value ?? false. */
383
440
  enableConnectWallet?: boolean;
441
+ /** Enable "Deposit with Card" (fiat on-ramp) option. Overrides dashboard default. Resolves as flag ?? dashboard value ?? true. */
442
+ enableFiatOnramp?: boolean;
384
443
  /** Show "Pay with Link" (Stripe) option in the deposit menu */
385
444
  enableStripeLinkPay?: boolean;
386
445
  /** Registered Stripe onramp component (Connect sets this from `enableStripeLinkPay`) */
@@ -419,7 +478,7 @@ interface DepositModalProps {
419
478
  * - 'main': show the menu (default)
420
479
  * - 'transfer': open Transfer Crypto immediately
421
480
  * - 'card': open Buy with Card immediately
422
- * - 'tracker': open Deposit Tracker immediately (ignored if hideDepositTracker is true)
481
+ * - 'tracker': open Deposit Tracker immediately (ignored if the tracker is disabled)
423
482
  */
424
483
  initialScreen?: DepositInitialScreen;
425
484
  /** Callback when deposit succeeds */
@@ -472,57 +531,6 @@ interface DepositModalProps {
472
531
  };
473
532
  }
474
533
 
475
- /**
476
- * Opt-in dev-only API base URL (staging, localhost, etc.).
477
- * Stored on `globalThis` so it applies everywhere this file is inlined (e.g. Connect’s prebundle).
478
- * No-op when not `__DEV__`; empty / whitespace clears the override.
479
- */
480
- declare function setDevApiUrl(url: string): void;
481
- /**
482
- * Normalize an icon URL from API response
483
- * If the URL is relative (starts with /), prepend the API base URL
484
- * If the URL contains localhost, replace with the configured API base URL
485
- * If the URL is already absolute (starts with http), return as-is
486
- */
487
- declare function normalizeIconUrl(iconUrl: string | undefined | null): string;
488
- interface IconUrl {
489
- url: string;
490
- format: "svg" | "png";
491
- }
492
- /**
493
- * Get the preferred icon URL from an object with icon_url and icon_urls
494
- * @param item - Object with icon_url and optional icon_urls array
495
- * @param preferredFormat - Preferred format ("svg" or "png"), defaults to "svg"
496
- * @returns The URL string for the preferred format, or icon_url as fallback
497
- */
498
- declare function getPreferredIcon(item: {
499
- icon_url: string;
500
- icon_urls?: IconUrl[];
501
- } | undefined | null, preferredFormat?: "svg" | "png"): string;
502
- interface DestinationTokenChain {
503
- chain_id: string;
504
- chain_type: string;
505
- chain_name: string;
506
- icon_url: string;
507
- icon_urls?: IconUrl[];
508
- token_address: string;
509
- }
510
- interface DestinationToken {
511
- symbol: string;
512
- name: string;
513
- icon_url: string;
514
- icon_urls?: IconUrl[];
515
- chains: DestinationTokenChain[];
516
- }
517
- interface SupportedDestinationTokensResponse {
518
- data: DestinationToken[];
519
- }
520
- /**
521
- * Get supported destination tokens for withdrawals
522
- * @param publishableKey - Optional publishable key, defaults to configured key
523
- */
524
- declare function getSupportedDestinationTokens(publishableKey?: string): Promise<SupportedDestinationTokensResponse>;
525
-
526
534
  interface WithdrawTransactionInfo {
527
535
  sourceChainType: string;
528
536
  sourceChainId: string;
@@ -621,10 +629,14 @@ interface UnifoldConnectProviderConfig {
621
629
  * Stripe onramp is bundled with Connect; set to false to hide the option.
622
630
  */
623
631
  enableStripeLinkPay?: boolean;
624
- /** Show "Pay with Cash App" option in the deposit menu. Defaults to false. */
632
+ /** Enable "Transfer Crypto" option. Overrides dashboard default. Resolves as flag ?? dashboard value ?? true. */
633
+ enableTransferCrypto?: boolean;
634
+ /** Enable "Pay with Cash App" option. Overrides dashboard default. Resolves as flag ?? dashboard value ?? false. */
625
635
  enableCashApp?: boolean;
626
- /** Show "Connect Wallet" option in the deposit menu. When undefined, uses the dashboard setting. */
636
+ /** Enable "Connect Wallet" option. Overrides dashboard default. Resolves as flag ?? dashboard value ?? false. */
627
637
  enableConnectWallet?: boolean;
638
+ /** Enable "Deposit with Card" (fiat on-ramp) option. Overrides dashboard default. Resolves as flag ?? dashboard value ?? true. */
639
+ enableFiatOnramp?: boolean;
628
640
  /**
629
641
  * Apple Pay merchant id (`merchant.com...`) for Stripe Link Pay. Must match the
630
642
  * `merchantIdentifier` in the `@stripe/stripe-react-native` Expo plugin (app.json).
@@ -650,12 +662,12 @@ interface DepositError {
650
662
  }
651
663
  interface DepositConfig {
652
664
  externalUserId: string;
653
- destinationChainType?: "ethereum" | "solana" | "bitcoin";
665
+ destinationChainType?: ChainType;
654
666
  destinationChainId?: string;
655
667
  destinationTokenAddress?: string;
656
668
  destinationTokenSymbol?: string;
657
669
  recipientAddress?: string;
658
- defaultChainType?: "ethereum" | "solana" | "bitcoin";
670
+ defaultChainType?: ChainType;
659
671
  defaultChainId?: string;
660
672
  defaultTokenAddress?: string;
661
673
  showBalance?: boolean;
@@ -704,7 +716,7 @@ interface WithdrawConfig {
704
716
  /** The user's wallet address — used to fetch balance. Wallet-agnostic: pass any address string. */
705
717
  senderAddress: string;
706
718
  /** Source token chain type (e.g. "ethereum") */
707
- sourceChainType: "ethereum" | "solana" | "bitcoin";
719
+ sourceChainType: ChainType;
708
720
  /** Source token chain ID (e.g. "8453" for Base) */
709
721
  sourceChainId: string;
710
722
  /** Source token contract address */
@@ -747,4 +759,4 @@ interface UnifoldProviderProps {
747
759
  declare function UnifoldProvider({ children, publishableKey, config, }: UnifoldProviderProps): React$1.JSX.Element;
748
760
  declare function useUnifold(): ConnectContextValue;
749
761
 
750
- export { type AllowedCountryResult, type BorderRadiusConfig, BottomSheet, type ComponentConfig, type CustomThemeColors, type DepositConfig, type DepositError, type DepositInitialScreen, type DepositResult, type DestinationToken, type DestinationTokenChain, type FontConfig, type ThemeColors, type ThemeConfig, type ThemeMode, type ThemeProviderConfig, type TransferInputVariant, type UnifoldConnectProviderConfig, UnifoldProvider, type UnifoldProviderProps, type WithdrawConfig, type WithdrawError, type WithdrawResult, type WithdrawTransactionInfo, getPreferredIcon, getSupportedDestinationTokens, normalizeIconUrl, registerStripeOnramp, setDevApiUrl, useAllowedCountry, useTheme, useUnifold };
762
+ export { type AllowedCountryResult, type BalanceChainType, type BorderRadiusConfig, BottomSheet, type ChainType, type ComponentConfig, type CustomThemeColors, type DepositConfig, type DepositError, type DepositInitialScreen, type DepositResult, type DestinationToken, type DestinationTokenChain, type FontConfig, type ThemeColors, type ThemeConfig, type ThemeMode, type ThemeProviderConfig, type TransferInputVariant, type UnifoldConnectProviderConfig, UnifoldProvider, type UnifoldProviderProps, type WithdrawConfig, type WithdrawError, type WithdrawResult, type WithdrawTransactionInfo, getPreferredIcon, getSupportedDestinationTokens, normalizeIconUrl, registerStripeOnramp, setDevApiUrl, useAllowedCountry, useTheme, useUnifold };
package/dist/index.d.ts CHANGED
@@ -307,6 +307,61 @@ interface ThemeContextValue {
307
307
  }
308
308
  declare function useTheme(): ThemeContextValue;
309
309
 
310
+ /** All chain types recognised by the Unifold platform. */
311
+ type ChainType = "ethereum" | "solana" | "bitcoin" | "algorand" | "xrpl" | "cardano" | "n1";
312
+ /** Subset of ChainType for which balance lookups are supported. */
313
+ type BalanceChainType = "ethereum" | "solana" | "bitcoin" | "n1";
314
+ /**
315
+ * Opt-in dev-only API base URL (staging, localhost, etc.).
316
+ * Stored on `globalThis` so it applies everywhere this file is inlined (e.g. Connect’s prebundle).
317
+ * No-op when not `__DEV__`; empty / whitespace clears the override.
318
+ */
319
+ declare function setDevApiUrl(url: string): void;
320
+ /**
321
+ * Normalize an icon URL from API response
322
+ * If the URL is relative (starts with /), prepend the API base URL
323
+ * If the URL contains localhost, replace with the configured API base URL
324
+ * If the URL is already absolute (starts with http), return as-is
325
+ */
326
+ declare function normalizeIconUrl(iconUrl: string | undefined | null): string;
327
+ interface IconUrl {
328
+ url: string;
329
+ format: "svg" | "png";
330
+ }
331
+ /**
332
+ * Get the preferred icon URL from an object with icon_url and icon_urls
333
+ * @param item - Object with icon_url and optional icon_urls array
334
+ * @param preferredFormat - Preferred format ("svg" or "png"), defaults to "svg"
335
+ * @returns The URL string for the preferred format, or icon_url as fallback
336
+ */
337
+ declare function getPreferredIcon(item: {
338
+ icon_url: string;
339
+ icon_urls?: IconUrl[];
340
+ } | undefined | null, preferredFormat?: "svg" | "png"): string;
341
+ interface DestinationTokenChain {
342
+ chain_id: string;
343
+ chain_type: string;
344
+ chain_name: string;
345
+ icon_url: string;
346
+ icon_urls?: IconUrl[];
347
+ token_address: string;
348
+ }
349
+ interface DestinationToken {
350
+ symbol: string;
351
+ name: string;
352
+ icon_url: string;
353
+ icon_urls?: IconUrl[];
354
+ chains: DestinationTokenChain[];
355
+ }
356
+ interface SupportedDestinationTokensResponse {
357
+ data: DestinationToken[];
358
+ }
359
+ /**
360
+ * Get supported destination tokens for withdrawals
361
+ * @param publishableKey - Optional publishable key, defaults to configured key
362
+ */
363
+ declare function getSupportedDestinationTokens(publishableKey?: string): Promise<SupportedDestinationTokensResponse>;
364
+
310
365
  interface BorderRadiusConfig {
311
366
  borderTopLeftRadius?: number;
312
367
  borderTopRightRadius?: number;
@@ -362,25 +417,29 @@ interface DepositModalProps {
362
417
  /** Recipient wallet address */
363
418
  recipientAddress?: string;
364
419
  /** Target chain type */
365
- destinationChainType?: "ethereum" | "solana" | "bitcoin";
420
+ destinationChainType?: ChainType;
366
421
  /** Target chain ID (e.g., "137" for Polygon) */
367
422
  destinationChainId?: string;
368
423
  /** Target token contract address */
369
424
  destinationTokenAddress?: string;
370
425
  /** Default source chain type to pre-select in UI */
371
- defaultChainType?: "ethereum" | "solana" | "bitcoin";
426
+ defaultChainType?: ChainType;
372
427
  /** Default source chain ID to pre-select in UI (e.g., "137" for Polygon) */
373
428
  defaultChainId?: string;
374
429
  /** Default source token address to pre-select in UI */
375
430
  defaultTokenAddress?: string;
376
431
  /** Show recipient's destination token balance in the header */
377
432
  showBalance?: boolean;
378
- /** Hide the deposit tracker button */
433
+ /** Hide the deposit tracker button. Overrides dashboard default. */
379
434
  hideDepositTracker?: boolean;
380
- /** Show "Pay with Cash App" option in the deposit menu */
435
+ /** Enable "Transfer Crypto" option. Overrides dashboard default. Resolves as flag ?? dashboard value ?? true. */
436
+ enableTransferCrypto?: boolean;
437
+ /** Enable "Pay with Cash App" option. Overrides dashboard default. Resolves as flag ?? dashboard value ?? false. */
381
438
  enableCashApp?: boolean;
382
- /** Show "Connect Wallet" option in the deposit menu. When undefined, uses the project dashboard setting. */
439
+ /** Enable "Connect Wallet" option. Overrides dashboard default. Resolves as flag ?? dashboard value ?? false. */
383
440
  enableConnectWallet?: boolean;
441
+ /** Enable "Deposit with Card" (fiat on-ramp) option. Overrides dashboard default. Resolves as flag ?? dashboard value ?? true. */
442
+ enableFiatOnramp?: boolean;
384
443
  /** Show "Pay with Link" (Stripe) option in the deposit menu */
385
444
  enableStripeLinkPay?: boolean;
386
445
  /** Registered Stripe onramp component (Connect sets this from `enableStripeLinkPay`) */
@@ -419,7 +478,7 @@ interface DepositModalProps {
419
478
  * - 'main': show the menu (default)
420
479
  * - 'transfer': open Transfer Crypto immediately
421
480
  * - 'card': open Buy with Card immediately
422
- * - 'tracker': open Deposit Tracker immediately (ignored if hideDepositTracker is true)
481
+ * - 'tracker': open Deposit Tracker immediately (ignored if the tracker is disabled)
423
482
  */
424
483
  initialScreen?: DepositInitialScreen;
425
484
  /** Callback when deposit succeeds */
@@ -472,57 +531,6 @@ interface DepositModalProps {
472
531
  };
473
532
  }
474
533
 
475
- /**
476
- * Opt-in dev-only API base URL (staging, localhost, etc.).
477
- * Stored on `globalThis` so it applies everywhere this file is inlined (e.g. Connect’s prebundle).
478
- * No-op when not `__DEV__`; empty / whitespace clears the override.
479
- */
480
- declare function setDevApiUrl(url: string): void;
481
- /**
482
- * Normalize an icon URL from API response
483
- * If the URL is relative (starts with /), prepend the API base URL
484
- * If the URL contains localhost, replace with the configured API base URL
485
- * If the URL is already absolute (starts with http), return as-is
486
- */
487
- declare function normalizeIconUrl(iconUrl: string | undefined | null): string;
488
- interface IconUrl {
489
- url: string;
490
- format: "svg" | "png";
491
- }
492
- /**
493
- * Get the preferred icon URL from an object with icon_url and icon_urls
494
- * @param item - Object with icon_url and optional icon_urls array
495
- * @param preferredFormat - Preferred format ("svg" or "png"), defaults to "svg"
496
- * @returns The URL string for the preferred format, or icon_url as fallback
497
- */
498
- declare function getPreferredIcon(item: {
499
- icon_url: string;
500
- icon_urls?: IconUrl[];
501
- } | undefined | null, preferredFormat?: "svg" | "png"): string;
502
- interface DestinationTokenChain {
503
- chain_id: string;
504
- chain_type: string;
505
- chain_name: string;
506
- icon_url: string;
507
- icon_urls?: IconUrl[];
508
- token_address: string;
509
- }
510
- interface DestinationToken {
511
- symbol: string;
512
- name: string;
513
- icon_url: string;
514
- icon_urls?: IconUrl[];
515
- chains: DestinationTokenChain[];
516
- }
517
- interface SupportedDestinationTokensResponse {
518
- data: DestinationToken[];
519
- }
520
- /**
521
- * Get supported destination tokens for withdrawals
522
- * @param publishableKey - Optional publishable key, defaults to configured key
523
- */
524
- declare function getSupportedDestinationTokens(publishableKey?: string): Promise<SupportedDestinationTokensResponse>;
525
-
526
534
  interface WithdrawTransactionInfo {
527
535
  sourceChainType: string;
528
536
  sourceChainId: string;
@@ -621,10 +629,14 @@ interface UnifoldConnectProviderConfig {
621
629
  * Stripe onramp is bundled with Connect; set to false to hide the option.
622
630
  */
623
631
  enableStripeLinkPay?: boolean;
624
- /** Show "Pay with Cash App" option in the deposit menu. Defaults to false. */
632
+ /** Enable "Transfer Crypto" option. Overrides dashboard default. Resolves as flag ?? dashboard value ?? true. */
633
+ enableTransferCrypto?: boolean;
634
+ /** Enable "Pay with Cash App" option. Overrides dashboard default. Resolves as flag ?? dashboard value ?? false. */
625
635
  enableCashApp?: boolean;
626
- /** Show "Connect Wallet" option in the deposit menu. When undefined, uses the dashboard setting. */
636
+ /** Enable "Connect Wallet" option. Overrides dashboard default. Resolves as flag ?? dashboard value ?? false. */
627
637
  enableConnectWallet?: boolean;
638
+ /** Enable "Deposit with Card" (fiat on-ramp) option. Overrides dashboard default. Resolves as flag ?? dashboard value ?? true. */
639
+ enableFiatOnramp?: boolean;
628
640
  /**
629
641
  * Apple Pay merchant id (`merchant.com...`) for Stripe Link Pay. Must match the
630
642
  * `merchantIdentifier` in the `@stripe/stripe-react-native` Expo plugin (app.json).
@@ -650,12 +662,12 @@ interface DepositError {
650
662
  }
651
663
  interface DepositConfig {
652
664
  externalUserId: string;
653
- destinationChainType?: "ethereum" | "solana" | "bitcoin";
665
+ destinationChainType?: ChainType;
654
666
  destinationChainId?: string;
655
667
  destinationTokenAddress?: string;
656
668
  destinationTokenSymbol?: string;
657
669
  recipientAddress?: string;
658
- defaultChainType?: "ethereum" | "solana" | "bitcoin";
670
+ defaultChainType?: ChainType;
659
671
  defaultChainId?: string;
660
672
  defaultTokenAddress?: string;
661
673
  showBalance?: boolean;
@@ -704,7 +716,7 @@ interface WithdrawConfig {
704
716
  /** The user's wallet address — used to fetch balance. Wallet-agnostic: pass any address string. */
705
717
  senderAddress: string;
706
718
  /** Source token chain type (e.g. "ethereum") */
707
- sourceChainType: "ethereum" | "solana" | "bitcoin";
719
+ sourceChainType: ChainType;
708
720
  /** Source token chain ID (e.g. "8453" for Base) */
709
721
  sourceChainId: string;
710
722
  /** Source token contract address */
@@ -747,4 +759,4 @@ interface UnifoldProviderProps {
747
759
  declare function UnifoldProvider({ children, publishableKey, config, }: UnifoldProviderProps): React$1.JSX.Element;
748
760
  declare function useUnifold(): ConnectContextValue;
749
761
 
750
- export { type AllowedCountryResult, type BorderRadiusConfig, BottomSheet, type ComponentConfig, type CustomThemeColors, type DepositConfig, type DepositError, type DepositInitialScreen, type DepositResult, type DestinationToken, type DestinationTokenChain, type FontConfig, type ThemeColors, type ThemeConfig, type ThemeMode, type ThemeProviderConfig, type TransferInputVariant, type UnifoldConnectProviderConfig, UnifoldProvider, type UnifoldProviderProps, type WithdrawConfig, type WithdrawError, type WithdrawResult, type WithdrawTransactionInfo, getPreferredIcon, getSupportedDestinationTokens, normalizeIconUrl, registerStripeOnramp, setDevApiUrl, useAllowedCountry, useTheme, useUnifold };
762
+ export { type AllowedCountryResult, type BalanceChainType, type BorderRadiusConfig, BottomSheet, type ChainType, type ComponentConfig, type CustomThemeColors, type DepositConfig, type DepositError, type DepositInitialScreen, type DepositResult, type DestinationToken, type DestinationTokenChain, type FontConfig, type ThemeColors, type ThemeConfig, type ThemeMode, type ThemeProviderConfig, type TransferInputVariant, type UnifoldConnectProviderConfig, UnifoldProvider, type UnifoldProviderProps, type WithdrawConfig, type WithdrawError, type WithdrawResult, type WithdrawTransactionInfo, getPreferredIcon, getSupportedDestinationTokens, normalizeIconUrl, registerStripeOnramp, setDevApiUrl, useAllowedCountry, useTheme, useUnifold };