@funkit/connect-rn 4.2.0 → 4.3.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.
Files changed (61) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/{chunk-N7Z6UHT7.js → chunk-5YSMFPBG.js} +2 -2
  3. package/dist/{chunk-A66EO5J5.js → chunk-PIAR365R.js} +113 -57
  4. package/dist/chunk-PIAR365R.js.map +7 -0
  5. package/dist/clients/lighter.js +1 -1
  6. package/dist/clients/nado.js +2 -2
  7. package/dist/index.js +2273 -1035
  8. package/dist/index.js.map +4 -4
  9. package/dist/src/components/SelectableAssetRow.d.ts +3 -1
  10. package/dist/src/components/SelectableAssetRow.d.ts.map +1 -1
  11. package/dist/src/fiat/FiatBackButton.d.ts +3 -3
  12. package/dist/src/fiat/FiatContactScreen.d.ts +11 -5
  13. package/dist/src/fiat/FiatContactScreen.d.ts.map +1 -1
  14. package/dist/src/fiat/FiatCountryDock.d.ts +17 -0
  15. package/dist/src/fiat/FiatCountryDock.d.ts.map +1 -0
  16. package/dist/src/fiat/FiatKycIntroScreen.d.ts.map +1 -1
  17. package/dist/src/fiat/FiatOtpScreen.d.ts +5 -2
  18. package/dist/src/fiat/FiatOtpScreen.d.ts.map +1 -1
  19. package/dist/src/fiat/FiatPhoneField.d.ts +28 -0
  20. package/dist/src/fiat/FiatPhoneField.d.ts.map +1 -0
  21. package/dist/src/fiat/FiatTermsNotice.d.ts +13 -0
  22. package/dist/src/fiat/FiatTermsNotice.d.ts.map +1 -0
  23. package/dist/src/fiat/knownContacts.d.ts +27 -0
  24. package/dist/src/fiat/knownContacts.d.ts.map +1 -0
  25. package/dist/src/fiat/kycFormTheme.d.ts +8 -0
  26. package/dist/src/fiat/kycFormTheme.d.ts.map +1 -1
  27. package/dist/src/fiat/otpScreenProps.d.ts +5 -4
  28. package/dist/src/fiat/otpScreenProps.d.ts.map +1 -1
  29. package/dist/src/fiat/phoneCountries.d.ts +54 -0
  30. package/dist/src/fiat/phoneCountries.d.ts.map +1 -0
  31. package/dist/src/fiat/providers/CoinbaseCheckoutSurface.d.ts +23 -0
  32. package/dist/src/fiat/providers/CoinbaseCheckoutSurface.d.ts.map +1 -0
  33. package/dist/src/fiat/providers/adapter.d.ts +8 -2
  34. package/dist/src/fiat/providers/adapter.d.ts.map +1 -1
  35. package/dist/src/fiat/providers/coinbaseApplePay.d.ts +8 -0
  36. package/dist/src/fiat/providers/coinbaseApplePay.d.ts.map +1 -0
  37. package/dist/src/fiat/providers/coinbaseOnrampEvents.d.ts +37 -0
  38. package/dist/src/fiat/providers/coinbaseOnrampEvents.d.ts.map +1 -0
  39. package/dist/src/fiat/renderCaptureSurface.d.ts.map +1 -1
  40. package/dist/src/fiat/sessionContact.d.ts +9 -5
  41. package/dist/src/fiat/sessionContact.d.ts.map +1 -1
  42. package/dist/src/fiat/useCountryDock.d.ts +21 -0
  43. package/dist/src/fiat/useCountryDock.d.ts.map +1 -0
  44. package/dist/src/fiat/useStaleQuoteRecovery.d.ts +3 -2
  45. package/dist/src/fiat/useStaleQuoteRecovery.d.ts.map +1 -1
  46. package/dist/src/flow/FiatDepositAmountStep.d.ts.map +1 -1
  47. package/dist/src/hooks/useNestedSheetHeight.d.ts +10 -0
  48. package/dist/src/hooks/useNestedSheetHeight.d.ts.map +1 -1
  49. package/dist/src/identity/IdentityContext.d.ts +8 -4
  50. package/dist/src/identity/IdentityContext.d.ts.map +1 -1
  51. package/dist/src/screens/DepositAmountScreen.d.ts +6 -1
  52. package/dist/src/screens/DepositAmountScreen.d.ts.map +1 -1
  53. package/dist/src/swapped/SwappedScreen.d.ts.map +1 -1
  54. package/dist/src/swapped/SwappedScreenShell.d.ts +3 -1
  55. package/dist/src/swapped/SwappedScreenShell.d.ts.map +1 -1
  56. package/dist/src/swapped/SwappedWebView.d.ts +7 -2
  57. package/dist/src/swapped/SwappedWebView.d.ts.map +1 -1
  58. package/dist/src/swapped/SwappedWithdrawScreen.d.ts.map +1 -1
  59. package/package.json +9 -9
  60. package/dist/chunk-A66EO5J5.js.map +0 -7
  61. /package/dist/{chunk-N7Z6UHT7.js.map → chunk-5YSMFPBG.js.map} +0 -0
