@swype-org/react-sdk 0.2.140 → 0.2.170

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.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ReactNode } from 'react';
2
+ import { ReactNode, MouseEvent } from 'react';
3
3
 
4
4
  /** Wallet provider (e.g. MetaMask) */
5
5
  interface Provider {
@@ -295,6 +295,8 @@ interface BlinkConfig {
295
295
  apiBaseUrl: string;
296
296
  theme: ThemeMode;
297
297
  tokens: ThemeTokens;
298
+ /** Minimum USD amount accepted when no payment-specific deposit amount is set. */
299
+ minTransferAmountUsd: number;
298
300
  /** Pre-set deposit amount (controlled by host app via useBlinkDepositAmount) */
299
301
  depositAmount: number | null;
300
302
  /** Update the deposit amount from a host-app component */
@@ -314,6 +316,8 @@ interface BlinkProviderProps {
314
316
  * Not intended for merchant integrations.
315
317
  */
316
318
  privyAppId?: string;
319
+ /** Minimum USD amount accepted when no payment-specific deposit amount is set. */
320
+ minTransferAmountUsd?: number;
317
321
  children: React.ReactNode;
318
322
  }
319
323
  /**
@@ -330,7 +334,7 @@ interface BlinkProviderProps {
330
334
  * </BlinkProvider>
331
335
  * ```
332
336
  */
333
- declare function BlinkProvider({ apiBaseUrl, theme, privyAppId, children, }: BlinkProviderProps): react_jsx_runtime.JSX.Element;
337
+ declare function BlinkProvider({ apiBaseUrl, theme, privyAppId, minTransferAmountUsd, children, }: BlinkProviderProps): react_jsx_runtime.JSX.Element;
334
338
  /** Access the Blink SDK configuration. Throws if used outside BlinkProvider. */
335
339
  declare function useBlinkConfig(): BlinkConfig;
336
340
  /**
@@ -501,7 +505,7 @@ type ProbeActionCompletionResult = {
501
505
  message: string;
502
506
  };
503
507
  /**
504
- * Probe whether an EXECUTE_BRIDGE action has already been satisfied on-chain.
508
+ * Probe whether a wallet action has already been satisfied on-chain.
505
509
  *
506
510
  * PATCHes the action with an empty `result` so the server's existing
507
511
  * `findDepositTxHash` path (see core-api authorization-actions.service)
@@ -520,10 +524,10 @@ type ProbeActionCompletionResult = {
520
524
  * - `detected: false, reason: 'error'` — unexpected failure (network, 5xx);
521
525
  * caller should fall through to the normal wallet prompt.
522
526
  *
523
- * Called from the orchestrator's mid-flow-reload probe path and the
524
- * recovery-result probe path. Idempotent on the server: EXECUTE_BRIDGE
525
- * guards via `transferRow.status !== 'CREATED'`; APPROVE_PERMIT2 is
526
- * naturally idempotent (allowance check is read-only, and the subsequent
527
+ * Called from the orchestrator's pre-prompt signature/approval probe path
528
+ * and recovery probe paths. Idempotent on the server: EXECUTE_BRIDGE guards
529
+ * via `transferRow.status !== 'CREATED'`; APPROVE_PERMIT2 is naturally
530
+ * idempotent (allowance check is read-only, and the subsequent
527
531
  * `populateSignPermit2Metadata` is safe to re-run).
528
532
  */
529
533
  declare function probeActionCompletion(apiBaseUrl: string, actionId: string): Promise<ProbeActionCompletionResult>;
@@ -830,15 +834,25 @@ interface OrchestratorRunOptions {
830
834
  */
831
835
  alwaysPauseForOneTap?: boolean;
832
836
  /**
833
- * When true, before presenting the wallet for an EXECUTE_BRIDGE action
834
- * on this run, probe the server to see if the deposit is already on-chain
835
- * (e.g. user confirmed pre-reload but the PATCH never landed). Only
836
- * applied once per action.id within a run; on a not-detected result
837
- * falls through to the normal wallet prompt. Enabled by callers that
838
- * know they are resuming a previously-interrupted flow (e.g. auth-app's
839
- * mid-flow reload detection).
837
+ * When true (default), before presenting the wallet for any of
838
+ * APPROVE_PERMIT2 / SIGN_PERMIT2 / EXECUTE_BRIDGE on this run, probe
839
+ * the server to see if the action is already satisfied on-chain (e.g.
840
+ * user confirmed pre-reload but the PATCH never landed, signed in
841
+ * another tab, or the wallet returned a stale error after broadcasting).
842
+ *
843
+ * Probe semantics per action type:
844
+ * - APPROVE_PERMIT2: backend re-checks ERC-20 allowance for Permit2.
845
+ * - SIGN_PERMIT2: backend re-checks Permit2 allowance (single &
846
+ * batched paths).
847
+ * - EXECUTE_BRIDGE: backend scans for the deposit tx hash on-chain.
848
+ *
849
+ * Applied at most once per action.id within a run; on a not-detected
850
+ * result the orchestrator falls through to the normal wallet prompt.
851
+ * Default is true so refresh / retry paths are double-prompt safe; set
852
+ * to false explicitly to skip the extra round-trip on a confirmed-fresh
853
+ * run.
840
854
  */
841
- probeExecuteBridgeBeforePrompt?: boolean;
855
+ probeBeforePrompt?: boolean;
842
856
  }
843
857
  interface UseAuthorizationOrchestratorResult {
844
858
  /**
@@ -847,6 +861,23 @@ interface UseAuthorizationOrchestratorResult {
847
861
  * until all actions are done.
848
862
  */
849
863
  run: (sessionId: string, options?: OrchestratorRunOptions) => Promise<OrchestratorResult>;
864
+ /**
865
+ * Restart the orchestrator using the most recent `run()`'s sessionId
866
+ * and options. Clears the executor's error state, refetches the
867
+ * session from the server (so any actions the server already marked
868
+ * COMPLETED are filtered out by `getPendingActions`), and re-runs
869
+ * with `probeBeforePrompt: true` so each remaining wallet prompt
870
+ * probes on-chain state first — the double-spend guard for "user
871
+ * already signed but the PATCH never landed" / "wallet broadcast then
872
+ * went silent". This is the soft-retry path that backs the UI's
873
+ * Retry buttons (no page reload required).
874
+ *
875
+ * Throws if `run()` was never called on this orchestrator instance.
876
+ * Bypasses the lifecycle's `runStartedRef` guard — call
877
+ * `useOrchestratorLifecycle.restart()` if you need to update its
878
+ * `orchestratorCompleted` flag too.
879
+ */
880
+ restart: () => Promise<OrchestratorResult>;
850
881
  /**
851
882
  * Add a session mid-flow (e.g. a transfer session created during
852
883
  * one-tap setup). The orchestrator will fetch and merge its actions
@@ -880,6 +911,19 @@ interface PreparedSession {
880
911
  sessionId?: string;
881
912
  walletDeeplinks?: WalletDeeplink[];
882
913
  }
914
+ interface PreparedTokenAuthorization {
915
+ accountId: string;
916
+ walletId: string;
917
+ tokenAddress: string;
918
+ chainId: number;
919
+ tokenSymbol: string;
920
+ sessionId: string;
921
+ deeplinkUri: string;
922
+ providerId: string | null;
923
+ providerName: string;
924
+ transferId?: string;
925
+ depositAmount: number;
926
+ }
883
927
 
884
928
  /** Snapshot for restoring deposit source after cancelling token reauth / increase-limit subflows. */
885
929
  interface SavedDepositSelection {
@@ -983,6 +1027,10 @@ interface StepHandlers {
983
1027
  onIncreaseLimit: () => void;
984
1028
  onConfirmSign: () => void;
985
1029
  onRetryMobileStatus: () => void;
1030
+ /** Soft-retry the orchestrator (calls `orchestrator.restart()`) without reloading the page. */
1031
+ onRetryAuthorization: () => void;
1032
+ /** Re-run passkey signing for an already-created, signable transfer. */
1033
+ onRetryTransferSigning: () => void;
986
1034
  onBackFromOpenWallet: () => void;
987
1035
  onLogout: () => void;
988
1036
  onNewPayment: () => void;
@@ -994,8 +1042,12 @@ interface StepHandlers {
994
1042
  onSelectToken: () => void;
995
1043
  onSelectAuthorizedToken: (walletId: string, tokenSymbol: string, accountId?: string) => void;
996
1044
  onAuthorizeToken: (walletId: string, tokenAddress: string, chainId: number, tokenSymbol: string, accountId?: string) => void;
1045
+ onPrepareTokenAuthorization: (walletId: string, tokenAddress: string, chainId: number, tokenSymbol: string, accountId?: string) => Promise<PreparedTokenAuthorization | null>;
1046
+ onCommitTokenAuthorization: (prepared: PreparedTokenAuthorization) => void;
997
1047
  /** Set setupDepositAmount and navigate to wallet-picker when adding a new account from the deposit screen. */
998
1048
  onAddProviderFromDeposit: (amount: number) => void;
1049
+ /** Leave desktop setup-deposit back to wallet selection, cancelling the paused auth run. */
1050
+ onBackFromSetupDeposit: () => void;
999
1051
  /** Leave funding subflow (setup / token picker) back to deposit: restore selection, cancel executor. */
1000
1052
  onBackFromSubflow: () => void;
1001
1053
  onLogin: () => void;
@@ -1013,6 +1065,7 @@ interface StepRendererFlowProps {
1013
1065
  onBack?: () => void;
1014
1066
  onDismiss?: () => void;
1015
1067
  depositAmount: number | null;
1068
+ minTransferAmountUsd: number;
1016
1069
  }
1017
1070
  /** Polling, signing, and auth-executor surface. */
1018
1071
  interface StepRendererRemoteProps {
@@ -1022,8 +1075,11 @@ interface StepRendererRemoteProps {
1022
1075
  /** True while `executeSessionById` is running (desktop inline wallet steps). */
1023
1076
  authExecutorExecuting: boolean;
1024
1077
  authExecutorCurrentAction?: AuthorizationAction | null;
1078
+ /** SIGN_PERMIT2 action paused for one-tap setup; null until the limit screen is actionable. */
1079
+ pendingOneTapSetup?: AuthorizationAction | null;
1025
1080
  transferSigningSigning: boolean;
1026
1081
  transferSigningError: string | null;
1082
+ transferSigningPasskeyDismissed?: boolean;
1027
1083
  pendingSelectSource: AuthorizationAction | null;
1028
1084
  }
1029
1085
  /** Values derived from accounts / selection (plus select-source picker data). */
@@ -1144,6 +1200,7 @@ interface UseTransferSigningResult {
1144
1200
  signing: boolean;
1145
1201
  signPayload: TransferSignPayload | null;
1146
1202
  error: string | null;
1203
+ passkeyDismissed: boolean;
1147
1204
  /**
1148
1205
  * Starts the signing flow:
1149
1206
  * 1. Polls GET /v1/transfers/{id} until signPayload is present
@@ -1212,7 +1269,8 @@ declare function PoweredByFooter(): react_jsx_runtime.JSX.Element;
1212
1269
 
1213
1270
  interface PrimaryButtonProps {
1214
1271
  children: ReactNode;
1215
- onClick?: () => void;
1272
+ onClick?: (event: MouseEvent<HTMLButtonElement | HTMLAnchorElement>) => void;
1273
+ href?: string;
1216
1274
  disabled?: boolean;
1217
1275
  loading?: boolean;
1218
1276
  /** Override the default "Please wait..." text shown while loading. */
@@ -1226,7 +1284,7 @@ interface PrimaryButtonProps {
1226
1284
  /** When true, the fill bar pulses to signal the user needs to take action (e.g. confirm in wallet). */
1227
1285
  progressPaused?: boolean;
1228
1286
  }
1229
- declare function PrimaryButton({ children, onClick, disabled, loading, loadingText, icon, progress, progressText, progressPaused, }: PrimaryButtonProps): react_jsx_runtime.JSX.Element;
1287
+ declare function PrimaryButton({ children, onClick, href, disabled, loading, loadingText, icon, progress, progressText, progressPaused, }: PrimaryButtonProps): react_jsx_runtime.JSX.Element;
1230
1288
 
1231
1289
  interface OutlineButtonProps {
1232
1290
  children: ReactNode;
@@ -1286,6 +1344,7 @@ interface SpinnerProps {
1286
1344
  declare function Spinner({ size, label }: SpinnerProps): react_jsx_runtime.JSX.Element;
1287
1345
 
1288
1346
  declare function BlinkLoadingScreen(): react_jsx_runtime.JSX.Element;
1347
+ declare function BlinkInitialLoadingScreen(): react_jsx_runtime.JSX.Element;
1289
1348
 
1290
1349
  interface LoginScreenProps {
1291
1350
  onLoginWithPasskey: () => void;
@@ -1405,9 +1464,10 @@ interface SetupScreenProps {
1405
1464
  onBack?: () => void;
1406
1465
  onLogout?: () => void;
1407
1466
  loading?: boolean;
1467
+ loadingShimmersEnabled?: boolean;
1408
1468
  error: string | null;
1409
1469
  }
1410
- declare function SetupScreen({ onSetupOneTap, onBack, onLogout, loading, error, }: SetupScreenProps): react_jsx_runtime.JSX.Element;
1470
+ declare function SetupScreen({ onSetupOneTap, onBack, onLogout, loading, loadingShimmersEnabled, error, }: SetupScreenProps): react_jsx_runtime.JSX.Element;
1411
1471
 
1412
1472
  /**
1413
1473
  * A single {token, chain} pair the user may pick as the deposit source on
@@ -1429,9 +1489,16 @@ interface SetupTokenOption {
1429
1489
  }
1430
1490
 
1431
1491
  interface SetupDepositScreenProps {
1432
- depositAmount: number;
1492
+ depositAmount: number | null;
1493
+ /** Total available balance from the selected setup source. */
1494
+ availableBalance?: number;
1495
+ /** Minimum USD amount required for setup deposit. */
1496
+ minDepositFloor?: number;
1433
1497
  onSetDepositAmount: (amount: number) => void;
1434
- onLogout: () => void;
1498
+ /** Desktop-only settings/logout action. Omit to keep the mobile authorization surface headerless. */
1499
+ onLogout?: () => void;
1500
+ /** Desktop-only escape hatch back to wallet selection. Omit to hide the back button. */
1501
+ onBack?: () => void;
1435
1502
  error: string | null;
1436
1503
  /** Enables setup-deposit loading shimmers while this screen is actively loading. */
1437
1504
  loadingShimmersEnabled?: boolean;
@@ -1454,7 +1521,7 @@ interface SetupDepositScreenProps {
1454
1521
  /** True when the orchestrator is paused on source selection and ready for confirmation. */
1455
1522
  continueReady?: boolean;
1456
1523
  }
1457
- declare function SetupDepositScreen({ depositAmount, onLogout: _onLogout, error, loadingShimmersEnabled, tokenSelectionLoading, selectedTokenSymbol, selectedChainName, tokenOptions, onSelectToken, quoteFee, quoteLoading, quoteError, onContinue, continueReady, }: SetupDepositScreenProps): react_jsx_runtime.JSX.Element;
1524
+ declare function SetupDepositScreen({ depositAmount, availableBalance, minDepositFloor, onLogout, onBack, error, loadingShimmersEnabled, tokenSelectionLoading, selectedTokenSymbol, selectedChainName, tokenOptions, onSelectToken, quoteFee, quoteLoading, quoteError, onContinue, continueReady, }: SetupDepositScreenProps): react_jsx_runtime.JSX.Element;
1458
1525
 
1459
1526
  interface DepositCompleteScreenProps {
1460
1527
  amount: number;
@@ -1504,6 +1571,10 @@ interface DepositScreenProps {
1504
1571
  tokenOptions?: SetupTokenOption[];
1505
1572
  /** Called when the user picks a token from the inline dropdown. */
1506
1573
  onPickToken?: (symbol: string, chainName: string, walletId?: string) => void;
1574
+ /** Mobile-only: true when token authorization should be prepared before a real deeplink tap. */
1575
+ useDeeplink?: boolean;
1576
+ onPrepareTokenAuthorization?: (walletId: string, tokenAddress: string, chainId: number, tokenSymbol: string, accountId?: string) => Promise<PreparedTokenAuthorization | null>;
1577
+ onCommitTokenAuthorization?: (prepared: PreparedTokenAuthorization) => void;
1507
1578
  /** Token symbol for the selected source, e.g. "USDC" or "USDT" */
1508
1579
  selectedTokenSymbol?: string;
1509
1580
  /** Chain name for the selected source, used to disambiguate same-symbol tokens on different chains. */
@@ -1525,7 +1596,7 @@ interface DepositScreenProps {
1525
1596
  */
1526
1597
  minDepositFloor: number;
1527
1598
  }
1528
- declare function DepositScreen({ availableBalance, remainingLimit, initialAmount, minDepositFloor, quoteLoading, processing, error, onDeposit, onSwitchWallet, onLogout, onIncreaseLimit, increasingLimit, accounts, selectedAccountId, onSelectAccount: _onSelectAccount, onAuthorizeAccount: _onAuthorizeAccount, onAddProvider, onSelectToken, tokenOptions, onPickToken, selectedTokenSymbol, selectedChainName, selectedWalletId, selectedTokenStatus, onAuthorizeSelectedToken, authorizingToken, }: DepositScreenProps): react_jsx_runtime.JSX.Element;
1599
+ declare function DepositScreen({ availableBalance, remainingLimit, initialAmount, minDepositFloor, quoteLoading, processing, error, onDeposit, onSwitchWallet, onBack, onLogout, onIncreaseLimit, increasingLimit, accounts, selectedAccountId, onSelectAccount: _onSelectAccount, onAuthorizeAccount: _onAuthorizeAccount, onAddProvider, onSelectToken, tokenOptions, onPickToken, useDeeplink, onPrepareTokenAuthorization, onCommitTokenAuthorization, selectedTokenSymbol, selectedChainName, selectedWalletId, selectedTokenStatus, onAuthorizeSelectedToken, authorizingToken, }: DepositScreenProps): react_jsx_runtime.JSX.Element;
1529
1600
 
1530
1601
  interface SuccessScreenProps {
1531
1602
  amount: number;
@@ -1584,7 +1655,7 @@ interface SelectDepositSourceScreenProps {
1584
1655
  accounts: DepositSourceAccount[];
1585
1656
  /** Currently selected account; when present, that account's group is rendered first. */
1586
1657
  selectedAccountId?: string | null;
1587
- /** Tokens the user can pick from. Rows with a zero-rounded balance are filtered out.
1658
+ /** Tokens the user can pick from. Rows below the minimum deposit floor are filtered out.
1588
1659
  * Each row should carry `accountId` so it can be grouped under the owning account. */
1589
1660
  tokenOptions: SetupTokenOption[];
1590
1661
  selectedTokenSymbol?: string;
@@ -1596,9 +1667,15 @@ interface SelectDepositSourceScreenProps {
1596
1667
  selectedWalletId?: string | null;
1597
1668
  /** Called when the user picks a token row. */
1598
1669
  onPickToken: (symbol: string, chainName: string, walletId?: string) => void;
1670
+ /** Mobile-only: unauthorized token rows prepare a real deeplink footer CTA instead of closing immediately. */
1671
+ useDeeplink?: boolean;
1672
+ onPrepareTokenAuthorization?: (walletId: string, tokenAddress: string, chainId: number, tokenSymbol: string, accountId?: string) => Promise<PreparedTokenAuthorization | null>;
1673
+ onCommitTokenAuthorization?: (prepared: PreparedTokenAuthorization) => void;
1599
1674
  /** Ghost "Add wallet or currency" CTA. Hidden when not provided. */
1600
1675
  onAddProvider?: () => void;
1601
- /** Primary "Done" CTA; also used by the back button. */
1676
+ /** Header back navigation. Falls back to onDone when omitted. */
1677
+ onBack?: () => void;
1678
+ /** Primary "Done" CTA used to dismiss the sheet. */
1602
1679
  onDone: () => void;
1603
1680
  onLogout?: () => void;
1604
1681
  }
@@ -1610,10 +1687,10 @@ interface SelectDepositSourceScreenProps {
1610
1687
  * "Authorisation required" card with the requires-auth rows from every
1611
1688
  * account.
1612
1689
  */
1613
- declare function SelectDepositSourceScreen({ accounts, selectedAccountId, tokenOptions, selectedTokenSymbol, selectedChainName, selectedWalletId, onPickToken, onAddProvider, onDone, onLogout, }: SelectDepositSourceScreenProps): react_jsx_runtime.JSX.Element;
1690
+ declare function SelectDepositSourceScreen({ accounts, selectedAccountId, tokenOptions, selectedTokenSymbol, selectedChainName, selectedWalletId, onPickToken, useDeeplink, onPrepareTokenAuthorization, onCommitTokenAuthorization, onAddProvider, onBack, onDone, onLogout, }: SelectDepositSourceScreenProps): react_jsx_runtime.JSX.Element;
1614
1691
 
1615
1692
  interface SetupSelectDepositSourceScreenProps {
1616
- /** Tokens the user can pick from. Rows with a zero-rounded balance are filtered out. */
1693
+ /** Tokens the user can pick from. Rows below the minimum deposit floor are filtered out. */
1617
1694
  tokenOptions: SetupTokenOption[];
1618
1695
  selectedTokenSymbol?: string;
1619
1696
  selectedChainName?: string;
@@ -1648,21 +1725,30 @@ interface AdvancedSourceScreenProps {
1648
1725
  declare function AdvancedSourceScreen({ choices, selectedChainName, selectedTokenSymbol, onSelectSource, onBack, }: AdvancedSourceScreenProps): react_jsx_runtime.JSX.Element;
1649
1726
 
1650
1727
  type TransferPhase = 'creating' | 'signing' | 'submitting' | 'sent';
1651
- interface TransferStatusScreenProps {
1728
+ interface TransferStatusBaseProps {
1652
1729
  phase: TransferPhase;
1653
- depositAmount: number;
1654
- tokenSymbol: string;
1655
1730
  error: string | null;
1656
1731
  onLogout: () => void;
1657
1732
  /**
1658
- * When true, render the 3-step list used by the first-time one-tap setup +
1659
- * auto-pay combined flow. When false (default), render the simplified
1660
- * "Processing Deposit" spinner used for pure deposits by returning users
1661
- * who already have one-tap configured.
1733
+ * Optional retry hook. Setup flows wire this to `orchestrator.restart()`;
1734
+ * deposit flows wire it only after the first passkey signing attempt fails.
1662
1735
  */
1663
- isSetupFlow?: boolean;
1736
+ onRetry?: () => void;
1737
+ retryLabel?: string;
1738
+ retryAfterDelay?: boolean;
1739
+ showRetryOnError?: boolean;
1740
+ }
1741
+
1742
+ interface SetupTransferStatusScreenProps extends TransferStatusBaseProps {
1743
+ depositAmount: number;
1744
+ tokenSymbol: string;
1745
+ }
1746
+ declare function SetupTransferStatusScreen({ phase, depositAmount, tokenSymbol, error, onLogout, onRetry, }: SetupTransferStatusScreenProps): react_jsx_runtime.JSX.Element;
1747
+
1748
+ interface DepositTransferStatusScreenProps extends TransferStatusBaseProps {
1749
+ visibleError?: string | null;
1664
1750
  }
1665
- declare function TransferStatusScreen({ phase, depositAmount, tokenSymbol, error, onLogout, isSetupFlow, }: TransferStatusScreenProps): react_jsx_runtime.JSX.Element;
1751
+ declare function DepositTransferStatusScreen({ phase, error, visibleError, onLogout, onRetry, }: DepositTransferStatusScreenProps): react_jsx_runtime.JSX.Element;
1666
1752
 
1667
1753
  interface OpenWalletScreenProps {
1668
1754
  walletName: string | null;
@@ -1673,6 +1759,10 @@ interface OpenWalletScreenProps {
1673
1759
  useDeeplink?: boolean;
1674
1760
  error?: string | null;
1675
1761
  onRetryStatus?: () => void;
1762
+ /** Soft-retry the orchestrator (calls `orchestrator.restart()`). Desktop only —
1763
+ * shown alongside the error banner when set so the user can recover from a
1764
+ * dismissed wallet popup without reloading the iframe. */
1765
+ onRetryAuthorization?: () => void;
1676
1766
  onBack?: () => void;
1677
1767
  onLogout: () => void;
1678
1768
  }
@@ -1681,7 +1771,7 @@ interface OpenWalletScreenProps {
1681
1771
  * that triggers the deeplink via window.open. On desktop, shows inline
1682
1772
  * authorization progress while wallet extension popups handle the flow.
1683
1773
  */
1684
- declare function OpenWalletScreen({ walletName, deeplinkUri, loading, useDeeplink, error, onRetryStatus, onBack, onLogout, }: OpenWalletScreenProps): react_jsx_runtime.JSX.Element;
1774
+ declare function OpenWalletScreen({ walletName, deeplinkUri, loading, useDeeplink, error, onRetryStatus, onRetryAuthorization, onBack, onLogout, }: OpenWalletScreenProps): react_jsx_runtime.JSX.Element;
1685
1775
 
1686
1776
  interface ConfirmSignScreenProps {
1687
1777
  walletName: string | null;
@@ -1792,4 +1882,4 @@ declare function clearDebugEntries(): void;
1792
1882
  */
1793
1883
  declare function useBlinkDebugLog(): DebugEntry[];
1794
1884
 
1795
- export { type Account, type ActionExecutionResult, type AdvancedSettings, AdvancedSourceScreen, type Amount, type AuthorizationAction, type AuthorizationSession, AuthorizationSessionCancelledError, type AuthorizationSessionDetail, BLINK_ERROR_ILLUSTRATION, BLINK_LOGO, BLINK_MASCOT, BLINK_PASSKEY_ILLUSTRATION, BLINK_SUCCESS_ILLUSTRATION, BlinkErrorScreen, BlinkLoadingScreen, BlinkPayment, type BlinkPaymentProps, BlinkProvider, type BlinkProviderProps, type Chain, ConfirmSignScreen, type DebugEntry, type DebugLevel, DepositCompleteScreen, DepositScreen, type Destination, type ErrorResponse, type ExecutionResult, type GuestTokenEntry, type GuestTokenPickerRawRow, GuestTokenPickerScreen, IconCircle, InfoBanner, type ListResponse, LoginScreen, type MerchantAuthorization, type MerchantPublicKey, type MobileFlowState, OpenWalletScreen, type OrchestratorResult, type OrchestratorRunOptions, OtpVerifyScreen, OutlineButton, PASSKEY_READY_ILLUSTRATION, PasskeyIframeBlockedError, PasskeyPopupWelcomeScreen, PasskeyReadyScreen, PasskeyScreen, type PaymentPhase, type PaymentState, PoweredByFooter, type PreciseMoney, PrimaryButton, type Provider, ScreenHeader, ScreenLayout, type ScreenName, SelectDepositSourceScreen, SelectSourceScreen, SettingsMenu, SetupDepositScreen, SetupScreen, SetupSelectDepositSourceScreen, type SetupTokenOption, type SourceOption, type SourceSelection, type SourceType, Spinner, type StepHandlers, type StepItem, StepList, StepRenderer, type StepRendererDerivedProps, type StepRendererFlowProps, type StepRendererFormProps, type StepRendererProps, type StepRendererRemoteProps, SuccessScreen, type ThemeMode, type ThemeTokens, type TokenBalance, TokenPickerScreen, type Transfer, type TransferDestination, type TransferPhase, TransferStatusScreen, type UseAuthorizationExecutorResult, type UseAuthorizationOrchestratorResult, type UserConfig, VerifyPasskeyScreen, type Wallet, type WalletCapabilities, type WalletCapabilitiesDebugSnapshot, type WalletDeeplink, WalletPickerScreen, type WalletSource, type WalletToken, appendDebug, api as blinkApi, clearDebugEntries, createInitialState, credentialIdBase64ToBytes, darkTheme, darkThemeNew, darkTransparentTheme, darkTransparentThemeNew, deviceHasPasskey, encodePermit2ApproveCalldata, findDevicePasskey, findDevicePasskeyViaPopup, getAtomicBatchSupportDebugInfo, getDebugEntries, getDeviceBiometricUnlockText, getTheme, getThemeBase, getWalletCapabilities, isAuthorizationSessionCancelled, isExpectedAuthorizationCancellation, isTerminalTransferStatus, isTransferAwaitingCompletion, isTransparentTheme, isUserDismissedAuthorizationError, isVisibleUsdAmountAtTwoDecimals, lightTheme, lightThemeNew, lightTransparentTheme, lightTransparentThemeNew, mapGuestPickerEntries, resolvePasskeyRpId, screenForPhase, subscribeDebug, supportsAtomicBatch, supportsPaymasterService, useAuthorizationExecutor, useAuthorizationOrchestrator, useBlinkConfig, useBlinkDebugLog, useBlinkDepositAmount, useTransferPolling, useTransferSigning };
1885
+ export { type Account, type ActionExecutionResult, type AdvancedSettings, AdvancedSourceScreen, type Amount, type AuthorizationAction, type AuthorizationSession, AuthorizationSessionCancelledError, type AuthorizationSessionDetail, BLINK_ERROR_ILLUSTRATION, BLINK_LOGO, BLINK_MASCOT, BLINK_PASSKEY_ILLUSTRATION, BLINK_SUCCESS_ILLUSTRATION, BlinkErrorScreen, BlinkInitialLoadingScreen, BlinkLoadingScreen, BlinkPayment, type BlinkPaymentProps, BlinkProvider, type BlinkProviderProps, type Chain, ConfirmSignScreen, type DebugEntry, type DebugLevel, DepositCompleteScreen, DepositScreen, DepositTransferStatusScreen, type Destination, type ErrorResponse, type ExecutionResult, type GuestTokenEntry, type GuestTokenPickerRawRow, GuestTokenPickerScreen, IconCircle, InfoBanner, type ListResponse, LoginScreen, type MerchantAuthorization, type MerchantPublicKey, type MobileFlowState, OpenWalletScreen, type OrchestratorResult, type OrchestratorRunOptions, OtpVerifyScreen, OutlineButton, PASSKEY_READY_ILLUSTRATION, PasskeyIframeBlockedError, PasskeyPopupWelcomeScreen, PasskeyReadyScreen, PasskeyScreen, type PaymentPhase, type PaymentState, PoweredByFooter, type PreciseMoney, PrimaryButton, type Provider, ScreenHeader, ScreenLayout, type ScreenName, SelectDepositSourceScreen, SelectSourceScreen, SettingsMenu, SetupDepositScreen, SetupScreen, SetupSelectDepositSourceScreen, type SetupTokenOption, SetupTransferStatusScreen, type SourceOption, type SourceSelection, type SourceType, Spinner, type StepHandlers, type StepItem, StepList, StepRenderer, type StepRendererDerivedProps, type StepRendererFlowProps, type StepRendererFormProps, type StepRendererProps, type StepRendererRemoteProps, SuccessScreen, type ThemeMode, type ThemeTokens, type TokenBalance, TokenPickerScreen, type Transfer, type TransferDestination, type TransferPhase, type UseAuthorizationExecutorResult, type UseAuthorizationOrchestratorResult, type UserConfig, VerifyPasskeyScreen, type Wallet, type WalletCapabilities, type WalletCapabilitiesDebugSnapshot, type WalletDeeplink, WalletPickerScreen, type WalletSource, type WalletToken, appendDebug, api as blinkApi, clearDebugEntries, createInitialState, credentialIdBase64ToBytes, darkTheme, darkThemeNew, darkTransparentTheme, darkTransparentThemeNew, deviceHasPasskey, encodePermit2ApproveCalldata, findDevicePasskey, findDevicePasskeyViaPopup, getAtomicBatchSupportDebugInfo, getDebugEntries, getDeviceBiometricUnlockText, getTheme, getThemeBase, getWalletCapabilities, isAuthorizationSessionCancelled, isExpectedAuthorizationCancellation, isTerminalTransferStatus, isTransferAwaitingCompletion, isTransparentTheme, isUserDismissedAuthorizationError, isVisibleUsdAmountAtTwoDecimals, lightTheme, lightThemeNew, lightTransparentTheme, lightTransparentThemeNew, mapGuestPickerEntries, resolvePasskeyRpId, screenForPhase, subscribeDebug, supportsAtomicBatch, supportsPaymasterService, useAuthorizationExecutor, useAuthorizationOrchestrator, useBlinkConfig, useBlinkDebugLog, useBlinkDepositAmount, useTransferPolling, useTransferSigning };