@funkit/connect-rn 0.2.0-next.0 → 0.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.
- package/dist/index.d.ts +6 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +515 -2043
- package/dist/index.js.map +4 -4
- package/dist/src/icons/CopyIcon.d.ts +3 -0
- package/dist/src/icons/CopyIcon.d.ts.map +1 -0
- package/dist/src/icons/NetworkIconFallback.d.ts +3 -0
- package/dist/src/icons/NetworkIconFallback.d.ts.map +1 -0
- package/dist/src/icons/QrCodeIcon.d.ts +3 -0
- package/dist/src/icons/QrCodeIcon.d.ts.map +1 -0
- package/dist/src/identity/IdentityContext.d.ts +0 -29
- package/dist/src/identity/IdentityContext.d.ts.map +1 -1
- package/dist/src/logging/datadogHttpLogTransport.d.ts +7 -0
- package/dist/src/logging/datadogHttpLogTransport.d.ts.map +1 -1
- package/dist/src/providers/FunkitProvider.d.ts +6 -27
- package/dist/src/providers/FunkitProvider.d.ts.map +1 -1
- package/dist/src/providers/FunkitStatsigProvider.d.ts +2 -6
- package/dist/src/providers/FunkitStatsigProvider.d.ts.map +1 -1
- package/dist/src/screens/AddMoneyScreen.d.ts.map +1 -1
- package/dist/src/screens/QrCodeScreen.d.ts.map +1 -1
- package/dist/src/screens/TransferCryptoScreen.d.ts +1 -3
- package/dist/src/screens/TransferCryptoScreen.d.ts.map +1 -1
- package/dist/src/statsig/statsigMetadata.d.ts.map +1 -1
- package/dist/src/theme/FunkitThemeProvider.d.ts +1 -13
- package/dist/src/theme/FunkitThemeProvider.d.ts.map +1 -1
- package/dist/src/theme/colorSchemeContext.d.ts +22 -0
- package/dist/src/theme/colorSchemeContext.d.ts.map +1 -0
- package/dist/src/theme/restyle.d.ts +0 -146
- package/dist/src/theme/restyle.d.ts.map +1 -1
- package/dist/src/theme/toRestyleTheme.d.ts.map +1 -1
- package/dist/src/theme/useFunkitTheme.d.ts +10 -4
- package/dist/src/theme/useFunkitTheme.d.ts.map +1 -1
- package/dist/src/transfer/hooks/useTokenTransfer.d.ts +2 -4
- package/dist/src/transfer/hooks/useTokenTransfer.d.ts.map +1 -1
- package/dist/src/transfer/hooks/useTransferInit.d.ts +1 -1
- package/dist/src/transfer/hooks/useTransferInit.d.ts.map +1 -1
- package/dist/src/transfer/hooks/useUDAParams.d.ts +1 -1
- package/dist/src/transfer/hooks/useUDAParams.d.ts.map +1 -1
- package/package.json +3 -11
- package/dist/src/flow/FunkitFlowProvider.d.ts +0 -20
- package/dist/src/flow/FunkitFlowProvider.d.ts.map +0 -1
- package/dist/src/flow/depositFlowConfig.d.ts +0 -70
- package/dist/src/flow/depositFlowConfig.d.ts.map +0 -1
- package/dist/src/geo/useUserIpInfo.d.ts +0 -22
- package/dist/src/geo/useUserIpInfo.d.ts.map +0 -1
- package/dist/src/icons/ChainClusterIcon.d.ts +0 -12
- package/dist/src/icons/ChainClusterIcon.d.ts.map +0 -1
- package/dist/src/icons/FunIcon.d.ts +0 -18
- package/dist/src/icons/FunIcon.d.ts.map +0 -1
- package/dist/src/icons/assetLogos.d.ts +0 -12
- package/dist/src/icons/assetLogos.d.ts.map +0 -1
- package/dist/src/icons/funIconUri.d.ts +0 -16
- package/dist/src/icons/funIconUri.d.ts.map +0 -1
- package/dist/src/providers/index.d.ts +0 -2
- package/dist/src/providers/index.d.ts.map +0 -1
- package/dist/src/providers/useFunkitCheckout.d.ts +0 -14
- package/dist/src/providers/useFunkitCheckout.d.ts.map +0 -1
- package/dist/src/screens/ChooseChainScreen.d.ts +0 -35
- package/dist/src/screens/ChooseChainScreen.d.ts.map +0 -1
- package/dist/src/screens/CryptoCashToggle.d.ts +0 -17
- package/dist/src/screens/CryptoCashToggle.d.ts.map +0 -1
- package/dist/src/screens/SupportedTokensScreen.d.ts +0 -44
- package/dist/src/screens/SupportedTokensScreen.d.ts.map +0 -1
- package/dist/src/swapped/SwappedScreen.d.ts +0 -21
- package/dist/src/swapped/SwappedScreen.d.ts.map +0 -1
- package/dist/src/swapped/SwappedWebView.d.ts +0 -18
- package/dist/src/swapped/SwappedWebView.d.ts.map +0 -1
- package/dist/src/swapped/webViewSwappedTransport.d.ts +0 -47
- package/dist/src/swapped/webViewSwappedTransport.d.ts.map +0 -1
- package/dist/src/theme/FunkitProvider.d.ts +0 -45
- package/dist/src/theme/FunkitProvider.d.ts.map +0 -1
- package/dist/src/theme/index.d.ts +0 -7
- package/dist/src/theme/index.d.ts.map +0 -1
- package/dist/src/transfer/QrCode.d.ts +0 -15
- package/dist/src/transfer/QrCode.d.ts.map +0 -1
- package/dist/src/transfer/clipboard.d.ts +0 -15
- package/dist/src/transfer/clipboard.d.ts.map +0 -1
- package/dist/src/transfer/fops.d.ts +0 -26
- package/dist/src/transfer/fops.d.ts.map +0 -1
- package/dist/src/transfer/formatDepositAddress.d.ts +0 -9
- package/dist/src/transfer/formatDepositAddress.d.ts.map +0 -1
- package/dist/src/transfer/hooks/useFops.d.ts +0 -38
- package/dist/src/transfer/hooks/useFops.d.ts.map +0 -1
- package/dist/src/transfer/hooks/useSupportedTokens.d.ts +0 -26
- package/dist/src/transfer/hooks/useSupportedTokens.d.ts.map +0 -1
- package/dist/src/transfer/supportedTokens.d.ts +0 -23
- package/dist/src/transfer/supportedTokens.d.ts.map +0 -1
- package/dist/src/version.d.ts +0 -2
- package/dist/src/version.d.ts.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CopyIcon.d.ts","sourceRoot":"","sources":["../../../src/icons/CopyIcon.tsx"],"names":[],"mappings":"AAIA,mDAAmD;AACnD,wBAAgB,QAAQ,4CAYvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NetworkIconFallback.d.ts","sourceRoot":"","sources":["../../../src/icons/NetworkIconFallback.tsx"],"names":[],"mappings":"AAEA,mEAAmE;AACnE,wBAAgB,mBAAmB,4CASlC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QrCodeIcon.d.ts","sourceRoot":"","sources":["../../../src/icons/QrCodeIcon.tsx"],"names":[],"mappings":"AAIA,iEAAiE;AACjE,wBAAgB,UAAU,4CAoBzB"}
|
|
@@ -15,35 +15,6 @@ export interface FunkitIdentity {
|
|
|
15
15
|
/** How the user authenticated, if known (analytics only). */
|
|
16
16
|
loginType?: string;
|
|
17
17
|
}
|
|
18
|
-
/**
|
|
19
|
-
* Host-facing identity config, mirroring the identity-relevant subset of the
|
|
20
|
-
* web SDK's `funkitConfig` ({@link https://github.com/fun-xyz}). The host passes
|
|
21
|
-
* its `apiKey` and (optionally) the `externalUserId` that links Funkit users to
|
|
22
|
-
* its own user system. `walletAddress` is supplied separately on
|
|
23
|
-
* `<FunkitProvider>` because — unlike web, which reads it from wagmi — RN has no
|
|
24
|
-
* wallet provider, so the host owns the connected address.
|
|
25
|
-
*/
|
|
26
|
-
export interface FunkitConfig {
|
|
27
|
-
/** Funkit API key. */
|
|
28
|
-
apiKey: string;
|
|
29
|
-
/**
|
|
30
|
-
* Stable id linking Funkit users to the host's user system. When set, the
|
|
31
|
-
* Funkit `userId` is derived from it (web's `generateSyntheticUserId`); when
|
|
32
|
-
* omitted, the wallet address is used as the id.
|
|
33
|
-
*/
|
|
34
|
-
externalUserId?: string;
|
|
35
|
-
/** How the user authenticated, if known (analytics only). */
|
|
36
|
-
loginType?: string;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Resolve the host's {@link FunkitConfig} + connected wallet address into the
|
|
40
|
-
* internal {@link FunkitIdentity} the transfer hooks read. Mirrors the web
|
|
41
|
-
* default (non-customer) path of `resolveUserId`/`resolveWalletAddress`: prefer
|
|
42
|
-
* a synthetic id from `externalUserId`, else fall back to the wallet address;
|
|
43
|
-
* missing values become the `'0x'` sentinel, which disables the transfer query
|
|
44
|
-
* (see `getCheckoutTokenTransferParams`).
|
|
45
|
-
*/
|
|
46
|
-
export declare function resolveFunkitIdentity(config: FunkitConfig, walletAddress: string | undefined): FunkitIdentity;
|
|
47
18
|
export declare function FunkitIdentityProvider({ identity, children, }: {
|
|
48
19
|
identity: FunkitIdentity;
|
|
49
20
|
children: ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IdentityContext.d.ts","sourceRoot":"","sources":["../../../src/identity/IdentityContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAA6B,MAAM,OAAO,CAAA;AAEjE;;;;;GAKG;AACH,MAAM,WAAW,cAAc;IAC7B,sBAAsB;IACtB,MAAM,EAAE,MAAM,CAAA;IACd,sCAAsC;IACtC,MAAM,EAAE,MAAM,CAAA;IACd,8DAA8D;IAC9D,aAAa,EAAE,MAAM,CAAA;IACrB,6DAA6D;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;
|
|
1
|
+
{"version":3,"file":"IdentityContext.d.ts","sourceRoot":"","sources":["../../../src/identity/IdentityContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAA6B,MAAM,OAAO,CAAA;AAEjE;;;;;GAKG;AACH,MAAM,WAAW,cAAc;IAC7B,sBAAsB;IACtB,MAAM,EAAE,MAAM,CAAA;IACd,sCAAsC;IACtC,MAAM,EAAE,MAAM,CAAA;IACd,8DAA8D;IAC9D,aAAa,EAAE,MAAM,CAAA;IACrB,6DAA6D;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAID,wBAAgB,sBAAsB,CAAC,EACrC,QAAQ,EACR,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,cAAc,CAAA;IACxB,QAAQ,EAAE,SAAS,CAAA;CACpB,2CAMA;AAED,wBAAgB,iBAAiB,IAAI,cAAc,CAQlD"}
|
|
@@ -40,6 +40,13 @@ export declare class DatadogHttpLogTransport implements LogTransport {
|
|
|
40
40
|
log({ level, title, context, error }: LogRecord): void;
|
|
41
41
|
/** Send the buffered batch. Fire-and-forget; network errors are swallowed. */
|
|
42
42
|
flush(): void;
|
|
43
|
+
/**
|
|
44
|
+
* Tear down the transport: drain any buffered records (so teardown doesn't
|
|
45
|
+
* lose logs) and cancel the pending flush timer. Call when `FunkitProvider`
|
|
46
|
+
* swaps transports or unmounts; also keeps tests from leaking a stray
|
|
47
|
+
* `setTimeout` into the next suite. `flush()` clears the timer itself.
|
|
48
|
+
*/
|
|
49
|
+
destroy(): void;
|
|
43
50
|
private scheduleFlush;
|
|
44
51
|
private clearTimer;
|
|
45
52
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datadogHttpLogTransport.d.ts","sourceRoot":"","sources":["../../../src/logging/datadogHttpLogTransport.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,SAAS,EACT,YAAY,EACZ,eAAe,EAChB,MAAM,sBAAsB,CAAA;AAE7B;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,8BAA8B;IAC7C,kEAAkE;IAClE,WAAW,EAAE,MAAM,CAAA;IACnB,0CAA0C;IAC1C,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,oEAAoE;IACpE,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,uEAAuE;IACvE,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,6DAA6D;IAC7D,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,sEAAsE;IACtE,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAiBD,qBAAa,uBAAwB,YAAW,YAAY;IAC1D,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAQ;IAClC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAQ;IAChC,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAQ;IACxC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAQ;IAErC,OAAO,CAAC,GAAG,CAAoB;IAC/B,OAAO,CAAC,OAAO,CAA6B;IAC5C,OAAO,CAAC,KAAK,CAAwB;IACrC,OAAO,CAAC,UAAU,CAA6C;gBAEnD,OAAO,EAAE,8BAA8B;IAanD,MAAM,C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,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,SAAS,GAAG,IAAI;IAmCtD,8EAA8E;IAC9E,KAAK,IAAI,IAAI;IAuBb;;;;;OAKG;IACH,OAAO,IAAI,IAAI;IAIf,OAAO,CAAC,aAAa;IAUrB,OAAO,CAAC,UAAU;CAMnB"}
|
|
@@ -1,27 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { type ReactNode } from 'react';
|
|
3
|
-
import { type FunkitConfig } from '../identity/IdentityContext';
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
4
2
|
import { type FunkitThemeProviderProps } from '../theme/FunkitThemeProvider';
|
|
5
3
|
export interface FunkitProviderProps {
|
|
6
4
|
children: ReactNode;
|
|
7
|
-
/**
|
|
8
|
-
* Identity config — `apiKey` (+ optional `externalUserId`). Mirrors the
|
|
9
|
-
* identity-relevant subset of the web SDK's `funkitConfig`. Required for the
|
|
10
|
-
* SDK to generate deposit addresses; when omitted, the deposit flow falls
|
|
11
|
-
* back to any host-supplied `depositAddress` on the flow config.
|
|
12
|
-
*/
|
|
13
|
-
config?: FunkitConfig;
|
|
14
|
-
/**
|
|
15
|
-
* The connected wallet address (default transfer recipient). On web this
|
|
16
|
-
* comes from wagmi; RN has no wallet provider, so the host passes it here.
|
|
17
|
-
*/
|
|
18
|
-
walletAddress?: string;
|
|
19
|
-
/**
|
|
20
|
-
* React Query client. Web requires the host to supply one; for single-provider
|
|
21
|
-
* RN ergonomics we default to an internally-created client when omitted (pass
|
|
22
|
-
* your own to share a cache with the rest of the app).
|
|
23
|
-
*/
|
|
24
|
-
queryClient?: QueryClient;
|
|
25
5
|
/**
|
|
26
6
|
* Light/dark Restyle theme set. Defaults to the built-in Fun Mobile themes.
|
|
27
7
|
* Forwarded to {@link FunkitThemeProvider}.
|
|
@@ -44,12 +24,11 @@ export interface FunkitProviderProps {
|
|
|
44
24
|
* Top-level, user-facing provider for `@funkit/connect-rn` — the single
|
|
45
25
|
* provider host apps mount around their tree.
|
|
46
26
|
*
|
|
47
|
-
* Composes the platform halves
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
* the {@link QueryClientProvider}. Host integration stays a single
|
|
27
|
+
* Composes the platform halves: Statsig (RN bindings — AsyncStorage-backed, no
|
|
28
|
+
* device-info) on the outside so flags are available everywhere, and styling
|
|
29
|
+
* via {@link FunkitThemeProvider}. As more halves land (identity, query client,
|
|
30
|
+
* logging) they compose here, keeping host integration a single
|
|
52
31
|
* `<FunkitProvider>`.
|
|
53
32
|
*/
|
|
54
|
-
export declare function FunkitProvider({ children,
|
|
33
|
+
export declare function FunkitProvider({ children, themes, colorScheme, debug, }: FunkitProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
55
34
|
//# sourceMappingURL=FunkitProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FunkitProvider.d.ts","sourceRoot":"","sources":["../../../src/providers/FunkitProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"FunkitProvider.d.ts","sourceRoot":"","sources":["../../../src/providers/FunkitProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,EAEL,KAAK,wBAAwB,EAC9B,MAAM,8BAA8B,CAAA;AAGrC,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,SAAS,CAAA;IACnB;;;OAGG;IACH,MAAM,CAAC,EAAE,wBAAwB,CAAC,QAAQ,CAAC,CAAA;IAC3C;;;;;OAKG;IACH,WAAW,CAAC,EAAE,wBAAwB,CAAC,aAAa,CAAC,CAAA;IACrD;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB;AAED;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,MAAM,EACN,WAAW,EACX,KAAa,GACd,EAAE,mBAAmB,2CAQrB"}
|
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
2
|
export declare const STATSIG_CLIENT_KEY: "client-UmFd8WIJljA7cLmZuDqs3X25M8sKd5WIQP4BSC2bRbM";
|
|
3
3
|
interface FunkitStatsigProviderProps {
|
|
4
4
|
children: ReactNode;
|
|
5
|
-
/** Customer apiKey — gates customer-scoped configs (e.g. `enableswappeddeposit`). */
|
|
6
|
-
apiKey: string;
|
|
7
|
-
/** Resolved funkit user id (apiKey|externalUserId, else wallet address). */
|
|
8
|
-
userId: string;
|
|
9
5
|
isDevelopment?: boolean;
|
|
10
6
|
}
|
|
11
|
-
export declare function FunkitStatsigProvider({ children,
|
|
7
|
+
export declare function FunkitStatsigProvider({ children, isDevelopment, }: FunkitStatsigProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
12
8
|
export {};
|
|
13
9
|
//# sourceMappingURL=FunkitStatsigProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FunkitStatsigProvider.d.ts","sourceRoot":"","sources":["../../../src/providers/FunkitStatsigProvider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FunkitStatsigProvider.d.ts","sourceRoot":"","sources":["../../../src/providers/FunkitStatsigProvider.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAWtC,eAAO,MAAM,kBAAkB,EAC7B,oDAA6D,CAAA;AAE/D,UAAU,0BAA0B;IAClC,QAAQ,EAAE,SAAS,CAAA;IACnB,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB;AAED,wBAAgB,qBAAqB,CAAC,EACpC,QAAQ,EACR,aAAqB,GACtB,EAAE,0BAA0B,2CAsB5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddMoneyScreen.d.ts","sourceRoot":"","sources":["../../../src/screens/AddMoneyScreen.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AddMoneyScreen.d.ts","sourceRoot":"","sources":["../../../src/screens/AddMoneyScreen.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAMtC;;;;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,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;CACf;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,cAAc,EACd,KAAmB,GACpB,EAAE,mBAAmB,2CAqCrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QrCodeScreen.d.ts","sourceRoot":"","sources":["../../../src/screens/QrCodeScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKtC;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,iBAAiB;IAChC,iDAAiD;IACjD,MAAM,EAAE,SAAS,CAAA;IACjB,oFAAoF;IACpF,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,8DAA8D;IAC9D,sBAAsB,CAAC,EAAE,MAAM,IAAI,CAAA;CACpC;AAED,wBAAgB,YAAY,CAAC,EAC3B,MAAM,EACN,WAAW,EACX,OAAO,EACP,OAAO,EACP,sBAAsB,GACvB,EAAE,iBAAiB,
|
|
1
|
+
{"version":3,"file":"QrCodeScreen.d.ts","sourceRoot":"","sources":["../../../src/screens/QrCodeScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKtC;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,iBAAiB;IAChC,iDAAiD;IACjD,MAAM,EAAE,SAAS,CAAA;IACjB,oFAAoF;IACpF,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,8DAA8D;IAC9D,sBAAsB,CAAC,EAAE,MAAM,IAAI,CAAA;CACpC;AAED,wBAAgB,YAAY,CAAC,EAC3B,MAAM,EACN,WAAW,EACX,OAAO,EACP,OAAO,EACP,sBAAsB,GACvB,EAAE,iBAAiB,2CA6EnB"}
|
|
@@ -20,10 +20,8 @@ export interface TransferCryptoScreenProps {
|
|
|
20
20
|
onBack?: () => void;
|
|
21
21
|
onShowQrCode?: () => void;
|
|
22
22
|
onChangeNetwork?: () => void;
|
|
23
|
-
/** Tapping the chain cluster / label / info icon — opens supported tokens. */
|
|
24
|
-
onShowSupportedTokens?: () => void;
|
|
25
23
|
onCopyAddress?: () => void;
|
|
26
24
|
onShareAddress?: () => void;
|
|
27
25
|
}
|
|
28
|
-
export declare function TransferCryptoScreen({ depositAddress, networkLabel, networkIcon, title, depositAddressLabel, copiedFeedbackMs, onBack, onShowQrCode, onChangeNetwork,
|
|
26
|
+
export declare function TransferCryptoScreen({ depositAddress, networkLabel, networkIcon, title, depositAddressLabel, copiedFeedbackMs, onBack, onShowQrCode, onChangeNetwork, onCopyAddress, onShareAddress, }: TransferCryptoScreenProps): import("react/jsx-runtime").JSX.Element;
|
|
29
27
|
//# sourceMappingURL=TransferCryptoScreen.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransferCryptoScreen.d.ts","sourceRoot":"","sources":["../../../src/screens/TransferCryptoScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAA+B,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"TransferCryptoScreen.d.ts","sourceRoot":"","sources":["../../../src/screens/TransferCryptoScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAA+B,MAAM,OAAO,CAAA;AAQnE;;;;;;GAMG;AACH,MAAM,WAAW,yBAAyB;IACxC,6DAA6D;IAC7D,cAAc,EAAE,MAAM,CAAA;IACtB,iDAAiD;IACjD,YAAY,EAAE,MAAM,CAAA;IACpB,8EAA8E;IAC9E,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,6DAA6D;IAC7D,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAA;IACzB,eAAe,CAAC,EAAE,MAAM,IAAI,CAAA;IAC5B,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,cAAc,CAAC,EAAE,MAAM,IAAI,CAAA;CAC5B;AAED,wBAAgB,oBAAoB,CAAC,EACnC,cAAc,EACd,YAAY,EACZ,WAAW,EACX,KAAyB,EACzB,mBAA4C,EAC5C,gBAAuB,EACvB,MAAM,EACN,YAAY,EACZ,eAAe,EACf,aAAa,EACb,cAAc,GACf,EAAE,yBAAyB,2CA2I3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"statsigMetadata.d.ts","sourceRoot":"","sources":["../../../src/statsig/statsigMetadata.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"statsigMetadata.d.ts","sourceRoot":"","sources":["../../../src/statsig/statsigMetadata.ts"],"names":[],"mappings":"AAmCA,wBAAgB,2BAA2B,IAAI,MAAM,CACnD,MAAM,EACN,MAAM,GAAG,SAAS,CACnB,CAWA"}
|
|
@@ -1,18 +1,7 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
|
+
import { type FunkitColorSchemeValue } from './colorSchemeContext';
|
|
2
3
|
import { type ColorScheme } from './useColorScheme';
|
|
3
4
|
import { type FunkitThemeSet } from './useFunkitTheme';
|
|
4
|
-
interface FunkitColorSchemeValue {
|
|
5
|
-
/** The active, resolved color scheme. */
|
|
6
|
-
colorScheme: ColorScheme;
|
|
7
|
-
/**
|
|
8
|
-
* Flip light↔dark, or set a specific scheme when an argument is given.
|
|
9
|
-
* **No-op when the provider's `colorScheme` prop is set** (controlled mode) —
|
|
10
|
-
* the host owns the scheme in that case.
|
|
11
|
-
*/
|
|
12
|
-
toggleColorScheme: (next?: ColorScheme) => void;
|
|
13
|
-
/** True when the scheme is forced by the `colorScheme` prop (uncontrolled toggle disabled). */
|
|
14
|
-
isControlled: boolean;
|
|
15
|
-
}
|
|
16
5
|
export interface FunkitThemeProviderProps {
|
|
17
6
|
children: ReactNode;
|
|
18
7
|
/**
|
|
@@ -46,5 +35,4 @@ export declare function FunkitThemeProvider({ children, themes, colorScheme, }:
|
|
|
46
35
|
* `colorScheme` prop was passed).
|
|
47
36
|
*/
|
|
48
37
|
export declare function useFunkitColorScheme(): FunkitColorSchemeValue;
|
|
49
|
-
export {};
|
|
50
38
|
//# sourceMappingURL=FunkitThemeProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FunkitThemeProvider.d.ts","sourceRoot":"","sources":["../../../src/theme/FunkitThemeProvider.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"FunkitThemeProvider.d.ts","sourceRoot":"","sources":["../../../src/theme/FunkitThemeProvider.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,SAAS,EAKf,MAAM,OAAO,CAAA;AAEd,OAAO,EAEL,KAAK,sBAAsB,EAC5B,MAAM,sBAAsB,CAAA;AAE7B,OAAO,EACL,KAAK,WAAW,EAGjB,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAE,KAAK,cAAc,EAAe,MAAM,kBAAkB,CAAA;AAOnE,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,SAAS,CAAA;IACnB;;;OAGG;IACH,MAAM,CAAC,EAAE,cAAc,CAAA;IACvB;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,WAAW,CAAA;CAC1B;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,MAAuB,EACvB,WAAW,GACZ,EAAE,wBAAwB,2CAqC1B;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,IAAI,sBAAsB,CAM7D"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ColorScheme } from './useColorScheme';
|
|
2
|
+
/**
|
|
3
|
+
* The active color scheme + manual toggle published by `FunkitThemeProvider`.
|
|
4
|
+
* Lives in its own module so both the provider and the standalone
|
|
5
|
+
* `useFunkitTheme` hook can read it without importing each other (which would
|
|
6
|
+
* create a circular dependency).
|
|
7
|
+
*/
|
|
8
|
+
export interface FunkitColorSchemeValue {
|
|
9
|
+
/** The active, resolved color scheme. */
|
|
10
|
+
colorScheme: ColorScheme;
|
|
11
|
+
/**
|
|
12
|
+
* Flip light↔dark, or set a specific scheme when an argument is given.
|
|
13
|
+
* **No-op when the provider's `colorScheme` prop is set** (controlled mode) —
|
|
14
|
+
* the host owns the scheme in that case.
|
|
15
|
+
*/
|
|
16
|
+
toggleColorScheme: (next?: ColorScheme) => void;
|
|
17
|
+
/** True when the scheme is forced by the `colorScheme` prop (uncontrolled toggle disabled). */
|
|
18
|
+
isControlled: boolean;
|
|
19
|
+
}
|
|
20
|
+
/** `null` when read outside a `FunkitProvider`. */
|
|
21
|
+
export declare const FunkitColorSchemeContext: import("react").Context<FunkitColorSchemeValue | null>;
|
|
22
|
+
//# sourceMappingURL=colorSchemeContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colorSchemeContext.d.ts","sourceRoot":"","sources":["../../../src/theme/colorSchemeContext.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAEnD;;;;;GAKG;AACH,MAAM,WAAW,sBAAsB;IACrC,yCAAyC;IACzC,WAAW,EAAE,WAAW,CAAA;IACxB;;;;OAIG;IACH,iBAAiB,EAAE,CAAC,IAAI,CAAC,EAAE,WAAW,KAAK,IAAI,CAAA;IAC/C,+FAA+F;IAC/F,YAAY,EAAE,OAAO,CAAA;CACtB;AAED,mDAAmD;AACnD,eAAO,MAAM,wBAAwB,wDACe,CAAA"}
|
|
@@ -4976,150 +4976,4 @@ export declare const Text: import("react").ForwardRefExoticComponent<import("@sh
|
|
|
4976
4976
|
};
|
|
4977
4977
|
}>> & import("react").RefAttributes<unknown>> | undefined;
|
|
4978
4978
|
};
|
|
4979
|
-
/** {@link FunkitTheme}-typed `useTheme`, for reading raw token values. */
|
|
4980
|
-
export declare const useTheme: () => {
|
|
4981
|
-
colors: {
|
|
4982
|
-
transparent: string;
|
|
4983
|
-
bgModal: string;
|
|
4984
|
-
bgSecondary: string;
|
|
4985
|
-
btnPrimary: string;
|
|
4986
|
-
btnPrimaryHover: string;
|
|
4987
|
-
btnPrimaryPressed: string;
|
|
4988
|
-
btnPrimaryFocused: string;
|
|
4989
|
-
btnPrimaryDisabled: string;
|
|
4990
|
-
btnSecondary: string;
|
|
4991
|
-
btnSecondaryHover: string;
|
|
4992
|
-
btnSecondaryPressed: string;
|
|
4993
|
-
btnSecondaryFocused: string;
|
|
4994
|
-
btnSecondaryDisabled: string;
|
|
4995
|
-
btnTertiary: string;
|
|
4996
|
-
btnTertiaryHover: string;
|
|
4997
|
-
btnTertiaryPressed: string;
|
|
4998
|
-
btnTertiaryFocused: string;
|
|
4999
|
-
btnTertiaryDisabled: string;
|
|
5000
|
-
btnIcon: string;
|
|
5001
|
-
btnIconHover: string;
|
|
5002
|
-
btnIconPressed: string;
|
|
5003
|
-
btnIconFocused: string;
|
|
5004
|
-
btnIconDisabled: string;
|
|
5005
|
-
btnDestructive: string;
|
|
5006
|
-
btnDestructiveHover: string;
|
|
5007
|
-
btnDestructivePressed: string;
|
|
5008
|
-
btnDestructiveFocused: string;
|
|
5009
|
-
btnDestructiveDisabled: string;
|
|
5010
|
-
pill: string;
|
|
5011
|
-
pillHover: string;
|
|
5012
|
-
pillPressed: string;
|
|
5013
|
-
pillFocused: string;
|
|
5014
|
-
pillDisabled: string;
|
|
5015
|
-
textPrimary: string;
|
|
5016
|
-
textSecondary: string;
|
|
5017
|
-
textSuccess: string;
|
|
5018
|
-
textError: string;
|
|
5019
|
-
textHyperlink: string;
|
|
5020
|
-
textWarning: string;
|
|
5021
|
-
onBtnPrimary: string;
|
|
5022
|
-
onBtnPrimaryLoading: string;
|
|
5023
|
-
onBtnSecondary: string;
|
|
5024
|
-
onBtnSecondaryLoading: string;
|
|
5025
|
-
onBtnTertiary: string;
|
|
5026
|
-
onBtnIcon: string;
|
|
5027
|
-
onBtnDestructive: string;
|
|
5028
|
-
onBtnDestructiveLoading: string;
|
|
5029
|
-
borderModal: string;
|
|
5030
|
-
borderDefault: string;
|
|
5031
|
-
borderFocused: string;
|
|
5032
|
-
borderSelected: string;
|
|
5033
|
-
borderBtnPrimary: string;
|
|
5034
|
-
borderBtnSecondary: string;
|
|
5035
|
-
brandPrimary: string;
|
|
5036
|
-
};
|
|
5037
|
-
spacing: {
|
|
5038
|
-
none: number;
|
|
5039
|
-
elementsHorizontal: number;
|
|
5040
|
-
modalHorizontal: number;
|
|
5041
|
-
};
|
|
5042
|
-
borderRadii: {
|
|
5043
|
-
modal: number;
|
|
5044
|
-
element: number;
|
|
5045
|
-
elementInner: number;
|
|
5046
|
-
button: number;
|
|
5047
|
-
rounded: number;
|
|
5048
|
-
};
|
|
5049
|
-
borderWidths: {
|
|
5050
|
-
modal: number;
|
|
5051
|
-
elementsDefault: number;
|
|
5052
|
-
elementsFocused: number;
|
|
5053
|
-
elementsSelected: number;
|
|
5054
|
-
button: number;
|
|
5055
|
-
};
|
|
5056
|
-
sizes: {
|
|
5057
|
-
topBar: number;
|
|
5058
|
-
buttonHeight: number;
|
|
5059
|
-
buttonXs: number;
|
|
5060
|
-
buttonSm: number;
|
|
5061
|
-
buttonMd: number;
|
|
5062
|
-
buttonLg: number;
|
|
5063
|
-
iconXs: number;
|
|
5064
|
-
iconSm: number;
|
|
5065
|
-
iconMd: number;
|
|
5066
|
-
iconLg: number;
|
|
5067
|
-
};
|
|
5068
|
-
breakpoints: {
|
|
5069
|
-
phone: number;
|
|
5070
|
-
tablet: number;
|
|
5071
|
-
};
|
|
5072
|
-
textVariants: {
|
|
5073
|
-
defaults: {
|
|
5074
|
-
fontFamily: string;
|
|
5075
|
-
fontWeight: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
|
|
5076
|
-
fontSize: number;
|
|
5077
|
-
color: string;
|
|
5078
|
-
};
|
|
5079
|
-
body: {
|
|
5080
|
-
fontFamily: string;
|
|
5081
|
-
fontWeight: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
|
|
5082
|
-
fontSize: number;
|
|
5083
|
-
color: string;
|
|
5084
|
-
};
|
|
5085
|
-
bodyMedium: {
|
|
5086
|
-
fontFamily: string;
|
|
5087
|
-
fontWeight: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
|
|
5088
|
-
fontSize: number;
|
|
5089
|
-
color: string;
|
|
5090
|
-
};
|
|
5091
|
-
detail: {
|
|
5092
|
-
fontFamily: string;
|
|
5093
|
-
fontWeight: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
|
|
5094
|
-
fontSize: number;
|
|
5095
|
-
color: string;
|
|
5096
|
-
};
|
|
5097
|
-
headerTitle: {
|
|
5098
|
-
fontFamily: string;
|
|
5099
|
-
fontWeight: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
|
|
5100
|
-
fontSize: number;
|
|
5101
|
-
color: string;
|
|
5102
|
-
textAlign: string;
|
|
5103
|
-
};
|
|
5104
|
-
headerSubtitle: {
|
|
5105
|
-
fontFamily: string;
|
|
5106
|
-
fontWeight: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
|
|
5107
|
-
fontSize: number;
|
|
5108
|
-
color: string;
|
|
5109
|
-
textAlign: string;
|
|
5110
|
-
};
|
|
5111
|
-
amountInput: {
|
|
5112
|
-
fontFamily: string;
|
|
5113
|
-
fontWeight: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
|
|
5114
|
-
fontSize: number;
|
|
5115
|
-
color: string;
|
|
5116
|
-
};
|
|
5117
|
-
amountSummary: {
|
|
5118
|
-
fontFamily: string;
|
|
5119
|
-
fontWeight: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
|
|
5120
|
-
fontSize: number;
|
|
5121
|
-
color: string;
|
|
5122
|
-
};
|
|
5123
|
-
};
|
|
5124
|
-
};
|
|
5125
4979
|
//# sourceMappingURL=restyle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restyle.d.ts","sourceRoot":"","sources":["../../../src/theme/restyle.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"restyle.d.ts","sourceRoot":"","sources":["../../../src/theme/restyle.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toRestyleTheme.d.ts","sourceRoot":"","sources":["../../../src/theme/toRestyleTheme.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"toRestyleTheme.d.ts","sourceRoot":"","sources":["../../../src/theme/toRestyleTheme.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAA2B,MAAM,UAAU,CAAA;AAErE;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmElD;AAED,4EAA4E;AAC5E,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAA;AAE3D,qFAAqF;AACrF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA8B,CAAA;AAC5D,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA6B,CAAA"}
|
|
@@ -20,10 +20,16 @@ export type FunkitThemeSet = {
|
|
|
20
20
|
*/
|
|
21
21
|
export declare function selectTheme(themeSet: FunkitThemeSet, scheme: SystemColorScheme): FunkitTheme;
|
|
22
22
|
/**
|
|
23
|
-
* Resolves the active Restyle theme from the
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
23
|
+
* Resolves the active Restyle theme from the given theme set. Standalone hook
|
|
24
|
+
* for use **outside** `FunkitProvider` (e.g. a small surface that wants a theme
|
|
25
|
+
* without mounting the provider) — inside the provider, read the active theme
|
|
26
|
+
* via Restyle's `useTheme()` and the scheme via `useFunkitColorScheme()`.
|
|
27
|
+
*
|
|
28
|
+
* Scheme precedence: when mounted inside a `FunkitProvider` it follows the
|
|
29
|
+
* provider's **resolved** scheme (so it can't disagree with the theme the
|
|
30
|
+
* provider rendered into Restyle after a `toggleColorScheme()` / a controlled
|
|
31
|
+
* `colorScheme` prop); standalone it follows the live system Appearance,
|
|
32
|
+
* falling back to light when that's unknown.
|
|
27
33
|
*/
|
|
28
34
|
export declare function useFunkitTheme(themeSet?: FunkitThemeSet): FunkitTheme;
|
|
29
35
|
//# sourceMappingURL=useFunkitTheme.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFunkitTheme.d.ts","sourceRoot":"","sources":["../../../src/theme/useFunkitTheme.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useFunkitTheme.d.ts","sourceRoot":"","sources":["../../../src/theme/useFunkitTheme.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,WAAW,EAGjB,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAE,KAAK,iBAAiB,EAAkB,MAAM,kBAAkB,CAAA;AAEzE;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GACtB;IAAE,KAAK,EAAE,WAAW,CAAC;IAAC,IAAI,CAAC,EAAE,WAAW,CAAA;CAAE,GAC1C;IAAE,KAAK,CAAC,EAAE,WAAW,CAAC;IAAC,IAAI,EAAE,WAAW,CAAA;CAAE,CAAA;AAO9C;;;;GAIG;AACH,wBAAgB,WAAW,CACzB,QAAQ,EAAE,cAAc,EACxB,MAAM,EAAE,iBAAiB,GACxB,WAAW,CAab;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,cAAc,CAC5B,QAAQ,GAAE,cAAkC,GAC3C,WAAW,CAYb"}
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { FunAddress } from '@funkit/api-base';
|
|
2
2
|
import { type CheckoutTokenTransferConfig, type QRCodeUri, type TransferTokenQrCodeType } from '@funkit/connect-core';
|
|
3
3
|
export interface UseTokenTransferParams {
|
|
4
4
|
checkoutConfig: CheckoutTokenTransferConfig | undefined;
|
|
5
5
|
/** Chain the user picked to send funds on. */
|
|
6
6
|
selectedChainId: number | undefined;
|
|
7
|
-
dynamicRoutingId
|
|
7
|
+
dynamicRoutingId: string | null;
|
|
8
8
|
enabled?: boolean;
|
|
9
9
|
}
|
|
10
10
|
export interface UseTokenTransferResult {
|
|
11
11
|
/** Where the user sends funds first. */
|
|
12
12
|
depositAddress: FunAddress | undefined;
|
|
13
|
-
/** Raw deposit-init response (per-chain addresses); gates which chains show. */
|
|
14
|
-
transferInit: CheckoutInitTokenTransferResponse | undefined;
|
|
15
13
|
/** Final destination of the funds. */
|
|
16
14
|
recipientAddr: string;
|
|
17
15
|
/** Minimum transfer value (USD) for the selected chain, rounded up. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTokenTransfer.d.ts","sourceRoot":"","sources":["../../../../src/transfer/hooks/useTokenTransfer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"useTokenTransfer.d.ts","sourceRoot":"","sources":["../../../../src/transfer/hooks/useTokenTransfer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,OAAO,EACL,KAAK,2BAA2B,EAChC,KAAK,SAAS,EACd,KAAK,uBAAuB,EAK7B,MAAM,sBAAsB,CAAA;AAuB7B,MAAM,WAAW,sBAAsB;IACrC,cAAc,EAAE,2BAA2B,GAAG,SAAS,CAAA;IACvD,8CAA8C;IAC9C,eAAe,EAAE,MAAM,GAAG,SAAS,CAAA;IACnC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,WAAW,sBAAsB;IACrC,wCAAwC;IACxC,cAAc,EAAE,UAAU,GAAG,SAAS,CAAA;IACtC,sCAAsC;IACtC,aAAa,EAAE,MAAM,CAAA;IACrB,uEAAuE;IACvE,cAAc,EAAE,MAAM,CAAA;IACtB,0CAA0C;IAC1C,kBAAkB,EAAE,MAAM,CAAA;IAC1B,SAAS,EAAE,SAAS,GAAG,SAAS,CAAA;IAChC,UAAU,EAAE,uBAAuB,CAAA;IACnC,SAAS,EAAE,OAAO,CAAA;CACnB;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,cAAc,EACd,eAAe,EACf,gBAAgB,EAChB,OAAO,GACR,EAAE,sBAAsB,GAAG,sBAAsB,CAmCjD"}
|
|
@@ -6,7 +6,7 @@ export interface UseTransferInitParams {
|
|
|
6
6
|
/** Final recipient. Defaults to the identity's wallet address. */
|
|
7
7
|
recipientAddr?: FunAddress;
|
|
8
8
|
/** Dynamic-routing id used to resolve UDA params. */
|
|
9
|
-
dynamicRoutingId
|
|
9
|
+
dynamicRoutingId: string | null;
|
|
10
10
|
/** Gate the network call (e.g. only when the screen is visible). */
|
|
11
11
|
enabled?: boolean;
|
|
12
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTransferInit.d.ts","sourceRoot":"","sources":["../../../../src/transfer/hooks/useTransferInit.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,iCAAiC,EACtC,KAAK,UAAU,EAEhB,MAAM,kBAAkB,CAAA;AACzB,OAAO,EACL,KAAK,2BAA2B,
|
|
1
|
+
{"version":3,"file":"useTransferInit.d.ts","sourceRoot":"","sources":["../../../../src/transfer/hooks/useTransferInit.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,iCAAiC,EACtC,KAAK,UAAU,EAEhB,MAAM,kBAAkB,CAAA;AACzB,OAAO,EACL,KAAK,2BAA2B,EAGjC,MAAM,sBAAsB,CAAA;AAmC7B,MAAM,WAAW,qBAAqB;IACpC,iEAAiE;IACjE,cAAc,EAAE,2BAA2B,GAAG,SAAS,CAAA;IACvD,kEAAkE;IAClE,aAAa,CAAC,EAAE,UAAU,CAAA;IAC1B,qDAAqD;IACrD,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B,oEAAoE;IACpE,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,WAAW,qBAAqB;IACpC,YAAY,EAAE,iCAAiC,GAAG,SAAS,CAAA;IAC3D,aAAa,EAAE,UAAU,CAAA;IACzB,SAAS,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,OAAO,CAAA;CACpB;AAED;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,EAC9B,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,OAAc,GACf,EAAE,qBAAqB,GAAG,qBAAqB,CAsC/C"}
|
|
@@ -5,5 +5,5 @@ import { type UDAConfig } from '@funkit/connect-core';
|
|
|
5
5
|
* `uda_params` Statsig dynamic config. Unlike web, the routing id is passed in
|
|
6
6
|
* (web reads it from the checkout context, which RN doesn't have).
|
|
7
7
|
*/
|
|
8
|
-
export declare function useUDAParams(dynamicRoutingId
|
|
8
|
+
export declare function useUDAParams(dynamicRoutingId: string | null): UDAConfig | undefined;
|
|
9
9
|
//# sourceMappingURL=useUDAParams.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUDAParams.d.ts","sourceRoot":"","sources":["../../../../src/transfer/hooks/useUDAParams.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAoB,MAAM,sBAAsB,CAAA;AAGvE;;;;;GAKG;AACH,wBAAgB,YAAY,
|
|
1
|
+
{"version":3,"file":"useUDAParams.d.ts","sourceRoot":"","sources":["../../../../src/transfer/hooks/useUDAParams.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAoB,MAAM,sBAAsB,CAAA;AAGvE;;;;;GAKG;AACH,wBAAgB,YAAY,CAC1B,gBAAgB,EAAE,MAAM,GAAG,IAAI,GAC9B,SAAS,GAAG,SAAS,CAUvB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect-rn",
|
|
3
|
-
"version": "0.2.0
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "React Native bindings for @funkit/connect. Re-exports the headless @funkit/connect-core logic; the RN platform halves (Restyle theme, WebView Swapped transport, Transfer/Swapped screens, logging) land in later releases.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -25,25 +25,20 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@shopify/restyle": "^2.4.5",
|
|
27
27
|
"@funkit/api-base": "4.5.1",
|
|
28
|
-
"@funkit/
|
|
29
|
-
"@funkit/
|
|
28
|
+
"@funkit/chains": "2.1.0",
|
|
29
|
+
"@funkit/connect-core": "1.0.0"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"@react-native-async-storage/async-storage": ">=1.23.1",
|
|
33
|
-
"@react-native-clipboard/clipboard": ">=1.13.0",
|
|
34
33
|
"@statsig/react-bindings": ">=3.25",
|
|
35
34
|
"@tanstack/react-query": ">=5.0.0",
|
|
36
35
|
"i18next": ">=23",
|
|
37
36
|
"react": ">=18",
|
|
38
37
|
"react-native": ">=0.74",
|
|
39
|
-
"react-native-qrcode-svg": ">=6.3.0",
|
|
40
|
-
"react-native-svg": ">=15.0.0",
|
|
41
|
-
"react-native-webview": ">=13.0.0",
|
|
42
38
|
"viem": ">=2.22.14"
|
|
43
39
|
},
|
|
44
40
|
"devDependencies": {
|
|
45
41
|
"@react-native-async-storage/async-storage": "2.2.0",
|
|
46
|
-
"@react-native-clipboard/clipboard": "1.16.3",
|
|
47
42
|
"@statsig/react-bindings": "3.25.4",
|
|
48
43
|
"@tanstack/react-query": "5.76.1",
|
|
49
44
|
"@types/react": "^19.2.2",
|
|
@@ -51,9 +46,6 @@
|
|
|
51
46
|
"i18next": "25.6.2",
|
|
52
47
|
"react": "^19.0.0",
|
|
53
48
|
"react-native": "0.85.3",
|
|
54
|
-
"react-native-qrcode-svg": "6.3.21",
|
|
55
|
-
"react-native-svg": "15.15.5",
|
|
56
|
-
"react-native-webview": "13.16.0",
|
|
57
49
|
"react-test-renderer": "19.2.4",
|
|
58
50
|
"tsc-alias": "1.8.16",
|
|
59
51
|
"viem": ">=2.22.14",
|