@funkit/connect 5.5.10 → 5.5.11
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 +17 -0
- package/dist/components/FunPayments/FunPaymentMethods.d.ts +3 -2
- package/dist/components/SourceMeldQuoteItem/SourceMeldQuoteItem.d.ts +3 -1
- package/dist/hooks/queries/useMeldLimits.d.ts +1 -1
- package/dist/index.js +347 -277
- package/dist/modals/CheckoutModal/InputAmount/InputAmount.d.ts +1 -1
- package/dist/modals/CheckoutModal/InputAmount/QuickOptions.d.ts +1 -1
- package/dist/modals/CheckoutModal/InputAmount/state.d.ts +4 -4
- package/dist/modals/CheckoutModal/MeldQuotes/MeldQuotes.d.ts +1 -1
- package/dist/modals/CheckoutModal/MeldQuotes/useMeldQuotes.d.ts +15 -4
- package/dist/utils/consts.d.ts +2 -0
- package/dist/utils/flags/config.d.ts +29 -2
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
- package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
- package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
- package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
- package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
- package/dist/wallets/walletConnectors/index.js +58 -58
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
- package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
- package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
- package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
- package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @funkit/connect
|
|
2
2
|
|
|
3
|
+
## 5.5.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 8366d07: feat(connect): ostium QA
|
|
8
|
+
- 472491e: feat(connect): move the card payment method below Transfer Crypto
|
|
9
|
+
- d2f25f8: feat(connect): adjust Meld quotes ranking based on customer score and best offer
|
|
10
|
+
- 5d3452e: feat(connect): add Buy more and No document upload badges to Meld Quote Items
|
|
11
|
+
- cbcc694: feat(connect): remove tilda from Meld Quote Item before the dollar value
|
|
12
|
+
- 4f5d2f6: use correct logic for best price
|
|
13
|
+
- 19b0e73: feat: improve empty input amount step handling
|
|
14
|
+
- 9b7ce30: update max slippage
|
|
15
|
+
- f2cb67f: fix(connect): hide Meld quote error while new input is debounced
|
|
16
|
+
- Updated dependencies [881f069]
|
|
17
|
+
- Updated dependencies [915c4de]
|
|
18
|
+
- @funkit/fun-relay@0.1.8
|
|
19
|
+
|
|
3
20
|
## 5.5.10
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -7,16 +7,17 @@ export declare function PaymentMethodIcon({ paymentIcon, keyIconSize, }: {
|
|
|
7
7
|
}): React.JSX.Element;
|
|
8
8
|
interface ConnectedMeshPaymentMethodItemProps {
|
|
9
9
|
paymentMethodInfo: PaymentMethodBrokerageInfo;
|
|
10
|
-
|
|
10
|
+
isActive: boolean;
|
|
11
11
|
onSelect: () => void;
|
|
12
12
|
onBrokerageError?: () => void;
|
|
13
13
|
targetChainId: string;
|
|
14
|
+
customValueIcon?: ReactNode;
|
|
14
15
|
}
|
|
15
16
|
/** it is different from BrokeragePaymentMethodItem
|
|
16
17
|
* this component is for connected mesh brokerage like robinhood
|
|
17
18
|
* the other one is for connecting new brokerage button
|
|
18
19
|
* */
|
|
19
|
-
export declare const ConnectedMeshPaymentMethodItem: ({ paymentMethodInfo,
|
|
20
|
+
export declare const ConnectedMeshPaymentMethodItem: ({ paymentMethodInfo, isActive, onSelect, onBrokerageError, targetChainId, customValueIcon, }: ConnectedMeshPaymentMethodItemProps) => React.JSX.Element;
|
|
20
21
|
export declare const AccountBalancePaymentMethodItem: ({ isActive, customValueIcon, onClick, targetChainId, }: BasePaymentMethodItemProps & {
|
|
21
22
|
targetChainId: string;
|
|
22
23
|
}) => React.JSX.Element;
|
|
@@ -13,6 +13,8 @@ export declare const SourceMeldQuoteItem: ({ quote, onClick, isLoading, isBestQu
|
|
|
13
13
|
interface MeldProviderLabelProps {
|
|
14
14
|
serviceProvider: MeldServiceProvider;
|
|
15
15
|
isBest?: boolean;
|
|
16
|
+
shouldBuyMore?: boolean;
|
|
17
|
+
hasDocumentUpload?: boolean;
|
|
16
18
|
}
|
|
17
|
-
export declare const MeldProviderLabel: ({ serviceProvider, isBest, }: MeldProviderLabelProps) => React.JSX.Element;
|
|
19
|
+
export declare const MeldProviderLabel: ({ serviceProvider, isBest, shouldBuyMore, hasDocumentUpload, }: MeldProviderLabelProps) => React.JSX.Element;
|
|
18
20
|
export {};
|
|
@@ -163,5 +163,5 @@ type MeldLimitError = {
|
|
|
163
163
|
issue: string;
|
|
164
164
|
suggestion: string;
|
|
165
165
|
};
|
|
166
|
-
export declare const useMeldLimitError: (amount: number, fiatCurrency?: string) => MeldLimitError | undefined;
|
|
166
|
+
export declare const useMeldLimitError: (amount: number | undefined, fiatCurrency?: string) => MeldLimitError | undefined;
|
|
167
167
|
export {};
|