@funkit/connect-rn 6.1.0 → 6.2.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 (51) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +58 -0
  3. package/dist/{chunk-MKOPF7Y5.js → chunk-PLSQBNDE.js} +2 -2
  4. package/dist/{chunk-HMAJXI66.js → chunk-VIMRV7N2.js} +17 -9
  5. package/dist/chunk-VIMRV7N2.js.map +7 -0
  6. package/dist/clients/lighter.js +1 -1
  7. package/dist/clients/nado/useNadoWithdrawal.d.ts.map +1 -1
  8. package/dist/clients/nado.js +3 -3
  9. package/dist/clients/nado.js.map +2 -2
  10. package/dist/index.js +607 -535
  11. package/dist/index.js.map +4 -4
  12. package/dist/src/components/v2/QuickAmountsRow.d.ts.map +1 -1
  13. package/dist/src/fiat/FiatTermsNotice.d.ts +3 -1
  14. package/dist/src/fiat/FiatTermsNotice.d.ts.map +1 -1
  15. package/dist/src/fiat/KycGlassBackdrop.d.ts.map +1 -1
  16. package/dist/src/fiat/otpScreenProps.d.ts +5 -0
  17. package/dist/src/fiat/otpScreenProps.d.ts.map +1 -1
  18. package/dist/src/flow/DepositAmountStep.d.ts.map +1 -1
  19. package/dist/src/flow/Drawer.d.ts +3 -2
  20. package/dist/src/flow/Drawer.d.ts.map +1 -1
  21. package/dist/src/flow/FeeDetailsSheet.d.ts.map +1 -1
  22. package/dist/src/flow/FiatDepositAmountStep.d.ts.map +1 -1
  23. package/dist/src/flow/FlowSheet.d.ts +10 -3
  24. package/dist/src/flow/FlowSheet.d.ts.map +1 -1
  25. package/dist/src/flow/FunkitFlowProvider.d.ts +3 -1
  26. package/dist/src/flow/FunkitFlowProvider.d.ts.map +1 -1
  27. package/dist/src/flow/withdrawalFlowConfig.d.ts +7 -1
  28. package/dist/src/flow/withdrawalFlowConfig.d.ts.map +1 -1
  29. package/dist/src/providers/FunkitProvider.d.ts +8 -1
  30. package/dist/src/providers/FunkitProvider.d.ts.map +1 -1
  31. package/dist/src/providers/NativeCapabilitiesContext.d.ts +8 -0
  32. package/dist/src/providers/NativeCapabilitiesContext.d.ts.map +1 -1
  33. package/dist/src/screens/DepositAmountScreen.d.ts.map +1 -1
  34. package/dist/src/screens/FeeDetailsScreen.d.ts +12 -3
  35. package/dist/src/screens/FeeDetailsScreen.d.ts.map +1 -1
  36. package/dist/src/screens/depositMetrics.d.ts +1 -6
  37. package/dist/src/screens/depositMetrics.d.ts.map +1 -1
  38. package/dist/src/transfer/hooks/useWithdrawalFops.d.ts.map +1 -1
  39. package/dist/src/withdrawal/useCryptoWithdrawalExecution.d.ts.map +1 -1
  40. package/dist/src/withdrawal/useCryptoWithdrawalForm.d.ts.map +1 -1
  41. package/dist/src/withdrawal/useCryptoWithdrawalValidation.d.ts.map +1 -1
  42. package/dist/src/withdrawal/useWithdrawalExecution.d.ts.map +1 -1
  43. package/dist/src/withdrawal/walletlessWithdrawal.d.ts +7 -0
  44. package/dist/src/withdrawal/walletlessWithdrawal.d.ts.map +1 -0
  45. package/package.json +4 -4
  46. package/dist/chunk-HMAJXI66.js.map +0 -7
  47. package/dist/src/hooks/useMinimumAmountValidation.d.ts +0 -21
  48. package/dist/src/hooks/useMinimumAmountValidation.d.ts.map +0 -1
  49. package/dist/src/hooks/useTrailingTrue.d.ts +0 -7
  50. package/dist/src/hooks/useTrailingTrue.d.ts.map +0 -1
  51. /package/dist/{chunk-MKOPF7Y5.js.map → chunk-PLSQBNDE.js.map} +0 -0
@@ -1,21 +0,0 @@
1
- /**
2
- * The floor's verdict on the typed amount, shared by everything that acts on
3
- * it — the notice, the action that replaces the CTA, and the quote.
4
- *
5
- * `isResolved` is the seam that matters: while the typing is unsettled the
6
- * verdict is not yet known, and a caller that would spend something on the
7
- * amount (a quote) must wait for it rather than race it.
8
- *
9
- * `offerMinimum` is the same verdict held back further, for the action that
10
- * takes the user to the floor.
11
- *
12
- * One-directional on purpose. The verdict is withheld while typing, but a valid
13
- * amount clears it at once — `isBelowMinimum` is checked against the live value
14
- * too, so reaching the floor drops the notice without waiting out the debounce.
15
- */
16
- export declare function useMinimumAmountValidation(input: string, minLimitUsd?: string): {
17
- belowMinimum: boolean;
18
- isResolved: boolean;
19
- offerMinimum: boolean;
20
- };
21
- //# sourceMappingURL=useMinimumAmountValidation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useMinimumAmountValidation.d.ts","sourceRoot":"","sources":["../../../src/hooks/useMinimumAmountValidation.ts"],"names":[],"mappings":"AAaA;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,0BAA0B,CACxC,KAAK,EAAE,MAAM,EACb,WAAW,CAAC,EAAE,MAAM,GACnB;IAAE,YAAY,EAAE,OAAO,CAAC;IAAC,UAAU,EAAE,OAAO,CAAC;IAAC,YAAY,EAAE,OAAO,CAAA;CAAE,CAmBvE"}
@@ -1,7 +0,0 @@
1
- /**
2
- * Whether `value` has been continuously true for `delayMs`. It falls back to
3
- * false the moment `value` does, and a dip restarts the wait — so the delay is
4
- * paid again rather than carried over from the earlier stretch.
5
- */
6
- export declare function useTrailingTrue(value: boolean, delayMs: number): boolean;
7
- //# sourceMappingURL=useTrailingTrue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useTrailingTrue.d.ts","sourceRoot":"","sources":["../../../src/hooks/useTrailingTrue.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAWxE"}