@funkit/connect-rn 3.10.1 → 3.11.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 +29 -0
- package/dist/chunk-5IWD2I7N.js +94 -0
- package/dist/chunk-5IWD2I7N.js.map +7 -0
- package/dist/chunk-75TJE4HO.js +1656 -0
- package/dist/chunk-75TJE4HO.js.map +7 -0
- package/dist/chunk-EL2UG6WN.js +1690 -0
- package/dist/chunk-EL2UG6WN.js.map +7 -0
- package/dist/chunk-FTD4HETU.js +94 -0
- package/dist/chunk-FTD4HETU.js.map +7 -0
- package/dist/chunk-KQEQB6MZ.js +94 -0
- package/dist/chunk-KQEQB6MZ.js.map +7 -0
- package/dist/chunk-L26YKVZ7.js +94 -0
- package/dist/chunk-L26YKVZ7.js.map +7 -0
- package/dist/chunk-LIOQVZV4.js +1753 -0
- package/dist/chunk-LIOQVZV4.js.map +7 -0
- package/dist/chunk-LKILQNGD.js +1655 -0
- package/dist/chunk-LKILQNGD.js.map +7 -0
- package/dist/chunk-LPJDURB5.js +1675 -0
- package/dist/chunk-LPJDURB5.js.map +7 -0
- package/dist/chunk-MJ4QBNTD.js +94 -0
- package/dist/chunk-MJ4QBNTD.js.map +7 -0
- package/dist/chunk-NNEV7EFP.js +94 -0
- package/dist/chunk-NNEV7EFP.js.map +7 -0
- package/dist/chunk-NYW4N5SQ.js +1328 -0
- package/dist/chunk-NYW4N5SQ.js.map +7 -0
- package/dist/chunk-OI54J6E6.js +1951 -0
- package/dist/chunk-OI54J6E6.js.map +7 -0
- package/dist/chunk-OIXZMXFJ.js +1681 -0
- package/dist/chunk-OIXZMXFJ.js.map +7 -0
- package/dist/chunk-OQVPCP4W.js +94 -0
- package/dist/chunk-OQVPCP4W.js.map +7 -0
- package/dist/chunk-PHUM52HD.js +1542 -0
- package/dist/chunk-PHUM52HD.js.map +7 -0
- package/dist/chunk-Q5OFOALX.js +94 -0
- package/dist/chunk-Q5OFOALX.js.map +7 -0
- package/dist/chunk-QNAMNQZX.js +1660 -0
- package/dist/chunk-QNAMNQZX.js.map +7 -0
- package/dist/chunk-RTQ4MJHE.js +1209 -0
- package/dist/chunk-RTQ4MJHE.js.map +7 -0
- package/dist/chunk-V23HUIDS.js +1744 -0
- package/dist/chunk-V23HUIDS.js.map +7 -0
- package/dist/chunk-V4LN3XNI.js +94 -0
- package/dist/chunk-V4LN3XNI.js.map +7 -0
- package/dist/chunk-VE6N6BHJ.js +94 -0
- package/dist/chunk-VE6N6BHJ.js.map +7 -0
- package/dist/chunk-VL4WQDU7.js +1654 -0
- package/dist/chunk-VL4WQDU7.js.map +7 -0
- package/dist/chunk-X2X2GENE.js +94 -0
- package/dist/chunk-X2X2GENE.js.map +7 -0
- package/dist/clients/lighter.js +1 -1
- package/dist/clients/nado.js +2 -2
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2461 -1185
- package/dist/index.js.map +4 -4
- package/dist/src/branding/BrandingContext.d.ts +15 -0
- package/dist/src/branding/BrandingContext.d.ts.map +1 -0
- package/dist/src/components/AccountBalanceChip.d.ts +19 -0
- package/dist/src/components/AccountBalanceChip.d.ts.map +1 -0
- package/dist/src/components/AmountChipsRow.d.ts +17 -0
- package/dist/src/components/AmountChipsRow.d.ts.map +1 -0
- package/dist/src/components/AmountInput.d.ts +40 -0
- package/dist/src/components/AmountInput.d.ts.map +1 -0
- package/dist/src/components/AttributionWatermark.d.ts +10 -0
- package/dist/src/components/AttributionWatermark.d.ts.map +1 -0
- package/dist/src/components/Grabber.d.ts +7 -1
- package/dist/src/components/Grabber.d.ts.map +1 -1
- package/dist/src/components/PillButton.d.ts +3 -1
- package/dist/src/components/PillButton.d.ts.map +1 -1
- package/dist/src/components/RollingAmount.d.ts +20 -0
- package/dist/src/components/RollingAmount.d.ts.map +1 -0
- package/dist/src/components/SegmentedControl.d.ts +12 -0
- package/dist/src/components/SegmentedControl.d.ts.map +1 -0
- package/dist/src/components/WithdrawFeeSummary.d.ts +23 -0
- package/dist/src/components/WithdrawFeeSummary.d.ts.map +1 -0
- package/dist/src/components/v2/AmountDisplay.d.ts.map +1 -1
- package/dist/src/components/v2/NumPad.d.ts.map +1 -1
- package/dist/src/fiat/FiatStatusScreen.d.ts +19 -0
- package/dist/src/fiat/FiatStatusScreen.d.ts.map +1 -0
- package/dist/src/fiat/SurfaceSlot.d.ts +8 -0
- package/dist/src/fiat/SurfaceSlot.d.ts.map +1 -0
- package/dist/src/fiat/ctaLabel.d.ts +19 -0
- package/dist/src/fiat/ctaLabel.d.ts.map +1 -0
- package/dist/src/fiat/providers/TransakApplePaySurface.d.ts +7 -0
- package/dist/src/fiat/providers/TransakApplePaySurface.d.ts.map +1 -0
- package/dist/src/fiat/renderCaptureSurface.d.ts +12 -0
- package/dist/src/fiat/renderCaptureSurface.d.ts.map +1 -0
- package/dist/src/fiat/stepDetails.d.ts +18 -0
- package/dist/src/fiat/stepDetails.d.ts.map +1 -0
- package/dist/src/flow/BackdropBlurContext.d.ts +9 -0
- package/dist/src/flow/BackdropBlurContext.d.ts.map +1 -0
- package/dist/src/flow/DepositAmountStep.d.ts.map +1 -1
- package/dist/src/flow/DepositFlowContent.d.ts +1 -3
- package/dist/src/flow/DepositFlowContent.d.ts.map +1 -1
- package/dist/src/flow/FiatDepositAmountStep.d.ts +9 -0
- package/dist/src/flow/FiatDepositAmountStep.d.ts.map +1 -0
- package/dist/src/flow/FlowSheet.d.ts +34 -5
- package/dist/src/flow/FlowSheet.d.ts.map +1 -1
- package/dist/src/flow/FunkitFlowProvider.d.ts +1 -1
- package/dist/src/flow/FunkitFlowProvider.d.ts.map +1 -1
- package/dist/src/flow/WithdrawalFlowContent.d.ts +1 -4
- package/dist/src/flow/WithdrawalFlowContent.d.ts.map +1 -1
- package/dist/src/flow/depositFlowConfig.d.ts +24 -3
- package/dist/src/flow/depositFlowConfig.d.ts.map +1 -1
- package/dist/src/hooks/useGuardedAmountInput.d.ts.map +1 -1
- package/dist/src/hooks/usePressScale.d.ts +18 -0
- package/dist/src/hooks/usePressScale.d.ts.map +1 -0
- package/dist/src/identity/IdentityContext.d.ts +10 -0
- package/dist/src/identity/IdentityContext.d.ts.map +1 -1
- package/dist/src/logging/consoleLogTransport.d.ts +10 -0
- package/dist/src/logging/consoleLogTransport.d.ts.map +1 -0
- package/dist/src/providers/FunkitProvider.d.ts +6 -5
- package/dist/src/providers/FunkitProvider.d.ts.map +1 -1
- package/dist/src/providers/NativeCapabilitiesContext.d.ts +43 -0
- package/dist/src/providers/NativeCapabilitiesContext.d.ts.map +1 -0
- package/dist/src/screens/AddMoneyScreen.d.ts +86 -0
- package/dist/src/screens/AddMoneyScreen.d.ts.map +1 -0
- package/dist/src/screens/AvailableChainsScreen.d.ts +32 -0
- package/dist/src/screens/AvailableChainsScreen.d.ts.map +1 -0
- package/dist/src/screens/DepositAmountScreen.d.ts +27 -11
- package/dist/src/screens/DepositAmountScreen.d.ts.map +1 -1
- package/dist/src/screens/FeeDetailsScreen.d.ts +36 -0
- package/dist/src/screens/FeeDetailsScreen.d.ts.map +1 -0
- package/dist/src/screens/NetworkSelector.d.ts +31 -0
- package/dist/src/screens/NetworkSelector.d.ts.map +1 -0
- package/dist/src/screens/SelectDestinationScreen.d.ts +19 -0
- package/dist/src/screens/SelectDestinationScreen.d.ts.map +1 -0
- package/dist/src/screens/WithdrawCryptoCta.d.ts +20 -0
- package/dist/src/screens/WithdrawCryptoCta.d.ts.map +1 -0
- package/dist/src/screens/WithdrawCryptoForm.d.ts +28 -0
- package/dist/src/screens/WithdrawCryptoForm.d.ts.map +1 -0
- package/dist/src/screens/WithdrawCryptoScreen.d.ts +17 -0
- package/dist/src/screens/WithdrawCryptoScreen.d.ts.map +1 -0
- package/dist/src/statsig/StatsigProviderRN.d.ts +7 -0
- package/dist/src/statsig/StatsigProviderRN.d.ts.map +1 -0
- package/dist/src/statsig/useClientBootstrapInitRN.d.ts +4 -0
- package/dist/src/statsig/useClientBootstrapInitRN.d.ts.map +1 -0
- package/dist/src/theme/buildFunkitTheme.d.ts +8 -0
- package/dist/src/theme/buildFunkitTheme.d.ts.map +1 -1
- package/dist/src/theme/restyle.d.ts +264 -0
- package/dist/src/theme/restyle.d.ts.map +1 -1
- package/dist/src/theme/toRestyleTheme.d.ts +24 -0
- package/dist/src/theme/toRestyleTheme.d.ts.map +1 -1
- package/dist/src/theme/tokens.d.ts +4 -1
- package/dist/src/theme/tokens.d.ts.map +1 -1
- package/dist/src/utils/formatAmount.d.ts +5 -0
- package/dist/src/utils/formatAmount.d.ts.map +1 -1
- package/dist/src/utils/numpadInput.d.ts +2 -1
- package/dist/src/utils/numpadInput.d.ts.map +1 -1
- package/dist/src/utils/v2/numberFormat.d.ts +36 -0
- package/dist/src/utils/v2/numberFormat.d.ts.map +1 -0
- package/dist/src/utils/withAlpha.d.ts +13 -0
- package/dist/src/utils/withAlpha.d.ts.map +1 -0
- package/dist/src/withdrawal/publicClient.d.ts +10 -0
- package/dist/src/withdrawal/publicClient.d.ts.map +1 -0
- package/package.json +6 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restyle.d.ts","sourceRoot":"","sources":["../../../src/theme/restyle.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,KAAK,cAAc,EAIpB,MAAM,OAAO,CAAA;AAGd,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAEhD;;;;;GAKG;AACH,eAAO,MAAM,GAAG
|
|
1
|
+
{"version":3,"file":"restyle.d.ts","sourceRoot":"","sources":["../../../src/theme/restyle.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,KAAK,cAAc,EAIpB,MAAM,OAAO,CAAA;AAGd,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAEhD;;;;;GAKG;AACH,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4B,CAAA;AAE7C,MAAM,WAAW,SAAU,SAAQ,cAAc,CAAC,OAAO,WAAW,CAAC;IACnE;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,gBAAgB,CAAA;CAC1B;AAED;;;;GAIG;AACH,eAAO,MAAM,IAAI,4GAsBhB,CAAA;AAED,0EAA0E;AAC1E,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAuC,CAAA"}
|
|
@@ -34,6 +34,7 @@ export declare function toRestyleTheme(tokens: FunkitTokens): {
|
|
|
34
34
|
error: string;
|
|
35
35
|
hyperlink: string;
|
|
36
36
|
warning: string;
|
|
37
|
+
watermark: string;
|
|
37
38
|
};
|
|
38
39
|
button: {
|
|
39
40
|
primary: {
|
|
@@ -161,6 +162,13 @@ export declare function toRestyleTheme(tokens: FunkitTokens): {
|
|
|
161
162
|
fontFamily: string;
|
|
162
163
|
fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
|
|
163
164
|
};
|
|
165
|
+
drawerTitle: {
|
|
166
|
+
fontSize: number;
|
|
167
|
+
lineHeight: number;
|
|
168
|
+
letterSpacing: number;
|
|
169
|
+
fontFamily: string;
|
|
170
|
+
fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
|
|
171
|
+
};
|
|
164
172
|
amountInput: {
|
|
165
173
|
fontSize: number;
|
|
166
174
|
fontFamily: string;
|
|
@@ -215,6 +223,7 @@ export declare const defaultLightTheme: {
|
|
|
215
223
|
error: string;
|
|
216
224
|
hyperlink: string;
|
|
217
225
|
warning: string;
|
|
226
|
+
watermark: string;
|
|
218
227
|
};
|
|
219
228
|
button: {
|
|
220
229
|
primary: {
|
|
@@ -342,6 +351,13 @@ export declare const defaultLightTheme: {
|
|
|
342
351
|
fontFamily: string;
|
|
343
352
|
fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
|
|
344
353
|
};
|
|
354
|
+
drawerTitle: {
|
|
355
|
+
fontSize: number;
|
|
356
|
+
lineHeight: number;
|
|
357
|
+
letterSpacing: number;
|
|
358
|
+
fontFamily: string;
|
|
359
|
+
fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
|
|
360
|
+
};
|
|
345
361
|
amountInput: {
|
|
346
362
|
fontSize: number;
|
|
347
363
|
fontFamily: string;
|
|
@@ -393,6 +409,7 @@ export declare const defaultDarkTheme: {
|
|
|
393
409
|
error: string;
|
|
394
410
|
hyperlink: string;
|
|
395
411
|
warning: string;
|
|
412
|
+
watermark: string;
|
|
396
413
|
};
|
|
397
414
|
button: {
|
|
398
415
|
primary: {
|
|
@@ -520,6 +537,13 @@ export declare const defaultDarkTheme: {
|
|
|
520
537
|
fontFamily: string;
|
|
521
538
|
fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
|
|
522
539
|
};
|
|
540
|
+
drawerTitle: {
|
|
541
|
+
fontSize: number;
|
|
542
|
+
lineHeight: number;
|
|
543
|
+
letterSpacing: number;
|
|
544
|
+
fontFamily: string;
|
|
545
|
+
fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
|
|
546
|
+
};
|
|
523
547
|
amountInput: {
|
|
524
548
|
fontSize: number;
|
|
525
549
|
fontFamily: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toRestyleTheme.d.ts","sourceRoot":"","sources":["../../../src/theme/toRestyleTheme.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,YAAY,EAA2B,MAAM,UAAU,CAAA;AAErE;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,YAAY
|
|
1
|
+
{"version":3,"file":"toRestyleTheme.d.ts","sourceRoot":"","sources":["../../../src/theme/toRestyleTheme.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,YAAY,EAA2B,MAAM,UAAU,CAAA;AAErE;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAElD;AAED,4EAA4E;AAC5E,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAA;AAE3D,wFAAwF;AACxF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA8B,CAAA;AAC5D,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA6B,CAAA"}
|
|
@@ -33,6 +33,7 @@ export interface FunkitFontTokens {
|
|
|
33
33
|
size: {
|
|
34
34
|
title: number;
|
|
35
35
|
subtitle: number;
|
|
36
|
+
drawerTitle: number;
|
|
36
37
|
amountInput: number;
|
|
37
38
|
amountSummary: number;
|
|
38
39
|
};
|
|
@@ -66,7 +67,7 @@ export interface FunkitTokens {
|
|
|
66
67
|
disabled: string;
|
|
67
68
|
};
|
|
68
69
|
/**
|
|
69
|
-
*
|
|
70
|
+
* Overlay dimming the host app behind the flow sheet. NOT yet a Fun Variable
|
|
70
71
|
* — the design (13315:9391) hardcodes it — so it lives here to stay
|
|
71
72
|
* per-client overridable. Fold it in when the export gains the variable.
|
|
72
73
|
*/
|
|
@@ -84,6 +85,8 @@ export interface FunkitTokens {
|
|
|
84
85
|
error: string;
|
|
85
86
|
hyperlink: string;
|
|
86
87
|
warning: string;
|
|
88
|
+
/** `Content/Watermark` — the SDK attribution, alpha baked in. */
|
|
89
|
+
watermark: string;
|
|
87
90
|
};
|
|
88
91
|
button: {
|
|
89
92
|
primary: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../src/theme/tokens.ts"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAE7C;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,QAAQ,CAAA;AAEtD,uFAAuF;AACvF,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,QAAQ,CAAA;AAEhD,qFAAqF;AACrF,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE;QACJ;;;;WAIG;QACH,MAAM,EAAE,MAAM,CAAA;QACd,MAAM,EAAE,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,CAAA;QACrD,IAAI,EAAE;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,CAAA;QAEtC,OAAO,EAAE;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,CAAA;KAC1C,CAAA;IACD,MAAM,EAAE;QACN,MAAM,EAAE,MAAM,CAAA;QACd,MAAM,EAAE,mBAAmB,CAAA;QAC3B,SAAS,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAA;QAEtC,IAAI,EAAE;YACJ,KAAK,EAAE,MAAM,CAAA;YACb,QAAQ,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../src/theme/tokens.ts"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAE7C;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,QAAQ,CAAA;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CAAC,YAAY,CAAC,CAIxB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,YAkFzB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,YAkFxB,CAAA"}
|
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
* balance would show the user a number they can't withdraw.
|
|
4
4
|
*/
|
|
5
5
|
export declare function groupThousands(amount: string): string;
|
|
6
|
+
/**
|
|
7
|
+
* A rate as its percentage: `0.005` → `0.5%`. Trailing zeros are dropped, so a
|
|
8
|
+
* whole percent reads `1%` rather than `1.00%`.
|
|
9
|
+
*/
|
|
10
|
+
export declare function formatPercent(rate: number): string;
|
|
6
11
|
/**
|
|
7
12
|
* The fraction a token amount is shown to, matching web's `ASSET_DECIMALS` (see
|
|
8
13
|
* the checkout's `InputAmount/utils.ts`) so the two flows read the same.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formatAmount.d.ts","sourceRoot":"","sources":["../../../src/utils/formatAmount.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAIrD;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,IAAI,CAAA;AAE/B;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,MAAM,EACd,WAAW,GAAE,MAAuB,GACnC,MAAM,CAKR;AAED,8EAA8E;AAC9E,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAE/C"}
|
|
1
|
+
{"version":3,"file":"formatAmount.d.ts","sourceRoot":"","sources":["../../../src/utils/formatAmount.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAIrD;AAKD;;;GAGG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAIlD;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,IAAI,CAAA;AAE/B;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,MAAM,EACd,WAAW,GAAE,MAAuB,GACnC,MAAM,CAKR;AAED,8EAA8E;AAC9E,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAE/C"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export type NumpadDigit = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9';
|
|
2
|
-
|
|
2
|
+
/** `clear` is a held delete key: the whole value goes in one stroke. */
|
|
3
|
+
export type NumpadKey = NumpadDigit | '.' | 'backspace' | 'clear';
|
|
3
4
|
/**
|
|
4
5
|
* The typed amount after one keypress, as a decimal string.
|
|
5
6
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"numpadInput.d.ts","sourceRoot":"","sources":["../../../src/utils/numpadInput.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,WAAW,GACnB,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,CAAA;AAEP,MAAM,MAAM,SAAS,GAAG,WAAW,GAAG,GAAG,GAAG,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"numpadInput.d.ts","sourceRoot":"","sources":["../../../src/utils/numpadInput.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,WAAW,GACnB,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,CAAA;AAEP,wEAAwE;AACxE,MAAM,MAAM,SAAS,GAAG,WAAW,GAAG,GAAG,GAAG,WAAW,GAAG,OAAO,CAAA;AAIjE;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAC5B,KAAK,EAAE,MAAM,EACb,GAAG,EAAE,SAAS,EACd,WAAW,CAAC,EAAE,MAAM,GACnB,MAAM,CA6BR"}
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A theme color at a given opacity, as `rgba(...)`.
|
|
3
|
+
*
|
|
4
|
+
* Themes are authored as hex, so a surface the design draws semi-transparent
|
|
5
|
+
* can't just be looked up — it has to be composed from the opaque token. Any
|
|
6
|
+
* alpha already on the token is multiplied in, so a token that is itself
|
|
7
|
+
* translucent doesn't get promoted.
|
|
8
|
+
*
|
|
9
|
+
* A color `colord` can't parse is returned untouched: a host may hand the theme
|
|
10
|
+
* something exotic, and a wrong color is worse than an un-dimmed one.
|
|
11
|
+
*/
|
|
12
|
+
export declare function withAlpha(color: string, alpha: number): string;
|
|
13
|
+
//# sourceMappingURL=withAlpha.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"withAlpha.d.ts","sourceRoot":"","sources":["../../../src/utils/withAlpha.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAU9D"}
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect-rn",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.11.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",
|
|
@@ -36,9 +36,11 @@
|
|
|
36
36
|
"license": "MIT",
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@shopify/restyle": "^2.4.5",
|
|
39
|
-
"@
|
|
40
|
-
"
|
|
41
|
-
"@funkit/
|
|
39
|
+
"@transak/ui-components-core": "0.5.0",
|
|
40
|
+
"colord": "2.10.0",
|
|
41
|
+
"@funkit/api-base": "7.3.0",
|
|
42
|
+
"@funkit/chains": "2.2.1",
|
|
43
|
+
"@funkit/connect-core": "4.3.0"
|
|
42
44
|
},
|
|
43
45
|
"peerDependencies": {
|
|
44
46
|
"@gorhom/bottom-sheet": ">=5",
|