@funkit/connect-rn 3.5.0 → 3.6.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 +36 -0
- package/dist/chunk-BNWA4HKO.js +1217 -0
- package/dist/chunk-BNWA4HKO.js.map +7 -0
- package/dist/clients/lighter/index.d.ts +5 -0
- package/dist/clients/lighter/index.d.ts.map +1 -0
- package/dist/clients/lighter/lighterFastWithdrawal.d.ts +42 -0
- package/dist/clients/lighter/lighterFastWithdrawal.d.ts.map +1 -0
- package/dist/clients/lighter/lighterWithdrawalConfig.d.ts +70 -0
- package/dist/clients/lighter/lighterWithdrawalConfig.d.ts.map +1 -0
- package/dist/clients/lighter/useLighterUnstakedFee.d.ts +15 -0
- package/dist/clients/lighter/useLighterUnstakedFee.d.ts.map +1 -0
- package/dist/clients/lighter/useLighterWithdrawal.d.ts +21 -0
- package/dist/clients/lighter/useLighterWithdrawal.d.ts.map +1 -0
- package/dist/clients/lighter/useLighterWithdrawalMethods.d.ts +29 -0
- package/dist/clients/lighter/useLighterWithdrawalMethods.d.ts.map +1 -0
- package/dist/clients/lighter.d.ts +1 -0
- package/dist/clients/lighter.js +323 -0
- package/dist/clients/lighter.js.map +7 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5455 -6228
- package/dist/index.js.map +4 -4
- package/dist/src/components/WithdrawFeeSummary.d.ts +7 -1
- package/dist/src/components/WithdrawFeeSummary.d.ts.map +1 -1
- package/dist/src/flow/DepositFlowContent.d.ts +19 -0
- package/dist/src/flow/DepositFlowContent.d.ts.map +1 -0
- package/dist/src/flow/FunkitFlowProvider.d.ts +8 -0
- package/dist/src/flow/FunkitFlowProvider.d.ts.map +1 -1
- package/dist/src/flow/WithdrawalFlowContent.d.ts +18 -0
- package/dist/src/flow/WithdrawalFlowContent.d.ts.map +1 -0
- package/dist/src/flow/useCopiedToast.d.ts +18 -0
- package/dist/src/flow/useCopiedToast.d.ts.map +1 -0
- package/dist/src/flow/withdrawalFlowConfig.d.ts +39 -0
- package/dist/src/flow/withdrawalFlowConfig.d.ts.map +1 -1
- package/dist/src/identity/IdentityContext.d.ts +12 -2
- package/dist/src/identity/IdentityContext.d.ts.map +1 -1
- package/dist/src/screens/SelectSourceTokenScreen.d.ts +16 -0
- package/dist/src/screens/SelectSourceTokenScreen.d.ts.map +1 -0
- package/dist/src/screens/WithdrawCryptoForm.d.ts +12 -1
- package/dist/src/screens/WithdrawCryptoForm.d.ts.map +1 -1
- package/dist/src/swapped/SwappedScreen.d.ts.map +1 -1
- package/dist/src/swapped/SwappedScreenShell.d.ts +2 -1
- package/dist/src/swapped/SwappedScreenShell.d.ts.map +1 -1
- package/dist/src/swapped/SwappedWithdrawScreen.d.ts.map +1 -1
- package/dist/src/withdrawal/flatFee.d.ts +9 -0
- package/dist/src/withdrawal/flatFee.d.ts.map +1 -0
- package/dist/src/withdrawal/useCryptoWithdrawalExecution.d.ts +2 -2
- package/dist/src/withdrawal/useCryptoWithdrawalExecution.d.ts.map +1 -1
- package/dist/src/withdrawal/validation.d.ts +1 -1
- package/dist/src/withdrawal/validation.d.ts.map +1 -1
- package/package.json +6 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,41 @@
|
|
|
1
1
|
# @funkit/connect-rn
|
|
2
2
|
|
|
3
|
+
## 3.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- bb62bf9: `@funkit/connect-rn/clients/lighter` exports `useLighterWithdrawal`, which returns the ready Fast withdrawal method to hand to `beginWithdrawal`.
|
|
8
|
+
- 1c78322: Lighter Fast withdrawals: USDC Perps out of the user's Lighter L2 account to any supported chain.
|
|
9
|
+
- 1cc26d5: Lighter Fast withdrawals now apply and display the unstaked fee for users below the staking threshold.
|
|
10
|
+
- 4f94ba7: Withdrawal flows accept host-supplied methods via `WithdrawalFlowConfig.methods`, and `@funkit/connect-rn/clients/lighter` carries Lighter's withdrawal configuration.
|
|
11
|
+
- 4d46db3: `@funkit/connect-rn/clients/lighter` exports `useLighterWithdrawalMethods`, which resolves a Lighter account's Fast and Native Bridge withdrawal rows.
|
|
12
|
+
- a381a6a: Withdrawal methods can declare a flat fee taken off the amount before quoting, and a fee billed as source-chain gas that lands in the summary's network cost.
|
|
13
|
+
- f9953fc: The crypto withdrawal form now lets the user pick between the source tokens the host configured.
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- e150c20: Log the Swapped embed's full flow lifecycle, matching the web SDK's coverage.
|
|
18
|
+
- cb1caa9: No consumer-facing changes.
|
|
19
|
+
- 2147ad7: No consumer-facing changes.
|
|
20
|
+
- 90be596: No consumer-facing changes.
|
|
21
|
+
- d846615: Fix the withdrawal recipient shortcut filling the payer's identifier instead of the connected wallet address.
|
|
22
|
+
- 3a6351a: The withdrawal recipient shortcut no longer offers the zero address.
|
|
23
|
+
- a6cc332: Renamed `toWithdrawalExecutionErrorCode` to `toWalletExecutionErrorCode` and its `WithdrawalExecutionErrorCode` type to `WalletExecutionErrorCode`.
|
|
24
|
+
|
|
25
|
+
Migration: rename the import — the codes (`insufficient-gas`, `switch-chain`, `generic`) and behavior are unchanged.
|
|
26
|
+
|
|
27
|
+
- Updated dependencies [b361db0]
|
|
28
|
+
- Updated dependencies [332d186]
|
|
29
|
+
- Updated dependencies [aafdbba]
|
|
30
|
+
- Updated dependencies [c68c3d6]
|
|
31
|
+
- Updated dependencies [d2336bb]
|
|
32
|
+
- Updated dependencies [35b64db]
|
|
33
|
+
- Updated dependencies [a5c5bed]
|
|
34
|
+
- Updated dependencies [86b10f0]
|
|
35
|
+
- Updated dependencies [a6cc332]
|
|
36
|
+
- Updated dependencies [3a6351a]
|
|
37
|
+
- @funkit/connect-core@3.0.0
|
|
38
|
+
|
|
3
39
|
## 3.5.0
|
|
4
40
|
|
|
5
41
|
### Minor Changes
|