@funkit/connect 8.4.0 → 8.6.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 +63 -0
- package/dist/__generated__/default_configs.d.ts +10 -1
- package/dist/{chunk-4WY7FNYP.js → chunk-EPHOZPMR.js} +11 -1
- package/dist/{chunk-Z4QDKBBG.js → chunk-FZZF5FGD.js} +1 -1
- package/dist/{chunk-UUHLEWAL.js → chunk-NAHADAYF.js} +1 -1
- package/dist/clients/fanatics.css +3730 -3724
- package/dist/clients/fanatics.js +2 -2
- package/dist/components/Box/Box.d.ts +2 -2
- package/dist/components/ConnectButton/abbreviateETHBalance.d.ts +0 -1
- package/dist/components/Dialog/Dialog.css.d.ts +0 -1
- package/dist/components/FunNotification/FunNotification.d.ts +2 -2
- package/dist/components/FunPayments/FunPaymentMethods.d.ts +4 -3
- package/dist/components/Icons/{New/BlueCircularWalletIcon.d.ts → FunWarningIcon.d.ts} +1 -1
- package/dist/components/ModalHeightAnimationLayer/ModalHeightAnimationLayer.d.ts +7 -0
- package/dist/components/ModalHeightAnimationLayer/WithdrawalModalHeightAnimationWrapper.d.ts +8 -0
- package/dist/css/sprinkles.css.d.ts +14 -2
- package/dist/domains/swapped.d.ts +7 -0
- package/dist/domains/wallet.d.ts +0 -7
- package/dist/hooks/queries/useFops.d.ts +202 -2
- package/dist/hooks/track/CheckoutModalEvent.d.ts +6 -1
- package/dist/hooks/useCheckoutDirectExecution.d.ts +1 -0
- package/dist/hooks/useCheckoutTransferInit.d.ts +1 -0
- package/dist/hooks/usePaymentSources.d.ts +3 -2
- package/dist/index.css +3732 -3726
- package/dist/index.js +3176 -2840
- package/dist/modals/CheckoutModal/ConfirmationStep/useCheckoutConfirmation.d.ts +7 -3
- package/dist/modals/CheckoutModal/SourceChange/FormOfPaymentsList.d.ts +5 -5
- package/dist/modals/CheckoutModal/SourceChange/SourceChange.d.ts +2 -2
- package/dist/modals/CheckoutModal/SwappedIframe/SwappedIframe.d.ts +2 -2
- package/dist/modals/WithdrwalModal/WithdrawalModal.d.ts +0 -5
- package/dist/modals/WithdrwalModal/types.d.ts +5 -0
- package/dist/providers/AuthenticationContext.d.ts +0 -1
- package/dist/providers/FunkitCheckoutContext/index.d.ts +1 -0
- package/dist/providers/FunkitCheckoutContext/types.d.ts +5 -0
- package/dist/providers/FunkitConfigContext.d.ts +0 -4
- 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/utils/checkout.d.ts +0 -6
- package/dist/utils/polygonRpcCheck.d.ts +12 -0
- package/dist/utils/swapped.d.ts +4 -0
- package/dist/wallets/walletConnectors/index.js +42 -42
- package/package.json +16 -16
- package/dist/components/ConnectButton/formatAccountName.d.ts +0 -14
- package/dist/components/FunButton/FunSignInButton.d.ts +0 -8
- package/dist/components/FunCheckoutHistory/FunCheckoutStatus.css.d.ts +0 -1
- package/dist/components/FunInput/FunTextAreaInput.css copy.d.ts +0 -1
- package/dist/components/FunKeyValue/FunKeyValue.d.ts +0 -32
- package/dist/components/FunTransactionSummary/FunTxSummaryComponents.css.d.ts +0 -2
- package/dist/components/Icons/New/HelpIcon.d.ts +0 -2
- package/dist/components/Icons/New/UserIcon.d.ts +0 -4
- package/dist/components/index.d.ts +0 -2
- package/dist/hooks/queries/useClientId.d.ts +0 -3
- package/dist/hooks/useDynamicFont.d.ts +0 -5
- package/dist/modals/CheckoutModal/ConfirmationStep/DirectExecutionBrokerageAndCardAlert.d.ts +0 -2
- package/dist/modals/CheckoutModal/InputAmount/AvailableBalance.d.ts +0 -8
- /package/dist/components/{FunCheckoutModalHeightAnimationWrapper → ModalHeightAnimationLayer}/FunCheckoutModalHeightAnimationWrapper.d.ts +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,68 @@
|
|
|
1
1
|
# @funkit/connect
|
|
2
2
|
|
|
3
|
+
## 8.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 642bccf: feat(connect): add custom zIndex option to uiCustomizations
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- b67b352: feat(connect): show FOP limits and add sorting logic
|
|
12
|
+
- 92c5160: feat(connect): withdrawal modal height animation
|
|
13
|
+
- 7e0be42: feat(connect): add source change tab switch animation
|
|
14
|
+
- ac86825: map color tokens to swapped specific tokens
|
|
15
|
+
- 9037307: feat(connect): update form of payment section labels
|
|
16
|
+
- 5418bb4: Fix price impact display showing '< 0.01%' for negative values
|
|
17
|
+
- 4551e78: pass countryCode to fops endpoint
|
|
18
|
+
- 571848a: feat(connect): update swapped skeleton
|
|
19
|
+
- 2eea062: bump dependencies version
|
|
20
|
+
- 1c63698: fix(connect): fops loading state
|
|
21
|
+
- c70ce2f: fix: swapped quick options border radius
|
|
22
|
+
- ebd1dd5: fix(connect): source change loading skeleteon
|
|
23
|
+
- 0059926: feat(connect): add polygon rpc check
|
|
24
|
+
- 519dbc2: Remove unused getRecommendedAsset function and related helpers from wallet domain.
|
|
25
|
+
- 0dd2099: set secondarybutton colors for swapped
|
|
26
|
+
- d211c37: fix(connect): format saved payment method names + icons
|
|
27
|
+
- 9eaa24a: refactor(connect): simplify swapped iframe memo
|
|
28
|
+
- 2b1c38d: Rename enableswapped statsig flag to enableswappeddeposit and add new enableswappedwithdrawal flag
|
|
29
|
+
- b6bcd2b: fix: swapped quick options styling
|
|
30
|
+
- Updated dependencies [b67b352]
|
|
31
|
+
- Updated dependencies [ae1df7e]
|
|
32
|
+
- Updated dependencies [4551e78]
|
|
33
|
+
- Updated dependencies [2eea062]
|
|
34
|
+
- Updated dependencies [d211c37]
|
|
35
|
+
- @funkit/api-base@2.3.1
|
|
36
|
+
- @funkit/fun-relay@2.6.1
|
|
37
|
+
- @funkit/utils@1.2.3
|
|
38
|
+
|
|
39
|
+
## 8.5.0
|
|
40
|
+
|
|
41
|
+
### Minor Changes
|
|
42
|
+
|
|
43
|
+
- 1c71c8d: feat(connect): add bridgeOverride support via dynamic routing rules
|
|
44
|
+
|
|
45
|
+
### Patch Changes
|
|
46
|
+
|
|
47
|
+
- ac88b49: feat(connect,api-base): add saved form of payment
|
|
48
|
+
- 4523c39: feat(connect): migrate ChainInfoBanners flag to statsig
|
|
49
|
+
- 90e8512: feat(connect): make fops list section label theme configurable
|
|
50
|
+
- f646ba0: pass skeletoncolor to swapped
|
|
51
|
+
- 59f689d: Remove legacy relay fee extraction and return zero values with error log when fee breakdown is missing.
|
|
52
|
+
- 34282d1: feat(connect): swapped iframe statsig events
|
|
53
|
+
- 2e317ee: feat(connect): invalidate fops when leaving iframe
|
|
54
|
+
- 18a4157: refactor: reduce filtering complexity and dead code paths
|
|
55
|
+
- 9a876a5: swapped fix button consistencies
|
|
56
|
+
- e44e8c0: swapped iframe skeleton loader implemented
|
|
57
|
+
- 01fa6e6: fix(connect): swapped clipboard fn
|
|
58
|
+
- cba52ff: feat(connect): replace cryptocash toggle ui config for statsig flag
|
|
59
|
+
- Updated dependencies [ac88b49]
|
|
60
|
+
- Updated dependencies [4523c39]
|
|
61
|
+
- Updated dependencies [1c71c8d]
|
|
62
|
+
- @funkit/api-base@2.3.0
|
|
63
|
+
- @funkit/utils@1.2.2
|
|
64
|
+
- @funkit/fun-relay@2.6.0
|
|
65
|
+
|
|
3
66
|
## 8.4.0
|
|
4
67
|
|
|
5
68
|
### Minor Changes
|
|
@@ -33,6 +33,9 @@ declare const _default: {
|
|
|
33
33
|
readonly chainidsortorder: {
|
|
34
34
|
readonly value: readonly ["1", "1151111081099710", "8453", "56", "137", "42161", "10"];
|
|
35
35
|
};
|
|
36
|
+
readonly chaininfobanners: {
|
|
37
|
+
readonly value: {};
|
|
38
|
+
};
|
|
36
39
|
readonly checkoutnotificationsrefreshinterval: {
|
|
37
40
|
readonly value: {
|
|
38
41
|
readonly listRefresh: 5000;
|
|
@@ -265,7 +268,7 @@ declare const _default: {
|
|
|
265
268
|
readonly value: true;
|
|
266
269
|
};
|
|
267
270
|
readonly enablebluvobrokerage: {
|
|
268
|
-
readonly value:
|
|
271
|
+
readonly value: true;
|
|
269
272
|
};
|
|
270
273
|
readonly enablefiatdeposit: {
|
|
271
274
|
readonly variants: readonly [{
|
|
@@ -280,6 +283,12 @@ declare const _default: {
|
|
|
280
283
|
readonly enablemeldpayment: {
|
|
281
284
|
readonly value: false;
|
|
282
285
|
};
|
|
286
|
+
readonly enableswappeddeposit: {
|
|
287
|
+
readonly value: false;
|
|
288
|
+
};
|
|
289
|
+
readonly enableswappedwithdrawal: {
|
|
290
|
+
readonly value: false;
|
|
291
|
+
};
|
|
283
292
|
readonly enabletokentransfer: {
|
|
284
293
|
readonly variants: readonly [{
|
|
285
294
|
readonly condition: {
|
|
@@ -133,6 +133,12 @@ var FONT_SIZINGS = {
|
|
|
133
133
|
"57": { fontSize: "50px", lineHeight: "60px" }
|
|
134
134
|
}
|
|
135
135
|
};
|
|
136
|
+
var nestedModalZIndexes = {
|
|
137
|
+
coinbase: 2147483647,
|
|
138
|
+
walletConnect: 99999999999999,
|
|
139
|
+
privy: 999999
|
|
140
|
+
};
|
|
141
|
+
var DEFAULT_MODAL_Z_INDEX = Math.min(...Object.values(nestedModalZIndexes)) - 2;
|
|
136
142
|
var baseTheme = ({
|
|
137
143
|
borderRadius = "large",
|
|
138
144
|
fontStack = "fun",
|
|
@@ -145,8 +151,10 @@ var baseTheme = ({
|
|
|
145
151
|
customDimensions,
|
|
146
152
|
customSpacings,
|
|
147
153
|
customTextTransforms,
|
|
148
|
-
overlayBlur = "small"
|
|
154
|
+
overlayBlur = "small",
|
|
155
|
+
modalZIndex = DEFAULT_MODAL_Z_INDEX
|
|
149
156
|
}) => ({
|
|
157
|
+
modalZIndex: String(modalZIndex),
|
|
150
158
|
blurs: {
|
|
151
159
|
modalOverlay: blurs[overlayBlur].modalOverlay
|
|
152
160
|
},
|
|
@@ -209,6 +217,7 @@ var baseTheme = ({
|
|
|
209
217
|
txSummaryLabel: DEFAULT_FONT_WEIGHTS.medium,
|
|
210
218
|
txSummaryValue: DEFAULT_FONT_WEIGHTS.medium,
|
|
211
219
|
sourceListSectionLabelFontWeight: DEFAULT_FONT_WEIGHTS.medium,
|
|
220
|
+
formOfPaymentsListSectionLabelFontWeight: DEFAULT_FONT_WEIGHTS.medium,
|
|
212
221
|
...customFontWeights
|
|
213
222
|
},
|
|
214
223
|
fontSize: {
|
|
@@ -241,6 +250,7 @@ var baseTheme = ({
|
|
|
241
250
|
funFeatureListItemFontSize: FONT_SIZINGS[fontSizing][12],
|
|
242
251
|
dropdownItemFontSize: FONT_SIZINGS[fontSizing][12],
|
|
243
252
|
sourceListSectionLabelFontSize: FONT_SIZINGS[fontSizing][12],
|
|
253
|
+
formOfPaymentsListSectionLabelFontSize: FONT_SIZINGS[fontSizing][12],
|
|
244
254
|
...customFontSizings
|
|
245
255
|
},
|
|
246
256
|
radii: {
|