@funkit/connect 9.7.0 → 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 (49) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/__generated__/default_configs.d.ts +3 -5
  3. package/dist/__generated__/default_feature_gates.d.ts +3 -0
  4. package/dist/components/FunPayments/FunPaymentMethods.d.ts +8 -4
  5. package/dist/hooks/track/CheckoutModalEvent.d.ts +3 -1
  6. package/dist/hooks/useIsUserUnderComplianceReview.d.ts +1 -0
  7. package/dist/index.js +739 -650
  8. package/dist/modals/CheckoutModal/SourceChange/ComplianceReviewBanner.d.ts +6 -0
  9. package/dist/modals/CheckoutModal/SourceChange/ConnectedSource.d.ts +2 -1
  10. package/dist/modals/CheckoutModal/SourceChange/FormOfPaymentsList.d.ts +2 -1
  11. package/dist/utils/flags/config.d.ts +7 -0
  12. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  13. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  14. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
  15. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  16. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  17. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  18. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  19. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  20. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
  21. package/dist/wallets/walletConnectors/index.js +45 -45
  22. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  23. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  24. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  25. package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
  26. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  27. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  28. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  29. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  30. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  31. package/package.json +2 -2
  32. package/dist/wallets/walletConnectors/{chunk-5TN5Z2WY.js → chunk-3ZJN3PXP.js} +3 -3
  33. package/dist/wallets/walletConnectors/{chunk-V6UOWTEZ.js → chunk-55VS2NKG.js} +3 -3
  34. package/dist/wallets/walletConnectors/{chunk-DEFRRPXB.js → chunk-7IEUTLHY.js} +3 -3
  35. package/dist/wallets/walletConnectors/{chunk-LCIPVVH5.js → chunk-AZYMJ4C6.js} +3 -3
  36. package/dist/wallets/walletConnectors/{chunk-T4ROGPMF.js → chunk-FWM4KTOV.js} +3 -3
  37. package/dist/wallets/walletConnectors/{chunk-YIEASHLS.js → chunk-IMNI4AGV.js} +3 -3
  38. package/dist/wallets/walletConnectors/{chunk-7V33VJAL.js → chunk-IRHK6SOW.js} +3 -3
  39. package/dist/wallets/walletConnectors/{chunk-UDTBQV4Q.js → chunk-J3PJOMO7.js} +3 -3
  40. package/dist/wallets/walletConnectors/{chunk-VJZWNQOF.js → chunk-LEAZMT5Y.js} +3 -3
  41. package/dist/wallets/walletConnectors/{chunk-6DRCY52E.js → chunk-OD6B2ISG.js} +3 -3
  42. package/dist/wallets/walletConnectors/{chunk-FG2LDVXL.js → chunk-OSOB6QYX.js} +3 -3
  43. package/dist/wallets/walletConnectors/{chunk-XVBSJCW5.js → chunk-RZQ4B4Z7.js} +3 -3
  44. package/dist/wallets/walletConnectors/{chunk-KWX2SYU2.js → chunk-UFYNHHDU.js} +3 -3
  45. package/dist/wallets/walletConnectors/{chunk-HXWUH73P.js → chunk-UYW6MV74.js} +3 -3
  46. package/dist/wallets/walletConnectors/{chunk-34HACM5U.js → chunk-VMMROPXK.js} +3 -3
  47. package/dist/wallets/walletConnectors/{chunk-ZPSPK6LH.js → chunk-YGMU5VWD.js} +3 -3
  48. package/dist/wallets/walletConnectors/{chunk-APHCF4DT.js → chunk-ZJJWGKB6.js} +3 -3
  49. package/dist/wallets/walletConnectors/{chunk-HRDPUW3V.js → chunk-ZL6XCMV5.js} +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @funkit/connect
2
2
 
3
+ ## 9.7.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 5b9f018: disable solana for bullpen
8
+ - 57d7f99: feat(connect): add compliance review blocked ui state
9
+ - 4368bd8: fix: swapped modal height issue
10
+ - 769e8c8: fix(connect): include hasPostAction in quote mode event dedupe key
11
+ - Updated dependencies [57d7f99]
12
+ - @funkit/api-base@4.1.1
13
+
3
14
  ## 9.7.0
4
15
 
5
16
  ### Minor Changes
@@ -396,11 +396,6 @@ declare const _default: {
396
396
  readonly isfunuser: {
397
397
  readonly value: false;
398
398
  };
399
- readonly ismexico: {
400
- readonly value: {
401
- readonly mexico: false;
402
- };
403
- };
404
399
  readonly isrelaybypassenabled: {
405
400
  readonly value: true;
406
401
  };
@@ -511,6 +506,9 @@ declare const _default: {
511
506
  readonly showpoweredtagline: {
512
507
  readonly value: false;
513
508
  };
509
+ readonly stablecoinsymbols: {
510
+ readonly value: readonly ["USDC", "USDC.e", "USDT", "DAI", "USDe"];
511
+ };
514
512
  readonly supportedexchangesv2: {
515
513
  readonly value: readonly [];
516
514
  };
@@ -1,4 +1,6 @@
1
1
  declare const _default: {
2
+ readonly 'compliance-review-blocker': false;
3
+ readonly 'enable-across-wallet-flow': false;
2
4
  readonly 'exact-in': false;
3
5
  readonly 'faster-notifications': false;
4
6
  readonly 'new-token-transfer-config': false;
@@ -6,5 +8,6 @@ declare const _default: {
6
8
  readonly 'polymarket-pusd-migration': false;
7
9
  readonly 'saved-card-defaults-to-fiat-tab': false;
8
10
  readonly 'test-testing-gate': false;
11
+ readonly 'wallet-flow-enable-exact-input-with-actions': false;
9
12
  };
10
13
  export default _default;
@@ -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 {};
@@ -70,5 +70,7 @@ export declare enum CheckoutModalEvent {
70
70
  DEPOSIT_TRANSFER_NOTIFICATION_DISPLAYED = "fc::deposit::transfer::notification::displayed",
71
71
  DEPOSIT_TRANSFER_NOTIFICATION_DISMISSED = "fc::deposit::transfer::notification::dismissed",
72
72
  DEPOSIT_TRANSFER_NOTIFICATION_EXPANDED = "fc::deposit::transfer::notification::expanded",
73
- DEPOSIT_TRANSFER_NOTIFICATION_HIDDEN = "fc::deposit::transfer::notification::hidden"
73
+ DEPOSIT_TRANSFER_NOTIFICATION_HIDDEN = "fc::deposit::transfer::notification::hidden",
74
+ COMPLIANCE_REVIEW_BANNER_SHOWN = "fc::compliance_review::banner_shown",
75
+ COMPLIANCE_REVIEW_GET_HELP_CLICKED = "fc::compliance_review::get_help_clicked"
74
76
  }
@@ -0,0 +1 @@
1
+ export declare function useIsUserUnderComplianceReview(): boolean;