@funkit/connect-rn 3.9.0 → 3.10.1
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 +35 -0
- package/dist/{chunk-PHUM52HD.js → chunk-4QKU6F5D.js} +49 -1
- package/dist/chunk-4QKU6F5D.js.map +7 -0
- package/dist/{chunk-FTD4HETU.js → chunk-THWTURYZ.js} +2 -2
- package/dist/clients/lighter.js +1 -1
- package/dist/clients/nado/withdrawalSubmit.d.ts.map +1 -1
- package/dist/clients/nado.js +8 -6
- package/dist/clients/nado.js.map +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2023 -977
- package/dist/index.js.map +4 -4
- package/dist/src/components/v2/AccountBalanceChip.d.ts +19 -0
- package/dist/src/components/v2/AccountBalanceChip.d.ts.map +1 -0
- package/dist/src/components/v2/AmountDisplay.d.ts +28 -0
- package/dist/src/components/v2/AmountDisplay.d.ts.map +1 -0
- package/dist/src/components/v2/NumPad.d.ts +14 -0
- package/dist/src/components/v2/NumPad.d.ts.map +1 -0
- package/dist/src/components/v2/QuickAmountsRow.d.ts +17 -0
- package/dist/src/components/v2/QuickAmountsRow.d.ts.map +1 -0
- package/dist/src/components/v2/RollingAmount.d.ts +20 -0
- package/dist/src/components/v2/RollingAmount.d.ts.map +1 -0
- package/dist/src/flow/DepositAmountStep.d.ts +12 -0
- package/dist/src/flow/DepositAmountStep.d.ts.map +1 -0
- package/dist/src/flow/DepositFlowContent.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/depositFlowConfig.d.ts +42 -0
- package/dist/src/flow/depositFlowConfig.d.ts.map +1 -1
- package/dist/src/haptics/HapticsContext.d.ts +8 -3
- package/dist/src/haptics/HapticsContext.d.ts.map +1 -1
- package/dist/src/haptics/hapticTap.d.ts +7 -1
- package/dist/src/haptics/hapticTap.d.ts.map +1 -1
- package/dist/src/hooks/useGuardedAmountInput.d.ts +29 -0
- package/dist/src/hooks/useGuardedAmountInput.d.ts.map +1 -0
- package/dist/src/screens/DepositAmountScreen.d.ts +47 -0
- package/dist/src/screens/DepositAmountScreen.d.ts.map +1 -0
- package/dist/src/transfer/fops.d.ts +5 -0
- package/dist/src/transfer/fops.d.ts.map +1 -1
- package/dist/src/transfer/hooks/useFops.d.ts.map +1 -1
- package/dist/src/transfer/hooks/useWithdrawalFops.d.ts.map +1 -1
- package/dist/src/utils/motion.d.ts +18 -0
- package/dist/src/utils/motion.d.ts.map +1 -1
- package/dist/src/utils/v2/amountGlyphs.d.ts +22 -0
- package/dist/src/utils/v2/amountGlyphs.d.ts.map +1 -0
- package/dist/src/withdrawal/useCryptoWithdrawalForm.d.ts.map +1 -1
- package/dist/src/withdrawal/useCryptoWithdrawalValidation.d.ts.map +1 -1
- package/dist/src/withdrawal/validation.d.ts +5 -1
- package/dist/src/withdrawal/validation.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/chunk-PHUM52HD.js.map +0 -7
- /package/dist/{chunk-FTD4HETU.js.map → chunk-THWTURYZ.js.map} +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
export interface AccountBalanceChipProps {
|
|
3
|
+
/** What the balance is, as the host names it (e.g. `Total cash`). */
|
|
4
|
+
label: string;
|
|
5
|
+
/** The formatted balance (e.g. `$366,715.12`). */
|
|
6
|
+
value: string;
|
|
7
|
+
/** A 32px avatar or app glyph. The SDK never fetches one itself. */
|
|
8
|
+
avatar?: ReactNode;
|
|
9
|
+
/** Links back out to the host context (e.g. the profile page). */
|
|
10
|
+
onPress?: () => void;
|
|
11
|
+
accessibilityLabel?: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Top-level account context in the deposit header: a label + balance pair with
|
|
15
|
+
* the host's avatar beside them. Everything shown is host-supplied — this is
|
|
16
|
+
* the integrator's app talking, not funkit data.
|
|
17
|
+
*/
|
|
18
|
+
export declare function AccountBalanceChip({ label, value, avatar, onPress, accessibilityLabel, }: AccountBalanceChipProps): import("react").JSX.Element;
|
|
19
|
+
//# sourceMappingURL=AccountBalanceChip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountBalanceChip.d.ts","sourceRoot":"","sources":["../../../../src/components/v2/AccountBalanceChip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKtC,MAAM,WAAW,uBAAuB;IACtC,qEAAqE;IACrE,KAAK,EAAE,MAAM,CAAA;IACb,kDAAkD;IAClD,KAAK,EAAE,MAAM,CAAA;IACb,oEAAoE;IACpE,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,kEAAkE;IAClE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B;AAID;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,KAAK,EACL,KAAK,EACL,MAAM,EACN,OAAO,EACP,kBAAkB,GACnB,EAAE,uBAAuB,+BA+CzB"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The largest row scale that keeps the glyphs within the gutters. Glyphs are
|
|
3
|
+
* laid out at 96pt and the whole row is scaled as one transform: the shrink
|
|
4
|
+
* itself animates on the same clock as the glyph slides, which per-glyph font
|
|
5
|
+
* sizes can't do (font size is a layout property and snaps).
|
|
6
|
+
*/
|
|
7
|
+
export declare function fitScale(measured: number, available: number): number;
|
|
8
|
+
export interface AmountDisplayProps {
|
|
9
|
+
/** The typed amount, or `''` for the placeholder. */
|
|
10
|
+
value: string;
|
|
11
|
+
/** Written before the number. */
|
|
12
|
+
prefix?: string;
|
|
13
|
+
/** Tints the amount, matching the message that replaces the balance line. */
|
|
14
|
+
hasError?: boolean;
|
|
15
|
+
/** Over-limit flash: yellow with a warm glow (stronger than {@link hasError}). */
|
|
16
|
+
hasWarning?: boolean;
|
|
17
|
+
accessibilityLabel: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* The amount, read-only and driven by the numpad — it looks like a field but
|
|
21
|
+
* isn't one, so tapping it must not open a keyboard.
|
|
22
|
+
*
|
|
23
|
+
* Each character is its own node so it can move on its own: digits and group
|
|
24
|
+
* separators grow up from the baseline into the number and shrink back out,
|
|
25
|
+
* while the placeholder lifts off the top instead.
|
|
26
|
+
*/
|
|
27
|
+
export declare function AmountDisplay({ value, prefix, hasError, hasWarning, accessibilityLabel, }: AmountDisplayProps): import("react").JSX.Element;
|
|
28
|
+
//# sourceMappingURL=AmountDisplay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AmountDisplay.d.ts","sourceRoot":"","sources":["../../../../src/components/v2/AmountDisplay.tsx"],"names":[],"mappings":"AAgHA;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAKpE;AAED,MAAM,WAAW,kBAAkB;IACjC,qDAAqD;IACrD,KAAK,EAAE,MAAM,CAAA;IACb,iCAAiC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,kFAAkF;IAClF,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,kBAAkB,EAAE,MAAM,CAAA;CAC3B;AAED;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,MAAY,EACZ,QAAgB,EAChB,UAAkB,EAClB,kBAAkB,GACnB,EAAE,kBAAkB,+BAoDpB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { NumpadKey } from '../../utils/numpadInput';
|
|
2
|
+
export interface NumPadProps {
|
|
3
|
+
onPressKey: (key: NumpadKey) => void;
|
|
4
|
+
/** The delete key carries a glyph, so its label can't come from the key. */
|
|
5
|
+
backspaceAccessibilityLabel: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The withdrawal amount keypad. Both dimensions come from the container, so
|
|
9
|
+
* the keys grow with the device rather than leaving a void above them.
|
|
10
|
+
*
|
|
11
|
+
* Emits keys rather than a value: `applyNumpadKey` owns the grammar.
|
|
12
|
+
*/
|
|
13
|
+
export declare const NumPad: import("react").MemoExoticComponent<({ onPressKey, backspaceAccessibilityLabel, }: NumPadProps) => import("react").JSX.Element>;
|
|
14
|
+
//# sourceMappingURL=NumPad.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NumPad.d.ts","sourceRoot":"","sources":["../../../../src/components/v2/NumPad.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAoDxD,MAAM,WAAW,WAAW;IAC1B,UAAU,EAAE,CAAC,GAAG,EAAE,SAAS,KAAK,IAAI,CAAA;IACpC,4EAA4E;IAC5E,2BAA2B,EAAE,MAAM,CAAA;CACpC;AAED;;;;;GAKG;AACH,eAAO,MAAM,MAAM,qFAGhB,WAAW,iCA8BZ,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface QuickAmountOption {
|
|
2
|
+
/** The amount the chip enters, as a decimal string (e.g. `'50'`). */
|
|
3
|
+
value: string;
|
|
4
|
+
/** What the chip shows (e.g. `'$50'`). */
|
|
5
|
+
label: string;
|
|
6
|
+
}
|
|
7
|
+
export interface QuickAmountsRowProps {
|
|
8
|
+
options: QuickAmountOption[];
|
|
9
|
+
onSelect: (value: string) => void;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* The recommended-amount shortcuts shown while the deposit amount is empty.
|
|
13
|
+
* Each chip takes an equal share of the row, so four presets fill the same
|
|
14
|
+
* width the submit button will occupy once an amount is typed.
|
|
15
|
+
*/
|
|
16
|
+
export declare const QuickAmountsRow: import("react").MemoExoticComponent<({ options, onSelect, }: QuickAmountsRowProps) => import("react").JSX.Element>;
|
|
17
|
+
//# sourceMappingURL=QuickAmountsRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuickAmountsRow.d.ts","sourceRoot":"","sources":["../../../../src/components/v2/QuickAmountsRow.tsx"],"names":[],"mappings":"AAMA,MAAM,WAAW,iBAAiB;IAChC,qEAAqE;IACrE,KAAK,EAAE,MAAM,CAAA;IACb,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,iBAAiB,EAAE,CAAA;IAC5B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CAClC;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,+DAGzB,oBAAoB,iCAgCrB,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { DepositAmountEntryConfig, DepositFlowCallbacks } from './depositFlowConfig';
|
|
2
|
+
/**
|
|
3
|
+
* Container for the V2 amount-entry screen: owns the typed amount, prices the
|
|
4
|
+
* fee from the configured rate and hands submission to the host. The payment
|
|
5
|
+
* rail behind the submit is not part of this step — `onSubmitAmount` is the
|
|
6
|
+
* seam it will attach to.
|
|
7
|
+
*/
|
|
8
|
+
export declare function DepositAmountStep({ config, callbacks, }: {
|
|
9
|
+
config: DepositAmountEntryConfig;
|
|
10
|
+
callbacks: DepositFlowCallbacks;
|
|
11
|
+
}): import("react").JSX.Element;
|
|
12
|
+
//# sourceMappingURL=DepositAmountStep.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DepositAmountStep.d.ts","sourceRoot":"","sources":["../../../src/flow/DepositAmountStep.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,wBAAwB,EACxB,oBAAoB,EACrB,MAAM,qBAAqB,CAAA;AAK5B;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,MAAM,EACN,SAAS,GACV,EAAE;IACD,MAAM,EAAE,wBAAwB,CAAA;IAChC,SAAS,EAAE,oBAAoB,CAAA;CAChC,+BAwEA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DepositFlowContent.d.ts","sourceRoot":"","sources":["../../../src/flow/DepositFlowContent.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAoC,MAAM,OAAO,CAAA;AAgCxE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"DepositFlowContent.d.ts","sourceRoot":"","sources":["../../../src/flow/DepositFlowContent.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAoC,MAAM,OAAO,CAAA;AAgCxE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAU5D,OAAO,KAAK,EAEV,oBAAoB,EACpB,iBAAiB,EAElB,MAAM,qBAAqB,CAAA;AAI5B,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AA6D/D;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,EAC1B,MAAM,EACN,OAAO,EACP,GAAG,EACH,eAAe,EACf,aAAa,EACb,SAAS,GACV,EAAE;IACD,MAAM,EAAE,iBAAiB,CAAA;IACzB,OAAO,EAAE,UAAU,GAAG,SAAS,CAAA;IAC/B,GAAG,EAAE,OAAO,CAAA;IACZ,eAAe,EAAE,eAAe,CAAA;IAChC,aAAa,EAAE,MAAM,IAAI,CAAA;IACzB,SAAS,EAAE,oBAAoB,CAAA;CAChC,GAAG,SAAS,CA2OZ"}
|
|
@@ -3,7 +3,7 @@ import { type ClipboardReader, type ClipboardWriter } from '../transfer/clipboar
|
|
|
3
3
|
import type { DepositFlowCallbacks, DepositFlowConfig } from './depositFlowConfig';
|
|
4
4
|
import { type BackdropBlurRenderer } from './FlowSheet';
|
|
5
5
|
import type { WithdrawalFlowCallbacks, WithdrawalFlowConfig } from './withdrawalFlowConfig';
|
|
6
|
-
export type FlowScreen = 'addMoney' | 'transfer' | 'swapped' | 'withdrawMethod' | 'withdrawAmount' | 'withdrawAddress' | 'withdrawReceiveToken' | 'withdrawComplete';
|
|
6
|
+
export type FlowScreen = 'depositAmount' | 'addMoney' | 'transfer' | 'swapped' | 'withdrawMethod' | 'withdrawAmount' | 'withdrawAddress' | 'withdrawReceiveToken' | 'withdrawComplete';
|
|
7
7
|
interface FunkitFlowContextValue {
|
|
8
8
|
/** Open the managed deposit flow at the Add money screen. */
|
|
9
9
|
beginDeposit: (config: DepositFlowConfig, callbacks?: DepositFlowCallbacks) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FunkitFlowProvider.d.ts","sourceRoot":"","sources":["../../../src/flow/FunkitFlowProvider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FunkitFlowProvider.d.ts","sourceRoot":"","sources":["../../../src/flow/FunkitFlowProvider.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,SAAS,EAMf,MAAM,OAAO,CAAA;AAId,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,eAAe,EAIrB,MAAM,uBAAuB,CAAA;AAE9B,OAAO,KAAK,EACV,oBAAoB,EACpB,iBAAiB,EAClB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,KAAK,oBAAoB,EAAa,MAAM,aAAa,CAAA;AAIlE,OAAO,KAAK,EACV,uBAAuB,EACvB,oBAAoB,EACrB,MAAM,wBAAwB,CAAA;AAE/B,MAAM,MAAM,UAAU,GAClB,eAAe,GACf,UAAU,GACV,UAAU,GACV,SAAS,GACT,gBAAgB,GAChB,gBAAgB,GAChB,iBAAiB,GACjB,sBAAsB,GACtB,kBAAkB,CAAA;AAoDtB,UAAU,sBAAsB;IAC9B,6DAA6D;IAC7D,YAAY,EAAE,CACZ,MAAM,EAAE,iBAAiB,EACzB,SAAS,CAAC,EAAE,oBAAoB,KAC7B,IAAI,CAAA;IACT,oEAAoE;IACpE,eAAe,EAAE,CACf,MAAM,EAAE,oBAAoB,EAC5B,SAAS,CAAC,EAAE,uBAAuB,KAChC,IAAI,CAAA;IACT,sBAAsB;IACtB,SAAS,EAAE,MAAM,IAAI,CAAA;CACtB;AAID,MAAM,WAAW,OAAO;IACtB,QAAQ,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAA;IACjC,IAAI,EAAE,MAAM,IAAI,CAAA;IAChB,6EAA6E;IAC7E,KAAK,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAA;IAC9B;;;;OAIG;IACH,KAAK,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAA;IAC9B,SAAS,EAAE,MAAM,IAAI,CAAA;CACtB;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,eAAwC,EACxC,kBAA8C,EAC9C,kBAAkB,GACnB,EAAE;IACD,QAAQ,EAAE,SAAS,CAAA;IACnB,uEAAuE;IACvE,eAAe,CAAC,EAAE,eAAe,CAAA;IACjC,4EAA4E;IAC5E,kBAAkB,CAAC,EAAE,eAAe,CAAA;IACpC,2EAA2E;IAC3E,kBAAkB,CAAC,EAAE,oBAAoB,CAAA;CAC1C,+BAmLA;AAID,wBAAgB,aAAa,IAAI,sBAAsB,CAMtD"}
|
|
@@ -42,6 +42,36 @@ export interface ChainOption {
|
|
|
42
42
|
*/
|
|
43
43
|
chainId?: number;
|
|
44
44
|
}
|
|
45
|
+
/**
|
|
46
|
+
* The V2 amount-first deposit surface (Fun Mobile MVP). Present on
|
|
47
|
+
* {@link DepositFlowConfig.amountEntry}, it opens the flow on the full-screen
|
|
48
|
+
* amount screen instead of the Add money method list. The payment rail behind
|
|
49
|
+
* the submit is not wired yet — submission lands on
|
|
50
|
+
* {@link DepositFlowCallbacks.onSubmitAmount}.
|
|
51
|
+
*/
|
|
52
|
+
export interface DepositAmountEntryConfig {
|
|
53
|
+
/** Fee charged on the entered amount, as a fraction (0.005 = 0.5%). */
|
|
54
|
+
feeRate: number;
|
|
55
|
+
/** Submit CTA label naming the rail (e.g. "Deposit with Apple Pay"). */
|
|
56
|
+
submitLabel: string;
|
|
57
|
+
/** Quick-amount presets in whole dollars; defaults to 10/20/50/100. */
|
|
58
|
+
quickAmountsUsd?: string[];
|
|
59
|
+
/** Hard input cap in dollars; omit when the source defines no limit. */
|
|
60
|
+
limitUsd?: string;
|
|
61
|
+
/** Brand glyph beside the title; the title stands alone without one. */
|
|
62
|
+
brandIcon?: ReactNode;
|
|
63
|
+
/** Badge on the fee line's leading side (e.g. an Apple Pay mark). */
|
|
64
|
+
methodBadge?: ReactNode;
|
|
65
|
+
/** Host account context in the header (label + balance + avatar). */
|
|
66
|
+
accountContext?: {
|
|
67
|
+
label: string;
|
|
68
|
+
/** The formatted balance (e.g. `$366,715.12`). */
|
|
69
|
+
value: string;
|
|
70
|
+
avatar?: ReactNode;
|
|
71
|
+
/** Links back out to the host context (e.g. the profile page). */
|
|
72
|
+
onPress?: () => void;
|
|
73
|
+
};
|
|
74
|
+
}
|
|
45
75
|
/**
|
|
46
76
|
* Data the managed deposit flow renders.
|
|
47
77
|
*
|
|
@@ -56,6 +86,11 @@ export interface ChainOption {
|
|
|
56
86
|
* `beginDeposit` ultimately takes just a target, like the web `beginCheckout`.
|
|
57
87
|
*/
|
|
58
88
|
export interface DepositFlowConfig {
|
|
89
|
+
/**
|
|
90
|
+
* Opt into the V2 amount-first deposit surface: the flow opens on the
|
|
91
|
+
* full-screen amount screen instead of the Add money method list.
|
|
92
|
+
*/
|
|
93
|
+
amountEntry?: DepositAmountEntryConfig;
|
|
59
94
|
/**
|
|
60
95
|
* Candidate target assets for the "Deposit to" row, following web's
|
|
61
96
|
* `FunkitCheckoutConfig.dynamicTargetAssetCandidates`. The active candidate is
|
|
@@ -97,5 +132,12 @@ export interface DepositFlowCallbacks {
|
|
|
97
132
|
onOpen?: () => void;
|
|
98
133
|
onClose?: () => void;
|
|
99
134
|
onCheckoutBlocked?: () => void;
|
|
135
|
+
/**
|
|
136
|
+
* V2 amount entry only: the user submitted `amountUsd` (a decimal string).
|
|
137
|
+
* The seam the payment rail will attach to; until then the host owns what
|
|
138
|
+
* happens next. The amount screen's submit CTA stays disabled until this is
|
|
139
|
+
* wired — without it a press would go nowhere.
|
|
140
|
+
*/
|
|
141
|
+
onSubmitAmount?: (amountUsd: string) => void;
|
|
100
142
|
}
|
|
101
143
|
//# sourceMappingURL=depositFlowConfig.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"depositFlowConfig.d.ts","sourceRoot":"","sources":["../../../src/flow/depositFlowConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,2BAA2B,EAC3B,2BAA2B,EAC3B,gBAAgB,EACjB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,KAAK,EACV,cAAc,EACd,gBAAgB,EACjB,MAAM,6BAA6B,CAAA;AAEpC,YAAY,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAA;AAEvE;;;;;GAKG;AACH,MAAM,MAAM,qBAAqB,GAAG,2BAA2B,GAC7D,IAAI,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,CAAA;AAE5C;;;;;;;;;;;;GAYG;AACH,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,2BAA2B,EAAE,GAAG,SAAS,EACrD,gBAAgB,EAAE,MAAM,GAAG,SAAS,GACnC,2BAA2B,GAAG,SAAS,CAczC;AAED;;;GAGG;AACH,MAAM,WAAW,WAAW;IAC1B,0DAA0D;IAC1D,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;IACnB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,iBAAiB;IAChC;;;;;OAKG;IACH,4BAA4B,CAAC,EAAE,2BAA2B,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ACH,MAAM,CAAC,EAAE,SAAS,CAAA;CACnB;AAED,yDAAyD;AACzD,MAAM,WAAW,oBAAoB;IACnC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAA;IAC9B;;;;;OAKG;IACH,cAAc,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAA;CAC7C"}
|
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
|
+
import { type HapticKind } from './hapticTap';
|
|
3
|
+
export type { HapticKind } from './hapticTap';
|
|
2
4
|
/**
|
|
3
5
|
* A short tactile tap confirming a discrete input, such as a keypad press.
|
|
6
|
+
* Called with `'error'` for refused input (deleting from empty, typing past a
|
|
7
|
+
* limit), which the default implementation answers with a heavier buzz.
|
|
4
8
|
*
|
|
5
9
|
* Taps are part of the design rather than a garnish, so the SDK provides them
|
|
6
10
|
* itself from the optional `react-native-haptic-feedback` peer — see
|
|
7
11
|
* {@link hapticTap}. Hosts on another module (`expo-haptics` in Expo Go), or
|
|
8
|
-
* wanting silence, pass their own through `FunkitProvider
|
|
12
|
+
* wanting silence, pass their own through `FunkitProvider` — one that ignores
|
|
13
|
+
* the kind still works, it just answers everything with the same tap.
|
|
9
14
|
*/
|
|
10
|
-
export type HapticFeedback = () => void | Promise<void>;
|
|
15
|
+
export type HapticFeedback = (kind?: HapticKind) => void | Promise<void>;
|
|
11
16
|
export declare function FunkitHapticsProvider({ hapticFeedback, children, }: {
|
|
12
17
|
hapticFeedback?: HapticFeedback;
|
|
13
18
|
children: ReactNode;
|
|
@@ -17,5 +22,5 @@ export declare function FunkitHapticsProvider({ hapticFeedback, children, }: {
|
|
|
17
22
|
* down with it, so a throw or a rejection is swallowed — the key still registers
|
|
18
23
|
* and the amount still changes.
|
|
19
24
|
*/
|
|
20
|
-
export declare function useHapticFeedback(): () => void;
|
|
25
|
+
export declare function useHapticFeedback(): (kind?: HapticKind) => void;
|
|
21
26
|
//# sourceMappingURL=HapticsContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HapticsContext.d.ts","sourceRoot":"","sources":["../../../src/haptics/HapticsContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAA0C,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"HapticsContext.d.ts","sourceRoot":"","sources":["../../../src/haptics/HapticsContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAA0C,MAAM,OAAO,CAAA;AAE9E,OAAO,EAAE,KAAK,UAAU,EAAa,MAAM,aAAa,CAAA;AAGxD,YAAY,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAE7C;;;;;;;;;;GAUG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,IAAI,CAAC,EAAE,UAAU,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;AAIxE,wBAAgB,qBAAqB,CAAC,EACpC,cAA0B,EAC1B,QAAQ,GACT,EAAE;IACD,cAAc,CAAC,EAAE,cAAc,CAAA;IAC/B,QAAQ,EAAE,SAAS,CAAA;CACpB,+BAMA;AAMD;;;;GAIG;AACH,wBAAgB,iBAAiB,IAAI,CAAC,IAAI,CAAC,EAAE,UAAU,KAAK,IAAI,CA0B/D"}
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What a haptic marks: `tap` confirms a keypress landing, `error` answers
|
|
3
|
+
* refused input (deleting from empty, typing past the limit) with a heavier,
|
|
4
|
+
* unmistakably-negative buzz.
|
|
5
|
+
*/
|
|
6
|
+
export type HapticKind = 'tap' | 'error';
|
|
1
7
|
/**
|
|
2
8
|
* Default haptics: lazily loads the optional `react-native-haptic-feedback`
|
|
3
9
|
* peer and taps through it. A host without it taps silently; one that wants a
|
|
@@ -9,5 +15,5 @@
|
|
|
9
15
|
* reject, and skips it at resolution rather than failing the bundle. It also
|
|
10
16
|
* keeps the native module unevaluated until a tap actually happens.
|
|
11
17
|
*/
|
|
12
|
-
export declare function hapticTap(): Promise<void>;
|
|
18
|
+
export declare function hapticTap(kind?: HapticKind): Promise<void>;
|
|
13
19
|
//# sourceMappingURL=hapticTap.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hapticTap.d.ts","sourceRoot":"","sources":["../../../src/haptics/hapticTap.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hapticTap.d.ts","sourceRoot":"","sources":["../../../src/haptics/hapticTap.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,MAAM,MAAM,UAAU,GAAG,KAAK,GAAG,OAAO,CAAA;AASxC;;;;;;;;;;GAUG;AACH,wBAAsB,SAAS,CAAC,IAAI,GAAE,UAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,CAIvE"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type NumpadKey } from '../utils/numpadInput';
|
|
2
|
+
/**
|
|
3
|
+
* An amount screen's input policy, separate from its layout. Every way a value
|
|
4
|
+
* enters — a numpad key or a quick-amount chip — commits through `commitInput`,
|
|
5
|
+
* so the source's hard cap is enforced in exactly one place. Input the policy
|
|
6
|
+
* refuses — deleting from zero, or typing past `limitUsd` — answers with a
|
|
7
|
+
* side-to-side shake, a brief warning tint and a haptic instead of changing
|
|
8
|
+
* the value; a zero typed onto zero is a no-op that swells to acknowledge it.
|
|
9
|
+
*/
|
|
10
|
+
export declare function useGuardedAmountInput({ input, onChangeInput, limitUsd, }: {
|
|
11
|
+
input: string;
|
|
12
|
+
onChangeInput: (input: string) => void;
|
|
13
|
+
/** Hard input cap in dollars; omit when the source defines no limit. */
|
|
14
|
+
limitUsd?: string;
|
|
15
|
+
}): {
|
|
16
|
+
hasWarning: boolean;
|
|
17
|
+
feedbackStyle: import("react-native-reanimated/lib/typescript/hook/commonTypes").AnimatedStyleHandle<{
|
|
18
|
+
transform: ({
|
|
19
|
+
translateX: number;
|
|
20
|
+
scale?: undefined;
|
|
21
|
+
} | {
|
|
22
|
+
scale: number;
|
|
23
|
+
translateX?: undefined;
|
|
24
|
+
})[];
|
|
25
|
+
}>;
|
|
26
|
+
commitInput: (next: string) => void;
|
|
27
|
+
handleNumpadKey: (key: NumpadKey) => void;
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=useGuardedAmountInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGuardedAmountInput.d.ts","sourceRoot":"","sources":["../../../src/hooks/useGuardedAmountInput.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,KAAK,SAAS,EAAkB,MAAM,sBAAsB,CAAA;AAmBrE;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,KAAK,EACL,aAAa,EACb,QAAQ,GACT,EAAE;IACD,KAAK,EAAE,MAAM,CAAA;IACb,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACtC,wEAAwE;IACxE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;;;;;;;;;;;wBAgDU,MAAM;2BAYP,SAAS;EAsBlB"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { type AccountBalanceChipProps } from '../components/v2/AccountBalanceChip';
|
|
3
|
+
import { type QuickAmountOption } from '../components/v2/QuickAmountsRow';
|
|
4
|
+
/**
|
|
5
|
+
* The fee split around its number, so the words hold still while the digits
|
|
6
|
+
* roll: `{ before: '', amount: '$0.50', after: ' fee' }` in English; locales
|
|
7
|
+
* that write the word first fill `before` instead.
|
|
8
|
+
*/
|
|
9
|
+
export interface FeeLabelParts {
|
|
10
|
+
before: string;
|
|
11
|
+
amount: string;
|
|
12
|
+
after: string;
|
|
13
|
+
}
|
|
14
|
+
export interface DepositAmountScreenProps {
|
|
15
|
+
title: string;
|
|
16
|
+
/** Brand glyph beside the title (host-supplied). */
|
|
17
|
+
brandIcon?: ReactNode;
|
|
18
|
+
/** Host account context in the header's trailing corner. */
|
|
19
|
+
accountContext?: AccountBalanceChipProps;
|
|
20
|
+
/** The typed dollar amount; held by the caller so it survives navigation. */
|
|
21
|
+
input: string;
|
|
22
|
+
onChangeInput: (input: string) => void;
|
|
23
|
+
/** Recommended amounts shown while the input is empty. */
|
|
24
|
+
quickAmounts?: QuickAmountOption[];
|
|
25
|
+
/** Hard input cap in dollars — the payment source's limit. */
|
|
26
|
+
limitUsd?: string;
|
|
27
|
+
/** The computed fee for the entered amount, split around the number. */
|
|
28
|
+
fee?: FeeLabelParts;
|
|
29
|
+
/** Badge on the fee line's leading side (e.g. an Apple Pay mark). */
|
|
30
|
+
methodBadge?: ReactNode;
|
|
31
|
+
submitLabel: string;
|
|
32
|
+
canSubmit: boolean;
|
|
33
|
+
onSubmit: () => void;
|
|
34
|
+
amountAccessibilityLabel: string;
|
|
35
|
+
backspaceAccessibilityLabel: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* The V2 deposit surface: a full-height sheet where the amount is the whole
|
|
39
|
+
* screen. Empty shows recommended-amount chips; a typed value swaps them for
|
|
40
|
+
* the fee line and the submit button.
|
|
41
|
+
*
|
|
42
|
+
* Input the screen refuses — deleting from empty, or typing past the source's
|
|
43
|
+
* limit — answers with a side-to-side shake, a brief warning tint and a haptic
|
|
44
|
+
* instead of changing the value.
|
|
45
|
+
*/
|
|
46
|
+
export declare function DepositAmountScreen({ title, brandIcon, accountContext, input, onChangeInput, quickAmounts, limitUsd, fee, methodBadge, submitLabel, canSubmit, onSubmit, amountAccessibilityLabel, backspaceAccessibilityLabel, }: DepositAmountScreenProps): import("react").JSX.Element;
|
|
47
|
+
//# sourceMappingURL=DepositAmountScreen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DepositAmountScreen.d.ts","sourceRoot":"","sources":["../../../src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"}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { type ExchangeRates, type SwappedFormOfPayment } from '@funkit/api-base';
|
|
2
2
|
import type { TFunction } from 'i18next';
|
|
3
|
+
/**
|
|
4
|
+
* Hide Apple Pay where it can't run — `/fops` keys off country, not OS.
|
|
5
|
+
* Allowlisted so an unknown platform hides it rather than dead-ending the user.
|
|
6
|
+
*/
|
|
7
|
+
export declare function excludeUnsupportedPlatformFops(fops: SwappedFormOfPayment[]): SwappedFormOfPayment[];
|
|
3
8
|
/** A cash-tab payment row, derived from a Swapped form of payment. */
|
|
4
9
|
export interface FopRow {
|
|
5
10
|
/** Stable id passed back to `onSelectFop`. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fops.d.ts","sourceRoot":"","sources":["../../../src/transfer/fops.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAElB,KAAK,oBAAoB,EAC1B,MAAM,kBAAkB,CAAA;AAEzB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"fops.d.ts","sourceRoot":"","sources":["../../../src/transfer/fops.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAElB,KAAK,oBAAoB,EAC1B,MAAM,kBAAkB,CAAA;AAEzB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAGxC;;;GAGG;AACH,wBAAgB,8BAA8B,CAC5C,IAAI,EAAE,oBAAoB,EAAE,GAC3B,oBAAoB,EAAE,CAKxB;AAED,sEAAsE;AACtE,MAAM,WAAW,MAAM;IACrB,8CAA8C;IAC9C,EAAE,EAAE,MAAM,CAAA;IACV,8CAA8C;IAC9C,IAAI,EAAE,MAAM,CAAA;IACZ,mDAAmD;IACnD,QAAQ,EAAE,MAAM,CAAA;IAChB;;;OAGG;IACH,QAAQ,EAAE,OAAO,CAAA;CAClB;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,CACvB,CAAC,EAAE,SAAS,EACZ,IAAI,EAAE,oBAAoB,EAAE,EAC5B,aAAa,CAAC,EAAE,aAAa,GAC5B,MAAM,EAAE,CAgBV;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAC/B,CAAC,EAAE,SAAS,EACZ,IAAI,EAAE,oBAAoB,EAAE,GAC3B,MAAM,EAAE,CAUV"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFops.d.ts","sourceRoot":"","sources":["../../../../src/transfer/hooks/useFops.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,oBAAoB,EAE1B,MAAM,kBAAkB,CAAA;AAoBzB,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAA;
|
|
1
|
+
{"version":3,"file":"useFops.d.ts","sourceRoot":"","sources":["../../../../src/transfer/hooks/useFops.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,oBAAoB,EAE1B,MAAM,kBAAkB,CAAA;AAoBzB,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAA;AAsBzE,MAAM,WAAW,aAAa;IAC5B;;;OAGG;IACH,cAAc,EAAE,qBAAqB,GAAG,SAAS,CAAA;IACjD,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,WAAW,aAAa;IAC5B;;;;OAIG;IACH,SAAS,EAAE,oBAAoB,EAAE,CAAA;IACjC,iFAAiF;IACjF,WAAW,EAAE,oBAAoB,EAAE,CAAA;IACnC,SAAS,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,OAAO,CAAA;IACnB,+EAA+E;IAC/E,OAAO,EAAE,OAAO,CAAA;IAChB,gEAAgE;IAChE,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,yDAAyD;IACzD,gBAAgB,EAAE,OAAO,CAAA;IACzB;;;;OAIG;IACH,UAAU,EAAE,OAAO,CAAA;CACpB;AAED;;;;;;;;GAQG;AACH,wBAAgB,OAAO,CAAC,EACtB,cAAc,EACd,gBAAgB,EAChB,OAAc,GACf,EAAE,aAAa,GAAG,aAAa,CA2B/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWithdrawalFops.d.ts","sourceRoot":"","sources":["../../../../src/transfer/hooks/useWithdrawalFops.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,oBAAoB,EAE1B,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAGL,KAAK,qBAAqB,EAU3B,MAAM,sBAAsB,CAAA;AAO7B,OAAO,KAAK,EACV,oBAAoB,EAErB,MAAM,iCAAiC,CAAA;
|
|
1
|
+
{"version":3,"file":"useWithdrawalFops.d.ts","sourceRoot":"","sources":["../../../../src/transfer/hooks/useWithdrawalFops.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,oBAAoB,EAE1B,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAGL,KAAK,qBAAqB,EAU3B,MAAM,sBAAsB,CAAA;AAO7B,OAAO,KAAK,EACV,oBAAoB,EAErB,MAAM,iCAAiC,CAAA;AASxC;iDACiD;AACjD,eAAO,MAAM,uBAAuB,iBAAiB,CAAA;AAErD,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,oBAAoB,CAAA;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,IAAI,EAAE,oBAAoB,EAAE,CAAA;IAC5B,SAAS,EAAE,OAAO,CAAA;IAClB,OAAO,EAAE,OAAO,CAAA;IAChB;;;;OAIG;IACH,yBAAyB,EAAE,OAAO,CAAA;IAClC,8EAA8E;IAC9E,qBAAqB,EAAE,OAAO,CAAA;IAC9B,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,gFAAgF;IAChF,mBAAmB,EAAE,OAAO,CAAA;IAC5B,gFAAgF;IAChF,KAAK,EAAE,qBAAqB,CAAA;CAC7B;AAoND;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,MAAM,EACN,OAAc,GACf,EAAE,uBAAuB,GAAG,uBAAuB,CA+HnD"}
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
import { LinearTransition } from 'react-native-reanimated';
|
|
1
2
|
export declare const MOTION_DURATION = 180;
|
|
2
3
|
export declare const MOTION_EASING: import("react-native-reanimated").EasingFunctionFactory;
|
|
4
|
+
/** The clock as a `withTiming` config, for animations driven outside keyframes. */
|
|
5
|
+
export declare const MOTION_TIMING: {
|
|
6
|
+
duration: number;
|
|
7
|
+
easing: import("react-native-reanimated").EasingFunctionFactory;
|
|
8
|
+
};
|
|
9
|
+
export declare const GLYPH_LAYOUT: LinearTransition;
|
|
10
|
+
export declare const DIGIT_ENTER_SCALE = 0.5;
|
|
11
|
+
export declare const DIGIT_TRAVEL_RATIO = 0.4;
|
|
12
|
+
export declare const DIGIT_STAGGER = 40;
|
|
13
|
+
/**
|
|
14
|
+
* The digit mount/unmount pair for a line box `travel` points of rise. `delay`
|
|
15
|
+
* holds the entrance back for staggered bulk mounts; exits always run at once.
|
|
16
|
+
*/
|
|
17
|
+
export declare function digitKeyframes(travel: number, delay?: number): {
|
|
18
|
+
entering: import("react-native-reanimated").ReanimatedKeyframe;
|
|
19
|
+
exiting: import("react-native-reanimated").ReanimatedKeyframe;
|
|
20
|
+
};
|
|
3
21
|
//# sourceMappingURL=motion.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"motion.d.ts","sourceRoot":"","sources":["../../../src/utils/motion.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"motion.d.ts","sourceRoot":"","sources":["../../../src/utils/motion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAI5E,eAAO,MAAM,eAAe,MAAM,CAAA;AAClC,eAAO,MAAM,aAAa,yDAAkC,CAAA;AAC5D,mFAAmF;AACnF,eAAO,MAAM,aAAa;;;CAGzB,CAAA;AAID,eAAO,MAAM,YAAY,kBACyC,CAAA;AAKlE,eAAO,MAAM,iBAAiB,MAAM,CAAA;AACpC,eAAO,MAAM,kBAAkB,MAAM,CAAA;AAIrC,eAAO,MAAM,aAAa,KAAK,CAAA;AAE/B;;;GAGG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,SAAI;;;EAwBvD"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/** What a character in the amount is, which is what decides how it moves. */
|
|
2
|
+
export type AmountGlyphKind = 'prefix' | 'placeholder' | 'digit' | 'separator';
|
|
3
|
+
export interface AmountGlyph {
|
|
4
|
+
/** Identity across renders: what mounts is what animates in. */
|
|
5
|
+
key: string;
|
|
6
|
+
char: string;
|
|
7
|
+
kind: AmountGlyphKind;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* The amount split into the characters that animate independently.
|
|
11
|
+
*
|
|
12
|
+
* Keys are what mount and unmount, so they decide what animates. Digits (and
|
|
13
|
+
* the decimal point) are keyed by their position among themselves, skipping
|
|
14
|
+
* group separators — so `555 → 5,555` keeps every digit's identity and only
|
|
15
|
+
* mounts the typed digit. A separator's key carries its slot AND the integer
|
|
16
|
+
* digit count, so growing the integer part remounts every comma: commas
|
|
17
|
+
* dissolve and reappear at their new slots rather than sliding sideways through
|
|
18
|
+
* the digits (they sit at grid positions, not in the digit stream). The
|
|
19
|
+
* fraction is not in that count — typing cents leaves the commas where they are.
|
|
20
|
+
*/
|
|
21
|
+
export declare function amountGlyphs(value: string, prefix: string): AmountGlyph[];
|
|
22
|
+
//# sourceMappingURL=amountGlyphs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"amountGlyphs.d.ts","sourceRoot":"","sources":["../../../../src/utils/v2/amountGlyphs.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,aAAa,GAAG,OAAO,GAAG,WAAW,CAAA;AAE9E,MAAM,WAAW,WAAW;IAC1B,gEAAgE;IAChE,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,eAAe,CAAA;CACtB;AAID;;;;;;;;;;;GAWG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,WAAW,EAAE,CAqCzE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCryptoWithdrawalForm.d.ts","sourceRoot":"","sources":["../../../src/withdrawal/useCryptoWithdrawalForm.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,0BAA0B,EAKhC,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"useCryptoWithdrawalForm.d.ts","sourceRoot":"","sources":["../../../src/withdrawal/useCryptoWithdrawalForm.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,0BAA0B,EAKhC,MAAM,sBAAsB,CAAA;AAK7B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAA;AAWxE,OAAO,EAAE,KAAK,kBAAkB,EAAyB,MAAM,cAAc,CAAA;AAmB7E,2DAA2D;AAC3D,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E;;;;;;;;GAQG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,MAAM,EACN,mBAAmB,EACnB,oBAA2B,GAC5B,EAAE;IACD,MAAM,EAAE,oBAAoB,CAAA;IAC5B;;;OAGG;IACH,mBAAmB,EAAE,MAAM,CAAA;IAC3B,uDAAuD;IACvD,oBAAoB,CAAC,EAAE,OAAO,CAAA;CAC/B;;;;;;;;;;IAoJG;;;;OAIG;0BACmB,MAAM;;;;;;;;;IA0B5B;;;;OAIG;;IAGH,qDAAqD;;IAErD,qEAAqE;;IAIrE,kFAAkF;;IAElF;;;;OAIG;;;;IAWH,6EAA6E;;;;;;;;IAS7E;;;OAGG;;;;;;;;;;;EAmBN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCryptoWithdrawalValidation.d.ts","sourceRoot":"","sources":["../../../src/withdrawal/useCryptoWithdrawalValidation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,0BAA0B,EAEhC,MAAM,sBAAsB,CAAA;AAE7B,OAAO,KAAK,EACV,oBAAoB,EACpB,eAAe,EAChB,MAAM,8BAA8B,CAAA;AAIrC,OAAO,EACL,KAAK,kBAAkB,EAIxB,MAAM,cAAc,CAAA;AAErB,MAAM,WAAW,0BAA0B;IACzC,oEAAoE;IACpE,sBAAsB,EAAE,OAAO,CAAA;IAC/B,gBAAgB,EAAE,0BAA0B,CAAA;IAC5C,8EAA8E;IAC9E,UAAU,EAAE,kBAAkB,GAAG,SAAS,CAAA;CAC3C;AAED;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,EAC5C,MAAM,EACN,WAAW,EACX,gBAAgB,EAChB,MAAM,EACN,SAAS,EACT,OAAO,GACR,EAAE;IACD,MAAM,EAAE,oBAAoB,CAAA;IAC5B,WAAW,EAAE,eAAe,CAAA;IAC5B,gBAAgB,EAAE,eAAe,GAAG,SAAS,CAAA;IAC7C,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,GAAG,SAAS,CAAA;CAC5B,GAAG,0BAA0B,
|
|
1
|
+
{"version":3,"file":"useCryptoWithdrawalValidation.d.ts","sourceRoot":"","sources":["../../../src/withdrawal/useCryptoWithdrawalValidation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,0BAA0B,EAEhC,MAAM,sBAAsB,CAAA;AAE7B,OAAO,KAAK,EACV,oBAAoB,EACpB,eAAe,EAChB,MAAM,8BAA8B,CAAA;AAIrC,OAAO,EACL,KAAK,kBAAkB,EAIxB,MAAM,cAAc,CAAA;AAErB,MAAM,WAAW,0BAA0B;IACzC,oEAAoE;IACpE,sBAAsB,EAAE,OAAO,CAAA;IAC/B,gBAAgB,EAAE,0BAA0B,CAAA;IAC5C,8EAA8E;IAC9E,UAAU,EAAE,kBAAkB,GAAG,SAAS,CAAA;CAC3C;AAED;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,EAC5C,MAAM,EACN,WAAW,EACX,gBAAgB,EAChB,MAAM,EACN,SAAS,EACT,OAAO,GACR,EAAE;IACD,MAAM,EAAE,oBAAoB,CAAA;IAC5B,WAAW,EAAE,eAAe,CAAA;IAC5B,gBAAgB,EAAE,eAAe,GAAG,SAAS,CAAA;IAC7C,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,GAAG,SAAS,CAAA;CAC5B,GAAG,0BAA0B,CA4C7B"}
|
|
@@ -29,12 +29,16 @@ export declare function validateAmount({ config, sourceToken, sourceTokenUsdPric
|
|
|
29
29
|
/**
|
|
30
30
|
* A same-chain, same-token transfer back to the sending wallet. Relay rejects
|
|
31
31
|
* these with a generic error, so name the reason before quoting.
|
|
32
|
+
*
|
|
33
|
+
* Relay rail only: on a venue rail the balance sits in the venue's account, not
|
|
34
|
+
* the wallet, so the same combination is a real withdrawal.
|
|
32
35
|
*/
|
|
33
|
-
export declare function isNoOpSelfWithdrawal({ recipientAddress, walletAddress, sourceToken, destinationToken, }: {
|
|
36
|
+
export declare function isNoOpSelfWithdrawal({ recipientAddress, walletAddress, sourceToken, destinationToken, isVenueRail, }: {
|
|
34
37
|
recipientAddress: string;
|
|
35
38
|
walletAddress: string;
|
|
36
39
|
sourceToken: WithdrawalToken;
|
|
37
40
|
destinationToken: WithdrawalToken | undefined;
|
|
41
|
+
isVenueRail: boolean;
|
|
38
42
|
}): boolean;
|
|
39
43
|
/**
|
|
40
44
|
* Order is a faithful port of web's `getWithdrawButtonText`: the most specific
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/withdrawal/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,0BAA0B,EAMhC,MAAM,sBAAsB,CAAA;AAE7B,OAAO,KAAK,EACV,oBAAoB,EACpB,eAAe,EAChB,MAAM,8BAA8B,CAAA;AAMrC;;;;;;GAMG;AACH,MAAM,MAAM,kBAAkB,GAC1B,iBAAiB,GACjB,uBAAuB,GACvB,0BAA0B,GAC1B,cAAc,GACd,cAAc,GACd,oBAAoB,GACpB,mBAAmB,CAAA;AAEvB;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,EAC7B,MAAM,EACN,WAAW,EACX,mBAAmB,EACnB,mBAAmB,EACnB,MAAM,EACN,OAAO,GACR,EAAE;IACD,MAAM,EAAE,IAAI,CACV,oBAAoB,EAClB,wBAAwB,GACxB,qBAAqB,GACrB,qBAAqB,GACrB,wBAAwB,CAC3B,CAAA;IACD,WAAW,EAAE,eAAe,CAAA;IAC5B,0DAA0D;IAC1D,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,4EAA4E;IAC5E,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,GAAG,SAAS,CAAA;CAC5B,GAAG,0BAA0B,CAmC7B;AAED
|
|
1
|
+
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/withdrawal/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,0BAA0B,EAMhC,MAAM,sBAAsB,CAAA;AAE7B,OAAO,KAAK,EACV,oBAAoB,EACpB,eAAe,EAChB,MAAM,8BAA8B,CAAA;AAMrC;;;;;;GAMG;AACH,MAAM,MAAM,kBAAkB,GAC1B,iBAAiB,GACjB,uBAAuB,GACvB,0BAA0B,GAC1B,cAAc,GACd,cAAc,GACd,oBAAoB,GACpB,mBAAmB,CAAA;AAEvB;;;;;;;GAOG;AACH,wBAAgB,c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E;IACD,MAAM,EAAE,MAAM,CAAA;IACd,cAAc,EAAE,MAAM,CAAA;IACtB,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAA;CAC7B,GAAG,OAAO,CAiBV"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect-rn",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.10.1",
|
|
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,9 @@
|
|
|
36
36
|
"license": "MIT",
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@shopify/restyle": "^2.4.5",
|
|
39
|
-
"@funkit/api-base": "7.1.2",
|
|
40
39
|
"@funkit/chains": "2.2.0",
|
|
41
|
-
"@funkit/
|
|
40
|
+
"@funkit/api-base": "7.2.1",
|
|
41
|
+
"@funkit/connect-core": "4.2.0"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"@gorhom/bottom-sheet": ">=5",
|