@funkit/connect-rn 1.0.11 → 2.1.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 (48) hide show
  1. package/CHANGELOG.md +374 -0
  2. package/dist/index.d.ts +4 -2
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +1051 -289
  5. package/dist/index.js.map +4 -4
  6. package/dist/src/flow/FunkitFlowProvider.d.ts +3 -0
  7. package/dist/src/flow/FunkitFlowProvider.d.ts.map +1 -1
  8. package/dist/src/flow/withdrawalFlowConfig.d.ts +68 -0
  9. package/dist/src/flow/withdrawalFlowConfig.d.ts.map +1 -0
  10. package/dist/src/hooks/useScreenSize.d.ts +4 -0
  11. package/dist/src/hooks/useScreenSize.d.ts.map +1 -0
  12. package/dist/src/icons/FigmaSystemIcons.d.ts +1 -0
  13. package/dist/src/icons/FigmaSystemIcons.d.ts.map +1 -1
  14. package/dist/src/logging/datadogHttpLogTransport.d.ts.map +1 -1
  15. package/dist/src/providers/FunkitStatsigProvider.d.ts +7 -0
  16. package/dist/src/providers/FunkitStatsigProvider.d.ts.map +1 -1
  17. package/dist/src/providers/useFunkitCheckout.d.ts +9 -3
  18. package/dist/src/providers/useFunkitCheckout.d.ts.map +1 -1
  19. package/dist/src/screens/AvailableChainsScreen.d.ts +2 -1
  20. package/dist/src/screens/AvailableChainsScreen.d.ts.map +1 -1
  21. package/dist/src/screens/CheckoutBlockedScreen.d.ts.map +1 -1
  22. package/dist/src/screens/QrCodeScreen.d.ts +10 -10
  23. package/dist/src/screens/QrCodeScreen.d.ts.map +1 -1
  24. package/dist/src/screens/{AddMoneyScreen.d.ts → SelectMethodScreen.d.ts} +4 -4
  25. package/dist/src/screens/SelectMethodScreen.d.ts.map +1 -0
  26. package/dist/src/screens/WithdrawMethodScreen.d.ts +30 -0
  27. package/dist/src/screens/WithdrawMethodScreen.d.ts.map +1 -0
  28. package/dist/src/swapped/SwappedScreen.d.ts +6 -14
  29. package/dist/src/swapped/SwappedScreen.d.ts.map +1 -1
  30. package/dist/src/swapped/SwappedScreenShell.d.ts +24 -0
  31. package/dist/src/swapped/SwappedScreenShell.d.ts.map +1 -0
  32. package/dist/src/swapped/SwappedWebView.d.ts.map +1 -1
  33. package/dist/src/swapped/SwappedWithdrawScreen.d.ts +20 -0
  34. package/dist/src/swapped/SwappedWithdrawScreen.d.ts.map +1 -0
  35. package/dist/src/swapped/webViewSwappedTransport.d.ts +8 -7
  36. package/dist/src/swapped/webViewSwappedTransport.d.ts.map +1 -1
  37. package/dist/src/transfer/fops.d.ts +8 -0
  38. package/dist/src/transfer/fops.d.ts.map +1 -1
  39. package/dist/src/transfer/hooks/useFiatExchangeRates.d.ts +11 -0
  40. package/dist/src/transfer/hooks/useFiatExchangeRates.d.ts.map +1 -0
  41. package/dist/src/transfer/hooks/useWithdrawalFops.d.ts +39 -0
  42. package/dist/src/transfer/hooks/useWithdrawalFops.d.ts.map +1 -0
  43. package/dist/src/withdrawal/publicClient.d.ts +10 -0
  44. package/dist/src/withdrawal/publicClient.d.ts.map +1 -0
  45. package/dist/src/withdrawal/useWithdrawalExecution.d.ts +21 -0
  46. package/dist/src/withdrawal/useWithdrawalExecution.d.ts.map +1 -0
  47. package/package.json +11 -3
  48. package/dist/src/screens/AddMoneyScreen.d.ts.map +0 -1
