@funkit/connect 8.4.0-next.1 → 8.4.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,78 @@
1
1
  # @funkit/connect
2
2
 
3
+ ## 8.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - ba04b38: Add Global Compute customer and enable brokerage features by default
8
+ - 4a24b76: Replace dangerouslySetInnerHTML with style ref textContent for theme CSS injection
9
+
10
+ ### Patch Changes
11
+
12
+ - e756825: feat(connect): show Across icon and label in selected route when Across is enabled
13
+ - 04f8d12: feat(connect): treat Across (CCTP) routes as slow deposits with 1-2 min time estimate
14
+ - e1ef9a8: fix(connect): skip swap impact and use Across expected output for received amount
15
+ - 91f9cb4: feat(connect): add AZTEC token support for Lighter exchange
16
+ - b3589c1: embed theme params in the fops request for swapped
17
+ - bc5436e: change final buttons on fanatics
18
+ - 2ccdc83: refactor: reorder meld options
19
+ - c6fc3e7: fix: iframe postMessage origin validation
20
+ - a7ca00e: fix(connect): fix fanatics font size
21
+ - 9185842: update crypto cash toggle on polymarket
22
+ - 0e6d9bd: feat(connect): map skeleton heights to actual font sizes in FunPaymentMethodItemSkeleton
23
+ - 4fe1634: implement swapped iframe integration
24
+ - 5e289de: feat(connect,api-base): properly map fiatCurrencyCode in fops endpoint
25
+ - bd51750: feat(connect): make CryptoCashToggle styles theme configurable
26
+ - a61d9e5: fix(connect): redirect completion tx explorer to Lighter for L1 deposits
27
+ - 3c36d53: Fix stale withdrawal quote reuse across consecutive withdrawals by resetting checkout ID on "New Withdrawal"
28
+ - 80c85ed: feat(connect): hide dollar value loader if static value is available
29
+ - f1b51e0: feat(connect): max height on mobile
30
+ - 12e06a2: feat(connect): ability to update source change layout via ui config
31
+ - 6e9ec49: feat(connect): add theme level configs to source list section labels
32
+ - db3bd12: feat(connect): update lighter utils to use dynamic target id for dynamic target assets
33
+ - 7ebf0ca: fix(connect): add i18n for Across and LayerZero time estimate strings
34
+ - 4b10e4a: fix(connect): wrong payment method active tab during navigation
35
+ - a615907: feat(connect): improve metric collection for analytics events
36
+ - b47ccab: added primary secondary tertiary font names in uicustomizations to pass to swapped
37
+ - 729eb2b: fix: adjust Across bridge time estimates and fix Lighter explorer link
38
+ - 3053bec: feat(connect): tx summary compact sections
39
+ - 712bacc: refactor(connect): reorder SourceChange component hooks and variables for readability
40
+ - ff3b620: feat(connect): pass svm recipient address for non-evm target chain
41
+ - aeb52c7: fix(connect): skip broken Polygon default viem RPC
42
+ - 28eb98c: misc fixes
43
+ - e13fffb: feat(connect): update fanatics padding for close and action button
44
+ - 9e07543: feat(connect): improve fops error UI
45
+ - 8840aa9: feat: add dynamic s3 icon fallback
46
+ - 4fc223a: extra bottom padding removed for swapped iframe
47
+ - 45eb6ec: feat(connect): show total time instead of pay amount on success
48
+ - a653ae3: fix(connect): increase flag fetch timeout to 10s
49
+ - a6e1abd: feat(connect): add popular section for fiat payment methods
50
+ - 2ac1d6d: refactor(connect): extract completion tx resolution into utility function
51
+ - 644c1ad: Remove dangerouslySetInnerHTML from InfoBanner and strip HTML from usdceWarning translations.
52
+ - 28eb98c: refactor(connect): rename isLighterNativeFlow to isLighterSlowDeposit and extract delayed cutoff utility
53
+ - 64f367d: feat(connect): handle withdrawal rate limit errors
54
+ - 7e19469: chore(connect): silence statsig warnings
55
+ - 508713c: fix(connect): update transaction status padding for fanatics
56
+ - 126661c: feat(connect): add page readiness tracking for checkout steps
57
+ - 438c9f7: swapped origin check implemented
58
+ - d4d38db: feat(connect): add source change initial loader
59
+ - e52cd59: Add USD as default value for swappedCurrencyCode in useFops hook
60
+ - Updated dependencies [e1ef9a8]
61
+ - Updated dependencies [91f9cb4]
62
+ - Updated dependencies [ba04b38]
63
+ - Updated dependencies [b3589c1]
64
+ - Updated dependencies [4fe1634]
65
+ - Updated dependencies [4fe1634]
66
+ - Updated dependencies [5e289de]
67
+ - Updated dependencies [8aa93f1]
68
+ - Updated dependencies [d3d8eae]
69
+ - Updated dependencies [3b1c2c0]
70
+ - Updated dependencies [45acbad]
71
+ - Updated dependencies [a6e1abd]
72
+ - @funkit/utils@1.2.1
73
+ - @funkit/fun-relay@2.5.0
74
+ - @funkit/api-base@2.2.0
75
+
3
76
  ## 8.4.0-next.1
