@funkit/connect 5.5.13-next.3 → 5.5.13

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.
Files changed (28) hide show
  1. package/CHANGELOG.md +52 -0
  2. package/dist/domains/fees.d.ts +0 -2
  3. package/dist/domains/relay.d.ts +0 -1
  4. package/dist/hooks/useCheckoutTransferInit.d.ts +3 -1
  5. package/dist/hooks/useRelayBypass.d.ts +1 -0
  6. package/dist/index.js +1305 -1221
  7. package/dist/modals/CheckoutModal/ConfirmationStep/DirectExecutionBrokerageAndCardAlert.d.ts +2 -0
  8. package/dist/modals/CheckoutModal/MoonpaySetup.d.ts +2 -0
  9. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  10. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  11. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
  12. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  13. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  14. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  15. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  16. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  17. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
  18. package/dist/wallets/walletConnectors/index.js +58 -58
  19. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  20. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  21. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  22. package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
  23. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  24. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  25. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  26. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  27. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  28. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -1,5 +1,57 @@
1
1
  # @funkit/connect
2
2
 
3
+ ## 5.5.13
4
+
5
+ ### Patch Changes
6
+
7
+ - e88a3d2: feat(connect): adjust auto-picking of provider quotes for Meld
8
+ - b0f4092: feat: direct execution notification center
9
+ - 76158e3: feat(connect): show empty UI when withdrawal amount is empty
10
+ - 0bf9fe3: feat(connect): update colors of tooltip texts for Withdrawal
11
+ - 17e47e1: move withdrawSourceBalance to top level config
12
+ - df1b830: chore: deprecate dydx fee handling
13
+ - bd7721e: feat(connect): withdrawal handle wallet signature rejection
14
+ - 3d7fc1d: fix bridge fee in ui
15
+ - 85809cb: feat(connect): add risk assessment check for withdrawal address
16
+ - 5217122: feat: omit eoa calls in withdrawal flow
17
+ - d1133df: support withdrawal
18
+ - 7752acf: remove unused hacky code
19
+ - cdf268c: refactor: rename fill gas to fill cost
20
+ - 9ce2ee3: chore(connect): add meld util tests
21
+ - a98ccb6: fix: add Katana to CheckoutTimeEstimateOverrides flag config
22
+ - 3c8d98d: feat(connect): if the user is new, default to the Payment Methods screen, hide the SourcePaymentMethodItem, and enable the back button
23
+ - b095215: feat(connect): unify rendering of fees for withdrawal with relay
24
+ - 66b28fe: fix: update asset price refresh interval in withdrawal
25
+ - 6db3c9c: add loading state to withdrawal in progress
26
+ - e389c2b: wider price impact tooltip
27
+ - b88a759: fix(connect): fix transaction breakdown
28
+ - 19260d7: add meld supported currency in check
29
+ - 7c584f2: do not use alias in external typing file
30
+ - e3bba71: feat(connect): transfer crypto - minimum amount info"
31
+ - Updated dependencies [f49824b]
32
+ - Updated dependencies [d1133df]
33
+ - Updated dependencies [57f6bd8]
34
+ - Updated dependencies [b223027]
35
+ - Updated dependencies [d4d61dc]
36
+ - Updated dependencies [19260d7]
37
+ - @funkit/fun-relay@0.1.9
38
+ - @funkit/api-base@1.9.5
39
+ - @funkit/chains@0.3.2
40
+ - @funkit/core@2.3.27
41
+ - @funkit/utils@1.1.4
42
+ - @funkit/wagmi-tools@3.0.49
43
+
44
+ ## 5.5.13-next.4
45
+
46
+ ### Patch Changes
47
+
48
+ - a98ccb6: fix: add Katana to CheckoutTimeEstimateOverrides flag config
49
+ - b88a759: fix(connect): fix transaction breakdown
50
+ - Updated dependencies [d4d61dc]
51
+ - @funkit/fun-relay@0.1.9-next.2
52
+ - @funkit/core@2.3.27-next.3
53
+ - @funkit/wagmi-tools@3.0.49-next.3
54
+
3
55
  ## 5.5.13-next.3
4
56
 
5
57
  ### Patch Changes
@@ -1,7 +1,6 @@
1
1
  import { type CheckoutQuoteResponse } from '@funkit/utils';
2
2
  import type { Config } from 'wagmi';
3
3
  import { LoginType } from '~/providers/GeneralWalletProvider';
4
- import type { RelayQuote } from '@funkit/fun-relay';
5
4
  import type { FunkitActiveCheckoutItem } from '../providers/FunkitCheckoutContext';
6
5
  import { PaymentMethod, type PaymentMethodInfo } from './paymentMethods';
7
6
  export interface BrokerageDetails {
@@ -28,7 +27,6 @@ interface WalletCheckoutFees extends BaseCheckoutFees {
28
27
  eoaWalletFeeToken: number;
29
28
  nativeCurrencySymbol: string;
30
29
  eoaWalletFeeUsd: number;
31
- relayQuote: RelayQuote['metadata']['relayQuote'] | undefined;
32
30
  }
33
31
  interface CardCheckoutFees extends BaseCheckoutFees {
34
32
  paymentMethod: PaymentMethod.CARD;
@@ -5,7 +5,6 @@ export declare function extractRelayFeeInfo(relayQuote: RelayQuote['metadata']['
5
5
  chainName: string | undefined;
6
6
  totalImpact: number;
7
7
  swapImpact: number;
8
- relayGas: number;
9
8
  appFeePercent: number;
10
9
  maxSlippage: number;
11
10
  minReceived: number;
@@ -1,8 +1,10 @@
1
- import { type CheckoutInitTokenTransferResponse, type FunAddress } from '@funkit/api-base';
1
+ import { type CheckoutInitTokenTransferAddressParams, type CheckoutInitTokenTransferResponse, type FunAddress } from '@funkit/api-base';
2
2
  interface UseCheckoutTransferInitResponse {
3
3
  transferInit: CheckoutInitTokenTransferResponse | undefined;
4
4
  recipientAddr: FunAddress;
5
+ manualFetch: (params: CheckoutTokenTransferParams) => Promise<CheckoutInitTokenTransferResponse>;
5
6
  }
7
+ type CheckoutTokenTransferParams = Omit<CheckoutInitTokenTransferAddressParams, 'logger' | 'clientMetadata'>;
6
8
  /**
7
9
  * creates QR code transfer EOA
8
10
  */
@@ -9,6 +9,7 @@ interface GetIsRelayEnabledParams {
9
9
  toChainId: string;
10
10
  toTokenAddress: string;
11
11
  paymentMethod: PaymentMethod | undefined;
12
+ isAdditionalActionsRequired: boolean;
12
13
  }
13
14
  export interface UseRelayBypassReturn {
14
15
  getIsRelayEnabled: (params: GetIsRelayEnabledParams) => boolean;