@funkit/connect-rn 3.11.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/chunk-4QKU6F5D.js +0 -1590
- package/dist/chunk-4QKU6F5D.js.map +0 -7
- package/dist/chunk-5IWD2I7N.js +0 -94
- package/dist/chunk-5IWD2I7N.js.map +0 -7
- package/dist/chunk-75TJE4HO.js +0 -1656
- package/dist/chunk-75TJE4HO.js.map +0 -7
- package/dist/chunk-EL2UG6WN.js +0 -1690
- package/dist/chunk-EL2UG6WN.js.map +0 -7
- package/dist/chunk-FTD4HETU.js +0 -94
- package/dist/chunk-FTD4HETU.js.map +0 -7
- package/dist/chunk-KQEQB6MZ.js +0 -94
- package/dist/chunk-KQEQB6MZ.js.map +0 -7
- package/dist/chunk-L26YKVZ7.js +0 -94
- package/dist/chunk-L26YKVZ7.js.map +0 -7
- package/dist/chunk-LIOQVZV4.js +0 -1753
- package/dist/chunk-LIOQVZV4.js.map +0 -7
- package/dist/chunk-LKILQNGD.js +0 -1655
- package/dist/chunk-LKILQNGD.js.map +0 -7
- package/dist/chunk-LPJDURB5.js +0 -1675
- package/dist/chunk-LPJDURB5.js.map +0 -7
- package/dist/chunk-MJ4QBNTD.js +0 -94
- package/dist/chunk-MJ4QBNTD.js.map +0 -7
- package/dist/chunk-NNEV7EFP.js +0 -94
- package/dist/chunk-NNEV7EFP.js.map +0 -7
- package/dist/chunk-NYW4N5SQ.js +0 -1328
- package/dist/chunk-NYW4N5SQ.js.map +0 -7
- package/dist/chunk-OIXZMXFJ.js +0 -1681
- package/dist/chunk-OIXZMXFJ.js.map +0 -7
- package/dist/chunk-OQVPCP4W.js +0 -94
- package/dist/chunk-OQVPCP4W.js.map +0 -7
- package/dist/chunk-PHUM52HD.js +0 -1542
- package/dist/chunk-PHUM52HD.js.map +0 -7
- package/dist/chunk-Q5OFOALX.js +0 -94
- package/dist/chunk-Q5OFOALX.js.map +0 -7
- package/dist/chunk-QNAMNQZX.js +0 -1660
- package/dist/chunk-QNAMNQZX.js.map +0 -7
- package/dist/chunk-RTQ4MJHE.js +0 -1209
- package/dist/chunk-RTQ4MJHE.js.map +0 -7
- package/dist/chunk-THWTURYZ.js +0 -94
- package/dist/chunk-THWTURYZ.js.map +0 -7
- package/dist/chunk-V23HUIDS.js +0 -1744
- package/dist/chunk-V23HUIDS.js.map +0 -7
- package/dist/chunk-VE6N6BHJ.js +0 -94
- package/dist/chunk-VE6N6BHJ.js.map +0 -7
- package/dist/chunk-VL4WQDU7.js +0 -1654
- package/dist/chunk-VL4WQDU7.js.map +0 -7
- package/dist/chunk-X2X2GENE.js +0 -94
- package/dist/chunk-X2X2GENE.js.map +0 -7
- package/dist/src/components/AccountBalanceChip.d.ts +0 -19
- package/dist/src/components/AccountBalanceChip.d.ts.map +0 -1
- package/dist/src/components/AmountChipsRow.d.ts +0 -17
- package/dist/src/components/AmountChipsRow.d.ts.map +0 -1
- package/dist/src/components/AmountInput.d.ts +0 -40
- package/dist/src/components/AmountInput.d.ts.map +0 -1
- package/dist/src/components/RollingAmount.d.ts +0 -20
- package/dist/src/components/RollingAmount.d.ts.map +0 -1
- package/dist/src/components/SegmentedControl.d.ts +0 -12
- package/dist/src/components/SegmentedControl.d.ts.map +0 -1
- package/dist/src/components/WithdrawFeeSummary.d.ts +0 -23
- package/dist/src/components/WithdrawFeeSummary.d.ts.map +0 -1
- package/dist/src/components/v2/RollingAmount.d.ts +0 -20
- package/dist/src/components/v2/RollingAmount.d.ts.map +0 -1
- package/dist/src/flow/BackdropBlurContext.d.ts +0 -9
- package/dist/src/flow/BackdropBlurContext.d.ts.map +0 -1
- package/dist/src/logging/consoleLogTransport.d.ts +0 -10
- package/dist/src/logging/consoleLogTransport.d.ts.map +0 -1
- package/dist/src/screens/AddMoneyScreen.d.ts +0 -86
- package/dist/src/screens/AddMoneyScreen.d.ts.map +0 -1
- package/dist/src/screens/AvailableChainsScreen.d.ts +0 -32
- package/dist/src/screens/AvailableChainsScreen.d.ts.map +0 -1
- package/dist/src/screens/NetworkSelector.d.ts +0 -31
- package/dist/src/screens/NetworkSelector.d.ts.map +0 -1
- package/dist/src/screens/SelectDestinationScreen.d.ts +0 -19
- package/dist/src/screens/SelectDestinationScreen.d.ts.map +0 -1
- package/dist/src/screens/WithdrawCryptoCta.d.ts +0 -20
- package/dist/src/screens/WithdrawCryptoCta.d.ts.map +0 -1
- package/dist/src/screens/WithdrawCryptoForm.d.ts +0 -28
- package/dist/src/screens/WithdrawCryptoForm.d.ts.map +0 -1
- package/dist/src/screens/WithdrawCryptoScreen.d.ts +0 -17
- package/dist/src/screens/WithdrawCryptoScreen.d.ts.map +0 -1
- package/dist/src/statsig/StatsigProviderRN.d.ts +0 -7
- package/dist/src/statsig/StatsigProviderRN.d.ts.map +0 -1
- package/dist/src/statsig/useClientBootstrapInitRN.d.ts +0 -4
- package/dist/src/statsig/useClientBootstrapInitRN.d.ts.map +0 -1
- package/dist/src/utils/v2/numberFormat.d.ts +0 -36
- package/dist/src/utils/v2/numberFormat.d.ts.map +0 -1
- package/dist/src/withdrawal/publicClient.d.ts +0 -10
- package/dist/src/withdrawal/publicClient.d.ts.map +0 -1
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface Segment<T extends string> {
|
|
2
|
-
value: T;
|
|
3
|
-
label: string;
|
|
4
|
-
}
|
|
5
|
-
export interface SegmentedControlProps<T extends string> {
|
|
6
|
-
segments: Segment<T>[];
|
|
7
|
-
value: T;
|
|
8
|
-
onChange: (value: T) => void;
|
|
9
|
-
}
|
|
10
|
-
/** The pill tab switcher (Figma `selector-v2`): a track with one raised segment. */
|
|
11
|
-
export declare function SegmentedControl<T extends string>({ segments, value, onChange, }: SegmentedControlProps<T>): import("react").JSX.Element;
|
|
12
|
-
//# sourceMappingURL=SegmentedControl.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentedControl.d.ts","sourceRoot":"","sources":["../../../src/components/SegmentedControl.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,OAAO,CAAC,CAAC,SAAS,MAAM;IACvC,KAAK,EAAE,CAAC,CAAA;IACR,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,qBAAqB,CAAC,CAAC,SAAS,MAAM;IACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,CAAA;IACtB,KAAK,EAAE,CAAC,CAAA;IACR,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAA;CAC7B;AAED,oFAAoF;AACpF,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,MAAM,EAAE,EACjD,QAAQ,EACR,KAAK,EACL,QAAQ,GACT,EAAE,qBAAqB,CAAC,CAAC,CAAC,+BA0D1B"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { FeeBreakdownV2 } from '@funkit/api-base';
|
|
2
|
-
export interface WithdrawFeeSummaryProps {
|
|
3
|
-
/** Absent until a quote arrives — which is not the same as costing nothing. */
|
|
4
|
-
fees: FeeBreakdownV2 | undefined;
|
|
5
|
-
/** Destination-token amount the recipient receives. */
|
|
6
|
-
receiveAmount: string | undefined;
|
|
7
|
-
destinationSymbol: string;
|
|
8
|
-
isLoading?: boolean;
|
|
9
|
-
/** Quote failed — the rows would all read zero, so say so instead. */
|
|
10
|
-
errorText?: string;
|
|
11
|
-
/**
|
|
12
|
-
* A host fee billed as source-chain gas, in USD — web's
|
|
13
|
-
* `extraSourceChainGasUsd`. Lands in the network row, so the summary keeps
|
|
14
|
-
* the same four rows whoever charges what. 0 when nobody charges one.
|
|
15
|
-
*/
|
|
16
|
-
extraSourceGasUsd: number;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* What the withdrawal costs, mirroring web's `PaymentFeesSummary` rows: what
|
|
20
|
-
* arrives, network cost, price impact, and the slippage floor.
|
|
21
|
-
*/
|
|
22
|
-
export declare function WithdrawFeeSummary({ fees, receiveAmount, destinationSymbol, isLoading, errorText, extraSourceGasUsd, }: WithdrawFeeSummaryProps): import("react").JSX.Element;
|
|
23
|
-
//# sourceMappingURL=WithdrawFeeSummary.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WithdrawFeeSummary.d.ts","sourceRoot":"","sources":["../../../src/components/WithdrawFeeSummary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAMtD,MAAM,WAAW,uBAAuB;IACtC,+EAA+E;IAC/E,IAAI,EAAE,cAAc,GAAG,SAAS,CAAA;IAChC,uDAAuD;IACvD,aAAa,EAAE,MAAM,GAAG,SAAS,CAAA;IACjC,iBAAiB,EAAE,MAAM,CAAA;IACzB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,sEAAsE;IACtE,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAA;CAC1B;AAQD;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,IAAI,EACJ,aAAa,EACb,iBAAiB,EACjB,SAAS,EACT,SAAS,EACT,iBAAiB,GAClB,EAAE,uBAAuB,+BAiEzB"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { type TextStyle } from 'react-native';
|
|
2
|
-
export interface RollingAmountProps {
|
|
3
|
-
/** The formatted amount, prefix included (e.g. `$4,999.99`). */
|
|
4
|
-
value: string;
|
|
5
|
-
/** Must carry a concrete `color` — the blur-in shadow matches it. */
|
|
6
|
-
style: TextStyle & {
|
|
7
|
-
color: string;
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* A derived amount (the fee) whose digits pop in as they change: a changed
|
|
12
|
-
* digit remounts through the pop-in above, unchanged ones hold still, and
|
|
13
|
-
* length changes slide the rest over.
|
|
14
|
-
*
|
|
15
|
-
* Keys carry the character as well as the position — the input only ever
|
|
16
|
-
* appends and deletes at its right end, but a recomputed amount changes digits
|
|
17
|
-
* in place, and only a changed key remounts (which is what animates).
|
|
18
|
-
*/
|
|
19
|
-
export declare function RollingAmount({ value, style }: RollingAmountProps): import("react").JSX.Element;
|
|
20
|
-
//# sourceMappingURL=RollingAmount.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RollingAmount.d.ts","sourceRoot":"","sources":["../../../../src/components/v2/RollingAmount.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAiCzD,MAAM,WAAW,kBAAkB;IACjC,gEAAgE;IAChE,KAAK,EAAE,MAAM,CAAA;IACb,qEAAqE;IACrE,KAAK,EAAE,SAAS,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;CACrC;AAED;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,kBAAkB,+BAsCjE"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type ReactNode } from 'react';
|
|
2
|
-
import type { BackdropBlurRenderer } from './FlowSheet';
|
|
3
|
-
export declare function BackdropBlurProvider({ renderBackdropBlur, children, }: {
|
|
4
|
-
renderBackdropBlur?: BackdropBlurRenderer;
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
}): import("react").JSX.Element;
|
|
7
|
-
/** The host's blur renderer, or `undefined` when it supplied none. */
|
|
8
|
-
export declare function useBackdropBlur(): BackdropBlurRenderer | undefined;
|
|
9
|
-
//# sourceMappingURL=BackdropBlurContext.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BackdropBlurContext.d.ts","sourceRoot":"","sources":["../../../src/flow/BackdropBlurContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAA6B,MAAM,OAAO,CAAA;AAEjE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAYvD,wBAAgB,oBAAoB,CAAC,EACnC,kBAAkB,EAClB,QAAQ,GACT,EAAE;IACD,kBAAkB,CAAC,EAAE,oBAAoB,CAAA;IACzC,QAAQ,EAAE,SAAS,CAAA;CACpB,+BAMA;AAED,sEAAsE;AACtE,wBAAgB,eAAe,IAAI,oBAAoB,GAAG,SAAS,CAElE"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { LogRecord, LogTransport } from '@funkit/connect-core';
|
|
2
|
-
/**
|
|
3
|
-
* Minimal `LogTransport` that writes to `console`. Useful as a development
|
|
4
|
-
* sink (visible in Metro / Flipper) where shipping to Datadog isn't wanted.
|
|
5
|
-
* No-op-free and dependency-free.
|
|
6
|
-
*/
|
|
7
|
-
export declare class ConsoleLogTransport implements LogTransport {
|
|
8
|
-
log({ level, title, context, error }: LogRecord): void;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=consoleLogTransport.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"consoleLogTransport.d.ts","sourceRoot":"","sources":["../../../src/logging/consoleLogTransport.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAEnE;;;;GAIG;AACH,qBAAa,mBAAoB,YAAW,YAAY;IACtD,GAAG,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,SAAS,GAAG,IAAI;CAgBvD"}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { type ReactNode } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* One selectable funding source in {@link AddMoneyScreen}. Brand icons are
|
|
4
|
-
* host-supplied (`icon` / `trailing`) so the package stays asset- and
|
|
5
|
-
* `react-native-svg`-free; the screen renders a themed circular slot for each.
|
|
6
|
-
*/
|
|
7
|
-
export interface PaymentMethodOption {
|
|
8
|
-
/** Stable id passed back to `onSelectMethod`. */
|
|
9
|
-
id: string;
|
|
10
|
-
title: string;
|
|
11
|
-
/** Secondary line: balance, limit, timing, etc. */
|
|
12
|
-
subtitle?: string;
|
|
13
|
-
/** Leading icon, centered in the themed circle. */
|
|
14
|
-
icon?: ReactNode;
|
|
15
|
-
/** Trailing accessory, e.g. a token cluster for the Crypto row. */
|
|
16
|
-
trailing?: ReactNode;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* One option in the "Deposit to" receive-token dropdown (Figma: Fun Mobile /
|
|
20
|
-
* Add money). Mirrors web's `ReceiveTokenDropdown` items. The icon is supplied
|
|
21
|
-
* by the flow (keeping this screen asset-free) and `label` is the composed
|
|
22
|
-
* destination text, e.g. `"USDG (Perps)"`.
|
|
23
|
-
*/
|
|
24
|
-
export interface ReceiveTokenOption {
|
|
25
|
-
id: string;
|
|
26
|
-
label: string;
|
|
27
|
-
icon?: ReactNode;
|
|
28
|
-
}
|
|
29
|
-
export interface AddMoneyScreenProps {
|
|
30
|
-
methods: PaymentMethodOption[];
|
|
31
|
-
onSelectMethod: (id: string) => void;
|
|
32
|
-
title?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Receive-token candidates shown in the "Deposit to" dropdown above the
|
|
35
|
-
* payment methods (web: `ReceiveTokenDropdown`). When set, the screen shows
|
|
36
|
-
* the dropdown + a "Pay with" section label. Omit to render just the
|
|
37
|
-
* methods list (back-compat with hosts that don't pass candidates).
|
|
38
|
-
*/
|
|
39
|
-
receiveTokens?: ReceiveTokenOption[];
|
|
40
|
-
selectedReceiveTokenId?: string;
|
|
41
|
-
onSelectReceiveToken?: (id: string) => void;
|
|
42
|
-
depositToLabel?: string;
|
|
43
|
-
payWithLabel?: string;
|
|
44
|
-
/**
|
|
45
|
-
* Show the loading skeleton instead of the method list (Figma: Fun Mobile /
|
|
46
|
-
* Add money, loading). Set while the funding sources are still being fetched
|
|
47
|
-
* (e.g. the Swapped cash methods) so the list doesn't pop in row-by-row.
|
|
48
|
-
*/
|
|
49
|
-
loading?: boolean;
|
|
50
|
-
/**
|
|
51
|
-
* Number of skeleton rows rendered while `loading`. Defaults to 5 when the
|
|
52
|
-
* deposit selector shows, 6 otherwise (it reclaims the selector's room).
|
|
53
|
-
*/
|
|
54
|
-
skeletonCount?: number;
|
|
55
|
-
/**
|
|
56
|
-
* Show the error state instead of the list (Figma: Fun Mobile / Add money,
|
|
57
|
-
* error) — a "Something went wrong" message + a "Try again" button. Takes
|
|
58
|
-
* precedence over `loading`. Set when fetching the funding sources failed.
|
|
59
|
-
*/
|
|
60
|
-
error?: boolean;
|
|
61
|
-
/** "Try again" handler shown with the error state. */
|
|
62
|
-
onRetry?: () => void;
|
|
63
|
-
errorTitle?: string;
|
|
64
|
-
errorMessage?: string;
|
|
65
|
-
retryLabel?: string;
|
|
66
|
-
/**
|
|
67
|
-
* Open the "Deposit to" dropdown on mount. For previews/tests of the expanded
|
|
68
|
-
* state (Figma node 11200:8055); hosts leave this `false` and let the user
|
|
69
|
-
* tap the trigger.
|
|
70
|
-
*/
|
|
71
|
-
initialDropdownOpen?: boolean;
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* The "Add money" funding-source picker (Figma: Fun Mobile / Add money). A
|
|
75
|
-
* bottom-sheet-style surface — grabber + centered title + a scrollable list of
|
|
76
|
-
* payment methods — built from the connect-rn Restyle theme so it tracks the
|
|
77
|
-
* active light/dark scheme. Selecting a method (e.g. Crypto) routes the host to
|
|
78
|
-
* the next screen (Transfer/UDA).
|
|
79
|
-
*
|
|
80
|
-
* When `receiveTokens` are given, a fixed "Deposit to" selector sits above the
|
|
81
|
-
* scrollable list. Opening it floats the option list as an overlay (it does
|
|
82
|
-
* NOT reflow the list) over a dimming scrim — matching web's
|
|
83
|
-
* `ReceiveTokenDropdown`.
|
|
84
|
-
*/
|
|
85
|
-
export declare function AddMoneyScreen({ methods, onSelectMethod, title, loading, skeletonCount, error, onRetry, errorTitle, errorMessage, retryLabel, receiveTokens, selectedReceiveTokenId, onSelectReceiveToken, depositToLabel, payWithLabel, initialDropdownOpen, }: AddMoneyScreenProps): import("react").JSX.Element;
|
|
86
|
-
//# sourceMappingURL=AddMoneyScreen.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AddMoneyScreen.d.ts","sourceRoot":"","sources":["../../../src/screens/AddMoneyScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAA+B,MAAM,OAAO,CAAA;AAyEnE;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC,iDAAiD;IACjD,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,mDAAmD;IACnD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,mDAAmD;IACnD,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,mEAAmE;IACnE,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB;AAED;;;;;GAKG;AACH,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,SAAS,CAAA;CACjB;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,mBAAmB,EAAE,CAAA;IAC9B,cAAc,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IACpC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;;OAKG;IACH,aAAa,CAAC,EAAE,kBAAkB,EAAE,CAAA;IACpC,sBAAsB,CAAC,EAAE,MAAM,CAAA;IAC/B,oBAAoB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IAC3C,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,sDAAsD;IACtD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAA;CAC9B;AAOD;;;;;;;;;;;GAWG;AACH,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,cAAc,EACd,KAAmB,EACnB,OAAe,EACf,aAAa,EACb,KAAa,EACb,OAAO,EACP,UAAgC,EAChC,YAAoC,EACpC,UAAgC,EAChC,aAAa,EACb,sBAAsB,EACtB,oBAAoB,EACpB,cAA6B,EAC7B,YAAyB,EACzB,mBAA2B,GAC5B,EAAE,mBAAmB,+BAiIrB"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* One chain row in {@link AvailableChainsScreen} — a member chain of the
|
|
3
|
-
* selected deposit network (e.g. Ethereum within the EVM group). The SDK
|
|
4
|
-
* derives these from the curated `tokentransferconfig` + `@funkit/chains`
|
|
5
|
-
* metadata + the `mintokentransfervalue` config (see `buildAvailableChains`).
|
|
6
|
-
*/
|
|
7
|
-
export interface AvailableChain {
|
|
8
|
-
id: string;
|
|
9
|
-
/** Display name, e.g. `Ethereum`, `Binance Smart Chain`. */
|
|
10
|
-
name: string;
|
|
11
|
-
/** Full CDN logo URL for the 36px chain icon. */
|
|
12
|
-
iconUri: string;
|
|
13
|
-
/** Minimum-deposit label shown on the trailing side, e.g. `Min $10`. */
|
|
14
|
-
minLabel?: string;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* The "Available {network} Chains" screen — reached by tapping the chain-logo
|
|
18
|
-
* cluster on the Transfer screen. An X-close + centered title bar, then a
|
|
19
|
-
* read-only list of the
|
|
20
|
-
* network's member chains with their minimum-deposit amounts. Presentational:
|
|
21
|
-
* the host supplies the chain rows.
|
|
22
|
-
*/
|
|
23
|
-
export interface AvailableChainsScreenProps {
|
|
24
|
-
/** Network whose chains are listed; the title reads `Available {networkLabel}`. */
|
|
25
|
-
networkLabel: string;
|
|
26
|
-
chains: AvailableChain[];
|
|
27
|
-
loading?: boolean;
|
|
28
|
-
skeletonCount?: number;
|
|
29
|
-
onClose?: () => void;
|
|
30
|
-
}
|
|
31
|
-
export declare function AvailableChainsScreen(props: AvailableChainsScreenProps): import("react").JSX.Element;
|
|
32
|
-
//# sourceMappingURL=AvailableChainsScreen.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AvailableChainsScreen.d.ts","sourceRoot":"","sources":["../../../src/screens/AvailableChainsScreen.tsx"],"names":[],"mappings":"AAyBA;;;;;GAKG;AACH,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,4DAA4D;IAC5D,IAAI,EAAE,MAAM,CAAA;IACZ,iDAAiD;IACjD,OAAO,EAAE,MAAM,CAAA;IACf,wEAAwE;IACxE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,0BAA0B;IACzC,mFAAmF;IACnF,YAAY,EAAE,MAAM,CAAA;IACpB,MAAM,EAAE,cAAc,EAAE,CAAA;IACxB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,0BAA0B,+BA0JtE"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* One network in {@link NetworkSelector}. The leading glyph is built from chain
|
|
3
|
-
* logos (asset-free): a single entry renders one logo, several render a 2×2
|
|
4
|
-
* cluster (e.g. the EVM group).
|
|
5
|
-
*/
|
|
6
|
-
export interface NetworkOption {
|
|
7
|
-
/** Stable id passed back to `onSelect` (e.g. the deposit-chain id). */
|
|
8
|
-
id: string;
|
|
9
|
-
/** Label shown when this network is selected, e.g. `"EVM Chains"`. */
|
|
10
|
-
label: string;
|
|
11
|
-
/**
|
|
12
|
-
* Chain logos — either CDN chain **keys** (e.g. `['ethereum']`) or full image
|
|
13
|
-
* **URLs** (`@funkit/chains` `iconUrl`s). One → single logo, several → a 2×2
|
|
14
|
-
* cluster.
|
|
15
|
-
*/
|
|
16
|
-
iconKeys: string[];
|
|
17
|
-
}
|
|
18
|
-
export interface NetworkSelectorProps {
|
|
19
|
-
networks: NetworkOption[];
|
|
20
|
-
selectedId: string;
|
|
21
|
-
onSelect: (id: string) => void;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* The Transfer Crypto network switcher (Figma: Fun Mobile / Transfer Crypto
|
|
25
|
-
* `selector-v2`). A pill-shaped segmented control: the selected network expands
|
|
26
|
-
* to a white pill with its glyph + label, the rest collapse to icon-only
|
|
27
|
-
* buttons. Built from the connect-rn Restyle theme; chain glyphs resolve from
|
|
28
|
-
* the CDN so the package stays asset-free.
|
|
29
|
-
*/
|
|
30
|
-
export declare function NetworkSelector({ networks, selectedId, onSelect, }: NetworkSelectorProps): import("react").JSX.Element;
|
|
31
|
-
//# sourceMappingURL=NetworkSelector.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NetworkSelector.d.ts","sourceRoot":"","sources":["../../../src/screens/NetworkSelector.tsx"],"names":[],"mappings":"AAeA;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B,uEAAuE;IACvE,EAAE,EAAE,MAAM,CAAA;IACV,sEAAsE;IACtE,KAAK,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,QAAQ,EAAE,MAAM,EAAE,CAAA;CACnB;AAOD,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,aAAa,EAAE,CAAA;IACzB,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CAC/B;AAED;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EACR,UAAU,EACV,QAAQ,GACT,EAAE,oBAAoB,+BA+EtB"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { DestinationChain } from '../withdrawal/useWithdrawalDestinationTokens';
|
|
2
|
-
export interface SelectDestinationScreenProps {
|
|
3
|
-
chains: DestinationChain[];
|
|
4
|
-
/** Chain logo URL by chain id, supplied by the flow to keep this asset-free. */
|
|
5
|
-
chainIconUri: (chainId: number) => string;
|
|
6
|
-
chainName: (chainId: number) => string;
|
|
7
|
-
selectedChainId?: string;
|
|
8
|
-
selectedSymbol?: string;
|
|
9
|
-
onSelect: (chainId: number, symbol: string) => void;
|
|
10
|
-
onBack: () => void;
|
|
11
|
-
loading?: boolean;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Pick what the withdrawal is received as. Grouped by chain, because the same
|
|
15
|
-
* symbol on two chains is two different destinations and the pair is what the
|
|
16
|
-
* quote is priced against.
|
|
17
|
-
*/
|
|
18
|
-
export declare function SelectDestinationScreen({ chains, chainIconUri, chainName, selectedChainId, selectedSymbol, onSelect, onBack, loading, }: SelectDestinationScreenProps): import("react").JSX.Element;
|
|
19
|
-
//# sourceMappingURL=SelectDestinationScreen.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SelectDestinationScreen.d.ts","sourceRoot":"","sources":["../../../src/screens/SelectDestinationScreen.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAA;AAEpF,MAAM,WAAW,4BAA4B;IAC3C,MAAM,EAAE,gBAAgB,EAAE,CAAA;IAC1B,gFAAgF;IAChF,YAAY,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,MAAM,CAAA;IACzC,SAAS,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,MAAM,CAAA;IACtC,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IACnD,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,MAAM,EACN,YAAY,EACZ,SAAS,EACT,eAAe,EACf,cAAc,EACd,QAAQ,EACR,MAAM,EACN,OAAO,GACR,EAAE,4BAA4B,+BA+H9B"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { WithdrawCtaBlocker } from '../withdrawal/validation';
|
|
2
|
-
export interface WithdrawCryptoCtaProps {
|
|
3
|
-
/** What the user has left to fix, or `undefined` when the form is complete. */
|
|
4
|
-
blocker: WithdrawCtaBlocker | undefined;
|
|
5
|
-
/**
|
|
6
|
-
* Whether the form may submit, decided by the caller — a complete form is not
|
|
7
|
-
* a submittable one, and the async verdicts that settle it (risk screening, a
|
|
8
|
-
* priced quote) are the caller's to hold.
|
|
9
|
-
*/
|
|
10
|
-
canSubmit: boolean;
|
|
11
|
-
/** A quote or screening is in flight; the form is valid but not yet priced. */
|
|
12
|
-
isLoading: boolean;
|
|
13
|
-
onPress: () => void;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* The form's submit button. It doubles as the validation summary: the label
|
|
17
|
-
* names the single thing left to fix, so the form needs no inline error list.
|
|
18
|
-
*/
|
|
19
|
-
export declare function WithdrawCryptoCta({ blocker, canSubmit, isLoading, onPress, }: WithdrawCryptoCtaProps): import("react").JSX.Element;
|
|
20
|
-
//# sourceMappingURL=WithdrawCryptoCta.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WithdrawCryptoCta.d.ts","sourceRoot":"","sources":["../../../src/screens/WithdrawCryptoCta.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAA;AAElE,MAAM,WAAW,sBAAsB;IACrC,+EAA+E;IAC/E,OAAO,EAAE,kBAAkB,GAAG,SAAS,CAAA;IACvC;;;;OAIG;IACH,SAAS,EAAE,OAAO,CAAA;IAClB,+EAA+E;IAC/E,SAAS,EAAE,OAAO,CAAA;IAClB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,OAAO,EACP,SAAS,EACT,SAAS,EACT,OAAO,GACR,EAAE,sBAAsB,+BAoCxB"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import type { WithdrawalFlowCallbacks, WithdrawalFlowConfig } from '../flow/withdrawalFlowConfig';
|
|
2
|
-
/**
|
|
3
|
-
* The send-to-address form: what the user has typed, and the host config it is
|
|
4
|
-
* read against. The destination picker and the fee summary land in the parts
|
|
5
|
-
* that follow.
|
|
6
|
-
*/
|
|
7
|
-
export declare function WithdrawCryptoForm({ config, callbacks, title, quoteInputFeeTokens, extraSourceGasUsd, onBack, onSubmitted, }: {
|
|
8
|
-
config: WithdrawalFlowConfig;
|
|
9
|
-
callbacks: WithdrawalFlowCallbacks;
|
|
10
|
-
title: string;
|
|
11
|
-
/**
|
|
12
|
-
* A flat fee the venue takes off the withdrawal before it is quoted, in
|
|
13
|
-
* source-token units, or 0. The SDK only knows the number, never who charges
|
|
14
|
-
* it.
|
|
15
|
-
*/
|
|
16
|
-
quoteInputFeeTokens: number;
|
|
17
|
-
/**
|
|
18
|
-
* A venue fee billed as source-chain gas, in USD, for the summary's network
|
|
19
|
-
* row, or 0.
|
|
20
|
-
*/
|
|
21
|
-
extraSourceGasUsd: number;
|
|
22
|
-
onBack: () => void;
|
|
23
|
-
onSubmitted: (result: {
|
|
24
|
-
txHash: string;
|
|
25
|
-
amountLabel: string;
|
|
26
|
-
}) => void;
|
|
27
|
-
}): import("react").JSX.Element;
|
|
28
|
-
//# sourceMappingURL=WithdrawCryptoForm.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WithdrawCryptoForm.d.ts","sourceRoot":"","sources":["../../../src/screens/WithdrawCryptoForm.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EACV,uBAAuB,EACvB,oBAAoB,EACrB,MAAM,8BAA8B,CAAA;AAqCrC;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,MAAM,EACN,SAAS,EACT,KAAK,EACL,mBAAmB,EACnB,iBAAiB,EACjB,MAAM,EACN,WAAW,GACZ,EAAE;IACD,MAAM,EAAE,oBAAoB,CAAA;IAC5B,SAAS,EAAE,uBAAuB,CAAA;IAClC,KAAK,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAA;IAC3B;;;OAGG;IACH,iBAAiB,EAAE,MAAM,CAAA;IACzB,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,WAAW,EAAE,CAAC,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;CACvE,+BA+UA"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
export interface WithdrawCryptoScreenProps {
|
|
3
|
-
title: string;
|
|
4
|
-
backAccessibilityLabel: string;
|
|
5
|
-
onBack: () => void;
|
|
6
|
-
/**
|
|
7
|
-
* The form. Empty for now — the amount and recipient fields, the destination
|
|
8
|
-
* picker and the fee summary are added in the parts that follow, each landing
|
|
9
|
-
* on this screen so it can be exercised as it grows.
|
|
10
|
-
*/
|
|
11
|
-
children?: ReactNode;
|
|
12
|
-
/** Submit button, pinned under the form body. */
|
|
13
|
-
cta?: ReactNode;
|
|
14
|
-
}
|
|
15
|
-
/** The send-to-address withdrawal form: sheet chrome plus the form body. */
|
|
16
|
-
export declare function WithdrawCryptoScreen({ title, backAccessibilityLabel, onBack, children, cta, }: WithdrawCryptoScreenProps): import("react").JSX.Element;
|
|
17
|
-
//# sourceMappingURL=WithdrawCryptoScreen.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WithdrawCryptoScreen.d.ts","sourceRoot":"","sources":["../../../src/screens/WithdrawCryptoScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAOtC,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,MAAM,CAAA;IACb,sBAAsB,EAAE,MAAM,CAAA;IAC9B,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,iDAAiD;IACjD,GAAG,CAAC,EAAE,SAAS,CAAA;CAChB;AAED,4EAA4E;AAC5E,wBAAgB,oBAAoB,CAAC,EACnC,KAAK,EACL,sBAAsB,EACtB,MAAM,EACN,QAAQ,EACR,GAAG,GACJ,EAAE,yBAAyB,+BAkC3B"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { type StatsigProviderProps } from '@statsig/react-bindings';
|
|
2
|
-
import type { ReactElement } from 'react';
|
|
3
|
-
import { StatsigClientRN } from './StatsigClientRN';
|
|
4
|
-
type Props = StatsigProviderProps<StatsigClientRN>;
|
|
5
|
-
export declare function StatsigProviderRN(props: Props): ReactElement | null;
|
|
6
|
-
export {};
|
|
7
|
-
//# sourceMappingURL=StatsigProviderRN.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StatsigProviderRN.d.ts","sourceRoot":"","sources":["../../../src/statsig/StatsigProviderRN.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,oBAAoB,EAE1B,MAAM,yBAAyB,CAAA;AAChC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAGzC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAMnD,KAAK,KAAK,GAAG,oBAAoB,CAAC,eAAe,CAAC,CAAA;AAmClD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,YAAY,GAAG,IAAI,CASnE"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { type StatsigOptions, type StatsigUser } from '@statsig/react-bindings';
|
|
2
|
-
import { StatsigClientRN } from './StatsigClientRN';
|
|
3
|
-
export declare function useClientBootstrapInitRN(sdkKey: string, initialUser: StatsigUser, initialValues: string, statsigOptions?: StatsigOptions | null): StatsigClientRN;
|
|
4
|
-
//# sourceMappingURL=useClientBootstrapInitRN.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useClientBootstrapInitRN.d.ts","sourceRoot":"","sources":["../../../src/statsig/useClientBootstrapInitRN.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,WAAW,EAEjB,MAAM,yBAAyB,CAAA;AAEhC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAKnD,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,WAAW,EACxB,aAAa,EAAE,MAAM,EACrB,cAAc,GAAE,cAAc,GAAG,IAAW,GAC3C,eAAe,CAWjB"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/** How a region writes a number: its separators and its digit glyphs. */
|
|
2
|
-
export interface NumberFormat {
|
|
3
|
-
/** Between thousands (`,` / `.` / narrow space / `'`). */
|
|
4
|
-
group: string;
|
|
5
|
-
/** Between the integer and the fraction (`.` / `,` / `٫`). */
|
|
6
|
-
decimal: string;
|
|
7
|
-
/** The glyph for each of `0`–`9`, in order. */
|
|
8
|
-
digits: readonly string[];
|
|
9
|
-
/** Size of the first group, then of the rest (`[3, 3]`; India `1,23,456` → `[3, 2]`). */
|
|
10
|
-
grouping: readonly [number, number];
|
|
11
|
-
/** Leading-group digits needed before grouping starts (Spanish: `1234`, `12.345` → 2). */
|
|
12
|
-
minGroupingDigits: 1 | 2;
|
|
13
|
-
}
|
|
14
|
-
/** Comma-grouped, dot-decimal, Western digits — what the design draws. */
|
|
15
|
-
export declare const EN_NUMBER_FORMAT: NumberFormat;
|
|
16
|
-
/**
|
|
17
|
-
* The number format of a BCP-47 tag, probed off the platform's own formatter.
|
|
18
|
-
* - Only `format()` is used: Hermes leaves `formatToParts` out on iOS.
|
|
19
|
-
* - No `Intl`, or a rejected tag, falls back to English rather than failing.
|
|
20
|
-
*/
|
|
21
|
-
export declare function resolveNumberFormat(tag: string | undefined): NumberFormat;
|
|
22
|
-
/**
|
|
23
|
-
* `12123.12` → `12 123,12`. The fraction passes through as typed (a trailing
|
|
24
|
-
* decimal mark included) so the display mirrors the entry exactly.
|
|
25
|
-
*/
|
|
26
|
-
export declare function formatAmount(value: string, format: NumberFormat): string;
|
|
27
|
-
/** `0.5` → `$0,50` in a comma-decimal region. Two decimals, as every USD figure. */
|
|
28
|
-
export declare function formatUsd(value: number, format: NumberFormat): string;
|
|
29
|
-
/**
|
|
30
|
-
* A rate as its percentage: `0.005` → `0.5%`. Trailing zeros are dropped, so a
|
|
31
|
-
* whole percent reads `1%` rather than `1.00%`.
|
|
32
|
-
*/
|
|
33
|
-
export declare function formatPercent(rate: number, format: NumberFormat): string;
|
|
34
|
-
/** Western digits swapped for the format's glyphs; every other char kept. */
|
|
35
|
-
export declare function localizeDigits(text: string, format: NumberFormat): string;
|
|
36
|
-
//# sourceMappingURL=numberFormat.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"numberFormat.d.ts","sourceRoot":"","sources":["../../../../src/utils/v2/numberFormat.ts"],"names":[],"mappings":"AAGA,yEAAyE;AACzE,MAAM,WAAW,YAAY;IAC3B,0DAA0D;IAC1D,KAAK,EAAE,MAAM,CAAA;IACb,8DAA8D;IAC9D,OAAO,EAAE,MAAM,CAAA;IACf,+CAA+C;IAC/C,MAAM,EAAE,SAAS,MAAM,EAAE,CAAA;IACzB,yFAAyF;IACzF,QAAQ,EAAE,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACnC,0FAA0F;IAC1F,iBAAiB,EAAE,CAAC,GAAG,CAAC,CAAA;CACzB;AAID,0EAA0E;AAC1E,eAAO,MAAM,gBAAgB,EAAE,YAM9B,CAAA;AAOD;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,YAAY,CAgDzE;AAKD;;;GAGG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,YAAY,GAAG,MAAM,CAQxE;AAmBD,oFAAoF;AACpF,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,YAAY,GAAG,MAAM,CAErE;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,YAAY,GAAG,MAAM,CAMxE;AAKD,6EAA6E;AAC7E,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,YAAY,GAAG,MAAM,CAKzE"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type PublicClient } from 'viem';
|
|
2
|
-
/**
|
|
3
|
-
* Read-only client for a funkit-supported chain, built over the chain's
|
|
4
|
-
* fallback RPC list from @funkit/chains (the chain's default RPC may be
|
|
5
|
-
* private — e.g. the Robinhood chain — so the curated list matters).
|
|
6
|
-
* `undefined` for unsupported chain ids; the caller surfaces that as a
|
|
7
|
-
* mis-routed target.
|
|
8
|
-
*/
|
|
9
|
-
export declare function getPublicClientFor(chainId: number): Pick<PublicClient, 'readContract'> | undefined;
|
|
10
|
-
//# sourceMappingURL=publicClient.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"publicClient.d.ts","sourceRoot":"","sources":["../../../src/withdrawal/publicClient.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,YAAY,EAAsC,MAAM,MAAM,CAAA;AAM5E;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,MAAM,GACd,IAAI,CAAC,YAAY,EAAE,cAAc,CAAC,GAAG,SAAS,CAehD"}
|