@funkit/connect 10.2.0 → 10.3.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 +40 -0
- package/dist/{chunk-36KVHK22.js → chunk-L67HP4HQ.js} +1 -1
- package/dist/clients/{chunk-ZAXSDMDU.js → chunk-3STGJU6Z.js} +2 -2
- package/dist/clients/chunk-HOORQPSY.js +4660 -0
- package/dist/clients/{chunk-E3USJY7A.js → chunk-RWCJ4XGX.js} +5 -3
- package/dist/clients/fanatics.js +1 -1
- package/dist/clients/lighter.css +12 -1
- package/dist/clients/lighter.js +2 -3
- package/dist/clients/mallard.js +1 -1
- package/dist/clients/polymarket/PolymarketDepositAccountDropdown.css +12 -1
- package/dist/clients/polymarket/PolymarketDepositAccountDropdown.js +3 -3
- package/dist/clients/polymarket/index.css +12 -1
- package/dist/clients/polymarket/index.js +3 -3
- package/dist/components/Dialog/Dialog.d.ts +1 -1
- package/dist/components/Dialog/hooks.d.ts +1 -2
- package/dist/components/FunInput/FunInput.d.ts +2 -0
- package/dist/components/FunkitTrans.d.ts +14 -0
- package/dist/hooks/useFunkitTranslation.d.ts +3 -1
- package/dist/hooks/usePaymentMethodTabs.d.ts +4 -1
- package/dist/hooks/useSkipSwappedPreload.d.ts +7 -0
- package/dist/hooks/useSwappedPreload.d.ts +10 -1
- package/dist/index.css +12 -1
- package/dist/index.js +15525 -15538
- package/dist/modals/CheckoutModal/InputAmount/InputAmount.css.d.ts +1 -0
- package/dist/modals/CheckoutModal/SourceChange/FormOfPaymentsList.d.ts +6 -2
- package/dist/modals/CheckoutModal/SourceChange/SourceChange.d.ts +26 -0
- package/dist/modals/CheckoutModal/Withdrawal/WithdrawalComplete.d.ts +15 -1
- package/dist/modals/CheckoutModal/Withdrawal/WithdrawalEnterAmount.d.ts +12 -1
- package/dist/modals/CheckoutModal/isWithdrawalStep.d.ts +24 -0
- package/dist/modals/WithdrawalModal/WithdrawalContent.d.ts +15 -1
- package/dist/modals/WithdrawalModal/WithdrawalMethodSelect.d.ts +5 -1
- package/dist/providers/FunkitCheckoutContext/index.d.ts +15 -1
- package/dist/providers/FunkitCheckoutContext/types.d.ts +8 -0
- package/dist/providers/FunkitI18nProvider.d.ts +6 -2
- package/dist/themes/darkTheme.js +1 -1
- package/dist/wallets/walletConnectors/index.js +19 -19
- package/package.json +5 -4
- package/dist/clients/chunk-STLOQEN7.js +0 -11
- package/dist/components/FunInput/FunTextAreaInput.css.d.ts +0 -1
- package/dist/components/FunInput/FunTextAreaInput.d.ts +0 -3
- package/dist/components/Icons/AcornsIcon.d.ts +0 -4
- package/dist/components/Icons/AlpacaIcon.d.ts +0 -4
- package/dist/components/Icons/BitFlyerIcon.d.ts +0 -4
- package/dist/components/Icons/BitfinexIcon.d.ts +0 -4
- package/dist/components/Icons/BitstampIcon.d.ts +0 -4
- package/dist/components/Icons/BrokerageIcon.d.ts +0 -4
- package/dist/components/Icons/CexloIcon.d.ts +0 -4
- package/dist/components/Icons/CoinlistIcon.d.ts +0 -4
- package/dist/components/Icons/CryptoComIcon.d.ts +0 -4
- package/dist/components/Icons/CryptoIcon.d.ts +0 -2
- package/dist/components/Icons/DeviceConfirmationIcon.d.ts +0 -2
- package/dist/components/Icons/EmailConfirmationIcon.d.ts +0 -2
- package/dist/components/Icons/EtoroIcon.d.ts +0 -4
- package/dist/components/Icons/EtradeIcon.d.ts +0 -4
- package/dist/components/Icons/HuobiIcon.d.ts +0 -4
- package/dist/components/Icons/KucoinIcon.d.ts +0 -4
- package/dist/components/Icons/LightningBoltIcon.d.ts +0 -4
- package/dist/components/Icons/LockIcon.d.ts +0 -4
- package/dist/components/Icons/MailIcon.d.ts +0 -6
- package/dist/components/Icons/New/LinkExternalIcon.d.ts +0 -4
- package/dist/components/Icons/New/MessageIcon.d.ts +0 -2
- package/dist/components/Icons/OkcoinIcon.d.ts +0 -4
- package/dist/components/Icons/OkxIcon.d.ts +0 -4
- package/dist/components/Icons/PublicIcon.d.ts +0 -4
- package/dist/components/Icons/RobinhoodIcon.d.ts +0 -4
- package/dist/components/Icons/SocialMediaIcons.d.ts +0 -13
- package/dist/components/Icons/SocialsIcon.d.ts +0 -2
- package/dist/components/Icons/StashIcon.d.ts +0 -4
- package/dist/components/Icons/WeBullIcon.d.ts +0 -4
- package/dist/components/Icons/WhitelistIcon.d.ts +0 -2
- package/dist/hooks/useIsUsUser.d.ts +0 -1
- package/dist/utils/privyHelper.d.ts +0 -3
- package/dist/utils/safeJSON.d.ts +0 -5
- package/dist/utils/swappedRouteOverride.d.ts +0 -27
- package/dist/utils/tokenTransfer/disabledList.d.ts +0 -1
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { Address } from 'viem';
|
|
2
|
-
/**
|
|
3
|
-
* Operator override (Statsig `swappedwithdrawalsourceoverrides`) pinning a
|
|
4
|
-
* Swapped withdrawal to a known-good accepted asset, keyed on the source asset,
|
|
5
|
-
* for when the config's requested target isn't supported by Swapped. `when`
|
|
6
|
-
* matches the source; `use` is the target the Relay quote delivers.
|
|
7
|
-
*/
|
|
8
|
-
export interface SwappedSourceRouteOverride {
|
|
9
|
-
when: {
|
|
10
|
-
chainId: string;
|
|
11
|
-
tokenAddress: string;
|
|
12
|
-
};
|
|
13
|
-
use: {
|
|
14
|
-
chainId: string;
|
|
15
|
-
tokenAddress: Address;
|
|
16
|
-
symbol: string;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* First well-formed override whose `when` matches the source asset, or
|
|
21
|
-
* `undefined`. First match wins so ops can order more specific rules ahead of
|
|
22
|
-
* broader ones.
|
|
23
|
-
*/
|
|
24
|
-
export declare function findSwappedSourceOverride(overrides: readonly SwappedSourceRouteOverride[] | undefined, source: {
|
|
25
|
-
chainId: string;
|
|
26
|
-
tokenAddress: string;
|
|
27
|
-
}): SwappedSourceRouteOverride | undefined;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { type DisabledChainsAndAssets, isAssetDisabled, isChainDisabled, } from '@funkit/connect-core';
|