@funkit/connect-rn 8.1.0 → 8.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 (128) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/README.md +20 -0
  3. package/dist/{chunk-75U7A2Q5.js → chunk-GG2WCQ6N.js} +2 -2
  4. package/dist/{chunk-75U7A2Q5.js.map → chunk-GG2WCQ6N.js.map} +2 -2
  5. package/dist/{chunk-4YNYOJJK.js → chunk-J5K2FSAI.js} +65 -17
  6. package/dist/chunk-J5K2FSAI.js.map +7 -0
  7. package/dist/clients/lighter.js +1 -1
  8. package/dist/clients/nado.js +2 -2
  9. package/dist/index.js +3627 -2417
  10. package/dist/index.js.map +4 -4
  11. package/dist/src/components/BlurBand.d.ts +14 -0
  12. package/dist/src/components/BlurBand.d.ts.map +1 -0
  13. package/dist/src/components/GlassSurface.d.ts +14 -0
  14. package/dist/src/components/GlassSurface.d.ts.map +1 -0
  15. package/dist/src/components/ScrollingDots.d.ts +24 -0
  16. package/dist/src/components/ScrollingDots.d.ts.map +1 -0
  17. package/dist/src/fiat/FiatBackButton.d.ts +4 -0
  18. package/dist/src/fiat/FiatBackButton.d.ts.map +1 -1
  19. package/dist/src/fiat/FiatBirthDateField.d.ts.map +1 -1
  20. package/dist/src/fiat/FiatChoiceField.d.ts +8 -1
  21. package/dist/src/fiat/FiatChoiceField.d.ts.map +1 -1
  22. package/dist/src/fiat/FiatCountrySheet.d.ts +22 -7
  23. package/dist/src/fiat/FiatCountrySheet.d.ts.map +1 -1
  24. package/dist/src/fiat/FiatDocumentCaptureStep.d.ts +2 -1
  25. package/dist/src/fiat/FiatDocumentCaptureStep.d.ts.map +1 -1
  26. package/dist/src/fiat/FiatFormFieldRow.d.ts.map +1 -1
  27. package/dist/src/fiat/FiatFormScreen.d.ts +1 -1
  28. package/dist/src/fiat/FiatFormScreen.d.ts.map +1 -1
  29. package/dist/src/fiat/FiatIdentityStep.d.ts.map +1 -1
  30. package/dist/src/fiat/FiatKycFieldControl.d.ts +4 -0
  31. package/dist/src/fiat/FiatKycFieldControl.d.ts.map +1 -1
  32. package/dist/src/fiat/FiatKycIntroScreen.d.ts +3 -1
  33. package/dist/src/fiat/FiatKycIntroScreen.d.ts.map +1 -1
  34. package/dist/src/fiat/FiatKycPosition.d.ts +5 -3
  35. package/dist/src/fiat/FiatKycPosition.d.ts.map +1 -1
  36. package/dist/src/fiat/FiatTermsNotice.d.ts +1 -0
  37. package/dist/src/fiat/FiatTermsNotice.d.ts.map +1 -1
  38. package/dist/src/fiat/countryListEntries.d.ts +9 -13
  39. package/dist/src/fiat/countryListEntries.d.ts.map +1 -1
  40. package/dist/src/fiat/countrySections.d.ts +12 -6
  41. package/dist/src/fiat/countrySections.d.ts.map +1 -1
  42. package/dist/src/fiat/formLayout.d.ts.map +1 -1
  43. package/dist/src/fiat/kycFieldValidators.d.ts +5 -1
  44. package/dist/src/fiat/kycFieldValidators.d.ts.map +1 -1
  45. package/dist/src/fiat/kycFormTheme.d.ts +0 -2
  46. package/dist/src/fiat/kycFormTheme.d.ts.map +1 -1
  47. package/dist/src/fiat/kycWalk.d.ts +22 -0
  48. package/dist/src/fiat/kycWalk.d.ts.map +1 -0
  49. package/dist/src/fiat/providers/CoinbaseCheckoutSurface.d.ts.map +1 -1
  50. package/dist/src/fiat/providers/HostedControlFrame.d.ts.map +1 -1
  51. package/dist/src/fiat/providers/adapter.d.ts +15 -1
  52. package/dist/src/fiat/providers/adapter.d.ts.map +1 -1
  53. package/dist/src/fiat/providers/applePayButtonMetrics.d.ts +28 -0
  54. package/dist/src/fiat/providers/applePayButtonMetrics.d.ts.map +1 -0
  55. package/dist/src/fiat/providers/applePayPaintGate.d.ts +21 -0
  56. package/dist/src/fiat/providers/applePayPaintGate.d.ts.map +1 -0
  57. package/dist/src/fiat/providers/moonpay.d.ts +4 -0
  58. package/dist/src/fiat/providers/moonpay.d.ts.map +1 -1
  59. package/dist/src/fiat/providers/moonpayApplePayPainted.d.ts +7 -0
  60. package/dist/src/fiat/providers/moonpayApplePayPainted.d.ts.map +1 -0
  61. package/dist/src/fiat/providers/moonpayApplePayStyle.d.ts +12 -0
  62. package/dist/src/fiat/providers/moonpayApplePayStyle.d.ts.map +1 -0
  63. package/dist/src/fiat/renderCaptureSurface.d.ts +4 -0
  64. package/dist/src/fiat/renderCaptureSurface.d.ts.map +1 -1
  65. package/dist/src/fiat/subdivisions.d.ts +15 -0
  66. package/dist/src/fiat/subdivisions.d.ts.map +1 -0
  67. package/dist/src/fiat/useFiatCheckoutPreparation.d.ts.map +1 -1
  68. package/dist/src/flow/Drawer.d.ts +27 -9
  69. package/dist/src/flow/Drawer.d.ts.map +1 -1
  70. package/dist/src/flow/FiatDepositAmountStep.d.ts.map +1 -1
  71. package/dist/src/flow/FlowPage.d.ts +20 -0
  72. package/dist/src/flow/FlowPage.d.ts.map +1 -0
  73. package/dist/src/flow/FlowSheet.d.ts +8 -1
  74. package/dist/src/flow/FlowSheet.d.ts.map +1 -1
  75. package/dist/src/flow/SheetMaterial.d.ts +18 -4
  76. package/dist/src/flow/SheetMaterial.d.ts.map +1 -1
  77. package/dist/src/flow/pageMotion.d.ts +37 -0
  78. package/dist/src/flow/pageMotion.d.ts.map +1 -0
  79. package/dist/src/flow/pageTurn.d.ts +28 -0
  80. package/dist/src/flow/pageTurn.d.ts.map +1 -0
  81. package/dist/src/flow/sheetSizing.d.ts +6 -5
  82. package/dist/src/flow/sheetSizing.d.ts.map +1 -1
  83. package/dist/src/flow/withdrawalFlowConfig.d.ts +18 -5
  84. package/dist/src/flow/withdrawalFlowConfig.d.ts.map +1 -1
  85. package/dist/src/hooks/useNestedSheetHeight.d.ts +10 -3
  86. package/dist/src/hooks/useNestedSheetHeight.d.ts.map +1 -1
  87. package/dist/src/hooks/useSheetFade.d.ts.map +1 -1
  88. package/dist/src/screens/DepositAmountScreen.d.ts +6 -1
  89. package/dist/src/screens/DepositAmountScreen.d.ts.map +1 -1
  90. package/dist/src/screens/WithdrawAddressScreen.d.ts +4 -1
  91. package/dist/src/screens/WithdrawAddressScreen.d.ts.map +1 -1
  92. package/dist/src/screens/WithdrawAmountScreen.d.ts +16 -8
  93. package/dist/src/screens/WithdrawAmountScreen.d.ts.map +1 -1
  94. package/dist/src/screens/WithdrawCryptoSteps.d.ts.map +1 -1
  95. package/dist/src/theme/buildFunkitTheme.d.ts +1 -0
  96. package/dist/src/theme/buildFunkitTheme.d.ts.map +1 -1
  97. package/dist/src/theme/restyle.d.ts +33 -0
  98. package/dist/src/theme/restyle.d.ts.map +1 -1
  99. package/dist/src/theme/toRestyleTheme.d.ts +3 -0
  100. package/dist/src/theme/toRestyleTheme.d.ts.map +1 -1
  101. package/dist/src/theme/tokens.d.ts +6 -0
  102. package/dist/src/theme/tokens.d.ts.map +1 -1
  103. package/dist/src/transfer/hooks/useFiatExchangeRates.d.ts +5 -4
  104. package/dist/src/transfer/hooks/useFiatExchangeRates.d.ts.map +1 -1
  105. package/dist/src/utils/motion.d.ts +0 -15
  106. package/dist/src/utils/motion.d.ts.map +1 -1
  107. package/dist/src/withdrawal/maxWithdrawAmount.d.ts +43 -0
  108. package/dist/src/withdrawal/maxWithdrawAmount.d.ts.map +1 -0
  109. package/dist/src/withdrawal/useCryptoWithdrawalForm.d.ts +6 -1
  110. package/dist/src/withdrawal/useCryptoWithdrawalForm.d.ts.map +1 -1
  111. package/dist/src/withdrawal/useCryptoWithdrawalValidation.d.ts +6 -1
  112. package/dist/src/withdrawal/useCryptoWithdrawalValidation.d.ts.map +1 -1
  113. package/dist/src/withdrawal/useSourceTokenUsdPrice.d.ts +2 -1
  114. package/dist/src/withdrawal/useSourceTokenUsdPrice.d.ts.map +1 -1
  115. package/dist/src/withdrawal/useWithdrawalAmountInput.d.ts +8 -5
  116. package/dist/src/withdrawal/useWithdrawalAmountInput.d.ts.map +1 -1
  117. package/dist/src/withdrawal/useWithdrawalFiatPrice.d.ts +6 -0
  118. package/dist/src/withdrawal/useWithdrawalFiatPrice.d.ts.map +1 -0
  119. package/dist/src/withdrawal/useWithdrawalMaximum.d.ts +19 -0
  120. package/dist/src/withdrawal/useWithdrawalMaximum.d.ts.map +1 -0
  121. package/dist/src/withdrawal/validation.d.ts +6 -2
  122. package/dist/src/withdrawal/validation.d.ts.map +1 -1
  123. package/package.json +6 -4
  124. package/dist/chunk-4YNYOJJK.js.map +0 -7
  125. package/dist/src/fiat/kycFormPosition.d.ts +0 -28
  126. package/dist/src/fiat/kycFormPosition.d.ts.map +0 -1
  127. package/dist/src/flow/StepPage.d.ts +0 -16
  128. package/dist/src/flow/StepPage.d.ts.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # @funkit/connect-rn
