@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
package/CHANGELOG.md CHANGED
@@ -1,5 +1,44 @@
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
+
14
+ ## 9.7.0
15
+
16
+ ### Minor Changes
17
+
18
+ - d5eb04c: feat(connect): support exact-in for flows with actions gated by "wallet-flow-enable-exact-input-with-actions" feature flag
19
+ - 6511e31: feat(connect,api-base): implement faster UDA notifications
20
+
21
+ ### Patch Changes
22
+
23
+ - 5706bf3: feat(connect): change default tab based on saved fop
24
+ - 3ed78f8: feat(connect): make exact-in gas buffer configurable via statsig dynamic config
25
+ - 32abd96: fix(connect): statsig build script
26
+ - 74f8129: remove pmct action type
27
+ - 8b3762a: Default to overriding atomic batch when wallet capabilities cannot be fetched
28
+ - 8c1d362: fix(connect): fix swapped topbar alignment
29
+ - 6c35140: Add useLighterAccount hook and getLighterAccount utility for fetching full Lighter account details and balances by index or L1 address
30
+ - e11b15c: Add Lighter withdrawal i18n keys across all supported languages
31
+ - 456581c: Extract shared SwappedIframeSkeleton and useSwappedIframeLifecycle from SwappedIframeController
32
+ - 05af16c: Add Statsig eval reason to Datadog global context for fallback observability
33
+ - e0dbb5c: Move session-scoped iframe event handlers from SwappedProvider to SwappedIframeController
34
+ - 3605576: flip theme implemented
35
+ - Updated dependencies [85e6a70]
36
+ - Updated dependencies [126046f]
37
+ - Updated dependencies [6511e31]
38
+ - Updated dependencies [3605576]
39
+ - @funkit/fun-relay@2.6.6
40
+ - @funkit/api-base@4.1.0
41
+
3
42
  ## 9.6.1
4
43
 
5
44
  ### Patch Changes
@@ -36,6 +36,9 @@ declare const _default: {
36
36
  readonly chaininfobanners: {
37
37
  readonly value: {};
38
38
  };
39
+ readonly checkoutgasbufferunits: {
40
+ readonly value: "1500000";
41
+ };
39
42
  readonly checkoutnotificationsrefreshinterval: {
40
43
  readonly value: {
41
44
  readonly listRefresh: 5000;
@@ -390,10 +393,8 @@ declare const _default: {
390
393
  readonly ischeckoutactivated: {
391
394
  readonly value: true;
392
395
  };
393
- readonly ismexico: {
394
- readonly value: {
395
- readonly mexico: false;
396
- };
396
+ readonly isfunuser: {
397
+ readonly value: false;
397
398
  };
398
399
  readonly isrelaybypassenabled: {
399
400
  readonly value: true;
@@ -505,6 +506,9 @@ declare const _default: {
505
506
  readonly showpoweredtagline: {
506
507
  readonly value: false;
507
508
  };
509
+ readonly stablecoinsymbols: {
510
+ readonly value: readonly ["USDC", "USDC.e", "USDT", "DAI", "USDe"];
511
+ };
508
512
  readonly supportedexchangesv2: {
509
513
  readonly value: readonly [];
510
514
  };
@@ -1,8 +1,13 @@
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
- readonly 'new-de-endpoint': false;
5
+ readonly 'faster-notifications': false;
4
6
  readonly 'new-token-transfer-config': false;
5
7
  readonly 'new-withdrawal-config': false;
8
+ readonly 'polymarket-pusd-migration': false;
9
+ readonly 'saved-card-defaults-to-fiat-tab': false;
6
10
  readonly 'test-testing-gate': false;
11
+ readonly 'wallet-flow-enable-exact-input-with-actions': false;
7
12
  };
8
13
  export default _default;
@@ -63,6 +63,7 @@ var lightTheme = ({
63
63
  mediumStroke: "#F0F0F0",
64
64
  heavyStroke: "#E5E5E5",
65
65
  strokeColor: "#E8E8E8",
66
+ secondaryBackground: "#F7F7F7",
66
67
  //Text
67
68
  primaryText: "#000",
68
69
  secondaryText: "#737373",
@@ -63,6 +63,7 @@ var darkTheme = ({
63
63
  mediumStroke: "#333333",
64
64
  heavyStroke: "rgba(117, 117, 117, 0.40)",
65
65
  strokeColor: "#333333",
66
+ secondaryBackground: "#333333",
66
67
  //Text
67
68
  primaryText: "#FFF",
68
69
  secondaryText: "#8C8C8C",