@@ -3,6 +3,8 @@ export interface SelectableAssetRowProps {
3
3
  name: string;
4
4
  /** The 36px leading avatar — a token, a chain, or a token-on-chain pair. */
5
5
  icon: ReactNode;
6
+ /** A second value the row carries, set against its trailing edge. */
7
+ detail?: string;
6
8
  selected: boolean;
7
9
  /** Offered but not pickable, e.g. a chain that doesn't carry the picked token. */
8
10
  disabled?: boolean;
@@ -10,5 +12,5 @@ export interface SelectableAssetRowProps {
10
12
  accessibilityLabel: string;
11
13
  }
12
14
  /** One row of a token or chain pick list (Figma `list-item/base`). */
13
- export declare function SelectableAssetRow({ name, icon, selected, disabled, onPress, accessibilityLabel, }: SelectableAssetRowProps): import("react").JSX.Element;
15
+ export declare function SelectableAssetRow({ name, icon, detail, selected, disabled, onPress, accessibilityLabel, }: SelectableAssetRowProps): import("react").JSX.Element;
14
16
  //# sourceMappingURL=SelectableAssetRow.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectableAssetRow.d.ts","sourceRoot":"","sources":["../../../src/components/SelectableAssetRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAMtC,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,MAAM,CAAA;IACZ,4EAA4E;IAC5E,IAAI,EAAE,SAAS,CAAA;IACf,QAAQ,EAAE,OAAO,CAAA;IACjB,kFAAkF;IAClF,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,kBAAkB,EAAE,MAAM,CAAA;CAC3B;AAED,sEAAsE;AACtE,wBAAgB,kBAAkB,CAAC,EACjC,IAAI,EACJ,IAAI,EACJ,QAAQ,EACR,QAAgB,EAChB,OAAO,EACP,kBAAkB,GACnB,EAAE,uBAAuB,+BAqCzB"}
1
+ {"version":3,"file":"SelectableAssetRow.d.ts","sourceRoot":"","sources":["../../../src/components/SelectableAssetRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAMtC,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,MAAM,CAAA;IACZ,4EAA4E;IAC5E,IAAI,EAAE,SAAS,CAAA;IACf,qEAAqE;IACrE,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,OAAO,CAAA;IACjB,kFAAkF;IAClF,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,kBAAkB,EAAE,MAAM,CAAA;CAC3B;AAED,sEAAsE;AACtE,wBAAgB,kBAAkB,CAAC,EACjC,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,QAAgB,EAChB,OAAO,EACP,kBAAkB,GACnB,EAAE,uBAAuB,+BA6CzB"}
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * The disc every fiat step leaves the current screen by (1844:17447).
3
3
  *
4
- * It pays no status-bar inset of its own: every screen that draws it already
5
- * starts below the bar, and insetting again dropped it a full bar past the 5
6
- * the frames leave it — 79 below the Dynamic Island where the design says 16.
4
+ * It pays no status-bar inset of its own — the screen that draws it does, via
5
+ * `useFlowStepFrame`. Insetting here too dropped it a full bar past the 5 the
6
+ * frames leave it: 79 below the Dynamic Island where the design says 16.
7
7
  */
8
8
  export declare function FiatBackButton({ onPress }: {
9
9
  onPress: () => void;
@@ -1,9 +1,14 @@
1
1
  import type { SessionContactField } from './sessionContact';
2
2
  export interface FiatContactScreenProps {
3
- /** What the session transition asks for — a phone number, or an address. */
4
- field: SessionContactField;
3
+ /**
4
+ * What the session transition asks for, in the order it declares it. More
5
+ * than one when the step verifies a number *and* an address.
6
+ */
7
+ fields: readonly SessionContactField[];
5
8
  isSubmitting: boolean;
6
- onChangeContact: (value: string) => void;
9
+ /** Where the buyer is, per the geo lookup: the code the field opens on. */
10
+ defaultCountry?: string;
11
+ onChangeContact: (field: SessionContactField, value: string) => void;
7
12
  onSubmit: () => void;
8
13
  onClose: () => void;
9
14
  }
@@ -11,7 +16,8 @@ export interface FiatContactScreenProps {
11
16
  * Where the code is sent (screen 2's first half).
12
17
  *
13
18
  * Collected before the transition that opens the session, so the step is the
14
- * client's own rather than one the server drives.
19
+ * client's own rather than one the server drives. Every field the step asks
20
+ * for is on it: the session cannot open on a subset.
15
21
  */
16
- export declare function FiatContactScreen({ field, isSubmitting, onChangeContact, onSubmit, onClose, }: FiatContactScreenProps): import("react").JSX.Element;
22
+ export declare function FiatContactScreen({ fields, isSubmitting, defaultCountry, onChangeContact, onSubmit, onClose, }: FiatContactScreenProps): import("react").JSX.Element;
17
23
  //# sourceMappingURL=FiatContactScreen.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FiatContactScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatContactScreen.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AAG3D,MAAM,WAAW,sBAAsB;IACrC,4EAA4E;IAC5E,KAAK,EAAE,mBAAmB,CAAA;IAC1B,YAAY,EAAE,OAAO,CAAA;IACrB,eAAe,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACxC,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,YAAY,EACZ,eAAe,EACf,QAAQ,EACR,OAAO,GACR,EAAE,sBAAsB,+BAkGxB"}
1
+ {"version":3,"file":"FiatContactScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatContactScreen.tsx"],"names":[],"mappings":"AA2BA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AAI3D,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,MAAM,EAAE,SAAS,mBAAmB,EAAE,CAAA;IACtC,YAAY,EAAE,OAAO,CAAA;IACrB,2EAA2E;IAC3E,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,eAAe,EAAE,CAAC,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACpE,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,MAAM,EACN,YAAY,EACZ,cAAc,EACd,eAAe,EACf,QAAQ,EACR,OAAO,GACR,EAAE,sBAAsB,+BA8JxB"}
@@ -0,0 +1,17 @@
1
+ import { Animated } from 'react-native';
2
+ import { type PhoneCountry } from './phoneCountries';
3
+ export interface FiatCountryDockProps {
4
+ selected: PhoneCountry;
5
+ isOpen: boolean;
6
+ /** 0 closed, 1 open — what slides the panel in off the bottom edge. */
7
+ slide: Animated.AnimatedValue;
8
+ /** Keeps the panel clear of the keyboard the filter raises. */
9
+ keyboardHeight: number;
10
+ onSelect: (country: PhoneCountry) => void;
11
+ }
12
+ /**
13
+ * The calling codes, in the keyboard's slot (the slot 1844:17543 gives the
14
+ * date picker — the design draws no phone step of its own).
15
+ */
16
+ export declare function FiatCountryDock({ selected, isOpen, slide, keyboardHeight, onSelect, }: FiatCountryDockProps): import("react").JSX.Element;
17
+ //# sourceMappingURL=FiatCountryDock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FiatCountryDock.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatCountryDock.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAqC,MAAM,cAAc,CAAA;AAO1E,OAAO,EAEL,KAAK,YAAY,EAGlB,MAAM,kBAAkB,CAAA;AAEzB,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,YAAY,CAAA;IACtB,MAAM,EAAE,OAAO,CAAA;IACf,uEAAuE;IACvE,KAAK,EAAE,QAAQ,CAAC,aAAa,CAAA;IAC7B,+DAA+D;IAC/D,cAAc,EAAE,MAAM,CAAA;IACtB,QAAQ,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,CAAA;CAC1C;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EACR,MAAM,EACN,KAAK,EACL,cAAc,EACd,QAAQ,GACT,EAAE,oBAAoB,+BAgGtB"}
@@ -1 +1 @@
1
- {"version":3,"file":"FiatKycIntroScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycIntroScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAiBxD,MAAM,WAAW,uBAAuB;IACtC,0EAA0E;IAC1E,QAAQ,CAAC,EAAE,YAAY,CAAA;IACvB,UAAU,EAAE,MAAM,IAAI,CAAA;IACtB,QAAQ,EAAE,MAAM,IAAI,CAAA;CACrB;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,UAAU,EACV,QAAQ,GACT,EAAE,uBAAuB,+BA6EzB"}
1
+ {"version":3,"file":"FiatKycIntroScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycIntroScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAiBxD,MAAM,WAAW,uBAAuB;IACtC,0EAA0E;IAC1E,QAAQ,CAAC,EAAE,YAAY,CAAA;IACvB,UAAU,EAAE,MAAM,IAAI,CAAA;IACtB,QAAQ,EAAE,MAAM,IAAI,CAAA;CACrB;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,UAAU,EACV,QAAQ,GACT,EAAE,uBAAuB,+BA8EzB"}
@@ -3,8 +3,11 @@ export declare const OTP_CODE_LENGTH = 6;
3
3
  export interface FiatOtpScreenProps {
4
4
  /** Digits the step expects, as the transition declares them. */
5
5
  length?: number;
6
- /** Where the code went. Always known: nothing could have sent it otherwise. */
7
- destination: string;
6
+ /**
7
+ * Where the code went, when the client is the one that supplied it. A round
8
+ * on a channel the entry never collected for has no value to name.
9
+ */
10
+ destination?: string;
8
11
  /** Which channel carried it, as the step reports it. */
9
12
  isSms: boolean;
10
13
  /** The step's own error — a bad code re-enters this same state. */
@@ -1 +1 @@
1
- {"version":3,"file":"FiatOtpScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatOtpScreen.tsx"],"names":[],"mappings":"AAkBA,8EAA8E;AAC9E,eAAO,MAAM,eAAe,IAAI,CAAA;AAEhC,MAAM,WAAW,kBAAkB;IACjC,gEAAgE;IAChE,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,+EAA+E;IAC/E,WAAW,EAAE,MAAM,CAAA;IACnB,wDAAwD;IACxD,KAAK,EAAE,OAAO,CAAA;IACd,mEAAmE;IACnE,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,YAAY,EAAE,OAAO,CAAA;IACrB,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACpC,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,EAC5B,MAAwB,EACxB,WAAW,EACX,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,QAAQ,EACR,OAAO,GACR,EAAE,kBAAkB,+BAmJpB"}
1
+ {"version":3,"file":"FiatOtpScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatOtpScreen.tsx"],"names":[],"mappings":"AAmBA,8EAA8E;AAC9E,eAAO,MAAM,eAAe,IAAI,CAAA;AAEhC,MAAM,WAAW,kBAAkB;IACjC,gEAAgE;IAChE,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,wDAAwD;IACxD,KAAK,EAAE,OAAO,CAAA;IACd,mEAAmE;IACnE,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,YAAY,EAAE,OAAO,CAAA;IACrB,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACpC,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,EAC5B,MAAwB,EACxB,WAAW,EACX,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,QAAQ,EACR,OAAO,GACR,EAAE,kBAAkB,+BAiJpB"}
@@ -0,0 +1,28 @@
1
+ import type { TextInput as RNTextInput } from 'react-native';
2
+ import { type PhoneCountry } from './phoneCountries';
3
+ export interface FiatPhoneFieldProps {
4
+ country: PhoneCountry;
5
+ /** The digits under the code — the wire value less the code itself. */
6
+ national: string;
7
+ /** Whether the country list is up, so the chip can say so. */
8
+ isOpen: boolean;
9
+ autoFocus: boolean;
10
+ /** `undefined` where the pad has no return key to give. */
11
+ returnKeyType?: 'next' | 'done';
12
+ onChangeNational: (national: string) => void;
13
+ onOpenCountries: () => void;
14
+ onSubmitEditing: () => void;
15
+ /** Focusing the digits is choosing them over the list the chip raised. */
16
+ onFocus: () => void;
17
+ onLayoutRef: (input: RNTextInput | null) => void;
18
+ }
19
+ /**
20
+ * A phone number as one field: the calling code chosen on the left, the rest
21
+ * typed on the right.
22
+ *
23
+ * The rail takes E.164 and nothing else, so the code cannot be the user's to
24
+ * remember — the old copy asked them to type it and a local number left
25
+ * Continue dead with no explanation.
26
+ */
27
+ export declare function FiatPhoneField({ country, national, isOpen, autoFocus, returnKeyType, onChangeNational, onOpenCountries, onSubmitEditing, onFocus, onLayoutRef, }: FiatPhoneFieldProps): import("react").JSX.Element;
28
+ //# sourceMappingURL=FiatPhoneField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FiatPhoneField.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatPhoneField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,cAAc,CAAA;AAO5D,OAAO,EAAE,KAAK,YAAY,EAA4B,MAAM,kBAAkB,CAAA;AAE9E,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,YAAY,CAAA;IACrB,uEAAuE;IACvE,QAAQ,EAAE,MAAM,CAAA;IAChB,8DAA8D;IAC9D,MAAM,EAAE,OAAO,CAAA;IACf,SAAS,EAAE,OAAO,CAAA;IAClB,2DAA2D;IAC3D,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC/B,gBAAgB,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IAC5C,eAAe,EAAE,MAAM,IAAI,CAAA;IAC3B,eAAe,EAAE,MAAM,IAAI,CAAA;IAC3B,0EAA0E;IAC1E,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,WAAW,EAAE,CAAC,KAAK,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAA;CACjD;AAED;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,QAAQ,EACR,MAAM,EACN,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,OAAO,EACP,WAAW,GACZ,EAAE,mBAAmB,+BA8DrB"}
@@ -0,0 +1,13 @@
1
+ import type { TermsToAccept } from '@funkit/connect-core';
2
+ export interface FiatTermsNoticeProps {
3
+ terms: TermsToAccept;
4
+ }
5
+ /**
6
+ * The terms the next tap accepts, said before it is taken.
7
+ *
8
+ * The document and its wording come from the step, never from a table here:
9
+ * the routing engine picks a provider per round, and the revision the buyer
10
+ * accepted is what a later dispute is settled against.
11
+ */
12
+ export declare function FiatTermsNotice({ terms }: FiatTermsNoticeProps): import("react").JSX.Element;
13
+ //# sourceMappingURL=FiatTermsNotice.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FiatTermsNotice.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatTermsNotice.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAOzD,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,aAAa,CAAA;CACrB;AAED;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,EAAE,oBAAoB,+BAyB9D"}
@@ -0,0 +1,27 @@
1
+ import type { ContactKind } from './sessionContact';
2
+ /**
3
+ * The number and the address the user has given, held past the round that
4
+ * collected them.
5
+ *
6
+ * A session verifies one channel per round, and the reducer drops what was
7
+ * collected once the round changes — so the code screen has nowhere else to
8
+ * read the destination it names.
9
+ */
10
+ export interface KnownContacts {
11
+ phone?: string;
12
+ email?: string;
13
+ }
14
+ /** Records one answer under the channel it can carry a code on. */
15
+ export declare function rememberContact(known: KnownContacts, kind: ContactKind, value: string): KnownContacts;
16
+ /** Where a round's code went, or `undefined` when the user never gave it. */
17
+ export declare function contactOnChannel(known: KnownContacts, isSms: boolean): string | undefined;
18
+ /**
19
+ * Everything the client can name, the collected value over the host's.
20
+ *
21
+ * The email round goes to the address the host asserted for this user, and
22
+ * `POST /fiat/session` never asks for one — so without the host's own value
23
+ * the screen can only say "your email". Whatever the step did collect wins:
24
+ * that is what actually opened the session.
25
+ */
26
+ export declare function resolveContacts(hostEmail: string | undefined, collected: KnownContacts): KnownContacts;
27
+ //# sourceMappingURL=knownContacts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"knownContacts.d.ts","sourceRoot":"","sources":["../../../src/fiat/knownContacts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAGnD;;;;;;;GAOG;AACH,MAAM,WAAW,aAAa;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,mEAAmE;AACnE,wBAAgB,eAAe,CAC7B,KAAK,EAAE,aAAa,EACpB,IAAI,EAAE,WAAW,EACjB,KAAK,EAAE,MAAM,GACZ,aAAa,CAIf;AAED,6EAA6E;AAC7E,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,aAAa,EACpB,KAAK,EAAE,OAAO,GACb,MAAM,GAAG,SAAS,CAEpB;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC7B,SAAS,EAAE,MAAM,GAAG,SAAS,EAC7B,SAAS,EAAE,aAAa,GACvB,aAAa,CAKf"}
@@ -51,6 +51,14 @@ export declare const KYC_FORM_METRICS: {
51
51
  readonly datePickerInsetY: 12;
52
52
  /** Tighter than over a keyboard: 1844:17471 puts the advance 24 above it. */
53
53
  readonly datePickerGap: 24;
54
+ /**
55
+ * The country list takes the same slot the date picker does — the room the
56
+ * keyboard gives up. It draws no keyboard of its own until the filter is
57
+ * touched, and then it rides above one.
58
+ */
59
+ readonly countryDockHeight: 371;
60
+ /** Between the filter and the list under it. */
61
+ readonly countryDockGap: 12;
54
62
  /** Disc bottom (108) to the headline's line box (181). */
55
63
  readonly introHeadingTop: 73;
56
64
  /** 38/38 with the box 286 wide, which is what wraps it onto two lines. */
@@ -1 +1 @@
1
- {"version":3,"file":"kycFormTheme.d.ts","sourceRoot":"","sources":["../../../src/fiat/kycFormTheme.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,eAAO,MAAM,gBAAgB;IAC3B,oDAAoD;;;;IAIpD,0EAA0E;;IAE1E,kEAAkE;;IAElE,uCAAuC;;;;IAQvC,6CAA6C;;;IAG7C,4EAA4E;;IAE5E,mEAAmE;;;;IAInE,mDAAmD;;IAEnD,iEAAiE;;IAEjE,2BAA2B;;IAE3B,sDAAsD;;IAEtD,mDAAmD;;IAEnD,6EAA6E;;;IAG7E;;;OAGG;;IAEH;;;OAGG;;;;IAIH,6EAA6E;;IAO7E,0DAA0D;;IAE1D,0EAA0E;;;;IAI1E,oDAAoD;;IAEpD,2DAA2D;;;IAG3D;;;OAGG;;IAEH,+DAA+D;;;IAG/D,sEAAsE;;IAEtE,oEAAoE;;IAEpE,yDAAyD;;IAEzD,yEAAyE;;IAEzE,oEAAoE;;;;CAI5D,CAAA"}
1
+ {"version":3,"file":"kycFormTheme.d.ts","sourceRoot":"","sources":["../../../src/fiat/kycFormTheme.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,eAAO,MAAM,gBAAgB;IAC3B,oDAAoD;;;;IAIpD,0EAA0E;;IAE1E,kEAAkE;;IAElE,uCAAuC;;;;IAQvC,6CAA6C;;;IAG7C,4EAA4E;;IAE5E,mEAAmE;;;;IAInE,mDAAmD;;IAEnD,iEAAiE;;IAEjE,2BAA2B;;IAE3B,sDAAsD;;IAEtD,mDAAmD;;IAEnD,6EAA6E;;;IAG7E;;;OAGG;;IAEH;;;OAGG;;;;IAIH,6EAA6E;;IAE7E;;;;OAIG;;IAEH,gDAAgD;;IAOhD,0DAA0D;;IAE1D,0EAA0E;;;;IAI1E,oDAAoD;;IAEpD,2DAA2D;;;IAG3D;;;OAGG;;IAEH,+DAA+D;;;IAG/D,sEAAsE;;IAEtE,oEAAoE;;IAEpE,yDAAyD;;IAEzD,yEAAyE;;IAEzE,oEAAoE;;;;CAI5D,CAAA"}
@@ -1,6 +1,7 @@
1
1
  import type { FiatFlow } from '@funkit/connect-core';
2
2
  import type { TFunction } from 'i18next';
3
3
  import type { FiatOtpScreenProps } from './FiatOtpScreen';
4
+ import type { KnownContacts } from './knownContacts';
4
5
  /**
5
6
  * Binds a `SESSION_AUTH` step response to the code screen.
6
7
  *
@@ -8,10 +9,10 @@ import type { FiatOtpScreenProps } from './FiatOtpScreen';
8
9
  * contract declares them per step, and a step that words them differently
9
10
  * still renders.
10
11
  *
11
- * `undefined` means the step is unanswerable — no CTA, one that collects
12
- * nothing, or nowhere to have sent the code to.
12
+ * `undefined` means the step is unanswerable — no CTA, or one that collects
13
+ * nothing.
13
14
  */
14
15
  export declare function otpScreenProps(flow: FiatFlow, t: TFunction,
15
- /** The number or address the session was opened with; the code went to it. */
16
- destination: string | undefined): Omit<FiatOtpScreenProps, 'onClose'> | undefined;
16
+ /** Every contact the entry collected, so each round can name its own. */
17
+ contacts: KnownContacts): Omit<FiatOtpScreenProps, 'onClose'> | undefined;
17
18
  //# sourceMappingURL=otpScreenProps.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"otpScreenProps.d.ts","sourceRoot":"","sources":["../../../src/fiat/otpScreenProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAoB,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAExC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAEzD;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,QAAQ,EACd,CAAC,EAAE,SAAS;AACZ,8EAA8E;AAC9E,WAAW,EAAE,MAAM,GAAG,SAAS,GAC9B,IAAI,CAAC,kBAAkB,EAAE,SAAS,CAAC,GAAG,SAAS,CAiCjD"}
1
+ {"version":3,"file":"otpScreenProps.d.ts","sourceRoot":"","sources":["../../../src/fiat/otpScreenProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAoB,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAExC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAGpD;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,QAAQ,EACd,CAAC,EAAE,SAAS;AACZ,yEAAyE;AACzE,QAAQ,EAAE,aAAa,GACtB,IAAI,CAAC,kBAAkB,EAAE,SAAS,CAAC,GAAG,SAAS,CAsCjD"}
@@ -0,0 +1,54 @@
1
+ /**
2
+ * Every country a phone number can be issued in, with the calling code it is
3
+ * reached on and the trunk digit it is dialled with at home.
4
+ *
5
+ * The whole ITU list, not the countries whose currency the rail quotes: where
6
+ * a buyer's money comes from says nothing about where their SIM does, and a
7
+ * shorter list makes a valid number unsendable.
8
+ *
9
+ * Generated from libphonenumber's metadata (v4, via libphonenumber-js 1.13.6)
10
+ * and named by `Intl.DisplayNames`. Calling codes and trunk prefixes are ITU
11
+ * and national-regulator facts; regenerate rather than hand-edit a row.
12
+ */
13
+ export interface PhoneCountry {
14
+ /** ISO 3166-1 alpha-2, which is also what the geo lookup answers. */
15
+ alpha2: string;
16
+ /** E.164 calling code, `+` included. */
17
+ dialCode: string;
18
+ /** English name, used when the platform can name no other. */
19
+ name: string;
20
+ /**
21
+ * The digit a national number is dialled with at home and never carries
22
+ * internationally — `0` in most of Europe, `1` in the NANP, `8` in Russia.
23
+ * Absent where the country has none: an Italian number keeps its zero.
24
+ */
25
+ trunkPrefix?: string;
26
+ }
27
+ /** Ordered by English name, which is the order the list draws them in. */
28
+ export declare const PHONE_COUNTRIES: readonly PhoneCountry[];
29
+ export declare function phoneCountry(alpha2: string | undefined): PhoneCountry | undefined;
30
+ /** The country the field opens on, from wherever the buyer is. */
31
+ export declare function defaultPhoneCountry(alpha2: string | undefined): PhoneCountry;
32
+ /**
33
+ * `\u{1F1E6}\u{1F1FA}` from `AU`: alpha-2 letters map onto the
34
+ * regional-indicator block, so the flag needs no asset and no per-country
35
+ * entry.
36
+ */
37
+ export declare function countryFlag(alpha2: string): string;
38
+ /**
39
+ * The country's name in the app's language.
40
+ *
41
+ * Read off the platform rather than the translation files: 245 countries in 8
42
+ * locales is copy nobody would review, and every runtime that ships ICU
43
+ * already knows them. The table's English is the fallback where it does not.
44
+ */
45
+ export declare function countryName(country: PhoneCountry, locale: string): string;
46
+ /**
47
+ * The wire value: the code and the digits typed under it, with nothing
48
+ * between. An unanswered field stays empty rather than becoming a bare code —
49
+ * `+61` alone is not an incomplete number, it is no number.
50
+ */
51
+ export declare function toE164(country: PhoneCountry, national: string): string;
52
+ /** What the box shows: the wire value less the code the chip already draws. */
53
+ export declare function nationalPart(value: string, country: PhoneCountry): string;
54
+ //# sourceMappingURL=phoneCountries.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"phoneCountries.d.ts","sourceRoot":"","sources":["../../../src/fiat/phoneCountries.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,YAAY;IAC3B,qEAAqE;IACrE,MAAM,EAAE,MAAM,CAAA;IACd,wCAAwC;IACxC,QAAQ,EAAE,MAAM,CAAA;IAChB,8DAA8D;IAC9D,IAAI,EAAE,MAAM,CAAA;IACZ;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AA6PD,0EAA0E;AAC1E,eAAO,MAAM,eAAe,EAAE,SAAS,YAAY,EAOlD,CAAA;AAKD,wBAAgB,YAAY,CAC1B,MAAM,EAAE,MAAM,GAAG,SAAS,GACzB,YAAY,GAAG,SAAS,CAM1B;AAED,kEAAkE;AAClE,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,YAAY,CAE5E;AAMD;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAMlD;AAID;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAEzE;AAqBD;;;;GAIG;AACH,wBAAgB,MAAM,CAAC,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAGtE;AAkBD,+EAA+E;AAC/E,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,GAAG,MAAM,CAIzE"}
@@ -0,0 +1,23 @@
1
+ export interface CoinbaseCheckoutSurfaceProps {
2
+ checkoutUrl: string;
3
+ /** Log context only — the contract says URL surfaces may carry none. */
4
+ environment: string;
5
+ /** The user paid; what happens to the money is the order's to report. */
6
+ onPaid: () => void;
7
+ onFailed: (code: string, detail?: string) => void;
8
+ onClose: () => void;
9
+ }
10
+ /**
11
+ * Coinbase's hosted Apple Pay page, shown as the payment screen.
12
+ *
13
+ * Their page draws its own Apple Pay button and waits for a real tap on it.
14
+ * Pressing it from injected script reaches `pending_payment_auth` and stops —
15
+ * the sheet never opens — so the button is the user's to press.
16
+ *
17
+ * - nothing covers the page: an overlay waiting on `load_success` is what
18
+ * hid it, and their button is the only control that opens the sheet
19
+ * - a cancelled sheet leaves the page loaded and the button live, so pressing
20
+ * it again opens the sheet rather than re-running the order
21
+ */
22
+ export declare function CoinbaseCheckoutSurface({ checkoutUrl, environment, onPaid, onFailed, onClose, }: CoinbaseCheckoutSurfaceProps): import("react").JSX.Element;
23
+ //# sourceMappingURL=CoinbaseCheckoutSurface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CoinbaseCheckoutSurface.d.ts","sourceRoot":"","sources":["../../../../src/fiat/providers/CoinbaseCheckoutSurface.tsx"],"names":[],"mappings":"AAcA,MAAM,WAAW,4BAA4B;IAC3C,WAAW,EAAE,MAAM,CAAA;IACnB,wEAAwE;IACxE,WAAW,EAAE,MAAM,CAAA;IACnB,yEAAyE;IACzE,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IACjD,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,WAAW,EACX,WAAW,EACX,MAAM,EACN,QAAQ,EACR,OAAO,GACR,EAAE,4BAA4B,+BAmH9B"}
@@ -14,8 +14,14 @@ export interface SurfaceContext {
14
14
  placement: 'INLINE' | 'SCREEN';
15
15
  /** Uncovers an `EMBEDDED` widget; a handoff has nothing to announce. */
16
16
  onReady: () => void;
17
- /** The provider gave up on this attempt; its machine will not recover. */
18
- onFailed: (code: string) => void;
17
+ /**
18
+ * The provider gave up on this attempt; its machine will not recover.
19
+ *
20
+ * `detail` is one sentence the user can act on. Only the adapter can write
21
+ * it: the codes are the provider's vocabulary, and a screen that mapped
22
+ * them would carry every provider's.
23
+ */
24
+ onFailed: (code: string, detail?: string) => void;
19
25
  /** Leaves the flow — a handoff draws its own chrome, close included. */
20
26
  onClose: () => void;
21
27
  report: (result: SurfaceResult) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../../src/fiat/providers/adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAClE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC;;;;;;;GAOG;AACH,MAAM,MAAM,mBAAmB,GAAG,UAAU,GAAG,SAAS,CAAA;AAExD,8DAA8D;AAC9D,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,QAAQ,GAAG,QAAQ,CAAA;IAC9B,wEAAwE;IACxE,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,0EAA0E;IAC1E,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IAChC,wEAAwE;IACxE,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,MAAM,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,IAAI,CAAA;CACxC;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,mBAAmB,CAAA;IAC5B,MAAM,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,SAAS,CAAA;CAC/C;AAED;;;;;;;;GAQG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,EAAE,OAAO,KAAK,cAAc,GAAG,SAAS,CAAA"}
1
+ {"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../../src/fiat/providers/adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAClE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC;;;;;;;GAOG;AACH,MAAM,MAAM,mBAAmB,GAAG,UAAU,GAAG,SAAS,CAAA;AAExD,8DAA8D;AAC9D,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,QAAQ,GAAG,QAAQ,CAAA;IAC9B,wEAAwE;IACxE,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB;;;;;;OAMG;IACH,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IACjD,wEAAwE;IACxE,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,MAAM,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,IAAI,CAAA;CACxC;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,mBAAmB,CAAA;IAC5B,MAAM,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,SAAS,CAAA;CAC/C;AAED;;;;;;;;GAQG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,EAAE,OAAO,KAAK,cAAc,GAAG,SAAS,CAAA"}
@@ -0,0 +1,8 @@
1
+ import type { SurfaceAdapter } from './adapter';
2
+ /**
3
+ * Coinbase's order arrives already made, with a hosted page that takes the
4
+ * payment. It runs in the app rather than the browser: a deposit that hands
5
+ * the user to Safari cannot see how it ends.
6
+ */
7
+ export declare const coinbaseApplePay: SurfaceAdapter;
8
+ //# sourceMappingURL=coinbaseApplePay.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"coinbaseApplePay.d.ts","sourceRoot":"","sources":["../../../../src/fiat/providers/coinbaseApplePay.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AA0C/C;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,EAAE,cAkB9B,CAAA"}
@@ -0,0 +1,37 @@
1
+ /**
2
+ * What Coinbase's payment page says about itself, as the client acts on it.
3
+ *
4
+ * The page posts one-directional events; nothing answers them. Everything
5
+ * past `PAID` — their own status polling — belongs to the order, which this
6
+ * flow already polls, so those arrive as progress and nothing more.
7
+ */
8
+ export type CoinbaseOnrampEvent =
9
+ /** The pay button is drawn and can be pressed. */
10
+ {
11
+ kind: 'READY';
12
+ }
13
+ /** The user paid and the transaction started. */
14
+ | {
15
+ kind: 'PAID';
16
+ }
17
+ /** The user dismissed the payment sheet; the button is still there. */
18
+ | {
19
+ kind: 'CANCELLED';
20
+ }
21
+ /** Terminal for this page: the code is Coinbase's, and localized. */
22
+ | {
23
+ kind: 'FAILED';
24
+ code: string;
25
+ message?: string;
26
+ }
27
+ /** Named for the log, acted on by nothing. */
28
+ | {
29
+ kind: 'PROGRESS';
30
+ name: string;
31
+ };
32
+ /**
33
+ * Reads one posted message, or `undefined` for anything this page did not
34
+ * send — a WebView's message channel is shared with whatever the page loads.
35
+ */
36
+ export declare function readOnrampEvent(raw: string): CoinbaseOnrampEvent | undefined;
37
+ //# sourceMappingURL=coinbaseOnrampEvents.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"coinbaseOnrampEvents.d.ts","sourceRoot":"","sources":["../../../../src/fiat/providers/coinbaseOnrampEvents.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,MAAM,mBAAmB;AAC7B,kDAAkD;AAChD;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE;AACnB,iDAAiD;GAC/C;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE;AAClB,uEAAuE;GACrE;IAAE,IAAI,EAAE,WAAW,CAAA;CAAE;AACvB,qEAAqE;GACnE;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE;AACpD,8CAA8C;GAC5C;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAA;AAYtC;;;GAGG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,mBAAmB,GAAG,SAAS,CAsB5E"}
@@ -1 +1 @@
1
- {"version":3,"file":"renderCaptureSurface.d.ts","sourceRoot":"","sources":["../../../src/fiat/renderCaptureSurface.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,KAAK,EAEV,cAAc,EACd,cAAc,EACd,mBAAmB,EACpB,MAAM,qBAAqB,CAAA;AAiC5B;;;GAGG;AACH,wBAAgB,cAAc,CAC5B,OAAO,EAAE,OAAO,GACf,mBAAmB,GAAG,SAAS,CAEjC;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,OAAO,EACP,QAAQ,EACR,GAAG,OAAO,EACX,EAAE,cAAc,GAAG;IAClB,OAAO,EAAE,OAAO,CAAA;IAChB,QAAQ,CAAC,EAAE,SAAS,cAAc,EAAE,CAAA;CACrC,GAAG,SAAS,CAEZ"}
1
+ {"version":3,"file":"renderCaptureSurface.d.ts","sourceRoot":"","sources":["../../../src/fiat/renderCaptureSurface.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,KAAK,EAEV,cAAc,EACd,cAAc,EACd,mBAAmB,EACpB,MAAM,qBAAqB,CAAA;AAmC5B;;;GAGG;AACH,wBAAgB,cAAc,CAC5B,OAAO,EAAE,OAAO,GACf,mBAAmB,GAAG,SAAS,CAEjC;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,OAAO,EACP,QAAQ,EACR,GAAG,OAAO,EACX,EAAE,cAAc,GAAG;IAClB,OAAO,EAAE,OAAO,CAAA;IAChB,QAAQ,CAAC,EAAE,SAAS,cAAc,EAAE,CAAA;CACrC,GAAG,SAAS,CAEZ"}
@@ -9,14 +9,18 @@ export interface SessionContactField {
9
9
  regex?: string;
10
10
  }
11
11
  /**
12
- * The one value the session-opening transition asks the user for.
12
+ * Every value the session-opening transition asks the user for, in the order
13
+ * it declares them.
13
14
  *
14
- * Taken from whatever single `TEXT` input the transition declares, whatever it
15
- * is named: the name is the body key, so gating on a known name is how the
16
- * client stops sending a field the server asked for.
15
+ * All of them: a step that wants a number *and* an address verifies each on a
16
+ * round of its own, and collecting only the first opens a session the server
17
+ * cannot finish. The name is the body key, so gating on a known name is how
18
+ * the client stops sending a field the server asked for.
17
19
  */
18
- export declare function sessionContactField(entry: EntryCta): SessionContactField | undefined;
20
+ export declare function sessionContactFields(entry: EntryCta): readonly SessionContactField[];
19
21
  export declare function isUnfamiliarContactName(name: string): boolean;
22
+ /** Nothing opens the session until every field it declares is answered. */
23
+ export declare function areContactsComplete(fields: readonly SessionContactField[], values: Readonly<Record<string, string>>): boolean;
20
24
  /**
21
25
  * A number always has to be E.164 — `/fiat/*` rejects anything else on any
22
26
  * route, so it is the rule whether or not this step restates it. A pattern the
@@ -1 +1 @@
1
- {"version":3,"file":"sessionContact.d.ts","sourceRoot":"","sources":["../../../src/fiat/sessionContact.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAGpD,wEAAwE;AACxE,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,OAAO,CAAA;AAE3C,MAAM,WAAW,mBAAmB;IAClC,+EAA+E;IAC/E,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,WAAW,CAAA;IACjB,gEAAgE;IAChE,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,QAAQ,GACd,mBAAmB,GAAG,SAAS,CAgBjC;AAgBD,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAE7D;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,mBAAmB,EAC1B,KAAK,EAAE,MAAM,GACZ,OAAO,CAYT;AAkBD;;;GAGG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAErD"}
1
+ {"version":3,"file":"sessionContact.d.ts","sourceRoot":"","sources":["../../../src/fiat/sessionContact.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAGpD,wEAAwE;AACxE,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,OAAO,CAAA;AAE3C,MAAM,WAAW,mBAAmB;IAClC,+EAA+E;IAC/E,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,WAAW,CAAA;IACjB,gEAAgE;IAChE,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,QAAQ,GACd,SAAS,mBAAmB,EAAE,CAWhC;AAgBD,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAE7D;AAED,2EAA2E;AAC3E,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,SAAS,mBAAmB,EAAE,EACtC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GACvC,OAAO,CAIT;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,mBAAmB,EAC1B,KAAK,EAAE,MAAM,GACZ,OAAO,CAYT;AAkBD;;;GAGG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAErD"}
@@ -0,0 +1,21 @@
1
+ import { Animated } from 'react-native';
2
+ export interface CountryDock {
3
+ /**
4
+ * The field the list answers. Kept after it closes: the panel has to stay
5
+ * mounted to slide back out, the way the date picker's does.
6
+ */
7
+ fieldName?: string;
8
+ isOpen: boolean;
9
+ open: (fieldName: string) => void;
10
+ close: () => void;
11
+ /** 0 closed, 1 open, on the keyboard's own curve. */
12
+ slide: Animated.Value;
13
+ }
14
+ /**
15
+ * The country list a phone field raises, in the keyboard's slot.
16
+ *
17
+ * Opening it drops the keyboard first: the list is taking that room, and two
18
+ * panels sliding past each other reads as a glitch.
19
+ */
20
+ export declare function useCountryDock(): CountryDock;
21
+ //# sourceMappingURL=useCountryDock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCountryDock.d.ts","sourceRoot":"","sources":["../../../src/fiat/useCountryDock.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAoB,MAAM,cAAc,CAAA;AAEzD,MAAM,WAAW,WAAW;IAC1B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,OAAO,CAAA;IACf,IAAI,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,KAAK,EAAE,MAAM,IAAI,CAAA;IACjB,qDAAqD;IACrD,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAA;CACtB;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,IAAI,WAAW,CA2B5C"}
@@ -15,8 +15,9 @@ export interface StaleQuoteRecovery {
15
15
  * one, and what the user typed rides on the flow rather than the round.
16
16
  * - Automatic once, then only when asked. A provider that declined answers
17
17
  * with the same 404, so a self-driven loop never reaches a different answer.
18
- * - Entry only. Past it a new price has no session behind it, and the round
19
- * has to start again.
18
+ * - Only while the client owns the quote. Once the flow holds a round the
19
+ * query is off, so there is no replacement to wait for, and the way to a new
20
+ * price is giving the round up.
20
21
  */
21
22
  export declare function useStaleQuoteRecovery(flow: RecoverableFlow, quote: RecoverableQuote): StaleQuoteRecovery;
22
23
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"useStaleQuoteRecovery.d.ts","sourceRoot":"","sources":["../../../src/fiat/useStaleQuoteRecovery.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAMxE,KAAK,eAAe,GAAG,IAAI,CAAC,QAAQ,EAAE,OAAO,GAAG,aAAa,GAAG,cAAc,CAAC,CAAA;AAE/E,KAAK,gBAAgB,GAAG,IAAI,CAC1B,kBAAkB,EAClB,OAAO,GAAG,cAAc,GAAG,YAAY,GAAG,YAAY,GAAG,aAAa,CACvE,CAAA;AAED,MAAM,WAAW,kBAAkB;IACjC,oEAAoE;IACpE,WAAW,EAAE,OAAO,CAAA;IACpB,uEAAuE;IACvE,YAAY,EAAE,MAAM,IAAI,CAAA;CACzB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,eAAe,EACrB,KAAK,EAAE,gBAAgB,GACtB,kBAAkB,CAwEpB"}
1
+ {"version":3,"file":"useStaleQuoteRecovery.d.ts","sourceRoot":"","sources":["../../../src/fiat/useStaleQuoteRecovery.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAMxE,KAAK,eAAe,GAAG,IAAI,CAAC,QAAQ,EAAE,OAAO,GAAG,aAAa,GAAG,cAAc,CAAC,CAAA;AAE/E,KAAK,gBAAgB,GAAG,IAAI,CAC1B,kBAAkB,EAClB,OAAO,GAAG,cAAc,GAAG,YAAY,GAAG,YAAY,GAAG,aAAa,CACvE,CAAA;AAED,MAAM,WAAW,kBAAkB;IACjC,oEAAoE;IACpE,WAAW,EAAE,OAAO,CAAA;IACpB,uEAAuE;IACvE,YAAY,EAAE,MAAM,IAAI,CAAA;CACzB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,eAAe,EACrB,KAAK,EAAE,gBAAgB,GACtB,kBAAkB,CAwEpB"}
@@ -1 +1 @@
1
- {"version":3,"file":"FiatDepositAmountStep.d.ts","sourceRoot":"","sources":["../../../src/flow/FiatDepositAmountStep.tsx"],"names":[],"mappings":"AA6DA,OAAO,KAAK,EACV,wBAAwB,EACxB,qBAAqB,EACrB,cAAc,EACf,MAAM,qBAAqB,CAAA;AAiB5B,wBAAgB,qBAAqB,CAAC,EACpC,MAAM,EACN,IAAI,EACJ,cAAc,EACd,gBAAgB,EAChB,WAAW,GACZ,EAAE;IACD,MAAM,EAAE,wBAAwB,CAAA;IAChC,IAAI,EAAE,cAAc,CAAA;IACpB,cAAc,EAAE,qBAAqB,GAAG,SAAS,CAAA;IACjD,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAA;IACpC,WAAW,EAAE,MAAM,IAAI,CAAA;CACxB,+BAiBA"}
1
+ {"version":3,"file":"FiatDepositAmountStep.d.ts","sourceRoot":"","sources":["../../../src/flow/FiatDepositAmountStep.tsx"],"names":[],"mappings":"AAwEA,OAAO,KAAK,EACV,wBAAwB,EACxB,qBAAqB,EACrB,cAAc,EACf,MAAM,qBAAqB,CAAA;AAuB5B,wBAAgB,qBAAqB,CAAC,EACpC,MAAM,EACN,IAAI,EACJ,cAAc,EACd,gBAAgB,EAChB,WAAW,GACZ,EAAE;IACD,MAAM,EAAE,wBAAwB,CAAA;IAChC,IAAI,EAAE,cAAc,CAAA;IACpB,cAAc,EAAE,qBAAqB,GAAG,SAAS,CAAA;IACjD,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAA;IACpC,WAAW,EAAE,MAAM,IAAI,CAAA;CACxB,+BAiBA"}
@@ -4,4 +4,14 @@
4
4
  * that cap (`topInset={0}`) and takes the whole window instead.
5
5
  */
6
6
  export declare function useNestedSheetHeight(): number;
7
+ /**
8
+ * Fills a `FlowSheet` step, which waives that cap (`topInset={0}`) and spans
9
+ * the whole window — so the step owes the inset its sheet no longer pays.
10
+ * Without it the first thing a step draws, the back disc, sits under the
11
+ * status bar.
12
+ */
13
+ export declare function useFlowStepFrame(): {
14
+ height: number;
15
+ paddingTop: number;
16
+ };
7
17
  //# sourceMappingURL=useNestedSheetHeight.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useNestedSheetHeight.d.ts","sourceRoot":"","sources":["../../../src/hooks/useNestedSheetHeight.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,wBAAgB,oBAAoB,WAInC"}
1
+ {"version":3,"file":"useNestedSheetHeight.d.ts","sourceRoot":"","sources":["../../../src/hooks/useNestedSheetHeight.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,wBAAgB,oBAAoB,WAInC;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB;;;EAI/B"}
@@ -14,7 +14,7 @@ export interface FunkitIdentity {
14
14
  walletAddress: string;
15
15
  /** How the user authenticated, if known (analytics only). */
16
16
  loginType?: string;
17
- /** Email prefilled into the Swapped fiat ramp, when the host supplies one. */
17
+ /** The host's email for this user; see {@link FunkitConfig.prefillFiatEmail}. */
18
18
  prefillFiatEmail?: string;
19
19
  /** See {@link FunkitConfig.hideCryptoDeposit}. Defaulted to false here. */
20
20
  hideCryptoDeposit: boolean;
@@ -41,9 +41,13 @@ export interface FunkitConfig {
41
41
  /** How the user authenticated, if known (analytics only). */
42
42
  loginType?: string;
43
43
  /**
44
- * Email prefilled into the Swapped fiat onramp/offramp so the user doesn't
45
- * retype it (web parity). Validated at the `/fops` boundary and dropped when
46
- * invalid — it never blocks the flow.
44
+ * The host's email for this user. Prefilled into the Swapped fiat
45
+ * onramp/offramp so it need not be retyped (web parity).
46
+ *
47
+ * Alongside {@link FunkitConfig.getIdentityAssertion} it is also the address
48
+ * a fiat code screen names, since the assertion is what declares this user
49
+ * to the rail — so set it to the email that assertion carries. Dropped when
50
+ * it is not an address; it never blocks a flow.
47
51
  */
48
52
  prefillFiatEmail?: string;
49
53
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"IdentityContext.d.ts","sourceRoot":"","sources":["../../../src/identity/IdentityContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAA6B,MAAM,OAAO,CAAA;AAIjE;;;;;GAKG;AACH,MAAM,WAAW,cAAc;IAC7B,sBAAsB;IACtB,MAAM,EAAE,MAAM,CAAA;IACd,sCAAsC;IACtC,MAAM,EAAE,MAAM,CAAA;IACd,8DAA8D;IAC9D,aAAa,EAAE,MAAM,CAAA;IACrB,6DAA6D;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,8EAA8E;IAC9E,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,2EAA2E;IAC3E,iBAAiB,EAAE,OAAO,CAAA;IAC1B,qDAAqD;IACrD,oBAAoB,CAAC,EAAE,MAAM,OAAO,CAAC,MAAM,CAAC,CAAA;CAC7C;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,YAAY;IAC3B,sBAAsB;IACtB,MAAM,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,6DAA6D;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB;;;;;OAKG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,0EAA0E;IAC1E,oBAAoB,CAAC,EAAE,MAAM,OAAO,CAAC,MAAM,CAAC,CAAA;CAC7C;AAgBD;;;GAGG;AACH,eAAO,MAAM,oBAAoB,OAAO,CAAA;AASxC;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAQ1E;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,YAAY,EACpB,aAAa,EAAE,MAAM,GAAG,SAAS,GAChC,cAAc,CAchB;AAID,wBAAgB,sBAAsB,CAAC,EACrC,QAAQ,EACR,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,cAAc,CAAA;IACxB,QAAQ,EAAE,SAAS,CAAA;CACpB,+BAMA;AAED,wBAAgB,iBAAiB,IAAI,cAAc,CAQlD"}
1
+ {"version":3,"file":"IdentityContext.d.ts","sourceRoot":"","sources":["../../../src/identity/IdentityContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAA6B,MAAM,OAAO,CAAA;AAIjE;;;;;GAKG;AACH,MAAM,WAAW,cAAc;IAC7B,sBAAsB;IACtB,MAAM,EAAE,MAAM,CAAA;IACd,sCAAsC;IACtC,MAAM,EAAE,MAAM,CAAA;IACd,8DAA8D;IAC9D,aAAa,EAAE,MAAM,CAAA;IACrB,6DAA6D;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,iFAAiF;IACjF,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,2EAA2E;IAC3E,iBAAiB,EAAE,OAAO,CAAA;IAC1B,qDAAqD;IACrD,oBAAoB,CAAC,EAAE,MAAM,OAAO,CAAC,MAAM,CAAC,CAAA;CAC7C;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,YAAY;IAC3B,sBAAsB;IACtB,MAAM,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,6DAA6D;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;;;;;;OAQG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB;;;;;OAKG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,0EAA0E;IAC1E,oBAAoB,CAAC,EAAE,MAAM,OAAO,CAAC,MAAM,CAAC,CAAA;CAC7C;AAgBD;;;GAGG;AACH,eAAO,MAAM,oBAAoB,OAAO,CAAA;AASxC;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAQ1E;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,YAAY,EACpB,aAAa,EAAE,MAAM,GAAG,SAAS,GAChC,cAAc,CAchB;AAID,wBAAgB,sBAAsB,CAAC,EACrC,QAAQ,EACR,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,cAAc,CAAA;IACxB,QAAQ,EAAE,SAAS,CAAA;CACpB,+BAMA;AAED,wBAAgB,iBAAiB,IAAI,cAAc,CAQlD"}
@@ -42,6 +42,11 @@ export interface DepositAmountScreenProps {
42
42
  methodBadge?: ReactNode;
43
43
  /** Banner between the header and the amount, e.g. an identity hold. */
44
44
  notice?: ReactNode;
45
+ /**
46
+ * A line the action needs read before it is taken, sat directly above the
47
+ * button rather than beside the title — terms, most often.
48
+ */
49
+ disclosure?: ReactNode;
45
50
  submitLabel: string;
46
51
  canSubmit: boolean;
47
52
  onSubmit: () => void;
@@ -61,5 +66,5 @@ export interface DepositAmountScreenProps {
61
66
  * limit — answers with a side-to-side shake, a brief warning tint and a haptic
62
67
  * instead of changing the value.
63
68
  */
64
- export declare function DepositAmountScreen({ title, brandIcon, accountContext, input, onChangeInput, quickAmounts, limitUsd, fee, feePending, onPressFee, feeAccessibilityLabel, methodBadge, notice, submitLabel, canSubmit, onSubmit, renderSubmit, amountAccessibilityLabel, backspaceAccessibilityLabel, showAttribution, }: DepositAmountScreenProps): import("react").JSX.Element;
69
+ export declare function DepositAmountScreen({ title, brandIcon, accountContext, input, onChangeInput, quickAmounts, limitUsd, fee, feePending, onPressFee, feeAccessibilityLabel, methodBadge, notice, disclosure, submitLabel, canSubmit, onSubmit, renderSubmit, amountAccessibilityLabel, backspaceAccessibilityLabel, showAttribution, }: DepositAmountScreenProps): import("react").JSX.Element;
65
70
  //# sourceMappingURL=DepositAmountScreen.d.ts.map