2
2
 
3
+ ## 8.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - df17726: Add fiat withdrawal ceilings while preserving token-limit priority and balance checks without asset prices.
8
+ - cc8b722: Country, state and KYC option drawers open on a plain white or black panel instead of glass, themeable through the new `background.drawer` token.
9
+ - cc8b722: V2 deposit screens slide in from the right, KYC pages show a scrolling three-dot indicator, and the address form picks the state from a searchable drawer.
10
+ - e8dd054: Allow crypto withdrawal entry in euros with switching between EUR and token units.
11
+
12
+ ### Patch Changes
13
+
14
+ - d308c78: MoonPay and Coinbase Apple Pay deposits reveal the fee, terms and a ready Apple Pay button together, and MoonPay skips the Continue tap for connected buyers.
15
+ - cc8b722: Country and state pickers read like a contacts list: every entry in its letter with the chosen one checked, an index rail, a blurred title bar the list scrolls under, a Liquid Glass search floating over its foot, and the drawer dismissible by dragging the bar; the sheet material follows the theme's light or dark modal fill.
16
+ - cc8b722: The date-of-birth wheel sits centred on the page instead of against its left edge.
17
+ - cc8b722: The country picker's title bar and search foot blur the list along a gradient instead of in four visible steps.
18
+ - f096d39: Show withdrawal limit errors and let users correct amounts without losing their recipient.
19
+ - 4267e0a: Explain unavailable withdrawal limits and allow retrying failed exchange-rate requests.
20
+ - 4aa16c2: Show the provider's correction reason before reopening document verification.
21
+ - Updated dependencies [4aa16c2]
22
+ - @funkit/connect-core@8.4.1
23
+
3
24
  ## 8.1.0
4
25
 
5
26
  ### Minor Changes
package/README.md CHANGED
@@ -39,6 +39,26 @@ log transports, identity context, and transfer hooks are **internal** (mirroring
39
39
  `@funkit/connect`, which exports none of them). When adding a public export, wire
40
40
  it explicitly in `index.ts`.
41
41
 
42
+ ## Withdrawal display currency
43
+
44
+ Set `WithdrawalFlowConfig.displayCurrency` to `'EUR'` to enter crypto withdrawal
45
+ amounts in euros. Users can switch between EUR and source-token units. The
46
+ conversion uses the token's USD price and the shared USD-to-EUR rate, without
47
+ assuming that EURC trades at exactly one euro. For example, at $2 per token and
48
+ 0.8 EUR per USD, entering €8 stages 5 tokens for withdrawal.
49
+
50
+ Token amounts round down to the token's precision; the typed fiat value is
51
+ preserved through denomination switches and navigation. Use Max still stages
52
+ the exact allowed token amount. Rate refreshes do not rewrite an existing entry.
53
+ Until usable rates are available, entry stays in clearly labelled token units;
54
+ a rate arriving later does not reinterpret an amount already typed. Cached
55
+ rates remain usable if a background refresh fails.
56
+
57
+ Omitting the option, or setting `'USD'`, preserves existing USD entry behavior.
58
+ Limits, quotes, confirmation screens, and settlement retain their existing
59
+ denominations. Configure withdrawal ceilings separately using the maximum
60
+ callbacks; a EUR ceiling does not implicitly select an entry currency.
61
+
42
62
  ## Payment deposit metadata
43
63
 
44
64
  `clientMetadata.authorizedAmountBaseUnit` is an explicit maximum gross deposit
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useFunkitIdentity
3
- } from "./chunk-4YNYOJJK.js";
3
+ } from "./chunk-J5K2FSAI.js";
4
4
  import {
5
5
  logger
6
6
  } from "./chunk-D64EJ57D.js";
@@ -110,4 +110,4 @@ export {
110
110
  useIsStablecoin,
111
111
  useSourceTokenUsdPrice
112
112
  };