package/CHANGELOG.md ADDED
@@ -0,0 +1,374 @@
1
+ # @funkit/connect-rn
2
+
3
+ ## 2.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 88c8874: Execute fiat-withdrawal orders through the host `WithdrawalClient` — a validated Swapped order runs the on-chain leg and reports `onWithdrawalSubmitted(orderId, txHash)`; user rejections stay interactive, failures surface a retryable error and `onWithdrawalError`
8
+ - 1afdd25: Handle the Swapped withdrawal lifecycle messages in the embed (fiat offramp, [5/8]): `webViewSwappedTransport` / `SwappedScreen` parse and relay `SWAPPED_NEW_WITHDRAWAL`, `SWAPPED_WITHDRAWAL_SUCCESSFUL`, and validated `SWAPPED_ORDER_DATA`. The WebView message origin gate is now fail-closed, validating against the last committed navigation URL when a build omits `nativeEvent.url`. Deposit behavior unchanged.
9
+ - 2509eaf: Wire the managed Swapped fiat-offramp flow ([6/8]): `useFunkitCheckout` gains `beginWithdrawal(config)`, and `FunkitFlowProvider` drives the payout-method list → Swapped WebView, capping the sell to `sourceUsdBalance` and blocking below Swapped's minimum. Exports the `WithdrawalFlowConfig` / `WithdrawalClient` contract types. On-chain execution lands in [7/8]; until then a validated order reaches the host via `onWithdrawalOrder`.
10
+ - 140835a: Add the withdrawal FOPs data layer (Swapped fiat offramp, [3/8]): the `WithdrawalFlowConfig` contract types, `useWithdrawalFops` (Statsig-gated payout-method fetch + balance→EUR sell cap), and `useFiatExchangeRates`. Data only — the screen and flow wiring land in later PRs.
11
+ - 0564bb8: Add `WithdrawMethodScreen` (Swapped fiat offramp, [4/8]) — the payout-method picker, a thin composition over `SelectMethodScreen` (bare-list layout) with terminal empty / balance-too-low states. Tested but not yet wired into the flow.
12
+
13
+ ### Patch Changes
14
+
15
+ - 8211c26: feat(connect-rn): render AvailableChainsScreen as nested sheet with Got it button
16
+ - 916073b: Update CheckoutBlockedScreen to match Figma design: add "Add money" title, swap info icon for alert circle icon, add "View available regions" link text
17
+ - e5320cb: feat(connect-rn): render QrCodeScreen as nested bottom sheet with Done button and responsive padding
18
+ - d0c8554: fix(connect-rn): primary buttons follow the `button` radius token
19
+
20
+ Primary action buttons (Copy/Share, Done, retry, "Got it") hardcoded a full-pill radius instead of reading the themeable `button` token, so brands could not square their buttons. They now use `borderRadius="button"`; the default token is 999, keeping the full-pill look for themes that don't override it.
21
+
22
+ - 89018b6: Split the internal `SwappedScreen` into deposit (`SwappedScreen`) and withdrawal (`SwappedWithdrawScreen`) components with per-mode message handling. No public API or user-facing behavior changes.
23
+
24
+ ## 2.0.0
25
+
26
+ ### Major Changes
27
+
28
+ - 640371e: Add an `exports` map (root entry only) and replace `export * from '@funkit/connect-core'` with the curated managed API plus the core types that appear in this package's public signatures (`CheckoutTokenTransferConfig`, `DynamicTargetAssetCandidate`).
29
+
30
+ Breaking: deep `dist/**` imports no longer resolve, and the RN entry no longer re-exports the whole `@funkit/connect-core`. Import core symbols from `@funkit/connect-core` directly.
31
+
32
+ ### Patch Changes
33
+
34
+ - b8a3f1e: Ship the full `dist` tree and `CHANGELOG.md` in the published tarball. `@funkit/connect-core` previously listed only `dist/index.js` in `files`, so any future code-split chunk (`dist/chunk-*.js`, emitted once a dynamic `import()` is added under `splitting: true`) would have been silently excluded from the package. Both packages now publish their changelog too.
35
+ - 89e29b3: Tag the Statsig user with `custom.sdkType` (`react-native` / `web`) so a config shared across SDKs can be scoped per-SDK via a per-customer targeting rule.
36
+ - a46364d: Rename the internal `AddMoneyScreen` to `SelectMethodScreen` ([2/8]) — it now backs both the deposit and withdrawal method lists, so the deposit-specific name no longer fits. Pure rename; no behavior or public-API change (`PaymentMethodOption` / `ReceiveTokenOption` keep their names).
37
+ - Updated dependencies [b2abbb5]
38
+ - Updated dependencies [b8a3f1e]
39
+ - Updated dependencies [4f0f4a0]
40
+ - @funkit/connect-core@2.0.0
41
+
42
+ ## 1.0.11
43
+
44
+ ### Patch Changes
45
+
46
+ - d58690c: Remove dead vendored code: `StatsigProviderRN`, `useClientBootstrapInitRN`, and `ConsoleLogTransport`. These were unreferenced internally and never exported from the public barrel (Statsig RN bindings and logging transports are intentionally internal). The active Statsig path uses `useClientAsyncInitRN` + `StatsigClientRN`, and logging ships via `datadogHttpLogTransport`.
47
+ - d442c9b: Set a 60s staleTime on the internally-created fallback QueryClient to avoid refetching on every remount
48
+ - Updated dependencies [8ae9a55]
49
+ - @funkit/connect-core@1.7.1
50
+
51
+ ## 1.0.10
52
+
53
+ ### Patch Changes
54
+
55
+ - Updated dependencies [6ae84b0]
56
+ - Updated dependencies [a074ecf]
57
+ - @funkit/connect-core@1.7.0
58
+
59
+ ## 1.0.9
60
+
61
+ ### Patch Changes
62
+
63
+ - Updated dependencies [7636095]
64
+ - @funkit/connect-core@1.6.2
65
+
66
+ ## 1.0.8
67
+
68
+ ### Patch Changes
69
+
70
+ - Updated dependencies [cac2d42]
71
+ - Updated dependencies [4b8c04b]
72
+ - Updated dependencies [79c92ec]
73
+ - Updated dependencies [16cc96f]
74
+ - Updated dependencies [4c446f9]
75
+ - Updated dependencies [d27111c]
76
+ - @funkit/connect-core@1.6.1
77
+ - @funkit/chains@2.1.3
78
+ - @funkit/api-base@6.0.0
79
+
80
+ ## 1.0.7
81
+
82
+ ### Patch Changes
83
+
84
+ - Updated dependencies [ec71a28]
85
+ - Updated dependencies [2d5650d]
86
+ - @funkit/chains@2.1.2
87
+ - @funkit/connect-core@1.6.0
88
+
89
+ ## 1.0.6
90
+
91
+ ### Patch Changes
92
+
93
+ - 99812aa: feat(withdrawal): resolve token addresses from config, drop the per-symbol API lookup
94
+
95
+ The withdrawal screen no longer resolves token addresses with a `getAssetErc20ByChainAndSymbol` round-trip; the addresses already live in config.
96
+
97
+ - `@funkit/connect-core`: `resolveTokenTransferConfig` adds `addressBySymbolByChainId` (`chainId → symbol/alias → original-case address`), preserving casing (checksummed EVM, base58 Solana/Tron).
98
+ - `@funkit/connect`: `WithdrawalContent` reads the destination address from that map and the Lighter Secure source address from a hardcoded map in `LighterWithdrawal.tsx`, pricing both via `useAssetAddressPrice`. Removes all `useAssetSymbolPrice` usage from the withdrawal flow (hooks left for a follow-up cleanup).
99
+ - `@funkit/connect-rn`: test-only fixture update.
100
+
101
+ - Updated dependencies [a395c4c]
102
+ - Updated dependencies [c3d2458]
103
+ - Updated dependencies [ce05191]
104
+ - Updated dependencies [b8a7aaa]
105
+ - Updated dependencies [202c15b]
106
+ - Updated dependencies [99812aa]
107
+ - @funkit/api-base@5.2.0
108
+ - @funkit/connect-core@1.5.0
109
+
110
+ ## 1.0.5
111
+
112
+ ### Patch Changes
113
+
114
+ - Updated dependencies [394a46c]
115
+ - @funkit/api-base@5.1.0
116
+ - @funkit/connect-core@1.4.1
117
+
118
+ ## 1.0.4
119
+
120
+ ### Patch Changes
121
+
122
+ - Updated dependencies [86d2a31]
123
+ - Updated dependencies [b8c578e]
124
+ - @funkit/connect-core@1.4.0
125
+
126
+ ## 1.0.3
127
+
128
+ ### Patch Changes
129
+
130
+ - ae17d2a: fix(connect-rn): move "Address copied" toast 80px from top of screen
131
+ - bb08629: docs: rewrite the `@funkit/connect-rn` README as a developer guide (architecture, peer dependencies, Expo Go compatibility, local build/test workflow) and repoint the in-code doc comments (`connect-rn`/`connect-core` `index.ts`, `LogTransport`) from the retired `docs/connect-rn-architecture.md` design doc to it. Client/integration usage of the SDK is maintained in Notion. Comment/doc only — no API or behavior changes.
132
+ - Updated dependencies [fc74160]
133
+ - Updated dependencies [bb08629]
134
+ - Updated dependencies [639d776]
135
+ - Updated dependencies [23ec218]
136
+ - Updated dependencies [09452ce]
137
+ - Updated dependencies [cd57fba]
138
+ - @funkit/api-base@5.0.0
139
+ - @funkit/connect-core@1.3.0
140
+
141
+ ## 1.0.2
142
+
143
+ ### Patch Changes
144
+
145
+ - Updated dependencies [f64e821]
146
+ - @funkit/connect-core@1.2.0
147
+
148
+ ## 1.0.1
149
+
150
+ ### Patch Changes
151
+
152
+ - e98d6c6: fix(connect-rn): uniform 6px spacing between deposit address card elements
153
+ - Updated dependencies [5d5d4f5]
154
+ - @funkit/connect-core@1.1.1
155
+
156
+ ## 1.0.0
157
+
158
+ ### Major Changes
159
+
160
+ - 304fbdd: Derive Add money payment methods + crypto source icons internally; rename `DepositFlowConfig.selectedChainId` to `sourceChain` (string).
161
+
162
+ ### Minor Changes
163
+
164
+ - cb5d3c4: Render the managed deposit flow in a `@gorhom/bottom-sheet`, sized to its content. `@gorhom/bottom-sheet`, `react-native-gesture-handler`, and `react-native-reanimated` are now **required** peer deps, and the app root must be wrapped in `<GestureHandlerRootView>`.
165
+ - 80f3acd: Add geoblocked checkout screen to the deposit flow
166
+ - 219a880: Add the `ChooseChainScreen` (Figma: Fun Mobile / Transfer Crypto chain list) — shown when the user taps "Change" on the Transfer screen. A themed bottom-sheet surface with back + centered title + a list of chains (EVM Chains, Solana, Tron, Bitcoin, …). Data-driven via `chains: ChainOption[]` + `onSelectChain`; chain icons are host-supplied (`icon`), keeping the package `react-native-svg`-free. Exported as public API. Navigation (Change → this screen → back with the chosen chain) is wired by the host via the existing `onChangeNetwork` / `onSelectChain` callbacks.
167
+ - ea84a30: Default the connect-rn theme to the **system** UI font (SF on iOS, Roboto on Android) instead of Inter, so the package renders correctly with no font assets registered by the host. connect-rn is now fully font-agnostic — it ships no typeface and no font preset; hosts that want a custom font (e.g. Inter) define their own `fonts` tokens and register the matching files.
168
+
169
+ BREAKING: the `FUNKIT_REQUIRED_FONTS` export is removed — connect-rn no longer requires any host-registered fonts by default. Migration: to keep rendering in Inter, define your own font tokens in the host app and build your theme with them:
170
+
171
+ ```ts
172
+ import {
173
+ type FunkitFontTokens,
174
+ fontFamilyForWeight,
175
+ lightTokens,
176
+ toRestyleTheme,
177
+ } from "@funkit/connect-rn";
178
+
179
+ const interFonts: FunkitFontTokens = {
180
+ family: "Inter",
181
+ weights: {
182
+ base: { familySuffix: "Regular", cssWeight: "400" },
183
+ medium: { familySuffix: "Medium", cssWeight: "500" },
184
+ },
185
+ };
186
+
187
+ const theme = toRestyleTheme({ ...lightTokens, fonts: interFonts });
188
+ // register assets under fontFamilyForWeight(interFonts, 'base'|'medium')
189
+ // ('Inter-Regular' / 'Inter-Medium') — the replacement for FUNKIT_REQUIRED_FONTS
190
+ ```
191
+
192
+ - 827fece: Add fluid animations across the deposit flow (bottom-sheet resize, deposit-to dropdown, and network selector) plus an animated address-copied toast exposed as the new `AddressCopiedToast` component.
193
+ - 8ea4b32: Wire the transfer screens into a managed flow behind a web-SDK-style API. `useFunkitCheckout()` now returns `beginDeposit(config)` (mirroring `@funkit/connect`'s `useFunkitCheckout`/`beginCheckout`): it opens the SDK's own bottom-sheet modal and runs the flow — Add money → Transfer/UDA → Choose chain / Supported tokens / QR — so host apps render no screens themselves. The five screens, the Statsig RN bindings, logging, identity context, and transfer hooks are all internal now; the public surface is `FunkitProvider` + `useFunkitCheckout` (+ the `DepositFlowConfig` item shapes). For this release the host supplies the flow's data via `DepositFlowConfig`; sourcing it internally (api-base / chains / Statsig / `useTransferInit`) and CDN icons are follow-ups (see TODOs).
194
+ - 2e663b9: Render Inter correctly by selecting weights through per-cut font families (`FUNKIT_REQUIRED_FONTS` is now `{ base: 'Inter-Regular', medium: 'Inter-Medium' }` — register each name) and align body text line heights with Figma.
195
+ - 219a880: Add the `QrCodeScreen` (Figma: Fun Mobile / qr-code-modal) — the full-screen deposit QR view reached from the Transfer screen's QR button. A themed surface with a close action, the framed QR code, a "Scan to deposit … / use it only for supported chains" caption (with an optional tappable link), and a share button. The scannable QR is host-supplied via the `qrCode` slot (e.g. `react-native-qrcode-svg`), so the package stays `react-native-svg`-free. Exported as public API.
196
+ - 649a519: Add the `SupportedTokensScreen` (Figma: Fun Mobile / Supported tokens) — shown from the Transfer screen's chain-name / info affordance. Back + title, a search field, horizontally-scrolling chain filter chips (All / Ethereum / BSC / …), and the token list (icon + symbol + chain). Controlled/presentational: the search value, selected chip, and the (host-filtered) `tokens` list come from props; token icons are host-supplied, keeping the package `react-native-svg`-free. The search input's colors follow the active theme via Restyle's `useTheme`. Exported as public API.
197
+ - 827fece: Refine the deposit flow screens and add an optional `overflowMode` to `SourceTokenCluster` and `initialDropdownOpen` to `AddMoneyScreen`.
198
+ - dd362c9: Redesign the deposit-flow screens (Add money, Transfer Crypto, QR code) and add an "Available chains" screen — the selected network's chains with per-chain minimum-deposit amounts (from `mintokentransfervalue`, mirroring web). Wire copy/share (clipboard via `expo-clipboard`, falling back to `@react-native-clipboard/clipboard`) and add an on-device Storybook harness. Pin react to 19.2.3 to match the RN 0.85 renderer.
199
+
200
+ The Transfer-screen network switcher is now derived internally from the curated chain list (`tokentransferconfig`) instead of being host-configured: the `depositChains` field was removed from `DepositFlowConfig`. Every EVM chain collapses into one "EVM Chains" segment and each non-EVM chain (Solana / Tron / Bitcoin) is its own segment; `selectedChainId` still picks the initially-selected network.
201
+
202
+ ### Patch Changes
203
+
204
+ - 15d1159: Fix a gray rectangular border around the deposit-address card on Android. The card had an `elevation` shadow but no opaque background, so Android couldn't clip the shadow to the card's rounded corners. Giving it a `bgModal` background clips the elevation shadow correctly.
205
+ - 57e49a8: Align the modal close buttons across the Transfer, QR, and Available chains screens (24px inset, 56px touch target).
206
+ - f288caf: Paint the deposit-flow bottom sheet's surface (matching each screen's `bgModal` + rounded top) and extend it below the content so dragging the sheet above its content height reveals more surface instead of the backdrop — the elastic over-drag no longer exposes the sheet's bottom edge.
207
+ - 827fece: Center each chain logo within its circular ring in `SourceTokenCluster` and `AvailableChainsScreen` so the icon border no longer offsets the logo by 1px.
208
+ - be6e6cf: Add a `copyToClipboard` override on FunkitProvider so hosts can supply their own clipboard (e.g. expo-clipboard in Expo Go); the default still lazily loads @react-native-clipboard/clipboard
209
+ - a9f9769: Hold the Add money loading state until the geo-eligibility check and the deposit-address/QR generation both resolve, so the deposit UI no longer flashes before a blocked user is routed away or before the address is ready.
210
+ - f4a74f1: Fix off-center chain logos with a visible gray ring in the Transfer Crypto network selector. The logos were wrapped in a bordered box the same size as the icon, whose 1px inset shrank and offset the logo and exposed the border as a ring. `FunIcon` already clips each logo to a centered circle, so the wrapping rings are removed and the logos render full-bleed, matching Figma.
211
+ - ea4b6af: Match the source-token overflow chips to Figma: a centered "+" icon on the Add money row and a circular "+N" count chip on Transfer (previously a mis-centered text "+" in an oval).
212
+ - 9fc8470: Show the full deposit address with a Copy button below the QR on the QR-code screen
213
+ - 4a0aff8: Add a white quiet-zone backing behind the QR chain-logo cluster so the QR no longer bleeds through
214
+ - 827fece: Render the deposit QR with a fixed dark color so it stays scannable (dark-on-light) in dark mode.
215
+ - beb3c84: Add the shared `useSwappedDefaultCurrencyQuery` hook to `@funkit/connect-core` and use it in `@funkit/connect-rn` to resolve the Swapped deposit flow's default fiat currency from the user's region instead of hardcoding USD.
216
+ - 40b8f2d: Show the minimum deposit on the Transfer screen for single-chain networks (Solana / Tron / Bitcoin) instead of a non-navigable chain-logo chevron.
217
+ - af9e919: Open the keyboard automatically in the Swapped deposit flow and slide the bottom sheet above it instead of shrinking.
218
+ - d5f375e: Fix copy-address toast blocking all sheet button taps for ~2s — replace the native `<Modal>` (which captures all touches even when transparent) with an absolutely-positioned `View` rendered above the gorhom sheet via sibling z-ordering.
219
+ - 7eefd13: Show a back arrow (not a close X) on the Transfer Crypto screen's leading button, since it returns to the Add money screen.
220
+ - 3fb075a: feat(connect-rn): update styles for transfer crypto, add money and qr code screens to match figma designs
221
+ - 55c21d3: fix(connect-rn): expand swapped theme variables to fix continue button text color
222
+ - Updated dependencies [827fece]
223
+ - Updated dependencies [beb3c84]
224
+ - Updated dependencies [79f4b01]
225
+ - Updated dependencies [79f4b01]
226
+ - Updated dependencies [79f4b01]
227
+ - Updated dependencies [c90915d]
228
+ - Updated dependencies [389a29d]
229
+ - Updated dependencies [32d1cc6]
230
+ - @funkit/connect-core@1.1.0
231
+ - @funkit/chains@2.1.1
232
+
233
+ ## 0.2.0-next.0
234
+
235
+ ### Minor Changes
236
+
237
+ - 67ce912: Show real, fetched payment methods on the Add money screen, replacing the
238
+ hardcoded list. When Swapped is enabled (`enableswappeddeposit`), the screen
239
+ renders a single flat list (no Crypto/Cash tabs — mobile has no such design):
240
+ the user's saved forms of payment on top, then the **Crypto** (Transfer Crypto)
241
+ row, then the generic Swapped FOPs (Card / Apple Pay / Revolut Pay / Bank
242
+ Transfer), matching the Figma order. FOP rows come from `useFops` via the pure
243
+ `toFopRows` (CDN icon + `"<limit> limit"` subtitle, with `" · 1-2 days"` for
244
+ bank transfers). When Swapped is off, the screen keeps the host's configured
245
+ methods.
246
+
247
+ Selecting a FOP is a no-op stub pending the Swapped WebView (handed off there
248
+ once it lands). Connect Exchange (Bluvo) and virtual-bank/SEPA are out of this
249
+ V1.
250
+
251
+ - b0526d6: Add the `AddMoneyScreen` funding-source picker (Figma: Fun Mobile / Add money) — the payment-method selection step that precedes the Transfer/UDA screen. A themed bottom-sheet surface (grabber + centered title + scrollable list of methods) built from the connect-rn Restyle primitives, so it tracks the active light/dark scheme. Data-driven via `methods: PaymentMethodOption[]` + `onSelectMethod`; brand icons are host-supplied (`icon` / `trailing`), keeping the package asset- and `react-native-svg`-free. Exported as part of the public API (screens are the consumer surface).
252
+ - fa32433: Reflect the selected chain on the Transfer screen. Picking a different chain on the choose-chain screen now updates the network **label**, the network **icon**, and the generated **deposit address + QR** on the Transfer screen — previously they stayed fixed on the initial (EVM) chain. The flow tracks the selected `ChainOption` and derives the label/icon from it (falling back to the config defaults), and the selected chain's `chainId` drives which generated address + QR type is shown. The `with-expo` demo now sets `chainId` on every chain (EVM/Solana/Tron/Bitcoin) so switching actually changes the address.
253
+ - 169af7e: Add the `ChooseChainScreen` (Figma: Fun Mobile / Transfer Crypto chain list) — shown when the user taps "Change" on the Transfer screen. A themed bottom-sheet surface with back + centered title + a list of chains (EVM Chains, Solana, Tron, Bitcoin, …). Data-driven via `chains: ChainOption[]` + `onSelectChain`; chain icons are host-supplied (`icon`), keeping the package `react-native-svg`-free. Exported as public API. Navigation (Change → this screen → back with the chosen chain) is wired by the host via the existing `onChangeNetwork` / `onSelectChain` callbacks.
254
+ - 95fe691: Make the Transfer screen's copy and share buttons actually work. The buttons showed a "Copied!" confirmation but never wrote to the clipboard, because the managed flow didn't pass `onCopyAddress`/`onShareAddress`. The flow now copies the **full** deposit address (the screen only shows it truncated) via `@react-native-clipboard/clipboard` and shares it via React Native's built-in `Share`. Adds `@react-native-clipboard/clipboard >=1.13.0` as a peer dependency.
255
+
256
+ The clipboard peer is loaded **lazily and guarded**: a host that hasn't linked the native module (an un-rebuilt dev client, Expo Go, or a consumer that didn't install the peer) degrades to a no-op + warning instead of crashing at startup with the `'RNCClipboard' could not be found` TurboModule invariant.
257
+
258
+ - c21ded0: Fix Datadog logging never reaching the transport. The `FunLogger` queues every record until `logger.configure(...)` is called, and connect-rn never called it — so nothing was ever shipped to Datadog. `FunkitProvider` now configures the logger with the `config.apiKey` + debug flag (mirroring the web SDK) and sets user context, so queued logs flush and records emit to the Datadog HTTP transport in production. The SDK version is inlined at build time (`src/version.ts`) and sent as the log `sdkVersion`.
259
+
260
+ Also changes the default Datadog `service` tag from `connect-rn-sdk` to `connect-rn`.
261
+
262
+ - 57d7a5c: Generate the deposit address and QR code inside the managed deposit flow. Given a `checkoutConfig` (target chain + asset) on the flow config and identity on `<FunkitProvider>`, the flow now resolves the Universal Deposit Address and EIP-681 QR URI via the transfer hooks and renders the QR with `react-native-qrcode-svg` — no longer host-supplied.
263
+
264
+ - `<FunkitProvider>` gains `config` (`{ apiKey, externalUserId? }`, mirroring the identity-relevant subset of the web SDK's `funkitConfig`), `walletAddress` (the connected address — web reads this from wagmi; RN has no wallet provider so the host passes it), and an optional `queryClient` (defaults to an internal one). It now mounts `QueryClientProvider` + the identity context internally, so transfer queries run under a single provider. `userId` is resolved web-style (`apiKey|externalUserId`, else the wallet address).
265
+ - `DepositFlowConfig`: adds `checkoutConfig`, `selectedChainId`, and `dynamicRoutingId`; `depositAddress` and `qrCode` become optional host overrides/fallbacks (shown while generation loads or when no identity is configured). The displayed address is truncated by the flow.
266
+ - `ChainOption` gains `chainId` — picking a chain on the choose-chain screen now updates the active chain so the generated address + QR match the selected network.
267
+ - Adds `react-native-qrcode-svg >=6.3.0` as a peer dependency (renders via the `react-native-svg` peer already added for CDN icons).
268
+
269
+ - 399eede: Wire the transfer screens into a managed flow behind a web-SDK-style API. `useFunkitCheckout()` now returns `beginDeposit(config)` (mirroring `@funkit/connect`'s `useFunkitCheckout`/`beginCheckout`): it opens the SDK's own bottom-sheet modal and runs the flow — Add money → Transfer/UDA → Choose chain / Supported tokens / QR — so host apps render no screens themselves. The five screens, the Statsig RN bindings, logging, identity context, and transfer hooks are all internal now; the public surface is `FunkitProvider` + `useFunkitCheckout` (+ the `DepositFlowConfig` item shapes). For this release the host supplies the flow's data via `DepositFlowConfig`; sourcing it internally (api-base / chains / Statsig / `useTransferInit`) and CDN icons are follow-ups (see TODOs).
270
+ - 0cdbc22: Add `useFops` + `toFopRows` for fetching Swapped forms of payment (Card / Apple
271
+ Pay / Google Pay / Bank Transfer) — a thin RN port of web's `useFops` (`getFops`).
272
+ Identity comes from `useFunkitIdentity`; the deposit recipient is derived from
273
+ `useTransferInit` + the core `getDepositAddressForChain`. `toFopRows` is the pure
274
+ mapping to display rows (label + CDN icon + `"<limit> limit • <time>"` subtitle,
275
+ coming-soon FOPs disabled).
276
+
277
+ Adaptations vs. web: **no geo-fencing** — the country code and `useFunkitUserIp`
278
+ gating are dropped (`countryCode` is optional on `GetFopsParams`), so FOPs are
279
+ fetched regardless of region. The Swapped theme query params, EUR min-amount,
280
+ saved-currency lookup, and exchange-rate-based limits are deferred (limits fall
281
+ back to the default). These are internal — wired into the Add money cash tab in a
282
+ follow-up.
283
+
284
+ - b86fed9: Resolve the user's real country for the Swapped cash methods. Adds `useUserIpInfo`
285
+ — a React Native port of web's hook that resolves the user's country (ISO
286
+ alpha-2) + region from their IP via Moonpay's IP endpoint (primary) with an
287
+ ipapi.co fallback (plain `fetch`, no native modules). `useFops` now sends this
288
+ real country to `/fops` instead of the hardcoded default, so Swapped lists the
289
+ correct region's payment methods; the default is kept only as a fallback while
290
+ the lookup is in flight or if it fails. Geo-lookup failures log at WARN (the
291
+ flow degrades gracefully).
292
+
293
+ Per-region geoblocking (comparing the country against the `blockedcountries`
294
+ Statsig config and disabling methods for blocked regions, like web's
295
+ `isUserGeoblocked`) is the remaining follow-up.
296
+
297
+ - b40be1c: Fix chain logos that were missing or mis-positioned (e.g. Tron invisible, Solana/Bitcoin squashed into a corner). `FunIcon` previously injected a fixed `viewBox="0 0 28 28"` onto every CDN SVG, which clobbered the viewBox that some logos already ship (Solana 16×16, Tron `138.8 49.5 522 500.2`) — pushing their artwork off-screen or into a corner. `FunIcon` now fetches each SVG and **synthesizes a viewBox only when one is missing** (derived from its width/height), never overriding an existing one, then renders via `SvgXml`. Results are cached per URL.
298
+ - 108b301: Add the React Native identity context and thin token-transfer hooks. `FunkitIdentity` (`{ apiKey, userId, walletAddress, loginType }`) is supplied by the host via `FunkitIdentityProvider`/`useFunkitIdentity` (RN has no wagmi). `useTransferInit` composes the core `getCheckoutTokenTransferParams` helper with `@funkit/api-base`'s `initializeCheckoutTokenTransferAddress` in a `useQuery`; `useUDAParams` resolves UDA config from the `uda_params` dynamic config; `useTokenTransfer` derives the deposit address, QR URI, and min-transfer value (default slippage). All web/customer branches (Lighter main account, Polymarket target override, geo/post-action gating, per-customer slippage matrix, i18n, fiat) are intentionally dropped. Adds `@tanstack/react-query` (`>=5`) as a peer dependency. These are internal (not part of the public API), to be wired through `FunkitProvider` once the Transfer screen lands.
299
+ - c49f5ba: Add React Native logging transports for the core `FunLogger`. `DatadogHttpLogTransport` ships records to Datadog over raw `fetch` (NOT the Datadog SDK — `@datadog/mobile-react-native` requires native modules), batching and flushing fire-and-forget on a timer, swallowing network errors, and authenticating with the public client token. `ConsoleLogTransport` is a dependency-free dev sink. A `FunLogger` singleton wired with the HTTP transport mirrors `@funkit/connect`'s web `logger`. No new native dependencies — only `fetch`. These are internal (not part of the public API), to be wired through `FunkitProvider` once identity/config lands.
300
+ - 2eb5610: Add the `QrCodeScreen` (Figma: Fun Mobile / qr-code-modal) — the full-screen deposit QR view reached from the Transfer screen's QR button. A themed surface with a close action, the framed QR code, a "Scan to deposit … / use it only for supported chains" caption (with an optional tappable link), and a share button. The scannable QR is host-supplied via the `qrCode` slot (e.g. `react-native-qrcode-svg`), so the package stays `react-native-svg`-free. Exported as public API.
301
+ - ea13570: Scaffold the `@funkit/connect-rn` package — React Native bindings that currently re-export `@funkit/connect-core`. RN platform halves land in later releases.
302
+ - 57d891c: Wire Statsig into `FunkitProvider` for React Native. Vendored the RN bindings from `@statsig/react-native-bindings` (+ `react-native-core`) with `react-native-device-info` removed — the only native module required is `@react-native-async-storage/async-storage` (new required peer dependency; AsyncStorage-backed persistence, device-info fields left `undefined`). `FunkitProvider` now mounts an internal `FunkitStatsigProvider` (same Fun client key + custom proxy as `@funkit/connect`, client created via the RN bindings) and accepts a `debug` prop (dev environment tier + verbose logging). The Statsig bindings stay internal (not part of the public API, mirroring `@funkit/connect`); all Statsig symbols resolve from the single `@statsig/react-bindings` peer so there's one client-core copy.
303
+ - 6ebf77e: Render the real, **curated** supported-deposit-tokens list (was placeholder, and an earlier attempt wrongly used the raw allow-list — meme coins and all). `useSupportedTokens` now resolves the list the same way the web SDK does: the Statsig `tokentransferconfig` (curated chains + asset addresses), filtered by `disabletokentransferchainsandassets`, merged with `@funkit/api-base`'s `getSupportedAssets` metadata via the shared `resolveTokenTransferConfig` (connect-core). The managed flow feeds this into the supported-tokens screen; `DepositFlowConfig.supportedTokens` / `tokenChainFilters` remain optional host overrides. `SupportedToken` gains `chainId` + `address` (for filtering/selection). Search, chain-filter, and selection interactivity follow separately.
304
+ - 024551c: Wire up the supported-tokens screen interactivity. Search (by symbol or chain name) and the chain-filter chips now filter the list (`filterSupportedTokens`), and selecting a token re-targets the transfer to that token's chain — the UDA deposit address is per-chain, so the Transfer screen's network label/icon and the generated address/QR update to the selected token's chain (reusing the choose-chain selection). The screen's search/filter/select were previously presentational.
305
+ - f6d33e6: Add the `SupportedTokensScreen` (Figma: Fun Mobile / Supported tokens) — shown from the Transfer screen's chain-name / info affordance. Back + title, a search field, horizontally-scrolling chain filter chips (All / Ethereum / BSC / …), and the token list (icon + symbol + chain). Controlled/presentational: the search value, selected chip, and the (host-filtered) `tokens` list come from props; token icons are host-supplied, keeping the package `react-native-svg`-free. The search input's colors follow the active theme via Restyle's `useTheme`. Exported as public API.
306
+ - 9f85d13: Render chain and token logos from Fun's icon CDN inside the managed deposit flow. Adds `FunIcon` (picks `react-native-svg`'s `SvgUri` for `.svg` chain logos vs `Image` for `.png` token logos — RN's built-in `Image` can't render SVG) and `ChainClusterIcon` (a single logo, or a 2×2 cluster for multi-chain groups). The flow now derives the network icon, crypto payment-method icon, choose-chain icons, and supported-token icons from config when the host doesn't supply its own: `DepositFlowConfig.networkIconChains?` and `ChainOption.iconKeys?` (CDN chain keys, e.g. `['ethereum', 'polygon']`); token icons are resolved from each token's symbol. Adds `react-native-svg >=15.0.0` as a peer dependency.
307
+ - 1b90155: Open the Swapped embedded payment flow in a WebView when a cash method is
308
+ selected on Add money. Picking a Card / Apple Pay / Revolut Pay / Bank Transfer
309
+ row now navigates to a `SwappedScreen` that loads the FOP's `embeddedFlowUrl`.
310
+
311
+ - `createWebViewSwappedTransport` + `SWAPPED_WEBVIEW_INJECTED_JS` +
312
+ `handleWebViewMessage` implement the shared `SwappedTransport` contract over a
313
+ `WebView` (the React Native counterpart of web's iframe transport): the
314
+ injected bridge redirects the embed's `postMessage` to the native channel, and
315
+ inbound messages are JSON-parsed and **origin-validated** (`isSwappedOrigin`)
316
+ before reaching handlers.
317
+ - `SwappedScreen` maps the embed's messages to flow navigation (mirroring web's
318
+ `SwappedIframeController`): back / new-deposit → back, close → close flow,
319
+ transaction-successful → success; errors log at WARN.
320
+
321
+ Adds `react-native-webview` (`>=13`) as a peer dependency. Sending theme/method
322
+ to the embed on `SWAPPED_READY` (web's `useSwappedSession`) and a host success
323
+ callback are follow-ups.
324
+
325
+ - 7eef6e3: Add the connect-rn Shopify Restyle theme: local light/dark design tokens (from the Fun Mobile Figma variables), a `toRestyleTheme` adapter, and a `FunkitProvider` that accepts `themes` + an optional `colorScheme` prop (falls back to the system Appearance when unset). Exposes `useFunkitColorScheme()` with a manual `toggleColorScheme()` (a no-op while a `colorScheme` prop is set), plus `useColorScheme` and typed `Box` / `Text` primitives. The theme is owned entirely by connect-rn (not shared with connect-core).
326
+ - 6b87806: Add the `TransferCryptoScreen` (Figma: Fun Mobile / Transfer Crypto) — the Universal-Deposit-Address screen reached after picking Crypto on `AddMoneyScreen`. A themed bottom-sheet surface with a top bar (back / title / QR), a network selector row (chain cluster + label + Change), and the deposit-address card with copy/share circular buttons. Built from the connect-rn Restyle primitives so it tracks the active light/dark scheme. UI only — data (`depositAddress`, `networkLabel`) and actions (`onBack`, `onShowQrCode`, `onChangeNetwork`, `onCopyAddress`, `onShareAddress`) are host-supplied; the chain-cluster icon is a host slot (`networkIcon`) and back/QR/copy/share use built-in svg-free glyphs, so the package needs no `react-native-svg`. Exported as public API.
327
+
328
+ ### Patch Changes
329
+
330
+ - 4428292: Gate non-EVM deposit chains on a minted address, shared between web and RN.
331
+ Adds `isTransferChainEnabled(chainId, transferInit, isWithdrawal?)` to
332
+ `@funkit/connect-core` — EVM chains are always enabled; Solana/Bitcoin/Tron are
333
+ enabled only once the deposit-init response carries their address; withdrawals
334
+ enable every chain. `@funkit/connect`'s `useEnabledTokenTransferChainTokens` now
335
+ delegates to this helper instead of its inline solana/bitcoin/tron checks
336
+ (behavior-preserving — the web suite passes unchanged).
337
+
338
+ `@funkit/connect-rn`'s supported-tokens list previously showed every curated
339
+ chain regardless of whether its deposit address existed. `useTokenTransfer` now
340
+ surfaces `transferInit`, and `useSupportedTokens({ transferInit })` filters both
341
+ the token rows and the chain-filter chips through the shared helper — so RN
342
+ hides Solana/Bitcoin/Tron until their address is minted, matching web.
343
+
344
+ - 7926a68: Fix customer-gated Statsig configs always resolving to their default in React
345
+ Native. `FunkitStatsigProvider` initialized the client with an empty user `{}`,
346
+ so configs gated on the customer (e.g. `enableswappeddeposit`) never matched and
347
+ fell back to `false` for every apiKey. The provider now builds the Statsig user
348
+ with `{ userID, customIDs: { apiKey } }` from the resolved identity — mirroring
349
+ web's `useTrack.updateUserAsync` — so customer-scoped configs evaluate correctly
350
+ (this is what lets the Swapped cash methods appear for keys that have them on).
351
+ - abc0c49: Make the transfer screen's network selector open the Supported tokens screen. The chain-cluster + label + a new ⓘ info affordance is now its own tap target (`onShowSupportedTokens`), separate from "Change" (`onChangeNetwork`) — matching the Figma. The managed flow wires it to navigate to the supported-tokens screen (previously only reachable from the QR screen's "supported chains" link).
352
+ - 72b959f: Fix supported-tokens icons not matching the web SDK. The deposit-token list now
353
+ resolves each icon exactly like web's token-transfer screen
354
+ (`getTokenIconUrl` → `getLocalTokenIconUrl` in
355
+ `packages/connect/src/components/Dropdown/TokenDropdown.tsx`): **purely by
356
+ symbol** — `ASSET_LOGO_SRCS[symbol]` (a map duplicated from `@funkit/fun-relay`,
357
+ which has no RN-safe subpath export), falling back to
358
+ `https://sdk-cdn.fun.xyz/images/<symbol>.svg`.
359
+
360
+ Previously the row used the `/assets/supported` API metadata `logo` first (the
361
+ wallet-holdings resolver, `asset.logo || getAssetLogoSrc`), so tokens whose API
362
+ `logo` is a third-party URL rendered a different icon than web — e.g. TRUMP
363
+ showed an Arweave URL in RN but `trump.png` on web. The API `logo` is no longer
364
+ consulted on this screen, and the dead `logo` plumbing (`SupportedToken.logo`)
365
+ is removed.
366
+
367
+ `FunIcon` also gains a `fallbackUri` prop; the token row passes the dollar-circle
368
+ (`FALLBACK_ASSET_LOGO`) so a dead CDN URL degrades to the same icon web shows
369
+ via `AsyncImage`'s `fallbackSrc`, instead of a blank placeholder.
370
+
371
+ - 611deff: `TransferCryptoScreen`: add an in-screen "copied" confirmation. Pressing copy now shows a transient confirmation (the label flips to "Copied!" and the icon to a check) for `copiedFeedbackMs` (default 1800ms) while still invoking `onCopyAddress` for the host's clipboard write.
372
+ - Updated dependencies [4428292]
373
+ - Updated dependencies [383c4b7]
374
+ - @funkit/connect-core@0.4.0-next.0
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export * from '@funkit/connect-core';
1
+ export type { CheckoutTokenTransferConfig, SwappedSellOrderData, WithdrawalClient, WithdrawalTransaction, } from '@funkit/connect-core';
2
2
  export { darkTokens, fontFamilyForWeight, lightTokens, } from './src/theme/tokens';
3
3
  export type { FunkitColorTokens, FunkitFontTokens, FunkitFontWeight, FunkitTokens, } from './src/theme/tokens';
4
4
  export { defaultDarkTheme, defaultLightTheme, toRestyleTheme, } from './src/theme/toRestyleTheme';
@@ -17,8 +17,10 @@ export { FunkitProvider } from './src/providers/FunkitProvider';
17
17
  export type { FunkitProviderProps } from './src/providers/FunkitProvider';
18
18
  export type { FunkitConfig } from './src/identity/IdentityContext';
19
19
  export { useFunkitCheckout } from './src/providers/useFunkitCheckout';
20
+ export type { FunkitCheckoutCallbacks } from './src/providers/useFunkitCheckout';
20
21
  export type { DepositFlowCallbacks, DepositFlowConfig, DynamicTargetAssetCandidate, } from './src/flow/depositFlowConfig';
21
- export type { PaymentMethodOption, ReceiveTokenOption, } from './src/screens/AddMoneyScreen';
22
+ export type { WithdrawalFlowCallbacks, WithdrawalFlowConfig, WithdrawalToken, } from './src/flow/withdrawalFlowConfig';
23
+ export type { PaymentMethodOption, ReceiveTokenOption, } from './src/screens/SelectMethodScreen';
22
24
  export type { ChainOption } from './src/flow/depositFlowConfig';
23
25
  export type { SupportedToken, TokenChainFilter, } from './src/transfer/supportedTokens';
24
26
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAcA,cAAc,sBAAsB,CAAA;AAKpC,OAAO,EACL,UAAU,EACV,mBAAmB,EACnB,WAAW,GACZ,MAAM,oBAAoB,CAAA;AAC3B,YAAY,EACV,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,YAAY,GACb,MAAM,oBAAoB,CAAA;AAG3B,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,cAAc,GACf,MAAM,4BAA4B,CAAA;AACnC,YAAY,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAG7D,OAAO,EACL,oBAAoB,EACpB,kBAAkB,EAClB,cAAc,GACf,MAAM,4BAA4B,CAAA;AACnC,YAAY,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAGhF,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAC3D,YAAY,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAGhE,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAC/C,YAAY,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAKpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAA;AAClE,YAAY,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AAG5E,OAAO,EACL,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,iCAAiC,CAAA;AACxC,YAAY,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAA;AAG/E,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAC/D,YAAY,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAA;AAIzE,YAAY,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAA;AAIlE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAA;AACrE,YAAY,EACV,oBAAoB,EACpB,iBAAiB,EACjB,2BAA2B,GAC5B,MAAM,8BAA8B,CAAA;AAGrC,YAAY,EACV,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,8BAA8B,CAAA;AACrC,YAAY,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA;AAC/D,YAAY,EACV,cAAc,EACd,gBAAgB,GACjB,MAAM,gCAAgC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAkBA,YAAY,EACV,2BAA2B,EAC3B,oBAAoB,EACpB,gBAAgB,EAChB,qBAAqB,GACtB,MAAM,sBAAsB,CAAA;AAK7B,OAAO,EACL,UAAU,EACV,mBAAmB,EACnB,WAAW,GACZ,MAAM,oBAAoB,CAAA;AAC3B,YAAY,EACV,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,YAAY,GACb,MAAM,oBAAoB,CAAA;AAG3B,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,cAAc,GACf,MAAM,4BAA4B,CAAA;AACnC,YAAY,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAG7D,OAAO,EACL,oBAAoB,EACpB,kBAAkB,EAClB,cAAc,GACf,MAAM,4BAA4B,CAAA;AACnC,YAAY,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAGhF,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAC3D,YAAY,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAGhE,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAC/C,YAAY,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAKpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAA;AAClE,YAAY,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AAG5E,OAAO,EACL,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,iCAAiC,CAAA;AACxC,YAAY,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAA;AAG/E,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAC/D,YAAY,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAA;AAIzE,YAAY,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAA;AAKlE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAA;AACrE,YAAY,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAA;AAChF,YAAY,EACV,oBAAoB,EACpB,iBAAiB,EACjB,2BAA2B,GAC5B,MAAM,8BAA8B,CAAA;AAGrC,YAAY,EACV,uBAAuB,EACvB,oBAAoB,EACpB,eAAe,GAChB,MAAM,iCAAiC,CAAA;AAGxC,YAAY,EACV,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,kCAAkC,CAAA;AACzC,YAAY,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA;AAC/D,YAAY,EACV,cAAc,EACd,gBAAgB,GACjB,MAAM,gCAAgC,CAAA"}