@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.
- package/CHANGELOG.md +19 -0
- package/README.md +58 -0
- package/dist/{chunk-MKOPF7Y5.js → chunk-PLSQBNDE.js} +2 -2
- package/dist/{chunk-HMAJXI66.js → chunk-VIMRV7N2.js} +17 -9
- package/dist/chunk-VIMRV7N2.js.map +7 -0
- package/dist/clients/lighter.js +1 -1
- package/dist/clients/nado/useNadoWithdrawal.d.ts.map +1 -1
- package/dist/clients/nado.js +3 -3
- package/dist/clients/nado.js.map +2 -2
- package/dist/index.js +607 -535
- package/dist/index.js.map +4 -4
- package/dist/src/components/v2/QuickAmountsRow.d.ts.map +1 -1
- package/dist/src/fiat/FiatTermsNotice.d.ts +3 -1
- package/dist/src/fiat/FiatTermsNotice.d.ts.map +1 -1
- package/dist/src/fiat/KycGlassBackdrop.d.ts.map +1 -1
- package/dist/src/fiat/otpScreenProps.d.ts +5 -0
- package/dist/src/fiat/otpScreenProps.d.ts.map +1 -1
- package/dist/src/flow/DepositAmountStep.d.ts.map +1 -1
- package/dist/src/flow/Drawer.d.ts +3 -2
- package/dist/src/flow/Drawer.d.ts.map +1 -1
- package/dist/src/flow/FeeDetailsSheet.d.ts.map +1 -1
- package/dist/src/flow/FiatDepositAmountStep.d.ts.map +1 -1
- package/dist/src/flow/FlowSheet.d.ts +10 -3
- package/dist/src/flow/FlowSheet.d.ts.map +1 -1
- package/dist/src/flow/FunkitFlowProvider.d.ts +3 -1
- package/dist/src/flow/FunkitFlowProvider.d.ts.map +1 -1
- package/dist/src/flow/withdrawalFlowConfig.d.ts +7 -1
- package/dist/src/flow/withdrawalFlowConfig.d.ts.map +1 -1
- package/dist/src/providers/FunkitProvider.d.ts +8 -1
- package/dist/src/providers/FunkitProvider.d.ts.map +1 -1
- package/dist/src/providers/NativeCapabilitiesContext.d.ts +8 -0
- package/dist/src/providers/NativeCapabilitiesContext.d.ts.map +1 -1
- package/dist/src/screens/DepositAmountScreen.d.ts.map +1 -1
- package/dist/src/screens/FeeDetailsScreen.d.ts +12 -3
- package/dist/src/screens/FeeDetailsScreen.d.ts.map +1 -1
- package/dist/src/screens/depositMetrics.d.ts +1 -6
- package/dist/src/screens/depositMetrics.d.ts.map +1 -1
- package/dist/src/transfer/hooks/useWithdrawalFops.d.ts.map +1 -1
- package/dist/src/withdrawal/useCryptoWithdrawalExecution.d.ts.map +1 -1
- package/dist/src/withdrawal/useCryptoWithdrawalForm.d.ts.map +1 -1
- package/dist/src/withdrawal/useCryptoWithdrawalValidation.d.ts.map +1 -1
- package/dist/src/withdrawal/useWithdrawalExecution.d.ts.map +1 -1
- package/dist/src/withdrawal/walletlessWithdrawal.d.ts +7 -0
- package/dist/src/withdrawal/walletlessWithdrawal.d.ts.map +1 -0
- package/package.json +4 -4
- package/dist/chunk-HMAJXI66.js.map +0 -7
- package/dist/src/hooks/useMinimumAmountValidation.d.ts +0 -21
- package/dist/src/hooks/useMinimumAmountValidation.d.ts.map +0 -1
- package/dist/src/hooks/useTrailingTrue.d.ts +0 -7
- package/dist/src/hooks/useTrailingTrue.d.ts.map +0 -1
- /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"}
|
|
File without changes
|