@funkit/connect 6.15.12 → 7.0.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 +52 -0
- package/dist/{chunk-L3BEU75V.js → chunk-DN7UTQK5.js} +10 -2
- package/dist/{chunk-KG5Q63KL.js → chunk-OVMNR35O.js} +11 -3
- package/dist/{chunk-WCUXJAGT.js → chunk-RJAD5CZH.js} +14 -2
- package/dist/components/Box/Box.d.ts +30 -30
- package/dist/components/Dialog/Dialog.d.ts +1 -1
- package/dist/components/Dialog/hooks.d.ts +2 -0
- package/dist/components/FunBottomBar/FunBottomBar.d.ts +2 -1
- package/dist/components/FunConnectOptions/FunConnectOptions.d.ts +4 -6
- package/dist/components/FunConnectOptions/FunSignInStep.d.ts +2 -8
- package/dist/components/Icons/FunTechnologyLogo.d.ts +2 -0
- package/dist/components/Icons/StatusIcons.css.d.ts +1 -1
- package/dist/components/TransactionStatus/TransactionStatus.d.ts +5 -0
- package/dist/consts/customers.d.ts +1 -0
- package/dist/consts/funkit.d.ts +1 -9
- package/dist/css/sprinkles.css.d.ts +76 -32
- package/dist/domains/asset.d.ts +2 -4
- package/dist/hooks/useCheckoutDirectExecutionHistory.d.ts +2 -1
- package/dist/hooks/useCheckoutTimeEstimate.d.ts +2 -2
- package/dist/hooks/useFunListeners.d.ts +0 -1
- package/dist/hooks/usePaymentMethodIcon.d.ts +0 -1
- package/dist/index.css +3291 -3088
- package/dist/index.js +28129 -29983
- package/dist/modals/CheckoutModal/ConfirmationStep/CheckoutPrimaryInfo.d.ts +1 -1
- package/dist/modals/CheckoutModal/stepTransition.d.ts +1 -0
- package/dist/modals/ConnectModal/ConnectModal.d.ts +1 -3
- package/dist/providers/FunkitConfigContext.d.ts +33 -20
- package/dist/providers/FunkitThemeProvider.d.ts +69 -3
- package/dist/providers/GeneralWalletProvider.d.ts +0 -1
- package/dist/providers/ModalContext.d.ts +1 -1
- package/dist/providers/provideFunkitConnectChains.d.ts +2 -7
- package/dist/themes/baseTheme.d.ts +1 -1
- package/dist/themes/baseTheme.js +1 -1
- package/dist/themes/darkTheme.js +2 -2
- package/dist/themes/lightTheme.js +2 -2
- package/dist/utils/checkout.d.ts +1 -2
- package/dist/utils/flags/config.d.ts +4 -35
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
- package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
- package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
- package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
- package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
- package/dist/wallets/walletConnectors/index.js +45 -45
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
- package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
- package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
- package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
- package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
- package/package.json +8 -10
- package/dist/components/FunConnectOptions/FunFarcasterConnectingStep.d.ts +0 -5
- package/dist/components/FunConnectOptions/FunWeb2ConnectingStep.d.ts +0 -6
- package/dist/components/FunSocials/FunSocials.d.ts +0 -10
- package/dist/farcaster-MF6WINBA.js +0 -7
- package/dist/funkitConnectWallet-U6JYSE3A.js +0 -7
- package/dist/providers/FunkitWeb2Provider.d.ts +0 -66
- package/dist/wallets/walletConnectors/funkitConnectWallet/funkitConnectWallet.d.ts +0 -2
- package/dist/wallets/walletConnectors/funkitConnectWallet/funkitConnectWallet.js +0 -31
- package/dist/wallets/walletConnectors/funkitConnectWallet-U6JYSE3A.js +0 -7
- package/dist/wallets/walletConnectors/{chunk-UYGJO62F.js → chunk-2HYNUNAS.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-3CICVJUN.js → chunk-2KUBG3S6.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-J3LI3FYZ.js → chunk-2L43XSW3.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-LNEC5RNX.js → chunk-2STUC6QL.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-CNPKISHN.js → chunk-7QONTUXT.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-UIASLGLV.js → chunk-A5N6B5UW.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-CJGUM55H.js → chunk-FKJJQNKX.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-ZSI5N4VV.js → chunk-JWFF4AAL.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-2GJQ4XZQ.js → chunk-M3NZ6R2E.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-EC6CHBSZ.js → chunk-NT2HYJKW.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-QLVVUKYB.js → chunk-NWIQNBJU.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-KIDC67XJ.js → chunk-OBOVHCEI.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-Q3H3TRBS.js → chunk-SULRQO27.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-VWCLFMWJ.js → chunk-TCAGNB4B.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-5W7VDOCL.js → chunk-TDAVGY5F.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-AFXHGWBH.js → chunk-TDIEHTMB.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-JCHN6A47.js → chunk-VR4TBQ6S.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-RKPCWHXL.js → chunk-VYBAYMP3.js} +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,57 @@
|
|
|
1
1
|
# @funkit/connect
|
|
2
2
|
|
|
3
|
+
## 7.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- 024dc7d: refactor: fully deprecate loginConfig - remove validation and internal usage
|
|
8
|
+
- 25ad857: chore(connect): deprecate FunkitWeb2Provider
|
|
9
|
+
- ab11818: refactor: deprecate wagmi-tools and funkitConnectWallet
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 964cd34: chore(connect): mark loginConfig as deprecated
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- eea63f9: connect modal content injected to checkout modal
|
|
18
|
+
- bc5d921: revert(connect): redirect to select asset screen
|
|
19
|
+
- 1886ba6: fix(connect): fix status text animation triggering on mount
|
|
20
|
+
- 18883e1: feat(connect): update fun technology footer svg
|
|
21
|
+
- 6480138: chore(connect): deprecate @privy-io/js-sdk-core
|
|
22
|
+
- 6732eaf: feat(connect): update lighter usdc max slippage for CCTP chains
|
|
23
|
+
|
|
24
|
+
## 6.15.13
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- 9d74ea9: hyperedge theme implemented
|
|
29
|
+
- bcee435: fix styling for hyperedge
|
|
30
|
+
- 0fe3516: chore(connect): deprecate Web2 as a LoginType
|
|
31
|
+
- f827f85: feat(connect): apply default UI customizations globally
|
|
32
|
+
- f605798: rarebetsports theme implemented
|
|
33
|
+
- ce3f8ab: tr i18n improvements
|
|
34
|
+
- 42a88b7: Move chain metadata to @funkit/chains package
|
|
35
|
+
|
|
36
|
+
Refactored chain metadata (icons, backgrounds, and names) from @funkit/connect to @funkit/chains package for better code organization and reusability. The chainMetadataById export is now available from @funkit/chains and re-exported from @funkit/connect for backward compatibility.
|
|
37
|
+
|
|
38
|
+
- 90d0127: fix(connect): fix DE notification to use latest DE record. This resolves the reported "flash" bug.
|
|
39
|
+
- 54a787d: feat(connect): update exchange icons
|
|
40
|
+
- f89e6a5: ginza theme implemented
|
|
41
|
+
- 70d5198: feat(connect): add separate tertiary button shadows
|
|
42
|
+
- 7f6c7f4: feat(connect): bluvo 100% rollout
|
|
43
|
+
- fe140b2: feat(connect): use quote metadata.oftEnabled rather than listenerInfo.layerZeroStatusResponse
|
|
44
|
+
- Updated dependencies [2e991bc]
|
|
45
|
+
- Updated dependencies [aec480c]
|
|
46
|
+
- Updated dependencies [42a88b7]
|
|
47
|
+
- Updated dependencies [fe140b2]
|
|
48
|
+
- @funkit/api-base@1.12.19
|
|
49
|
+
- @funkit/fun-relay@2.1.14
|
|
50
|
+
- @funkit/chains@0.5.0
|
|
51
|
+
- @funkit/utils@1.1.20
|
|
52
|
+
- @funkit/core@2.3.66
|
|
53
|
+
- @funkit/wagmi-tools@3.0.89
|
|
54
|
+
|
|
3
55
|
## 6.15.12
|
|
4
56
|
|
|
5
57
|
### Patch Changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
baseTheme
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RJAD5CZH.js";
|
|
5
5
|
|
|
6
6
|
// src/themes/lightTheme.ts
|
|
7
7
|
var accentColors = {
|
|
@@ -42,6 +42,8 @@ var lightTheme = ({
|
|
|
42
42
|
focusedOptionBorder: "#737373",
|
|
43
43
|
standby: "#F6851B",
|
|
44
44
|
success: "#66CC00",
|
|
45
|
+
delayedStatusIcon: customColors?.secondaryText ?? "#737373",
|
|
46
|
+
// backward compatibility
|
|
45
47
|
chainIconBorder: "#fff",
|
|
46
48
|
// FUNKIT COLORS
|
|
47
49
|
// modal backgrounds
|
|
@@ -163,15 +165,21 @@ var lightTheme = ({
|
|
|
163
165
|
notification: "0px 0px 0px 1px rgba(0, 0, 0, 0.06), 0px 2px 6px 0px rgba(0, 0, 0, 0.05), 0px 4px 42px 0px rgba(0, 0, 0, 0.06)",
|
|
164
166
|
qrCode: "0px 0px 0px 1px rgba(0, 0, 0, 0.10), 0px 1px 4px 0px rgba(0, 0, 0, 0.04), 0px 4px 24px 0px rgba(8, 7, 7, 0.10)",
|
|
165
167
|
buttonShadow: "none",
|
|
168
|
+
buttonShadowTertiary: customShadows?.buttonShadow ?? "none",
|
|
166
169
|
buttonFocusedShadow: "0px 0px 0px 2px rgba(0, 0, 0, 0.25)",
|
|
167
|
-
buttonHoverShadow: "none",
|
|
168
170
|
buttonFocusedShadowTertiary: "0px 0px 0px 2px rgba(0, 0, 0, 0.25)",
|
|
171
|
+
buttonHoverShadow: "none",
|
|
169
172
|
buttonHoverShadowTertiary: "none",
|
|
170
173
|
buttonDisabledShadow: "none",
|
|
174
|
+
buttonDisabledShadowTertiary: customShadows?.buttonDisabledShadow ?? "none",
|
|
171
175
|
buttonInnerShadow: "none",
|
|
176
|
+
buttonInnerShadowTertiary: customShadows?.buttonInnerShadow ?? "none",
|
|
172
177
|
buttonFocusedInnerShadow: "none",
|
|
178
|
+
buttonFocusedInnerShadowTertiary: customShadows?.buttonFocusedInnerShadow ?? "none",
|
|
173
179
|
buttonHoverInnerShadow: "none",
|
|
180
|
+
buttonHoverInnerShadowTertiary: customShadows?.buttonHoverInnerShadow ?? "none",
|
|
174
181
|
buttonDisabledInnerShadow: "none",
|
|
182
|
+
buttonDisabledInnerShadowTertiary: customShadows?.buttonDisabledInnerShadow ?? "none",
|
|
175
183
|
selectedDropdownItem: "none",
|
|
176
184
|
// Override shadows
|
|
177
185
|
...customShadows || {}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
baseTheme
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RJAD5CZH.js";
|
|
5
5
|
|
|
6
6
|
// src/themes/darkTheme.ts
|
|
7
7
|
var accentColors = {
|
|
@@ -42,6 +42,8 @@ var darkTheme = ({
|
|
|
42
42
|
focusedOptionBorder: "#8C8C8C",
|
|
43
43
|
standby: "#F6851B",
|
|
44
44
|
success: "#66CC00",
|
|
45
|
+
delayedStatusIcon: customColors?.secondaryText ?? "#8C8C8C",
|
|
46
|
+
// backward compatibility
|
|
45
47
|
chainIconBorder: "#fff",
|
|
46
48
|
// FUNKIT COLORS
|
|
47
49
|
// modal backgrounds
|
|
@@ -163,15 +165,21 @@ var darkTheme = ({
|
|
|
163
165
|
notification: "0px 0px 0px 1px rgba(255, 255, 255, 0.20), 0px 2px 6px 0px rgba(0, 0, 0, 0.05), 0px 4px 42px 0px rgba(0, 0, 0, 0.06)",
|
|
164
166
|
qrCode: "0px 0px 0px 1px rgba(255, 255, 255, 0.16)",
|
|
165
167
|
buttonShadow: "none",
|
|
166
|
-
|
|
168
|
+
buttonShadowTertiary: "none",
|
|
167
169
|
buttonHoverShadow: "none",
|
|
168
|
-
buttonFocusedShadowTertiary: "0px 0px 0px 2px rgba(255, 255, 255, 0.25)",
|
|
169
170
|
buttonHoverShadowTertiary: "none",
|
|
171
|
+
buttonFocusedShadow: "0px 0px 0px 2px rgba(255, 255, 255, 0.25)",
|
|
172
|
+
buttonFocusedShadowTertiary: "0px 0px 0px 2px rgba(255, 255, 255, 0.25)",
|
|
170
173
|
buttonDisabledShadow: "none",
|
|
174
|
+
buttonDisabledShadowTertiary: "none",
|
|
171
175
|
buttonInnerShadow: "none",
|
|
176
|
+
buttonInnerShadowTertiary: customShadows?.buttonInnerShadow ?? "none",
|
|
172
177
|
buttonFocusedInnerShadow: "none",
|
|
178
|
+
buttonFocusedInnerShadowTertiary: customShadows?.buttonFocusedInnerShadow ?? "none",
|
|
173
179
|
buttonHoverInnerShadow: "none",
|
|
180
|
+
buttonHoverInnerShadowTertiary: customShadows?.buttonHoverInnerShadow ?? "none",
|
|
174
181
|
buttonDisabledInnerShadow: "none",
|
|
182
|
+
buttonDisabledInnerShadowTertiary: customShadows?.buttonDisabledInnerShadow ?? "none",
|
|
175
183
|
selectedDropdownItem: "none",
|
|
176
184
|
// Override shadows
|
|
177
185
|
...customShadows || {}
|
|
@@ -154,8 +154,17 @@ var baseTheme = ({
|
|
|
154
154
|
modalTopBarHeight: "56px",
|
|
155
155
|
...customDimensions
|
|
156
156
|
},
|
|
157
|
-
fonts: {
|
|
158
|
-
|
|
157
|
+
fonts: typeof customFontFamily === "string" ? {
|
|
158
|
+
buttonTextPrimary: customFontFamily,
|
|
159
|
+
buttonTextSecondary: customFontFamily,
|
|
160
|
+
buttonTextTertiary: customFontFamily,
|
|
161
|
+
body: customFontFamily
|
|
162
|
+
} : {
|
|
163
|
+
buttonTextPrimary: fontStacks[fontStack],
|
|
164
|
+
buttonTextSecondary: fontStacks[fontStack],
|
|
165
|
+
buttonTextTertiary: fontStacks[fontStack],
|
|
166
|
+
body: fontStacks[fontStack],
|
|
167
|
+
...customFontFamily
|
|
159
168
|
},
|
|
160
169
|
fontWeight: {
|
|
161
170
|
...DEFAULT_FONT_WEIGHTS,
|
|
@@ -165,6 +174,9 @@ var baseTheme = ({
|
|
|
165
174
|
},
|
|
166
175
|
fontSize: {
|
|
167
176
|
...FONT_SIZINGS[fontSizing],
|
|
177
|
+
buttonTextPrimary: FONT_SIZINGS[fontSizing][12],
|
|
178
|
+
buttonTextSecondary: FONT_SIZINGS[fontSizing][10],
|
|
179
|
+
buttonTextTertiary: FONT_SIZINGS[fontSizing][12],
|
|
168
180
|
modalTopbarSubtitle: FONT_SIZINGS[fontSizing][10],
|
|
169
181
|
modalTopbarTitle: FONT_SIZINGS[fontSizing][13],
|
|
170
182
|
modalBottomBarButtonText: FONT_SIZINGS[fontSizing][12],
|