4
77
 
5
78
  ### Minor Changes
@@ -295,6 +295,7 @@ var baseTheme = ({
295
295
  txSummaryLineItemPadding: "0px",
296
296
  txSummaryDividerMarginX: "12px",
297
297
  txSummaryDividerMarginY: "12px",
298
+ verticalSectionGap: "18px",
298
299
  youPayYouReceivePaddingLeft: "12px",
299
300
  youPayYouReceivePaddingRight: "16px",
300
301
  youPayYouReceivePaddingY: "8px",
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  baseTheme
4
- } from "./chunk-UE3P6YHW.js";
4
+ } from "./chunk-4WY7FNYP.js";
5
5
 
6
6
  // src/themes/lightTheme.ts
7
7
  var accentColors = {
@@ -171,7 +171,8 @@ var lightTheme = ({
171
171
  txSummaryBoxBackground: customColors?.txSummaryBoxBackground ?? customColors?.modalBackground ?? "#FFF",
172
172
  txSummaryBoxBorder: customColors?.txSummaryBoxBorder ?? customColors?.lightStroke ?? "#F7F7F7",
173
173
  counterRingColor: customColors?.counterRingColor ?? accentColor,
174
- cryptoCashToggleContainerBorderColor: customColors?.cryptoCashToggleContainerBorderColor ?? "transparent"
174
+ cryptoCashToggleContainerBorderColor: customColors?.cryptoCashToggleContainerBorderColor ?? "transparent",
175
+ cryptoCashToggleBackground: customColors?.cryptoCashToggleBackground ?? "transparent"
175
176
  },
176
177
  shadows: {
177
178
  connectButton: "0px 4px 12px rgba(0, 0, 0, 0.1)",
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  baseTheme
4
- } from "./chunk-UE3P6YHW.js";
4
+ } from "./chunk-4WY7FNYP.js";
5
5
 
6
6
  // src/themes/darkTheme.ts
7
7
  var accentColors = {
@@ -171,7 +171,8 @@ var darkTheme = ({
171
171
  txSummaryBoxBackground: customColors?.txSummaryBoxBackground ?? customColors?.modalBackground ?? "#000",
172
172
  txSummaryBoxBorder: customColors?.txSummaryBoxBorder ?? customColors?.lightStroke ?? "#333333",
173
173
  counterRingColor: customColors?.counterRingColor ?? accentColor,
174
- cryptoCashToggleContainerBorderColor: customColors?.cryptoCashToggleContainerBorderColor ?? "transparent"
174
+ cryptoCashToggleContainerBorderColor: customColors?.cryptoCashToggleContainerBorderColor ?? "transparent",
175
+ cryptoCashToggleBackground: customColors?.cryptoCashToggleBackground ?? "transparent"
175
176
  },
176
177
  shadows: {
177
178
  connectButton: "0px 4px 12px rgba(0, 0, 0, 0.1)",