@funkit/connect-rn 9.1.1 → 9.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 +57 -0
- package/README.md +5 -3
- package/dist/{chunk-RPYWTS42.js → chunk-5DJHIA7X.js} +97 -105
- package/dist/chunk-5DJHIA7X.js.map +7 -0
- package/dist/{chunk-5Y2EMQYX.js → chunk-AI6F43VP.js} +3 -3
- package/dist/{chunk-ZE77GVDW.js → chunk-KOJEF2II.js} +97 -29
- package/dist/chunk-KOJEF2II.js.map +7 -0
- package/dist/{chunk-OBY3O4LU.js → chunk-OW6L3UM7.js} +3 -1
- package/dist/chunk-OW6L3UM7.js.map +7 -0
- package/dist/clients/lighter.js +2 -2
- package/dist/clients/nado.js +3 -3
- package/dist/clients/solana.js +1 -1
- package/dist/index.js +5057 -3771
- package/dist/index.js.map +4 -4
- package/dist/preview.js +113 -6
- package/dist/preview.js.map +2 -2
- package/dist/src/components/AmountDisplay.d.ts +2 -2
- package/dist/src/components/AmountDisplay.d.ts.map +1 -1
- package/dist/src/components/AssetList.d.ts +27 -0
- package/dist/src/components/AssetList.d.ts.map +1 -0
- package/dist/src/components/DepositQrCard.d.ts +20 -0
- package/dist/src/components/DepositQrCard.d.ts.map +1 -0
- package/dist/src/components/PasteAddressPanel.d.ts +16 -0
- package/dist/src/components/PasteAddressPanel.d.ts.map +1 -0
- package/dist/src/components/SearchInput.d.ts +4 -1
- package/dist/src/components/SearchInput.d.ts.map +1 -1
- package/dist/src/components/SearchableAssetListSheet.d.ts +16 -0
- package/dist/src/components/SearchableAssetListSheet.d.ts.map +1 -0
- package/dist/src/components/TokenChainSelector.d.ts +15 -0
- package/dist/src/components/TokenChainSelector.d.ts.map +1 -0
- package/dist/src/components/WalletAddressInput.d.ts +23 -10
- package/dist/src/components/WalletAddressInput.d.ts.map +1 -1
- package/dist/src/components/WithdrawSourceCard.d.ts +13 -2
- package/dist/src/components/WithdrawSourceCard.d.ts.map +1 -1
- package/dist/src/fiat/FiatKycOptionRow.d.ts +4 -1
- package/dist/src/fiat/FiatKycOptionRow.d.ts.map +1 -1
- package/dist/src/fiat/FiatKycOutcomeScreen.d.ts +1 -4
- package/dist/src/fiat/FiatKycOutcomeScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatStatusScreen.d.ts +1 -0
- package/dist/src/fiat/FiatStatusScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatStepFailedScreen.d.ts.map +1 -1
- package/dist/src/fiat/closeFailure.d.ts +4 -1
- package/dist/src/fiat/closeFailure.d.ts.map +1 -1
- package/dist/src/fiat/kycFailover.d.ts +8 -4
- package/dist/src/fiat/kycFailover.d.ts.map +1 -1
- package/dist/src/fiat/kycOptionRows.d.ts +7 -3
- package/dist/src/fiat/kycOptionRows.d.ts.map +1 -1
- package/dist/src/fiat/providerFailover.d.ts +34 -0
- package/dist/src/fiat/providerFailover.d.ts.map +1 -0
- package/dist/src/fiat/providers/adapter.d.ts +8 -1
- package/dist/src/fiat/providers/adapter.d.ts.map +1 -1
- package/dist/src/fiat/providers/coinbase/CoinbaseCheckoutSurface.d.ts +3 -1
- package/dist/src/fiat/providers/coinbase/CoinbaseCheckoutSurface.d.ts.map +1 -1
- package/dist/src/fiat/providers/coinbase/coinbaseOnrampEvents.d.ts +9 -0
- package/dist/src/fiat/providers/coinbase/coinbaseOnrampEvents.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay/moonpay.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/StripeSessionAuthScreen.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/stripeLinkWarmup.d.ts +29 -0
- package/dist/src/fiat/providers/stripe/stripeLinkWarmup.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripe/stripePayment.d.ts +1 -1
- package/dist/src/fiat/providers/stripe/stripePayment.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/stripePreparedPayment.d.ts +22 -0
- package/dist/src/fiat/providers/stripe/stripePreparedPayment.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripe/stripeRoundPush.d.ts +6 -0
- package/dist/src/fiat/providers/stripe/stripeRoundPush.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripe/useStripeOnrampClient.d.ts.map +1 -1
- package/dist/src/fiat/useKycCompletion.d.ts +17 -5
- package/dist/src/fiat/useKycCompletion.d.ts.map +1 -1
- package/dist/src/flow/DepositFlowContent.d.ts.map +1 -1
- package/dist/src/flow/Drawer.d.ts.map +1 -1
- package/dist/src/flow/FiatDepositAmountStep.d.ts.map +1 -1
- package/dist/src/flow/FlowSheet.d.ts.map +1 -1
- package/dist/src/flow/flowStepHeight.d.ts +4 -8
- package/dist/src/flow/flowStepHeight.d.ts.map +1 -1
- package/dist/src/flow/useDepositSelection.d.ts +38 -0
- package/dist/src/flow/useDepositSelection.d.ts.map +1 -0
- package/dist/src/hooks/useNestedSheet.d.ts +12 -0
- package/dist/src/hooks/useNestedSheet.d.ts.map +1 -1
- package/dist/src/icons/FigmaSystemIcons.d.ts +1 -0
- package/dist/src/icons/FigmaSystemIcons.d.ts.map +1 -1
- package/dist/src/icons/FunIcon.d.ts +2 -2
- package/dist/src/icons/FunIcon.d.ts.map +1 -1
- package/dist/src/icons/HandTapIcon.d.ts +4 -0
- package/dist/src/icons/HandTapIcon.d.ts.map +1 -0
- package/dist/src/icons/iconSvg.d.ts +10 -0
- package/dist/src/icons/iconSvg.d.ts.map +1 -0
- package/dist/src/logging/datadogHttpLogTransport.d.ts +20 -2
- package/dist/src/logging/datadogHttpLogTransport.d.ts.map +1 -1
- package/dist/src/logging/logger.d.ts +5 -5
- package/dist/src/logging/logger.d.ts.map +1 -1
- package/dist/src/preview/flowPreview.d.ts +7 -1
- package/dist/src/preview/flowPreview.d.ts.map +1 -1
- package/dist/src/preview/previewFetch.d.ts.map +1 -1
- package/dist/src/preview/scenarioCatalog.d.ts +34 -1
- package/dist/src/preview/scenarioCatalog.d.ts.map +1 -1
- package/dist/src/preview/scenarios.d.ts +2 -0
- package/dist/src/preview/scenarios.d.ts.map +1 -1
- package/dist/src/providers/FunkitStatsigProvider.d.ts.map +1 -1
- package/dist/src/screens/LockedTransferCryptoScreen.d.ts +11 -6
- package/dist/src/screens/LockedTransferCryptoScreen.d.ts.map +1 -1
- package/dist/src/screens/SelectAvailableChainScreen.d.ts +12 -0
- package/dist/src/screens/SelectAvailableChainScreen.d.ts.map +1 -0
- package/dist/src/screens/SelectChainScreen.d.ts.map +1 -1
- package/dist/src/screens/SelectReceiveTokenScreen.d.ts.map +1 -1
- package/dist/src/screens/WithdrawAddressScreen.d.ts +6 -1
- package/dist/src/screens/WithdrawAddressScreen.d.ts.map +1 -1
- package/dist/src/screens/WithdrawAmountScreen.d.ts +6 -1
- package/dist/src/screens/WithdrawAmountScreen.d.ts.map +1 -1
- package/dist/src/screens/WithdrawCryptoSteps.d.ts.map +1 -1
- package/dist/src/transfer/DepositQrCode.d.ts +31 -0
- package/dist/src/transfer/DepositQrCode.d.ts.map +1 -0
- package/dist/src/transfer/DepositQrGlyph.d.ts +15 -0
- package/dist/src/transfer/DepositQrGlyph.d.ts.map +1 -0
- package/dist/src/transfer/depositQrCodeUri.d.ts +8 -0
- package/dist/src/transfer/depositQrCodeUri.d.ts.map +1 -0
- package/dist/src/transfer/depositSelection.d.ts +13 -0
- package/dist/src/transfer/depositSelection.d.ts.map +1 -0
- package/dist/src/transfer/hooks/useLockedTokenAmount.d.ts +2 -0
- package/dist/src/transfer/hooks/useLockedTokenAmount.d.ts.map +1 -1
- package/dist/src/transfer/hooks/useTokenTransfer.d.ts.map +1 -1
- package/dist/src/transfer/lockedTokenAmount.d.ts +13 -0
- package/dist/src/transfer/lockedTokenAmount.d.ts.map +1 -1
- package/dist/src/transfer/monoChainLogo.d.ts +20 -0
- package/dist/src/transfer/monoChainLogo.d.ts.map +1 -0
- package/dist/src/transfer/qrModules.d.ts +20 -0
- package/dist/src/transfer/qrModules.d.ts.map +1 -0
- package/dist/src/utils/assetSearch.d.ts +5 -0
- package/dist/src/utils/assetSearch.d.ts.map +1 -0
- package/dist/src/utils/formatAmount.d.ts +4 -3
- package/dist/src/utils/formatAmount.d.ts.map +1 -1
- package/dist/src/utils/tokenAndChainPicker.d.ts +2 -0
- package/dist/src/utils/tokenAndChainPicker.d.ts.map +1 -1
- package/dist/src/utils/tokenOnChainJoiner.d.ts +12 -0
- package/dist/src/utils/tokenOnChainJoiner.d.ts.map +1 -0
- package/dist/src/withdrawal/useCryptoWithdrawalForm.d.ts +1 -0
- package/dist/src/withdrawal/useCryptoWithdrawalForm.d.ts.map +1 -1
- package/dist/src/withdrawal/useWithdrawalSourceTokenBalance.d.ts +11 -2
- package/dist/src/withdrawal/useWithdrawalSourceTokenBalance.d.ts.map +1 -1
- package/package.json +6 -4
- package/dist/chunk-OBY3O4LU.js.map +0 -7
- package/dist/chunk-RPYWTS42.js.map +0 -7
- package/dist/chunk-ZE77GVDW.js.map +0 -7
- /package/dist/{chunk-5Y2EMQYX.js.map → chunk-AI6F43VP.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,62 @@
|
|
|
1
1
|
# @funkit/connect-rn
|
|
2
2
|
|
|
3
|
+
## 9.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 860bfcd: The locked deposit screen's token and chain dropdowns open searchable lists that switch the deposit in place; chains without the chosen token stay listed but disabled.
|
|
8
|
+
- 3ddca38: Redesign the locked-amount crypto deposit screen with token and chain dropdowns, a QR code, and Copy / Share buttons.
|
|
9
|
+
- 032b1a3: A KYC review expected to take a while, or one still open once the wait for its verdict ends, now shows the "still being processed" card, whose option is to deposit the most the buyer can deposit without further verification. Shorter reviews keep the "Authorizing your limits" screen, after a form or a document capture.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 2765fe4: Add a searchable "Available chains" sheet, not yet shown in any flow.
|
|
14
|
+
- 2932f5b: A Coinbase payment that fails after the charge shows the payment-failed screen as soon as Coinbase reports it, instead of after the refund lands
|
|
15
|
+
- a28eefb: Add a deposit card with the send amount, QR code, address and Copy / Share actions, not yet shown in any flow.
|
|
16
|
+
- dcc98fa: Full-height flow steps now fill the sheet instead of shrinking to their content.
|
|
17
|
+
- c8bce82: After a provider handoff, the amount screen's button is the new provider's own instead of a fixed "Verification Required", and the handoff toast says the buyer was switched to a different payment provider
|
|
18
|
+
- c8bce82: A provider that refuses a fiat input step (sign-in, identity form, or document capture) moves the buyer to the next provider instead of asking again
|
|
19
|
+
- cb64dae: The locked deposit screen shows the chain logo in the QR code's center in black and white.
|
|
20
|
+
- 2786bcf: The locked deposit screen draws its QR code with rounded, merged modules straight on the card, with the chain logo on a center tile and room around it to scan.
|
|
21
|
+
- ad97183: Add the token and chain selection rules for the deposit screen's dropdowns, not yet used in any flow.
|
|
22
|
+
- b476dec: Reopening a picker or drawer while it is still closing no longer leaves a dimmed screen with no sheet.
|
|
23
|
+
- 0d09860: A provider that failed the buyer (identity or payment) stays out of every fiat quote for the rest of the sheet, including the payment reroute probe and after an amount change
|
|
24
|
+
- 72887ce: No visible change to the deposit chain picker.
|
|
25
|
+
- be7a7ad: The withdrawal "Available tokens" sheet now says "No results" when a search matches no token.
|
|
26
|
+
- cdb4501: Stripe's Apple Pay sheet opens from the quote, without waiting on a payment session.
|
|
27
|
+
- 04637fd: Add a token-and-chain selector row, not yet shown in any flow.
|
|
28
|
+
- ac34337: Hold Datadog logs until the logging route is known, and optionally send them through an ad-blocker-resilient proxy
|
|
29
|
+
- a96b0a4: Fix excess bottom spacing on Android withdrawal screens.
|
|
30
|
+
- 5c9ab3f: Fiat buttons keep their label and show a spinner while working, instead of switching to "Submitting".
|
|
31
|
+
- Updated dependencies [cdb4501]
|
|
32
|
+
- Updated dependencies [96f7890]
|
|
33
|
+
- Updated dependencies [032b1a3]
|
|
34
|
+
- Updated dependencies [8189df3]
|
|
35
|
+
- @funkit/connect-core@9.2.0
|
|
36
|
+
- @funkit/api-base@9.0.1
|
|
37
|
+
|
|
38
|
+
## 9.1.2
|
|
39
|
+
|
|
40
|
+
### Patch Changes
|
|
41
|
+
|
|
42
|
+
- e4431ed: Remove the KYC options card's hidden "Deposit max" row and the last-quote ceiling it read
|
|
43
|
+
- ca6ae4c: MoonPay's Apple Pay button comes back about 3 s sooner when the buyer changes the amount
|
|
44
|
+
- 943f5bf: The withdrawal amount step is titled "Withdraw", and the next step's "Withdraw $10" title drops the cents of a whole amount; omnibus withdrawals take dollars only and keep Use Max beside a typed amount.
|
|
45
|
+
- d4cf31d: Show the omnibus withdrawal balance in dollars, with a placeholder for unavailable balances.
|
|
46
|
+
- 9d7d509: Add the tap-to-paste panel for the withdrawal address step.
|
|
47
|
+
- 1270e50: Add a preview scenario for the withdrawal paste panel.
|
|
48
|
+
- 706dfec: Stripe's Apple Pay sheet opens sooner after the tap, and a reopen no longer signs in or registers the wallet again
|
|
49
|
+
- dd4ee55: Add an inline-clear layout to the withdrawal address field for the tap-to-paste flow.
|
|
50
|
+
- 2c6f3ea: The crypto withdrawal's confirm button now reads "Withdraw" instead of "Withdraw Now".
|
|
51
|
+
- a2108f1: The withdrawal amount step now shows below-minimum and insufficient-balance errors in the warning color, and the minimum reads "$2 minimum".
|
|
52
|
+
- b2b7eeb: Crypto withdrawals can replace the address step's Paste / Clear buttons with a tap-to-paste panel, enabled per client by Fun.
|
|
53
|
+
- dcb7e3f: Locked deposits no longer add the Statsig buffer on fee-sponsored same-asset routes, so a 1 USDC deposit asks for exactly 1 USDC.
|
|
54
|
+
- dc4cd3b: Show the deposit match on every amount-screen entry, including ones that start with sign-in or KYC.
|
|
55
|
+
- Updated dependencies [c093975]
|
|
56
|
+
- Updated dependencies [c4b5ace]
|
|
57
|
+
- Updated dependencies [b2b7eeb]
|
|
58
|
+
- @funkit/connect-core@9.1.0
|
|
59
|
+
|
|
3
60
|
## 9.1.1
|
|
4
61
|
|
|
5
62
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -74,9 +74,11 @@ When `lockAmount` is set and this cap is supplied, the transfer screen sizes the
|
|
|
74
74
|
amount to send from a routing quote for the selected source token: the price-feed
|
|
75
75
|
estimate is quoted, scaled so the route delivers the cap, rounded up, then grown by
|
|
76
76
|
the `lockeddepositbufferbps` Statsig config (default 30 bps, targetable per
|
|
77
|
-
customer via the Statsig user's `apiKey`).
|
|
78
|
-
|
|
79
|
-
|
|
77
|
+
customer via the Statsig user's `apiKey`). The buffer is skipped when the quoted
|
|
78
|
+
route returns the sent amount in the same asset (same token on the same chain, or
|
|
79
|
+
the same symbol across chains). If the quote or its route inputs are unavailable,
|
|
80
|
+
the screen falls back to the price-feed estimate plus the same buffer and logs a
|
|
81
|
+
warning.
|
|
80
82
|
Locked deposits without this cap keep the plain price-feed estimate.
|
|
81
83
|
|
|
82
84
|
## MoonPay crypto setup
|