@funkit/connect 12.22.1 → 12.23.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 +31 -0
- package/dist/clients/{chunk-HGLDKRSQ.js → chunk-35XAIUH6.js} +80 -0
- package/dist/clients/{chunk-Y2O77SJO.js → chunk-55LEL7SW.js} +1 -1
- package/dist/clients/{chunk-5JVG4MS2.js → chunk-GQINBV24.js} +1 -1
- package/dist/clients/{chunk-S4SMCBQ4.js → chunk-HEOTAER5.js} +6 -2
- package/dist/clients/{chunk-T4Q43DNC.js → chunk-IDYAC2RY.js} +1 -1
- package/dist/clients/{chunk-UBZOARBX.js → chunk-JBJ5FEIA.js} +2 -2
- package/dist/clients/{chunk-R7I5OO6C.js → chunk-QS3S2PXZ.js} +1 -1
- package/dist/clients/fanatics.js +2 -2
- package/dist/clients/internal/nado/withdrawalCallback.js +3 -3
- package/dist/clients/internal/nado/withdrawalErrors.js +2 -2
- package/dist/clients/internal/nado/withdrawalForm.js +5 -5
- package/dist/clients/internal/nado/withdrawalStatus.js +3 -3
- package/dist/clients/lighter.js +5 -5
- package/dist/clients/mallard.js +4 -4
- package/dist/clients/nado.js +3 -3
- package/dist/clients/polymarket/createPolymarketDepositConfig.js +2 -2
- package/dist/clients/polymarket/index.js +2 -2
- package/dist/clients/polymarket/polymarket.d.ts +27 -0
- package/dist/clients/polymarket/polymarket.js +1 -1
- package/dist/components/Dropdown/BaseDropdown.d.ts +3 -1
- package/dist/components/Dropdown/BaseDropdownItem.d.ts +3 -1
- package/dist/components/Dropdown/TokenAndChainDropdown.d.ts +6 -1
- package/dist/components/Icons/AlertCircleIcon.d.ts +4 -0
- package/dist/domains/withdrawalAllowlist.d.ts +55 -0
- package/dist/domains/withdrawalChunking.d.ts +11 -0
- package/dist/hooks/queries/useWithdrawalRisk.d.ts +3 -1
- package/dist/hooks/useEnforcedAllowedRecipients.d.ts +11 -0
- package/dist/hooks/useIsBlacklistedWithdrawalAddress.d.ts +2 -0
- package/dist/hooks/useIsCashWithdrawalEnabled.d.ts +8 -0
- package/dist/hooks/useIsChunkedWithdrawal.d.ts +6 -0
- package/dist/index.css +103 -103
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4562 -3795
- package/dist/modals/WithdrawalModal/AllowedRecipientDropdown.d.ts +18 -0
- package/dist/modals/WithdrawalModal/ChunkedWithdrawalNotice.d.ts +2 -0
- package/dist/modals/WithdrawalModal/LighterWithdrawal.d.ts +1 -0
- package/dist/modals/WithdrawalModal/LockedReceiveDisplay.d.ts +9 -0
- package/dist/modals/WithdrawalModal/useWithdrawal.d.ts +4 -1
- package/dist/modals/WithdrawalModal/useWithdrawalRecipientAllowlist.d.ts +44 -0
- package/dist/modals/WithdrawalModal/withdrawalFormHelpers.d.ts +3 -1
- package/dist/shadow-css.js +1 -1
- package/dist/wallets/walletConnectors/index.js +46 -46
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# @funkit/connect
|
|
2
2
|
|
|
3
|
+
## 12.23.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 63cd93b: Add an optional `allowedRecipients` list to the Polymarket withdrawal configs, applied while the `enable-withdrawal-allowlist` gate is on.
|
|
8
|
+
- 0e4d8b1: Withdrawals with `allowedRecipients` now pick the recipient from that list, on the address's chain, with an optional `onManageAllowedRecipients` link.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- 11acf47: A long option label in the token, chain and account dropdowns now truncates instead of overflowing the menu.
|
|
13
|
+
- 2521e98: Updated the locked-chain tooltip on allowlist withdrawals.
|
|
14
|
+
- 7fa9652: The Manage link now sits level with the note beside it in the saved addresses dropdown, and the empty-state notice has tighter spacing.
|
|
15
|
+
- 68585d5: Show the close button on the checkout's blocked screen, so a blocked user can leave the modal.
|
|
16
|
+
- 90ab5e3: Improve Lighter Secure withdrawal reliability.
|
|
17
|
+
- 46d0aeb: Revert the Swapped cash withdrawal opening amount. The production backend rejects `baseCurrencyAmount` on the withdrawal rail until fun-xyz/fun-backend#5781 deploys.
|
|
18
|
+
- ff24a95: Saved address names in the withdrawal recipient picker are no longer bold, and the note above the Manage link sits closer to the last address.
|
|
19
|
+
- 66c6d85: No user-facing changes.
|
|
20
|
+
- 60fd5a1: Hide Cash withdrawals when the withdrawal config passes `allowedRecipients`.
|
|
21
|
+
- 381556b: Show a notice on large callback withdrawals explaining that funds will arrive in multiple transactions, when the withdrawal chunking config is enabled.
|
|
22
|
+
- Updated dependencies [06d7667]
|
|
23
|
+
- Updated dependencies [6da56de]
|
|
24
|
+
- Updated dependencies [1000054]
|
|
25
|
+
- Updated dependencies [1000054]
|
|
26
|
+
- Updated dependencies [96c102e]
|
|
27
|
+
- Updated dependencies [789f14b]
|
|
28
|
+
- Updated dependencies [46d0aeb]
|
|
29
|
+
- Updated dependencies [66c6d85]
|
|
30
|
+
- @funkit/api-base@10.2.1
|
|
31
|
+
- @funkit/connect-core@14.0.0
|
|
32
|
+
- @funkit/utils@5.1.2
|
|
33
|
+
|
|
3
34
|
## 12.22.1
|
|
4
35
|
|
|
5
36
|
### Patch Changes
|
|
@@ -397,6 +397,7 @@ var en_default = {
|
|
|
397
397
|
youWillReceive: "You will receive",
|
|
398
398
|
receiveAmount: "Receive amount",
|
|
399
399
|
usdceWarning: "USDCe is not widely supported by most exchanges.\nSending USDCe to an unsupported platform may result in a permanent loss of funds. Always double-check token compatibility before transferring.",
|
|
400
|
+
chunkedWithdrawalNotice: "This withdrawal will be split into multiple transactions. You should see each one arrive a few minutes apart.",
|
|
400
401
|
recipientAddress: "Recipient address",
|
|
401
402
|
invalidWalletAddress: "Invalid wallet address",
|
|
402
403
|
useConnected: "Use connected",
|
|
@@ -426,6 +427,15 @@ var en_default = {
|
|
|
426
427
|
lighterSecureTokenTooltip: "You can only receive the token you are choosing to withdraw",
|
|
427
428
|
lighterSecureChainTooltip: "Secure withdrawals are only available on {{chainName}}",
|
|
428
429
|
lockedReceiveTooltip: "{{tokenSymbol}} can only be withdrawn on {{chainName}}",
|
|
430
|
+
savedAddresses: "Saved addresses",
|
|
431
|
+
allowlistNote: "Only saved addresses can receive withdrawals",
|
|
432
|
+
manageAllowlist: "Manage",
|
|
433
|
+
addAllowedRecipient: "Add",
|
|
434
|
+
noAllowedRecipients: "Saved addresses become usable 48 hours after you've added them.",
|
|
435
|
+
recipientBlocked: "This address can't be used for withdrawals.",
|
|
436
|
+
recipientBlockedAddAnother: "This address can't be used for withdrawals. Please add another.",
|
|
437
|
+
recipientNotAllowed: "Withdrawals can only go to an address on your allowlist.",
|
|
438
|
+
allowlistChainTooltip: "Allowlist on: Withdraw on {{chainName}} only",
|
|
429
439
|
lighterFastTokenTooltip: "Fast withdrawals are only available for your {{symbol}} (Perps) balance",
|
|
430
440
|
lighterWithdrawOnChain: "Withdraw on-chain",
|
|
431
441
|
lighterL1FallbackNotice: "You've reached Lighter's secure withdrawal rate limit. You can withdraw directly on-chain instead.",
|
|
@@ -1049,6 +1059,7 @@ var es_default = {
|
|
|
1049
1059
|
receiveChain: "Cadena de recepci\xF3n",
|
|
1050
1060
|
youWillReceive: "Recibir\xE1s",
|
|
1051
1061
|
usdceWarning: "USDCe no es ampliamente soportado por la mayor\xEDa de los exchanges.\nEnviar USDCe a una plataforma no soportada puede resultar en una p\xE9rdida permanente de fondos. Siempre verifica la compatibilidad del token antes de transferir.",
|
|
1062
|
+
chunkedWithdrawalNotice: "Este retiro se dividir\xE1 en varias transacciones. Deber\xEDas ver que cada una llega con unos minutos de diferencia.",
|
|
1052
1063
|
recipientAddress: "Direcci\xF3n del destinatario",
|
|
1053
1064
|
invalidWalletAddress: "Direcci\xF3n de billetera inv\xE1lida",
|
|
1054
1065
|
useConnected: "Usar conectado",
|
|
@@ -1079,6 +1090,15 @@ var es_default = {
|
|
|
1079
1090
|
lighterSecureTokenTooltip: "Solo puedes recibir el token que eliges retirar",
|
|
1080
1091
|
lighterSecureChainTooltip: "Los retiros seguros solo est\xE1n disponibles en {{chainName}}",
|
|
1081
1092
|
lockedReceiveTooltip: "{{tokenSymbol}} solo se puede retirar en {{chainName}}",
|
|
1093
|
+
savedAddresses: "Direcciones guardadas",
|
|
1094
|
+
allowlistNote: "Solo las direcciones guardadas pueden recibir retiros",
|
|
1095
|
+
manageAllowlist: "Gestionar",
|
|
1096
|
+
addAllowedRecipient: "A\xF1adir",
|
|
1097
|
+
noAllowedRecipients: "Las direcciones guardadas se pueden usar 48 horas despu\xE9s de a\xF1adirlas.",
|
|
1098
|
+
recipientBlocked: "Esta direcci\xF3n no se puede usar para retiros.",
|
|
1099
|
+
recipientBlockedAddAnother: "Esta direcci\xF3n no se puede usar para retiros. A\xF1ade otra.",
|
|
1100
|
+
recipientNotAllowed: "Los retiros solo pueden ir a una direcci\xF3n de tu lista de retiros permitidos.",
|
|
1101
|
+
allowlistChainTooltip: "Lista permitida activa: Retira solo en {{chainName}}",
|
|
1082
1102
|
lighterFastTokenTooltip: "Los retiros r\xE1pidos solo est\xE1n disponibles para tu saldo de {{symbol}} (Perps)",
|
|
1083
1103
|
lighterWithdrawOnChain: "Retirar on-chain",
|
|
1084
1104
|
lighterL1FallbackNotice: "Has alcanzado el l\xEDmite de retiros seguros de Lighter. Puedes retirar directamente on-chain.",
|
|
@@ -1702,6 +1722,7 @@ var fr_default = {
|
|
|
1702
1722
|
receiveChain: "Cha\xEEne de r\xE9ception",
|
|
1703
1723
|
youWillReceive: "Vous recevrez",
|
|
1704
1724
|
usdceWarning: "USDCe n'est pas pris en charge par la plupart des exchanges.\nL'envoi d'USDCe vers une plateforme ne le prenant pas en charge peut entra\xEEner une perte permanente de fonds. V\xE9rifiez toujours la compatibilit\xE9 des cryptomonnaies avant de transf\xE9rer.",
|
|
1725
|
+
chunkedWithdrawalNotice: "Ce retrait sera r\xE9parti en plusieurs transactions. Vous devriez les voir arriver \xE0 quelques minutes d\u2019intervalle.",
|
|
1705
1726
|
recipientAddress: "Adresse du destinataire",
|
|
1706
1727
|
invalidWalletAddress: "Adresse de portefeuille invalide",
|
|
1707
1728
|
useConnected: "Utiliser connect\xE9",
|
|
@@ -1732,6 +1753,15 @@ var fr_default = {
|
|
|
1732
1753
|
lighterSecureTokenTooltip: "Vous ne pouvez recevoir que le jeton que vous choisissez de retirer",
|
|
1733
1754
|
lighterSecureChainTooltip: "Les retraits s\xE9curis\xE9s ne sont disponibles que sur {{chainName}}",
|
|
1734
1755
|
lockedReceiveTooltip: "{{tokenSymbol}} ne peut \xEAtre retir\xE9 que sur {{chainName}}",
|
|
1756
|
+
savedAddresses: "Adresses enregistr\xE9es",
|
|
1757
|
+
allowlistNote: "Seules les adresses enregistr\xE9es peuvent recevoir des retraits",
|
|
1758
|
+
manageAllowlist: "G\xE9rer",
|
|
1759
|
+
addAllowedRecipient: "Ajouter",
|
|
1760
|
+
noAllowedRecipients: "Les adresses enregistr\xE9es deviennent utilisables 48 heures apr\xE8s leur ajout.",
|
|
1761
|
+
recipientBlocked: "Cette adresse ne peut pas \xEAtre utilis\xE9e pour les retraits.",
|
|
1762
|
+
recipientBlockedAddAnother: "Cette adresse ne peut pas \xEAtre utilis\xE9e pour les retraits. Veuillez en ajouter une autre.",
|
|
1763
|
+
recipientNotAllowed: "Les retraits ne peuvent \xEAtre envoy\xE9s qu'\xE0 une adresse de votre liste de retrait autoris\xE9e.",
|
|
1764
|
+
allowlistChainTooltip: "Liste autoris\xE9e activ\xE9e : Retrait sur {{chainName}} uniquement",
|
|
1735
1765
|
lighterFastTokenTooltip: "Les retraits rapides ne sont disponibles que pour votre solde {{symbol}} (Perps)",
|
|
1736
1766
|
lighterWithdrawOnChain: "Retirer on-chain",
|
|
1737
1767
|
lighterL1FallbackNotice: "Vous avez atteint la limite de retraits s\xE9curis\xE9s de Lighter. Vous pouvez retirer directement on-chain.",
|
|
@@ -2355,6 +2385,7 @@ var ja_default = {
|
|
|
2355
2385
|
receiveChain: "\u53D7\u53D6\u30C1\u30A7\u30FC\u30F3",
|
|
2356
2386
|
youWillReceive: "\u53D7\u53D6\u91D1\u984D",
|
|
2357
2387
|
usdceWarning: "USDCe\u306F\u307B\u3068\u3093\u3069\u306E\u53D6\u5F15\u6240\u3067\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\nUSDCe\u3092\u975E\u5BFE\u5FDC\u306E\u30D7\u30E9\u30C3\u30C8\u30D5\u30A9\u30FC\u30E0\u306B\u9001\u4FE1\u3059\u308B\u3068\u3001\u8CC7\u91D1\u304C\u6C38\u4E45\u306B\u5931\u308F\u308C\u308B\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002\u9001\u91D1\u524D\u306B\u5FC5\u305A\u30C8\u30FC\u30AF\u30F3\u306E\u4E92\u63DB\u6027\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
2388
|
+
chunkedWithdrawalNotice: "\u3053\u306E\u51FA\u91D1\u306F\u8907\u6570\u306E\u53D6\u5F15\u306B\u5206\u5272\u3055\u308C\u307E\u3059\u3002\u305D\u308C\u305E\u308C\u6570\u5206\u9593\u9694\u3067\u5C4A\u304F\u898B\u8FBC\u307F\u3067\u3059\u3002",
|
|
2358
2389
|
recipientAddress: "\u53D7\u53D6\u30A2\u30C9\u30EC\u30B9",
|
|
2359
2390
|
invalidWalletAddress: "\u7121\u52B9\u306A\u30A6\u30A9\u30EC\u30C3\u30C8\u30A2\u30C9\u30EC\u30B9",
|
|
2360
2391
|
useConnected: "\u63A5\u7D9A\u6E08\u307F\u3092\u4F7F\u7528",
|
|
@@ -2385,6 +2416,15 @@ var ja_default = {
|
|
|
2385
2416
|
lighterSecureTokenTooltip: "\u51FA\u91D1\u3059\u308B\u901A\u8CA8\u306E\u307F\u53D7\u3051\u53D6\u308C\u307E\u3059",
|
|
2386
2417
|
lighterSecureChainTooltip: "\u30BB\u30AD\u30E5\u30A2\u51FA\u91D1\u306F{{chainName}}\u3067\u306E\u307F\u5229\u7528\u3067\u304D\u307E\u3059",
|
|
2387
2418
|
lockedReceiveTooltip: "{{tokenSymbol}} \u306F {{chainName}} \u3067\u306E\u307F\u51FA\u91D1\u3067\u304D\u307E\u3059",
|
|
2419
|
+
savedAddresses: "\u4FDD\u5B58\u6E08\u307F\u30A2\u30C9\u30EC\u30B9",
|
|
2420
|
+
allowlistNote: "\u4FDD\u5B58\u6E08\u307F\u30A2\u30C9\u30EC\u30B9\u306E\u307F\u51FA\u91D1\u3092\u53D7\u3051\u53D6\u308C\u307E\u3059",
|
|
2421
|
+
manageAllowlist: "\u7BA1\u7406",
|
|
2422
|
+
addAllowedRecipient: "\u8FFD\u52A0",
|
|
2423
|
+
noAllowedRecipients: "\u4FDD\u5B58\u3057\u305F\u30A2\u30C9\u30EC\u30B9\u306F\u3001\u8FFD\u52A0\u3057\u3066\u304B\u308948\u6642\u9593\u5F8C\u306B\u4F7F\u7528\u3067\u304D\u308B\u3088\u3046\u306B\u306A\u308A\u307E\u3059\u3002",
|
|
2424
|
+
recipientBlocked: "\u3053\u306E\u30A2\u30C9\u30EC\u30B9\u306F\u51FA\u91D1\u306B\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002",
|
|
2425
|
+
recipientBlockedAddAnother: "\u3053\u306E\u30A2\u30C9\u30EC\u30B9\u306F\u51FA\u91D1\u306B\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002\u5225\u306E\u30A2\u30C9\u30EC\u30B9\u3092\u8FFD\u52A0\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
2426
|
+
recipientNotAllowed: "\u51FA\u91D1\u306F\u8A31\u53EF\u30EA\u30B9\u30C8\u306B\u3042\u308B\u30A2\u30C9\u30EC\u30B9\u306B\u306E\u307F\u9001\u308C\u307E\u3059\u3002",
|
|
2427
|
+
allowlistChainTooltip: "\u8A31\u53EF\u30EA\u30B9\u30C8\u6709\u52B9: {{chainName}}\u3067\u306E\u307F\u51FA\u91D1\u53EF\u80FD",
|
|
2388
2428
|
lighterFastTokenTooltip: "\u9AD8\u901F\u51FA\u91D1\u306F{{symbol}} (Perps)\u6B8B\u9AD8\u3067\u306E\u307F\u5229\u7528\u3067\u304D\u307E\u3059",
|
|
2389
2429
|
lighterWithdrawOnChain: "\u30AA\u30F3\u30C1\u30A7\u30FC\u30F3\u3067\u51FA\u91D1",
|
|
2390
2430
|
lighterL1FallbackNotice: "Lighter\u306E\u30BB\u30AD\u30E5\u30A2\u51FA\u91D1\u306E\u30EC\u30FC\u30C8\u5236\u9650\u306B\u9054\u3057\u307E\u3057\u305F\u3002\u4EE3\u308F\u308A\u306B\u30AA\u30F3\u30C1\u30A7\u30FC\u30F3\u3067\u76F4\u63A5\u51FA\u91D1\u3067\u304D\u307E\u3059\u3002",
|
|
@@ -3008,6 +3048,7 @@ var ko_default = {
|
|
|
3008
3048
|
receiveChain: "\uBC1B\uC744 \uCCB4\uC778",
|
|
3009
3049
|
youWillReceive: "\uBC1B\uC744 \uAE08\uC561",
|
|
3010
3050
|
usdceWarning: "USDCe\uB294 \uB300\uBD80\uBD84\uC758 \uAC70\uB798\uC18C\uC5D0\uC11C \uB110\uB9AC \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.\n\uC9C0\uC6D0\uB418\uC9C0 \uC54A\uB294 \uD50C\uB7AB\uD3FC\uC73C\uB85C USDCe\uB97C \uBCF4\uB0B4\uBA74 \uC790\uAE08\uC744 \uC601\uAD6C\uC801\uC73C\uB85C \uC783\uC744 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uC804\uC1A1\uD558\uAE30 \uC804\uC5D0 \uD56D\uC0C1 \uD1A0\uD070 \uD638\uD658\uC131\uC744 \uB2E4\uC2DC \uD655\uC778\uD558\uC138\uC694.",
|
|
3051
|
+
chunkedWithdrawalNotice: "\uC774 \uCD9C\uAE08\uC740 \uC5EC\uB7EC \uAC70\uB798\uB85C \uB098\uB204\uC5B4\uC9D1\uB2C8\uB2E4. \uAC01 \uAC70\uB798\uB294 \uBA87 \uBD84 \uAC04\uACA9\uC73C\uB85C \uB3C4\uCC29\uD560 \uC608\uC815\uC785\uB2C8\uB2E4.",
|
|
3011
3052
|
recipientAddress: "\uC218\uC2E0\uC790 \uC8FC\uC18C",
|
|
3012
3053
|
invalidWalletAddress: "\uC798\uBABB\uB41C \uC9C0\uAC11 \uC8FC\uC18C",
|
|
3013
3054
|
useConnected: "\uC5F0\uACB0\uB41C \uC8FC\uC18C \uC0AC\uC6A9",
|
|
@@ -3038,6 +3079,15 @@ var ko_default = {
|
|
|
3038
3079
|
lighterSecureTokenTooltip: "\uCD9C\uAE08\uD558\uB824\uB294 \uD1A0\uD070\uB9CC \uBC1B\uC744 \uC218 \uC788\uC2B5\uB2C8\uB2E4",
|
|
3039
3080
|
lighterSecureChainTooltip: "\uBCF4\uC548 \uCD9C\uAE08\uC740 {{chainName}}\uC5D0\uC11C\uB9CC \uAC00\uB2A5\uD569\uB2C8\uB2E4",
|
|
3040
3081
|
lockedReceiveTooltip: "{{tokenSymbol}}\uC740(\uB294) {{chainName}}\uC5D0\uC11C\uB9CC \uCD9C\uAE08\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4",
|
|
3082
|
+
savedAddresses: "\uC800\uC7A5\uB41C \uC8FC\uC18C",
|
|
3083
|
+
allowlistNote: "\uC800\uC7A5\uB41C \uC8FC\uC18C\uB9CC \uCD9C\uAE08\uC744 \uBC1B\uC744 \uC218 \uC788\uC2B5\uB2C8\uB2E4",
|
|
3084
|
+
manageAllowlist: "\uAD00\uB9AC",
|
|
3085
|
+
addAllowedRecipient: "\uCD94\uAC00",
|
|
3086
|
+
noAllowedRecipients: "\uC800\uC7A5\uB41C \uC8FC\uC18C\uB294 \uCD94\uAC00\uD558\uACE0 48\uC2DC\uAC04\uC774 \uC9C0\uB098\uBA74 \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",
|
|
3087
|
+
recipientBlocked: "\uC774 \uC8FC\uC18C\uB294 \uCD9C\uAE08\uC5D0 \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",
|
|
3088
|
+
recipientBlockedAddAnother: "\uC774 \uC8FC\uC18C\uB294 \uCD9C\uAE08\uC5D0 \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uB2E4\uB978 \uC8FC\uC18C\uB97C \uCD94\uAC00\uD558\uC138\uC694.",
|
|
3089
|
+
recipientNotAllowed: "\uCD9C\uAE08\uC740 \uD5C8\uC6A9 \uBAA9\uB85D\uC5D0 \uC788\uB294 \uC8FC\uC18C\uB85C\uB9CC \uBCF4\uB0BC \uC218 \uC788\uC2B5\uB2C8\uB2E4.",
|
|
3090
|
+
allowlistChainTooltip: "\uD5C8\uC6A9 \uBAA9\uB85D \uCF1C\uC9D0: {{chainName}}\uC5D0\uC11C\uB9CC \uCD9C\uAE08 \uAC00\uB2A5",
|
|
3041
3091
|
lighterFastTokenTooltip: "\uBE60\uB978 \uCD9C\uAE08\uC740 {{symbol}} (Perps) \uC794\uC561\uC5D0\uC11C\uB9CC \uC774\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4",
|
|
3042
3092
|
lighterWithdrawOnChain: "\uC628\uCCB4\uC778\uC73C\uB85C \uCD9C\uAE08",
|
|
3043
3093
|
lighterL1FallbackNotice: "Lighter\uC758 \uBCF4\uC548 \uCD9C\uAE08 \uD55C\uB3C4\uC5D0 \uB3C4\uB2EC\uD588\uC2B5\uB2C8\uB2E4. \uB300\uC2E0 \uC628\uCCB4\uC778\uC5D0\uC11C \uC9C1\uC811 \uCD9C\uAE08\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",
|
|
@@ -3661,6 +3711,7 @@ var ru_default = {
|
|
|
3661
3711
|
receiveChain: "\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0441\u0435\u0442\u044C",
|
|
3662
3712
|
youWillReceive: "\u0412\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u0435",
|
|
3663
3713
|
usdceWarning: "USDCe \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u0431\u043E\u043B\u044C\u0448\u0438\u043D\u0441\u0442\u0432\u043E\u043C \u0431\u0438\u0440\u0436.\n\u041E\u0442\u043F\u0440\u0430\u0432\u043A\u0430 USDCe \u043D\u0430 \u043D\u0435\u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043C\u0443\u044E \u043F\u043B\u0430\u0442\u0444\u043E\u0440\u043C\u0443 \u043C\u043E\u0436\u0435\u0442 \u043F\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043A \u0431\u0435\u0437\u0432\u043E\u0437\u0432\u0440\u0430\u0442\u043D\u043E\u0439 \u043F\u043E\u0442\u0435\u0440\u0435 \u0441\u0440\u0435\u0434\u0441\u0442\u0432. \u0412\u0441\u0435\u0433\u0434\u0430 \u043F\u0440\u043E\u0432\u0435\u0440\u044F\u0439\u0442\u0435 \u0441\u043E\u0432\u043C\u0435\u0441\u0442\u0438\u043C\u043E\u0441\u0442\u044C \u0442\u043E\u043A\u0435\u043D\u0430 \u043F\u0435\u0440\u0435\u0434 \u043F\u0435\u0440\u0435\u0432\u043E\u0434\u043E\u043C.",
|
|
3714
|
+
chunkedWithdrawalNotice: "\u042D\u0442\u043E\u0442 \u0432\u044B\u0432\u043E\u0434 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0437\u0434\u0435\u043B\u0451\u043D \u043D\u0430 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u0439. \u041E\u043D\u0438 \u0434\u043E\u043B\u0436\u043D\u044B \u043F\u043E\u0441\u0442\u0443\u043F\u0430\u0442\u044C \u0441 \u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B\u043E\u043C \u0432 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043C\u0438\u043D\u0443\u0442.",
|
|
3664
3715
|
recipientAddress: "\u0410\u0434\u0440\u0435\u0441 \u043F\u043E\u043B\u0443\u0447\u0430\u0442\u0435\u043B\u044F",
|
|
3665
3716
|
invalidWalletAddress: "\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0430\u0434\u0440\u0435\u0441 \u043A\u043E\u0448\u0435\u043B\u044C\u043A\u0430",
|
|
3666
3717
|
useConnected: "\u041F\u043E\u0434\u043A\u043B\u044E\u0447\u0451\u043D\u043D\u044B\u0439",
|
|
@@ -3691,6 +3742,15 @@ var ru_default = {
|
|
|
3691
3742
|
lighterSecureTokenTooltip: "\u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0442\u043E\u043B\u044C\u043A\u043E \u0442\u043E\u0442 \u0442\u043E\u043A\u0435\u043D, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u0432\u044B\u0432\u043E\u0434\u0438\u0442\u0435",
|
|
3692
3743
|
lighterSecureChainTooltip: "\u0411\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u044B\u0439 \u0432\u044B\u0432\u043E\u0434 \u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D \u0442\u043E\u043B\u044C\u043A\u043E \u0432 \u0441\u0435\u0442\u0438 {{chainName}}",
|
|
3693
3744
|
lockedReceiveTooltip: "{{tokenSymbol}} \u043C\u043E\u0436\u043D\u043E \u0432\u044B\u0432\u043E\u0434\u0438\u0442\u044C \u0442\u043E\u043B\u044C\u043A\u043E \u0432 \u0441\u0435\u0442\u0438 {{chainName}}",
|
|
3745
|
+
savedAddresses: "\u0421\u043E\u0445\u0440\u0430\u043D\u0451\u043D\u043D\u044B\u0435 \u0430\u0434\u0440\u0435\u0441\u0430",
|
|
3746
|
+
allowlistNote: "\u041F\u043E\u043B\u0443\u0447\u0430\u0442\u044C \u0432\u044B\u0432\u043E\u0434 \u0441\u0440\u0435\u0434\u0441\u0442\u0432 \u043C\u043E\u0433\u0443\u0442 \u0442\u043E\u043B\u044C\u043A\u043E \u0441\u043E\u0445\u0440\u0430\u043D\u0451\u043D\u043D\u044B\u0435 \u0430\u0434\u0440\u0435\u0441\u0430",
|
|
3747
|
+
manageAllowlist: "\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C",
|
|
3748
|
+
addAllowedRecipient: "\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C",
|
|
3749
|
+
noAllowedRecipients: "\u0421\u043E\u0445\u0440\u0430\u043D\u0451\u043D\u043D\u044B\u0435 \u0430\u0434\u0440\u0435\u0441\u0430 \u0441\u0442\u0430\u043D\u043E\u0432\u044F\u0442\u0441\u044F \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B \u0447\u0435\u0440\u0435\u0437 48 \u0447\u0430\u0441\u043E\u0432 \u043F\u043E\u0441\u043B\u0435 \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u0438\u044F.",
|
|
3750
|
+
recipientBlocked: "\u042D\u0442\u043E\u0442 \u0430\u0434\u0440\u0435\u0441 \u043D\u0435\u043B\u044C\u0437\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0434\u043B\u044F \u0432\u044B\u0432\u043E\u0434\u0430.",
|
|
3751
|
+
recipientBlockedAddAnother: "\u042D\u0442\u043E\u0442 \u0430\u0434\u0440\u0435\u0441 \u043D\u0435\u043B\u044C\u0437\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0434\u043B\u044F \u0432\u044B\u0432\u043E\u0434\u0430. \u0414\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u0434\u0440\u0443\u0433\u043E\u0439.",
|
|
3752
|
+
recipientNotAllowed: "\u0412\u044B\u0432\u043E\u0434\u0438\u0442\u044C \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u043C\u043E\u0436\u043D\u043E \u0442\u043E\u043B\u044C\u043A\u043E \u043D\u0430 \u0430\u0434\u0440\u0435\u0441 \u0438\u0437 \u0432\u0430\u0448\u0435\u0433\u043E \u0441\u043F\u0438\u0441\u043A\u0430 \u0440\u0430\u0437\u0440\u0435\u0448\u0451\u043D\u043D\u044B\u0445.",
|
|
3753
|
+
allowlistChainTooltip: "\u0411\u0435\u043B\u044B\u0439 \u0441\u043F\u0438\u0441\u043E\u043A \u0432\u043A\u043B\u044E\u0447\u0451\u043D: \u0412\u044B\u0432\u043E\u0434 \u0442\u043E\u043B\u044C\u043A\u043E \u0447\u0435\u0440\u0435\u0437 {{chainName}}",
|
|
3694
3754
|
lighterFastTokenTooltip: "\u0411\u044B\u0441\u0442\u0440\u044B\u0439 \u0432\u044B\u0432\u043E\u0434 \u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D \u0442\u043E\u043B\u044C\u043A\u043E \u0434\u043B\u044F \u0432\u0430\u0448\u0435\u0433\u043E \u0431\u0430\u043B\u0430\u043D\u0441\u0430 {{symbol}} (Perps)",
|
|
3695
3755
|
lighterWithdrawOnChain: "\u0412\u044B\u0432\u0435\u0441\u0442\u0438 \u0432 \u0441\u0435\u0442\u0438",
|
|
3696
3756
|
lighterL1FallbackNotice: "\u0412\u044B \u0434\u043E\u0441\u0442\u0438\u0433\u043B\u0438 \u043B\u0438\u043C\u0438\u0442\u0430 \u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u044B\u0445 \u0432\u044B\u0432\u043E\u0434\u043E\u0432 Lighter. \u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0432\u044B\u0432\u0435\u0441\u0442\u0438 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u043D\u0430\u043F\u0440\u044F\u043C\u0443\u044E \u0432 \u0441\u0435\u0442\u0438.",
|
|
@@ -4314,6 +4374,7 @@ var tr_default = {
|
|
|
4314
4374
|
receiveChain: "Al\u0131m a\u011F\u0131",
|
|
4315
4375
|
youWillReceive: "Alaca\u011F\u0131n\u0131z",
|
|
4316
4376
|
usdceWarning: "USDCe \xE7o\u011Fu borsa taraf\u0131ndan yayg\u0131n olarak desteklenmemektedir.\nUSDCe'yi desteklenmeyen bir platforma g\xF6ndermek fonlar\u0131n kal\u0131c\u0131 kayb\u0131na neden olabilir. Transfer etmeden \xF6nce her zaman token uyumlulu\u011Funu kontrol edin.",
|
|
4377
|
+
chunkedWithdrawalNotice: "Bu \xE7ekim birden fazla i\u015Fleme b\xF6l\xFCnecektir. Her birinin birka\xE7 dakika arayla ula\u015Ft\u0131\u011F\u0131n\u0131 g\xF6rmeniz beklenir.",
|
|
4317
4378
|
recipientAddress: "Al\u0131c\u0131 adresi",
|
|
4318
4379
|
invalidWalletAddress: "Ge\xE7ersiz c\xFCzdan adresi",
|
|
4319
4380
|
useConnected: "Ba\u011Fl\u0131 olan\u0131 kullan",
|
|
@@ -4344,6 +4405,15 @@ var tr_default = {
|
|
|
4344
4405
|
lighterSecureTokenTooltip: "Yaln\u0131zca \xE7ekmeyi se\xE7ti\u011Finiz tokeni alabilirsiniz",
|
|
4345
4406
|
lighterSecureChainTooltip: "G\xFCvenli \xE7ekimler yaln\u0131zca {{chainName}} \xFCzerinde kullan\u0131labilir",
|
|
4346
4407
|
lockedReceiveTooltip: "{{tokenSymbol}} yaln\u0131zca {{chainName}} \xFCzerinden \xE7ekilebilir",
|
|
4408
|
+
savedAddresses: "Kay\u0131tl\u0131 adresler",
|
|
4409
|
+
allowlistNote: "Yaln\u0131zca kay\u0131tl\u0131 adresler \xE7ekim alabilir",
|
|
4410
|
+
manageAllowlist: "Y\xF6net",
|
|
4411
|
+
addAllowedRecipient: "Ekle",
|
|
4412
|
+
noAllowedRecipients: "Kaydedilen adresler, eklendikten 48 saat sonra kullan\u0131labilir.",
|
|
4413
|
+
recipientBlocked: "Bu adres \xE7ekimler i\xE7in kullan\u0131lamaz.",
|
|
4414
|
+
recipientBlockedAddAnother: "Bu adres \xE7ekimler i\xE7in kullan\u0131lamaz. L\xFCtfen ba\u015Fka bir adres ekleyin.",
|
|
4415
|
+
recipientNotAllowed: "\xC7ekimler yaln\u0131zca izin listenizdeki bir adrese g\xF6nderilebilir.",
|
|
4416
|
+
allowlistChainTooltip: "\u0130zin listesi a\xE7\u0131k: Yaln\u0131zca {{chainName}} \xFCzerinden \xE7ekim",
|
|
4347
4417
|
lighterFastTokenTooltip: "H\u0131zl\u0131 \xE7ekimler yaln\u0131zca {{symbol}} (Perps) bakiyeniz i\xE7in kullan\u0131labilir",
|
|
4348
4418
|
lighterWithdrawOnChain: "Zincir \xFCzerinde \xE7ek",
|
|
4349
4419
|
lighterL1FallbackNotice: "Lighter'\u0131n g\xFCvenli \xE7ekim h\u0131z s\u0131n\u0131r\u0131na ula\u015Ft\u0131n\u0131z. Bunun yerine do\u011Frudan zincir \xFCzerinden \xE7ekebilirsiniz.",
|
|
@@ -4967,6 +5037,7 @@ var zh_default = {
|
|
|
4967
5037
|
receiveChain: "\u63A5\u6536\u94FE",
|
|
4968
5038
|
youWillReceive: "\u60A8\u5C06\u63A5\u6536",
|
|
4969
5039
|
usdceWarning: "USDCe\u4E0D\u88AB\u5927\u591A\u6570\u4EA4\u6613\u6240\u5E7F\u6CDB\u652F\u6301\u3002\n\u5C06USDCe\u53D1\u9001\u5230\u4E0D\u652F\u6301\u7684\u5E73\u53F0\u53EF\u80FD\u4F1A\u5BFC\u81F4\u6C38\u4E45\u6027\u7684\u8D44\u91D1\u635F\u5931\u3002\u8F6C\u8D26\u524D\u8BF7\u52A1\u5FC5\u4ED4\u7EC6\u68C0\u67E5\u4EE3\u5E01\u517C\u5BB9\u6027\u3002",
|
|
5040
|
+
chunkedWithdrawalNotice: "\u672C\u6B21\u63D0\u73B0\u5C06\u62C6\u5206\u4E3A\u591A\u7B14\u4EA4\u6613\u3002\u5404\u7B14\u4EA4\u6613\u9884\u8BA1\u4F1A\u95F4\u9694\u51E0\u5206\u949F\u5230\u8D26\u3002",
|
|
4970
5041
|
recipientAddress: "\u63A5\u6536\u5730\u5740",
|
|
4971
5042
|
invalidWalletAddress: "\u94B1\u5305\u5730\u5740\u65E0\u6548",
|
|
4972
5043
|
useConnected: "\u4F7F\u7528\u5DF2\u8FDE\u63A5",
|
|
@@ -4997,6 +5068,15 @@ var zh_default = {
|
|
|
4997
5068
|
lighterSecureTokenTooltip: "\u60A8\u53EA\u80FD\u63A5\u6536\u6240\u9009\u62E9\u63D0\u73B0\u7684\u4EE3\u5E01",
|
|
4998
5069
|
lighterSecureChainTooltip: "\u5B89\u5168\u63D0\u73B0\u4EC5\u652F\u6301 {{chainName}}",
|
|
4999
5070
|
lockedReceiveTooltip: "{{tokenSymbol}} \u4EC5\u652F\u6301\u5728 {{chainName}} \u4E0A\u63D0\u73B0",
|
|
5071
|
+
savedAddresses: "\u5DF2\u4FDD\u5B58\u7684\u5730\u5740",
|
|
5072
|
+
allowlistNote: "\u53EA\u6709\u5DF2\u4FDD\u5B58\u7684\u5730\u5740\u624D\u80FD\u63A5\u6536\u63D0\u73B0",
|
|
5073
|
+
manageAllowlist: "\u7BA1\u7406",
|
|
5074
|
+
addAllowedRecipient: "\u6DFB\u52A0",
|
|
5075
|
+
noAllowedRecipients: "\u4FDD\u5B58\u7684\u5730\u5740\u5728\u6DFB\u52A0 48 \u5C0F\u65F6\u540E\u5373\u53EF\u4F7F\u7528\u3002",
|
|
5076
|
+
recipientBlocked: "\u6B64\u5730\u5740\u4E0D\u80FD\u7528\u4E8E\u63D0\u73B0\u3002",
|
|
5077
|
+
recipientBlockedAddAnother: "\u6B64\u5730\u5740\u4E0D\u80FD\u7528\u4E8E\u63D0\u73B0\u3002\u8BF7\u6DFB\u52A0\u5176\u4ED6\u5730\u5740\u3002",
|
|
5078
|
+
recipientNotAllowed: "\u53EA\u80FD\u63D0\u73B0\u5230\u767D\u540D\u5355\u4E2D\u7684\u5730\u5740\u3002",
|
|
5079
|
+
allowlistChainTooltip: "\u767D\u540D\u5355\u5DF2\u5F00\u542F\uFF1A\u4EC5\u53EF\u5728 {{chainName}} \u63D0\u73B0",
|
|
5000
5080
|
lighterFastTokenTooltip: "\u5FEB\u901F\u63D0\u73B0\u4EC5\u652F\u6301\u60A8\u7684 {{symbol}} (Perps) \u4F59\u989D",
|
|
5001
5081
|
lighterWithdrawOnChain: "\u94FE\u4E0A\u63D0\u73B0",
|
|
5002
5082
|
lighterL1FallbackNotice: "\u60A8\u5DF2\u8FBE\u5230 Lighter \u7684\u5B89\u5168\u63D0\u73B0\u9891\u7387\u9650\u5236\u3002\u60A8\u53EF\u4EE5\u6539\u4E3A\u76F4\u63A5\u5728\u94FE\u4E0A\u63D0\u73B0\u3002",
|
|
@@ -96,7 +96,9 @@ function buildUdaWithdrawalConfig(config) {
|
|
|
96
96
|
defaultReceiveToken: config.defaultReceiveToken ?? "USDC",
|
|
97
97
|
sourceTokenAddress: config.sourceTokenAddress ?? POLYGON_USDCE,
|
|
98
98
|
iconSrc: config.iconSrc ?? "https://sdk-cdn.fun.xyz/images/usdc.svg",
|
|
99
|
-
getMinWithdrawalUSD: () => 3
|
|
99
|
+
getMinWithdrawalUSD: () => 3,
|
|
100
|
+
allowedRecipients: config.allowedRecipients,
|
|
101
|
+
onManageAllowedRecipients: config.onManageAllowedRecipients
|
|
100
102
|
};
|
|
101
103
|
}
|
|
102
104
|
function buildWalletUnwrapWithdrawalConfig(config) {
|
|
@@ -185,7 +187,9 @@ function buildWalletUnwrapWithdrawalConfig(config) {
|
|
|
185
187
|
iconSrc: config.iconSrc ?? PUSD_TOKEN.iconSrc,
|
|
186
188
|
getMinWithdrawalUSD: () => 0,
|
|
187
189
|
wallet,
|
|
188
|
-
preWithdrawalAction
|
|
190
|
+
preWithdrawalAction,
|
|
191
|
+
allowedRecipients: config.allowedRecipients,
|
|
192
|
+
onManageAllowedRecipients: config.onManageAllowedRecipients
|
|
189
193
|
};
|
|
190
194
|
}
|
|
191
195
|
function extractWithdrawalAmount(funQuote) {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
isExpectedNadoWithdrawalFailure,
|
|
7
7
|
toNadoWithdrawalErrorMessage
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QS3S2PXZ.js";
|
|
9
9
|
import {
|
|
10
10
|
toWithdrawalAmountBaseUnit
|
|
11
11
|
} from "./chunk-LICTGZXW.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-OODIKHYE.js";
|
|
17
17
|
import {
|
|
18
18
|
i18n_default
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-35XAIUH6.js";
|
|
20
20
|
import {
|
|
21
21
|
logger
|
|
22
22
|
} from "./chunk-B67ESBGC.js";
|
package/dist/clients/fanatics.js
CHANGED
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
} from "./chunk-4NWQR25X.js";
|
|
11
11
|
import {
|
|
12
12
|
useFunkitTranslation
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-55LEL7SW.js";
|
|
14
|
+
import "./chunk-35XAIUH6.js";
|
|
15
15
|
import "./chunk-B67ESBGC.js";
|
|
16
16
|
|
|
17
17
|
// src/clients/fanatics.tsx
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
createNadoWithdrawalCallback
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-JBJ5FEIA.js";
|
|
5
5
|
import "../../chunk-TKEBGMVW.js";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-QS3S2PXZ.js";
|
|
7
7
|
import "../../chunk-LICTGZXW.js";
|
|
8
8
|
import "../../chunk-OODIKHYE.js";
|
|
9
|
-
import "../../chunk-
|
|
9
|
+
import "../../chunk-35XAIUH6.js";
|
|
10
10
|
import "../../chunk-B67ESBGC.js";
|
|
11
11
|
export {
|
|
12
12
|
createNadoWithdrawalCallback
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import {
|
|
3
3
|
isExpectedNadoWithdrawalFailure,
|
|
4
4
|
toNadoWithdrawalErrorMessage
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
5
|
+
} from "../../chunk-QS3S2PXZ.js";
|
|
6
|
+
import "../../chunk-35XAIUH6.js";
|
|
7
7
|
export {
|
|
8
8
|
isExpectedNadoWithdrawalFailure,
|
|
9
9
|
toNadoWithdrawalErrorMessage
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
import {
|
|
3
3
|
isNadoWithdrawalConfig
|
|
4
4
|
} from "../../chunk-LCYJLY4X.js";
|
|
5
|
-
import "../../chunk-LICTGZXW.js";
|
|
6
5
|
import {
|
|
7
6
|
PLACEHOLDER_FUNKIT_USER_INFO
|
|
8
7
|
} from "../../chunk-CE42WHAA.js";
|
|
9
8
|
import "../../chunk-PZSKO3BJ.js";
|
|
10
9
|
import {
|
|
11
10
|
useFunkitConfig
|
|
12
|
-
} from "../../chunk-
|
|
13
|
-
import "../../chunk-2W2P3OS6.js";
|
|
11
|
+
} from "../../chunk-GQINBV24.js";
|
|
14
12
|
import {
|
|
15
13
|
useFunkitTranslation
|
|
16
|
-
} from "../../chunk-
|
|
17
|
-
import "../../chunk-
|
|
14
|
+
} from "../../chunk-55LEL7SW.js";
|
|
15
|
+
import "../../chunk-LICTGZXW.js";
|
|
16
|
+
import "../../chunk-2W2P3OS6.js";
|
|
17
|
+
import "../../chunk-35XAIUH6.js";
|
|
18
18
|
import {
|
|
19
19
|
logger
|
|
20
20
|
} from "../../chunk-B67ESBGC.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
useFunkitConfig
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-GQINBV24.js";
|
|
5
|
+
import "../../chunk-55LEL7SW.js";
|
|
5
6
|
import {
|
|
6
7
|
useAccount
|
|
7
8
|
} from "../../chunk-2W2P3OS6.js";
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-HGLDKRSQ.js";
|
|
9
|
+
import "../../chunk-35XAIUH6.js";
|
|
10
10
|
import {
|
|
11
11
|
logger
|
|
12
12
|
} from "../../chunk-B67ESBGC.js";
|
package/dist/clients/lighter.js
CHANGED
|
@@ -6,18 +6,18 @@ import {
|
|
|
6
6
|
} from "./chunk-PZSKO3BJ.js";
|
|
7
7
|
import {
|
|
8
8
|
useFunkitConfig
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GQINBV24.js";
|
|
10
10
|
import {
|
|
11
11
|
AsyncImage,
|
|
12
12
|
Box,
|
|
13
13
|
sanitizeUrl
|
|
14
14
|
} from "./chunk-4NWQR25X.js";
|
|
15
|
-
import "./chunk-OODIKHYE.js";
|
|
16
|
-
import "./chunk-2W2P3OS6.js";
|
|
17
15
|
import {
|
|
18
16
|
useFunkitTranslation
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-55LEL7SW.js";
|
|
18
|
+
import "./chunk-OODIKHYE.js";
|
|
19
|
+
import "./chunk-2W2P3OS6.js";
|
|
20
|
+
import "./chunk-35XAIUH6.js";
|
|
21
21
|
import {
|
|
22
22
|
logger
|
|
23
23
|
} from "./chunk-B67ESBGC.js";
|
package/dist/clients/mallard.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
useFunkitTranslation
|
|
4
|
+
} from "./chunk-55LEL7SW.js";
|
|
2
5
|
import {
|
|
3
6
|
getAccount,
|
|
4
7
|
sendTransaction,
|
|
@@ -11,10 +14,7 @@ import {
|
|
|
11
14
|
useAccount,
|
|
12
15
|
useConfig
|
|
13
16
|
} from "./chunk-2W2P3OS6.js";
|
|
14
|
-
import
|
|
15
|
-
useFunkitTranslation
|
|
16
|
-
} from "./chunk-Y2O77SJO.js";
|
|
17
|
-
import "./chunk-HGLDKRSQ.js";
|
|
17
|
+
import "./chunk-35XAIUH6.js";
|
|
18
18
|
import {
|
|
19
19
|
logger
|
|
20
20
|
} from "./chunk-B67ESBGC.js";
|
package/dist/clients/nado.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
createNadoWithdrawalCallback
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-JBJ5FEIA.js";
|
|
5
5
|
import "./chunk-TKEBGMVW.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-QS3S2PXZ.js";
|
|
7
7
|
import "./chunk-LICTGZXW.js";
|
|
8
8
|
import "./chunk-OODIKHYE.js";
|
|
9
9
|
import {
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-2W2P3OS6.js";
|
|
13
13
|
import {
|
|
14
14
|
i18n_default
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-35XAIUH6.js";
|
|
16
16
|
import {
|
|
17
17
|
logger
|
|
18
18
|
} from "./chunk-B67ESBGC.js";
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import {
|
|
3
3
|
createPolymarketDepositConfig,
|
|
4
4
|
createPredictionsGenerateActionParams
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-IDYAC2RY.js";
|
|
6
6
|
import {
|
|
7
7
|
POLYMARKET_PERPS_ROUTING_ID,
|
|
8
8
|
POLYMARKET_PREDICTIONS_ROUTING_ID
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-HEOTAER5.js";
|
|
10
10
|
import "../chunk-TKEBGMVW.js";
|
|
11
11
|
import "../chunk-B67ESBGC.js";
|
|
12
12
|
export {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
createPolymarketDepositConfig,
|
|
4
4
|
createPredictionsGenerateActionParams
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-IDYAC2RY.js";
|
|
6
6
|
import {
|
|
7
7
|
AMOUNT_PLACEHOLDER,
|
|
8
8
|
COLLATERAL_ONRAMP_ABI,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
VAULT_DEPOSITOR_POLYGON,
|
|
16
16
|
createPerpsGenerateActionParams,
|
|
17
17
|
createPolymarketWithdrawalConfig
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-HEOTAER5.js";
|
|
19
19
|
import "../chunk-TKEBGMVW.js";
|
|
20
20
|
import "../chunk-B67ESBGC.js";
|
|
21
21
|
export {
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
*/
|
|
18
18
|
import { type Address, type PublicClient, type TransactionReceipt } from 'viem';
|
|
19
19
|
import { POLYGON_USDCE, PUSD_TOKEN } from '../../consts/polymarket';
|
|
20
|
+
import type { AllowedRecipient } from '../../domains/withdrawalAllowlist';
|
|
20
21
|
import type { CustomWithdrawalConfig, FunkitCheckoutActionParams, WalletWithdrawalConfig } from '../../providers/FunkitCheckoutContext/types';
|
|
21
22
|
import type { WithdrawalTransaction } from '../../wallets/Wallet';
|
|
22
23
|
export { POLYGON_USDCE, PUSD_TOKEN };
|
|
@@ -28,6 +29,19 @@ export interface PolymarketWithdrawalCallbackConfig {
|
|
|
28
29
|
defaultReceiveToken?: string;
|
|
29
30
|
sourceTokenAddress?: Address;
|
|
30
31
|
iconSrc?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Addresses the user may withdraw to, applied only while the
|
|
34
|
+
* `enable-withdrawal-allowlist` gate is on. The user picks one from this
|
|
35
|
+
* list instead of typing an address, and an empty list blocks the
|
|
36
|
+
* withdrawal. Cash withdrawals are off while a list is set.
|
|
37
|
+
*/
|
|
38
|
+
allowedRecipients?: AllowedRecipient[];
|
|
39
|
+
/**
|
|
40
|
+
* Opens the integrator's screen for managing `allowedRecipients`. Without
|
|
41
|
+
* it, the recipient picker hides its Manage and Add links. The picker shows
|
|
42
|
+
* only while the `enable-withdrawal-allowlist` gate is on.
|
|
43
|
+
*/
|
|
44
|
+
onManageAllowedRecipients?: () => void;
|
|
31
45
|
/**
|
|
32
46
|
* Execute the ERC-20 transfer of PMCT from the user's proxy to the UDA.
|
|
33
47
|
* Called after the UDA address is generated.
|
|
@@ -71,6 +85,19 @@ export interface PolymarketWalletUnwrapWithdrawalConfig {
|
|
|
71
85
|
sourceTokenAddress?: Address;
|
|
72
86
|
defaultReceiveToken?: string;
|
|
73
87
|
iconSrc?: string;
|
|
88
|
+
/**
|
|
89
|
+
* Addresses the user may withdraw to, applied only while the
|
|
90
|
+
* `enable-withdrawal-allowlist` gate is on. The user picks one from this
|
|
91
|
+
* list instead of typing an address, and an empty list blocks the
|
|
92
|
+
* withdrawal. Cash withdrawals are off while a list is set.
|
|
93
|
+
*/
|
|
94
|
+
allowedRecipients?: AllowedRecipient[];
|
|
95
|
+
/**
|
|
96
|
+
* Opens the integrator's screen for managing `allowedRecipients`. Without
|
|
97
|
+
* it, the recipient picker hides its Manage and Add links. The picker shows
|
|
98
|
+
* only while the `enable-withdrawal-allowlist` gate is on.
|
|
99
|
+
*/
|
|
100
|
+
onManageAllowedRecipients?: () => void;
|
|
74
101
|
}
|
|
75
102
|
/**
|
|
76
103
|
* Combined input — supplies params for both flows.
|
|
@@ -68,7 +68,9 @@ export interface BaseDropdownProps<T = string, G extends string = never> {
|
|
|
68
68
|
maxDropdownHeight?: number;
|
|
69
69
|
dropdownWidth?: number;
|
|
70
70
|
dropdownAlign?: 'start' | 'center' | 'end';
|
|
71
|
+
/** Rendered below the options inside the open menu, e.g. a note with a link. */
|
|
72
|
+
footer?: React.ReactNode;
|
|
71
73
|
testId?: string;
|
|
72
74
|
}
|
|
73
|
-
declare function BaseDropdown<T extends string = string, G extends string = never>({ activeItemProps, value, triggerClassName, options, groups, additionalGroup, additionalGroupLabel, allowUnselect, unselectLabel, onOptionSelected, onOpen, onOpenChange, renderDropdownOption, searchableOptions, searchPlaceholder, placeholder, resetSearchOnClose, openToTopOnMobile, alwaysOpenToTop, openDropdownFullWidth, isLoading, preloadIconUrls, horizontalIconGap, openDropdownBackgroundColor, size, label, maxDropdownHeight, dropdownWidth, dropdownAlign, testId, }: BaseDropdownProps<T, G>): React.JSX.Element;
|
|
75
|
+
declare function BaseDropdown<T extends string = string, G extends string = never>({ activeItemProps, value, triggerClassName, options, groups, additionalGroup, additionalGroupLabel, allowUnselect, unselectLabel, onOptionSelected, onOpen, onOpenChange, renderDropdownOption, searchableOptions, searchPlaceholder, placeholder, resetSearchOnClose, openToTopOnMobile, alwaysOpenToTop, openDropdownFullWidth, isLoading, preloadIconUrls, horizontalIconGap, openDropdownBackgroundColor, size, label, maxDropdownHeight, dropdownWidth, dropdownAlign, footer, testId, }: BaseDropdownProps<T, G>): React.JSX.Element;
|
|
74
76
|
export default BaseDropdown;
|
|
@@ -16,9 +16,11 @@ interface BaseDropdownItemProps {
|
|
|
16
16
|
borderRadius?: BoxProps['borderRadius'];
|
|
17
17
|
horizontalPadding?: BoxProps['paddingX'];
|
|
18
18
|
verticalPadding?: BoxProps['paddingY'];
|
|
19
|
+
/** Inline style on the row, e.g. to undo the disabled fade on a row that mutes its own colours. */
|
|
20
|
+
style?: React.CSSProperties;
|
|
19
21
|
}
|
|
20
22
|
/**
|
|
21
23
|
* Represents a single option in a dropdown.
|
|
22
24
|
*/
|
|
23
|
-
declare function BaseDropdownItem({ iconComponent, label, description, id, onClick, isSelected, isCheckmarkVisible, isDisabled, borderRadius, horizontalIconGap, tagComponent, horizontalPadding, verticalPadding, }: BaseDropdownItemProps): React.JSX.Element;
|
|
25
|
+
declare function BaseDropdownItem({ iconComponent, label, description, id, onClick, isSelected, isCheckmarkVisible, isDisabled, borderRadius, horizontalIconGap, tagComponent, horizontalPadding, verticalPadding, style, }: BaseDropdownItemProps): React.JSX.Element;
|
|
24
26
|
export default BaseDropdownItem;
|
|
@@ -36,7 +36,12 @@ interface TokenAndChainDropdownProps {
|
|
|
36
36
|
priorityTokenSymbols?: string[];
|
|
37
37
|
/** Determines the chain display order */
|
|
38
38
|
chainIdSortOrder?: number[];
|
|
39
|
+
/**
|
|
40
|
+
* Rendered instead of the chain dropdown when set, such as a read-only chain
|
|
41
|
+
* the flow fixes. `null` shows nothing there.
|
|
42
|
+
*/
|
|
43
|
+
chainComponent?: ReactNode;
|
|
39
44
|
}
|
|
40
45
|
/** Combines together chain and token dropdowns */
|
|
41
|
-
export declare const TokenAndChainDropdown: ({ isLoading, selectedToken, selectedChainId, assets, onTokenSelected, onChainSelected, tokenLabel, chainLabel, tokenPlaceholder, chainPlaceholder, chainLabelAddon, alwaysOpenToTop, maxTokenDropdownHeight, maxChainDropdownHeight, openChainDropdownFullWidth, chainTagComponent, hideNewTokenBadge, popularTokenSymbols, priorityTokenSymbols, chainIdSortOrder, }: TokenAndChainDropdownProps) => React.JSX.Element;
|
|
46
|
+
export declare const TokenAndChainDropdown: ({ isLoading, selectedToken, selectedChainId, assets, onTokenSelected, onChainSelected, tokenLabel, chainLabel, tokenPlaceholder, chainPlaceholder, chainLabelAddon, alwaysOpenToTop, maxTokenDropdownHeight, maxChainDropdownHeight, openChainDropdownFullWidth, chainTagComponent, hideNewTokenBadge, popularTokenSymbols, priorityTokenSymbols, chainIdSortOrder, chainComponent, }: TokenAndChainDropdownProps) => React.JSX.Element;
|
|
42
47
|
export {};
|