@funkit/connect-rn 4.3.0 → 6.0.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 (250) hide show
  1. package/CHANGELOG.md +166 -0
  2. package/dist/{chunk-PIAR365R.js → chunk-4ELC2W4D.js} +492 -58
  3. package/dist/chunk-4ELC2W4D.js.map +7 -0
  4. package/dist/{chunk-5YSMFPBG.js → chunk-XTK6HGJL.js} +2 -2
  5. package/dist/clients/lighter.js +1 -1
  6. package/dist/clients/nado.js +4 -4
  7. package/dist/clients/nado.js.map +2 -2
  8. package/dist/index.d.ts +1 -1
  9. package/dist/index.d.ts.map +1 -1
  10. package/dist/index.js +7731 -3084
  11. package/dist/index.js.map +4 -4
  12. package/dist/src/components/ActionLoading.d.ts +19 -0
  13. package/dist/src/components/ActionLoading.d.ts.map +1 -0
  14. package/dist/src/components/DepositActionMotion.d.ts +43 -0
  15. package/dist/src/components/DepositActionMotion.d.ts.map +1 -0
  16. package/dist/src/components/LoadingSpinner.d.ts +23 -0
  17. package/dist/src/components/LoadingSpinner.d.ts.map +1 -0
  18. package/dist/src/components/PillButton.d.ts +1 -1
  19. package/dist/src/components/PillButton.d.ts.map +1 -1
  20. package/dist/src/components/v2/AccountBalanceChip.d.ts.map +1 -1
  21. package/dist/src/components/v2/AmountDisplay.d.ts +2 -8
  22. package/dist/src/components/v2/AmountDisplay.d.ts.map +1 -1
  23. package/dist/src/components/v2/NumPad.d.ts +3 -4
  24. package/dist/src/components/v2/NumPad.d.ts.map +1 -1
  25. package/dist/src/components/v2/QuickAmountsRow.d.ts +3 -3
  26. package/dist/src/components/v2/QuickAmountsRow.d.ts.map +1 -1
  27. package/dist/src/fiat/FiatActionButton.d.ts +3 -0
  28. package/dist/src/fiat/FiatActionButton.d.ts.map +1 -0
  29. package/dist/src/fiat/FiatBirthDateField.d.ts +9 -0
  30. package/dist/src/fiat/FiatBirthDateField.d.ts.map +1 -0
  31. package/dist/src/fiat/FiatChoiceField.d.ts +16 -0
  32. package/dist/src/fiat/FiatChoiceField.d.ts.map +1 -0
  33. package/dist/src/fiat/FiatChoiceList.d.ts +19 -0
  34. package/dist/src/fiat/FiatChoiceList.d.ts.map +1 -0
  35. package/dist/src/fiat/FiatContactScreen.d.ts +17 -1
  36. package/dist/src/fiat/FiatContactScreen.d.ts.map +1 -1
  37. package/dist/src/fiat/FiatCountrySheet.d.ts +18 -0
  38. package/dist/src/fiat/FiatCountrySheet.d.ts.map +1 -0
  39. package/dist/src/fiat/FiatDocumentCaptureStep.d.ts +9 -0
  40. package/dist/src/fiat/FiatDocumentCaptureStep.d.ts.map +1 -0
  41. package/dist/src/fiat/FiatErrorNotice.d.ts +4 -0
  42. package/dist/src/fiat/FiatErrorNotice.d.ts.map +1 -0
  43. package/dist/src/fiat/FiatFormAdvance.d.ts +18 -6
  44. package/dist/src/fiat/FiatFormAdvance.d.ts.map +1 -1
  45. package/dist/src/fiat/FiatFormFieldRow.d.ts +10 -5
  46. package/dist/src/fiat/FiatFormFieldRow.d.ts.map +1 -1
  47. package/dist/src/fiat/FiatFormScreen.d.ts +12 -3
  48. package/dist/src/fiat/FiatFormScreen.d.ts.map +1 -1
  49. package/dist/src/fiat/FiatIdentityStep.d.ts +3 -0
  50. package/dist/src/fiat/FiatIdentityStep.d.ts.map +1 -0
  51. package/dist/src/fiat/FiatKycFieldControl.d.ts +10 -0
  52. package/dist/src/fiat/FiatKycFieldControl.d.ts.map +1 -0
  53. package/dist/src/fiat/FiatKycIntroScreen.d.ts +7 -10
  54. package/dist/src/fiat/FiatKycIntroScreen.d.ts.map +1 -1
  55. package/dist/src/fiat/FiatKycNotice.d.ts +10 -5
  56. package/dist/src/fiat/FiatKycNotice.d.ts.map +1 -1
  57. package/dist/src/fiat/FiatKycOptionRow.d.ts +15 -0
  58. package/dist/src/fiat/FiatKycOptionRow.d.ts.map +1 -0
  59. package/dist/src/fiat/FiatKycOptionsScreen.d.ts +21 -0
  60. package/dist/src/fiat/FiatKycOptionsScreen.d.ts.map +1 -0
  61. package/dist/src/fiat/FiatKycOutcomeScreen.d.ts +11 -0
  62. package/dist/src/fiat/FiatKycOutcomeScreen.d.ts.map +1 -0
  63. package/dist/src/fiat/FiatKycPosition.d.ts +5 -0
  64. package/dist/src/fiat/FiatKycPosition.d.ts.map +1 -0
  65. package/dist/src/fiat/FiatOtpScreen.d.ts +7 -1
  66. package/dist/src/fiat/FiatOtpScreen.d.ts.map +1 -1
  67. package/dist/src/fiat/FiatPendingOrderScreen.d.ts +7 -0
  68. package/dist/src/fiat/FiatPendingOrderScreen.d.ts.map +1 -0
  69. package/dist/src/fiat/FiatPhoneField.d.ts +3 -2
  70. package/dist/src/fiat/FiatPhoneField.d.ts.map +1 -1
  71. package/dist/src/fiat/FiatSsnField.d.ts +13 -0
  72. package/dist/src/fiat/FiatSsnField.d.ts.map +1 -0
  73. package/dist/src/fiat/FiatStatusScreen.d.ts +7 -2
  74. package/dist/src/fiat/FiatStatusScreen.d.ts.map +1 -1
  75. package/dist/src/fiat/FiatSubmissionIndicator.d.ts +2 -0
  76. package/dist/src/fiat/FiatSubmissionIndicator.d.ts.map +1 -0
  77. package/dist/src/fiat/FiatTermsNotice.d.ts +1 -7
  78. package/dist/src/fiat/FiatTermsNotice.d.ts.map +1 -1
  79. package/dist/src/fiat/KycGlassBackdrop.d.ts +3 -0
  80. package/dist/src/fiat/KycGlassBackdrop.d.ts.map +1 -0
  81. package/dist/src/fiat/SurfaceSlot.d.ts +17 -4
  82. package/dist/src/fiat/SurfaceSlot.d.ts.map +1 -1
  83. package/dist/src/fiat/countrySections.d.ts +25 -0
  84. package/dist/src/fiat/countrySections.d.ts.map +1 -0
  85. package/dist/src/fiat/formLayout.d.ts +5 -6
  86. package/dist/src/fiat/formLayout.d.ts.map +1 -1
  87. package/dist/src/fiat/formValidationError.d.ts +13 -0
  88. package/dist/src/fiat/formValidationError.d.ts.map +1 -0
  89. package/dist/src/fiat/isAdditionalKycForm.d.ts +8 -0
  90. package/dist/src/fiat/isAdditionalKycForm.d.ts.map +1 -0
  91. package/dist/src/fiat/kycFieldValidators.d.ts +11 -0
  92. package/dist/src/fiat/kycFieldValidators.d.ts.map +1 -0
  93. package/dist/src/fiat/kycFormAttempt.d.ts +34 -0
  94. package/dist/src/fiat/kycFormAttempt.d.ts.map +1 -0
  95. package/dist/src/fiat/kycFormPosition.d.ts +4 -0
  96. package/dist/src/fiat/kycFormPosition.d.ts.map +1 -0
  97. package/dist/src/fiat/kycFormState.d.ts +41 -0
  98. package/dist/src/fiat/kycFormState.d.ts.map +1 -0
  99. package/dist/src/fiat/kycFormTheme.d.ts +21 -13
  100. package/dist/src/fiat/kycFormTheme.d.ts.map +1 -1
  101. package/dist/src/fiat/kycSupport.d.ts +2 -0
  102. package/dist/src/fiat/kycSupport.d.ts.map +1 -0
  103. package/dist/src/fiat/kycUnavailableAlert.d.ts +8 -0
  104. package/dist/src/fiat/kycUnavailableAlert.d.ts.map +1 -0
  105. package/dist/src/fiat/legalLinks.d.ts +7 -2
  106. package/dist/src/fiat/legalLinks.d.ts.map +1 -1
  107. package/dist/src/fiat/nativeDatePicker.d.ts +1 -1
  108. package/dist/src/fiat/nativeDatePicker.d.ts.map +1 -1
  109. package/dist/src/fiat/otpScreenProps.d.ts.map +1 -1
  110. package/dist/src/fiat/phoneCountries.d.ts +9 -2
  111. package/dist/src/fiat/phoneCountries.d.ts.map +1 -1
  112. package/dist/src/fiat/phoneDraft.d.ts +17 -0
  113. package/dist/src/fiat/phoneDraft.d.ts.map +1 -0
  114. package/dist/src/fiat/providers/CoinbaseCheckoutSurface.d.ts +11 -8
  115. package/dist/src/fiat/providers/CoinbaseCheckoutSurface.d.ts.map +1 -1
  116. package/dist/src/fiat/providers/HostedControlFrame.d.ts +23 -0
  117. package/dist/src/fiat/providers/HostedControlFrame.d.ts.map +1 -0
  118. package/dist/src/fiat/providers/coinbaseApplePay.d.ts +4 -3
  119. package/dist/src/fiat/providers/coinbaseApplePay.d.ts.map +1 -1
  120. package/dist/src/fiat/providers/moonpay.d.ts +3 -0
  121. package/dist/src/fiat/providers/moonpay.d.ts.map +1 -0
  122. package/dist/src/fiat/providers/sumsubKyc.d.ts +1 -2
  123. package/dist/src/fiat/providers/sumsubKyc.d.ts.map +1 -1
  124. package/dist/src/fiat/providers/transakApplePay.d.ts.map +1 -1
  125. package/dist/src/fiat/quoteRefusal.d.ts +24 -0
  126. package/dist/src/fiat/quoteRefusal.d.ts.map +1 -0
  127. package/dist/src/fiat/renderCaptureSurface.d.ts.map +1 -1
  128. package/dist/src/fiat/sectionDetail.d.ts.map +1 -1
  129. package/dist/src/fiat/sessionContact.d.ts +18 -6
  130. package/dist/src/fiat/sessionContact.d.ts.map +1 -1
  131. package/dist/src/fiat/ssnLength.d.ts +4 -0
  132. package/dist/src/fiat/ssnLength.d.ts.map +1 -0
  133. package/dist/src/fiat/stepDetails.d.ts +13 -5
  134. package/dist/src/fiat/stepDetails.d.ts.map +1 -1
  135. package/dist/src/fiat/useContactEligibility.d.ts +4 -0
  136. package/dist/src/fiat/useContactEligibility.d.ts.map +1 -0
  137. package/dist/src/fiat/useCountrySheet.d.ts +21 -0
  138. package/dist/src/fiat/useCountrySheet.d.ts.map +1 -0
  139. package/dist/src/fiat/useDatePickerDock.d.ts +2 -0
  140. package/dist/src/fiat/useDatePickerDock.d.ts.map +1 -1
  141. package/dist/src/fiat/useFiatCheckoutPreparation.d.ts +10 -0
  142. package/dist/src/fiat/useFiatCheckoutPreparation.d.ts.map +1 -0
  143. package/dist/src/fiat/useFiatDirectDelivery.d.ts +32 -0
  144. package/dist/src/fiat/useFiatDirectDelivery.d.ts.map +1 -0
  145. package/dist/src/fiat/useOtpAutoSubmit.d.ts +8 -0
  146. package/dist/src/fiat/useOtpAutoSubmit.d.ts.map +1 -0
  147. package/dist/src/fiat/useOtpReceipt.d.ts +14 -0
  148. package/dist/src/fiat/useOtpReceipt.d.ts.map +1 -0
  149. package/dist/src/fiat/useReplayableFailure.d.ts +13 -0
  150. package/dist/src/fiat/useReplayableFailure.d.ts.map +1 -0
  151. package/dist/src/flow/DepositAmountStep.d.ts +10 -2
  152. package/dist/src/flow/DepositAmountStep.d.ts.map +1 -1
  153. package/dist/src/flow/DepositFlowContent.d.ts +4 -2
  154. package/dist/src/flow/DepositFlowContent.d.ts.map +1 -1
  155. package/dist/src/flow/FeeDetailsSheet.d.ts.map +1 -1
  156. package/dist/src/flow/FiatDepositAmountStep.d.ts +12 -2
  157. package/dist/src/flow/FiatDepositAmountStep.d.ts.map +1 -1
  158. package/dist/src/flow/FlowDismissLock.d.ts +13 -0
  159. package/dist/src/flow/FlowDismissLock.d.ts.map +1 -0
  160. package/dist/src/flow/FlowSheet.d.ts +15 -18
  161. package/dist/src/flow/FlowSheet.d.ts.map +1 -1
  162. package/dist/src/flow/FunkitFlowProvider.d.ts.map +1 -1
  163. package/dist/src/flow/WithdrawalFlowContent.d.ts +2 -1
  164. package/dist/src/flow/WithdrawalFlowContent.d.ts.map +1 -1
  165. package/dist/src/flow/depositFlowConfig.d.ts +53 -1
  166. package/dist/src/flow/depositFlowConfig.d.ts.map +1 -1
  167. package/dist/src/flow/useKeyboardHeight.d.ts +20 -0
  168. package/dist/src/flow/useKeyboardHeight.d.ts.map +1 -1
  169. package/dist/src/flow/validateClientMetadata.d.ts +8 -0
  170. package/dist/src/flow/validateClientMetadata.d.ts.map +1 -0
  171. package/dist/src/flow/validateInitialAmount.d.ts +9 -0
  172. package/dist/src/flow/validateInitialAmount.d.ts.map +1 -0
  173. package/dist/src/hooks/useDelayedSpinner.d.ts +10 -0
  174. package/dist/src/hooks/useDelayedSpinner.d.ts.map +1 -0
  175. package/dist/src/hooks/useGuardedAmountInput.d.ts +26 -6
  176. package/dist/src/hooks/useGuardedAmountInput.d.ts.map +1 -1
  177. package/dist/src/hooks/useMinimumAmountValidation.d.ts +17 -0
  178. package/dist/src/hooks/useMinimumAmountValidation.d.ts.map +1 -0
  179. package/dist/src/icons/ApplePayMark.d.ts +2 -0
  180. package/dist/src/icons/ApplePayMark.d.ts.map +1 -0
  181. package/dist/src/icons/DepositChevronIcon.d.ts +4 -0
  182. package/dist/src/icons/DepositChevronIcon.d.ts.map +1 -0
  183. package/dist/src/icons/DepositInfoCircleIcon.d.ts +4 -0
  184. package/dist/src/icons/DepositInfoCircleIcon.d.ts.map +1 -0
  185. package/dist/src/icons/FiatBackIcon.d.ts +4 -0
  186. package/dist/src/icons/FiatBackIcon.d.ts.map +1 -0
  187. package/dist/src/icons/KycDocumentIcon.d.ts +2 -0
  188. package/dist/src/icons/KycDocumentIcon.d.ts.map +1 -0
  189. package/dist/src/icons/KycExternalLinkIcon.d.ts +4 -0
  190. package/dist/src/icons/KycExternalLinkIcon.d.ts.map +1 -0
  191. package/dist/src/icons/KycIdentityIcon.d.ts +8 -0
  192. package/dist/src/icons/KycIdentityIcon.d.ts.map +1 -0
  193. package/dist/src/icons/KycLimitIcon.d.ts +4 -0
  194. package/dist/src/icons/KycLimitIcon.d.ts.map +1 -0
  195. package/dist/src/icons/KycOutcomeIcon.d.ts +5 -0
  196. package/dist/src/icons/KycOutcomeIcon.d.ts.map +1 -0
  197. package/dist/src/icons/KycSecurityIcon.d.ts +4 -0
  198. package/dist/src/icons/KycSecurityIcon.d.ts.map +1 -0
  199. package/dist/src/icons/KycStatusIcon.d.ts +10 -0
  200. package/dist/src/icons/KycStatusIcon.d.ts.map +1 -0
  201. package/dist/src/icons/KycVerifiedIcon.d.ts +2 -0
  202. package/dist/src/icons/KycVerifiedIcon.d.ts.map +1 -0
  203. package/dist/src/icons/kycArtwork.d.ts +3 -0
  204. package/dist/src/icons/kycArtwork.d.ts.map +1 -0
  205. package/dist/src/locales/i18n.d.ts.map +1 -1
  206. package/dist/src/providers/FunkitTrans.d.ts +15 -0
  207. package/dist/src/providers/FunkitTrans.d.ts.map +1 -0
  208. package/dist/src/screens/DepositAmountScreen.d.ts +18 -17
  209. package/dist/src/screens/DepositAmountScreen.d.ts.map +1 -1
  210. package/dist/src/screens/FeeDetailsScreen.d.ts +1 -3
  211. package/dist/src/screens/FeeDetailsScreen.d.ts.map +1 -1
  212. package/dist/src/screens/depositMetrics.d.ts +112 -0
  213. package/dist/src/screens/depositMetrics.d.ts.map +1 -0
  214. package/dist/src/swapped/SwappedScreen.d.ts +2 -1
  215. package/dist/src/swapped/SwappedScreen.d.ts.map +1 -1
  216. package/dist/src/swapped/SwappedScreenShell.d.ts +2 -1
  217. package/dist/src/swapped/SwappedScreenShell.d.ts.map +1 -1
  218. package/dist/src/theme/buttonRadius.d.ts +10 -0
  219. package/dist/src/theme/buttonRadius.d.ts.map +1 -0
  220. package/dist/src/theme/cornerCurve.d.ts +11 -0
  221. package/dist/src/theme/cornerCurve.d.ts.map +1 -0
  222. package/dist/src/theme/inputTextStyle.d.ts +13 -0
  223. package/dist/src/theme/inputTextStyle.d.ts.map +1 -0
  224. package/dist/src/theme/tokens.d.ts.map +1 -1
  225. package/dist/src/transfer/hooks/useDepositRecipient.d.ts +29 -0
  226. package/dist/src/transfer/hooks/useDepositRecipient.d.ts.map +1 -0
  227. package/dist/src/transfer/hooks/useFops.d.ts +8 -2
  228. package/dist/src/transfer/hooks/useFops.d.ts.map +1 -1
  229. package/dist/src/transfer/hooks/useTokenTransfer.d.ts +9 -1
  230. package/dist/src/transfer/hooks/useTokenTransfer.d.ts.map +1 -1
  231. package/dist/src/transfer/hooks/useTransferInit.d.ts +21 -2
  232. package/dist/src/transfer/hooks/useTransferInit.d.ts.map +1 -1
  233. package/dist/src/utils/colorMotion.d.ts +14 -0
  234. package/dist/src/utils/colorMotion.d.ts.map +1 -0
  235. package/dist/src/utils/formatAmount.d.ts +10 -1
  236. package/dist/src/utils/formatAmount.d.ts.map +1 -1
  237. package/dist/src/utils/motion.d.ts +63 -0
  238. package/dist/src/utils/motion.d.ts.map +1 -1
  239. package/dist/src/utils/v2/amountRowGeometry.d.ts +6 -0
  240. package/dist/src/utils/v2/amountRowGeometry.d.ts.map +1 -0
  241. package/dist/src/withdrawal/validation.d.ts.map +1 -1
  242. package/package.json +9 -4
  243. package/dist/chunk-PIAR365R.js.map +0 -7
  244. package/dist/src/fiat/FiatCountryDock.d.ts +0 -17
  245. package/dist/src/fiat/FiatCountryDock.d.ts.map +0 -1
  246. package/dist/src/fiat/formNotice.d.ts +0 -13
  247. package/dist/src/fiat/formNotice.d.ts.map +0 -1
  248. package/dist/src/fiat/useCountryDock.d.ts +0 -21
  249. package/dist/src/fiat/useCountryDock.d.ts.map +0 -1
  250. /package/dist/{chunk-5YSMFPBG.js.map → chunk-XTK6HGJL.js.map} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,171 @@
