@funkit/connect-rn 8.3.0 → 9.0.1
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 +16 -12
- package/dist/{chunk-Z6IQFV5E.js → chunk-GCPIOARQ.js} +3 -3
- package/dist/{chunk-KDRCHYXB.js → chunk-MMXSERQM.js} +298 -81
- package/dist/chunk-MMXSERQM.js.map +7 -0
- package/dist/{chunk-BC4RXFI7.js → chunk-ZBWCG4O6.js} +2 -1
- package/dist/chunk-ZBWCG4O6.js.map +7 -0
- package/dist/{chunk-ZIT24GW5.js → chunk-ZE77GVDW.js} +94 -10
- package/dist/chunk-ZE77GVDW.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 +2750 -2009
- package/dist/index.js.map +4 -4
- package/dist/preview.js +12 -2
- package/dist/preview.js.map +2 -2
- package/dist/src/components/PillButton.d.ts.map +1 -1
- package/dist/src/components/v2/AccountBalanceChip.d.ts.map +1 -1
- package/dist/src/components/v2/AmountDisplay.d.ts.map +1 -1
- package/dist/src/components/v2/NumPad.d.ts.map +1 -1
- package/dist/src/fiat/FiatChoiceField.d.ts.map +1 -1
- package/dist/src/fiat/FiatChoiceList.d.ts.map +1 -1
- package/dist/src/fiat/FiatContactScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatCountrySheet.d.ts.map +1 -1
- package/dist/src/fiat/FiatErrorNotice.d.ts.map +1 -1
- package/dist/src/fiat/FiatFailureBanner.d.ts.map +1 -1
- package/dist/src/fiat/FiatFormFieldRow.d.ts.map +1 -1
- package/dist/src/fiat/FiatFormHeading.d.ts.map +1 -1
- package/dist/src/fiat/FiatFormScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatKycIntroScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatKycNotice.d.ts.map +1 -1
- package/dist/src/fiat/FiatKycOptionRow.d.ts.map +1 -1
- package/dist/src/fiat/FiatKycOptionsScreen.d.ts +1 -1
- package/dist/src/fiat/FiatKycOptionsScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatOtpScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatPhoneField.d.ts.map +1 -1
- package/dist/src/fiat/FiatReceipt.d.ts.map +1 -1
- package/dist/src/fiat/FiatUnsupportedStep.d.ts +11 -0
- package/dist/src/fiat/FiatUnsupportedStep.d.ts.map +1 -0
- package/dist/src/fiat/SurfaceSlot.d.ts +3 -1
- package/dist/src/fiat/SurfaceSlot.d.ts.map +1 -1
- package/dist/src/fiat/closeFailure.d.ts +19 -0
- package/dist/src/fiat/closeFailure.d.ts.map +1 -0
- package/dist/src/fiat/depositOutcome.d.ts +18 -1
- package/dist/src/fiat/depositOutcome.d.ts.map +1 -1
- package/dist/src/fiat/kycFormTheme.d.ts +2 -28
- package/dist/src/fiat/kycFormTheme.d.ts.map +1 -1
- package/dist/src/fiat/otpScreenProps.d.ts.map +1 -1
- package/dist/src/fiat/paymentReroute.d.ts +30 -0
- package/dist/src/fiat/paymentReroute.d.ts.map +1 -0
- package/dist/src/fiat/paymentSurfaceFailure.d.ts +7 -7
- package/dist/src/fiat/paymentSurfaceFailure.d.ts.map +1 -1
- package/dist/src/fiat/providers/CoinbaseCheckoutSurface.d.ts.map +1 -1
- package/dist/src/fiat/providers/StripeSessionAuthScreen.d.ts.map +1 -1
- package/dist/src/fiat/providers/SumsubKycSurface.d.ts.map +1 -1
- package/dist/src/fiat/providers/TransakApplePaySurface.d.ts.map +1 -1
- package/dist/src/fiat/providers/adapter.d.ts +15 -5
- package/dist/src/fiat/providers/adapter.d.ts.map +1 -1
- package/dist/src/fiat/providers/applePayButtonMetrics.d.ts +1 -2
- package/dist/src/fiat/providers/applePayButtonMetrics.d.ts.map +1 -1
- package/dist/src/fiat/providers/coinbaseFailureCopy.d.ts +8 -2
- package/dist/src/fiat/providers/coinbaseFailureCopy.d.ts.map +1 -1
- package/dist/src/fiat/providers/kycIntro.d.ts +1 -1
- package/dist/src/fiat/providers/moonpay.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpayApplePayStyle.d.ts +5 -10
- package/dist/src/fiat/providers/moonpayApplePayStyle.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpayFailureCopy.d.ts +15 -0
- package/dist/src/fiat/providers/moonpayFailureCopy.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripeCheckout.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripeFailureCopy.d.ts +16 -0
- package/dist/src/fiat/providers/stripeFailureCopy.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripePayment.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripeRoundPush.d.ts +6 -0
- package/dist/src/fiat/providers/stripeRoundPush.d.ts.map +1 -1
- package/dist/src/fiat/providers/useStripeOnrampClient.d.ts.map +1 -1
- package/dist/src/fiat/providers/useWebViewTermination.d.ts +15 -0
- package/dist/src/fiat/providers/useWebViewTermination.d.ts.map +1 -0
- package/dist/src/flow/DepositFlowContent.d.ts +2 -2
- package/dist/src/flow/DepositFlowContent.d.ts.map +1 -1
- package/dist/src/flow/DepositReceivedToast.d.ts.map +1 -1
- package/dist/src/flow/FiatDepositAmountStep.d.ts +9 -3
- package/dist/src/flow/FiatDepositAmountStep.d.ts.map +1 -1
- package/dist/src/flow/FlowSheet.d.ts.map +1 -1
- package/dist/src/flow/FunkitFlowProvider.d.ts.map +1 -1
- package/dist/src/flow/SheetMaterial.d.ts +5 -12
- package/dist/src/flow/SheetMaterial.d.ts.map +1 -1
- package/dist/src/flow/depositFlowConfig.d.ts +13 -6
- package/dist/src/flow/depositFlowConfig.d.ts.map +1 -1
- package/dist/src/flow/flowError.d.ts +3 -1
- package/dist/src/flow/flowError.d.ts.map +1 -1
- package/dist/src/flow/guardHostCallbacks.d.ts +8 -1
- package/dist/src/flow/guardHostCallbacks.d.ts.map +1 -1
- package/dist/src/flow/useDepositReceivedToast.d.ts +10 -1
- package/dist/src/flow/useDepositReceivedToast.d.ts.map +1 -1
- package/dist/src/flow/useKeyboardHeight.d.ts.map +1 -1
- package/dist/src/flow/validateClientMetadata.d.ts.map +1 -1
- package/dist/src/identity/IdentityContext.d.ts +8 -0
- package/dist/src/identity/IdentityContext.d.ts.map +1 -1
- package/dist/src/logging/datadogHttpLogTransport.d.ts +10 -3
- package/dist/src/logging/datadogHttpLogTransport.d.ts.map +1 -1
- package/dist/src/logging/logger.d.ts.map +1 -1
- package/dist/src/native/glassEffect.d.ts +19 -0
- package/dist/src/native/glassEffect.d.ts.map +1 -1
- package/dist/src/preview/flowPreview.d.ts +3 -0
- package/dist/src/preview/flowPreview.d.ts.map +1 -1
- package/dist/src/preview/scenarioCatalog.d.ts +6 -0
- package/dist/src/preview/scenarioCatalog.d.ts.map +1 -1
- package/dist/src/preview/scenarios.d.ts.map +1 -1
- package/dist/src/screens/FeeDetailsScreen.d.ts.map +1 -1
- package/dist/src/screens/depositMetrics.d.ts +2 -25
- package/dist/src/screens/depositMetrics.d.ts.map +1 -1
- package/dist/src/theme/buildFunkitTheme.d.ts +14 -0
- package/dist/src/theme/buildFunkitTheme.d.ts.map +1 -1
- package/dist/src/theme/inputTextStyle.d.ts +3 -2
- package/dist/src/theme/inputTextStyle.d.ts.map +1 -1
- package/dist/src/theme/restyle.d.ts +429 -0
- package/dist/src/theme/restyle.d.ts.map +1 -1
- package/dist/src/theme/textStyle.d.ts +1 -0
- package/dist/src/theme/textStyle.d.ts.map +1 -1
- package/dist/src/theme/toRestyleTheme.d.ts +39 -0
- package/dist/src/theme/toRestyleTheme.d.ts.map +1 -1
- package/dist/src/theme/typeScale.d.ts +98 -0
- package/dist/src/theme/typeScale.d.ts.map +1 -0
- package/ios/FrostedGlassView.swift +207 -0
- package/ios/FunkitGlassEffect.podspec +1 -1
- package/ios/FunkitGlassEffectModule.swift +42 -0
- package/package.json +7 -6
- package/dist/chunk-BC4RXFI7.js.map +0 -7
- package/dist/chunk-KDRCHYXB.js.map +0 -7
- package/dist/chunk-ZIT24GW5.js.map +0 -7
- package/dist/src/fiat/FiatGradientTitle.d.ts +0 -15
- package/dist/src/fiat/FiatGradientTitle.d.ts.map +0 -1
- /package/dist/{chunk-Z6IQFV5E.js.map → chunk-GCPIOARQ.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,62 @@
|
|
|
1
1
|
# @funkit/connect-rn
|
|
2
2
|
|
|
3
|
+
## 9.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 270929a: A failed Apple Pay payment now re-quotes on a provider the buyer has not tried yet, and a banner tells them the payment failed.
|
|
8
|
+
- 762d188: Alert each Coinbase payment failure with its own title and message instead of "Apple Pay is temporarily unavailable"
|
|
9
|
+
- cb9de15: The fiat amount screen can price through Fun's routing table, off by default behind a feature gate.
|
|
10
|
+
- 81315d7: Fiat flow text now follows one shared type scale, with roomier line spacing on the identity intro screen.
|
|
11
|
+
- bc61501: Match dark sheet frosting across iOS 26 and iOS 27 without amplifying background colors.
|
|
12
|
+
- 5c276ad: Call out "no ID needed" in the KYC consent title instead of its description.
|
|
13
|
+
- 66093d9: Logs which MoonPay payment disclosures a quote requires.
|
|
14
|
+
- 076327f: Name each MoonPay and Stripe payment failure by its cause, and only blame the connection when the page never loaded
|
|
15
|
+
- 737bfb6: Fix reopening the deposit sheet mid-close leaving an empty sheet over the app.
|
|
16
|
+
- 95f30c2: Close Stripe Apple Pay deposits as soon as the payment goes through, with a dismissible "on the way" toast.
|
|
17
|
+
- 77ac91a: Show a "deposit is processing" toast from the moment Stripe's Apple Pay sheet closes until the deposit goes through.
|
|
18
|
+
- Updated dependencies [cb9de15]
|
|
19
|
+
- @funkit/api-base@8.6.0
|
|
20
|
+
- @funkit/connect-core@8.6.0
|
|
21
|
+
|
|
22
|
+
## 9.0.0
|
|
23
|
+
|
|
24
|
+
### Major Changes
|
|
25
|
+
|
|
26
|
+
- fb2c49d: Match MoonPay's Apple Pay button size to the app's button style
|
|
27
|
+
|
|
28
|
+
**Breaking:** `react-native-webview` peer dependency raised to `>=13.15.0`, required by MoonPay's SDK. Apps on 13.0–13.14 must upgrade `react-native-webview` before updating.
|
|
29
|
+
|
|
30
|
+
### Minor Changes
|
|
31
|
+
|
|
32
|
+
- b8682b9: `onPaymentMethodPress` receives the amount the user has entered, with its currency.
|
|
33
|
+
- fb5996c: Add `hideFiatDeposit` to `FunkitConfig` to hide the cash funding options on the Add money screen (React Native only)
|
|
34
|
+
- 4b2e9ba: Report a deposit that ends on a provider refusal as `provider_unavailable` instead of `cancelled`.
|
|
35
|
+
|
|
36
|
+
### Patch Changes
|
|
37
|
+
|
|
38
|
+
- 59d1eec: Fix Continue doing nothing when Coinbase asks to re-verify the phone before Apple Pay.
|
|
39
|
+
- a0e75ad: The phone and email verification heading matches the design: 24pt at full text colour.
|
|
40
|
+
- 2f2a64c: Stripe initialization failures now log the Stripe error instead of "[object Object]"
|
|
41
|
+
- 7a9c5a8: Deposit sheet logs record each sheet movement, to help diagnose a resume that shows no sheet.
|
|
42
|
+
- 8be3920: Keep the deposit sheet translucent on iOS 27 instead of rendering it as a solid black panel
|
|
43
|
+
- 41ae7fc: Log an error whenever a fiat step shows "This step isn't available yet"
|
|
44
|
+
- ab6c8a8: Fail and log a fiat payment page whose web view crashed or never loaded.
|
|
45
|
+
- 9ffe53d: Stop repeating fiat log records on every re-render.
|
|
46
|
+
- 76eb22c: Fix the deposit sheet not reopening after it is closed.
|
|
47
|
+
- 7cd38f7: Keep a deposit's closing log records on its trace.
|
|
48
|
+
- b33e619: Keep diagnostic logs that failed to send or were buffered when the app went to the background.
|
|
49
|
+
- dee74e5: A deposit session replaced by another `begin*` no longer reports errors or close to the host after the replacement opens.
|
|
50
|
+
- 2d378e2: `unstable_routingOverrides` is now accepted by production backends, so a host can pin quotes to chosen providers when testing against prod.
|
|
51
|
+
- df13498: Say when a phone number is already on too many Link accounts, instead of asking the buyer to check their details.
|
|
52
|
+
- 0bbc429: Fix withdrawals crashing on web when native keyboard APIs are unavailable.
|
|
53
|
+
- Updated dependencies [fb5996c]
|
|
54
|
+
- Updated dependencies [9ffe53d]
|
|
55
|
+
- Updated dependencies [ea451cf]
|
|
56
|
+
- Updated dependencies [2d378e2]
|
|
57
|
+
- @funkit/connect-core@8.5.1
|
|
58
|
+
- @funkit/api-base@8.5.3
|
|
59
|
+
|
|
3
60
|
## 8.3.0
|
|
4
61
|
|
|
5
62
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -228,18 +228,22 @@ view is.
|
|
|
228
228
|
The V2 deposit sheet and the drawers over it (fee details, country list, KYC
|
|
229
229
|
choosers) are drawn on glass: the design's Figma layer is a dark fill with a
|
|
230
230
|
**Glass** effect, which is iOS 26's Liquid Glass. The SDK ships that material
|
|
231
|
-
itself (`src/flow/SheetMaterial.tsx`):
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
module
|
|
242
|
-
|
|
231
|
+
itself (`src/flow/SheetMaterial.tsx`): a blur of the host app with Liquid Glass
|
|
232
|
+
refracting through it, drawn by one native view, `FrostedGlassView`, so the
|
|
233
|
+
blur and the glass share a single corner. The tint is the material's — every
|
|
234
|
+
surface renders it as is, and none passes one in. The deposit-received toast
|
|
235
|
+
draws its card on the same view.
|
|
236
|
+
|
|
237
|
+
The view lives in a native module this package carries under `ios/`
|
|
238
|
+
(`FunkitGlassEffect`). It also exports `GlassView`, forked from
|
|
239
|
+
`expo-glass-effect` with iOS 26's container-concentric corners added, which the
|
|
240
|
+
SDK uses alone for controls floating over content. Expo autolinking picks the
|
|
241
|
+
module up from `expo-module.config.json`; a host rebuilds its binary once after
|
|
242
|
+
upgrading. Below iOS 26 `FrostedGlassView` draws the blur without glass. Where
|
|
243
|
+
the pod isn't linked — Android, Expo Go, a binary built before the upgrade —
|
|
244
|
+
`src/native/glassEffect.ts` reads the module as absent and the surfaces draw
|
|
245
|
+
an `expo-blur` blur instead. Wherever there is no glass, each surface paints
|
|
246
|
+
its fill over the blur.
|
|
243
247
|
|
|
244
248
|
`expo` and `expo-blur` are peer dependencies for this. A host that wants a
|
|
245
249
|
different native material still has `FunkitProvider`'s `renderBackdropBlur`,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFunkitIdentity
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MMXSERQM.js";
|
|
4
4
|
import {
|
|
5
5
|
logger
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZE77GVDW.js";
|
|
7
7
|
|
|
8
8
|
// src/statsig/useDynamicConfig.ts
|
|
9
9
|
import {
|
|
@@ -110,4 +110,4 @@ export {
|
|
|
110
110
|
useIsStablecoin,
|
|
111
111
|
useSourceTokenUsdPrice
|
|
112
112
|
};
|
|
113
|
-
//# sourceMappingURL=chunk-
|
|
113
|
+
//# sourceMappingURL=chunk-GCPIOARQ.js.map
|