@funkit/connect 6.1.0 → 6.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.
Files changed (28) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/dist/components/FunPayments/FunPaymentMethods.d.ts +3 -0
  3. package/dist/components/Icons/PayPalIcon.d.ts +5 -0
  4. package/dist/hooks/useAllowedAssets.d.ts +4 -2
  5. package/dist/index.js +1454 -1416
  6. package/dist/modals/CheckoutModal/InputAmount/InputAmountLoaded.d.ts +3 -0
  7. package/dist/providers/FunkitCheckoutContext.d.ts +5 -0
  8. package/dist/utils/flags/config.d.ts +2 -27
  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 +56 -56
  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 +19 -12
package/CHANGELOG.md CHANGED
@@ -1,5 +1,48 @@
1
1
  # @funkit/connect
2
2
 
3
+ ## 6.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 3dacbbd: Add support for disabling specific source tokens in checkout process via disabledSourceTokens configuration
8
+
9
+ ### Patch Changes
10
+
11
+ - c447521: feat(connect): change text to deposit with card
12
+ - 52dedad: Increase tooltip max width in PaymentFeesSummary from 250px to 300px for better text readability
13
+ - f65374b: fix(connect): fix withdrawal sourceOfFund
14
+ - 4717af3: feat(connect): change starting step + remove text to virtual bank / SEPA
15
+ - 6c027ed: feat(connect): update transfer crypto icons
16
+ - c4587b3: remove exchange rate component
17
+ - 971145e: feat(connect): update transaction breakdown tooltip message
18
+ - c56ac6b: Update zkSync import to zksync to align with viem API changes
19
+ - Updated dependencies [ca26e44]
20
+ - Updated dependencies [c56ac6b]
21
+ - @funkit/chains@0.3.9
22
+ - @funkit/core@2.3.41
23
+ - @funkit/wagmi-tools@3.0.63
24
+
25
+ ## 6.2.0
26
+
27
+ ### Minor Changes
28
+
29
+ - e897b5a: Enable meld and fiat payment methods for all hyperbeat users
30
+
31
+ ### Patch Changes
32
+
33
+ - e9fefa3: Enable TypeScript declaration maps for improved development experience
34
+
35
+ Adds declarationMap: true to tsconfig.json files across packages to generate declaration map files, which provide better IDE support for go-to-definition and debugging in TypeScript projects that consume these packages.
36
+
37
+ - dbdd08d: updated storybook and improved performance
38
+ - 71908e3: show estTotalUsd in confirmation screen
39
+ - 9f1ffd4: add paypal option
40
+ - c4215cd: fix(connect): fix scrolling ability calculation in Withdrawal modal
41
+ - Updated dependencies [e9fefa3]
42
+ - @funkit/api-base@1.9.16
43
+ - @funkit/core@2.3.40
44
+ - @funkit/wagmi-tools@3.0.62
45
+
3
46
  ## 6.1.0
4
47
 
5
48
  ### Minor Changes
@@ -25,4 +25,7 @@ export declare function AddPaymentMethodItem({ paymentMethod, isClickable, isAct
25
25
  paymentMethod: PaymentMethod;
26
26
  dynamicLimit?: string;
27
27
  }): React.JSX.Element | null | undefined;
28
+ export declare function PayPalPaymentMethodItem({ isActive, isClickable, onClick, isLoading, }: BasePaymentMethodItemProps & {
29
+ isLoading: boolean;
30
+ }): React.JSX.Element;
28
31
  export {};
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export declare function PayPalIcon({ size, fill, }: {
3
+ size?: number;
4
+ fill?: string;
5
+ }): React.JSX.Element;
@@ -1,8 +1,10 @@
1
1
  import type { Address } from 'viem';
2
- export declare function useAllowedAssets(): {
2
+ interface AllowedAssetsHookResult {
3
3
  allowedAssets: {
4
4
  [chainId in string]?: Address[];
5
5
  } | undefined;
6
6
  isAllowed: (chainId: number | string, tokenAddress: Address) => boolean;
7
7
  isLoading: boolean;
8
- };
8
+ }
9
+ export declare function useAllowedAssets(): AllowedAssetsHookResult;
10
+ export {};