@funkit/connect 5.3.6 → 5.4.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.
- package/CHANGELOG.md +44 -0
- package/dist/{chunk-CRTRMZFT.js → chunk-ICCAQZHZ.js} +1 -1
- package/dist/{chunk-CRPOYQ6X.js → chunk-R2UFCJL7.js} +5 -0
- package/dist/{chunk-KCSHTK5R.js → chunk-RN4I4Y57.js} +1 -1
- package/dist/components/Box/Box.d.ts +1 -1
- package/dist/components/FunCheckoutHistory/FunDirectExecutionHistoryDetail.d.ts +4 -0
- package/dist/config/getDefaultConfig.d.ts +1 -1335
- package/dist/consts/customers.d.ts +2 -0
- package/dist/css/sprinkles.css.d.ts +3 -1
- package/dist/hooks/queries/useClientId.d.ts +3 -0
- package/dist/hooks/queries/useRecentCheckouts.d.ts +2 -2
- package/dist/hooks/queries/useRecentDirectExecutions.d.ts +9 -0
- package/dist/hooks/useCheckoutDirectExecutionHistory.d.ts +7 -5
- package/dist/hooks/useDirectExecutionInfoPolling.d.ts +7 -0
- package/dist/hooks/usePaymentSources.d.ts +2 -2
- package/dist/index.css +2674 -2664
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1023 -548
- package/dist/modals/CheckoutModal/TransferToken/DirectExecutionNotification.d.ts +10 -0
- package/dist/providers/FunkitConfigContext.d.ts +2 -0
- package/dist/providers/FunkitThemeProvider.d.ts +3 -0
- package/dist/themes/baseTheme.js +1 -1
- package/dist/themes/darkTheme.js +2 -2
- package/dist/themes/lightTheme.js +2 -2
- package/dist/utils/customer.d.ts +6 -0
- package/dist/utils/directExecution.d.ts +4 -0
- package/dist/utils/flags/config.d.ts +42 -4
- package/dist/utils/purifyCheckoutHistoryItem.d.ts +4 -1
- 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 +65 -65
- 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 +7 -7
- package/dist/hooks/useRelayExecutionInfo.d.ts +0 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,49 @@
|
|
|
1
1
|
# @funkit/connect
|
|
2
2
|
|
|
3
|
+
## 5.4.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- e38e65b: feat(connect): katana - add FunPoweredTagline to every screen and Receive Token info to Transfer Token screen
|
|
8
|
+
- 7395597: refactor: better de loading state
|
|
9
|
+
- 8292deb: feat: fetching organization / client id
|
|
10
|
+
- c816681: feat: expose additionActions and updatedTimeMs to PurifiedCheckoutHistoryItem
|
|
11
|
+
- 3bb9542: feat(connect): add the option to show the total receive amount in USD below the token amount to FunkitUiCustomizationsConfig
|
|
12
|
+
- 1cf728e: feat(connect): add direct execution notifications to Transfer Crypto page
|
|
13
|
+
- Updated dependencies [0557854]
|
|
14
|
+
- Updated dependencies [8292deb]
|
|
15
|
+
- Updated dependencies [cbea7ca]
|
|
16
|
+
- @funkit/fun-relay@0.1.4
|
|
17
|
+
- @funkit/api-base@1.8.4
|
|
18
|
+
- @funkit/core@2.3.21
|
|
19
|
+
- @funkit/wagmi-tools@3.0.43
|
|
20
|
+
|
|
21
|
+
## 5.4.0
|
|
22
|
+
|
|
23
|
+
### Minor Changes
|
|
24
|
+
|
|
25
|
+
- 5830fe9: feat: add katana chain
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- ac8d2b9: feat: card and brokerage flags
|
|
30
|
+
- d5b3850: fix fee display ui
|
|
31
|
+
- 3b43c3b: feat(connect, api-base): add Ethereal theme
|
|
32
|
+
- 4c74602: chore: support katana chain
|
|
33
|
+
- 11cc938: feat: expose more information to checkout/de listener hooks
|
|
34
|
+
- 2a9539a: feat: fallback price fetch to relay implementation
|
|
35
|
+
- Updated dependencies [ac8d2b9]
|
|
36
|
+
- Updated dependencies [3b43c3b]
|
|
37
|
+
- Updated dependencies [4c74602]
|
|
38
|
+
- Updated dependencies [2a9539a]
|
|
39
|
+
- Updated dependencies [5830fe9]
|
|
40
|
+
- @funkit/utils@1.0.14
|
|
41
|
+
- @funkit/api-base@1.8.3
|
|
42
|
+
- @funkit/fun-relay@0.1.3
|
|
43
|
+
- @funkit/chains@0.3.0
|
|
44
|
+
- @funkit/core@2.3.20
|
|
45
|
+
- @funkit/wagmi-tools@3.0.42
|
|
46
|
+
|
|
3
47
|
## 5.3.6
|
|
4
48
|
|
|
5
49
|
### Patch Changes
|
|
@@ -10,6 +10,7 @@ var fontStacks = {
|
|
|
10
10
|
var radiusScales = {
|
|
11
11
|
large: {
|
|
12
12
|
actionButton: "12px",
|
|
13
|
+
actionButtonInner: "10px",
|
|
13
14
|
connectButton: "12px",
|
|
14
15
|
modal: "24px",
|
|
15
16
|
modalMobile: "28px",
|
|
@@ -26,6 +27,7 @@ var radiusScales = {
|
|
|
26
27
|
},
|
|
27
28
|
medium: {
|
|
28
29
|
actionButton: "10px",
|
|
30
|
+
actionButtonInner: "8px",
|
|
29
31
|
connectButton: "10px",
|
|
30
32
|
modal: "16px",
|
|
31
33
|
modalMobile: "18px",
|
|
@@ -42,6 +44,7 @@ var radiusScales = {
|
|
|
42
44
|
},
|
|
43
45
|
none: {
|
|
44
46
|
actionButton: "0px",
|
|
47
|
+
actionButtonInner: "0px",
|
|
45
48
|
connectButton: "0px",
|
|
46
49
|
modal: "0px",
|
|
47
50
|
modalMobile: "0px",
|
|
@@ -58,6 +61,7 @@ var radiusScales = {
|
|
|
58
61
|
},
|
|
59
62
|
small: {
|
|
60
63
|
actionButton: "8px",
|
|
64
|
+
actionButtonInner: "6px",
|
|
61
65
|
connectButton: "8px",
|
|
62
66
|
modal: "8px",
|
|
63
67
|
modalMobile: "8px",
|
|
@@ -151,6 +155,7 @@ var baseTheme = ({
|
|
|
151
155
|
},
|
|
152
156
|
radii: {
|
|
153
157
|
actionButton: radiusScales[borderRadius].actionButton,
|
|
158
|
+
actionButtonInner: radiusScales[borderRadius].actionButtonInner,
|
|
154
159
|
connectButton: radiusScales[borderRadius].connectButton,
|
|
155
160
|
menuButton: radiusScales[borderRadius].connectButton,
|
|
156
161
|
modal: radiusScales[borderRadius].modal,
|
|
@@ -47,7 +47,7 @@ export declare const Box: React.ForwardRefExoticComponent<{
|
|
|
47
47
|
} & {
|
|
48
48
|
readonly alignSelf?: "center" | "flex-end" | "flex-start" | undefined;
|
|
49
49
|
readonly backgroundSize?: "cover" | undefined;
|
|
50
|
-
readonly borderRadius?: "tooltip" | "1" | "10" | "13" | "16" | "actionButton" | "connectButton" | "menuButton" | "modal" | "modalMobile" | "modalActionButton" | "modalActionButtonMobile" | "summaryBox" | "youPayYouReceive" | "inputAmountSwitcher" | "qrCode" | "skeleton" | "dropdown" | "dropdownItem" | "4" | "6" | "8" | "11" | "24" | "30" | "full" | "badge" | "smallBadge" | undefined;
|
|
50
|
+
readonly borderRadius?: "tooltip" | "1" | "10" | "13" | "16" | "actionButton" | "actionButtonInner" | "connectButton" | "menuButton" | "modal" | "modalMobile" | "modalActionButton" | "modalActionButtonMobile" | "summaryBox" | "youPayYouReceive" | "inputAmountSwitcher" | "qrCode" | "skeleton" | "dropdown" | "dropdownItem" | "4" | "6" | "8" | "11" | "24" | "30" | "full" | "badge" | "smallBadge" | undefined;
|
|
51
51
|
readonly borderStyle?: "dotted" | "hidden" | "solid" | undefined;
|
|
52
52
|
readonly borderWidth?: "0" | "1" | "2" | "3" | "4" | "0.5" | undefined;
|
|
53
53
|
readonly cursor?: "default" | "help" | "not-allowed" | "pointer" | undefined;
|
|
@@ -8,3 +8,7 @@ export declare function FunDirectExecutionHistoryDetail({ bottomBarId, directExe
|
|
|
8
8
|
isNewDeposit?: boolean;
|
|
9
9
|
}) => void;
|
|
10
10
|
}): React.JSX.Element;
|
|
11
|
+
export declare function DirectExecutionOrderDetailSection({ directExecution, showRelayLink, }: {
|
|
12
|
+
directExecution: DirectExecution;
|
|
13
|
+
showRelayLink: boolean;
|
|
14
|
+
}): React.JSX.Element;
|