@funkit/connect 9.20.0 → 9.21.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 +21 -0
- package/dist/{chunk-PFIXC5YK.js → chunk-36KVHK22.js} +5 -2
- package/dist/{chunk-6K4U3Z4Z.js → chunk-4YEAUICE.js} +5 -0
- package/dist/{chunk-NBECXHBY.js → chunk-67BKQQNG.js} +5 -2
- package/dist/clients/chunk-52NKHZS2.js +69 -0
- package/dist/clients/{chunk-CSONEKIF.js → chunk-KSSSSWR6.js} +1 -1
- package/dist/clients/{chunk-47AQXZQE.js → chunk-NCCAYPLO.js} +1 -1
- package/dist/clients/{chunk-JOM2J5WB.js → chunk-OWXKWC7I.js} +27 -16
- package/dist/clients/{chunk-UNCVGPTD.js → chunk-ZMVXBMON.js} +1 -1
- package/dist/clients/fanatics.css +2891 -2702
- package/dist/clients/fanatics.js +5 -5
- package/dist/clients/lighter.css +2891 -2702
- package/dist/clients/lighter.js +3 -3
- package/dist/clients/nado.d.ts +78 -0
- package/dist/clients/nado.js +107 -0
- package/dist/clients/polymarket/PolymarketDepositAccountDropdown.css +2900 -2708
- package/dist/clients/polymarket/PolymarketDepositAccountDropdown.js +5 -5
- package/dist/clients/polymarket/index.css +2900 -2708
- package/dist/clients/polymarket/index.js +5 -5
- package/dist/components/Box/Box.d.ts +21 -21
- package/dist/components/FunButton/FunButton.css.d.ts +1 -0
- package/dist/components/FunOptionBox/FunOptionBox.css.d.ts +1 -1
- package/dist/css/sprinkles.css.d.ts +33 -21
- package/dist/index.css +2900 -2708
- package/dist/index.js +176 -150
- package/dist/modals/WithdrawalModal/WithdrawalContent.d.ts +7 -0
- package/dist/providers/FunkitThemeProvider.d.ts +18 -0
- package/dist/themes/baseTheme.d.ts +3 -1
- package/dist/themes/baseTheme.js +1 -1
- package/dist/themes/darkTheme.js +2 -2
- package/dist/themes/lightTheme.js +2 -2
- package/dist/wallets/walletConnectors/index.js +32 -32
- package/package.json +2 -2
- package/dist/clients/chunk-JVTKIEOP.js +0 -69
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @funkit/connect
|
|
2
2
|
|
|
3
|
+
## 9.21.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 4b998c7: feat(connect): add Nado deposit client (`@funkit/connect/clients/nado`)
|
|
8
|
+
|
|
9
|
+
Exports `createNadoDepositActions`, `buildNadoSubaccount`, and the
|
|
10
|
+
`NADO_ENDPOINT_ADDRESS` / `INK_VAULT_DEPOSITOR_ADDRESS` constants. Deposits
|
|
11
|
+
route through the Ink VaultDepositooor: a max approve + a
|
|
12
|
+
mediated `deposit` whose Endpoint calldata carries AMOUNT_PLACEHOLDER, so
|
|
13
|
+
the live collateral balance is injected at execution (robust to bridge fee
|
|
14
|
+
drift, no dust stranded on the EOA).
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- 08fcb87: fix(connect): add bottom spacing to web3 connect steps
|
|
19
|
+
- 01cb9d2: feat(connect): freeze source balance during withdrawal
|
|
20
|
+
- 9b76a48: chore(connect): add qr code theme variables
|
|
21
|
+
- Updated dependencies [1c4a23a]
|
|
22
|
+
- @funkit/fun-relay@2.8.2
|
|
23
|
+
|
|
3
24
|
## 9.20.0
|
|
4
25
|
|
|
5
26
|
### Minor Changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
baseTheme
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4YEAUICE.js";
|
|
5
5
|
|
|
6
6
|
// src/themes/darkTheme.ts
|
|
7
7
|
var accentColors = {
|
|
@@ -192,6 +192,7 @@ var darkTheme = ({
|
|
|
192
192
|
// option Boxes
|
|
193
193
|
optionBoxBackground: customColors?.optionBoxBackground ?? customColors?.modalBackground ?? "#000",
|
|
194
194
|
// keeps gradient in SourcePaymentMethodItem if optionBoxBackground differs from modal background
|
|
195
|
+
optionBoxBorderedBackground: customColors?.optionBoxBorderedBackground ?? customColors?.optionBoxBackground ?? customColors?.modalBackground ?? "#000",
|
|
195
196
|
optionBoxBackgroundUninteractive: customColors?.optionBoxBackgroundUninteractive ?? "transparent",
|
|
196
197
|
optionBoxBorderBase: customColors?.optionBoxBorderBase ?? customColors?.mediumStroke ?? "#333333",
|
|
197
198
|
optionBoxBorderHover: customColors?.optionBoxBorderHover ?? customColors?.mediumStroke ?? "#333333",
|
|
@@ -210,7 +211,9 @@ var darkTheme = ({
|
|
|
210
211
|
modalBackgroundCheckoutComplete: customColors?.modalBackgroundCheckoutComplete ?? customColors?.modalBackground ?? "#000",
|
|
211
212
|
counterRingColor: customColors?.counterRingColor ?? accentColor,
|
|
212
213
|
cryptoCashToggleContainerBorderColor: customColors?.cryptoCashToggleContainerBorderColor ?? "transparent",
|
|
213
|
-
cryptoCashToggleBackground: customColors?.cryptoCashToggleBackground ?? "transparent"
|
|
214
|
+
cryptoCashToggleBackground: customColors?.cryptoCashToggleBackground ?? "transparent",
|
|
215
|
+
qrCodeBackground: customColors?.qrCodeBackground ?? customColors?.modalBackground ?? "#000000",
|
|
216
|
+
qrCodeForeground: customColors?.qrCodeForeground ?? customColors?.primaryText ?? "#FFFFFF"
|
|
214
217
|
},
|
|
215
218
|
shadows: {
|
|
216
219
|
connectButton: "0px 4px 12px rgba(0, 0, 0, 0.1)",
|
|
@@ -161,6 +161,7 @@ var baseTheme = ({
|
|
|
161
161
|
customBorderWidths,
|
|
162
162
|
customBorderRadiuses = radiusScales[borderRadius],
|
|
163
163
|
customDimensions,
|
|
164
|
+
customOpacities,
|
|
164
165
|
customSpacings,
|
|
165
166
|
customTextTransforms,
|
|
166
167
|
overlayBlur = "small",
|
|
@@ -316,6 +317,10 @@ var baseTheme = ({
|
|
|
316
317
|
txSummaryBoxBorderWidth: "1px",
|
|
317
318
|
...customBorderWidths
|
|
318
319
|
},
|
|
320
|
+
opacities: {
|
|
321
|
+
buttonPrimaryDisabled: "1",
|
|
322
|
+
...customOpacities
|
|
323
|
+
},
|
|
319
324
|
spacing: {
|
|
320
325
|
confirmationStepMarginTop: "6px",
|
|
321
326
|
confirmationStepVerticalGap: "18px",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
baseTheme
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4YEAUICE.js";
|
|
5
5
|
|
|
6
6
|
// src/themes/lightTheme.ts
|
|
7
7
|
var accentColors = {
|
|
@@ -192,6 +192,7 @@ var lightTheme = ({
|
|
|
192
192
|
// option Boxes
|
|
193
193
|
optionBoxBackground: customColors?.optionBoxBackground ?? customColors?.modalBackground ?? "#FFF",
|
|
194
194
|
// keeps gradient in SourcePaymentMethodItem if optionBoxBackground differs from modal background
|
|
195
|
+
optionBoxBorderedBackground: customColors?.optionBoxBorderedBackground ?? customColors?.optionBoxBackground ?? customColors?.modalBackground ?? "#FFF",
|
|
195
196
|
optionBoxBackgroundUninteractive: customColors?.optionBoxBackgroundUninteractive ?? "transparent",
|
|
196
197
|
optionBoxBorderBase: customColors?.optionBoxBorderBase ?? customColors?.mediumStroke ?? "#F0F0F0",
|
|
197
198
|
optionBoxBorderHover: customColors?.optionBoxBorderHover ?? customColors?.mediumStroke ?? "#F0F0F0",
|
|
@@ -210,7 +211,9 @@ var lightTheme = ({
|
|
|
210
211
|
modalBackgroundCheckoutComplete: customColors?.modalBackgroundCheckoutComplete ?? customColors?.modalBackground ?? "#FFF",
|
|
211
212
|
counterRingColor: customColors?.counterRingColor ?? accentColor,
|
|
212
213
|
cryptoCashToggleContainerBorderColor: customColors?.cryptoCashToggleContainerBorderColor ?? "transparent",
|
|
213
|
-
cryptoCashToggleBackground: customColors?.cryptoCashToggleBackground ?? "transparent"
|
|
214
|
+
cryptoCashToggleBackground: customColors?.cryptoCashToggleBackground ?? "transparent",
|
|
215
|
+
qrCodeBackground: customColors?.qrCodeBackground ?? customColors?.modalBackground ?? "#FFF",
|
|
216
|
+
qrCodeForeground: customColors?.qrCodeForeground ?? customColors?.primaryText ?? "#000"
|
|
214
217
|
},
|
|
215
218
|
shadows: {
|
|
216
219
|
connectButton: "0px 4px 12px rgba(0, 0, 0, 0.1)",
|