113
- //# sourceMappingURL=chunk-75U7A2Q5.js.map
113
+ //# sourceMappingURL=chunk-GG2WCQ6N.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../src/statsig/useDynamicConfig.ts", "../src/geo/useUserIpInfo.ts", "../src/withdrawal/useSourceTokenUsdPrice.ts", "../src/hooks/useIsStablecoin.ts"],
4
- "sourcesContent": ["import {\n type DynamicConfigName,\n type DynamicConfigValue,\n useDynamicConfig as useCoreDynamicConfig,\n} from '@funkit/connect-core'\n\nimport { useUserIpInfo } from '../geo/useUserIpInfo'\n\n// RN counterpart of `@funkit/connect`'s `hooks/statsig/useDynamicConfig`. The\n// core hook takes `countryCode` as a parameter so it stays platform-agnostic;\n// this wrapper threads the user's IP-derived `alpha2` (Moonpay/ipapi) so\n// country-conditional variant configs (e.g. `enableswappeddeposit`) resolve\n// against the real region instead of falling to their default branch.\nexport type { DynamicConfigName, DynamicConfigValue }\n\nexport const useDynamicConfig = <Name extends DynamicConfigName>(\n name: Name,\n options?: {\n bypassCountryCode?: boolean\n },\n): DynamicConfigValue<Name> => {\n const { userIpInfo } = useUserIpInfo()\n return useCoreDynamicConfig(name, {\n bypassCountryCode: options?.bypassCountryCode,\n countryCode: userIpInfo?.alpha2,\n })\n}\n", "import { useUserIpInfo as useCoreUserIpInfo } from '@funkit/connect-core'\n\nimport { useFunkitIdentity } from '../identity/IdentityContext'\nimport { logger } from '../logging/logger'\n\n// Re-exported so existing RN importers (isCountryBlocked, the flow hooks, tests)\n// keep their type source unchanged after the fetch logic moved to core.\nexport type {\n FunkitUserIpInfo,\n UseUserIpInfoResult,\n} from '@funkit/connect-core'\n\n// Thin RN wrapper over the shared core `useUserIpInfo` (V1 PR13 moved the\n// Moonpay\u2192ipapi fetch logic there so web and RN don't duplicate it). RN is\n// login-agnostic, so the lookup always runs (`enabled: true`); web's wrapper\n// gates on `isUserLoggedIn` instead. `apiKey` lets the core hook reach the\n// first-party geo endpoint; the chain it picks is Statsig-driven.\nexport function useUserIpInfo() {\n const { apiKey } = useFunkitIdentity()\n\n // Login-agnostic + session-stable: always run, never go stale. The fiat\n // rail prices a US buyer by state, so a stateless answer is worth a second\n // provider here; web reads only the country and leaves this off.\n return useCoreUserIpInfo({\n logger,\n apiKey,\n enabled: true,\n staleTime: Number.POSITIVE_INFINITY,\n requireState: true,\n })\n}\n", "import { getAssetPriceInfoWithFallback } from '@funkit/connect-core'\nimport { useQuery } from '@tanstack/react-query'\n\nimport { useIsStablecoin } from '../hooks/useIsStablecoin'\nimport { useFunkitIdentity } from '../identity/IdentityContext'\nimport { logger } from '../logging/logger'\n\nconst SOURCE_TOKEN_PRICE_QUERY_KEY = 'sourceTokenUsdPrice'\n\n/** Long enough that typing doesn't refetch, short enough to stay honest. */\nconst PRICE_STALE_TIME_MS = 60_000\n\n/** What a dollar stablecoin is worth, without asking anyone. */\nconst STABLECOIN_USD_PRICE = 1\n\n/**\n * Spot USD price of the source token, for the USD floor and ceiling the host\n * configures (`getMinWithdrawalUSD` / `getMaxWithdrawalUSD`).\n *\n * A dollar stablecoin is priced from its symbol and never fetched, as web's\n * `useAssetAddressPrice` does \u2014 it is the common withdrawal source, and the\n * amount screen was waiting on a round trip to be told a dollar is a dollar.\n *\n * `0` means \"unknown\", which is what the core validator reads as \"no price\" \u2014\n * so a failed or in-flight lookup leaves the USD limits inert rather than\n * judging an amount against a made-up rate. Per-token limits and the balance\n * check are unaffected either way.\n *\n * Not every source has a price: Lighter's L2 assets are addressed by index, not\n * by an ERC-20 funkit's price API knows, so that lookup 404s and core's Relay\n * fallback is what prices them.\n */\nexport function useSourceTokenUsdPrice(\n sourceToken:\n | { chainId: string | number; address: string; symbol: string }\n | undefined,\n {\n enabled = true,\n refetchInterval = false,\n }: {\n enabled?: boolean\n refetchInterval?: number | false\n } = {},\n) {\n const { apiKey } = useFunkitIdentity()\n const isStablecoin = useIsStablecoin()\n const chainId = sourceToken ? String(sourceToken.chainId) : undefined\n const isStable = !!sourceToken && isStablecoin(sourceToken.symbol)\n const unavailable = enabled && !!sourceToken && !isStable && !apiKey\n\n const query = useQuery({\n queryKey: [\n SOURCE_TOKEN_PRICE_QUERY_KEY,\n apiKey,\n chainId,\n sourceToken?.address,\n ],\n queryFn: async () => {\n if (!sourceToken || !chainId) {\n throw new Error('Missing price inputs')\n }\n const info = await getAssetPriceInfoWithFallback({\n chainId,\n assetTokenAddress: sourceToken.address as `0x${string}`,\n apiKey,\n logger,\n })\n const unitPrice = info.unitPrice\n if (!Number.isFinite(unitPrice) || unitPrice <= 0) {\n // Reported here, not on read: a cached bad price would otherwise warn\n // on every render. A non-positive price would silently scale every USD\n // limit to nothing.\n logger.warn('connect-rn:withdrawal:unusable_source_price', {\n chainId: sourceToken.chainId,\n address: sourceToken.address,\n unitPrice,\n })\n return 0\n }\n return unitPrice\n },\n enabled: enabled && !!sourceToken && !isStable && !unavailable,\n staleTime: PRICE_STALE_TIME_MS,\n refetchInterval: isStable ? false : refetchInterval,\n retry: false,\n })\n\n return {\n refetch: query.refetch,\n data: isStable ? STABLECOIN_USD_PRICE : (query.data ?? 0),\n isUnavailable: unavailable,\n isPending: !isStable && !unavailable && query.isPending,\n isError: !isStable && (unavailable || query.isError),\n isFetching: !isStable && query.isFetching,\n }\n}\n", "import { useCallback } from 'react'\nimport { useDynamicConfig } from '../statsig/useDynamicConfig'\n\nexport type IsStablecoinFn = (symbol: string) => boolean\n\nexport function useIsStablecoin(): IsStablecoinFn {\n const stablecoinSymbols = useDynamicConfig('stablecoinsymbols')\n return useCallback(\n (symbol: string) =>\n stablecoinSymbols.some((stable) =>\n symbol.toLowerCase().includes(stable.toLowerCase()),\n ),\n [stablecoinSymbols],\n )\n}\n"],
5
- "mappings": ";;;;;;;;AAAA;AAAA,EAGE,oBAAoB;AAAA,OACf;;;ACJP,SAAS,iBAAiB,yBAAyB;AAiB5C,SAAS,gBAAgB;AAC9B,QAAM,EAAE,OAAO,IAAI,kBAAkB;AAKrC,SAAO,kBAAkB;AAAA,IACvB;AAAA,IACA;AAAA,IACA,SAAS;AAAA,IACT,WAAW,OAAO;AAAA,IAClB,cAAc;AAAA,EAChB,CAAC;AACH;;;ADfO,IAAM,mBAAmB,CAC9B,MACA,YAG6B;AAC7B,QAAM,EAAE,WAAW,IAAI,cAAc;AACrC,SAAO,qBAAqB,MAAM;AAAA,IAChC,mBAAmB,SAAS;AAAA,IAC5B,aAAa,YAAY;AAAA,EAC3B,CAAC;AACH;;;AE1BA,SAAS,qCAAqC;AAC9C,SAAS,gBAAgB;;;ACDzB,SAAS,mBAAmB;AAKrB,SAAS,kBAAkC;AAChD,QAAM,oBAAoB,iBAAiB,mBAAmB;AAC9D,SAAO;AAAA,IACL,CAAC,WACC,kBAAkB;AAAA,MAAK,CAAC,WACtB,OAAO,YAAY,EAAE,SAAS,OAAO,YAAY,CAAC;AAAA,IACpD;AAAA,IACF,CAAC,iBAAiB;AAAA,EACpB;AACF;;;ADPA,IAAM,+BAA+B;AAGrC,IAAM,sBAAsB;AAG5B,IAAM,uBAAuB;AAmBtB,SAAS,uBACd,aAGA;AAAA,EACE,UAAU;AAAA,EACV,kBAAkB;AACpB,IAGI,CAAC,GACL;AACA,QAAM,EAAE,OAAO,IAAI,kBAAkB;AACrC,QAAM,eAAe,gBAAgB;AACrC,QAAM,UAAU,cAAc,OAAO,YAAY,OAAO,IAAI;AAC5D,QAAM,WAAW,CAAC,CAAC,eAAe,aAAa,YAAY,MAAM;AACjE,QAAM,cAAc,WAAW,CAAC,CAAC,eAAe,CAAC,YAAY,CAAC;AAE9D,QAAM,QAAQ,SAAS;AAAA,IACrB,UAAU;AAAA,MACR;AAAA,MACA;AAAA,MACA;AAAA,MACA,aAAa;AAAA,IACf;AAAA,IACA,SAAS,YAAY;AACnB,UAAI,CAAC,eAAe,CAAC,SAAS;AAC5B,cAAM,IAAI,MAAM,sBAAsB;AAAA,MACxC;AACA,YAAM,OAAO,MAAM,8BAA8B;AAAA,QAC/C;AAAA,QACA,mBAAmB,YAAY;AAAA,QAC/B;AAAA,QACA;AAAA,MACF,CAAC;AACD,YAAM,YAAY,KAAK;AACvB,UAAI,CAAC,OAAO,SAAS,SAAS,KAAK,aAAa,GAAG;AAIjD,eAAO,KAAK,+CAA+C;AAAA,UACzD,SAAS,YAAY;AAAA,UACrB,SAAS,YAAY;AAAA,UACrB;AAAA,QACF,CAAC;AACD,eAAO;AAAA,MACT;AACA,aAAO;AAAA,IACT;AAAA,IACA,SAAS,WAAW,CAAC,CAAC,eAAe,CAAC,YAAY,CAAC;AAAA,IACnD,WAAW;AAAA,IACX,iBAAiB,WAAW,QAAQ;AAAA,IACpC,OAAO;AAAA,EACT,CAAC;AAED,SAAO;AAAA,IACL,SAAS,MAAM;AAAA,IACf,MAAM,WAAW,uBAAwB,MAAM,QAAQ;AAAA,IACvD,eAAe;AAAA,IACf,WAAW,CAAC,YAAY,CAAC,eAAe,MAAM;AAAA,IAC9C,SAAS,CAAC,aAAa,eAAe,MAAM;AAAA,IAC5C,YAAY,CAAC,YAAY,MAAM;AAAA,EACjC;AACF;",
4
+ "sourcesContent": ["import {\n type DynamicConfigName,\n type DynamicConfigValue,\n useDynamicConfig as useCoreDynamicConfig,\n} from '@funkit/connect-core'\n\nimport { useUserIpInfo } from '../geo/useUserIpInfo'\n\n// RN counterpart of `@funkit/connect`'s `hooks/statsig/useDynamicConfig`. The\n// core hook takes `countryCode` as a parameter so it stays platform-agnostic;\n// this wrapper threads the user's IP-derived `alpha2` (Moonpay/ipapi) so\n// country-conditional variant configs (e.g. `enableswappeddeposit`) resolve\n// against the real region instead of falling to their default branch.\nexport type { DynamicConfigName, DynamicConfigValue }\n\nexport const useDynamicConfig = <Name extends DynamicConfigName>(\n name: Name,\n options?: {\n bypassCountryCode?: boolean\n },\n): DynamicConfigValue<Name> => {\n const { userIpInfo } = useUserIpInfo()\n return useCoreDynamicConfig(name, {\n bypassCountryCode: options?.bypassCountryCode,\n countryCode: userIpInfo?.alpha2,\n })\n}\n", "import { useUserIpInfo as useCoreUserIpInfo } from '@funkit/connect-core'\n\nimport { useFunkitIdentity } from '../identity/IdentityContext'\nimport { logger } from '../logging/logger'\n\n// Re-exported so existing RN importers (isCountryBlocked, the flow hooks, tests)\n// keep their type source unchanged after the fetch logic moved to core.\nexport type {\n FunkitUserIpInfo,\n UseUserIpInfoResult,\n} from '@funkit/connect-core'\n\n// Thin RN wrapper over the shared core `useUserIpInfo` (V1 PR13 moved the\n// Moonpay\u2192ipapi fetch logic there so web and RN don't duplicate it). RN is\n// login-agnostic, so the lookup always runs (`enabled: true`); web's wrapper\n// gates on `isUserLoggedIn` instead. `apiKey` lets the core hook reach the\n// first-party geo endpoint; the chain it picks is Statsig-driven.\nexport function useUserIpInfo() {\n const { apiKey } = useFunkitIdentity()\n\n // Login-agnostic + session-stable: always run, never go stale. The fiat\n // rail prices a US buyer by state, so a stateless answer is worth a second\n // provider here; web reads only the country and leaves this off.\n return useCoreUserIpInfo({\n logger,\n apiKey,\n enabled: true,\n staleTime: Number.POSITIVE_INFINITY,\n requireState: true,\n })\n}\n", "import { getAssetPriceInfoWithFallback } from '@funkit/connect-core'\nimport { useQuery } from '@tanstack/react-query'\n\nimport { useIsStablecoin } from '../hooks/useIsStablecoin'\nimport { useFunkitIdentity } from '../identity/IdentityContext'\nimport { logger } from '../logging/logger'\n\nconst SOURCE_TOKEN_PRICE_QUERY_KEY = 'sourceTokenUsdPrice'\n\n/** Long enough that typing doesn't refetch, short enough to stay honest. */\nconst PRICE_STALE_TIME_MS = 60_000\n\n/** What a dollar stablecoin is worth, without asking anyone. */\nconst STABLECOIN_USD_PRICE = 1\n\n/**\n * Spot USD price of the source token, for the USD floor and ceiling the host\n * configures (`getMinWithdrawalUSD`, `getMaxWithdrawalFiat`, or\n * `getMaxWithdrawalUSD`).\n *\n * A dollar stablecoin is priced from its symbol and never fetched, as web's\n * `useAssetAddressPrice` does \u2014 it is the common withdrawal source, and the\n * amount screen was waiting on a round trip to be told a dollar is a dollar.\n *\n * `0` means \"unknown\", which is what the core validator reads as \"no price\" \u2014\n * so a failed or in-flight lookup leaves the USD limits inert rather than\n * judging an amount against a made-up rate. Per-token limits and the balance\n * check are unaffected either way.\n *\n * Not every source has a price: Lighter's L2 assets are addressed by index, not\n * by an ERC-20 funkit's price API knows, so that lookup 404s and core's Relay\n * fallback is what prices them.\n */\nexport function useSourceTokenUsdPrice(\n sourceToken:\n | { chainId: string | number; address: string; symbol: string }\n | undefined,\n {\n enabled = true,\n refetchInterval = false,\n }: {\n enabled?: boolean\n refetchInterval?: number | false\n } = {},\n) {\n const { apiKey } = useFunkitIdentity()\n const isStablecoin = useIsStablecoin()\n const chainId = sourceToken ? String(sourceToken.chainId) : undefined\n const isStable = !!sourceToken && isStablecoin(sourceToken.symbol)\n const unavailable = enabled && !!sourceToken && !isStable && !apiKey\n\n const query = useQuery({\n queryKey: [\n SOURCE_TOKEN_PRICE_QUERY_KEY,\n apiKey,\n chainId,\n sourceToken?.address,\n ],\n queryFn: async () => {\n if (!sourceToken || !chainId) {\n throw new Error('Missing price inputs')\n }\n const info = await getAssetPriceInfoWithFallback({\n chainId,\n assetTokenAddress: sourceToken.address as `0x${string}`,\n apiKey,\n logger,\n })\n const unitPrice = info.unitPrice\n if (!Number.isFinite(unitPrice) || unitPrice <= 0) {\n // Reported here, not on read: a cached bad price would otherwise warn\n // on every render. A non-positive price would silently scale every USD\n // limit to nothing.\n logger.warn('connect-rn:withdrawal:unusable_source_price', {\n chainId: sourceToken.chainId,\n address: sourceToken.address,\n unitPrice,\n })\n return 0\n }\n return unitPrice\n },\n enabled: enabled && !!sourceToken && !isStable && !unavailable,\n staleTime: PRICE_STALE_TIME_MS,\n refetchInterval: isStable ? false : refetchInterval,\n retry: false,\n })\n\n return {\n refetch: query.refetch,\n data: isStable ? STABLECOIN_USD_PRICE : (query.data ?? 0),\n isUnavailable: unavailable,\n isPending: !isStable && !unavailable && query.isPending,\n isError: !isStable && (unavailable || query.isError),\n isFetching: !isStable && query.isFetching,\n }\n}\n", "import { useCallback } from 'react'\nimport { useDynamicConfig } from '../statsig/useDynamicConfig'\n\nexport type IsStablecoinFn = (symbol: string) => boolean\n\nexport function useIsStablecoin(): IsStablecoinFn {\n const stablecoinSymbols = useDynamicConfig('stablecoinsymbols')\n return useCallback(\n (symbol: string) =>\n stablecoinSymbols.some((stable) =>\n symbol.toLowerCase().includes(stable.toLowerCase()),\n ),\n [stablecoinSymbols],\n )\n}\n"],
5
+ "mappings": ";;;;;;;;AAAA;AAAA,EAGE,oBAAoB;AAAA,OACf;;;ACJP,SAAS,iBAAiB,yBAAyB;AAiB5C,SAAS,gBAAgB;AAC9B,QAAM,EAAE,OAAO,IAAI,kBAAkB;AAKrC,SAAO,kBAAkB;AAAA,IACvB;AAAA,IACA;AAAA,IACA,SAAS;AAAA,IACT,WAAW,OAAO;AAAA,IAClB,cAAc;AAAA,EAChB,CAAC;AACH;;;ADfO,IAAM,mBAAmB,CAC9B,MACA,YAG6B;AAC7B,QAAM,EAAE,WAAW,IAAI,cAAc;AACrC,SAAO,qBAAqB,MAAM;AAAA,IAChC,mBAAmB,SAAS;AAAA,IAC5B,aAAa,YAAY;AAAA,EAC3B,CAAC;AACH;;;AE1BA,SAAS,qCAAqC;AAC9C,SAAS,gBAAgB;;;ACDzB,SAAS,mBAAmB;AAKrB,SAAS,kBAAkC;AAChD,QAAM,oBAAoB,iBAAiB,mBAAmB;AAC9D,SAAO;AAAA,IACL,CAAC,WACC,kBAAkB;AAAA,MAAK,CAAC,WACtB,OAAO,YAAY,EAAE,SAAS,OAAO,YAAY,CAAC;AAAA,IACpD;AAAA,IACF,CAAC,iBAAiB;AAAA,EACpB;AACF;;;ADPA,IAAM,+BAA+B;AAGrC,IAAM,sBAAsB;AAG5B,IAAM,uBAAuB;AAoBtB,SAAS,uBACd,aAGA;AAAA,EACE,UAAU;AAAA,EACV,kBAAkB;AACpB,IAGI,CAAC,GACL;AACA,QAAM,EAAE,OAAO,IAAI,kBAAkB;AACrC,QAAM,eAAe,gBAAgB;AACrC,QAAM,UAAU,cAAc,OAAO,YAAY,OAAO,IAAI;AAC5D,QAAM,WAAW,CAAC,CAAC,eAAe,aAAa,YAAY,MAAM;AACjE,QAAM,cAAc,WAAW,CAAC,CAAC,eAAe,CAAC,YAAY,CAAC;AAE9D,QAAM,QAAQ,SAAS;AAAA,IACrB,UAAU;AAAA,MACR;AAAA,MACA;AAAA,MACA;AAAA,MACA,aAAa;AAAA,IACf;AAAA,IACA,SAAS,YAAY;AACnB,UAAI,CAAC,eAAe,CAAC,SAAS;AAC5B,cAAM,IAAI,MAAM,sBAAsB;AAAA,MACxC;AACA,YAAM,OAAO,MAAM,8BAA8B;AAAA,QAC/C;AAAA,QACA,mBAAmB,YAAY;AAAA,QAC/B;AAAA,QACA;AAAA,MACF,CAAC;AACD,YAAM,YAAY,KAAK;AACvB,UAAI,CAAC,OAAO,SAAS,SAAS,KAAK,aAAa,GAAG;AAIjD,eAAO,KAAK,+CAA+C;AAAA,UACzD,SAAS,YAAY;AAAA,UACrB,SAAS,YAAY;AAAA,UACrB;AAAA,QACF,CAAC;AACD,eAAO;AAAA,MACT;AACA,aAAO;AAAA,IACT;AAAA,IACA,SAAS,WAAW,CAAC,CAAC,eAAe,CAAC,YAAY,CAAC;AAAA,IACnD,WAAW;AAAA,IACX,iBAAiB,WAAW,QAAQ;AAAA,IACpC,OAAO;AAAA,EACT,CAAC;AAED,SAAO;AAAA,IACL,SAAS,MAAM;AAAA,IACf,MAAM,WAAW,uBAAwB,MAAM,QAAQ;AAAA,IACvD,eAAe;AAAA,IACf,WAAW,CAAC,YAAY,CAAC,eAAe,MAAM;AAAA,IAC9C,SAAS,CAAC,aAAa,eAAe,MAAM;AAAA,IAC5C,YAAY,CAAC,YAAY,MAAM;AAAA,EACjC;AACF;",
6
6
  "names": []
