@funkit/connect 9.6.1 → 9.7.1

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 (40) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/dist/__generated__/default_configs.d.ts +8 -4
  3. package/dist/__generated__/default_feature_gates.d.ts +6 -1
  4. package/dist/{chunk-VLAOBEJN.js → chunk-76E6MOLR.js} +1 -0
  5. package/dist/{chunk-S65TG73G.js → chunk-AVVB5AIE.js} +1 -0
  6. package/dist/clients/fanatics.css +3381 -3318
  7. package/dist/clients/fanatics.js +2 -2
  8. package/dist/clients/polymarket.d.ts +0 -1
  9. package/dist/clients/polymarket.js +0 -2
  10. package/dist/components/Box/Box.d.ts +21 -21
  11. package/dist/components/FunPayments/FunPaymentMethods.d.ts +8 -4
  12. package/dist/components/SwappedIframeSkeleton.d.ts +7 -0
  13. package/dist/css/sprinkles.css.d.ts +23 -21
  14. package/dist/domains/quoteMode/gasEstimate.d.ts +2 -8
  15. package/dist/domains/quoteMode/index.d.ts +1 -1
  16. package/dist/hooks/queries/useFops.d.ts +4 -0
  17. package/dist/hooks/queries/useHasSavedFops.d.ts +2 -0
  18. package/dist/hooks/track/CheckoutModalEvent.d.ts +3 -1
  19. package/dist/hooks/useIsUserUnderComplianceReview.d.ts +1 -0
  20. package/dist/hooks/useSwappedIframeLifecycle.d.ts +12 -0
  21. package/dist/index.css +3381 -3318
  22. package/dist/index.js +5281 -4894
  23. package/dist/modals/CheckoutModal/InputAmount/state.d.ts +3 -1
  24. package/dist/modals/CheckoutModal/SourceChange/ComplianceReviewBanner.d.ts +6 -0
  25. package/dist/modals/CheckoutModal/SourceChange/ConnectedSource.d.ts +2 -1
  26. package/dist/modals/CheckoutModal/SourceChange/FormOfPaymentsList.d.ts +2 -1
  27. package/dist/modals/CheckoutModal/SwappedIframe/{SwappedIframeContainer.d.ts → SwappedIframeController.d.ts} +1 -1
  28. package/dist/modals/CheckoutModal/SwappedIframe/index.d.ts +1 -1
  29. package/dist/modals/CheckoutModal/TransferToken/DirectExecutionNotification.d.ts +10 -0
  30. package/dist/providers/FunkitThemeProvider.d.ts +3 -0
  31. package/dist/providers/SwappedProvider.d.ts +0 -11
  32. package/dist/themes/darkTheme.js +1 -1
  33. package/dist/themes/lightTheme.js +1 -1
  34. package/dist/utils/customer.d.ts +213 -0
  35. package/dist/utils/directExecution.d.ts +9 -1
  36. package/dist/utils/flags/config.d.ts +8 -1
  37. package/dist/utils/safeBigInt.d.ts +5 -0
  38. package/dist/utils/swapped.d.ts +2 -0
  39. package/dist/wallets/walletConnectors/index.js +22 -22
  40. package/package.json +5 -5
@@ -21,24 +21,27 @@ export declare function PaymentMethodIcon({ paymentIcon, keyIconSize, }: {
21
21
  interface ConnectedBluvoPaymentMethodItemProps extends ConnectedPaymentMethodItemProps {
22
22
  paymentMethodInfo: PaymentMethodBrokerageInfo;
23
23
  onBrokerageError?: () => void;
24
+ disabled?: boolean;
24
25
  }
25
26
  /**
26
27
  * Note: This is different from `BrokeragePaymentMethodItem`, which is used as a
27
28
  * button to initiate connecting a new brokerage account.
28
29
  * This is for connected Bluvo brokerage like coinbase etc.
29
30
  */
30
- export declare const ConnectedBluvoPaymentMethodItem: ({ paymentMethodInfo, isSelected, onSelect, onBrokerageError, showSelectedCheckmark, }: ConnectedBluvoPaymentMethodItemProps) => React.JSX.Element;
31
+ export declare const ConnectedBluvoPaymentMethodItem: ({ paymentMethodInfo, isSelected, onSelect, onBrokerageError, showSelectedCheckmark, disabled, }: ConnectedBluvoPaymentMethodItemProps) => React.JSX.Element;
31
32
  interface ConnectedPaymentMethodItemProps {
32
33
  isSelected: boolean;
33
34
  showSelectedCheckmark?: boolean;
34
35
  onSelect: () => void;
35
36
  targetChainId: string;
36
37
  testId?: string;
38
+ disabled?: boolean;
37
39
  }
38
- export declare const AccountBalancePaymentMethodItem: ({ isSelected, showSelectedCheckmark, onSelect, targetChainId, testId, }: ConnectedPaymentMethodItemProps) => React.JSX.Element;
39
- export declare const ActiveFiatAccountPaymentMethodItem: ({ isActive, onClick, paymentMethodInfo, customValueIcon, testId, }: BasePaymentMethodItemProps & {
40
+ export declare const AccountBalancePaymentMethodItem: ({ isSelected, showSelectedCheckmark, onSelect, targetChainId, testId, disabled, }: ConnectedPaymentMethodItemProps) => React.JSX.Element;
41
+ export declare const ActiveFiatAccountPaymentMethodItem: ({ isActive, onClick, paymentMethodInfo, customValueIcon, testId, disabled, }: BasePaymentMethodItemProps & {
40
42
  paymentMethodInfo: PaymentMethodVirtualBankInfo;
41
43
  testId?: string;
44
+ disabled?: boolean;
42
45
  }) => React.JSX.Element;
43
46
  type BasePaymentMethodItemProps = {
44
47
  isActive: boolean;
@@ -67,8 +70,9 @@ export declare function PaymentMethodDisabledBadge(props: {
67
70
  /**
68
71
  * Payment method item for a Form of Payment from the fops API (Swapped providers)
69
72
  */
70
- export declare function FopPaymentMethodItem({ fop, isActive, onClick, testId, disclaimerLimit, }: BasePaymentMethodItemProps & {
73
+ export declare function FopPaymentMethodItem({ fop, isActive, onClick, testId, disclaimerLimit, disabled, }: BasePaymentMethodItemProps & {
71
74
  fop: SwappedFormOfPayment;
72
75
  disclaimerLimit: string;
76
+ disabled?: boolean;
73
77
  }): React.JSX.Element;
74
78
  export {};
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface SwappedIframeSkeletonProps {
3
+ id: string;
4
+ onBack: () => void;
5
+ }
6
+ export declare function SwappedIframeSkeleton({ id, onBack, }: SwappedIframeSkeletonProps): React.JSX.Element;
7
+ export {};