1
1
  # @funkit/connect-rn
2
2
 
3
+ ## 6.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - b29078c: Fiat deposits whose destination asset is what the rail already buys are now paid straight to the recipient instead of through a generated deposit address.
8
+
9
+ `amountEntry.fiat.cryptoCurrencyAddress` is required: set it to the address (or SPL mint) of the token named by `cryptoCurrencyCode`, on `chainId`. Matching `checkoutConfig.targetAsset` is what selects the direct route.
10
+
11
+ ```diff
12
+ fiat: {
13
+ paymentMethod: 'apple_pay',
14
+ cryptoCurrencyCode: 'USDC',
15
+ + cryptoCurrencyAddress: 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v',
16
+ chainId: '1151111081099710',
17
+ },
18
+ ```
19
+
20
+ ### Minor Changes
21
+
22
+ - b29078c: Deposits now honour a `customRecipient` on the checkout config, matching the web SDK.
23
+ - c621550: A fiat order paid straight to the recipient now shows as complete when its delivery transaction lands, instead of waiting for the backend to settle it.
24
+ - 92e7e32: Add `amountEntry.minLimitUsd`: amounts under the floor show a persistent notice and a one-tap action that enters the minimum.
25
+ - 1f21381: Centre the deposit title over a back chevron when the host supplies no brand mark or account context, and let hosts name the deposit screen.
26
+ - 9f9269b: Redraw the fiat country picker as a searchable sheet over the step that raised it
27
+
28
+ ### Patch Changes
29
+
30
+ - 76f165c: Token and recipient comparisons no longer treat two base58 addresses differing only in case as the same address.
31
+
32
+ `isEVMAddressEquivalent` is removed from `@funkit/utils` and `@funkit/connect-core`. Replace it with `isAddressEquivalent`, which takes the same arguments and picks the comparison from the address format: EVM hex folds case, base58 (Solana, Tron) must match exactly.
33
+
34
+ ```diff
35
+ -import { isEVMAddressEquivalent } from '@funkit/utils'
36
+ +import { isAddressEquivalent } from '@funkit/utils'
37
+
38
+ -isEVMAddressEquivalent({ firstAddress, secondAddress })
39
+ +isAddressEquivalent({ firstAddress, secondAddress })
40
+ ```
41
+ - eef85ee: Apple Pay and loading actions now take their corner radius from the theme's button token, and the waiting action is drawn as a bare fill.
42
+ - 627cd0a: Hold the waiting action's spinner back by 150ms so a wait that ends sooner never flashes a ring.
43
+ - 9962a07: Set the fiat code screen's headline in the primary colour at title size, and tighten a US number to (415)555-0134
44
+ - 48e5ac9: Keep a continuous loading indicator while preparing checkout and loading the Apple Pay button.
45
+ - a53805b: Write the deposit minimum disclaimer in whole units, so a $2 minimum no longer reads as $2.00.
46
+ - b9e0ee2: Change the deposit action between states by crossing its fill colour instead of scaling and fading the whole button.
47
+ - 56c82ae: Round the deposit sheet's top corners to 34pt and soften every sheet corner.
48
+ - 03d0bd9: Hold the deposit fee in its loading state until the Apple Pay button is ready, so the two appear together.
49
+ - ad0b884: Show the deposit fee drawer's fee as a single "Fee 0.5%" row, rounded to one decimal and never naming the payment provider.
50
+ - 12a100b: Show a loading or retry control on the fiat deposit screen instead of a CTA stuck in a dimmed, unpressable state.
51
+ - 91cc64a: Drop the glow from the over-limit amount flash, leaving the yellow tint.
52
+ - 52d6e06: Restore smooth amount centering when typing and deleting across short and long values.
53
+ - ddab1d7: Soften the keyboard action's entrance: it fades on from 12px below instead of rising from behind the keyboard.
54
+ - 92e55fe: Deposit spinner: the delay before the ring appears can now be tuned per surface (still 150ms by default).
55
+ - 9101b3a: Spin the loading ring faster, with its rate rising and falling once per turn.
56
+ - e1cedfd: Prevent amount entrance animations from replaying when editing a prepared Apple Pay checkout.
57
+ - da40025: Phone autofill now moves the country code onto the country chip instead of leaving it in the number field.
58
+ - c3b2407: The deposit sheet's translucent background no longer darkens toward its top edge.
59
+ - 4fe6a17: Draw the KYC occupation and purpose answers on the screen instead of behind a chooser sheet
60
+ - Updated dependencies [76f165c]
61
+ - Updated dependencies [b29078c]
62
+ - Updated dependencies [b29078c]
63
+ - Updated dependencies [c621550]
64
+ - Updated dependencies [a5e893c]
65
+ - Updated dependencies [86ba6ef]
66
+ - @funkit/connect-core@8.0.0
67
+ - @funkit/api-base@8.3.1
68
+
69
+ ## 5.0.0
70
+
71
+ ### Major Changes
72
+
73
+ - ef57ef7: Render provider-owned session authorization separately from OTP and add MoonPay account-connection and Apple Pay surfaces using MoonPay's React Native SDK.
74
+
75
+ Migration: exhaustive `FiatScreen` mappings must handle the new `AUTH_CAPTURE` screen.
76
+
77
+ ### Minor Changes
78
+
79
+ - a3c1f6a: Allow deposit flows to include host correlation metadata (an external user id and transaction id).
80
+ - 5fe84a2: Coinbase's Apple Pay button is drawn in the amount screen's action slot, as a pill-shaped button, instead of on a page of its own.
81
+ - 333f284: The fiat contact, code and KYC screens now behave as screens: they hold the sheet against swipes and taps, stay up through the requests they send and wear a refusal as their own notice, ride the keyboard on its own curve, keep typed text level with its placeholder, accept a phone number however it is dialled and validate it against real numbering plans, show Continue only once the contact is valid, and open, turn pages and reveal their action with the design's transitions.
82
+ - a2e92ee: Support prefilled, optionally locked deposit amounts.
83
+ - 5376c23: The fiat KYC form follows the R2 design's feedback states: a refused page tints its fields, names the reason and buzzes only when the user tries to leave it, Continue appears once a typed page is complete, Confirm returns to any page still refused, and a date of birth under 18 is refused on the device.
84
+ - ac06f72: A fiat refusal the server sends back onto the quote (a limit, a provider outage, a form it no longer holds) is now announced with the platform's own alert over the amount screen instead of silently closing the step.
85
+
86
+ ### Patch Changes
87
+
88
+ - 770da6d: Accept quote-less fiat KYC discovery forms and the dedicated US SSN last-four field.
89
+ - 73ff099: Align deposit fee disclosures and use the matching information symbol.
90
+ - b96b753: Improve calling-code picker performance when opening and searching
91
+ - 5d4256e: Center the payment terms disclaimer within the checkout footer.
92
+ - 8c981fb: Preserve React 18 and i18next 23 compatibility for payment consent translations.
93
+ - 384cce3: Mint a checkoutId UUID per deposit/withdrawal.
94
+ - 8970fd7: The fiat KYC form now runs on `@tanstack/react-form`; a refusal on an earlier page keeps gating the final submit, and a new form round no longer inherits the previous round's touched state.
95
+ - b857c61: Lock the deposit amount screen's numpad, backspace, and quick amounts when the host disables amount editing.
96
+ - 0378e8b: Prefill the deposit amount screen (crypto and fiat) from `DepositFlowConfig.initialAmount`, preserved across fiat-flow retries.
97
+ - bd149d1: Prefill and optionally lock Swapped deposit amounts and currencies.
98
+ - 323a5bb: Refine deposit disclaimers and place document links after an explicit line break.
99
+ - 18d1b71: Align deposit header balances and reserve consistent space for account avatars.
100
+ - 22ce7a9: Match SDK deposit action heights and label sizing to the deposit layout.
101
+ - 87f9d76: Align deposit spacing and keypad bounds with the design, with narrower margins on small phones.
102
+ - 933ecce: Show Coinbase Apple Pay checkout without an extra deposit tap and expose the fresh quote’s selected provider.
103
+
104
+ Migration: `UseFiatQuoteResult` now includes an optional `provider`; existing callers require no changes.
105
+ - 5d4256e: Keep deposits editable when no payment provider is available and show retry dates for blocked deposits.
106
+ - 5d4256e: Explain expired verification codes, guide users to resend, and prevent verification action buttons from crashing.
107
+ - 72b7cc3: Preserve structured API refusals, show provider minimum deposits on fiat amount entry, use Pump branding for success states, and hide retry actions for terminal purchase failures.
108
+ - 933ecce: Share the fiat payment-session endpoint constant and preserve provider-specific checkout preparation behind the common fiat flow.
109
+ - b65fb99: Improve fiat sheet opacity and country-aware OTP phone formatting.
110
+ - 5d4256e: Match the payment disclaimer typography and spacing to the mobile design.
111
+ - baa2ac0: Fix Apple Pay deposits getting stuck after changing the amount by allowing unfinished deposits to be resumed or cancelled and refreshing abandoned quotes.
112
+ - dffb517: Keep fiat quotes fresh across reopened flows and visible through payment capture.
113
+ - 8c981fb: Collect payment terms consent through the normal deposit action with a linked notice beneath the keypad.
114
+ - 5d4256e: Improve verification artwork contrast on dark customer themes and honor customer status colors.
115
+ - 5d4256e: Show the shared verification progress indicator while document verification starts.
116
+ - 206ae21: Update the KYC faceplate copy to match the Figma designs and name the ID-verification vendor in the document round.
117
+ - 5d4256e: Show the current step on every identity verification form page, including birth date and questionnaires.
118
+ - f558444: Match the KYC In Review, On Hold and Rejected screens to the KYC R2 design.
119
+ - 5d4256e: Use a native date-of-birth wheel and segmented full or last-four SSN entry during US identity verification.
120
+ - 5d4256e: Introduce document verification before opening the identity provider.
121
+ - eafb519: Align identity consent, form headings, address rows, and submission controls with the mobile verification design.
122
+ - 5d4256e: Match KYC deposit notices and payment recovery to the mobile design, including document artwork and native phone feedback.
123
+ - 5d4256e: Show native recovery alerts for unavailable identity verification and payment providers.
124
+ - 5d4256e: Match KYC code confirmation and error feedback, format phone inputs, and align actions with the native keyboard.
125
+ - 5d4256e: Match identity review, hold, and restriction screens to the mobile KYC designs while preserving recovery actions and retry deadlines.
126
+ - 5d4256e: Match KYC country and additional-verification forms to the mobile design and animate KYC actions upward from the keyboard.
127
+ - 5d4256e: Match KYC form materials and preserve editable contact and document verification recovery states.
128
+ - c038d78: Match identity verification submission feedback to the mobile design, dismiss the keyboard while sending, and prevent edits until submission finishes.
129
+ - 5d4256e: Recover from temporary identity provider failures without showing an account restriction.
130
+ - 5d4256e: Distinguish first-time identity verification from deposit-limit upgrades in deposit prompts.
131
+ - 5a7879f: Reword the fee details drawer summary and drop its "powered by Fun" mark
132
+ - f32fd43: Ask for the phone number when a fiat quote answers with the session round itself
133
+ - 347bc4a: Follow the reworded fee details summary in the seven non-English locales
134
+ - a525fdc: Automatically submit complete verification codes and prevent edits or resends while verification is pending.
135
+ - 5d4256e: Allow buyers to verify the same phone number again when their verification expires.
136
+ - 63a354f: Refine phone verification typography, spacing, and the back-button glyph.
137
+ - fa71b44: Preserve leading phone digits while typing and deleting, including numbers starting with 1.
138
+ - fa71b44: Fix phone number text shifting vertically when typing or clearing digits on iOS.
139
+ - 59ea27b: Keep the fiat contact screen up until the round it opens arrives
140
+ - 92597b1: Reduce the Swapped deposit surface height when the deposit amount is locked.
141
+ - b9bd7ff: Match fiat surface materials, show live fee disclosures, initialize the visible birth date, and explain OTP rate limits.
142
+ - 16218bb: Deposit screen: the payment method badge (e.g. Apple Pay) now shows before an amount is entered
143
+ - 94debdd: Keep deposit action transitions stationary and animate their fills independently from labels.
144
+ - 798ee30: The fiat deposit consent notice no longer outlives the quote it was accepted for.
145
+ - 8c981fb: Keep payment consent clear of the keypad and home indicator, and distinguish document links.
146
+ - bece9cc: Center the deposit amount within the available space on every screen height and dim untouched amounts to the design opacity.
147
+ - c5be149: Match deposit quick-amount chip sizes, spacing, corners, and typography to the mobile design.
148
+ - b72df9e: Keep the deposit sheet fixed while fitting consent and keypad content on smaller screens.
149
+ - 0717796: Match deposit keypad row spacing and edge alignment while keeping its position stable across states.
150
+ - e6fdcfa: Show identity consent as a separate step before the identity form.
151
+ - 5fe84a2: Match Apple Pay deposit buttons and loading states to the same full-width pill without overlap.
152
+ - Updated dependencies [770da6d]
153
+ - Updated dependencies [7e4ed3f]
154
+ - Updated dependencies [8f5a732]
155
+ - Updated dependencies [384cce3]
156
+ - Updated dependencies [bd149d1]
157
+ - Updated dependencies [933ecce]
158
+ - Updated dependencies [72b7cc3]
159
+ - Updated dependencies [933ecce]
160
+ - Updated dependencies [dffb517]
161
+ - Updated dependencies [206ae21]
162
+ - Updated dependencies [f32fd43]
163
+ - Updated dependencies [ef57ef7]
164
+ - Updated dependencies [b3c8a12]
165
+ - @funkit/connect-core@7.0.0
166
+ - @funkit/api-base@8.3.0
167
+ - @funkit/chains@2.4.0
168
+
3
169
  ## 4.3.0
4
170
 
5
171
  ### Minor Changes