@funkit/connect-rn 6.2.0 → 8.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.
- package/CHANGELOG.md +148 -0
- package/README.md +97 -60
- package/dist/chunk-D64EJ57D.js +161 -0
- package/dist/chunk-D64EJ57D.js.map +7 -0
- package/dist/{chunk-VIMRV7N2.js → chunk-KZOSYNGV.js} +369 -207
- package/dist/chunk-KZOSYNGV.js.map +7 -0
- package/dist/{chunk-PLSQBNDE.js → chunk-SRVRWQO6.js} +5 -3
- package/dist/{chunk-PLSQBNDE.js.map → chunk-SRVRWQO6.js.map} +1 -1
- package/dist/clients/lighter.js +4 -2
- package/dist/clients/lighter.js.map +1 -1
- package/dist/clients/nado.js +5 -3
- package/dist/clients/nado.js.map +1 -1
- package/dist/clients/solana/index.d.ts +5 -0
- package/dist/clients/solana/index.d.ts.map +1 -0
- package/dist/clients/solana/solanaWithdrawal.d.ts +20 -0
- package/dist/clients/solana/solanaWithdrawal.d.ts.map +1 -0
- package/dist/clients/solana/useSolanaWithdrawal.d.ts +13 -0
- package/dist/clients/solana/useSolanaWithdrawal.d.ts.map +1 -0
- package/dist/clients/solana.d.ts +1 -0
- package/dist/clients/solana.js +87 -0
- package/dist/clients/solana.js.map +7 -0
- package/dist/index.d.ts +7 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7035 -2945
- package/dist/index.js.map +4 -4
- package/dist/src/components/Grabber.d.ts +3 -1
- package/dist/src/components/Grabber.d.ts.map +1 -1
- package/dist/src/components/LoadingSpinner.d.ts.map +1 -1
- package/dist/src/components/PillButton.d.ts.map +1 -1
- package/dist/src/components/v2/QuickAmountsRow.d.ts.map +1 -1
- package/dist/src/fiat/FiatChoiceField.d.ts +7 -1
- package/dist/src/fiat/FiatChoiceField.d.ts.map +1 -1
- package/dist/src/fiat/FiatCountrySheet.d.ts +11 -0
- package/dist/src/fiat/FiatCountrySheet.d.ts.map +1 -1
- package/dist/src/fiat/FiatFailureBanner.d.ts +14 -0
- package/dist/src/fiat/FiatFailureBanner.d.ts.map +1 -0
- package/dist/src/fiat/FiatFormScreen.d.ts +11 -1
- package/dist/src/fiat/FiatFormScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatIdentityStep.d.ts.map +1 -1
- package/dist/src/fiat/FiatKycFieldControl.d.ts +9 -2
- package/dist/src/fiat/FiatKycFieldControl.d.ts.map +1 -1
- package/dist/src/fiat/FiatKycOptionsScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatKycOutcomeScreen.d.ts +15 -2
- package/dist/src/fiat/FiatKycOutcomeScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatKycPhoneField.d.ts +21 -0
- package/dist/src/fiat/FiatKycPhoneField.d.ts.map +1 -0
- package/dist/src/fiat/FiatReceipt.d.ts +21 -0
- package/dist/src/fiat/FiatReceipt.d.ts.map +1 -0
- package/dist/src/fiat/FiatRegionUnsupportedScreen.d.ts +11 -0
- package/dist/src/fiat/FiatRegionUnsupportedScreen.d.ts.map +1 -0
- package/dist/src/fiat/FiatStatusScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatSubmissionIndicator.d.ts.map +1 -1
- package/dist/src/fiat/KycGlassBackdrop.d.ts.map +1 -1
- package/dist/src/fiat/ScreenSurfaceCover.d.ts +11 -0
- package/dist/src/fiat/ScreenSurfaceCover.d.ts.map +1 -0
- package/dist/src/fiat/SurfaceSlot.d.ts +12 -1
- package/dist/src/fiat/SurfaceSlot.d.ts.map +1 -1
- package/dist/src/fiat/depositOutcome.d.ts +33 -0
- package/dist/src/fiat/depositOutcome.d.ts.map +1 -0
- package/dist/src/fiat/fieldAutofill.d.ts.map +1 -1
- package/dist/src/fiat/formLayout.d.ts +12 -5
- package/dist/src/fiat/formLayout.d.ts.map +1 -1
- package/dist/src/fiat/formScreenProps.d.ts +4 -2
- package/dist/src/fiat/formScreenProps.d.ts.map +1 -1
- package/dist/src/fiat/kycFormPosition.d.ts +25 -1
- package/dist/src/fiat/kycFormPosition.d.ts.map +1 -1
- package/dist/src/fiat/kycFormState.d.ts +10 -0
- package/dist/src/fiat/kycFormState.d.ts.map +1 -1
- package/dist/src/fiat/kycUnavailableAlert.d.ts +21 -1
- package/dist/src/fiat/kycUnavailableAlert.d.ts.map +1 -1
- package/dist/src/fiat/methodName.d.ts +8 -0
- package/dist/src/fiat/methodName.d.ts.map +1 -0
- package/dist/src/fiat/providerFailover.d.ts +12 -0
- package/dist/src/fiat/providerFailover.d.ts.map +1 -0
- package/dist/src/fiat/providers/CoinbaseCheckoutSurface.d.ts +4 -2
- package/dist/src/fiat/providers/CoinbaseCheckoutSurface.d.ts.map +1 -1
- package/dist/src/fiat/providers/StripeSessionAuthController.d.ts +29 -0
- package/dist/src/fiat/providers/StripeSessionAuthController.d.ts.map +1 -0
- package/dist/src/fiat/providers/StripeSessionAuthScreen.d.ts +10 -0
- package/dist/src/fiat/providers/StripeSessionAuthScreen.d.ts.map +1 -0
- package/dist/src/fiat/providers/adapter.d.ts +6 -0
- package/dist/src/fiat/providers/adapter.d.ts.map +1 -1
- package/dist/src/fiat/providers/coinbaseOnrampEvents.d.ts +7 -3
- package/dist/src/fiat/providers/coinbaseOnrampEvents.d.ts.map +1 -1
- package/dist/src/fiat/providers/describeThrown.d.ts +14 -0
- package/dist/src/fiat/providers/describeThrown.d.ts.map +1 -0
- package/dist/src/fiat/providers/moonpay.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpayTrace.d.ts +25 -0
- package/dist/src/fiat/providers/moonpayTrace.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripeAccountCreation.d.ts +12 -0
- package/dist/src/fiat/providers/stripeAccountCreation.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripeAuthorize.d.ts +5 -0
- package/dist/src/fiat/providers/stripeAuthorize.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripeCheckout.d.ts +28 -0
- package/dist/src/fiat/providers/stripeCheckout.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripeKyc.d.ts +56 -0
- package/dist/src/fiat/providers/stripeKyc.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripeKycInfo.d.ts +11 -0
- package/dist/src/fiat/providers/stripeKycInfo.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripeOnramp.d.ts +135 -0
- package/dist/src/fiat/providers/stripeOnramp.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripeOnrampBridge.d.ts +20 -0
- package/dist/src/fiat/providers/stripeOnrampBridge.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripePayment.d.ts +34 -0
- package/dist/src/fiat/providers/stripePayment.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripeSdk.d.ts +19 -0
- package/dist/src/fiat/providers/stripeSdk.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripeSeamlessSignIn.d.ts +18 -0
- package/dist/src/fiat/providers/stripeSeamlessSignIn.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripeSessionAuth.d.ts +43 -0
- package/dist/src/fiat/providers/stripeSessionAuth.d.ts.map +1 -0
- package/dist/src/fiat/providers/useStripeOnrampClient.d.ts +35 -0
- package/dist/src/fiat/providers/useStripeOnrampClient.d.ts.map +1 -0
- package/dist/src/fiat/quoteRefusal.d.ts +27 -0
- package/dist/src/fiat/quoteRefusal.d.ts.map +1 -1
- package/dist/src/fiat/renderCaptureSurface.d.ts +1 -1
- package/dist/src/fiat/renderCaptureSurface.d.ts.map +1 -1
- package/dist/src/fiat/sectionDetail.d.ts.map +1 -1
- package/dist/src/fiat/stepDetails.d.ts +5 -1
- package/dist/src/fiat/stepDetails.d.ts.map +1 -1
- package/dist/src/fiat/useFiatDirectDelivery.d.ts +5 -4
- package/dist/src/fiat/useFiatDirectDelivery.d.ts.map +1 -1
- package/dist/src/fiat/useIdentityAssertion.d.ts +35 -0
- package/dist/src/fiat/useIdentityAssertion.d.ts.map +1 -0
- package/dist/src/fiat/useKycCompletion.d.ts +11 -3
- package/dist/src/fiat/useKycCompletion.d.ts.map +1 -1
- package/dist/src/fiat/useQuoteableCeiling.d.ts +28 -0
- package/dist/src/fiat/useQuoteableCeiling.d.ts.map +1 -0
- package/dist/src/fiat/useStaleQuoteRecovery.d.ts +8 -1
- package/dist/src/fiat/useStaleQuoteRecovery.d.ts.map +1 -1
- package/dist/src/flow/DepositAmountStep.d.ts +4 -2
- package/dist/src/flow/DepositAmountStep.d.ts.map +1 -1
- package/dist/src/flow/DepositFlowContent.d.ts +4 -1
- package/dist/src/flow/DepositFlowContent.d.ts.map +1 -1
- package/dist/src/flow/DepositReceivedToast.d.ts +17 -0
- package/dist/src/flow/DepositReceivedToast.d.ts.map +1 -0
- package/dist/src/flow/FeeDetailsSheet.d.ts.map +1 -1
- package/dist/src/flow/FiatDepositAmountStep.d.ts +6 -2
- package/dist/src/flow/FiatDepositAmountStep.d.ts.map +1 -1
- package/dist/src/flow/FiatRegionBlockedStep.d.ts +14 -0
- package/dist/src/flow/FiatRegionBlockedStep.d.ts.map +1 -0
- package/dist/src/flow/FiatRegionPendingStep.d.ts +10 -0
- package/dist/src/flow/FiatRegionPendingStep.d.ts.map +1 -0
- package/dist/src/flow/FlowSheet.d.ts +14 -20
- package/dist/src/flow/FlowSheet.d.ts.map +1 -1
- package/dist/src/flow/FunkitFlowProvider.d.ts +18 -5
- package/dist/src/flow/FunkitFlowProvider.d.ts.map +1 -1
- package/dist/src/flow/SheetMaterial.d.ts +11 -0
- package/dist/src/flow/SheetMaterial.d.ts.map +1 -0
- package/dist/src/flow/StepPage.d.ts +16 -0
- package/dist/src/flow/StepPage.d.ts.map +1 -0
- package/dist/src/flow/WithdrawalFlowContent.d.ts.map +1 -1
- package/dist/src/flow/accountContext.d.ts +6 -0
- package/dist/src/flow/accountContext.d.ts.map +1 -0
- package/dist/src/flow/depositFlowConfig.d.ts +116 -31
- package/dist/src/flow/depositFlowConfig.d.ts.map +1 -1
- package/dist/src/flow/depositMethods.d.ts +21 -0
- package/dist/src/flow/depositMethods.d.ts.map +1 -0
- package/dist/src/flow/depositRailCopy.d.ts +20 -0
- package/dist/src/flow/depositRailCopy.d.ts.map +1 -0
- package/dist/src/flow/flowError.d.ts +47 -0
- package/dist/src/flow/flowError.d.ts.map +1 -0
- package/dist/src/flow/flowStepHeight.d.ts +19 -0
- package/dist/src/flow/flowStepHeight.d.ts.map +1 -0
- package/dist/src/flow/useDepositReceivedToast.d.ts +22 -0
- package/dist/src/flow/useDepositReceivedToast.d.ts.map +1 -0
- package/dist/src/flow/validateClientMetadata.d.ts +2 -3
- package/dist/src/flow/validateClientMetadata.d.ts.map +1 -1
- package/dist/src/flow/withdrawalFlowConfig.d.ts +5 -4
- package/dist/src/flow/withdrawalFlowConfig.d.ts.map +1 -1
- package/dist/src/geo/useFiatRegionSupport.d.ts +23 -0
- package/dist/src/geo/useFiatRegionSupport.d.ts.map +1 -0
- package/dist/src/hooks/useGuardedAmountInput.d.ts +15 -15
- package/dist/src/hooks/useGuardedAmountInput.d.ts.map +1 -1
- package/dist/src/hooks/usePressScale.d.ts +22 -3
- package/dist/src/hooks/usePressScale.d.ts.map +1 -1
- package/dist/src/hooks/useSheetFade.d.ts +11 -0
- package/dist/src/hooks/useSheetFade.d.ts.map +1 -0
- package/dist/src/icons/FigmaSystemIcons.d.ts +1 -0
- package/dist/src/icons/FigmaSystemIcons.d.ts.map +1 -1
- package/dist/src/icons/KycIdentityIcon.d.ts +2 -1
- package/dist/src/icons/KycIdentityIcon.d.ts.map +1 -1
- package/dist/src/icons/KycStatusIcon.d.ts +1 -1
- package/dist/src/icons/KycStatusIcon.d.ts.map +1 -1
- package/dist/src/icons/kycArtwork.d.ts +15 -0
- package/dist/src/icons/kycArtwork.d.ts.map +1 -1
- package/dist/src/identity/IdentityContext.d.ts +31 -8
- package/dist/src/identity/IdentityContext.d.ts.map +1 -1
- package/dist/src/logging/debugBridge.d.ts +13 -0
- package/dist/src/logging/debugBridge.d.ts.map +1 -0
- package/dist/src/native/glassEffect.d.ts +18 -0
- package/dist/src/native/glassEffect.d.ts.map +1 -0
- package/dist/src/providers/FunkitProvider.d.ts +18 -9
- package/dist/src/providers/FunkitProvider.d.ts.map +1 -1
- package/dist/src/providers/NativeCapabilitiesContext.d.ts +20 -14
- package/dist/src/providers/NativeCapabilitiesContext.d.ts.map +1 -1
- package/dist/src/providers/useFrozenIdentity.d.ts +19 -0
- package/dist/src/providers/useFrozenIdentity.d.ts.map +1 -0
- package/dist/src/providers/useFunkitCheckout.d.ts +7 -3
- package/dist/src/providers/useFunkitCheckout.d.ts.map +1 -1
- package/dist/src/screens/DepositAmountScreen.d.ts +1 -1
- package/dist/src/screens/DepositAmountScreen.d.ts.map +1 -1
- package/dist/src/screens/FeeDetailsScreen.d.ts +7 -13
- package/dist/src/screens/FeeDetailsScreen.d.ts.map +1 -1
- package/dist/src/screens/WithdrawAddressScreen.d.ts.map +1 -1
- package/dist/src/screens/WithdrawAmountScreen.d.ts.map +1 -1
- package/dist/src/screens/WithdrawCompleteScreen.d.ts.map +1 -1
- package/dist/src/screens/depositMetrics.d.ts +2 -3
- package/dist/src/screens/depositMetrics.d.ts.map +1 -1
- package/dist/src/statsig/useStatsigReady.d.ts +11 -0
- package/dist/src/statsig/useStatsigReady.d.ts.map +1 -0
- package/dist/src/swapped/SwappedWebView.d.ts.map +1 -1
- package/dist/src/swapped/SwappedWithdrawScreen.d.ts +3 -1
- package/dist/src/swapped/SwappedWithdrawScreen.d.ts.map +1 -1
- package/dist/src/swapped/paymentNavigation.d.ts +21 -0
- package/dist/src/swapped/paymentNavigation.d.ts.map +1 -0
- package/dist/src/theme/buildFunkitTheme.d.ts +15 -11
- package/dist/src/theme/buildFunkitTheme.d.ts.map +1 -1
- package/dist/src/theme/restyle.d.ts +495 -363
- package/dist/src/theme/restyle.d.ts.map +1 -1
- package/dist/src/theme/toRestyleTheme.d.ts +45 -33
- package/dist/src/theme/toRestyleTheme.d.ts.map +1 -1
- package/dist/src/theme/tokens.d.ts +5 -5
- package/dist/src/theme/tokens.d.ts.map +1 -1
- package/dist/src/transfer/hooks/useDepositRecipient.d.ts +2 -2
- package/dist/src/transfer/hooks/useDepositRecipient.d.ts.map +1 -1
- package/dist/src/transfer/hooks/useTokenTransfer.d.ts +3 -2
- package/dist/src/transfer/hooks/useTokenTransfer.d.ts.map +1 -1
- package/dist/src/transfer/hooks/useTransferInit.d.ts +2 -3
- package/dist/src/transfer/hooks/useTransferInit.d.ts.map +1 -1
- package/dist/src/utils/formatAmount.d.ts +4 -3
- package/dist/src/utils/formatAmount.d.ts.map +1 -1
- package/dist/src/utils/motion.d.ts +18 -0
- package/dist/src/utils/motion.d.ts.map +1 -1
- package/dist/src/withdrawal/fiatTargetDecimals.d.ts +13 -0
- package/dist/src/withdrawal/fiatTargetDecimals.d.ts.map +1 -0
- package/dist/src/withdrawal/useCryptoWithdrawalForm.d.ts.map +1 -1
- package/dist/src/withdrawal/useSourceTokenDecimals.d.ts.map +1 -1
- package/dist/src/withdrawal/useWithdrawalExecution.d.ts.map +1 -1
- package/dist/src/withdrawal/useWithdrawalSourceTokenBalance.d.ts +11 -0
- package/dist/src/withdrawal/useWithdrawalSourceTokenBalance.d.ts.map +1 -0
- package/expo-module.config.json +6 -0
- package/ios/FunkitGlassEffect.podspec +23 -0
- package/ios/FunkitGlassEffectModule.swift +126 -0
- package/ios/GlassStyle.swift +52 -0
- package/ios/GlassView.swift +305 -0
- package/package.json +23 -7
- package/dist/chunk-VIMRV7N2.js.map +0 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGuardedAmountInput.d.ts","sourceRoot":"","sources":["../../../src/hooks/useGuardedAmountInput.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,KAAK,SAAS,EAAkB,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"useGuardedAmountInput.d.ts","sourceRoot":"","sources":["../../../src/hooks/useGuardedAmountInput.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,KAAK,SAAS,EAAkB,MAAM,sBAAsB,CAAA;AAuBrE;;;GAGG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAKxE;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAM3E;AAOD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,KAAK,EACL,aAAa,EACb,QAAQ,EACR,QAAgB,GACjB,EAAE;IACD,KAAK,EAAE,MAAM,CAAA;IACb,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACtC,2EAA2E;IAC3E,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;;;;;;;;;;;wBA4DU,MAAM;2BA2BP,SAAS;;EAiClB"}
|
|
@@ -1,16 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A row or a disclosure gives a little; the action a deposit turns on gives
|
|
3
|
+
* more, because it is the one press a buyer needs to feel they have made.
|
|
4
|
+
*/
|
|
5
|
+
export declare const ACTION_PRESSED_SCALE = 0.95;
|
|
6
|
+
export declare const ACTION_PRESSED_DIM = 0.85;
|
|
7
|
+
export interface PressScaleOptions {
|
|
8
|
+
/** Scale at the bottom of the press. */
|
|
9
|
+
scale?: number;
|
|
10
|
+
/** Opacity at the bottom of the press; 1 leaves the control at full strength. */
|
|
11
|
+
dim?: number;
|
|
12
|
+
/** Fire a tap as the finger lands. Off for controls that are not an action. */
|
|
13
|
+
haptics?: boolean;
|
|
14
|
+
}
|
|
1
15
|
/**
|
|
2
16
|
* Press feedback for a control the design gives no pressed fill: it dips under
|
|
3
17
|
* the finger on press-in and springs back on press-out. Scale takes the label
|
|
4
18
|
* and any icon with it, which is what makes it read as one physical object.
|
|
5
19
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
20
|
+
* Dip and dim run off one value, so the control is at its darkest exactly at
|
|
21
|
+
* the bottom of the travel rather than drifting against it.
|
|
22
|
+
*
|
|
23
|
+
* Reduced motion drops the dip but keeps the dim, applied without a ramp: the
|
|
24
|
+
* press still has to answer, and a control that changes strength in place asks
|
|
25
|
+
* nothing of a vestibular system. The tap is unaffected — it is not motion.
|
|
8
26
|
*/
|
|
9
|
-
export declare function usePressScale(): {
|
|
27
|
+
export declare function usePressScale({ scale, dim, haptics, }?: PressScaleOptions): {
|
|
10
28
|
pressStyle: import("react-native-reanimated/lib/typescript/hook/commonTypes").AnimatedStyleHandle<{
|
|
11
29
|
transform: {
|
|
12
30
|
scale: number;
|
|
13
31
|
}[];
|
|
32
|
+
opacity: number;
|
|
14
33
|
}>;
|
|
15
34
|
onPressIn: () => void;
|
|
16
35
|
onPressOut: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePressScale.d.ts","sourceRoot":"","sources":["../../../src/hooks/usePressScale.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"usePressScale.d.ts","sourceRoot":"","sources":["../../../src/hooks/usePressScale.ts"],"names":[],"mappings":"AAgBA;;;GAGG;AACH,eAAO,MAAM,oBAAoB,OAAO,CAAA;AACxC,eAAO,MAAM,kBAAkB,OAAO,CAAA;AAEtC,MAAM,WAAW,iBAAiB;IAChC,wCAAwC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iFAAiF;IACjF,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,+EAA+E;IAC/E,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,aAAa,CAAC,EAC5B,KAAqB,EACrB,GAAO,EACP,OAAe,GAChB,GAAE,iBAAsB;;;;;;;;;EA6BxB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Opacity that rides the enclosing gorhom sheet's rise: opaque with the sheet
|
|
3
|
+
* head at the top of the screen, gone once it has dropped a quarter of the way
|
|
4
|
+
* down (the sheet covering ~75%), tracking the drag in between. Outside a sheet
|
|
5
|
+
* (Storybook, tests, an embedded screen) there is nothing to track and the
|
|
6
|
+
* style is a static full opacity.
|
|
7
|
+
*/
|
|
8
|
+
export declare function useSheetFade(enabled?: boolean): import("react-native-reanimated/lib/typescript/hook/commonTypes").AnimatedStyleHandle<{
|
|
9
|
+
opacity: number;
|
|
10
|
+
}>;
|
|
11
|
+
//# sourceMappingURL=useSheetFade.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSheetFade.d.ts","sourceRoot":"","sources":["../../../src/hooks/useSheetFade.ts"],"names":[],"mappings":"AAYA;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,OAAO,UAAO;;GAW1C"}
|
|
@@ -18,5 +18,6 @@ export declare function FigmaInfoCircleIcon({ size, color }: IconProps): import(
|
|
|
18
18
|
export declare function FigmaPlusIcon({ size, color }: IconProps): import("react").JSX.Element;
|
|
19
19
|
export declare function FigmaSearchIcon({ size, color }: IconProps): import("react").JSX.Element;
|
|
20
20
|
export declare function FigmaAlertCircleIcon({ size, color }: IconProps): import("react").JSX.Element;
|
|
21
|
+
export declare function FigmaAlertCircleOutlineIcon({ size, color }: IconProps): import("react").JSX.Element;
|
|
21
22
|
export {};
|
|
22
23
|
//# sourceMappingURL=FigmaSystemIcons.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FigmaSystemIcons.d.ts","sourceRoot":"","sources":["../../../src/icons/FigmaSystemIcons.tsx"],"names":[],"mappings":"AAIA,KAAK,SAAS,GAAG;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AA0DD,wBAAgB,cAAc,CAAC,EAAE,IAAS,EAAE,KAAK,EAAE,EAAE,SAAS,+BAE7D;AAED,wBAAgB,eAAe,CAAC,EAAE,IAAS,EAAE,KAAK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
|
-
* falls back to black and vanishes on a dark modal.
|
|
3
|
+
* falls back to black and vanishes on a dark modal. The frame runs the wash
|
|
4
|
+
* top-centre to bottom-left, so the vector is the export's own.
|
|
4
5
|
*/
|
|
5
6
|
export declare function KycIdentityIcon({ color }: {
|
|
6
7
|
color: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KycIdentityIcon.d.ts","sourceRoot":"","sources":["../../../src/icons/KycIdentityIcon.tsx"],"names":[],"mappings":"AAQA
|
|
1
|
+
{"version":3,"file":"KycIdentityIcon.d.ts","sourceRoot":"","sources":["../../../src/icons/KycIdentityIcon.tsx"],"names":[],"mappings":"AAQA;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,EAAE;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,+BAS3D"}
|
|
@@ -2,7 +2,7 @@ export type KycStatusGlyph = 'complete' | 'pending' | 'soft' | 'hard' | 'require
|
|
|
2
2
|
export declare function KycStatusIcon({ glyph, color, faded, height: drawn, }: {
|
|
3
3
|
glyph: KycStatusGlyph;
|
|
4
4
|
color?: string;
|
|
5
|
-
/** The card's
|
|
5
|
+
/** The card's brand-to-tint wash; the banner leaves it off. */
|
|
6
6
|
faded?: boolean;
|
|
7
7
|
/** Drawn height; the width follows. The banner omits it, the card sets it. */
|
|
8
8
|
height?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KycStatusIcon.d.ts","sourceRoot":"","sources":["../../../src/icons/KycStatusIcon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KycStatusIcon.d.ts","sourceRoot":"","sources":["../../../src/icons/KycStatusIcon.tsx"],"names":[],"mappings":"AAKA,MAAM,MAAM,cAAc,GACtB,UAAU,GACV,SAAS,GACT,MAAM,GACN,MAAM,GACN,UAAU,CAAA;AAoDd,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,KAAK,EACL,KAAa,EACb,MAAM,EAAE,KAAK,GACd,EAAE;IACD,KAAK,EAAE,cAAc,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,+DAA+D;IAC/D,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,8EAA8E;IAC9E,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,+BAmBA"}
|
|
@@ -1,3 +1,18 @@
|
|
|
1
1
|
import type { FunkitTheme } from '../theme/toRestyleTheme';
|
|
2
|
+
/**
|
|
3
|
+
* An 8-digit token in a gradient stop renders opaque black, so the alpha has to
|
|
4
|
+
* ride on `stop-opacity` and only the solid colour reach the stop.
|
|
5
|
+
*/
|
|
6
|
+
export declare const splitColorToken: (token: string) => {
|
|
7
|
+
solid: string;
|
|
8
|
+
alpha: number;
|
|
9
|
+
};
|
|
10
|
+
/** One `<stop>`, with any alpha moved off the colour. */
|
|
11
|
+
export declare const colorStop: (token: string, offset?: number) => string;
|
|
12
|
+
/**
|
|
13
|
+
* Repaints a KYC artwork export's two-stop ramp (Fun Mobile V2, 2812:1236):
|
|
14
|
+
* the host's brand at the top, the text colour at the bottom. The export's own
|
|
15
|
+
* 5–15% opacity is dropped — it makes the symbol vanish on a dark host.
|
|
16
|
+
*/
|
|
2
17
|
export declare function tintKycArtwork(xml: string, theme: FunkitTheme, color?: string): string;
|
|
3
18
|
//# sourceMappingURL=kycArtwork.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kycArtwork.d.ts","sourceRoot":"","sources":["../../../src/icons/kycArtwork.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"kycArtwork.d.ts","sourceRoot":"","sources":["../../../src/icons/kycArtwork.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAE1D;;;GAGG;AACH,eAAO,MAAM,eAAe,GAAI,OAAO,MAAM;;;CAGb,CAAA;AAEhC,yDAAyD;AACzD,eAAO,MAAM,SAAS,GAAI,OAAO,MAAM,EAAE,SAAS,MAAM,WAIvD,CAAA;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAC5B,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,WAAW,EAClB,KAAK,SAAiC,UAWvC"}
|
|
@@ -18,8 +18,21 @@ export interface FunkitIdentity {
|
|
|
18
18
|
prefillFiatEmail?: string;
|
|
19
19
|
/** See {@link FunkitConfig.hideCryptoDeposit}. Defaulted to false here. */
|
|
20
20
|
hideCryptoDeposit: boolean;
|
|
21
|
-
/**
|
|
22
|
-
|
|
21
|
+
/**
|
|
22
|
+
* Mints the identity assertion; resolved from
|
|
23
|
+
* {@link FunkitConfig.getIdentityAssertionRef} at call time.
|
|
24
|
+
*/
|
|
25
|
+
getIdentityAssertion?: GetIdentityAssertion;
|
|
26
|
+
}
|
|
27
|
+
/** Mints a short-lived JWT asserting who the current user is. */
|
|
28
|
+
export type GetIdentityAssertion = () => Promise<string>;
|
|
29
|
+
/**
|
|
30
|
+
* A ref holding the minter, as `useRef(async () => …)` returns it. Passing the
|
|
31
|
+
* ref rather than the function keeps the provider config referentially stable
|
|
32
|
+
* across the host's renders.
|
|
33
|
+
*/
|
|
34
|
+
export interface IdentityAssertionRef {
|
|
35
|
+
readonly current: GetIdentityAssertion | null | undefined;
|
|
23
36
|
}
|
|
24
37
|
/**
|
|
25
38
|
* Host-facing identity config, mirroring the identity-relevant subset of the
|
|
@@ -51,10 +64,9 @@ export interface FunkitConfig {
|
|
|
51
64
|
*/
|
|
52
65
|
prefillFiatEmail?: string;
|
|
53
66
|
/**
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
* derive their recipient from it.
|
|
57
|
-
* has no such option yet.
|
|
67
|
+
* @deprecated Leave `crypto` out of `DepositFlowConfig.methods` instead.
|
|
68
|
+
* Hides the built-in "Crypto" row on Add money; address generation still
|
|
69
|
+
* runs, since the fiat rails derive their recipient from it.
|
|
58
70
|
*/
|
|
59
71
|
hideCryptoDeposit?: boolean;
|
|
60
72
|
/**
|
|
@@ -63,8 +75,19 @@ export interface FunkitConfig {
|
|
|
63
75
|
* Read through `useFunkitBranding`, not identity.
|
|
64
76
|
*/
|
|
65
77
|
hideAttribution?: boolean;
|
|
66
|
-
/**
|
|
67
|
-
|
|
78
|
+
/**
|
|
79
|
+
* Stable ref to the function minting the short-lived identity assertion
|
|
80
|
+
* every fiat request carries. Required when `DepositFlowConfig.methods`
|
|
81
|
+
* names a fiat method. The minter must reject with a `code` of
|
|
82
|
+
* `SESSION_EXPIRED`, `ACCOUNT_INELIGIBLE` or `TRANSIENT`.
|
|
83
|
+
*
|
|
84
|
+
* `current` is captured with the rest of the identity when a flow opens
|
|
85
|
+
* and held for its life, so an assertion can never speak for a user the
|
|
86
|
+
* open flow is not. Point it at another user only between flows.
|
|
87
|
+
*/
|
|
88
|
+
getIdentityAssertionRef?: IdentityAssertionRef;
|
|
89
|
+
/** @deprecated Pass {@link getIdentityAssertionRef}. */
|
|
90
|
+
getIdentityAssertion?: GetIdentityAssertion;
|
|
68
91
|
}
|
|
69
92
|
/**
|
|
70
93
|
* Stands in for `walletAddress` when the host supplies none. Not a valid
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IdentityContext.d.ts","sourceRoot":"","sources":["../../../src/identity/IdentityContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAA6B,MAAM,OAAO,CAAA;AAIjE;;;;;GAKG;AACH,MAAM,WAAW,cAAc;IAC7B,sBAAsB;IACtB,MAAM,EAAE,MAAM,CAAA;IACd,sCAAsC;IACtC,MAAM,EAAE,MAAM,CAAA;IACd,8DAA8D;IAC9D,aAAa,EAAE,MAAM,CAAA;IACrB,6DAA6D;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,iFAAiF;IACjF,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,2EAA2E;IAC3E,iBAAiB,EAAE,OAAO,CAAA;IAC1B
|
|
1
|
+
{"version":3,"file":"IdentityContext.d.ts","sour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AGG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAQ1E;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,YAAY,EACpB,aAAa,EAAE,MAAM,GAAG,SAAS,GAChC,cAAc,CAchB;AAkBD,wBAAgB,sBAAsB,CAAC,EACrC,QAAQ,EACR,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,cAAc,CAAA;IACxB,QAAQ,EAAE,SAAS,CAAA;CACpB,+BAMA;AAED,wBAAgB,iBAAiB,IAAI,cAAc,CAQlD"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** The values that identify this session's records in Fun's log search. */
|
|
2
|
+
export interface FunkitTraceInfo {
|
|
3
|
+
/** The active flow's checkout id, or null when no flow is open. */
|
|
4
|
+
traceId: string | null;
|
|
5
|
+
/** Whatever the host passed as `FunkitConfig.debugTag`. */
|
|
6
|
+
debugTag: string | null;
|
|
7
|
+
}
|
|
8
|
+
export declare function getFunkitTraceInfo(): FunkitTraceInfo;
|
|
9
|
+
/** Send buffered records now rather than waiting out the batch timer. */
|
|
10
|
+
export declare function flushFunkitLogs(): void;
|
|
11
|
+
/** Route host-side debug events through the configured Funkit log pipeline. */
|
|
12
|
+
export declare function logFunkitEvent(title: string, data?: Record<string, unknown>): void;
|
|
13
|
+
//# sourceMappingURL=debugBridge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debugBridge.d.ts","sourceRoot":"","sources":["../../../src/logging/debugBridge.ts"],"names":[],"mappings":"AAEA,2EAA2E;AAC3E,MAAM,WAAW,eAAe;IAC9B,mEAAmE;IACnE,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,2DAA2D;IAC3D,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;CACxB;AAED,wBAAgB,kBAAkB,IAAI,eAAe,CAEpD;AAED,yEAAyE;AACzE,wBAAgB,eAAe,IAAI,IAAI,CAEtC;AAED,+EAA+E;AAC/E,wBAAgB,cAAc,CAC5B,KAAK,EAAE,MAAM,EACb,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC7B,IAAI,CAEN"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ComponentType } from 'react';
|
|
2
|
+
import type { ColorValue, ViewProps } from 'react-native';
|
|
3
|
+
export type GlassStyle = 'clear' | 'regular' | 'none';
|
|
4
|
+
export interface GlassViewProps extends ViewProps {
|
|
5
|
+
glassEffectStyle?: GlassStyle;
|
|
6
|
+
tintColor?: ColorValue;
|
|
7
|
+
isInteractive?: boolean;
|
|
8
|
+
colorScheme?: 'auto' | 'light' | 'dark';
|
|
9
|
+
/**
|
|
10
|
+
* Corners follow the enclosing container — the screen, for a full-bleed view
|
|
11
|
+
* (iOS 26 `containerConcentric`). Overrides the fixed radius props.
|
|
12
|
+
*/
|
|
13
|
+
concentricCorners?: boolean;
|
|
14
|
+
concentricMinimumRadius?: number;
|
|
15
|
+
}
|
|
16
|
+
export declare const isLiquidGlassAvailable: boolean;
|
|
17
|
+
export declare const GlassView: ComponentType<GlassViewProps> | null;
|
|
18
|
+
//# sourceMappingURL=glassEffect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"glassEffect.d.ts","sourceRoot":"","sources":["../../../src/native/glassEffect.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAIzD,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAA;AAErD,MAAM,WAAW,cAAe,SAAQ,SAAS;IAC/C,gBAAgB,CAAC,EAAE,UAAU,CAAA;IAC7B,SAAS,CAAC,EAAE,UAAU,CAAA;IACtB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA;IACvC;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,uBAAuB,CAAC,EAAE,MAAM,CAAA;CACjC;AAWD,eAAO,MAAM,sBAAsB,SAEW,CAAA;AAE9C,eAAO,MAAM,SAAS,EAAE,aAAa,CAAC,cAAc,CAAC,GAAG,IAG9C,CAAA"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { QueryClient } from '@tanstack/react-query';
|
|
2
2
|
import { type ReactNode } from 'react';
|
|
3
3
|
import type { BackdropBlurRenderer } from '../flow/FlowSheet';
|
|
4
|
+
import type { StripeOnrampConfig } from '../fiat/providers/useStripeOnrampClient';
|
|
4
5
|
import { type HapticFeedback } from '../haptics/HapticsContext';
|
|
5
6
|
import { type FunkitConfig } from '../identity/IdentityContext';
|
|
6
7
|
import type { Locale } from '../locales/i18n';
|
|
@@ -18,6 +19,9 @@ export interface FunkitProviderProps {
|
|
|
18
19
|
/**
|
|
19
20
|
* The connected wallet address (default transfer recipient). On web this
|
|
20
21
|
* comes from wagmi; RN has no wallet provider, so the host passes it here.
|
|
22
|
+
*
|
|
23
|
+
* Together with `config` this is who is paying, and it holds still while a
|
|
24
|
+
* flow is open: a change made mid-flow is logged and applies on close.
|
|
21
25
|
*/
|
|
22
26
|
walletAddress?: string;
|
|
23
27
|
/**
|
|
@@ -64,19 +68,24 @@ export interface FunkitProviderProps {
|
|
|
64
68
|
*/
|
|
65
69
|
pasteFromClipboard?: ClipboardReader;
|
|
66
70
|
/**
|
|
67
|
-
*
|
|
68
|
-
* blur
|
|
69
|
-
*
|
|
70
|
-
* design's blurred backdrop.
|
|
71
|
+
* Replaces the material under the flow sheets. The SDK ships its own — a
|
|
72
|
+
* blur of the host app with iOS 26 Liquid Glass through it — so leave this
|
|
73
|
+
* unset unless the app wants a different native material.
|
|
71
74
|
*/
|
|
72
75
|
renderBackdropBlur?: BackdropBlurRenderer;
|
|
73
76
|
/**
|
|
74
|
-
* Set
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
* over it, so the glass refracts the host app instead of a flat panel.
|
|
77
|
+
* Set with `renderBackdropBlur` when that view is iOS 26 Liquid Glass. The
|
|
78
|
+
* sheet then paints no fill over it, so the glass refracts the host app
|
|
79
|
+
* instead of a flat panel. Meaningless alone.
|
|
78
80
|
*/
|
|
79
81
|
liquidGlass?: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Turns the Stripe fiat rail on. This package bundles Stripe's native SDK and
|
|
84
|
+
* drives it itself; all a host supplies is its own account's publishable key,
|
|
85
|
+
* the display name for Stripe's sheets, and — for Apple Pay — the Apple
|
|
86
|
+
* Merchant ID from its entitlements. Omit it and no Stripe code runs.
|
|
87
|
+
*/
|
|
88
|
+
stripeOnramp?: StripeOnrampConfig;
|
|
80
89
|
/**
|
|
81
90
|
* Tactile tap for the withdrawal keypad. Omitted, the SDK taps through the
|
|
82
91
|
* optional `react-native-haptic-feedback` peer when it is installed, and
|
|
@@ -98,5 +107,5 @@ export interface FunkitProviderProps {
|
|
|
98
107
|
* Host integration stays a single
|
|
99
108
|
* `<FunkitProvider>`.
|
|
100
109
|
*/
|
|
101
|
-
export declare function FunkitProvider({ children, config, walletAddress, queryClient, themes, colorScheme, debug, locale, copyToClipboard, pasteFromClipboard, renderBackdropBlur, liquidGlass, hapticFeedback, }: FunkitProviderProps): import("react").JSX.Element;
|
|
110
|
+
export declare function FunkitProvider({ children, config, walletAddress, queryClient, themes, colorScheme, debug, locale, copyToClipboard, pasteFromClipboard, renderBackdropBlur, liquidGlass, stripeOnramp, hapticFeedback, }: FunkitProviderProps): import("react").JSX.Element;
|
|
102
111
|
//# sourceMappingURL=FunkitProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FunkitProvider.d.ts","sourceRoot":"","sources":["../../../src/providers/FunkitProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,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;;;;;;;OAOG;IACH,eAAe,CAAC,EAAE,eAAe,CAAA;IACjC;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,eAAe,CAAA;IACpC;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,oBAAoB,CAAA;IACzC;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,kBAAkB,CAAA;IACjC;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,cAAc,CAAA;CAChC;AA8BD;;;;;;;;;;;GAWG;AACH,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,MAAM,EACN,aAAa,EACb,WAAW,EACX,MAAM,EACN,WAAW,EACX,KAAoB,EACpB,MAAM,EACN,eAAe,EACf,kBAAkB,EAClB,kBAAkB,EAClB,WAAW,EACX,YAAY,EACZ,cAAc,GACf,EAAE,mBAAmB,+BAuErB"}
|
|
@@ -1,23 +1,27 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
|
+
import type { StripeOnrampClient } from '../fiat/providers/stripeOnramp';
|
|
2
3
|
import type { BackdropBlurRenderer } from '../flow/FlowSheet';
|
|
3
4
|
import { type ClipboardWriter, type SafeClipboardReader } from '../transfer/clipboard';
|
|
4
5
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
6
|
+
* Natively-backed abilities carried in reach of every screen rather than just
|
|
7
|
+
* where they were built. Most are host-injected overrides; the Stripe client is
|
|
8
|
+
* built by this package from host *config* (see `useStripeOnrampClient`) and
|
|
9
|
+
* placed here the same way, so screens read one shape either way.
|
|
9
10
|
*/
|
|
10
11
|
export interface NativeCapabilities {
|
|
12
|
+
/** Stripe Embedded Components, present only when the host configured an account. */
|
|
13
|
+
stripeOnramp?: StripeOnrampClient;
|
|
11
14
|
/**
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
+
* Host replacement for the material under the flow's translucent surfaces.
|
|
16
|
+
* Carried here because a drawer that opens over a translucent sheet needs the
|
|
17
|
+
* same material behind it, and it is presented from a step several levels
|
|
18
|
+
* below the host. See {@link BackdropBlurRenderer}.
|
|
15
19
|
*/
|
|
16
20
|
renderBackdropBlur?: BackdropBlurRenderer;
|
|
17
21
|
/**
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
22
|
+
* Whether the material is iOS 26 Liquid Glass. The sheet then paints no fill
|
|
23
|
+
* over it — a fill over a refractive material flattens it back to a panel.
|
|
24
|
+
* Unset, it follows the package's own material.
|
|
21
25
|
*/
|
|
22
26
|
liquidGlass?: boolean;
|
|
23
27
|
/**
|
|
@@ -41,11 +45,13 @@ export declare function NativeCapabilitiesProvider({ capabilities, children, }:
|
|
|
41
45
|
/**
|
|
42
46
|
* The capabilities with the clipboard pair resolved to the bare-RN defaults, so
|
|
43
47
|
* a subtree rendered without the provider (unit tests, Storybook) still has a
|
|
44
|
-
* working clipboard. The
|
|
48
|
+
* working clipboard. The material resolves in {@link useBackdropBlur}.
|
|
45
49
|
*/
|
|
46
50
|
export declare function useNativeCapabilities(): ResolvedNativeCapabilities;
|
|
47
|
-
/** The host's
|
|
48
|
-
export declare function useBackdropBlur(): BackdropBlurRenderer
|
|
49
|
-
/** Whether the
|
|
51
|
+
/** The host's material, or the package's own when it supplied none. */
|
|
52
|
+
export declare function useBackdropBlur(): BackdropBlurRenderer;
|
|
53
|
+
/** Whether the material in use is Liquid Glass — see {@link NativeCapabilities.liquidGlass}. */
|
|
50
54
|
export declare function useLiquidGlass(): boolean;
|
|
55
|
+
/** The Stripe Embedded Components client, or `undefined` with no Stripe config. */
|
|
56
|
+
export declare function useStripeOnramp(): StripeOnrampClient | undefined;
|
|
51
57
|
//# sourceMappingURL=NativeCapabilitiesContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NativeCapabilitiesContext.d.ts","sourceRoot":"","sources":["../../../src/providers/NativeCapabilitiesContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAsC,MAAM,OAAO,CAAA;AAE1E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"NativeCapabilitiesContext.d.ts","sourceRoot":"","sources":["../../../src/providers/NativeCapabilitiesContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAsC,MAAM,OAAO,CAAA;AAE1E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAA;AACxE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAG7D,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,mBAAmB,EAIzB,MAAM,uBAAuB,CAAA;AAE9B;;;;;GAKG;AACH,MAAM,WAAW,kBAAkB;IACjC,oFAAoF;IACpF,YAAY,CAAC,EAAE,kBAAkB,CAAA;IACjC;;;;;OAKG;IACH,kBAAkB,CAAC,EAAE,oBAAoB,CAAA;IACzC;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;;;OAIG;IACH,eAAe,CAAC,EAAE,eAAe,CAAA;IACjC,gFAAgF;IAChF,kBAAkB,CAAC,EAAE,mBAAmB,CAAA;CACzC;AAED,sEAAsE;AACtE,MAAM,MAAM,0BAA0B,GAAG,kBAAkB,GAAG;IAC5D,eAAe,EAAE,eAAe,CAAA;IAChC,kBAAkB,EAAE,mBAAmB,CAAA;CACxC,CAAA;AAMD,wBAAgB,0BAA0B,CAAC,EACzC,YAAY,EACZ,QAAQ,GACT,EAAE;IACD,YAAY,EAAE,kBAAkB,CAAA;IAChC,QAAQ,EAAE,SAAS,CAAA;CACpB,+BAMA;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,IAAI,0BAA0B,CAWlE;AAED,uEAAuE;AACvE,wBAAgB,eAAe,IAAI,oBAAoB,CAKtD;AAED,gGAAgG;AAChG,wBAAgB,cAAc,IAAI,OAAO,CAQxC;AAED,mFAAmF;AACnF,wBAAgB,eAAe,IAAI,kBAAkB,GAAG,SAAS,CAEhE"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { FunkitConfig } from '../identity/IdentityContext';
|
|
2
|
+
interface IdentityProps {
|
|
3
|
+
config: FunkitConfig;
|
|
4
|
+
walletAddress: string | undefined;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Identity holds still while a flow is on screen: swapping the user under an
|
|
8
|
+
* open KYC or quote is undefined behaviour, so the props a flow opened with
|
|
9
|
+
* stay in force until it closes. A change that lands mid-flow is logged and
|
|
10
|
+
* applied on close — or when the next flow opens, replacement included, so a
|
|
11
|
+
* flow never pays as the user before it. Appearance and locale stay live;
|
|
12
|
+
* only who is paying does not.
|
|
13
|
+
*/
|
|
14
|
+
export declare function useFrozenIdentity(live: IdentityProps): {
|
|
15
|
+
identity: IdentityProps;
|
|
16
|
+
onFlowOpenChange: (isOpen: boolean) => void;
|
|
17
|
+
};
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=useFrozenIdentity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useFrozenIdentity.d.ts","sourceRoot":"","sources":["../../../src/providers/useFrozenIdentity.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAG/D,UAAU,aAAa;IACrB,MAAM,EAAE,YAAY,CAAA;IACpB,aAAa,EAAE,MAAM,GAAG,SAAS,CAAA;CAClC;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,aAAa,GAAG;IACtD,QAAQ,EAAE,aAAa,CAAA;IACvB,gBAAgB,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAA;CAC5C,CAsBA"}
|
|
@@ -8,13 +8,17 @@ export type FunkitCheckoutCallbacks = DepositFlowCallbacks & WithdrawalFlowCallb
|
|
|
8
8
|
* host renders no screens itself.
|
|
9
9
|
*
|
|
10
10
|
* `beginDeposit(config)` opens the deposit flow (Add money → Transfer/UDA →
|
|
11
|
-
* Choose chain / Supported tokens / QR).
|
|
12
|
-
*
|
|
11
|
+
* Choose chain / Supported tokens / QR, or the amount-first fiat surface). It
|
|
12
|
+
* resolves once the flow is on screen; a config that cannot open one throws a
|
|
13
|
+
* `misconfigured` `FunkitMisconfiguredError` at the call, which `await` also
|
|
14
|
+
* surfaces.
|
|
15
|
+
* `beginWithdrawal(config)` opens the fiat-offramp withdrawal flow (payout
|
|
16
|
+
* methods → Swapped sell embed).
|
|
13
17
|
* `beginCheckout` will be added here as that flow lands, matching the web
|
|
14
18
|
* surface.
|
|
15
19
|
*/
|
|
16
20
|
export declare function useFunkitCheckout(callbacks?: FunkitCheckoutCallbacks): {
|
|
17
|
-
beginDeposit: (config: DepositFlowConfig) => void
|
|
21
|
+
beginDeposit: (config: DepositFlowConfig) => Promise<void>;
|
|
18
22
|
beginWithdrawal: (config: WithdrawalFlowConfig) => void;
|
|
19
23
|
};
|
|
20
24
|
//# sourceMappingURL=useFunkitCheckout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFunkitCheckout.d.ts","sourceRoot":"","sources":["../../../src/providers/useFunkitCheckout.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,oBAAoB,EACpB,iBAAiB,EAClB,MAAM,2BAA2B,CAAA;AAElC,OAAO,KAAK,EACV,uBAAuB,EACvB,oBAAoB,EACrB,MAAM,8BAA8B,CAAA;AAErC,mFAAmF;AACnF,MAAM,MAAM,uBAAuB,GAAG,oBAAoB,GACxD,uBAAuB,CAAA;AAEzB
|
|
1
|
+
{"version":3,"file":"useFunkitCheckout.d.ts","sourceRoot":"","sources":["../../../src/providers/useFunkitCheckout.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,oBAAoB,EACpB,iBAAiB,EAClB,MAAM,2BAA2B,CAAA;AAElC,OAAO,KAAK,EACV,uBAAuB,EACvB,oBAAoB,EACrB,MAAM,8BAA8B,CAAA;AAErC,mFAAmF;AACnF,MAAM,MAAM,uBAAuB,GAAG,oBAAoB,GACxD,uBAAuB,CAAA;AAEzB;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,iBAAiB,CAAC,SAAS,GAAE,uBAA4B;2BAK5D,iBAAiB;8BAKjB,oBAAoB;EAKhC"}
|
|
@@ -13,7 +13,7 @@ export interface DepositAmountScreenProps {
|
|
|
13
13
|
onChangeInput: (input: string) => void;
|
|
14
14
|
/** Recommended amounts shown while the input is empty. */
|
|
15
15
|
quickAmounts?: QuickAmountOption[];
|
|
16
|
-
/**
|
|
16
|
+
/** The payment source's maximum in dollars; a value past it is named, not refused. */
|
|
17
17
|
limitUsd?: string;
|
|
18
18
|
/** Smallest amount the payment source takes, in dollars. */
|
|
19
19
|
minLimitUsd?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DepositAmountScreen.d.ts","sourceRoot":"","sources":["../../../src/screens/DepositAmountScreen.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAuB,MAAM,OAAO,CAAA;AAmB3D,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,kCAAkC,CAAA;
|
|
1
|
+
{"version":3,"file":"DepositAmountScreen.d.ts","sourceRoot":"","sources":["../../../src/screens/DepositAmountScreen.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAuB,MAAM,OAAO,CAAA;AAmB3D,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,kCAAkC,CAAA;AAiCzC,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAOhE;AAID,MAAM,WAAW,wBAAwB;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W,EACX,QAAgB,EAChB,GAAG,EACH,UAAkB,EAClB,UAAU,EACV,qBAAqB,EACrB,WAAW,EACX,MAAM,EACN,UAAU,EACV,WAAW,EACX,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,wBAAwB,EACxB,2BAA2B,EAC3B,eAAuB,GACxB,EAAE,wBAAwB,+BAyO1B"}
|
|
@@ -4,13 +4,13 @@ export interface FeeDetailsRow {
|
|
|
4
4
|
/**
|
|
5
5
|
* The run inside `label` the design dims — the fee's rate. Passed as the
|
|
6
6
|
* substring rather than a second string, since locales seat the rate
|
|
7
|
-
* mid-sentence ("Comisión del 0.
|
|
7
|
+
* mid-sentence ("Comisión del 0.50%") or lead with it ("0.50% ücret").
|
|
8
8
|
*/
|
|
9
9
|
rate?: string;
|
|
10
10
|
value: string;
|
|
11
11
|
/**
|
|
12
|
-
* The summed line the rest add up to — set in
|
|
13
|
-
*
|
|
12
|
+
* The summed line the rest add up to — set in semibold, and the only row the
|
|
13
|
+
* design emphasises.
|
|
14
14
|
*/
|
|
15
15
|
isTotal?: boolean;
|
|
16
16
|
}
|
|
@@ -21,13 +21,8 @@ export interface FeeDetailsScreenProps {
|
|
|
21
21
|
*/
|
|
22
22
|
summary?: string;
|
|
23
23
|
rows: FeeDetailsRow[];
|
|
24
|
-
/**
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Floor for the drawer's height. It is content-sized, and short content would
|
|
28
|
-
* leave the fee line that opened it showing above its own drawer.
|
|
29
|
-
*/
|
|
30
|
-
minHeight?: number;
|
|
24
|
+
/** False when the host has bought the mark off. */
|
|
25
|
+
showAttribution?: boolean;
|
|
31
26
|
}
|
|
32
27
|
/**
|
|
33
28
|
* The fee disclosure drawer. Opened from the fee line on the amount screen, it
|
|
@@ -35,8 +30,7 @@ export interface FeeDetailsScreenProps {
|
|
|
35
30
|
* the amount, the fee and what the two come to.
|
|
36
31
|
*
|
|
37
32
|
* Presented through `Drawer`, which draws the grabber and owns the gesture,
|
|
38
|
-
* the backdrop and accessibility escape
|
|
39
|
-
* the design gives the fee drawer one, in the corner opposite the title.
|
|
33
|
+
* the backdrop and accessibility escape — the drawer's only ways out.
|
|
40
34
|
*/
|
|
41
|
-
export declare function FeeDetailsScreen({ summary, rows,
|
|
35
|
+
export declare function FeeDetailsScreen({ summary, rows, showAttribution, }: FeeDetailsScreenProps): import("react").JSX.Element;
|
|
42
36
|
//# sourceMappingURL=FeeDetailsScreen.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeeDetailsScreen.d.ts","sourceRoot":"","sources":["../../../src/screens/FeeDetailsScreen.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FeeDetailsScreen.d.ts","sourceRoot":"","sources":["../../../src/screens/FeeDetailsScreen.tsx"],"names":[],"mappings":"AA+BA,iDAAiD;AACjD,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,aAAa,EAAE,CAAA;IACrB,mDAAmD;IACnD,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,OAAO,EACP,IAAI,EACJ,eAAuB,GACxB,EAAE,qBAAqB,+BAwCvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WithdrawAddressScreen.d.ts","sourceRoot":"","sources":["../../../src/screens/WithdrawAddressScreen.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"WithdrawAddressScreen.d.ts","sourceRoot":"","sources":["../../../src/screens/WithdrawAddressScreen.tsx"],"names":[],"mappings":"AAmBA,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ACP,SAAS,EACT,cAAc,EACd,SAAS,EACT,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,QAAQ,EACR,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,SAAS,EACT,MAAM,EACN,YAAY,EACZ,QAAQ,EACR,kBAAkB,EAClB,MAAM,EACN,OAAO,GACR,EAAE,0BAA0B,+BA2H5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WithdrawAmountScreen.d.ts","sourceRoot":"","sources":["../../../src/screens/WithdrawAmountScreen.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"WithdrawAmountScreen.d.ts","sourceRoot":"","sources":["../../../src/screens/WithdrawAmountScreen.tsx"],"names":[],"mappings":"AA6CA,MAAM,WAAW,oBAAoB;IACnC,4DAA4D;IAC5D,KAAK,EAAE,MAAM,CAAA;IACb,uEAAuE;IACvE,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,CAAA;IACf,mEAAmE;IACnE,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,MAAM,CAAA;IACb,oDAAoD;IACpD,MAAM,EAAE,MAAM,CAAA;IACd,iEAAiE;IACjE,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IACxC;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAA;IACb,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACtC,4EAA4E;IAC5E,KAAK,EAAE,OAAO,CAAA;IACd,iEAAiE;IACjE,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B,kEAAkE;IAClE,kBAAkB,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAA;IAC5C,8EAA8E;IAC9E,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,qEAAqE;IACrE,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,yCAAyC;IACzC,MAAM,EAAE,oBAAoB,CAAA;IAC5B,0EAA0E;IAC1E,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,0DAA0D;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,WAAW,EAAE,OAAO,CAAA;IACpB,UAAU,EAAE,MAAM,IAAI,CAAA;IACtB,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,KAAK,EACL,MAAM,EACN,cAAc,EACd,KAAK,EACL,aAAa,EACb,KAAK,EACL,QAAQ,EACR,kBAAkB,EAClB,cAAc,EACd,OAAO,EACP,MAAM,EACN,aAAa,EACb,SAAS,EACT,WAAW,EACX,UAAU,EACV,MAAM,EACN,OAAO,GACR,EAAE,yBAAyB,+BA2J3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WithdrawCompleteScreen.d.ts","sourceRoot":"","sources":["../../../src/screens/WithdrawCompleteScreen.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"WithdrawCompleteScreen.d.ts","sourceRoot":"","sources":["../../../src/screens/WithdrawCompleteScreen.tsx"],"names":[],"mappings":"AAqBA;;;;GAIG;AACH,MAAM,MAAM,gBAAgB;AAC1B,2CAA2C;AACzC,UAAU;AACZ,mEAAmE;GACjE,WAAW,GACX,UAAU;AACZ,wEAAwE;GACtE,QAAQ;AACV,iEAAiE;GAC/D,UAAU,CAAA;AAEd,MAAM,WAAW,2BAA2B;IAC1C,MAAM,EAAE,gBAAgB,CAAA;IACxB,2DAA2D;IAC3D,WAAW,EAAE,MAAM,CAAA;IACnB;;;OAGG;IACH,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B,UAAU,EAAE,MAAM,GAAG,SAAS,CAAA;IAC9B,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB;AAED;;;;;;;;GAQG;AACH,wBAAgB,sBAAsB,CAAC,EACrC,MAAM,EACN,WAAW,EACX,QAAQ,EACR,UAAU,EACV,MAAM,GACP,EAAE,2BAA2B,+BAmE7B"}
|
|
@@ -66,9 +66,8 @@ export declare const DEPOSIT_METRICS: {
|
|
|
66
66
|
readonly paddingVertical: 5;
|
|
67
67
|
readonly chipWidth: 70;
|
|
68
68
|
readonly chipHeight: 48;
|
|
69
|
-
readonly gap:
|
|
70
|
-
readonly radius:
|
|
71
|
-
readonly fontSize: 14;
|
|
69
|
+
readonly gap: 8;
|
|
70
|
+
readonly radius: 14;
|
|
72
71
|
readonly tracking: -0.28;
|
|
73
72
|
};
|
|
74
73
|
readonly button: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"depositMetrics.d.ts","sourceRoot":"","sources":["../../../src/screens/depositMetrics.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"depositMetrics.d.ts","sourceRoot":"","sources":["../../../src/screens/depositMetrics.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0ElB,CAAA;AAEV,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAIvD;AAED,eAAO,MAAM,sBAAsB,QAGP,CAAA;AAE5B;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAKlE;AAED,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAM/D;AAED,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,cAAc,SAAI,GACjB,MAAM,CA8BR;AAED,iFAAiF;AACjF,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,GAClB,MAAM,CAYR"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Whether Statsig has finished initializing.
|
|
3
|
+
*
|
|
4
|
+
* `FunkitStatsigProvider` renders its children while `initializeAsync` is still
|
|
5
|
+
* running, so every config read before that answers from the bootstrap fallback
|
|
6
|
+
* baked in at build time. That is the right default for reads that only tune
|
|
7
|
+
* behaviour, and the wrong one for a read that decides whether a buyer may
|
|
8
|
+
* proceed — those must wait for the remote value.
|
|
9
|
+
*/
|
|
10
|
+
export declare function useStatsigReady(): boolean;
|
|
11
|
+
//# sourceMappingURL=useStatsigReady.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useStatsigReady.d.ts","sourceRoot":"","sources":["../../../src/statsig/useStatsigReady.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,wBAAgB,eAAe,IAAI,OAAO,CAEzC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwappedWebView.d.ts","sourceRoot":"","sources":["../../../src/swapped/SwappedWebView.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,qBAAqB,EAE3B,MAAM,sBAAsB,CAAA;AAG7B,OAAO,EAKL,KAAK,SAAS,EACf,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"SwappedWebView.d.ts","sourceRoot":"","sources":["../../../src/swapped/SwappedWebView.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,qBAAqB,EAE3B,MAAM,sBAAsB,CAAA;AAG7B,OAAO,EAKL,KAAK,SAAS,EACf,MAAM,cAAc,CAAA;AAkBrB,MAAM,WAAW,mBAAmB;IAClC,4EAA4E;IAC5E,GAAG,EAAE,MAAM,CAAA;IACX,+DAA+D;IAC/D,SAAS,EAAE,CAAC,GAAG,EAAE,qBAAqB,KAAK,IAAI,CAAA;IAC/C;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,KAAK,CAAC,EAAE,SAAS,CAAA;CAClB;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,EAC7B,GAAG,EACH,SAAS,EACT,MAAM,EACN,KAAK,GACN,EAAE,mBAAmB,+BAqPrB"}
|