7
7
  }
@@ -140,7 +140,7 @@ var en_default = {
140
140
  contactVerifyBoth: "Please verify your phone number and email address",
141
141
  contactVerifyEmail: "Please verify your email address",
142
142
  contactVerifyPhone: "Please verify your phone number",
143
- countryHeading: "Your Country",
143
+ countryOrRegion: "Country or Region",
144
144
  countrySearchPlaceholder: "Search",
145
145
  delete: "Delete",
146
146
  deposit: "Deposit",
@@ -274,6 +274,7 @@ var en_default = {
274
274
  verifyingSlow: "Still verifying",
275
275
  verifyingSlowDetail: "You can close this and check back shortly.",
276
276
  coinbaseTermsNotice: "By continuing you agree to Coinbase\u2019s\n<terms>Terms</terms>, <agreement>User Agreement</agreement>, and <privacy>Privacy Policy</privacy>.",
277
+ moonpayTermsNotice: "By continuing you agree to MoonPay\u2019s\n<terms>Terms of Use</terms> and <privacy>Privacy Policy</privacy>.",
277
278
  contactInvalidEmail: "Please enter a valid email address",
278
279
  kycIntroTitle: "Let\u2019s verify your identity",
279
280
  kycAdditionalTitle: "We need a little more info",
@@ -415,11 +416,16 @@ var en_default = {
415
416
  withdrawAmount: {
416
417
  amountLabel: "Amount",
417
418
  delete: "Delete",
418
- swapDenomination: "Switch between dollars and tokens",
419
+ swapDenomination: "Switch between {{currency}} and tokens",
419
420
  useMax: "Use Max"
420
421
  },
421
422
  withdrawCrypto: {
422
423
  aboveBalance: "Insufficient balance",
424
+ aboveLimit: "Above limit",
425
+ editAmount: "Edit amount",
426
+ checkingLimit: "Checking withdrawal limit\u2026",
427
+ limitLoadFailed: "Couldn't load withdrawal limit",
428
+ limitUnavailable: "Withdrawal limit unavailable. Contact support.",
423
429
  addressPlaceholder: "Wallet address",
424
430
  available: "{{amount}} {{symbol}} available",
425
431
  belowFee: "Amount must be more than the {{amount}} fee",
@@ -558,7 +564,7 @@ var es_default = {
558
564
  contactVerifyBoth: "Verifica tu n\xFAmero de tel\xE9fono y tu correo electr\xF3nico",
559
565
  contactVerifyEmail: "Verifica tu correo electr\xF3nico",
560
566
  contactVerifyPhone: "Verifica tu n\xFAmero de tel\xE9fono",
561
- countryHeading: "Tu pa\xEDs",
567
+ countryOrRegion: "Pa\xEDs o regi\xF3n",
562
568
  countrySearchPlaceholder: "Buscar",
563
569
  delete: "Borrar",
564
570
  deposit: "Depositar",
@@ -692,6 +698,7 @@ var es_default = {
692
698
  verifyingSlow: "Seguimos verificando",
693
699
  verifyingSlowDetail: "Puedes cerrar esto y volver en un momento.",
694
700
  coinbaseTermsNotice: "Al continuar, aceptas los\n<terms>T\xE9rminos</terms>, el <agreement>Acuerdo de usuario</agreement> y la <privacy>Pol\xEDtica de privacidad</privacy> de Coinbase.",
701
+ moonpayTermsNotice: "Al continuar, aceptas los\n<terms>T\xE9rminos de uso</terms> y la <privacy>Pol\xEDtica de privacidad</privacy> de MoonPay.",
695
702
  contactInvalidEmail: "Introduce una direcci\xF3n de correo v\xE1lida",
696
703
  kycIntroTitle: "Verifiquemos tu identidad",
697
704
  kycAdditionalTitle: "Necesitamos un poco m\xE1s de info",
@@ -834,11 +841,16 @@ var es_default = {
834
841
  withdrawAmount: {
835
842
  amountLabel: "Importe",
836
843
  delete: "Borrar",
837
- swapDenomination: "Cambiar entre d\xF3lares y tokens",
844
+ swapDenomination: "Cambiar entre {{currency}} y tokens",
838
845
  useMax: "Usar m\xE1x."
839
846
  },
840
847
  withdrawCrypto: {
841
848
  aboveBalance: "Saldo insuficiente",
849
+ aboveLimit: "L\xEDmite superado",
850
+ editAmount: "Editar importe",
851
+ checkingLimit: "Comprobando el l\xEDmite de retiro\u2026",
852
+ limitLoadFailed: "No se pudo cargar el l\xEDmite de retiro",
853
+ limitUnavailable: "L\xEDmite de retiro no disponible. Contacta con soporte.",
842
854
  addressPlaceholder: "Direcci\xF3n de la cartera",
843
855
  available: "{{amount}} {{symbol}} disponibles",
844
856
  belowFee: "El importe debe ser mayor que la comisi\xF3n de {{amount}}",
@@ -977,7 +989,7 @@ var fr_default = {
977
989
  contactVerifyBoth: "Veuillez v\xE9rifier votre num\xE9ro de t\xE9l\xE9phone et votre adresse e-mail",
978
990
  contactVerifyEmail: "Veuillez v\xE9rifier votre adresse e-mail",
979
991
  contactVerifyPhone: "Veuillez v\xE9rifier votre num\xE9ro de t\xE9l\xE9phone",
980
- countryHeading: "Votre pays",
992
+ countryOrRegion: "Pays ou r\xE9gion",
981
993
  countrySearchPlaceholder: "Rechercher",
982
994
  delete: "Supprimer",
983
995
  deposit: "D\xE9poser",
@@ -1111,6 +1123,7 @@ var fr_default = {
1111
1123
  verifyingSlow: "V\xE9rification en cours",
1112
1124
  verifyingSlowDetail: "Vous pouvez fermer et revenir dans un instant.",
1113
1125
  coinbaseTermsNotice: "En continuant, vous acceptez les\n<terms>Conditions</terms>, le <agreement>Contrat utilisateur</agreement> et la <privacy>Politique de confidentialit\xE9</privacy> de Coinbase.",
1126
+ moonpayTermsNotice: "En continuant, vous acceptez les\n<terms>Conditions d\u2019utilisation</terms> et la <privacy>Politique de confidentialit\xE9</privacy> de MoonPay.",
1114
1127
  contactInvalidEmail: "Veuillez saisir une adresse e-mail valide",
1115
1128
  kycIntroTitle: "V\xE9rifions votre identit\xE9",
1116
1129
  kycAdditionalTitle: "Il nous faut quelques infos de plus",
@@ -1253,11 +1266,16 @@ var fr_default = {
1253
1266
  withdrawAmount: {
1254
1267
  amountLabel: "Montant",
1255
1268
  delete: "Supprimer",
1256
- swapDenomination: "Basculer entre dollars et jetons",
1269
+ swapDenomination: "Basculer entre {{currency}} et jetons",
1257
1270
  useMax: "Tout utiliser"
1258
1271
  },
1259
1272
  withdrawCrypto: {
1260
1273
  aboveBalance: "Solde insuffisant",
1274
+ aboveLimit: "Limite d\xE9pass\xE9e",
1275
+ editAmount: "Modifier le montant",
1276
+ checkingLimit: "V\xE9rification du plafond de retrait\u2026",
1277
+ limitLoadFailed: "Impossible de charger le plafond de retrait",
1278
+ limitUnavailable: "Plafond de retrait indisponible. Contactez l\u2019assistance.",
1261
1279
  addressPlaceholder: "Adresse du portefeuille",
1262
1280
  available: "{{amount}} {{symbol}} disponibles",
1263
1281
  belowFee: "Le montant doit \xEAtre sup\xE9rieur aux frais de {{amount}}",
@@ -1396,7 +1414,7 @@ var ja_default = {
1396
1414
  contactVerifyBoth: "\u96FB\u8A71\u756A\u53F7\u3068\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044",
1397
1415
  contactVerifyEmail: "\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044",
1398
1416
  contactVerifyPhone: "\u96FB\u8A71\u756A\u53F7\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044",
1399
- countryHeading: "\u304A\u4F4F\u307E\u3044\u306E\u56FD",
1417
+ countryOrRegion: "\u56FD\u307E\u305F\u306F\u5730\u57DF",
1400
1418
  countrySearchPlaceholder: "\u691C\u7D22",
1401
1419
  delete: "\u524A\u9664",
1402
1420
  deposit: "\u5165\u91D1",
@@ -1530,6 +1548,7 @@ var ja_default = {
1530
1548
  verifyingSlow: "\u78BA\u8A8D\u3092\u7D9A\u3051\u3066\u3044\u307E\u3059",
1531
1549
  verifyingSlowDetail: "\u3044\u3063\u305F\u3093\u9589\u3058\u3066\u3001\u5C11\u3057\u5F8C\u306B\u3054\u78BA\u8A8D\u304F\u3060\u3055\u3044\u3002",
1532
1550
  coinbaseTermsNotice: "\u7D9A\u884C\u3059\u308B\u3068\u3001Coinbase\u306E\n<terms>\u5229\u7528\u898F\u7D04</terms>\u3001<agreement>\u30E6\u30FC\u30B6\u30FC\u5951\u7D04</agreement>\u3001<privacy>\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30DD\u30EA\u30B7\u30FC</privacy>\u306B\u540C\u610F\u3057\u305F\u3053\u3068\u306B\u306A\u308A\u307E\u3059\u3002",
1551
+ moonpayTermsNotice: "\u7D9A\u884C\u3059\u308B\u3068\u3001MoonPay\u306E\n<terms>\u5229\u7528\u898F\u7D04</terms>\u304A\u3088\u3073<privacy>\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30DD\u30EA\u30B7\u30FC</privacy>\u306B\u540C\u610F\u3057\u305F\u3053\u3068\u306B\u306A\u308A\u307E\u3059\u3002",
1533
1552
  contactInvalidEmail: "\u6709\u52B9\u306A\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",
1534
1553
  kycIntroTitle: "\u672C\u4EBA\u78BA\u8A8D\u3092\u59CB\u3081\u307E\u3057\u3087\u3046",
1535
1554
  kycAdditionalTitle: "\u3082\u3046\u5C11\u3057\u60C5\u5831\u304C\u5FC5\u8981\u3067\u3059",
@@ -1670,11 +1689,16 @@ var ja_default = {
1670
1689
  withdrawAmount: {
1671
1690
  amountLabel: "\u91D1\u984D",
1672
1691
  delete: "\u524A\u9664",
1673
- swapDenomination: "\u30C9\u30EB\u3068\u30C8\u30FC\u30AF\u30F3\u3092\u5207\u308A\u66FF\u3048\u308B",
1692
+ swapDenomination: "{{currency}}\u3068\u30C8\u30FC\u30AF\u30F3\u3092\u5207\u308A\u66FF\u3048\u308B",
1674
1693
  useMax: "\u5168\u984D\u3092\u4F7F\u3046"
1675
1694
  },
1676
1695
  withdrawCrypto: {
1677
1696
  aboveBalance: "\u6B8B\u9AD8\u4E0D\u8DB3",
1697
+ aboveLimit: "\u4E0A\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",
1698
+ editAmount: "\u91D1\u984D\u3092\u5909\u66F4",
1699
+ checkingLimit: "\u51FA\u91D1\u4E0A\u9650\u3092\u78BA\u8A8D\u4E2D\u2026",
1700
+ limitLoadFailed: "\u51FA\u91D1\u4E0A\u9650\u3092\u8AAD\u307F\u8FBC\u3081\u307E\u305B\u3093\u3067\u3057\u305F",
1701
+ limitUnavailable: "\u51FA\u91D1\u4E0A\u9650\u3092\u78BA\u8A8D\u3067\u304D\u307E\u305B\u3093\u3002\u30B5\u30DD\u30FC\u30C8\u306B\u304A\u554F\u3044\u5408\u308F\u305B\u304F\u3060\u3055\u3044\u3002",
1678
1702
  addressPlaceholder: "\u30A6\u30A9\u30EC\u30C3\u30C8\u30A2\u30C9\u30EC\u30B9",
1679
1703
  available: "\u5229\u7528\u53EF\u80FD: {{amount}} {{symbol}}",
1680
1704
  belowFee: "\u91D1\u984D\u306F\u624B\u6570\u6599 {{amount}} \u3088\u308A\u5927\u304D\u304F\u3057\u3066\u304F\u3060\u3055\u3044",
@@ -1813,7 +1837,7 @@ var ko_default = {
1813
1837
  contactVerifyBoth: "\uD734\uB300\uD3F0 \uBC88\uD638\uC640 \uC774\uBA54\uC77C \uC8FC\uC18C\uB97C \uC778\uC99D\uD574 \uC8FC\uC138\uC694",
1814
1838
  contactVerifyEmail: "\uC774\uBA54\uC77C \uC8FC\uC18C\uB97C \uC778\uC99D\uD574 \uC8FC\uC138\uC694",
1815
1839
  contactVerifyPhone: "\uD734\uB300\uD3F0 \uBC88\uD638\uB97C \uC778\uC99D\uD574 \uC8FC\uC138\uC694",
1816
- countryHeading: "\uAC70\uC8FC \uAD6D\uAC00",
1840
+ countryOrRegion: "\uAD6D\uAC00 \uB610\uB294 \uC9C0\uC5ED",
1817
1841
  countrySearchPlaceholder: "\uAC80\uC0C9",
1818
1842
  delete: "\uC0AD\uC81C",
1819
1843
  deposit: "\uC785\uAE08",
@@ -1947,6 +1971,7 @@ var ko_default = {
1947
1971
  verifyingSlow: "\uACC4\uC18D \uD655\uC778 \uC911",
1948
1972
  verifyingSlowDetail: "\uCC3D\uC744 \uB2EB\uACE0 \uC7A0\uC2DC \uD6C4\uC5D0 \uB2E4\uC2DC \uD655\uC778\uD574 \uC8FC\uC138\uC694.",
1949
1973
  coinbaseTermsNotice: "\uACC4\uC18D \uC9C4\uD589\uD558\uBA74 Coinbase\uC758\n<terms>\uC57D\uAD00</terms>, <agreement>\uC0AC\uC6A9\uC790 \uACC4\uC57D</agreement> \uBC0F <privacy>\uAC1C\uC778\uC815\uBCF4 \uCC98\uB9AC\uBC29\uCE68</privacy>\uC5D0 \uB3D9\uC758\uD558\uAC8C \uB429\uB2C8\uB2E4.",
1974
+ moonpayTermsNotice: "\uACC4\uC18D \uC9C4\uD589\uD558\uBA74 MoonPay\uC758\n<terms>\uC774\uC6A9\uC57D\uAD00</terms> \uBC0F <privacy>\uAC1C\uC778\uC815\uBCF4 \uCC98\uB9AC\uBC29\uCE68</privacy>\uC5D0 \uB3D9\uC758\uD558\uAC8C \uB429\uB2C8\uB2E4.",
1950
1975
  contactInvalidEmail: "\uC62C\uBC14\uB978 \uC774\uBA54\uC77C \uC8FC\uC18C\uB97C \uC785\uB825\uD574 \uC8FC\uC138\uC694",
1951
1976
  kycIntroTitle: "\uBCF8\uC778 \uD655\uC778\uC744 \uC2DC\uC791\uD560\uAC8C\uC694",
1952
1977
  kycAdditionalTitle: "\uC815\uBCF4\uAC00 \uC870\uAE08 \uB354 \uD544\uC694\uD569\uB2C8\uB2E4",
@@ -2087,11 +2112,16 @@ var ko_default = {
2087
2112
  withdrawAmount: {
2088
2113
  amountLabel: "\uAE08\uC561",
2089
2114
  delete: "\uC0AD\uC81C",
2090
- swapDenomination: "\uB2EC\uB7EC\uC640 \uD1A0\uD070 \uC804\uD658",
2115
+ swapDenomination: "{{currency}}\uC640 \uD1A0\uD070 \uC804\uD658",
2091
2116
  useMax: "\uCD5C\uB300 \uC0AC\uC6A9"
2092
2117
  },
2093
2118
  withdrawCrypto: {
2094
2119
  aboveBalance: "\uC794\uC561 \uBD80\uC871",
2120
+ aboveLimit: "\uD55C\uB3C4 \uCD08\uACFC",
2121
+ editAmount: "\uAE08\uC561 \uC218\uC815",
2122
+ checkingLimit: "\uCD9C\uAE08 \uD55C\uB3C4 \uD655\uC778 \uC911\u2026",
2123
+ limitLoadFailed: "\uCD9C\uAE08 \uD55C\uB3C4\uB97C \uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4",
2124
+ limitUnavailable: "\uCD9C\uAE08 \uD55C\uB3C4\uB97C \uD655\uC778\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uC9C0\uC6D0\uD300\uC5D0 \uBB38\uC758\uD558\uC138\uC694.",
2095
2125
  addressPlaceholder: "\uC9C0\uAC11 \uC8FC\uC18C",
2096
2126
  available: "{{amount}} {{symbol}} \uC0AC\uC6A9 \uAC00\uB2A5",
2097
2127
  belowFee: "\uAE08\uC561\uC740 \uC218\uC218\uB8CC {{amount}}\uBCF4\uB2E4 \uCEE4\uC57C \uD569\uB2C8\uB2E4",
@@ -2230,7 +2260,7 @@ var ru_default = {
2230
2260
  contactVerifyBoth: "\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435 \u043D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430 \u0438 \u0430\u0434\u0440\u0435\u0441 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0439 \u043F\u043E\u0447\u0442\u044B",
2231
2261
  contactVerifyEmail: "\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0439 \u043F\u043E\u0447\u0442\u044B",
2232
2262
  contactVerifyPhone: "\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435 \u043D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430",
2233
- countryHeading: "\u0412\u0430\u0448\u0430 \u0441\u0442\u0440\u0430\u043D\u0430",
2263
+ countryOrRegion: "\u0421\u0442\u0440\u0430\u043D\u0430 \u0438\u043B\u0438 \u0440\u0435\u0433\u0438\u043E\u043D",
2234
2264
  countrySearchPlaceholder: "\u041F\u043E\u0438\u0441\u043A",
2235
2265
  delete: "\u0423\u0434\u0430\u043B\u0438\u0442\u044C",
2236
2266
  deposit: "\u0412\u043D\u0435\u0441\u0442\u0438",
@@ -2364,6 +2394,7 @@ var ru_default = {
2364
2394
  verifyingSlow: "\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0430\u0435\u0442\u0441\u044F",
2365
2395
  verifyingSlowDetail: "\u041C\u043E\u0436\u043D\u043E \u0437\u0430\u043A\u0440\u044B\u0442\u044C \u0438 \u0432\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u0447\u0443\u0442\u044C \u043F\u043E\u0437\u0436\u0435.",
2366
2396
  coinbaseTermsNotice: "\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0430\u044F, \u0432\u044B \u043F\u0440\u0438\u043D\u0438\u043C\u0430\u0435\u0442\u0435\n<terms>\u0423\u0441\u043B\u043E\u0432\u0438\u044F</terms>, <agreement>\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u043E\u0435 \u0441\u043E\u0433\u043B\u0430\u0448\u0435\u043D\u0438\u0435</agreement> \u0438 <privacy>\u041F\u043E\u043B\u0438\u0442\u0438\u043A\u0443 \u043A\u043E\u043D\u0444\u0438\u0434\u0435\u043D\u0446\u0438\u0430\u043B\u044C\u043D\u043E\u0441\u0442\u0438</privacy> Coinbase.",
2397
+ moonpayTermsNotice: "\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0430\u044F, \u0432\u044B \u043F\u0440\u0438\u043D\u0438\u043C\u0430\u0435\u0442\u0435\n<terms>\u0423\u0441\u043B\u043E\u0432\u0438\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F</terms> \u0438 <privacy>\u041F\u043E\u043B\u0438\u0442\u0438\u043A\u0443 \u043A\u043E\u043D\u0444\u0438\u0434\u0435\u043D\u0446\u0438\u0430\u043B\u044C\u043D\u043E\u0441\u0442\u0438</privacy> MoonPay.",
2367
2398
  contactInvalidEmail: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u0430\u0434\u0440\u0435\u0441 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0439 \u043F\u043E\u0447\u0442\u044B",
2368
2399
  kycIntroTitle: "\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u043C \u0432\u0430\u0448\u0443 \u043B\u0438\u0447\u043D\u043E\u0441\u0442\u044C",
2369
2400
  kycAdditionalTitle: "\u041D\u0443\u0436\u043D\u043E \u043D\u0435\u043C\u043D\u043E\u0433\u043E \u0431\u043E\u043B\u044C\u0448\u0435 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",
@@ -2507,11 +2538,16 @@ var ru_default = {
2507
2538
  withdrawAmount: {
2508
2539
  amountLabel: "\u0421\u0443\u043C\u043C\u0430",
2509
2540
  delete: "\u0423\u0434\u0430\u043B\u0438\u0442\u044C",
2510
- swapDenomination: "\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0434\u043E\u043B\u043B\u0430\u0440\u044B \u0438 \u0442\u043E\u043A\u0435\u043D\u044B",
2541
+ swapDenomination: "\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C {{currency}} \u0438 \u0442\u043E\u043A\u0435\u043D\u044B",
2511
2542
  useMax: "\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C"
2512
2543
  },
2513
2544
  withdrawCrypto: {
2514
2545
  aboveBalance: "\u041D\u0435\u0434\u043E\u0441\u0442\u0430\u0442\u043E\u0447\u043D\u043E \u0441\u0440\u0435\u0434\u0441\u0442\u0432",
2546
+ aboveLimit: "\u041F\u0440\u0435\u0432\u044B\u0448\u0435\u043D \u043B\u0438\u043C\u0438\u0442",
2547
+ editAmount: "\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u0441\u0443\u043C\u043C\u0443",
2548
+ checkingLimit: "\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u043B\u0438\u043C\u0438\u0442\u0430 \u0432\u044B\u0432\u043E\u0434\u0430\u2026",
2549
+ limitLoadFailed: "\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u043B\u0438\u043C\u0438\u0442 \u0432\u044B\u0432\u043E\u0434\u0430",
2550
+ limitUnavailable: "\u041B\u0438\u043C\u0438\u0442 \u0432\u044B\u0432\u043E\u0434\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D. \u041E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u0432 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0443.",
2515
2551
  addressPlaceholder: "\u0410\u0434\u0440\u0435\u0441 \u043A\u043E\u0448\u0435\u043B\u044C\u043A\u0430",
2516
2552
  available: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u043E: {{amount}} {{symbol}}",
2517
2553
  belowFee: "\u0421\u0443\u043C\u043C\u0430 \u0434\u043E\u043B\u0436\u043D\u0430 \u043F\u0440\u0435\u0432\u044B\u0448\u0430\u0442\u044C \u043A\u043E\u043C\u0438\u0441\u0441\u0438\u044E {{amount}}",
@@ -2650,7 +2686,7 @@ var tr_default = {
2650
2686
  contactVerifyBoth: "L\xFCtfen telefon numaran\u0131z\u0131 ve e-posta adresinizi do\u011Frulay\u0131n",
2651
2687
  contactVerifyEmail: "L\xFCtfen e-posta adresinizi do\u011Frulay\u0131n",
2652
2688
  contactVerifyPhone: "L\xFCtfen telefon numaran\u0131z\u0131 do\u011Frulay\u0131n",
2653
- countryHeading: "\xDClkeniz",
2689
+ countryOrRegion: "\xDClke veya b\xF6lge",
2654
2690
  countrySearchPlaceholder: "Ara",
2655
2691
  delete: "Sil",
2656
2692
  deposit: "Yat\u0131r",
@@ -2784,6 +2820,7 @@ var tr_default = {
2784
2820
  verifyingSlow: "Do\u011Frulama s\xFCr\xFCyor",
2785
2821
  verifyingSlowDetail: "Bunu kapat\u0131p k\u0131sa s\xFCre sonra tekrar bakabilirsin.",
2786
2822
  coinbaseTermsNotice: "Devam ederek Coinbase\u2019in\n<terms>Ko\u015Fullar</terms>, <agreement>Kullan\u0131c\u0131 S\xF6zle\u015Fmesi</agreement> ve <privacy>Gizlilik Politikas\u0131</privacy> belgelerini kabul etmi\u015F olursunuz.",
2823
+ moonpayTermsNotice: "Devam ederek MoonPay\u2019in\n<terms>Kullan\u0131m Ko\u015Fullar\u0131</terms> ve <privacy>Gizlilik Politikas\u0131</privacy> belgelerini kabul etmi\u015F olursunuz.",
2787
2824
  contactInvalidEmail: "L\xFCtfen ge\xE7erli bir e-posta adresi girin",
2788
2825
  kycIntroTitle: "Kimli\u011Finizi do\u011Frulayal\u0131m",
2789
2826
  kycAdditionalTitle: "Biraz daha bilgiye ihtiyac\u0131m\u0131z var",
@@ -2925,11 +2962,16 @@ var tr_default = {
2925
2962
  withdrawAmount: {
2926
2963
  amountLabel: "Tutar",
2927
2964
  delete: "Sil",
2928
- swapDenomination: "Dolar ve token aras\u0131nda ge\xE7i\u015F yap",
2965
+ swapDenomination: "{{currency}} ve token aras\u0131nda ge\xE7i\u015F yap",
2929
2966
  useMax: "T\xFCm\xFCn\xFC kullan"
2930
2967
  },
2931
2968
  withdrawCrypto: {
2932
2969
  aboveBalance: "Yetersiz bakiye",
2970
+ aboveLimit: "Limit a\u015F\u0131ld\u0131",
2971
+ editAmount: "Tutar\u0131 d\xFCzenle",
2972
+ checkingLimit: "\xC7ekim limiti kontrol ediliyor\u2026",
2973
+ limitLoadFailed: "\xC7ekim limiti y\xFCklenemedi",
2974
+ limitUnavailable: "\xC7ekim limiti kullan\u0131lam\u0131yor. Destek ekibiyle ileti\u015Fime ge\xE7in.",
2933
2975
  addressPlaceholder: "C\xFCzdan adresi",
2934
2976
  available: "{{amount}} {{symbol}} kullan\u0131labilir",
2935
2977
  belowFee: "Tutar, {{amount}} \xFCcretten fazla olmal\u0131d\u0131r",
@@ -3068,7 +3110,7 @@ var zh_default = {
3068
3110
  contactVerifyBoth: "\u8BF7\u9A8C\u8BC1\u60A8\u7684\u624B\u673A\u53F7\u7801\u548C\u90AE\u7BB1\u5730\u5740",
3069
3111
  contactVerifyEmail: "\u8BF7\u9A8C\u8BC1\u60A8\u7684\u90AE\u7BB1\u5730\u5740",
3070
3112
  contactVerifyPhone: "\u8BF7\u9A8C\u8BC1\u60A8\u7684\u624B\u673A\u53F7\u7801",
3071
- countryHeading: "\u60A8\u7684\u56FD\u5BB6/\u5730\u533A",
3113
+ countryOrRegion: "\u56FD\u5BB6\u6216\u5730\u533A",
3072
3114
  countrySearchPlaceholder: "\u641C\u7D22",
3073
3115
  delete: "\u5220\u9664",
3074
3116
  deposit: "\u5B58\u5165",
@@ -3202,6 +3244,7 @@ var zh_default = {
3202
3244
  verifyingSlow: "\u4ECD\u5728\u9A8C\u8BC1",
3203
3245
  verifyingSlowDetail: "\u4F60\u53EF\u4EE5\u5148\u5173\u95ED\uFF0C\u7A0D\u540E\u518D\u6765\u67E5\u770B\u3002",
3204
3246
  coinbaseTermsNotice: "\u7EE7\u7EED\u5373\u8868\u793A\u60A8\u540C\u610F Coinbase \u7684\n<terms>\u6761\u6B3E</terms>\u3001<agreement>\u7528\u6237\u534F\u8BAE</agreement>\u548C<privacy>\u9690\u79C1\u653F\u7B56</privacy>\u3002",
3247
+ moonpayTermsNotice: "\u7EE7\u7EED\u5373\u8868\u793A\u60A8\u540C\u610F MoonPay \u7684\n<terms>\u4F7F\u7528\u6761\u6B3E</terms>\u548C<privacy>\u9690\u79C1\u653F\u7B56</privacy>\u3002",
3205
3248
  contactInvalidEmail: "\u8BF7\u8F93\u5165\u6709\u6548\u7684\u7535\u5B50\u90AE\u4EF6\u5730\u5740",
3206
3249
  kycIntroTitle: "\u8BA9\u6211\u4EEC\u9A8C\u8BC1\u60A8\u7684\u8EAB\u4EFD",
3207
3250
  kycAdditionalTitle: "\u6211\u4EEC\u8FD8\u9700\u8981\u4E00\u70B9\u4FE1\u606F",
@@ -3342,11 +3385,16 @@ var zh_default = {
3342
3385
  withdrawAmount: {
3343
3386
  amountLabel: "\u91D1\u989D",
3344
3387
  delete: "\u5220\u9664",
3345
- swapDenomination: "\u5728\u7F8E\u5143\u548C\u4EE3\u5E01\u4E4B\u95F4\u5207\u6362",
3388
+ swapDenomination: "\u5728{{currency}}\u548C\u4EE3\u5E01\u4E4B\u95F4\u5207\u6362",
3346
3389
  useMax: "\u4F7F\u7528\u5168\u90E8"
3347
3390
  },
3348
3391
  withdrawCrypto: {
3349
3392
  aboveBalance: "\u4F59\u989D\u4E0D\u8DB3",
3393
+ aboveLimit: "\u8D85\u51FA\u9650\u989D",
3394
+ editAmount: "\u4FEE\u6539\u91D1\u989D",
3395
+ checkingLimit: "\u6B63\u5728\u68C0\u67E5\u63D0\u73B0\u9650\u989D\u2026",
3396
+ limitLoadFailed: "\u65E0\u6CD5\u52A0\u8F7D\u63D0\u73B0\u9650\u989D",
3397
+ limitUnavailable: "\u63D0\u73B0\u9650\u989D\u4E0D\u53EF\u7528\u3002\u8BF7\u8054\u7CFB\u5BA2\u670D\u3002",
3350
3398
  addressPlaceholder: "\u94B1\u5305\u5730\u5740",
3351
3399
  available: "\u53EF\u7528 {{amount}} {{symbol}}",
3352
3400
  belowFee: "\u91D1\u989D\u5FC5\u987B\u5927\u4E8E {{amount}} \u624B\u7EED\u8D39",
@@ -3496,4 +3544,4 @@ export {
3496
3544
  FunkitI18nProvider,
3497
3545
  useFunkitTranslation
3498
3546
  };
3499
- //# sourceMappingURL=chunk-4YNYOJJK.js.map
3547
+ //# sourceMappingURL=chunk-J5K2FSAI.js.map